Mercurial > public > mercurial-scm > hg-stable
diff 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 |
line wrap: on
line diff
--- a/mercurial/chgserver.py Mon Feb 10 15:52:52 2020 -0800 +++ b/mercurial/chgserver.py Tue Feb 11 19:53:56 2020 +0900 @@ -83,6 +83,7 @@ b'eol', # uses setconfig('eol', ...) b'extdiff', # uisetup will register new commands b'extensions', + b'schemes', # extsetup will update global hg.schemes ] _configsectionitems = [