Issue #169 wontfix

commit hook that would enable adding text to commit message

lfboulanger
created an issue

We are looking for a mechanism inside Mercurial or TortoiseHG to enable us to add text to a commit comment as it is performed.

The reason for this is simple: We would like developers to be able to associate their commits to specific feature requests or time tracking tasks. Therefore, users could go in and perform a commit, enter the commit message they want and apply their commit. Our hook could then execute and add additional information to the commit comment.

I believe this feature would be pretty useful in a lot of different integrations.

We are already using the latest RC for TortoiseHG 2.0, and I did not find any way to do this without modifying the code.

Comments (3)

  1. Anonymous

    Definitely!

    If you could just show me how to get started on monkey-patching, I can take care of the rest.

    Thanks for the help!

    Felix

  2. Log in to comment