This is an archive of the discontinued Mercurial Phabricator instance.

diff: use cmdutil.check_at_most_one_arg() for checking --rev/--change
ClosedPublic

Authored by martinvonz on May 8 2020, 12:00 PM.

Details

Summary

The same check was done in extdiff as well, so I fixed that too.

There are apparently no tests for this.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

martinvonz created this revision.May 8 2020, 12:00 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.