prechangegroup.locked (was: stdout strangeness)

Adrian Buehlmann adrian at cadifra.com
Wed Jul 8 12:51:45 CDT 2009


On 08.07.2009 19:43, Stephen Rasku wrote:
> On Tue, Jul 7, 2009 at 22:33, Steve Borho<steve at borho.org> wrote:
>> Can anyone explain this behavior?
>>
>> (test can be any repository)
>> % hg clone test foo
>> % cd foo
>> % echo "[hooks]\nprechangegroup.locked = echo REPOSITORY IS LOCKED &&
>> exit 1" >> .hg/hgrc
> 
> What does the prechangegroup.locked hook actually do?  I don't see a
> reference to it on the hooks page:
> 
>    http://hgbook.red-bean.com/read/handling-repository-events-with-hooks.html
> 

See http://www.selenic.com/mercurial/hgrc.5.html#hooks

There's also a page in the wiki:
http://mercurial.selenic.com/wiki/Hook


More information about the Mercurial mailing list