Mercurial > public > mercurial-scm > hg
diff tests/test-alias @ 9993:8bce1e0d2801 stable
alias: do not crash when aliased command has no usage help text
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Thu, 03 Dec 2009 14:14:44 +0900 |
parents | 21688b8a594b |
children | 0022f5c5459e |
line wrap: on
line diff
--- a/tests/test-alias Wed Dec 02 14:30:39 2009 +0200 +++ b/tests/test-alias Thu Dec 03 14:14:44 2009 +0900 @@ -12,6 +12,7 @@ lognull = log -r null shortlog = log --template '{rev} {node|short} | {date|isodate}\n' dln = lognull --debug +nousage = rollback [defaults] mylog = -q @@ -35,6 +36,10 @@ hg nodef cd alias + +echo '% no usage' +hg nousage + echo foo > foo hg ci -Amfoo