This is an archive of the discontinued Mercurial Phabricator instance.

commands: use keyword arguments in update function
ClosedPublic

Authored by pulkit on Mar 19 2018, 1:28 PM.

Details

Summary

This will help us in having a dictionary with the values of all the arguments
and we can add more flags without adding an argument to the function.

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

pulkit created this revision.Mar 19 2018, 1:28 PM
yuja requested changes to this revision.Mar 21 2018, 12:20 AM
yuja added a subscriber: yuja.

Python 3?

This revision now requires changes to proceed.Mar 21 2018, 12:20 AM
pulkit updated this revision to Diff 7169.Mar 21 2018, 2:13 AM
yuja accepted this revision.Mar 21 2018, 2:44 AM
This revision is now accepted and ready to land.Mar 21 2018, 2:44 AM
This revision was automatically updated to reflect the committed changes.