##// END OF EJS Templates
hook: also use pprint on lists for stable output on py2/3...
Augie Fackler -
r37770:63b7415e default
parent child Browse files
Show More
@@ -137,7 +137,7 b' def _exthook(ui, repo, htype, name, cmd,'
137 for k, v in args.iteritems():
137 for k, v in args.iteritems():
138 if callable(v):
138 if callable(v):
139 v = v()
139 v = v()
140 if isinstance(v, dict):
140 if isinstance(v, (dict, list)):
141 v = stringutil.pprint(v, bprefix=False)
141 v = stringutil.pprint(v, bprefix=False)
142 env['HG_' + k.upper()] = v
142 env['HG_' + k.upper()] = v
143
143
General Comments 0
You need to be logged in to leave comments. Login now