X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/7816a5dca3754d9c7e7dfc70f251ac50f2c3714b..e6425c75c095ee64a8d7c566f49fe62ded511ebe:/doc/todo/mercurial.mdwn diff --git a/doc/todo/mercurial.mdwn b/doc/todo/mercurial.mdwn index 9dd3cbb4d..879bae583 100644 --- a/doc/todo/mercurial.mdwn +++ b/doc/todo/mercurial.mdwn @@ -18,6 +18,12 @@ Posthook: in $srcdir/.hg/hrc, I have the following [hooks] incoming.update = hg up - postupdate.ikiwiki = ikiwiki --setup /path/to/ikiwiki.setup --refresh + update.ikiwiki = ikiwiki --setup /path/to/ikiwiki.setup --refresh -This should update the working directory and run ikiwiki every time a change is recorded (someone who knows mercurial better than I do may be able to suggest a better way, but this works for me.) \ No newline at end of file +This should update the working directory and run ikiwiki every time a change is recorded (someone who knows mercurial better than I do may be able to suggest a better way, but this works for me.) + +> Try running it with --post-commit instead of --refresh. That should +> work better, handling both the case where the edit was made via the web +> and then committed, and the case where a commit was made directly. +> It can deadlock if the post-commit hook runs with --refresh in the +> former case. --[[Joey]]