You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Jani Monoses <ja...@iv.ro> on 2002/11/12 14:52:25 UTC

Re: 0.15 doesn't like my working dir anymore

I got this when trying svn up after hitting ctrl C on a started svn up.
had to delete the files named lock in all .svn dirs myself 
the repo was svn itself.


> After upgrading, I get this:
> 
> > svn update
> svn: Attempted to lock an already-locked dir
> svn: working copy locked: 
> 
> ... for pretty much everything that connects to the repository.
> 
> My working copy sits in AFS; has something wrt. locking changed that
> isn't supported by AFS/arla?
> 
> -- 
> Cheers =8-} Mike
> Friede, Völkerverständigung und überhaupt blabla
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
> 

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

Re: 0.15 doesn't like my working dir anymore

Posted by Ben Collins-Sussman <su...@collab.net>.
The working copy is a psuedo-journaled filesystem.  If it was locked,
it's because some journal (log) hadn't been executed yet.  You still
need to run 'svn cleanup' to run any leftover logs... otherwise you
risk leaving your working copy in an inconsistent state.

By the way... perhaps our strerror that prints "Working copy locked"
should *also* say something like "Run 'svn cleanup' to fix"?


Jani Monoses <ja...@iv.ro> writes:

> By hand but not individually of course :)
> didn't know about svn cleanup of course :)
> 
> > 
> > ...which, of course, you know that because you deleted them BY HAND!
> > Did you try to run 'svn cleanup' first?
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: dev-help@subversion.tigris.org
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

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

Re: 0.15 doesn't like my working dir anymore

Posted by Branko Čibej <br...@xbc.nu>.
Jani Monoses wrote:

>didn't know about svn cleanup of course :)
>  
>
We have to do something about that. In fact, I just did it. See revision
3757.

-- 
Brane Čibej   <br...@xbc.nu>   http://www.xbc.nu/brane/


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

Re: 0.15 doesn't like my working dir anymore

Posted by Jani Monoses <ja...@iv.ro>.
By hand but not individually of course :)
didn't know about svn cleanup of course :)

> 
> ...which, of course, you know that because you deleted them BY HAND!
> Did you try to run 'svn cleanup' first?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
> 

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

Re: 0.15 doesn't like my working dir anymore

Posted by cm...@collab.net.
Jani Monoses <ja...@iv.ro> writes:

> I got this when trying svn up after hitting ctrl C on a started svn
> up.

Well, that would leave locks around...

> had to delete the files named lock in all .svn dirs myself 

...which, of course, you know that because you deleted them BY HAND!
Did you try to run 'svn cleanup' first?

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