Mercurial Hooks - internal information - precommit

Benoit Boissinot benoit.boissinot at ens-lyon.org
Sat Mar 28 13:03:39 CDT 2009


On Fri, Mar 20, 2009 at 03:39:55PM -0300, Wendel Silva wrote:
> Hello everyone,
> 
> I want to have access of some information of the commit in the hook
> "precommit".
> Using this hook, can i have the list of the files commited? (its name and
> the information if the file was included, removed or modified).

Not directly (you could play with status, but then you don't know what
was passed in the command line.

> In addition, can i change the description of the commit?

The commit message isn't build at this time.

regards,

Benoit

-- 
:wq


More information about the Mercurial mailing list