--- a/mercurial/commands.py Tue Mar 14 14:08:38 2023 +0000
+++ b/mercurial/commands.py Wed Mar 15 05:49:56 2023 +0100
@@ -2498,7 +2498,7 @@
"""
opts = pycompat.byteskwargs(opts)
- context = repo.dirstate.changing_files
+ context = lambda repo: repo.dirstate.changing_files(repo)
rev = opts.get(b'at_rev')
ctx = None
if rev:
@@ -6012,7 +6012,7 @@
Returns 0 on success, 1 if errors are encountered.
"""
opts = pycompat.byteskwargs(opts)
- context = repo.dirstate.changing_files
+ context = lambda repo: repo.dirstate.changing_files(repo)
rev = opts.get(b'at_rev')
ctx = None
if rev: