mercurial/pure/parsers.py
changeset 49820 3eac92509484
parent 49119 4c75f00b199e
child 51686 493034cc3265
--- a/mercurial/pure/parsers.py	Mon Dec 19 16:22:01 2022 +0100
+++ b/mercurial/pure/parsers.py	Mon May 02 11:40:33 2022 +0200
@@ -435,6 +435,11 @@
         return self._wc_tracked and not (self._p1_tracked or self._p2_info)
 
     @property
+    def modified(self):
+        """True if the file has been modified"""
+        return self._wc_tracked and self._p1_tracked and self._p2_info
+
+    @property
     def maybe_clean(self):
         """True if the file has a chance to be in the "clean" state"""
         if not self._wc_tracked: