Mercurial > hg
diff tests/test-log.t @ 19125:6ba6e345961e
templater: show the style list when I try to use a wrong one
When someone try to use a wrong style, a list with sugestions will appear.
In the test-log.t file it's a test that prove this thing.
author | Iulian Stana <julian.stana@gmail.com> |
---|---|
date | Thu, 02 May 2013 20:23:14 -0500 |
parents | c1af1fb314bc |
children | 5c5152af0d15 |
line wrap: on
line diff
--- a/tests/test-log.t Sat Apr 27 23:49:34 2013 -0700 +++ b/tests/test-log.t Thu May 02 20:23:14 2013 -0500 @@ -84,6 +84,14 @@ abort: cannot follow file not in parent revision: "dir" [255] +-f, a wrong style + + $ hg log -f -l1 --style something + abort: style 'something' not found + (available styles: changelog, bisect, default, xml, compact) + [255] + + -f, but no args $ hg log -f