From c68f6c84b736bd6858c8524fac5f3aeb27d908b7 Mon Sep 17 00:00:00 2001 From: joey Date: Sat, 11 Mar 2006 02:22:55 +0000 Subject: [PATCH] foo --- ikiwiki | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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"); } -- 2.26.2