[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to undo multiple moves without a working copy?

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Tue, 9 Jun 2009 18:56:51 -0500

On Jun 8, 2009, at 18:00, Andrey Repin wrote:

>> Recently I had someone move all of our development projects under
>> a new
>> sub-directory without proper authority. We can do a remote move
>> to put
>> them back in place, or perform a working copy merge.
>> What is the best approach? Ideally it would be nice to revert the
>> server to the last known good revision.
>> Suggestions?
> Straight dump to the last known proper revision.
> Then incremental dump for any changes that might follow that mess.
> Edit paths in the second dump.
> Join both dumps in the new repository.

Yes, this problem can be solved by using admin commands like dump and
load, but I do not recommend that for this case. It would be like...
redecorating a house, then deciding you didn't like it, and
bulldozing the house and building it again and decorating it the way
it originally was. Why not keep the house and just undo the
redecoration? It will cause a lot less inconvenience. Just use
regular "svn mv" commands, or "svn merge" as I mentioned earlier, to
put things right.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-10 01:58:02 CEST

This is an archived mail posted to the Subversion Users mailing list.