[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: Mon, 8 Jun 2009 17:18:58 -0500

On Jun 8, 2009, at 17:03, Timothy Astle 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.

You can't "revert the server to the last known good revision" per se.
A commit to a repository is (for the purposes of this discussion)
forever. You can now perform additional commits that take the
opposite actions.

You could get a working copy and do a reverse merge of the revisions
this person committed, as explained here:


If there have been any changes in these projects since this
unauthorized move, I am not certain whether the above steps will also
lose those changes. You may be better off, if it's not too difficult,
identifying what needs to be moved back where, and using "svn mv" to
move things back. You can either do this in a working copy and then
commit either individually or all at once, or via URLs one at a time,
or via URLs all at once using svnmucc.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-09 00:20:15 CEST

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