( )⚙ D12164 rhg: Pass a &Config to Ui::new

This is an archive of the discontinued Mercurial Phabricator instance.

rhg: Pass a &Config to Ui::new
ClosedPublic

Authored by SimonSapin on Feb 10 2022, 2:18 PM.

Details

Summary

When a Ui object is needed to print errors about configuration-loading errors,
an empty (default) configuration is used.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

SimonSapin created this revision.Feb 10 2022, 2:18 PM
SimonSapin updated this revision to Diff 32143.Feb 11 2022, 6:42 AM
Alphare accepted this revision.Feb 12 2022, 6:19 PM
This revision is now accepted and ready to land.Feb 12 2022, 6:19 PM
This revision was automatically updated to reflect the committed changes.