aboutsummaryrefslogtreecommitdiff
path: root/doc/rcs/darcs.mdwn
blob: fbb9bcede30706125a159a45a9ce1424e4f7749c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Darcs](http://darcs.new) is a distributed revison control
system. Ikiwiki supports storing a wiki in a
Darcs repository.

An Ikiwiki wrapper is run by the `posthook` to update a wiki whenever commits
or remote pushes come in. When running as a [[cgi]] with Darcs, ikiwiki
automatically commits edited pages, and uses the Darcs history to generate the
[[RecentChanges]] page.

Example for a `_darcs/prefs/defaults` file in `$SRCDIR`:

	apply posthook /path/to/repository/_darcs/ikiwiki-wrapper
	apply run-posthook

See also [[todo/darcs|todo/darcs]]