hgext/convert/cvs.py
changeset 9095 89fd11257d75
parent 8598 5edb2a8e29ea
child 9102 bbc78cb1bf15
equal deleted inserted replaced
9094:89ae64a4e2ec 9095:89fd11257d75
   280                           " Merged Removed\n")
   280                           " Merged Removed\n")
   281         self.writep.write("valid-requests\n")
   281         self.writep.write("valid-requests\n")
   282         self.writep.flush()
   282         self.writep.flush()
   283         r = self.readp.readline()
   283         r = self.readp.readline()
   284         if not r.startswith("Valid-requests"):
   284         if not r.startswith("Valid-requests"):
   285             raise util.Abort(_("server sucks"))
   285             raise util.Abort(_("unexpected response from CVS server "
       
   286                                "(expected \"Valid-requests\", but got %r)")
       
   287                              % r)
   286         if "UseUnchanged" in r:
   288         if "UseUnchanged" in r:
   287             self.writep.write("UseUnchanged\n")
   289             self.writep.write("UseUnchanged\n")
   288             self.writep.flush()
   290             self.writep.flush()
   289             r = self.readp.readline()
   291             r = self.readp.readline()
   290 
   292