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

Yet more working copy not locked errors

From: Peter Davis <peter_at_pdavis.cx>
Date: 2002-10-15 01:43:51 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Does anyone recognize these bugs? Sorry if they have been reported before.

So "svn mv" of a directory into another directory doesn't work.

cartman:pediddle$ svnadmin create test-repo
cartman:pediddle$ export REPOS=$(pwd)/test-repo
cartman:pediddle$ svnadmin create $REPOS
cartman:pediddle$ export REPOS=file://$REPOS
cartman:pediddle$ svn co $REPOS test
Checked out revision 0.
ccartman:pediddle$ cd test
cartman:test$ svn mkdir foo
A foo
cartman:test$ svn mkdir bar
A bar
cartman:test$ svn ci -m ""
Adding bar
Adding foo

Committed revision 1.
cartman:test$ svn mv foo/ bar/
subversion/libsvn_wc/lock.c:108: (apr_err=155004, src_err=0)
svn: Attempted to lock an already-locked dir
svn: working copy locked: bar
cartman:test$ svn mv foo/ bar/ --no-auth-cache
subversion/libsvn_wc/lock.c:108: (apr_err=155004, src_err=0)
svn: Attempted to lock an already-locked dir
svn: working copy locked: bar

On the other hand, "svn cp" followed by "svn rm" does work.

cartman:test$ svn cp foo bar
cartman:test$ svn rm foo
D foo
cartman:test$ svn st
A + bar/foo
D foo

Also, there are problems with "svn revert":

cartman:test$ svn revert . << doesn't seem to have an effect
cartman:test$ svn st
A + bar/foo
D foo
cartman:test$ svn revert bar/foo
subversion/libsvn_wc/lock.c:407: (apr_err=155005, src_err=0)
svn: Working copy not locked
svn: directory not locked (bar)

At least there is a workaround:

cartman:test$ rm -rf bar/foo/
cartman:test$ svn st
! + bar/foo
D foo
cartman:test$ svn revert bar/foo
Reverted bar/foo

- --
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9q1a3hDAgUT1yirARAuUGAJ9xKTt+gHQ21mfTGiuzyNojAmUAcwCdHO8u
g5e3lIbyYEQ0r0ikuA7T9GM=
=RQbC
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 15 01:44:28 2002

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.