]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/norcs.pm
add plugin safe/rebuild info (part 1 of 2)
[ikiwiki.git] / IkiWiki / Plugin / norcs.pm
index 72c66569c3651c98fd94ba922cafb75a9f30595b..58c26b63350b5ccc1540d7815ee78d0e8f2ab7cc 100644 (file)
@@ -7,6 +7,7 @@ use strict;
 use IkiWiki;
 
 sub import { #{{{
+       hook(type => "getsetup", id => "norcs", call => \&getsetup);
        hook(type => "rcs", id => "rcs_update", call => \&rcs_update);
        hook(type => "rcs", id => "rcs_prepedit", call => \&rcs_prepedit);
        hook(type => "rcs", id => "rcs_commit", call => \&rcs_commit);
@@ -19,6 +20,15 @@ sub import { #{{{
        hook(type => "rcs", id => "rcs_getctime", call => \&rcs_getctime);
 } #}}}
 
+sub getsetup () { #{{{
+       return
+               plugin => {
+                       safe => 0, # rcs plugin
+                       rebuild => 0,
+               },
+} #}}}
+
+
 sub rcs_update () { #{{{
 } #}}}