]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/rename.pm
use srcfile/destfile
[ikiwiki.git] / IkiWiki / Plugin / rename.pm
index f90a3b7b7ffd626a98732086794a4bc4a308d642..77aed9556902d9344c85e0f5c7b0eedf180b0476 100644 (file)
@@ -274,7 +274,7 @@ sub sessioncgi ($$) { #{{{
                        if ($config{rcs}) {
                                IkiWiki::rcs_rename($srcfile, $destfile);
                                IkiWiki::rcs_commit_staged(
-                                       sprintf(gettext("rename %s to %s"), $src, $dest),
+                                       sprintf(gettext("rename %s to %s"), $srcfile, $destfile),
                                        $session->param("name"), $ENV{REMOTE_ADDR});
                        }
                        else {
@@ -303,7 +303,7 @@ sub sessioncgi ($$) { #{{{
                                                        next if $@;
                                                        my $conflict=IkiWiki::rcs_commit(
                                                                $file,
-                                                               sprintf(gettext("update for rename of %s to %s"), $src, $dest),
+                                                               sprintf(gettext("update for rename of %s to %s"), $srcfile, $destfile),
                                                                $token,
                                                                $session->param("name"), 
                                                                $ENV{REMOTE_ADDR}