[Commented On] D10990: dirstate-item: use the properties in largefiles
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Thu Jul 8 09:13:00 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 28985.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10990?vs=28971&id=28985
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10990/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10990
AFFECTED FILES
hgext/largefiles/lfutil.py
CHANGE DETAILS
diff --git a/hgext/largefiles/lfutil.py b/hgext/largefiles/lfutil.py
--- a/hgext/largefiles/lfutil.py
+++ b/hgext/largefiles/lfutil.py
@@ -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':
To: marmoute, #hg-reviewers, SimonSapin, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210708/fce8ce0c/attachment-0002.html>
More information about the Mercurial-patches
mailing list