tests/test-alias.t
changeset 12656 929b424e1146
parent 12536 208fc9ad6a48
child 12748 d10369fefd01
--- a/tests/test-alias.t	Sat Oct 09 10:36:50 2010 -0500
+++ b/tests/test-alias.t	Sat Oct 09 11:16:35 2010 +0200
@@ -1,4 +1,7 @@
   $ cat >> $HGRCPATH <<EOF
+  > [extensions]
+  > graphlog=
+  > 
   > [alias]
   > myinit = init
   > cleanstatus = status -c
@@ -25,6 +28,7 @@
   > count = !hg log -r '\$@' --template='.' | wc -c | sed -e 's/ //g'
   > mcount = !hg log \$@ --template='.' | wc -c | sed -e 's/ //g'
   > rt = root
+  > tglog = glog --template "{rev}:{node|short}: '{desc}' {branches}\n"
   > 
   > [defaults]
   > mylog = -q
@@ -184,6 +188,11 @@
   $ hg mcount -r '"branch(default)"'
   2
 
+  $ hg tglog
+  @  1:7e7f92de180e: 'bar'
+  |
+  o  0:e63c23eaa88a: 'foo'
+  
 
 shell aliases with global options