equal
deleted
inserted
replaced
293 """True if the file has been removed, but was "from_p2" initially |
293 """True if the file has been removed, but was "from_p2" initially |
294 |
294 |
295 This property seems like an abstraction leakage and should probably be |
295 This property seems like an abstraction leakage and should probably be |
296 dealt in this class (or maybe the dirstatemap) directly. |
296 dealt in this class (or maybe the dirstatemap) directly. |
297 """ |
297 """ |
298 return self.v1_state() == b'r' and self.v1_size() == FROM_P2 |
298 return self.removed and self._clean_p2 |
299 |
299 |
300 @property |
300 @property |
301 def removed(self): |
301 def removed(self): |
302 """True if the file has been removed""" |
302 """True if the file has been removed""" |
303 return self.v1_state() == b'r' |
303 return self.v1_state() == b'r' |