diff options
author | Joey Hess <joey@kitenet.net> | 2010-11-29 13:28:28 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-11-29 13:28:28 -0400 |
commit | a5120846cb6461616dce4d0042a4fd45211170e4 (patch) | |
tree | 7cec2ccdbc641aa08ed1c3ca64f059afe4357229 /IkiWiki/Plugin | |
parent | b342d0960666804b595a105919e1288f6057a686 (diff) |
rename: Fix to pass named parameters to rcs_commit
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/rename.pm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/IkiWiki/Plugin/rename.pm b/IkiWiki/Plugin/rename.pm index ad5e72645..a05e85be0 100644 --- a/IkiWiki/Plugin/rename.pm +++ b/IkiWiki/Plugin/rename.pm @@ -574,11 +574,10 @@ sub fixlinks ($$$) { eval { writefile($file, $config{srcdir}, $content) }; next if $@; my $conflict=IkiWiki::rcs_commit( - $file, - sprintf(gettext("update for rename of %s to %s"), $rename->{srcfile}, $rename->{destfile}), - $token, - $session->param("name"), - $session->remote_addr(), + file => $file, + message => sprintf(gettext("update for rename of %s to %s"), $rename->{srcfile}, $rename->{destfile}), + token => $token, + session => $session, ); push @fixedlinks, $page if ! defined $conflict; } |