summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Elrond <elrond+kernel.org@samba-tng.org>2006-05-10 19:37:04 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-05-17 22:32:16 -0700
commitbe0c7e069738fbb697b0719f2252107261c9340e (patch)
treef71b1f9a6c1e08e3a43bfc15f04d208579968c7e
parentmerge-base: Clarify the comments on post processing. (diff)
downloadtgif-be0c7e069738fbb697b0719f2252107261c9340e.tar.xz
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>
-rwxr-xr-xgit-cvsimport.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-cvsimport.perl b/git-cvsimport.perl
index c0ae00bda7..8c707f2c66 100755
--- a/git-cvsimport.perl
+++ b/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;