@matheusbsbs / matheus-bagliano / commits / be0c7e0697
Fork 0

git-cvsimport: Handle "Removed" from pserver

Sometimes the pserver says "Removed" instead of "Remove-entry". Signed-off-by: Elrond <elrond+kernel.org@samba-tng.org> Signed-off-by: Junio C Hamano <junkio@cox.net>

Elrond committed May 10, 2006 at 19:37 UTC be0c7e069738fbb697b0719f2252107261c9340e
1 file changed +1 -1
git-cvsimport.perl
+1 -1
@@ -350,7 +350,7 @@ sub _line {
350 return $res;
351 } elsif($line =~ s/^E //) {
352 # print STDERR "S: $line\n";
353 - } elsif($line =~ /^Remove-entry /i) {
353 + } elsif($line =~ /^(Remove-entry|Removed) /i) {
354 $line = $self->readline(); # filename
355 $line = $self->readline(); # OK
356 chomp $line;