From: Joey Hess Date: Fri, 27 Mar 2009 19:28:35 +0000 (-0400) Subject: no need to use CORE::rename since I renamed the rename function X-Git-Tag: 3.15~200 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/0b2791ccc7c56783aceb63fe3bbb1dbf048bedb1 no need to use CORE::rename since I renamed the rename function --- diff --git a/IkiWiki/Plugin/rename.pm b/IkiWiki/Plugin/rename.pm index bf5a28240..8dad92be3 100644 --- a/IkiWiki/Plugin/rename.pm +++ b/IkiWiki/Plugin/rename.pm @@ -533,7 +533,7 @@ sub do_rename ($$$) { IkiWiki::rcs_rename($rename->{srcfile}, $rename->{destfile}); } else { - if (! CORE::rename($config{srcdir}."/".$rename->{srcfile}, + if (! rename($config{srcdir}."/".$rename->{srcfile}, $config{srcdir}."/".$rename->{destfile})) { error("rename: $!"); } diff --git a/debian/changelog b/debian/changelog index 158db9a4d..82de0b5e5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ ikiwiki (3.09) UNRELEASED; urgency=low * comments: Fix too loose test for comments pages that matched normal pages with "comment_" in their name. Closes: #521322 * comments: Fix anchor ids to be legal xhtml. Closes: #521339 + * Add new hooks: canremove, canrename, rename. (intrigeri) + * rename: Refactor subpage rename handling code into rename hook. (intrigeri) -- Joey Hess Thu, 19 Mar 2009 15:32:49 -0400