diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-11 02:22:55 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-11 02:22:55 +0000 |
commit | c68f6c84b736bd6858c8524fac5f3aeb27d908b7 (patch) | |
tree | d51c0efea999024aae375073761fe01cb6e1316e /ikiwiki | |
parent | d7c2176a42fe00cdb56f17d29b360e0a61554c3a (diff) |
foo
Diffstat (limited to 'ikiwiki')
-rwxr-xr-x | ikiwiki | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -350,10 +350,16 @@ sub rcs_commit ($) { } } -sub rcs_ad ($) { +sub rcs_add ($) { my $file=shift; if (-d "$srcdir/.svn") { + my $parent=dirname($file); + while (! -d "$srcdir/$parent/.svn") { + $file=$parent; + $parent=dirname($file); + } + if (system("svn", "add", "--quiet", $file) != 0) { warn("svn add failed\n"); } |