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

Error message about locked directory after replacing dir with symlink to another dir

From: David Grant <davidgrant_at_gmail.com>
Date: Sun, 10 Aug 2008 19:05:17 -0700

I'm using svn v1.4.6 (r28521). I am curious if 1.5 has the same behaviour or
if others think the expected behaviour is different than what I think it
should be.

#set up test repository
svnadmin create /home/david/svntest
cd ~/svn
svn co file:///home/david/svntest ./svntest
cd svntest

#create base directories
mkdir A B
svn add *
svn ci -m ""

#remove A, create symlink to B, called "A"
rm -rf A
ln -s B A

#run svn update (with intention to update B which is still in working copy)
svn up

svn: Working copy 'B' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

Expected behaviour: svn should give some error message when it tries to
update A but it should still update B. At the very least it shouldn't tell
me that some directory is locked. After I run svn cleanup on '.' and B, svn
up still gives the "working copy 'B' locked" message

Please reply by e-mail because I am not subscribed to the list.

Thanks,

-- 
David Grant
http://www.davidgrant.ca
Received on 2008-08-11 08:02:12 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.