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

Re: [BUG] svn up may delete directories copied from the repository

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-03-17 19:06:01 CET

"Steve Williams" <stevewilliams@kromestudios.com> writes:

>> $ svnadmin create --bdb-txn-nosync repo
>> $ svn mkdir -m "r1" file:///g:/repos/repo/dir1
>> $ svn mkdir -m "r2" file:///g:/repos/repo/dir2
>> $ svn co file:///g:/repos/repo wc1
>> $ svn delete wc1/dir1
>> $ svn delete wc1/dir2
>> $ svn ci -m "r3" wc1
>> $ svn cp -r2 file:///g:/repos/repo/dir2 wc1/dir1
>>
>> $ svn up wc1
>> At revision 3.
>>
>> # Ok
>>
>> $ svn up wc1/dir1
>> D wc1\dir1
>> Updated to revision 3.
>>
>> # Not good
>
> Why is that not good? Isn't that what you should expect? You are updating
> your working copy to -rHEAD in which wc1/dir1 has been deleted, so svn is
> synchronizing your working copy with -rHEAD by deleting wc1/dir1.

That's definitely a bug. I see you are using two directories dir1 and
dir2, if you try to do it using just one directory the copy fails.
That's another bug.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 17 19:06:15 2004

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.