prechangegroup.locked (was: stdout strangeness)

Stephen Rasku mercurial at srasku.net
Wed Jul 8 13:04:09 CDT 2009


On Wed, Jul 8, 2009 at 10:51, Adrian Buehlmann <adrian at cadifra.com> wrote:

> 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
>

Yeah, but what does the .locked part of the hook mean?  Is it even valid?
Neither of those pages describe it.

...Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090708/3881b0e8/attachment.htm 


More information about the Mercurial mailing list