--gettime revamp
[ikiwiki.git] / IkiWiki / Plugin / svn.pm
index 7d27ec8427b1b341c1dc7e9d3d3b92f2a4e838a1..85c205f0939bd81d5f22bc7a0a19486dc4404c02 100644 (file)
@@ -19,6 +19,7 @@ sub import {
        hook(type => "rcs", id => "rcs_recentchanges", call => \&rcs_recentchanges);
        hook(type => "rcs", id => "rcs_diff", call => \&rcs_diff);
        hook(type => "rcs", id => "rcs_getctime", call => \&rcs_getctime);
+       hook(type => "rcs", id => "rcs_getmtime", call => \&rcs_getmtime);
 }
 
 sub checkconfig () {
@@ -379,4 +380,8 @@ sub rcs_getctime ($) {
        return $date;
 }
 
+sub rcs_getmtime ($) {
+       error "rcs_getmtime is not implemented for svn\n"; # TODO
+}
+
 1