You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Sebastien LEDUC <se...@st.com> on 2005/10/31 15:00:23 UTC

locking a directory

Hi,
the lock command seems to allow locking of files, but not of directories.
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?

Regards,
Sebastien

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: locking a directory

Posted by Joshua Varner <jl...@gmail.com>.
On 10/31/05, Madan U Sreenivasan <ma...@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

Re: locking a directory

Posted by Madan U Sreenivasan <ma...@collab.net>.
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.

Regards,
Madan.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org