summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-08-07 16:20:35 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-08-07 16:20:35 -0400
commit3de7d39ec6db4791f2b17c6242da9d380f67b701 (patch)
tree6c1679474ae383aaccbda8c0dbd20c40177aea16 /IkiWiki/Plugin
parent11550f95937c51d49dced7dba17b940be2500386 (diff)
use srcfile/destfile
avoids a commit message of "renamed foo to foo"
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/rename.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/rename.pm b/IkiWiki/Plugin/rename.pm
index f90a3b7b7..77aed9556 100644
--- a/IkiWiki/Plugin/rename.pm
+++ b/IkiWiki/Plugin/rename.pm
@@ -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}