]> asedeno.scripts.mit.edu Git - git.git/blobdiff - git-cvsimport.perl
GIT 1.5.4-rc2
[git.git] / git-cvsimport.perl
index 92648f40c98096d624a3a80feab4d3a818089b5a..6d8ff93f5f7bf05f2e94b4e1c522423c8430739c 100755 (executable)
@@ -632,6 +632,7 @@ unless ($opt_P) {
            print $cvspsfh $_;
        }
        close CVSPS;
+       $? == 0 or die "git-cvsimport: fatal: cvsps reported error\n";
        close $cvspsfh;
 } else {
        $cvspsfile = $opt_P;
@@ -848,7 +849,7 @@ while (<CVS>) {
                }
                if (!$opt_a && $starttime - 300 - (defined $opt_z ? $opt_z : 300) <= $date) {
                        # skip if the commit is too recent
-                       # that the cvsps default fuzz is 300s, we give ourselves another
+                       # given that the cvsps default fuzz is 300s, we give ourselves another
                        # 300s just in case -- this also prevents skipping commits
                        # due to server clock drift
                        print "skip patchset $patchset: $date too recent\n" if $opt_v;