[Commented On] D11158: largefile: use `update_file` instead of `normal` in `synclfdirstate`
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Tue Jul 20 07:26:14 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 29572.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11158?vs=29424&id=29572
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11158/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11158
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
@@ -562,7 +562,7 @@
# state 'n' doesn't ensure 'clean' in this case
lfdirstate.normallookup(lfile)
else:
- lfdirstate.normal(lfile)
+ lfdirstate.update_file(lfile, p1_tracked=True, wc_tracked=True)
elif state == b'm':
lfdirstate.normallookup(lfile)
elif state == b'r':
To: marmoute, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210720/27b22ee5/attachment-0002.html>
More information about the Mercurial-patches
mailing list