File Locking

Christian Boos cboos at neuf.fr
Thu Oct 16 05:54:32 CDT 2008


Alpár Jüttner wrote:
> ...
> Therefore locking is inherently impossible in DVC. If you really need it
> (in most cases you don't), you must use a system where the commit and
> the push operation is strictly tied together, like SVN.
>   

Just throwing an idea around, you could also take an orthogonal approach 
where you would do that *outside* of the VCS, for example in a web-based 
application in which you could indicate a lock "intent" on the files. 
That could certainly be done in Trac by a plugin on top of the mercurial 
plugin, and you could even imagine showing the lock acquire/release 
events in the timeline.

-- Christian



More information about the Mercurial mailing list