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