##// END OF EJS Templates
convert/cvs: improve error message on unexpected server output.
Greg Ward -
r9088:60e88d32 default
parent child Browse files
Show More
@@ -282,7 +282,9 class convert_cvs(converter_source):
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()
General Comments 0
You need to be logged in to leave comments. Login now