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

Re: bug? svn status -v -u filename => "Working copy not locked"

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-12-13 05:49:44 CET

Eric Hanchrow <offby1@blarg.net> writes:
> Anyway, here's what I do and see:
>
> 15:35:41 [offby1@offby1 config-files]$ svn status -v -u .emacs.el
> subversion/libsvn_wc/lock.c:422: (apr_err=155005, src_err=0)
> svn: Working copy not locked
> svn: directory not locked (mozbook)

Can you fix it by running 'svn cleanup'?

> If it matters, here's the output of `svn info' in that directory:
>
> 15:31:16 [offby1@offby1 config-files]$ svn info
> Path:
> Url: http://localhost/svn/repos/trunk/config-files
> Revision: 15
> Node Kind: directory
> Schedule: normal
> Last Changed Author: erich
> Last Changed Rev: 15
> Last Changed Date: 2002-12-12 11:44:13 -0800 (Thu, 12 Dec 2002)
>
> Note that, if I try an equivalent command on another repository
> (namely the subversion sources themselves), I have no trouble:
>
> 15:43:43 [offby1@offby1 getopt_tests_data]$ svn status -v -u svn_stderr
> 4110 3250 kfogel svn_stderr
> Head revision: 4110
>
> This is why I assume the problem has something to do with my
> repository.

Well, you've also changed to a different working copy directory, so
the repository isn't the only variable changing here! :-)

> What can I do to help track down the problem?

Save that working copy before you do any experiments.

Can you check out another working copy from that repository and run
'svn st -v -u .emacs.el' in that working copy? What happens?

This is actually a fairly common situation; it can result from an
operation interrupted at the wrong time. If 'svn cleanup' fixes it,
it may not be a bug at all. If 'svn cleanup' does not fix it, then we
could look at the working copy.

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 13 06:29:19 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.