diff -r b067d22dc6ad -r 5ced12cfa41b contrib/synthrepo.py --- 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(