D7993: merge: use check_incompatible_arguments() for --abort

Yuya Nishihara yuya at tcha.org
Mon Jan 27 05:28:59 EST 2020


> +    cmdutil.check_incompatible_arguments(opts, b'abort', b'rev', b'preview')

It's a bit late, but I feel the arguments of `check_incompatible_arguments()`
is confusing since `b'abort'` isn't the same kind of arguments as the others.
I think `(opts, b'abort', [b'rev', b'preview'])` is more explicit.


More information about the Mercurial-devel mailing list