##// END OF EJS Templates
chgserver: do not copy configs set by environment variables...
Jun Wu -
r31695:d7349095 default
parent child Browse files
Show More
@@ -213,8 +213,8 b' def _loadnewui(srcui, args):'
213 # stolen from tortoisehg.util.copydynamicconfig()
213 # stolen from tortoisehg.util.copydynamicconfig()
214 for section, name, value in srcui.walkconfig():
214 for section, name, value in srcui.walkconfig():
215 source = srcui.configsource(section, name)
215 source = srcui.configsource(section, name)
216 if ':' in source or source == '--config':
216 if ':' in source or source == '--config' or source.startswith('$'):
217 # path:line or command line
217 # path:line or command line, or environ
218 continue
218 continue
219 newui.setconfig(section, name, value, source)
219 newui.setconfig(section, name, value, source)
220
220
General Comments 0
You need to be logged in to leave comments. Login now