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

Re: locking a directory

From: Joshua Varner <jlvarner_at_gmail.com>
Date: 2005-11-01 01:16:27 CET

On 10/31/05, Madan U Sreenivasan <madan@collab.net> wrote:
> On Mon, 2005-10-31 at 20:30, Sebastien LEDUC wrote:
> > Hi,
> > the lock command seems to allow locking of files, but not of directories.
> hmmm, the 'svn help lock' command says...
> -------------------------------------------------------
> lock: Lock working copy paths or URLs in the repository, so that
> no other user can commit changes to them.
> -------------------------------------------------------
> it doesnt specifically mention files or dirs.
>
> I tried locking files with no effect (neither using the wc path nor
> using the url)...
> > What I would like to do is to temporary lock a branch URL to prevent
> > others from committing to that branch while merging some work into it.
> >
> > Any idea of how to achieve this?
> let me see if I can find some way out for you.
>
"Subversion's locking feature is currently limited to files only—it's
not yet possible to reserve access to a whole directory tree."

from
http://svnbook.red-bean.com/nightly/en/svn.advanced.locking.html#svn.advanced.locking.lock-communication

Josh
Received on Tue Nov 1 01:18:14 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.