Browse Source

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>
maint
Elrond 19 years ago committed by Junio C Hamano
parent
commit
be0c7e0697
  1. 2
      git-cvsimport.perl

2
git-cvsimport.perl

@ -350,7 +350,7 @@ sub _line { @@ -350,7 +350,7 @@ sub _line {
return $res;
} elsif($line =~ s/^E //) {
# print STDERR "S: $line\n";
} elsif($line =~ /^Remove-entry /i) {
} elsif($line =~ /^(Remove-entry|Removed) /i) {
$line = $self->readline(); # filename
$line = $self->readline(); # OK
chomp $line;

Loading…
Cancel
Save