hgext/children.py
changeset 48130 5105a9975407
parent 43077 687b865b95ad
child 48966 6000f5b25c9b
--- a/hgext/children.py	Tue Sep 28 13:59:01 2021 -0700
+++ b/hgext/children.py	Tue Sep 28 15:11:22 2021 -0700
@@ -22,7 +22,6 @@
     logcmdutil,
     pycompat,
     registrar,
-    scmutil,
 )
 
 templateopts = cmdutil.templateopts
@@ -71,7 +70,7 @@
     """
     opts = pycompat.byteskwargs(opts)
     rev = opts.get(b'rev')
-    ctx = scmutil.revsingle(repo, rev)
+    ctx = logcmdutil.revsingle(repo, rev)
     if file_:
         fctx = repo.filectx(file_, changeid=ctx.rev())
         childctxs = [fcctx.changectx() for fcctx in fctx.children()]