mercurial/debugcommands.py
changeset 48118 5105a9975407
parent 48116 5ced12cfa41b
child 48187 b669e40fbbd6
--- 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),