# HG changeset patch # User Yuya Nishihara # Date 1519946719 18000 # Node ID e80f8a134731955367b8780e9bc48846973e39b9 # Parent cafd0586876ba5b8cd605f8692824c4683985b60 test-command-template: glob out detailed "invalid escape" message Python 3 also reports the position where an invalid escape found. diff -r cafd0586876b -r e80f8a134731 contrib/python3-whitelist --- a/contrib/python3-whitelist Thu Mar 01 08:14:54 2018 -0500 +++ b/contrib/python3-whitelist Thu Mar 01 18:25:19 2018 -0500 @@ -36,6 +36,7 @@ test-clone-pull-corruption.t test-clone-r.t test-clone-update-order.t +test-command-template.t test-commit-amend.t test-commit-unresolved.t test-commit.t diff -r cafd0586876b -r e80f8a134731 tests/test-command-template.t --- a/tests/test-command-template.t Thu Mar 01 08:14:54 2018 -0500 +++ b/tests/test-command-template.t Thu Mar 01 18:25:19 2018 -0500 @@ -4438,7 +4438,7 @@ hg: parse error: trailing \ in string [255] $ hg log -T "\\xy" -R a - hg: parse error: invalid \x escape + hg: parse error: invalid \x escape* (glob) [255] json filter should escape HTML tags so that the output can be embedded in hgweb: