Mercurial > public > mercurial-scm > hg-stable
diff hgext/patchbomb.py @ 32715:0841382d114a
patchbomb: avoid -r and -B options at the same time
author | David Demelier <demelier.david@gmail.com> |
---|---|
date | Tue, 06 Jun 2017 08:52:51 +0200 |
parents | c2fe2b00db53 |
children | d3b2d4587e73 |
line wrap: on
line diff
--- 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: