--- a/hgext/largefiles/overrides.py Wed Feb 22 00:22:44 2023 +0100
+++ b/hgext/largefiles/overrides.py Wed Feb 22 00:23:06 2023 +0100
@@ -1786,15 +1786,15 @@
#
# (*) don't care
# (*1) deprecated, but used internally (e.g: "rebase --collapse")
-
- lfdirstate = lfutil.openlfdirstate(repo.ui, repo)
- unsure, s, mtime_boundary = lfdirstate.status(
- matchmod.always(),
- subrepos=[],
- ignored=False,
- clean=True,
- unknown=False,
- )
+ with repo.dirstate.running_status(repo):
+ lfdirstate = lfutil.openlfdirstate(repo.ui, repo)
+ unsure, s, mtime_boundary = lfdirstate.status(
+ matchmod.always(),
+ subrepos=[],
+ ignored=False,
+ clean=True,
+ unknown=False,
+ )
oldclean = set(s.clean)
pctx = repo[b'.']
dctx = repo[node]