diff mercurial/pure/parsers.py @ 47538:77fce401a2bb

dirstate-entry: add a `mtime` property This is clearer than "tuple" indexing. Differential Revision: https://phab.mercurial-scm.org/D10981
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 04 Jul 2021 02:37:38 +0200
parents 0e5800c88eb4
children 84391ddf4c78
line wrap: on
line diff
--- a/mercurial/pure/parsers.py	Sun Jul 04 02:34:24 2021 +0200
+++ b/mercurial/pure/parsers.py	Sun Jul 04 02:37:38 2021 +0200
@@ -80,6 +80,10 @@
         return self._size
 
     @property
+    def mtime(self):
+        return self._mtime
+
+    @property
     def state(self):
         """
         States are: