changeset 47515 | c94d3ff46fd5 |
parent 47514 | 559aee84b889 |
child 47516 | b8ffe85e399b |
--- a/mercurial/pure/parsers.py Sat Jul 03 04:26:28 2021 +0200 +++ b/mercurial/pure/parsers.py Sat Jul 03 04:18:54 2021 +0200 @@ -99,6 +99,11 @@ """ return self._size == FROM_P2 + @property + def removed(self): + """True if the file has been removed""" + return self._state == b'r' + def v1_state(self): """return a "state" suitable for v1 serialization""" return self._state