##// END OF EJS Templates
patchbomb: use cmdutil.check_at_most_one_arg()...
Martin von Zweigbergk -
r44348:3781da40 default
parent child Browse files
Show More
@@ -767,8 +767,7 b' def email(ui, repo, *revs, **opts):'
767 b" do not re-specify --outgoing"
767 b" do not re-specify --outgoing"
768 )
768 )
769 )
769 )
770 if rev and bookmark:
770 cmdutil.check_at_most_one_arg(opts, b'rev', b'bookmark')
771 raise error.Abort(_(b"-r and -B are mutually exclusive"))
772
771
773 if outgoing or bundle:
772 if outgoing or bundle:
774 if len(revs) > 1:
773 if len(revs) > 1:
General Comments 0
You need to be logged in to leave comments. Login now