summaryrefslogtreecommitdiff
path: root/IkiWiki/Rcs/Stub.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-03-03 15:53:34 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-03-03 15:53:34 -0500
commitd93aaed7919f0449d387aed6c6ee3aaff85a12eb (patch)
treef31e998cae4b6ec478d366f7997b0a892d89a328 /IkiWiki/Rcs/Stub.pm
parent59379d0205fdbdb90553d1f5cef666e7e72a8927 (diff)
* Add recentchangesdiff plugin that adds diffs to the recentchanges feeds.
* rcs_diff is a new function that rcs modules should implement. * Implemented rcs_diff for git, svn, and tla (tla version untested). Mercurial and monotone still todo.
Diffstat (limited to 'IkiWiki/Rcs/Stub.pm')
-rw-r--r--IkiWiki/Rcs/Stub.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/IkiWiki/Rcs/Stub.pm b/IkiWiki/Rcs/Stub.pm
index df347f6a9..d94daf8bc 100644
--- a/IkiWiki/Rcs/Stub.pm
+++ b/IkiWiki/Rcs/Stub.pm
@@ -57,6 +57,12 @@ sub rcs_recentchanges ($) {
# }
}
+sub rcs_diff ($) {
+ # Optional, used to get diffs for recentchanges.
+ # The parameter is the rev from rcs_recentchanges.
+ return "";
+}
+
sub rcs_getctime ($) {
# Optional, used to get the page creation time from the RCS.
error gettext("getctime not implemented");