<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>darcs</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../style.css" type="text/css" /> <link rel="stylesheet" href="../local.css" type="text/css" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="../index.html">ikiwiki</a>/ <a href="../rcs.html">rcs</a>/ </span> <span class="title"> darcs </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p><a href="http://darcs.new">Darcs</a> is a distributed revison control system. Ikiwiki supports storing a wiki in a Darcs repository.</p> <p>An Ikiwiki wrapper is run by the <code>posthook</code> to update a wiki whenever commits or remote pushes come in. When running as a <a href="../cgi.html">cgi</a> with Darcs, ikiwiki automatically commits edited pages, and uses the Darcs history to generate the <a href="../recentchanges.html">RecentChanges</a> page.</p> <p>Example for a <code>_darcs/prefs/defaults</code> file in <code>$SRCDIR</code>:</p> <pre><code>apply posthook /path/to/repository/_darcs/ikiwiki-wrapper apply run-posthook </code></pre> <p>See also <span class="createlink">todo/darcs</span></p> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div id="backlinks"> Links: <a href="./details.html">details</a> <a href="../rcs.html">rcs</a> </div> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> </body> </html>