branch | stable |
changeset 21540 | d8fb835376d1 |
parent 21024 | 7731a2281cf0 |
child 21820 | cce404b0c918 |
--- a/tests/test-command-template.t Mon May 05 16:54:15 2014 +0200 +++ b/tests/test-command-template.t Fri May 23 16:25:55 2014 -0700 @@ -1819,6 +1819,11 @@ 1 not current rev 0 not current rev + $ hg log --template '{rev} {ifcontains(rev, revset(". + .^"), "match rev", "not match rev")}\n' + 2 match rev + 1 match rev + 0 not match rev + $ hg log --template '{rev} Parents: {revset("parents(%s)", rev)}\n' 2 Parents: 1 1 Parents: 0