This is an archive of the discontinued Mercurial Phabricator instance.

ui: pass a `ui` object to `paths.getpath`
ClosedPublic

Authored by marmoute on Mar 11 2021, 12:08 PM.

Details

Summary

I want to introduce more path's suboption and make it possible to use default
value for them. Processing theses sub-options might result in warnings. We
need a ui object to issue such warnings.

To make things simpler, we add an helper method on the ui object.

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.Mar 11 2021, 12:08 PM

I think the commit description has passed the not-ok threshold of typos ;)

I am pushing an udpate

baymax retitled this revision from ui: pass a `ui` objec to `paths.getpath` to ui: pass a `ui` object to `paths.getpath`.Mar 16 2021, 8:43 AM
baymax edited the summary of this revision. (Show Details)
baymax updated this revision to Diff 26399.

โœ… refresh by Heptapod after a successful CI run (๐Ÿ™ ๐Ÿ’š)

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