test-command-template: test 'children' template keyword
authorJason Harris <jason@jasonfharris.com>
Sat, 03 Jul 2010 08:28:23 +0200
changeset 11656 83eb6b1465bf
parent 11655 6faf015e0ba0
child 11658 9dc1838d3b8b
test-command-template: test 'children' template keyword
tests/test-command-template
tests/test-command-template.out
--- a/tests/test-command-template	Sat Jul 03 05:24:16 2010 +0200
+++ b/tests/test-command-template	Sat Jul 03 08:28:23 2010 +0200
@@ -125,6 +125,7 @@
 hg log --template '{desc|firstline}\n'
 hg log --template '{node|short}\n'
 hg log --template '<changeset author="{author|xmlescape}"/>\n'
+hg log --template '{rev}: {children}\n'
 
 echo '# formatnode filter works'
 echo '#  quiet'
--- a/tests/test-command-template.out	Sat Jul 03 05:24:16 2010 +0200
+++ b/tests/test-command-template.out	Sat Jul 03 08:28:23 2010 +0200
@@ -1018,6 +1018,15 @@
 <changeset author="other@place"/>
 <changeset author="A. N. Other &lt;other@place&gt;"/>
 <changeset author="User Name &lt;user@hostname&gt;"/>
+8: 
+7: 8:95c24699272e
+6: 
+5: 6:c7b487c6c50e
+4: 6:c7b487c6c50e
+3: 4:32a18f097fcc 5:13207e5a10d9
+2: 3:10e46f2dcbf4
+1: 2:97054abb4ab8
+0: 1:b608e9d1a3f0
 # formatnode filter works
 #  quiet
 1e4e1b8f71e0