##// END OF EJS Templates
dirstate-item: implement `from_p2_removed` in a simpler way...
marmoute -
r48744:59eddbaa default
parent child Browse files
Show More
@@ -295,7 +295,7 b' class DirstateItem(object):'
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):
General Comments 0
You need to be logged in to leave comments. Login now