[hooks]
precommit = hg pull; hg up
postcommit= hg push
post-pull = hg up
However, this doesn't work. precommit freezes with the error
waiting for lock on working directory of [dir] held by [procnum]
and pre-commit results in other errors:
running hook pre-commit: hg pull; hg up
pulling from [source]
searching for changes
no changes found
running hook post-pull: hg up
abort: outstanding uncommitted merges
warning: post-pull hook exited with status 255
abort: outstanding uncommitted merges
warning: pre-commit hook exited with status 255
AG
No comments:
Post a Comment