Re: Need Help Recovering From A Folder Named *
On Thursday 01 March 2007, SingleShot wrote:
> We are at a loss for how to recover from this.
> At revision 37, someone managed to commit a folder under our trunk named
> "*". This prevented most subversion operations from working (checkout,
> update, etc.) - the message was something like "cannot locate path '*'".
> Using the TortoiseSVN GUI, we browsed to the * folder in the repository
> and deleted it. The result of course was that the entire trunk was
> deleted! (I suppose it resulted in the equivalent of rm -rf *) This
> resulting in revision 86.
Ok, this sounds really screwy!
Try to dump the whole repository (svnadmin dump), then filter out the *-path
and the delete-trunk-revision (using svndumpfilter). Make sure you use
proper shell-quoting while doing this ('tickmarks' instead of "quotes" and
a few \backslashes here and there). Load the filtered dump into a fresh
repository (DON'T delete or overwrite the old one!!!). Check whether your
problems are fixed. If yes: move the new repository to the old location and
put the old one somewhere else. If no: start with the fresh dump again.
Important rain-dance to prevent this from happening again: Make the guy who
screwed up the repo bring cake for the whole team.
Received on Sat Mar 10 10:39:33 2007
- application/pgp-signature attachment: stored
This is an archived mail posted to the Subversion Users