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

Re: locked files.. svn cleanup doesn't work

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Tue, 15 Apr 2008 15:21:08 -0500

On Apr 9, 2008, at 3:50 PM, mindspin311 wrote:

> 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????

It looks like some tmp directories are missing. Do you have some sort
of automated or manual process that goes around deleting emtpy
directories called "tmp"? Not sure how else those directories wound
up getting deleted. Try recreating those directories by hand.

---------------------------------------------------------------------
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-15 22:21:36 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.