Mercurial > hg
comparison tests/test-unionrepo.t @ 31684:0be96ac9199a
rcutil: add a method to convert environment variables to config items
Handling config and environ priorities has been messy. Partially because we
don't have config layers - you either get all configs (sys + user), or none.
Ideally, environ like $EDITOR, $PAGER should be able to override the system
configs "ui.editor", "pager.pager". This patch provides the ability to
convert them into config items, so they can be inserted into the middle
config layer between system rc and user rc.
author | Jun Wu <quark@fb.com> |
---|---|
date | Sun, 26 Mar 2017 21:27:02 -0700 |
parents | bf86e3e87123 |
children | eb586ed5d8ce |
comparison
equal
deleted
inserted
replaced
31683:00e569a2da97 | 31684:0be96ac9199a |
---|