Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
19124:4cdec37f0018 | 19125:6ba6e345961e |
---|---|
81 -f, directory | 81 -f, directory |
82 | 82 |
83 $ hg log -f dir | 83 $ hg log -f dir |
84 abort: cannot follow file not in parent revision: "dir" | 84 abort: cannot follow file not in parent revision: "dir" |
85 [255] | 85 [255] |
86 | |
87 -f, a wrong style | |
88 | |
89 $ hg log -f -l1 --style something | |
90 abort: style 'something' not found | |
91 (available styles: changelog, bisect, default, xml, compact) | |
92 [255] | |
93 | |
86 | 94 |
87 -f, but no args | 95 -f, but no args |
88 | 96 |
89 $ hg log -f | 97 $ hg log -f |
90 changeset: 4:7e4639b4691b | 98 changeset: 4:7e4639b4691b |