hgext/patchbomb.py
changeset 48128 5ced12cfa41b
parent 47882 ff2304dd3ba9
child 48966 6000f5b25c9b
--- a/hgext/patchbomb.py	Tue Sep 28 09:08:43 2021 -0700
+++ b/hgext/patchbomb.py	Tue Sep 28 08:47:11 2021 -0700
@@ -91,6 +91,7 @@
     error,
     formatter,
     hg,
+    logcmdutil,
     mail,
     patch,
     pycompat,
@@ -812,7 +813,7 @@
             raise error.Abort(_(b"bookmark '%s' not found") % bookmark)
         revs = scmutil.bookmarkrevs(repo, bookmark)
 
-    revs = scmutil.revrange(repo, revs)
+    revs = logcmdutil.revrange(repo, revs)
     if outgoing:
         revs = _getoutgoing(repo, dest, revs)
     if bundle: