comparison tests/test-log.t @ 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 6ba6e345961e
children d982edcfe7f0
comparison
equal deleted inserted replaced
19125:6ba6e345961e 19126:5c5152af0d15
86 86
87 -f, a wrong style 87 -f, a wrong style
88 88
89 $ hg log -f -l1 --style something 89 $ hg log -f -l1 --style something
90 abort: style 'something' not found 90 abort: style 'something' not found
91 (available styles: changelog, bisect, default, xml, compact) 91 (available styles: changelog, bisect, default, xml, phases, compact)
92 [255] 92 [255]
93 93
94 -f, phases style
95
96
97 $ hg log -f -l1 --style phases
98 changeset: 4:7e4639b4691b
99 tag: tip
100 phase: draft
101 user: test
102 date: Thu Jan 01 00:00:05 1970 +0000
103 summary: e
104
94 105
95 -f, but no args 106 -f, but no args
96 107
97 $ hg log -f 108 $ hg log -f
98 changeset: 4:7e4639b4691b 109 changeset: 4:7e4639b4691b