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

Re: "svn lock ."

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-03-22 09:56:23 CET

On Tue, 22 Mar 2005, Marcus Rueckert wrote:

> i tried to do my first lock:
>
> sh -x repro.sh
> + mkdir ~/tmp
> + cd ~/tmp
> + svnadmin create foo
> + svn co file:///home/darix/tmp/foo wc
> Checked out revision 0.
> + cd wc
> + svn lock .
> [typing lock comment and save it]
> subversion/libsvn_wc/lock.c:629: (apr_err=155007)
> svn: '/home/darix/tmp' is not a working copy
> subversion/clients/cmdline/lock-cmd.c:134: (apr_err=155007)
> svn: Your lock comment was left in a temporary file:
> subversion/clients/cmdline/lock-cmd.c:134: (apr_err=155007)
> svn: 'svn-lock.tmp'
>
> i cant lock the root of a repos/Wc?

You can't lock a directory. But the error message could possibly be
improved;)

> where does it try to store the tmp file?

Seems like it gets removed anyway. I'll take a look.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 22 09:53:17 2005

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.