largefiles: use `hacky_extension_update_file` in `openlfdirstate`
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sun, 05 Feb 2023 08:37:33 +0100
changeset 50015 e86262dd903e
parent 50014 b7ddd9ae4bef
child 50016 c694db2d8876
largefiles: use `hacky_extension_update_file` in `openlfdirstate` This is what the function is meant for.
hgext/largefiles/lfutil.py
--- a/hgext/largefiles/lfutil.py	Sat Feb 04 09:08:26 2023 +0100
+++ b/hgext/largefiles/lfutil.py	Sun Feb 05 08:37:33 2023 +0100
@@ -236,7 +236,7 @@
                 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,