]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/post-commit_hangs.mdwn
added signature
[ikiwiki.git] / doc / bugs / post-commit_hangs.mdwn
index a19441b92d4235f58c5bafb446e960525ff2d567..32820d8864476ed5dbcf4d62515577f5faad5c54 100644 (file)
@@ -20,6 +20,27 @@ I installed ikiwiki v3.14159 in /usr/local from tarball (/usr contains an older
 >>> Or, you can use the `--post-commit` option, as documented
 >>> in [[rcs/mecurial]] --[[Joey]] 
 
+>>>> I don't run ikiwiki --setup in the commit hook; I run ikiwiki --post-commit (as mentioned above).
+>>>> I'm trying to run ikiwiki --setup from the command line after modifying the setup file.
+>>>> ikiwiki --setup is calling hg update, which is calling ikiwiki --post-commit. Am I not supposed to do that? --Ali
+
+>>>>> No, I don't think that hg update should call ikiwiki anything. The
+>>>>> [[hgrc_example|rcs/mercurial]] doesn't seem to configure it to do that? --[[Joey]] 
+
+>>>>>> Ok, I'm not sure I understand what's going on, but my problem is solved.
+>>>>>>
+>>>>>> My hgrc used to say:
+>>>>>>
+>>>>>> [hooks]
+>>>>>>
+>>>>>> incoming.update = hg up
+>>>>>>
+>>>>>> update.ikiwiki = ikiwiki --setup /home/ikiwiki/ikiwiki.setup --post-commit
+>>>>>>
+>>>>>> I've now changed it to match the example page and it works. Thanks --Ali.
+
+>>>>>>> [[done]]
+
 > Also, how have you arranged to keep it from seeing the installation in /usr? Perl could well be loading
 > modules from the old installation, and if it's one with a different locking strategy that would explain your problem. --[[Joey]]