[Updated] [+ ] D11109: largefile: directly use set_untracked() for removing files

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Mon Jul 19 14:50:27 UTC 2021


marmoute updated this revision to Diff 29468.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D11109?vs=29435&id=29468

BRANCH
  default

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D11109/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D11109

AFFECTED FILES
  hgext/largefiles/overrides.py

CHANGE DETAILS

diff --git a/hgext/largefiles/overrides.py b/hgext/largefiles/overrides.py
--- a/hgext/largefiles/overrides.py
+++ b/hgext/largefiles/overrides.py
@@ -227,9 +227,7 @@
         repo[None].forget(remove)
 
         for f in remove:
-            lfutil.synclfdirstate(
-                repo, lfdirstate, lfutil.splitstandin(f), False
-            )
+            lfdirstate.set_untracked(lfutil.splitstandin(f))
 
         lfdirstate.write()
 



To: marmoute, #hg-reviewers, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210719/751dd89d/attachment-0002.html>


More information about the Mercurial-patches mailing list