diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-08-01 16:02:01 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-08-01 16:45:05 -0400 |
commit | f41448d9caf591ba369bf319297d15552be94678 (patch) | |
tree | 2e969bd50f4d49a88ddcfa3b67528d43136bae72 /IkiWiki/Plugin/svn.pm | |
parent | bb394fdae8ba488f1031d6f053f1544c689a3628 (diff) | |
download | ikiwiki-f41448d9caf591ba369bf319297d15552be94678.tar ikiwiki-f41448d9caf591ba369bf319297d15552be94678.tar.gz |
rcs plugin loading reorg
Move rcs plugin load to loadplugins; move duplicate rcs detection logic out
of individual plugins and into loadplugins. Avoids checkconfig failing when
run twice.
Diffstat (limited to 'IkiWiki/Plugin/svn.pm')
-rw-r--r-- | IkiWiki/Plugin/svn.pm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/svn.pm b/IkiWiki/Plugin/svn.pm index 262fca99a..51683704c 100644 --- a/IkiWiki/Plugin/svn.pm +++ b/IkiWiki/Plugin/svn.pm @@ -7,9 +7,6 @@ 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); |