You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Scott, Steven" <St...@capitalone.com> on 2008/05/09 15:48:37 UTC

recursive "cleanup" advice

I've been a subversion user for about 2 hours:  30 minutes setting it up
and breaking it, and 1.5 hours on the web trying to recover.  (I.e. I
tried to fix it on my own, but failed.  Be gentle.)  

At some point I tried to just remove the working copy and start over.  I
see now that was a bad idea, because my working copy is still there, but
it looks like I deleted enough to break it

I'm locked in this cycle...

$ svn cleanup       ## run from the root of my working copy
$ svn commit -m "added files in /src"
svn: Working copy '/blah/blah/blah/repos' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for
details)
$ svn cleanup .
$ svn commit -m "added files in /src"
svn: Working copy '/blah/blah/blah/repos' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for
details)


I've tried to "svn revert" but I can't revert while my working copy is
locked.
I've got a trunk and a branch in my repository.  When I try "svn
cleanup" on my branches directory, I get the following (seemingly
idempotent) help message:

$  svn cleanup branches
svn: Your .svn/tmp directory may be missing or corrupt; run 'svn
cleanup' and try again
svn: Can't open file '.svn/tmp/entries': No such file or directory

When "svn cleanup" tells me to run "svn cleanup" I figure its time to
ask the experts for help.

Many thanks, 

Steve





The information contained in this e-mail is confidential and/or proprietary
to Capital One and/or its affiliates. The information transmitted herewith
is intended only for use by the individual or entity to which it is 
addressed.  If the reader of this message is not the intended recipient, 
you are hereby notified that any review, retransmission, dissemination, 
distribution, copying or other use of, or taking of any action in reliance 
upon this information is strictly prohibited. If you have received this 
communication in error, please contact the sender and delete the material 
from your computer.


RE: recursive "cleanup" advice

Posted by "Miller, Eric" <Er...@amd.com>.
Scott - 

In this case I've had to checkout a fresh copy to a temp directory and
replace the working copy .svn folder with the one from the fresh
checkout.

Eric

> -----Original Message-----
> From: Scott, Steven [mailto:Steven.Scott@capitalone.com]
> Sent: Friday, May 09, 2008 9:49 AM
> To: users@subversion.tigris.org
> Subject: recursive "cleanup" advice
> 
> I've been a subversion user for about 2 hours:  30 minutes setting it
up
> and breaking it, and 1.5 hours on the web trying to recover.  (I.e. I
> tried to fix it on my own, but failed.  Be gentle.)
> 
> At some point I tried to just remove the working copy and start over.
I
> see now that was a bad idea, because my working copy is still there,
but
> it looks like I deleted enough to break it
> 
> I'm locked in this cycle...
> 
> $ svn cleanup       ## run from the root of my working copy
> $ svn commit -m "added files in /src"
> svn: Working copy '/blah/blah/blah/repos' locked
> svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for
> details)
> $ svn cleanup .
> $ svn commit -m "added files in /src"
> svn: Working copy '/blah/blah/blah/repos' locked
> svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for
> details)
> 
> 
> I've tried to "svn revert" but I can't revert while my working copy is
> locked.
> I've got a trunk and a branch in my repository.  When I try "svn
cleanup"
> on my branches directory, I get the following (seemingly idempotent)
help
> message:
> 
> $  svn cleanup branches
> svn: Your .svn/tmp directory may be missing or corrupt; run 'svn
cleanup'
> and try again
> svn: Can't open file '.svn/tmp/entries': No such file or directory
> 
> When "svn cleanup" tells me to run "svn cleanup" I figure its time to
ask
> the experts for help.
> 
> Many thanks,
> 
> Steve
> 
> 
> 
> 
> 
> The information contained in this e-mail is confidential and/or
> proprietary
> to Capital One and/or its affiliates. The information transmitted
herewith
> is intended only for use by the individual or entity to which it is
> addressed.  If the reader of this message is not the intended
recipient,
> you are hereby notified that any review, retransmission,
dissemination,
> distribution, copying or other use of, or taking of any action in
reliance
> upon this information is strictly prohibited. If you have received
this
> communication in error, please contact the sender and delete the
material
> from your computer.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org