hgext/largefiles/lfutil.py
changeset 47545 fa18a3bc40e8
parent 47280 1766130fe9ba
child 47593 f927ad5a4e2c
--- a/hgext/largefiles/lfutil.py	Mon Jul 05 06:45:32 2021 +0200
+++ b/hgext/largefiles/lfutil.py	Mon Jul 05 06:27:26 2021 +0200
@@ -546,7 +546,7 @@
     lfstandin = standin(lfile)
     if lfstandin in repo.dirstate:
         stat = repo.dirstate._map[lfstandin]
-        state, mtime = stat[0], stat[3]
+        state, mtime = stat.state, stat.mtime
     else:
         state, mtime = b'?', -1
     if state == b'n':