[Updated] D11166: largefile: use `update_file` for `synclfdirstate` "n" case
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Tue Jul 20 20:39:04 UTC 2021
Closed by commit rHGb0a39b666e2d: largefile: use `update_file` for `synclfdirstate` "n" case (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11166?vs=29511&id=29667
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11166/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11166
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
@@ -563,7 +563,9 @@
if state == b'n':
if normallookup or mtime < 0 or not repo.wvfs.exists(lfile):
# state 'n' doesn't ensure 'clean' in this case
- lfdirstate.normallookup(lfile)
+ lfdirstate.update_file(
+ lfile, p1_tracked=True, wc_tracked=True, possibly_dirty=True
+ )
else:
lfdirstate.update_file(lfile, p1_tracked=True, wc_tracked=True)
elif state == b'm':
To: marmoute, #hg-reviewers, Alphare, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210720/78658a7d/attachment-0002.html>
More information about the Mercurial-patches
mailing list