Are mercurial's pre-commit hooks also run for other committing commands, e.g. hg backout or hg graft? Since these commands do a commit themselves, I'd like to think this is the case but I cannot find it in the documentation anywhere.
Mercurial: are pre-commit hooks run for other committing commands than "hg ci"
144 views Asked by Klaas van Schelven At
        	1
        	
        
	
                        
Yes they do run for these operations: they run for every commit created on the local repo. You can convince yourself that they run with a simple test like:
It will print
hook ranwhen the hook is called