[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: Aaron Digulla <digulla_at_hepe.com>
Date: 2005-01-15 10:17:48 CET

Dale Worley wrote:

> -----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.
> ---------------------------------------------------------------------
>
> It is more likely that someone had altered ppp after you checked it out. If
> nobody else was committing, and you did "svn co" then "svn mv", then ppp
> would be up to date and you could do "svn ci" without a problem.

This is not the case:

svnadmin create xxx
mkdir test
svn import test file:///$(pwd)/xxx
rm -rf test
svn co file:///$(pwd)/xxx test
echo test > readme
svn add readme
svn ci -m xxx
svn info .

As you can see, the revision of the toplevel directory is still 1, so
you always get the error.

-- 
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://www.philmann-dark.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jan 15 10:18:30 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.