Precommit-hook behaves different comparing to the hg
Created originally on Bitbucket by Anonymous
I have a pre-commit hook which modifies automaticaly one file, if it is necessary. So can be stored also in repo when neccessary. When I commit from a command line: "hg ci -mMyComment ", the hook-modification is included (one step). But when I am callling that from tortoisehg window, I have to commit this modified file extra (two steps). Seems like repo is already locked?!
Can somebody help me with that?