What are some useful Mercurial hooks that you have come across?
A few example hooks are located in the Mercurial book:
I personally don't find these very useful. I would like to see:
- Reject Multiple Heads
- Reject Changegroups with merges (useful if you want users to always rebase)
- Reject Changegroups with merges, unless commit message has special string
- Automatic links to Fogbugz or TFS (similar to bugzilla hook)
- Blacklist, would deny pushes that had certain changeset ids. (Useful if you use MQ to pull changes in from other clones)
Please stick to hooks that have either bat and bash, or Python. That way they can be used by both *nix and Windows users.