hgext/largefiles/overrides.py
changeset 48170 941fbaab5aff
parent 48168 df3021c1f093
child 48390 322525db4c98
--- a/hgext/largefiles/overrides.py	Mon Jul 19 04:12:14 2021 +0530
+++ b/hgext/largefiles/overrides.py	Mon Jul 19 04:13:50 2021 +0530
@@ -1636,18 +1636,6 @@
         for standin in orphans:
             repo.wvfs.unlinkpath(standin, ignoremissing=True)
 
-        lfdirstate = lfutil.openlfdirstate(ui, repo)
-        with lfdirstate.parentchange():
-            orphans = set(lfdirstate)
-            lfiles = lfutil.listlfiles(repo)
-            for file in lfiles:
-                lfutil.synclfdirstate(repo, lfdirstate, file, True)
-                orphans.discard(file)
-            for lfile in orphans:
-                lfdirstate.update_file(
-                    lfile, p1_tracked=False, wc_tracked=False
-                )
-        lfdirstate.write()
     return result