mercurial/pure/parsers.py
changeset 47526 8bcae9bf9e8d
parent 47517 28632eb3ca3e
child 47531 f5b8f0b9c129
equal deleted inserted replaced
47525:fe4641cf9b72 47526:8bcae9bf9e8d
    83         XXX This "state" is a bit obscure and mostly a direct expression of the
    83         XXX This "state" is a bit obscure and mostly a direct expression of the
    84         dirstatev1 format. It would make sense to ultimately deprecate it in
    84         dirstatev1 format. It would make sense to ultimately deprecate it in
    85         favor of the more "semantic" attributes.
    85         favor of the more "semantic" attributes.
    86         """
    86         """
    87         return self._state
    87         return self._state
       
    88 
       
    89     @property
       
    90     def added(self):
       
    91         """True if the file has been added"""
       
    92         return self._state == b'a'
    88 
    93 
    89     @property
    94     @property
    90     def merged(self):
    95     def merged(self):
    91         """True if the file has been merged
    96         """True if the file has been merged
    92 
    97