[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: Tyler Roscoe <tyler_at_cryptio.net>
Date: Mon, 8 Jun 2009 15:21:20 -0700

On Mon, Jun 08, 2009 at 07:03:11PM -0300, 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.

It looks like svn move can handle url to url moves, so you don't need a
working copy to move them back. Merging does require a working copy.

> What is the best approach? Ideally it would be nice to revert the
> server to the last known good revision.

The only way to remove revisions from history entirely is by clever use
of dump + filter + load. There are lots of docs about how to do this,
both in the svn faq and in the archives for this list.

If you have a backup that was taken shortly before the unauthorized
procedure, you could start with that and just dump and load the few
revisions you need to bring your backup repo completely up-to-date.

Received on 2009-06-09 00:22:18 CEST

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