Show More
@@ -1013,6 +1013,7 b' class bundlepart(object):' | |||
|
1013 | 1013 | self._generated = None |
|
1014 | 1014 | self.mandatory = mandatory |
|
1015 | 1015 | |
|
1016 | @encoding.strmethod | |
|
1016 | 1017 | def __repr__(self): |
|
1017 | 1018 | cls = b"%s.%s" % (self.__class__.__module__, self.__class__.__name__) |
|
1018 | 1019 | return b'<%s object at %x; id: %s; type: %s; mandatory: %s>' % ( |
@@ -255,7 +255,7 b' class linelog(object):' | |||
|
255 | 255 | ) |
|
256 | 256 | |
|
257 | 257 | def __repr__(self): |
|
258 |
return |
|
|
258 | return '<linelog at %s: maxrev=%d size=%d>' % ( | |
|
259 | 259 | hex(id(self)), |
|
260 | 260 | self._maxrev, |
|
261 | 261 | len(self._program), |
@@ -21,6 +21,7 b' from .node import (' | |||
|
21 | 21 | ) |
|
22 | 22 | from .pycompat import getattr |
|
23 | 23 | from . import ( |
|
24 | encoding, | |
|
24 | 25 | error, |
|
25 | 26 | mdiff, |
|
26 | 27 | pathutil, |
@@ -867,9 +868,10 b' class treemanifest(object):' | |||
|
867 | 868 | self._loadalllazy() |
|
868 | 869 | return not self._dirs or all(m._isempty() for m in self._dirs.values()) |
|
869 | 870 | |
|
871 | @encoding.strmethod | |
|
870 | 872 | def __repr__(self): |
|
871 | 873 | return ( |
|
872 |
b'<treemanifest dir=%s, node=%s, loaded=% |
|
|
874 | b'<treemanifest dir=%s, node=%s, loaded=%r, dirty=%r at 0x%x>' | |
|
873 | 875 | % ( |
|
874 | 876 | self._dir, |
|
875 | 877 | hex(self._node), |
General Comments 0
You need to be logged in to leave comments.
Login now