contrib/synthrepo.py
changeset 48116 5ced12cfa41b
parent 45942 89a2afe31e82
child 48875 6000f5b25c9b
--- a/contrib/synthrepo.py	Tue Sep 28 09:08:43 2021 -0700
+++ b/contrib/synthrepo.py	Tue Sep 28 08:47:11 2021 -0700
@@ -57,10 +57,10 @@
     diffutil,
     error,
     hg,
+    logcmdutil,
     patch,
     pycompat,
     registrar,
-    scmutil,
 )
 from mercurial.utils import dateutil
 
@@ -180,7 +180,7 @@
 
     # If a mercurial repo is available, also model the commit history.
     if repo:
-        revs = scmutil.revrange(repo, revs)
+        revs = logcmdutil.revrange(repo, revs)
         revs.sort()
 
         progress = ui.makeprogress(