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

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Mon Jan 27 05:32:39 EST 2020


yuja added a comment.


  > +    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.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7993/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7993

To: martinvonz, #hg-reviewers, pulkit
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list