Adding custom data to commit msg

quarterlife chaim.ackerman at gmail.com
Mon Nov 1 21:09:37 CDT 2010


Our developers work in private repos that contain the requirement_id in its
name.
I can ask them to always add the requirement_id in their commit messages,
but it's error prone.
I'd like to have it automatically prepended into their commit messages, so
that the requirement can be tracked as it's changesets are pushed to various
repos.  Is there a way to add a hook to the commit (e.g. pretxncommit) to
automatically prepend it?  Or is there another approach that will accomplish
the same thing.

Thanks!

Quarterlife (used to be Half Life...)
-- 
View this message in context: http://mercurial.808500.n3.nabble.com/Adding-custom-data-to-commit-msg-tp1825606p1825606.html
Sent from the Development mailing list archive at Nabble.com.


More information about the Mercurial-devel mailing list