Mercurial > public > mercurial-scm > hg-stable
diff mercurial/bundle2.py @ 44164:c443b9ba6f63 stable
py3: __repr__ needs to return str, not bytes
Differential Revision: https://phab.mercurial-scm.org/D8089
author | Kyle Lippincott <spectral@google.com> |
---|---|
date | Thu, 02 Jan 2020 11:04:18 -0800 |
parents | 888bd39ed555 |
children | 74172a234dd3 |
line wrap: on
line diff
--- a/mercurial/bundle2.py Tue Feb 04 12:07:37 2020 +0100 +++ b/mercurial/bundle2.py Thu Jan 02 11:04:18 2020 -0800 @@ -1013,6 +1013,7 @@ self._generated = None self.mandatory = mandatory + @encoding.strmethod def __repr__(self): cls = b"%s.%s" % (self.__class__.__module__, self.__class__.__name__) return b'<%s object at %x; id: %s; type: %s; mandatory: %s>' % (