##// END OF EJS Templates
dirstate-item: implement `removed` in a simpler way...
marmoute -
r48745:774e235d default
parent child Browse files
Show More
@@ -300,7 +300,7 b' class DirstateItem(object):'
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 not self._wc_tracked and (self._p1_tracked or self._p2_tracked)
304
304
305 @property
305 @property
306 def merged_removed(self):
306 def merged_removed(self):
General Comments 0
You need to be logged in to leave comments. Login now