mercurial/bundle2.py
branchstable
changeset 44256 74172a234dd3
parent 44247 c443b9ba6f63
child 44372 8407031f195f
--- a/mercurial/bundle2.py	Sun Nov 17 01:18:14 2019 +0100
+++ b/mercurial/bundle2.py	Thu Feb 06 15:46:55 2020 -0800
@@ -1013,10 +1013,9 @@
         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>' % (
+        cls = "%s.%s" % (self.__class__.__module__, self.__class__.__name__)
+        return '<%s object at %x; id: %s; type: %s; mandatory: %s>' % (
             cls,
             id(self),
             self.id,