I add the following to .hg/hgrc:
- [hooks]
- changegroup = hg update >&2 && ikiwiki --setup path.to.setup.file --refresh
- post-commit = ikiwiki --setup path.to.setup.file --refresh
+ [hooks]
+ changegroup = hg update >&2 && ikiwiki --setup path.to.setup.file --refresh
+ post-commit = ikiwiki --setup path.to.setup.file --refresh
I tried the follwing commands in $SRC:
- touch deadlocktest.mdwn
- hg add
- hg ci
+ touch deadlocktest.mdwn
+ hg add
+ hg ci
No deadlock happens. (Also I push to the $SRC from another machine, again, no deadlock.)