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>
---
Hi,
At least the above happened to me on a repository I tried
to convert.
Without the patch, it just die("Unknown: Removed ...")s.
Elrond
--- git-cvsimport.perl
+++ git-cvsimport.perl
@@ -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;
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html