##// 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 b' test-bundle2-exchange.t'
41 test-bundle2-format.t
41 test-bundle2-format.t
42 test-bundle2-multiple-changegroups.t
42 test-bundle2-multiple-changegroups.t
43 test-bundle2-pushback.t
43 test-bundle2-pushback.t
44 test-bundle2-remote-changegroup.t
44 test-cappedreader.py
45 test-cappedreader.py
45 test-casecollision.t
46 test-casecollision.t
46 test-cat.t
47 test-cat.t
@@ -1878,7 +1878,7 b' def handleremotechangegroup(op, inpart):'
1878 real_part.validate()
1878 real_part.validate()
1879 except error.Abort as e:
1879 except error.Abort as e:
1880 raise error.Abort(_('bundle at %s is corrupted:\n%s') %
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 assert not inpart.read()
1882 assert not inpart.read()
1883
1883
1884 @parthandler('reply:changegroup', ('return', 'in-reply-to'))
1884 @parthandler('reply:changegroup', ('return', 'in-reply-to'))
General Comments 0
You need to be logged in to leave comments. Login now