hgext/convert/cvs.py
branchstable
changeset 49903 8f9fbc665928
parent 49902 9282930f8b52
child 50929 18c8c18993f0
equal deleted inserted replaced
49902:9282930f8b52 49903:8f9fbc665928
   197                     )
   197                     )
   198                 )
   198                 )
   199                 if sck.recv(128) != b"I LOVE YOU\n":
   199                 if sck.recv(128) != b"I LOVE YOU\n":
   200                     raise error.Abort(_(b"CVS pserver authentication failed"))
   200                     raise error.Abort(_(b"CVS pserver authentication failed"))
   201 
   201 
   202                 self.writep = self.readp = sck.makefile(b'r+')
   202                 self.writep = self.readp = sck.makefile('rwb')
   203 
   203 
   204         if not conntype and root.startswith(b":local:"):
   204         if not conntype and root.startswith(b":local:"):
   205             conntype = b"local"
   205             conntype = b"local"
   206             root = root[7:]
   206             root = root[7:]
   207 
   207