[Commented On] D11155: largefile: use `update_file` instead of `normal` in `updatelfiles`
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Tue Jul 20 07:26:13 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 29569.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11155?vs=29421&id=29569
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11155/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11155
AFFECTED FILES
hgext/largefiles/lfcommands.py
CHANGE DETAILS
diff --git a/hgext/largefiles/lfcommands.py b/hgext/largefiles/lfcommands.py
--- a/hgext/largefiles/lfcommands.py
+++ b/hgext/largefiles/lfcommands.py
@@ -588,7 +588,9 @@
continue
# Synchronize largefile dirstate to the last modified
# time of the file
- lfdirstate.normal(lfile)
+ lfdirstate.update_file(
+ lfile, p1_tracked=True, wc_tracked=True
+ )
update1 = 1
# copy the exec mode of largefile standin from the repository's
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/3097dfbf/attachment-0002.html>
More information about the Mercurial-patches
mailing list