projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3415539
)
cvsimport: Missing tests for verbosity flag.
author
Matthias Urlichs
<smurf@smurf.noris.de>
Sun, 3 Jul 2005 17:03:30 +0000
(19:03 +0200)
committer
Matthias Urlichs
<smurf@smurf.noris.de>
Sun, 3 Jul 2005 17:03:30 +0000
(19:03 +0200)
git-cvsimport-script
patch
|
blob
|
history
diff --git
a/git-cvsimport-script
b/git-cvsimport-script
index
cdd4963
..
6dd8c37
100755
(executable)
--- 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
$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;
}
$state = 11;
next;
}
@@
-649,7
+649,7
@@
while(<CVS>) {
my $rev = $3;
$fn =~ s#^/+##;
my $data = $cvs->file($fn,$rev);
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";
mkpath(dirname($fn),$opt_v);
open(F,"> ./$fn")
or die "Cannot create '$fn': $!\n";