aboutsummaryrefslogtreecommitdiff
path: root/doc/rcs/darcs.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-04-04 18:04:20 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-04-04 18:04:20 -0400
commitca5704936d1d57fdd11ea850608e6fa9d574d9dd (patch)
tree478d2057e7ea4978adca05f0522ac61e254a1532 /doc/rcs/darcs.mdwn
parentc93360a751ec39191b2cd10a6e8edc67b6c09134 (diff)
downloadikiwiki-ca5704936d1d57fdd11ea850608e6fa9d574d9dd.tar
ikiwiki-ca5704936d1d57fdd11ea850608e6fa9d574d9dd.tar.gz
update docs for darcs
Deleted all the old incomplete implementations. Moved explanation of the two-repo system currently implemented for darcs into rcs/details, and removed discussion from there about other methods (including one-repo). Wrote a rcs/darcs page, which I hope is accurate.
Diffstat (limited to 'doc/rcs/darcs.mdwn')
-rw-r--r--doc/rcs/darcs.mdwn15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/rcs/darcs.mdwn b/doc/rcs/darcs.mdwn
new file mode 100644
index 000000000..7f66d0808
--- /dev/null
+++ b/doc/rcs/darcs.mdwn
@@ -0,0 +1,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/ikiwrapper
+ apply run-posthook
+
+See also [[todo/darcs|todo/darcs]]