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