dirstate-item: use the properties in largefiles
I am now sure what large file is doing with then, but at least it is no longer
using the tuple API to access data.
Differential Revision: https://phab.mercurial-scm.org/D10990
--- 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':