]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/svn.pm
fix example
[git.ikiwiki.info.git] / IkiWiki / Plugin / svn.pm
index fe55e7d0853a8ddcb78171fc3b6ffde3b62ad675..06b987f51ce756676aa977c2c95af0aa4628e952 100644 (file)
@@ -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");