This is an archive of the discontinued Mercurial Phabricator instance.

commands: tidy up merge state decoding in resolve
ClosedPublic

Authored by mbthomas on Oct 1 2017, 5:33 AM.

Details

Summary

Make the mapping from merge state to label and display key explicit, and move
construction of the dict out of the loop.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

mbthomas created this revision.Oct 1 2017, 5:33 AM
mbthomas updated this revision to Diff 2365.Oct 2 2017, 5:16 PM
dlax accepted this revision.Oct 5 2017, 4:21 AM
ryanmce accepted this revision.Oct 5 2017, 12:56 PM
ryanmce added a subscriber: ryanmce.

nice!

This revision was automatically updated to reflect the committed changes.