aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki.pm
diff options
context:
space:
mode:
authorPeter Gammie <peteg42@gmail.com>2010-09-29 15:14:19 +1000
committerPeter Gammie <peteg42@gmail.com>2010-09-29 15:14:19 +1000
commitacecbad0ff4a8c441da520522710dd5357ab31e0 (patch)
tree3841db1512cdb3a68400daf4b8b13216b21405a0 /IkiWiki.pm
parent589aabeebe50c8ee95cd7c60c2128204264dd634 (diff)
downloadikiwiki-acecbad0ff4a8c441da520522710dd5357ab31e0.tar
ikiwiki-acecbad0ff4a8c441da520522710dd5357ab31e0.tar.gz
First cut at the revert plugin.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r--IkiWiki.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 66ae86809..e2b2ceda3 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -1941,6 +1941,18 @@ sub rcs_receive () {
$hooks{rcs}{rcs_receive}{call}->();
}
+sub rcs_preprevert ($) {
+ $hooks{rcs}{rcs_preprevert}{call}->(@_);
+}
+
+sub rcs_revert (@) {
+ $hooks{rcs}{rcs_revert}{call}->(@_);
+}
+
+sub rcs_showpatch ($) {
+ $hooks{rcs}{rcs_showpatch}{call}->(@_);
+}
+
sub add_depends ($$;$) {
my $page=shift;
my $pagespec=shift;