From: Matthias Urlichs Date: Sun, 3 Jul 2005 17:03:30 +0000 (+0200) Subject: cvsimport: Missing tests for verbosity flag. X-Git-Tag: v0.99~71^2^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9da07f34931f175402cce70dae9499fa67b84cbc;p=git.git cvsimport: Missing tests for verbosity flag. --- diff --git a/git-cvsimport-script b/git-cvsimport-script index cdd496369..6dd8c371d 100755 --- a/git-cvsimport-script +++ b/git-cvsimport-script @@ -602,7 +602,7 @@ while() { $branch = $opt_o if $branch eq "HEAD"; if(defined $branch_date{$branch} and $branch_date{$branch} >= $date) { # skip - print "skip patchset $patchset: $date before $branch_date{$branch}\n"; + print "skip patchset $patchset: $date before $branch_date{$branch}\n" if $opt_v; $state = 11; next; } @@ -649,7 +649,7 @@ while() { my $rev = $3; $fn =~ s#^/+##; my $data = $cvs->file($fn,$rev); - print "".($init ? "New" : "Update")." $fn: ".length($data)." bytes.\n"; + print "".($init ? "New" : "Update")." $fn: ".length($data)." bytes.\n" if $opt_v; mkpath(dirname($fn),$opt_v); open(F,"> ./$fn") or die "Cannot create '$fn': $!\n";