Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG75c2ca094d3a: merge: use check_incompatible_arguments() for --abort
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
+ 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.