prechangegroup.locked (was: stdout strangeness)

Stephen Rasku mercurial at srasku.net
Wed Jul 8 12:43:13 CDT 2009


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

...Stephen


More information about the Mercurial mailing list