aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-02 18:44:39 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-05-02 18:44:39 +0000
commit12422e98901cef2774b15ec0e6468e88d4d0a6c6 (patch)
tree715e817132d8b80c5d27c23c1afd4a62e50742ed /IkiWiki
parent47cec07e4441a06bb741910a329215d4d6ad0a86 (diff)
downloadikiwiki-12422e98901cef2774b15ec0e6468e88d4d0a6c6.tar
ikiwiki-12422e98901cef2774b15ec0e6468e88d4d0a6c6.tar.gz
* Patch from Thomas Schwinge to switch from --svn to --rcs=svn, etc,
to pave the way for adding other RCS support. This also changes the setup files, where before they had svn => 1 or svn => 0, now they have rcs => "svn" or rcs => "". * Add a debian/NEWS file with upgrade notes. * Load whatever rcs module is specified, so new ones can be just dropped in as plugins and work. * Add some basic docs about writing RCS modules.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Rcs/svn.pm (renamed from IkiWiki/Rcs/SVN.pm)0
-rw-r--r--IkiWiki/Wrapper.pm2
2 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Rcs/SVN.pm b/IkiWiki/Rcs/svn.pm
index b45b69197..b45b69197 100644
--- a/IkiWiki/Rcs/SVN.pm
+++ b/IkiWiki/Rcs/svn.pm
diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm
index e5f718f71..ee547cefb 100644
--- a/IkiWiki/Wrapper.pm
+++ b/IkiWiki/Wrapper.pm
@@ -36,7 +36,7 @@ sub gen_wrapper () { #{{{
asprintf(&newenviron[i++], "%s=%s", "$var", s);
EOF
}
- if ($config{svn} && $config{notify}) {
+ if ($config{rcs} eq "svn" && $config{notify}) {
# Support running directly as hooks/post-commit by passing
# $2 in REV in the environment.
$envsave.=<<"EOF"