aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorhttp://www.zeitlins.org/id/VZ/ <http://www.zeitlins.org/id/VZ/@web>2009-04-02 06:16:37 -0400
committerJoey Hess <joey@kitenet.net>2009-04-02 06:16:37 -0400
commit1b4e83941efc308e9a330948a5f6b20bf8326b31 (patch)
tree4c165fc60fd94b1270d10a5b738570219c11fc18 /doc
parent524827c3cf85e5aceb87a7a84fac196d07550e9f (diff)
downloadikiwiki-1b4e83941efc308e9a330948a5f6b20bf8326b31.tar
ikiwiki-1b4e83941efc308e9a330948a5f6b20bf8326b31.tar.gz
Give a working example of hgrc and mention the need for --post-commit
Diffstat (limited to 'doc')
-rw-r--r--doc/rcs/mercurial.mdwn6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/rcs/mercurial.mdwn b/doc/rcs/mercurial.mdwn
index b4baf07f4..ebfc35202 100644
--- a/doc/rcs/mercurial.mdwn
+++ b/doc/rcs/mercurial.mdwn
@@ -10,9 +10,9 @@ commits edited pages, and uses the Mercurial history to generate the
Example for a `.hg/hgrc` file in `$SRCDIR`:
[hooks]
- post-commit = /home/abe/bin/rebuildwiki
- incoming = /home/abe/bin/rebuildwiki
+ post-commit = ikiwiki --setup /path/to/ikiwiki.setup --post-commit
+ incoming = ikiwiki --setup /path/to/ikiwiki.setup --post-commit
-Do not use `commit` or `precommit` hooks or ikiwiki will run into a dead lock when committing in `$SRCDIR`
+Do not use `commit` or `precommit` hooks or ikiwiki will run into a dead lock when committing in `$SRCDIR`. Also note that `--post-commit` and not `--refresh` must be used to avoid dead locking when editing the pages via CGI interface.
See also [[todo/mercurial|todo/mercurial]]