diff -r b74e128676d4 -r 5105a9975407 mercurial/debugcommands.py --- a/mercurial/debugcommands.py Tue Sep 28 13:59:01 2021 -0700 +++ b/mercurial/debugcommands.py Tue Sep 28 15:11:22 2021 -0700 @@ -506,7 +506,7 @@ ) def debugchangedfiles(ui, repo, rev, **opts): """list the stored files changes for a revision""" - ctx = scmutil.revsingle(repo, rev, None) + ctx = logcmdutil.revsingle(repo, rev, None) files = None if opts['compute']: @@ -1373,7 +1373,7 @@ fileset.symbols # force import of fileset so we have predicates to optimize opts = pycompat.byteskwargs(opts) - ctx = scmutil.revsingle(repo, opts.get(b'rev'), None) + ctx = logcmdutil.revsingle(repo, opts.get(b'rev'), None) stages = [ (b'parsed', pycompat.identity),