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

Re: svn lock one level too high if directory is parameter?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-09-19 15:45:19 CEST

solo turn <soloturn99@yahoo.com> writes:

> hi, can it be that locking is done one level to high, if you give a
> directory as parameter?

It's not "too high", the behaviour is required.

> $ svn cleanup folder
> $ svn up folder
> svn: Attempted to lock an already-locked dir
> svn: working copy locked: .
> svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

If 'svn up folder' were to delete folder then '.' must change, which
requires '.' to be locked.

> $ cd folder
> $ svn up
> Authentication realm: <...>

That doesn't always work, if 'svn up' were to delete the '.' directory
it will fail.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 19 15:46:12 2003

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.