Mercurial > public > mercurial-scm > hg
diff mercurial/chgserver.py @ 30618:201b44c8875c
ui: do not translate empty configsource() to 'none' (API)
It should be processed when displaying data, so we can get "source": "" in
JSON output.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 23 Oct 2016 17:47:00 +0900 |
parents | b3643bfc7fcb |
children | 88efb4fb1975 |
line wrap: on
line diff
--- a/mercurial/chgserver.py Sun Dec 18 16:20:04 2016 +0900 +++ b/mercurial/chgserver.py Sun Oct 23 17:47:00 2016 +0900 @@ -271,9 +271,6 @@ if ':' in source or source == '--config': # path:line or command line continue - if source == 'none': - # ui.configsource returns 'none' by default - source = '' newui.setconfig(section, name, value, source) # load wd and repo config, copied from dispatch.py