X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/d93aaed7919f0449d387aed6c6ee3aaff85a12eb..d36361b01015da0338d3c0dc20625b5121ed94b2:/IkiWiki/Rcs/Stub.pm diff --git a/IkiWiki/Rcs/Stub.pm b/IkiWiki/Rcs/Stub.pm index d94daf8bc..6b69e65dc 100644 --- a/IkiWiki/Rcs/Stub.pm +++ b/IkiWiki/Rcs/Stub.pm @@ -1,12 +1,12 @@ #!/usr/bin/perl # Stubs for no revision control. +package IkiWiki; + use warnings; use strict; use IkiWiki; -package IkiWiki; - sub rcs_update () { # Update working directory to current version. # (May be more complex for distributed RCS.) @@ -60,7 +60,8 @@ sub rcs_recentchanges ($) { sub rcs_diff ($) { # Optional, used to get diffs for recentchanges. # The parameter is the rev from rcs_recentchanges. - return ""; + # Should return a list of lines of the diff (including \n) in list + # context, and the whole diff in scalar context. } sub rcs_getctime ($) {