This is an archive of the discontinued Mercurial Phabricator instance.

graft: reuse cmdutl.resolvecommitoptions()
ClosedPublic

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

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

martinvonz created this revision.Dec 13 2019, 2:53 AM
pulkit accepted this revision.Dec 16 2019, 12:46 AM
pulkit added a subscriber: pulkit.

After this, if both --currentuser and --user are passed, --currentuser takes precedence, which is not the behavior right now. But the new behavior is better and consistent with other commands.

This revision is now accepted and ready to land.Dec 16 2019, 12:46 AM
This revision was automatically updated to reflect the committed changes.