On my computer I have some Mercurial commit hooks that run on every commit that make sure I branch correctly and do a few other things. But I only need these for work projects.
Here are the hooks implemented in my ~/.hgrc file:
[hooks]
# This hook will warn you if you make a commit directly to trunk.
pretxncommit.default_check=/virtualhosts/mercurial-hooks/default_check.sh
# This hook will warn you if you branch from something other than default.
pretxncommit.branch_check=/virtualhosts/mercurial-hooks/branch_check.sh
For my personal projects I don't want to use the same, annoying hooks (which are set to global). I would like all of the repos I checkout from bitbucket to not use those hooks. How can I set it up to do this?