From: joey Date: Sat, 11 Mar 2006 02:22:55 +0000 (+0000) Subject: foo X-Git-Tag: 1.0~534 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c68f6c84b736bd6858c8524fac5f3aeb27d908b7;p=ikiwiki.git foo --- diff --git a/ikiwiki b/ikiwiki index 00e204b97..d64a3417a 100755 --- a/ikiwiki +++ b/ikiwiki @@ -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"); }