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

Re: [Issue 1751] svn switch may corrupt working copy

From: makl <makl_at_tigris.org>
Date: 2004-03-09 16:34:40 CET

And finally a recipe that doesn't mix recursive and non-recursive
functions. This is a variant of the 'dir not locked' problem.

Another way is to interrupt the client during the switch.

svnadmin create --bdb-txn-nosync repo

svn co $REPO wc1
mkdir wc1/trunk
mkdir wc1/branch
mkdir wc1/branch/file

touch wc1/trunk/file

svn add wc1/trunk
svn add wc1/branch
svn ci -m "" wc1

svn co $REPO/trunk wc2
echo Hi >wc2/file
svn switch $REPO/branch wc2

svn info wc2
# Note the wrong url

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 12 02:25:19 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.