[Updated] D11155: largefile: use `update_file` instead of `normal` in `updatelfiles`

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Tue Jul 20 20:38:08 UTC 2021


Closed by commit rHG04d4c01e83fa: largefile: use `update_file` instead of `normal` in `updatelfiles` (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/D11155?vs=29569&id=29656

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, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210720/2e1da6bf/attachment-0002.html>


More information about the Mercurial-patches mailing list