Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/chgserver.py @ 44179:5cd2d91eeebd stable
chgserver: spawn new process if schemes change
The schemes extension updates hg.schemes table. It's technically possible
for hg.repository() to look for e.g. ui.schemes instead of depending on
module-local table, but I don't think the change would make much sense
since [schemes] is usually specified in ~/.hgrc and thus it can be considered
static data.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 11 Feb 2020 19:53:56 +0900 |
parents | a61287a95dc3 |
children | a69c08cdb2a8 |
comparison
equal
deleted
inserted
replaced
44178:84d98fa814a8 | 44179:5cd2d91eeebd |
---|---|
81 _configsections = [ | 81 _configsections = [ |
82 b'alias', # affects global state commands.table | 82 b'alias', # affects global state commands.table |
83 b'eol', # uses setconfig('eol', ...) | 83 b'eol', # uses setconfig('eol', ...) |
84 b'extdiff', # uisetup will register new commands | 84 b'extdiff', # uisetup will register new commands |
85 b'extensions', | 85 b'extensions', |
86 b'schemes', # extsetup will update global hg.schemes | |
86 ] | 87 ] |
87 | 88 |
88 _configsectionitems = [ | 89 _configsectionitems = [ |
89 (b'commands', b'show.aliasprefix'), # show.py reads it in extsetup | 90 (b'commands', b'show.aliasprefix'), # show.py reads it in extsetup |
90 ] | 91 ] |