mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
chgserver: add [alias] to confighash
The [alias] config section affects a global state: commands.table. It's hard to trace whether an alias is added by a config option or an extension, and add/remove aliases in a safe way per chg request. It will hurt performance a bit if we clean the table and parse aliases every time. Therefore let's just add it to confighash. This will make chg pass test-pager.t.
This commit is contained in:
parent
3ff9373dab
commit
1de5a3a533
@ -80,6 +80,7 @@ def _hashlist(items):
|
||||
|
||||
# sensitive config sections affecting confighash
|
||||
_configsections = [
|
||||
'alias', # affects global state commands.table
|
||||
'extdiff', # uisetup will register new commands
|
||||
'extensions',
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user