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

RE: how to get rid of "moved" directory?

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-01-18 01:09:02 CET

-----Original Message-----
From: Robert P. J. Day [mailto:rpjday@mindspring.com]

ah, that appears to have fixed it. so, as i read it, if i want to
move a directory in my WC, i can use "svn mv", at which point i have
to *update* the old (obsolete, deleted) directory, and then i can
commit the delete. is that the typical recipe? thanks.
---------------------------------------------------------------------

I'm not sure exactly what you did, but it sounds like you committed the add
that resulted from the move, and then attempted to commit the delete.
Something like this:

svn mv subdir1/a subdir2/b
svn ci subdir1/b
svn ci subdir1/a

But the first commit advances HEAD, and so subdir1 is now out of date. But
once you "svn up subdir1", you can go ahead with "svn ci subdir1/a".

Usually in this circumstance, people do "svn ci .", and so they don't get
this hassle.

Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 18 01:11:48 2005

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

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