( )⚙ D10003 rhg: Group values passed to every sub-command into a struct

This is an archive of the discontinued Mercurial Phabricator instance.

rhg: Group values passed to every sub-command into a struct
ClosedPublic

Authored by SimonSapin on Feb 17 2021, 7:57 AM.

Details

Summary

The set of which values this is is evidently not stable yet,
so this will make changes easier. Also it is growing, and the function
signatures are getting out hand.

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

SimonSapin created this revision.Feb 17 2021, 7:57 AM
Alphare accepted this revision.Feb 18 2021, 3:53 AM
Alphare added a subscriber: Alphare.
Alphare added inline comments.
rust/rhg/src/main.rs
145

Possibly this should get a docstring.

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.