mercurial/cmdutil.py
changeset 48116 5ced12cfa41b
parent 48104 e8d6261513b9
child 48118 5105a9975407
--- a/mercurial/cmdutil.py	Tue Sep 28 09:08:43 2021 -0700
+++ b/mercurial/cmdutil.py	Tue Sep 28 08:47:11 2021 -0700
@@ -987,7 +987,7 @@
     with repo.wlock(), repo.lock(), repo.transaction(b'branches'):
         # abort in case of uncommitted merge or dirty wdir
         bailifchanged(repo)
-        revs = scmutil.revrange(repo, revs)
+        revs = logcmdutil.revrange(repo, revs)
         if not revs:
             raise error.InputError(b"empty revision set")
         roots = repo.revs(b'roots(%ld)', revs)