e.g. something like if delete and rename: raise util.Abort(_("--delete and --rename are incompatible")) (and some more)
Fixed by http://selenic.com/repo/hg/rev/0291e122fb05 David Soria Parra <dsp@php.net> bookmarks: abort when incompatible options are used (issue3663) Options like --delete and --rename are incompatible with each other. In this case we abort. We do not abort if the result is a nullop. Nullops are: '--delete --inactive', '--delete --force'. (please test the fix)