tests/test-alias.t
changeset 14265 e4ab5ae193f2
parent 13950 14d0553bd48b
child 14886 9a3831d64ae2
--- a/tests/test-alias.t	Sat May 07 21:01:15 2011 +0300
+++ b/tests/test-alias.t	Sun May 01 12:29:32 2011 +0200
@@ -17,6 +17,7 @@
   > mylog = log
   > lognull = log -r null
   > shortlog = log --template '{rev} {node|short} | {date|isodate}\n'
+  > positional = log --template '{\$2} {\$1} | {date|isodate}\n'
   > dln = lognull --debug
   > nousage = rollback
   > put = export -r 0 -o "\$FOO/%R.diff"
@@ -127,6 +128,10 @@
   $ hg shortlog
   0 e63c23eaa88a | 1970-01-01 00:00 +0000
 
+positional arguments
+
+  $ hg positional 'node|short' rev
+  0 e63c23eaa88a | 1970-01-01 00:00 +0000
 
 interaction with defaults