##// END OF EJS Templates
py3: use bytes() to byte-stringify Abort message in handleremotechangegroup()
Yuya Nishihara -
r38723:f016eac2 default
parent child Browse files
Show More
@@ -41,6 +41,7 test-bundle2-exchange.t
41 41 test-bundle2-format.t
42 42 test-bundle2-multiple-changegroups.t
43 43 test-bundle2-pushback.t
44 test-bundle2-remote-changegroup.t
44 45 test-cappedreader.py
45 46 test-casecollision.t
46 47 test-cat.t
@@ -1878,7 +1878,7 def handleremotechangegroup(op, inpart):
1878 1878 real_part.validate()
1879 1879 except error.Abort as e:
1880 1880 raise error.Abort(_('bundle at %s is corrupted:\n%s') %
1881 (util.hidepassword(raw_url), str(e)))
1881 (util.hidepassword(raw_url), bytes(e)))
1882 1882 assert not inpart.read()
1883 1883
1884 1884 @parthandler('reply:changegroup', ('return', 'in-reply-to'))
General Comments 0
You need to be logged in to leave comments. Login now