Page MenuHomePhabricator

config: use level to properly deal with value priority
Needs ReviewPublic

Authored by marmoute on Fri, Jan 29, 8:40 PM.

Details

Reviewers
Alphare
Group Reviewers
hg-reviewers
Summary

A higher priority alias will now take precedence over lower priority ones.

This was a requirements step before using alias more widely, especially to
rename existing and established config option.

Diff Detail

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

Event Timeline

marmoute created this revision.Fri, Jan 29, 8:40 PM
Alphare added a subscriber: Alphare.Mon, Feb 8, 5:20 AM
Alphare added inline comments.
tests/test-config.t
478–479

Should this comment be dropped now?

marmoute added inline comments.Tue, Feb 9, 12:45 PM
tests/test-config.t
478–479

good catch, it should. (dropped in latest version).

Alphare accepted this revision.Tue, Feb 9, 3:37 PM
baymax updated this revision to Diff 25519.Tue, Feb 9, 6:29 PM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

baymax updated this revision to Diff 25576.Thu, Feb 11, 1:46 PM

✅ refresh by Heptapod after a successful CI run (🐙 💚)