This is an archive of the discontinued Mercurial Phabricator instance.

upgrade: directly use the upgrade action constant
ClosedPublic

Authored by marmoute on Nov 30 2020, 10:43 AM.

Details

Summary

This make the code simpler and will make it simpler to add more case in the
future.

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

marmoute created this revision.Nov 30 2020, 10:43 AM
pulkit accepted this revision.Nov 30 2020, 11:35 AM
This revision is now accepted and ready to land.Nov 30 2020, 11:35 AM
This revision was automatically updated to reflect the committed changes.