From 12422e98901cef2774b15ec0e6468e88d4d0a6c6 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 2 May 2006 18:44:39 +0000 Subject: * 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. --- ikiwiki | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ikiwiki') diff --git a/ikiwiki b/ikiwiki index 75114bb66..af90d2288 100755 --- a/ikiwiki +++ b/ikiwiki @@ -22,7 +22,7 @@ sub getconfig () { #{{{ wikiname => "wiki", default_pageext => ".mdwn", cgi => 0, - svn => 1, + rcs => 'svn', notify => 0, url => '', cgiurl => '', @@ -58,7 +58,8 @@ sub getconfig () { #{{{ "refresh!" => \$config{refresh}, "getctime" => \$config{getctime}, "wrappermode=i" => \$config{wrappermode}, - "svn!" => \$config{svn}, + "rcs=s" => \$config{rcs}, + "no-rcs" => sub { $config{rcs}="" }, "anonok!" => \$config{anonok}, "hyperestraier" => \$config{hyperestraier}, "rss!" => \$config{rss}, @@ -71,6 +72,8 @@ sub getconfig () { #{{{ "diffurl=s" => \$config{diffurl}, "svnrepo" => \$config{svnrepo}, "svnpath" => \$config{svnpath}, + "rcs=s" => \$config{rcs}, + "no-rcs" => sub { $config{rcs}="" }, "adminemail=s" => \$config{adminemail}, "exclude=s@" => sub { $config{wiki_file_prune_regexp}=qr/$config{wiki_file_prune_regexp}|$_[1]/; -- cgit v1.2.3