Verifying commit text

Benoit Boissinot bboissin at gmail.com
Tue Jan 30 10:34:27 UTC 2007


On 1/30/07, Trevor Watson <Trevor.Watson at sun.com> wrote:
>
> Is my understanding correct, or have I missed something which would make the
> precommit work as suggested?
>

You can use pretxncommit for that (the commit message is available).
Although there are plans to move the commit creation up in the
workflow, the locking scheme is not finalized.

> If my understanding is correct, although moving the precommit hook would solve
> the problem, I'm not sure that is the reight solution as its name implies that
> it is called earlier in the workflow (which it is), so I would still prefer to
> add a new hook for verifying commit text.
>

regards,

Benoit



More information about the Mercurial mailing list