aboutsummaryrefslogtreecommitdiff
path: root/doc/rcs
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2008-07-14 16:05:10 -0400
committerJoey Hess <joey@kitenet.net>2008-07-14 16:05:10 -0400
commitbe16270a09329f51ff85f9d9def6058b38c27b6e (patch)
tree3fc11102c164c4de421bcfcbdc4b8715b6c35478 /doc/rcs
parentf6e01e53fdbfd8369ffd5860424cbb02b4dbc39c (diff)
downloadikiwiki-be16270a09329f51ff85f9d9def6058b38c27b6e.tar
ikiwiki-be16270a09329f51ff85f9d9def6058b38c27b6e.tar.gz
web commit by XTaran: Example hgrc, some markup, one correction of one of my previous changes
Diffstat (limited to 'doc/rcs')
-rw-r--r--doc/rcs/mercurial.mdwn10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/rcs/mercurial.mdwn b/doc/rcs/mercurial.mdwn
index 020edfc12..b4baf07f4 100644
--- a/doc/rcs/mercurial.mdwn
+++ b/doc/rcs/mercurial.mdwn
@@ -2,9 +2,17 @@
system developed by Matt Mackall. Ikiwiki supports storing a wiki in a
mercurial repository.
-Ikiwiki can run as a post-commit and/or install hook to update a wiki whenever commits or remote pushes
+Ikiwiki can run as a `post-commit` and/or `incoming` hook to update a wiki whenever commits or remote pushes
come in. When running as a [[cgi]] with Mercurial, ikiwiki automatically
commits edited pages, and uses the Mercurial history to generate the
[[RecentChanges]] page.
+Example for a `.hg/hgrc` file in `$SRCDIR`:
+
+ [hooks]
+ post-commit = /home/abe/bin/rebuildwiki
+ incoming = /home/abe/bin/rebuildwiki
+
+Do not use `commit` or `precommit` hooks or ikiwiki will run into a dead lock when committing in `$SRCDIR`
+
See also [[todo/mercurial|todo/mercurial]]