You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Anthony Glover <gl...@elmco.com> on 2004/07/16 16:33:56 UTC

File Locking Yet

Didn't notice it in the release notes for the latest version, but can 
anyone provide a status on the addition of the locking capability? We 
are in the process of setting up a large repository with numerous 
binary files, and there is some concern over not being able to lock a 
file.

Thanks,
Tony


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

Re: File Locking Yet

Posted by Ben Collins-Sussman <su...@collab.net>.
On Fri, 2004-07-16 at 11:33, Anthony Glover wrote:
> Didn't notice it in the release notes for the latest version, but can 
> anyone provide a status on the addition of the locking capability? We 
> are in the process of setting up a large repository with numerous 
> binary files, and there is some concern over not being able to lock a 
> file.

From the bottom of the release notes:

"There's no formal roadmap or timeframe for future Subversion releases.
However, the consensus among developers is that the "next big feature"
will be exclusive locking (reserved checkouts). This feature will
hopefully appear in Subversion 1.2, assuming no database schema changes
are necessary. Design discussion is still underway."




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

Re: File Locking Yet

Posted by Max Bowsher <ma...@ukf.net>.
Anthony Glover wrote:
> Didn't notice it in the release notes for the latest version, but can
> anyone provide a status on the addition of the locking capability?

Copied verbatim from those release notes:
"... the consensus among developers is that the "next big feature" will be
exclusive locking (reserved checkouts). This feature will hopefully appear
in Subversion 1.2, assuming no database schema changes are necessary. Design
discussion is still underway. "


Max.


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

Re: File Locking Yet

Posted by Anthony Glover <gl...@elmco.com>.
Thanks all for the updates, and for the suggestions for simulating 
locking via the pre-commit hook. Also, my bad on not having read the 
release notes close enough.

Thanks,
Tony

On Jul 16, 2004, at 11:33 AM, Anthony Glover wrote:

> Didn't notice it in the release notes for the latest version, but can 
> anyone provide a status on the addition of the locking capability? We 
> are in the process of setting up a large repository with numerous 
> binary files, and there is some concern over not being able to lock a 
> file.
>
> Thanks,
> Tony
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>


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

Re: File Locking Yet

Posted by Michael W Thelen <th...@cs.utah.edu>.
* Anthony Glover <gl...@elmco.com> [2004-07-16 10:33]:
> Didn't notice it in the release notes for the latest version, but can 
> anyone provide a status on the addition of the locking capability? We 
> are in the process of setting up a large repository with numerous 
> binary files, and there is some concern over not being able to lock a 
> file.

It's in the design phase, and hoped to be included in Subversion 1.2 whenever
that is released.  In the meantime, you may be able to "fake it" with a
pre-commit hook that disallows changes to files that have a "lock" property
set.  In other words, when some one wants to lock a file, they can set a
property called "lock" (or whatever) to their username.  The pre-commit hook
can then disallow changes to that file from everyone except that user.  When
the user is done locking the file, they can remove the "lock" property.  This
is obviously not an ideal solution, but if locking is important to you, it may
be worth trying in the meantime until Subversion implements locking natively.

-- Mike

-- 
Michael W. Thelen
If you don't know where you are going, you will probably end up somewhere
else.           -- Laurence J. Peter