]> sipb.mit.edu Git - ikiwiki.git/blob - doc/rcs/darcs.mdwn
trimmed git page
[ikiwiki.git] / doc / rcs / darcs.mdwn
1 [Darcs](http://darcs.new) is a distributed revison control
2 system. Ikiwiki supports storing a wiki in a
3 Darcs repository.
4
5 An Ikiwiki wrapper is run by the `posthook` to update a wiki whenever commits
6 or remote pushes come in. When running as a [[cgi]] with Darcs, ikiwiki
7 automatically commits edited pages, and uses the Darcs history to generate the
8 [[RecentChanges]] page.
9
10 Example for a `_darcs/prefs/defaults` file in `$SRCDIR`:
11
12         apply posthook /path/to/repository/_darcs/ikiwiki-wrapper
13         apply run-posthook
14
15 See also [[todo/darcs|todo/darcs]]