convert-cvs: correctly handle Removed replies, fixes bug 1427
authorFrank Kingswood <frank@kingswood-consulting.co.uk>
Thu, 11 Dec 2008 13:33:35 +0000
changeset 7513 fed8f75f29ce
parent 7512 0d488f7f321d
child 7514 e54cf540c6ca
convert-cvs: correctly handle Removed replies, fixes bug 1427
hgext/convert/cvs.py
--- a/hgext/convert/cvs.py	Thu Dec 04 13:42:47 2008 +0000
+++ b/hgext/convert/cvs.py	Thu Dec 11 13:33:35 2008 +0000
@@ -328,9 +328,6 @@
                     self.ui.warn(_("cvs server: %s\n") % line[2:])
                 elif line.startswith("Remove"):
                     l = self.readp.readline()
-                    l = self.readp.readline()
-                    if l != "ok\n":
-                        raise util.Abort(_("unknown CVS response: %s") % l)
                 else:
                     raise util.Abort(_("unknown CVS response: %s") % line)