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

locked files.. svn cleanup doesn't work

From: mindspin311 <connoc.mindspin_at_gmail.com>
Date: Wed, 9 Apr 2008 13:50:39 -0700 (PDT)

First off, here's a bit of info on my local repository. I'm new to svn.. Just
trying to get acquainted with it.

svn, version 1.4.2 (r22196)
   compiled Nov 20 2006, 07:17:32

repository at ~/newrepos
sandbox at ~/sandbox/newrepos

I can run svn updates on blah and build.xml.2.3, but something is wrong with
test.. it's missing some stuff in the .svn directory, and I don't know why.
It's listed in the repository also..

[xx_at_zend01 newrepos]$ svn status
  L .
  L test

[xx_at_zend01 newrepos]$ svn list
blah/
build.xml.2.3/
test/

[xx_at_zend01 newrepos]$ ls
blah build.xml.2.3 test

[xx_at_zend01 newrepos]$ svn up
svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

[xx_at_zend01 newrepos]$ cd blah/

[xx_at_zend01 blah]$ svn up
At revision 3.

[xx_at_zend01 blah]$ cd ..

[xx_at_zend01 newrepos]$ cd build.xml.2.3/

[xx_at_zend01 build.xml.2.3]$ svn up
At revision 3.

[xx_at_zend01 build.xml.2.3]$ cd ..

[xx_at_zend01 newrepos]$ cd test/

[xx_at_zend01 test]$ svn up
svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

[xx_at_zend01 test]$ svn cleanup
svn: Can't open directory '.svn/tmp': No such file or directory

[xx_at_zend01 test]$ ls -a .svn
. .. entries format lock

[xx_at_zend01 test]$ cd ..

[xx_at_zend01 newrepos]$ ls -a .svn
. .. entries format lock prop-base props text-base tmp

[xx_at_zend01 newrepos]$ svn up
svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

[xx_at_zend01 newrepos]$ svn cleanup
svn: Can't open directory 'test/.svn/tmp': No such file or directory

If I try to remove test.. it says it's locked. I removed it in the
repository.. and it was ok. I had to manually delete test from the sandbox,
and now I get this...

[xx_at_zend01 newrepos]$ svn st
  L .
! test

I tried checking out a new copy somewhere else and it didn't have test and
worked fine. How do I fix the current one I have? Why can't I use svn
cleanup to unlock????

-- 
View this message in context: http://www.nabble.com/locked-files..-svn-cleanup-doesn%27t-work-tp16596457p16596457.html
Sent from the Subversion Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-09 22:51:02 CEST

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