> It can deadlock if the post-commit hook runs with --refresh in the
> former case. --[[Joey]]
-The problem with --post-commit is that if you delete some pages in $SRC, ikiwiki --setup setupfile --post-commit will not delete them in $DEST. --[[weakish]]
+The problem with --post-commit is that if you delete some pages in $SRC, ikiwiki --setup setupfile --post-commit will not delete them in $DEST. --[[users/weakish]]
> You should really be using a setup file that has `mercurial_wrapper`
> set, and running the wrapper generated by that from your hook.
>> (Fortunately ikiwiki supports --set var=value so without --setup works.)
>>
>> Alternative is always editing via cgi or pushing. Never work on the $SRC/repo directly.
->> --[[weakish]]
+>> --[[users/weakish]]
I add the following to .hg/hgrc:(I use changegroup since I don't think we need refresh per changeset, please point out if I am wrong.)
<p><del>post-commit = ikiwiki --setup path.to.setup.file --refresh</del><strong>This will cause deadlock! See bleow!</strong></p>
-I have no idea when the deadlock will happen. --[[weakish]]
+I have no idea when the deadlock will happen. --[[users/weakish]]
> For the deadlock to occur, a edit has to be made via the web.
>