]> sipb.mit.edu Git - ikiwiki.git/commitdiff
comment
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 31 Aug 2007 02:25:17 +0000 (02:25 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Fri, 31 Aug 2007 02:25:17 +0000 (02:25 +0000)
doc/todo/mercurial.mdwn

index 9dd3cbb4d490ec45ee0ea8000e07a31699cdd745..3af66df730f6d7cf427d06df1f8dc83897c05e38 100644 (file)
@@ -20,4 +20,10 @@ Posthook: in $srcdir/.hg/hrc, I have the following
     incoming.update = hg up
     postupdate.ikiwiki = ikiwiki --setup /path/to/ikiwiki.setup --refresh
 
     incoming.update = hg up
     postupdate.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]]