##// END OF EJS Templates
manifest: add id(self) to treemanifest __repr__...
Augie Fackler -
r26400:6f9d9e2a default
parent child Browse files
Show More
@@ -476,11 +476,11 b' class treemanifest(object):'
476 return (not self._files and (not self._dirs or
476 return (not self._files and (not self._dirs or
477 all(m._isempty() for m in self._dirs.values())))
477 all(m._isempty() for m in self._dirs.values())))
478
478
479 def __str__(self):
479 def __repr__(self):
480 return ('<treemanifest dir=%s, node=%s, loaded=%s, dirty=%s>' %
480 return ('<treemanifest dir=%s, node=%s, loaded=%s, dirty=%s at 0x%x>' %
481 (self._dir, revlog.hex(self._node),
481 (self._dir, revlog.hex(self._node),
482 bool(self._load is _noop),
482 bool(self._load is _noop),
483 self._dirty))
483 self._dirty, id(self)))
484
484
485 def dir(self):
485 def dir(self):
486 '''The directory that this tree manifest represents, including a
486 '''The directory that this tree manifest represents, including a
General Comments 0
You need to be logged in to leave comments. Login now