mercurial/pure/parsers.py
changeset 49820 3eac92509484
parent 49119 4c75f00b199e
child 51690 493034cc3265
equal deleted inserted replaced
49819:b1e4c74beb6f 49820:3eac92509484
   433     def added(self):
   433     def added(self):
   434         """True if the file has been added"""
   434         """True if the file has been added"""
   435         return self._wc_tracked and not (self._p1_tracked or self._p2_info)
   435         return self._wc_tracked and not (self._p1_tracked or self._p2_info)
   436 
   436 
   437     @property
   437     @property
       
   438     def modified(self):
       
   439         """True if the file has been modified"""
       
   440         return self._wc_tracked and self._p1_tracked and self._p2_info
       
   441 
       
   442     @property
   438     def maybe_clean(self):
   443     def maybe_clean(self):
   439         """True if the file has a chance to be in the "clean" state"""
   444         """True if the file has a chance to be in the "clean" state"""
   440         if not self._wc_tracked:
   445         if not self._wc_tracked:
   441             return False
   446             return False
   442         elif not self._p1_tracked:
   447         elif not self._p1_tracked: