summaryrefslogtreecommitdiff
path: root/git-cvsimport-script
diff options
context:
space:
mode:
authorMatthias Urlichs <smurf@smurf.noris.de>2005-07-03 17:03:30 (GMT)
committerMatthias Urlichs <smurf@smurf.noris.de>2005-07-03 17:03:30 (GMT)
commit9da07f34931f175402cce70dae9499fa67b84cbc (patch)
tree3c10f5b520ca60f3e090a8e38a959b66e18a99f6 /git-cvsimport-script
parent34155390a576d8124e0adc864aaf2f11bbf5168b (diff)
downloadgit-9da07f34931f175402cce70dae9499fa67b84cbc.zip
git-9da07f34931f175402cce70dae9499fa67b84cbc.tar.gz
git-9da07f34931f175402cce70dae9499fa67b84cbc.tar.bz2
cvsimport: Missing tests for verbosity flag.
Diffstat (limited to 'git-cvsimport-script')
-rwxr-xr-xgit-cvsimport-script4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-cvsimport-script b/git-cvsimport-script
index cdd4963..6dd8c37 100755
--- a/git-cvsimport-script
+++ b/git-cvsimport-script
@@ -602,7 +602,7 @@ while(<CVS>) {
$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(<CVS>) {
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";