( )⚙ D2667 obsolete: refactor function for getting obsolete options

This is an archive of the discontinued Mercurial Phabricator instance.

obsolete: refactor function for getting obsolete options
ClosedPublic

Authored by indygreg on Mar 4 2018, 3:23 PM.

Details

Summary

The function for returning obsolete option values obtains all
options, validates, then returns the option that was requested.

Let's create a new function to return all obsolete option values
so callers needing multiple values can call that.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Mar 4 2018, 3:23 PM
pulkit accepted this revision.Mar 27 2018, 3:10 AM
This revision was automatically updated to reflect the committed changes.