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

Re: moving an out-of-date folder in working copy

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-04-03 15:42:50 CEST

solo turn <soloturn99@yahoo.com> writes:

> does this mean the following:
> to make "move" elementary, svn update has to know that the folder was
> moved, and hence is able to apply the updates on the old tree to the
> new tree?

Yes, exactly.

> btw, how do you "revert" a move correctly? it seems that after a
> revert, the new folder is not removed. and it seems you cannot do
> anything with it but delete. is that right?

Well, you're reverting a schedule-add, and a schedule-delete.

Reverting the schedule-delete is no big deal: the schedule-delete
flag is removed from the parent directory, and the files within it are
recovered from .svn/text-base/.

Reverting a schedule-add causes the directory tree to become
unversioned (all .svn areas are removed). You can then just 'rm -rf'
the tree.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 3 15:43:41 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.