# HG changeset patch # User Pierre-Yves David # Date 2023-02-05 07:37:33 # Node ID e86262dd903eaf17f59ca159b544c18482a9ca15 # Parent b7ddd9ae4befd112edaf9625ae12b71f4bddcbd3 largefiles: use `hacky_extension_update_file` in `openlfdirstate` This is what the function is meant for. diff --git a/hgext/largefiles/lfutil.py b/hgext/largefiles/lfutil.py --- a/hgext/largefiles/lfutil.py +++ b/hgext/largefiles/lfutil.py @@ -236,7 +236,7 @@ def openlfdirstate(ui, repo, create=True with lfdirstate.changing_parents(repo): for standin in standins: lfile = splitstandin(standin) - lfdirstate.update_file( + lfdirstate.hacky_extension_update_file( lfile, p1_tracked=True, wc_tracked=True,