mercurial/context.py
changeset 19660 86ce68c1ccb8
parent 19659 750a913334c8
child 19661 fa529f409574
equal deleted inserted replaced
19659:750a913334c8 19660:86ce68c1ccb8
   454         except error.LookupError:
   454         except error.LookupError:
   455             # file is missing
   455             # file is missing
   456             return False
   456             return False
   457 
   457 
   458     def __str__(self):
   458     def __str__(self):
   459         return "%s@%s" % (self.path(), short(self.node()))
   459         return "%s@%s" % (self.path(), self._changectx)
   460 
   460 
   461     def __repr__(self):
   461     def __repr__(self):
   462         return "<%s %s>" % (type(self).__name__, str(self))
   462         return "<%s %s>" % (type(self).__name__, str(self))
   463 
   463 
   464     def __hash__(self):
   464     def __hash__(self):