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

Adding file/directory to a directory with identical name but not same node.

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2006-03-21 14:54:39 CET

Hi All,
Outdated working copy has a directory /abc and tries to create a sub
directory xyz under /abc, meanwhile the /abc has been deleted and
readded from some other working copy should the commit from Outdated
working copy succeed?

It seems to succeed not sure whether it is the correct behaviour.
P.S: This is a repost of post with a subject 'Clarification needed' with
a better subject line.
Below snippet will exhibit the behaviour.

#######snippet starts############
cd /tmp
rm -rf repos
svnadmin create repos --fs-type=bdb
rm -rf wc
mkdir wc
svn mkdir file:///tmp/repos/abc -m 'creating abc'
curdir=`pwd`
svn co file:///tmp/repos wc/wc1
svn co file:///tmp/repos wc/wc2
cd wc/wc1
svn rm abc
svn ci -m 'removing abc from wc1'
svn mkdir file:///tmp/repos/abc -m 'creating abc again from wc1'
cd $curdir
cd wc/wc2
svn mkdir abc/xyz
svn ci -m 'creating xyz under abc from wc2'
#######snippet ends############

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 22 06:21:56 2006

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.