On Mon, May 16, 2016 at 12:37 AM, John P. Rouillard < rouilj+fos...@cs.umb.edu> wrote:
> Fortunately there are no artifact references in > tickets/wiki/comments. But if there was, would some SQL magic > be needed to find/change these references? > The SQL-usable parts of the repo are just a cache for the underlying metadata. If you deleted/modified any of it, it would reappear after the next rebuild. > >In retrospect, you would have been better off not shunning the entire > >check-in but rather only the file containing the security credentials. > > That makes sense. What is the easiest way to get the artifact > ID for the file? > > fossil timeline -v > > gives you the file name, but not the artifact number. I would > have expected the artifact number as part of the listing: > IIRC, ls -v will show that: http://www.fossil-scm.org/index.html/help?cmd=ls > It looks like I need to "fossil finfo 2" to get all artifacts for > all versions of the file named 2. Then I need to search the finfo > for the checkin artifact number to figure out which artifact I > need to wipe. > > Is there an easier way? > Try ls with the -r CHECKIN_VERSION flag. > Might it make sense to add a verification step if any of the > shunned artifacts are a commit record since this misstep is a > pain to recover from? > Shunning is generally considered to be "the nuclear option" and recovery isn't generally a consideration :/. In your case it's simply cosmetic (if i'm understanding right) - there's a "hole" in the history, but there's no way to recover from that except, as Andy suggested, recreating the history starting at the oldest edge of that hole. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal "Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users