# HG changeset patch
# User Jason Harris <jason@jasonfharris.com>
# Date 2010-07-03 06:28:23
# Node ID 83eb6b1465bff100fb5a56929f94550cdf030cdc
# Parent  6faf015e0ba05cded2e3ad4d76788630dd6e0e50

test-command-template: test 'children' template keyword

diff --git a/tests/test-command-template b/tests/test-command-template
--- a/tests/test-command-template
+++ b/tests/test-command-template
@@ -125,6 +125,7 @@ hg log --template '{date|rfc822date}\n'
 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'
diff --git a/tests/test-command-template.out b/tests/test-command-template.out
--- a/tests/test-command-template.out
+++ b/tests/test-command-template.out
@@ -1018,6 +1018,15 @@ 1e4e1b8f71e0
 <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