Mercurial > hg
comparison mercurial/context.py @ 21691:2ee3a7b0846a
memfilectx: remove __str__ since it is now inherited
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Thu, 15 Aug 2013 15:46:32 -0500 |
parents | da352312fa18 |
children | 5b2a2bea8cb6 |
comparison
equal
deleted
inserted
replaced
21690:da352312fa18 | 21691:2ee3a7b0846a |
---|---|
1605 self._flags = (islink and 'l' or '') + (isexec and 'x' or '') | 1605 self._flags = (islink and 'l' or '') + (isexec and 'x' or '') |
1606 self._copied = None | 1606 self._copied = None |
1607 if copied: | 1607 if copied: |
1608 self._copied = (copied, nullid) | 1608 self._copied = (copied, nullid) |
1609 | 1609 |
1610 def __str__(self): | |
1611 return "%s@%s" % (self.path(), self._changectx) | |
1612 def path(self): | 1610 def path(self): |
1613 return self._path | 1611 return self._path |
1614 def data(self): | 1612 def data(self): |
1615 return self._data | 1613 return self._data |
1616 def flags(self): | 1614 def flags(self): |