Mercurial > hg
changeset 12656:929b424e1146
tests: add testcase for 208fc9ad6a48 to test-alias.t
The testsuite lacks a testcase for the bug introduced in 208fc9ad6a48.
This patch amends 301d7626e0ff (which fixed 208fc9ad6a48) by adding a
testcase for that bug.
With 208fc9ad6a48, test-alias.t (as modified by this patch) fails
with "hg tglog: invalid arguments".
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Sat, 09 Oct 2010 11:16:35 +0200 |
parents | 5192b24f309c |
children | 7de9033167f3 |
files | tests/test-alias.t |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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