# HG changeset patch # User Pierre-Yves David # Date 1625459246 -7200 # Node ID fa18a3bc40e8d907bcf79e8e923a67f34a6a2d58 # Parent 5363610f61efa024c68e1a39c8399aedaea48cc1 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 diff -r 5363610f61ef -r fa18a3bc40e8 hgext/largefiles/lfutil.py --- 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':