]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Rcs/Stub.pm
Update patch
[ikiwiki.git] / IkiWiki / Rcs / Stub.pm
index d94daf8bc9522b31db221c162bab410a5e16a2ed..6b69e65dcdbc2e92ff5e8e725830f4626c6c6a4d 100644 (file)
@@ -1,12 +1,12 @@
 #!/usr/bin/perl
 # Stubs for no revision control.
 
 #!/usr/bin/perl
 # Stubs for no revision control.
 
+package IkiWiki;
+
 use warnings;
 use strict;
 use 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.)
 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.
 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 ($) {
 }
 
 sub rcs_getctime ($) {