# HG changeset patch # User David Demelier # Date 1496731971 -7200 # Node ID 0841382d114ae0c246cb5862c929fe16041f308c # Parent 3ef319e9505f376775c91b2ab7d89ac9ac4343e9 patchbomb: avoid -r and -B options at the same time diff -r 3ef319e9505f -r 0841382d114a hgext/patchbomb.py --- 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: