hgext/fastexport.py
changeset 48116 5ced12cfa41b
parent 44821 edffab2cf0ea
child 48875 6000f5b25c9b
--- a/hgext/fastexport.py	Tue Sep 28 09:08:43 2021 -0700
+++ b/hgext/fastexport.py	Tue Sep 28 08:47:11 2021 -0700
@@ -15,6 +15,7 @@
 from mercurial.utils import stringutil
 from mercurial import (
     error,
+    logcmdutil,
     pycompat,
     registrar,
     scmutil,
@@ -182,7 +183,7 @@
     if not revs:
         revs = scmutil.revrange(repo, [b":"])
     else:
-        revs = scmutil.revrange(repo, revs)
+        revs = logcmdutil.revrange(repo, revs)
     if not revs:
         raise error.Abort(_(b"no revisions matched"))
     authorfile = opts.get(b"authormap")