hgext/split.py
changeset 48116 5ced12cfa41b
parent 46924 ca0049946e9a
child 48875 6000f5b25c9b
--- a/hgext/split.py	Tue Sep 28 09:08:43 2021 -0700
+++ b/hgext/split.py	Tue Sep 28 08:47:11 2021 -0700
@@ -22,6 +22,7 @@
     commands,
     error,
     hg,
+    logcmdutil,
     pycompat,
     registrar,
     revsetlang,
@@ -75,7 +76,7 @@
         # If the rebase somehow runs into conflicts, make sure
         # we close the transaction so the user can continue it.
         with util.acceptintervention(tr):
-            revs = scmutil.revrange(repo, revlist or [b'.'])
+            revs = logcmdutil.revrange(repo, revlist or [b'.'])
             if len(revs) > 1:
                 raise error.InputError(_(b'cannot split multiple revisions'))