hgext/patchbomb.py
changeset 32695 0841382d114a
parent 32639 c2fe2b00db53
child 32824 d3b2d4587e73
--- a/hgext/patchbomb.py	Mon Jun 05 16:19:41 2017 -0700
+++ b/hgext/patchbomb.py	Tue Jun 06 08:52:51 2017 +0200
@@ -559,6 +559,8 @@
     if outgoing and bundle:
         raise error.Abort(_("--outgoing mode always on with --bundle;"
                            " do not re-specify --outgoing"))
+    if rev and bookmark:
+        raise error.Abort(_("-r and -B are mutually exclusive"))
 
     if outgoing or bundle:
         if len(revs) > 1: