File Locking

Martin Geisler mg at aragost.com
Thu Aug 18 13:44:10 UTC 2011


"Clark Hwang" <Chwang at guhsd.net> writes:

Hi,

This is a reply to an old thread -- I've CCed those of you who seemed to
be interested in a way to lock files in Mercurial. I hope it is still
relevant to some of you.

> I'm trying to convince my office to go with Mercurial instead of
> Subversion. One of the requirement will be to have the ability to lock
> files so another user would not be able to check it out. Is it
> possible to implement file locking with Mercurial? Are there sample
> hooks are there?

I've written an extension for locking files, please see

  https://bitbucket.org/aragost/hglock
  http://mercurial.selenic.com/wiki/LockExtension/NewDesign

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://mercurial.aragost.com/kick-start/



More information about the Mercurial mailing list