Mercurial > hg-stable
changeset 35145:c157bb0120a9
tests: add test for rebase template showing wrong behavior
The output for template "{nodechanges % '{key}:{value}'}" does not contain the
output for value.
Differential Revision: https://phab.mercurial-scm.org/D1462
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Thu, 09 Nov 2017 20:06:30 +0530 |
parents | 7a58608281dd |
children | f56a30b844aa |
files | tests/test-rebase-templates.t |
diffstat | 1 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-rebase-templates.t Fri Nov 17 22:52:40 2017 +0000 +++ b/tests/test-rebase-templates.t Thu Nov 09 20:06:30 2017 +0530 @@ -42,3 +42,17 @@ $ hg rebase -s 1 -d 5 -q -T "{nodechanges|json}" {"29becc82797a4bc11ec8880b58eaecd2ab3e7760": ["d9d6773efc831c274eace04bc13e8e6412517139"]} (no-eol) + + $ hg log -G -T "{rev}:{node|short} {desc}" + o 6:d9d6773efc83 Added b + | + @ 5:df21b32134ba Added d + | + o 4:849767420fd5 Added c + | + o 0:18d04c59bb5d Added a + + + $ hg rebase -s 6 -d 4 -q -T "{nodechanges % '{oldnode}:{newnodes % ' {node} '}'}" + d9d6773efc831c274eace04bc13e8e6412517139: f48cd65c6dc3d2acb55da54402a5b029546e546f (no-eol) (false !) + d9d6773efc831c274eace04bc13e8e6412517139 (no-eol)