##// END OF EJS Templates
convert: raise Abort instead of NoRepo when CVS pserver auth fails....
Brendan Cully -
r5182:7e05bdee default
parent child Browse files
Show More
@@ -153,7 +153,7 b' class convert_cvs(converter_source):'
153 sck.send("\n".join(["BEGIN AUTH REQUEST", root, user, passw,
153 sck.send("\n".join(["BEGIN AUTH REQUEST", root, user, passw,
154 "END AUTH REQUEST", ""]))
154 "END AUTH REQUEST", ""]))
155 if sck.recv(128) != "I LOVE YOU\n":
155 if sck.recv(128) != "I LOVE YOU\n":
156 raise NoRepo("CVS pserver authentication failed")
156 raise util.Abort("CVS pserver authentication failed")
157
157
158 self.writep = self.readp = sck.makefile('r+')
158 self.writep = self.readp = sck.makefile('r+')
159
159
General Comments 0
You need to be logged in to leave comments. Login now