[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: Steve Williams <stevewilliams_at_kromestudios.com>
Date: 2004-03-17 08:25:14 CET

> $ 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.

Sly

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 17 08:25:28 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.