changeset 19770 | 0361163efbaf |
parent 19330 | 867b9957d895 |
child 19989 | c38c3fdc8b93 |
child 20066 | 64b4f0cd7336 |
--- a/tests/test-command-template.t Fri Sep 06 13:30:56 2013 +0400 +++ b/tests/test-command-template.t Sun Sep 22 13:52:18 2013 +0400 @@ -500,6 +500,28 @@ 1 0 +Missing non-standard names give no error (backward compatibility): + + $ echo "changeset = '{c}'" > t + $ hg log --style ./t + +Defining non-standard name works: + + $ cat <<EOF > t + > changeset = '{c}' + > c = q + > EOF + $ hg log --style ./t + 8 + 7 + 6 + 5 + 4 + 3 + 2 + 1 + 0 + ui.style works: $ echo '[ui]' > .hg/hgrc