summaryrefslogtreecommitdiff
path: root/IkiWiki/Setup
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-04-04 18:17:38 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-04-04 18:17:38 -0400
commita9c0d7e288d06a43e4e3d03e3ff8496e99e80962 (patch)
tree6ada7fb62bde52bb82782b190858772675fbe6cb /IkiWiki/Setup
parent3c17adea550608cde14f54dae5964d55fa3fe79d (diff)
support darcs in setup automator
use a consistent name for the ikiwiki wrapper file
Diffstat (limited to 'IkiWiki/Setup')
-rw-r--r--IkiWiki/Setup/Automator.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/IkiWiki/Setup/Automator.pm b/IkiWiki/Setup/Automator.pm
index 7d9eca3af..f1ed57b4b 100644
--- a/IkiWiki/Setup/Automator.pm
+++ b/IkiWiki/Setup/Automator.pm
@@ -58,6 +58,9 @@ sub import (@) {
elsif ($config{rcs} eq 'monotone') {
$config{mtn_wrapper}=$config{srcdir}."_MTN/ikiwiki-netsync-hook";
}
+ elsif ($config{rcs} eq 'darcs') {
+ $config{darcs_wrapper}=$config{repository}."_darcs/ikiwiki-wrapper";
+ }
elsif ($config{rcs} eq 'bzr') {
# TODO
}