This is an archive of the discontinued Mercurial Phabricator instance.

rebase: use cmdutil.check_at_most_one_arg() for action
ClosedPublic

Authored by martinvonz on Dec 13 2019, 2:53 AM.

Details

Summary

Here we also needed to know what the action was (if any), so I've
updated the helper to return any specified option.

Diff Detail

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

Event Timeline

martinvonz created this revision.Dec 13 2019, 2:53 AM
martinvonz updated this revision to Diff 18709.Dec 13 2019, 5:56 PM
martinvonz retitled this revision from rebase: use cmdutil.check_unique_argument() for action to rebase: use cmdutil.check_at_most_one_arg() for action.Dec 16 2019, 6:18 PM
martinvonz updated this revision to Diff 18766.
pulkit accepted this revision.Dec 17 2019, 2:14 AM
This revision is now accepted and ready to land.Dec 17 2019, 2:14 AM