]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/svn.pm
(no commit message)
[ikiwiki.git] / IkiWiki / Plugin / svn.pm
index 51683704c5928d6e5577a3e1f92b62adbb41849f..262fca99a781e01a49eb35d440c86c648c77c5ed 100644 (file)
@@ -7,6 +7,9 @@ use IkiWiki;
 use POSIX qw(setlocale LC_CTYPE);
 
 sub import { #{{{
+       if (exists $IkiWiki::hooks{rcs}) {
+               error(gettext("cannot use multiple rcs plugins"));
+       }
        hook(type => "checkconfig", id => "svn", call => \&checkconfig);
        hook(type => "getsetup", id => "svn", call => \&getsetup);
        hook(type => "rcs", id => "rcs_update", call => \&rcs_update);