diff mercurial/pure/parsers.py @ 47536:8e4b9fe31334

dirstate-entry: add a `mode` property This is clearer than "tuple" indexing. Differential Revision: https://phab.mercurial-scm.org/D10979
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 04 Jul 2021 02:33:21 +0200
parents ccbabaee5c36
children 0e5800c88eb4
line wrap: on
line diff
--- a/mercurial/pure/parsers.py	Sun Jul 04 02:28:08 2021 +0200
+++ b/mercurial/pure/parsers.py	Sun Jul 04 02:33:21 2021 +0200
@@ -72,6 +72,10 @@
             raise IndexError(idx)
 
     @property
+    def mode(self):
+        return self._mode
+
+    @property
     def state(self):
         """
         States are: