comparison mercurial/help/templates.txt @ 19126:5c5152af0d15

log-style: add a log style that is default+phase (issue3436) There is a new style called phases style. Usage:: hg log --style phases Why do we need this new style - in what way is it different from or similar to existing styles? The new style is default + phases information. With the new phases feature the users exhibited their desire for a new style that could help them. Why do this need a new style - couldn't it be folded into an existing style? The default style and the new one are about the same, the difference is the phases tag. The users find both styles useful, this means that the both styles must exist.
author Iulian Stana <julian.stana@gmail.com>
date Thu, 18 Apr 2013 22:56:57 +0300
parents f5db3092790f
children 867b9957d895
comparison
equal deleted inserted replaced
19125:6ba6e345961e 19126:5c5152af0d15
4 template-style (--style). 4 template-style (--style).
5 5
6 You can customize output for any "log-like" command: log, 6 You can customize output for any "log-like" command: log,
7 outgoing, incoming, tip, parents, heads and glog. 7 outgoing, incoming, tip, parents, heads and glog.
8 8
9 Four styles are packaged with Mercurial: default (the style used 9 Five styles are packaged with Mercurial: default (the style used
10 when no explicit preference is passed), compact, changelog, 10 when no explicit preference is passed), compact, changelog, phases
11 and xml. 11 and xml.
12 Usage:: 12 Usage::
13 13
14 $ hg log -r1 --style changelog 14 $ hg log -r1 --style changelog
15 15