Show More
@@ -73,6 +73,10 def _hashlist(items): | |||||
73 | 'extensions', |
|
73 | 'extensions', | |
74 | ] |
|
74 | ] | |
75 |
|
75 | |||
|
76 | _configsectionitems = [ | |||
|
77 | ('commands', 'show.aliasprefix'), # show.py reads it in extsetup | |||
|
78 | ] | |||
|
79 | ||||
76 | # sensitive environment variables affecting confighash |
|
80 | # sensitive environment variables affecting confighash | |
77 | _envre = re.compile(r'''\A(?: |
|
81 | _envre = re.compile(r'''\A(?: | |
78 | CHGHG |
|
82 | CHGHG | |
@@ -101,6 +105,8 def _confighash(ui): | |||||
101 | sectionitems = [] |
|
105 | sectionitems = [] | |
102 | for section in _configsections: |
|
106 | for section in _configsections: | |
103 | sectionitems.append(ui.configitems(section)) |
|
107 | sectionitems.append(ui.configitems(section)) | |
|
108 | for section, item in _configsectionitems: | |||
|
109 | sectionitems.append(ui.config(section, item)) | |||
104 | sectionhash = _hashlist(sectionitems) |
|
110 | sectionhash = _hashlist(sectionitems) | |
105 | envitems = [(k, v) for k, v in encoding.environ.iteritems() |
|
111 | envitems = [(k, v) for k, v in encoding.environ.iteritems() | |
106 | if _envre.match(k)] |
|
112 | if _envre.match(k)] |
General Comments 0
You need to be logged in to leave comments.
Login now