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

Strange update behavior (depth bug?)

From: Miller, Eric <Eric.Miller_at_amd.com>
Date: Thu, 23 Oct 2008 14:00:42 -0700

Could someone tell me if this is intended behavior? I was trying to see
if a bug I had encountered awhile back was fixed in 1.5 and got
unexpected behavior.

#Create repository (r0)
svnadmin create repos
svn co -N file://`pwd`/repos wc

#Add a directory adir and file adir/afile (r1)
mkdir wc/adir
touch wc/adir/afile
svn add wc/adir
svn ci -m '' wc

#Modify afile (r2)
echo "foo" >> wc/adir/afile
svn ci -m '' wc

#Remove adir (r3)
svn up wc
svn rm wc/adir
svn ci -m '' wc

#Create a new adir and afile (r4)
svn mkdir wc/adir
echo "foo2" >> wc/adir/afile
svn add wc/adir/afile
svn ci -m '' wc

#Try to get back to r1
svn up -r1 wc
  D wc/adir

adir gets deleted - this seems like a dubious thing to do.

#Try to get back to r4
svn up -r4 wc
adir still MIA. It looks like the depth got set to empty?

I'm still in the stone ages of 1.4 so bear with me on these new fangled
features. :D

Thanks,
Eric Miller

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-24 17:34:57 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.