]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/recentchanges.pm
add news item for ikiwiki 3.20101129
[git.ikiwiki.info.git] / IkiWiki / Plugin / recentchanges.pm
index c57b6749a1823148b0c1b4c8fc71a8784320227c..562f61d40f3cc4729f5da0f01e3d6b2c4a20660d 100644 (file)
@@ -104,12 +104,12 @@ sub sessioncgi ($$) {
                my $message=sprintf(gettext("This reverts commit %s"), $rev);
                if (defined $form->field('revertmessage') &&
                    length $form->field('revertmessage')) {
-                       $message=$form->field('revertmessage')."\n".$message;
+                       $message=$form->field('revertmessage')."\n\n".$message;
                }
                my $r = $IkiWiki::hooks{rcs}{rcs_revert}{call}->($rev);
                error $r if defined $r;
                IkiWiki::disable_commit_hook();
-               rcs_commit_staged(
+               IkiWiki::rcs_commit_staged(
                        message => $message,
                        session => $session,
                );