author | Augie Fackler <augie@google.com> |
Sat, 14 Apr 2018 00:08:59 -0400 | |
changeset 37752 | 63b7415e37a5 |
parent 37751 | 483de34f23b1 |
child 37753 | f450a3be62ec |
mercurial/hook.py | file | annotate | diff | comparison | revisions |
--- a/mercurial/hook.py Fri Apr 13 23:56:11 2018 -0400 +++ b/mercurial/hook.py Sat Apr 14 00:08:59 2018 -0400 @@ -137,7 +137,7 @@ for k, v in args.iteritems(): if callable(v): v = v() - if isinstance(v, dict): + if isinstance(v, (dict, list)): v = stringutil.pprint(v, bprefix=False) env['HG_' + k.upper()] = v