Skip to content

Commit

Permalink
cvsimport: Missing tests for verbosity flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Urlichs committed Jul 3, 2005
1 parent 3415539 commit 9da07f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions git-cvsimport-script
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 9da07f3

Please sign in to comment.