-
add_issue_details
This execute onhg commit
. Find issue numbers mentioned in commit message and fetched corresponding title fromBitbucket
and add it to the original commit message.Usage:
Add following line in.hgrc
[hooks] precommit = python:/path/to/hooks.py:add_issue_details
-
mark_issue_resolved
This smart hook runs after you push your changeset to remote (bitbucket) repo. And not only mark mentioned issues resolved but also assign back to reporter. Also add commit message in bug report.Usage: Add following line in
hooks
section in your.hgrc
file.post-push = python:/path/to/hooks.py:mark_issue_resolved
suicidesin / hg-hooks Goto Github PK
View Code? Open in Web Editor NEWThis project forked from akash0x53/hg-hooks
License: GNU General Public License v2.0