summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-07-08 13:13:23 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-07-08 13:13:23 -0400
commit0c6a47e9e4c6a5508868b730bed0ac2d0c358ae4 (patch)
tree1971cb825d6859891726d6c6a941b25987f0d025 /IkiWiki
parent499c807ea740bb6e675b0d28bc5b603b2d4dd58e (diff)
svn: Fix rcs_rename to properly scope call to dirname.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/svn.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/svn.pm b/IkiWiki/Plugin/svn.pm
index fe55e7d08..06b987f51 100644
--- a/IkiWiki/Plugin/svn.pm
+++ b/IkiWiki/Plugin/svn.pm
@@ -243,10 +243,10 @@ sub rcs_rename ($$) {
if (-d "$config{srcdir}/.svn") {
# Add parent directory for $dest
- my $parent=dirname($dest);
+ my $parent=IkiWiki::dirname($dest);
if (! -d "$config{srcdir}/$parent/.svn") {
while (! -d "$config{srcdir}/$parent/.svn") {
- $parent=dirname($dest);
+ $parent=IkiWiki::dirname($dest);
}
if (system("svn", "add", "--quiet", "$config{srcdir}/$parent") != 0) {
warn("svn add $parent failed\n");