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

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

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-03-22 20:05:40 CET

On 3/21/06, Kamesh Jayachandran <kamesh@collab.net> wrote:
> 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############

Seems kind of odd to me, I don't know off the top of my head why it's
succeeding. It sure feels like it shouldn't be.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 22 20:06:33 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.