Show More
@@ -6,8 +6,8 b' template-style (--style).' | |||||
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 |
F |
|
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 |
@@ -1,4 +1,4 b'' | |||||
1 | changeset = 'changeset: {rev}:{node|short}\n{branches}{bookmarks}{tags}{parents}user: {author}\ndate: {date|date}\nsummary: {desc|firstline}\n\n' |
|
1 | changeset = 'changeset: {rev}:{node|short}\n{branches}{bookmarks}{tags}phase: {phase}\n{parents}user: {author}\ndate: {date|date}\nsummary: {desc|firstline}\n\n' | |
2 | changeset_quiet = '{rev}:{node|short}\n' |
|
2 | changeset_quiet = '{rev}:{node|short}\n' | |
3 | changeset_verbose = 'changeset: {rev}:{node|short}\n{branches}{bookmarks}{tags}{parents}user: {author}\ndate: {date|date}\n{files}{file_copies_switch}description:\n{desc|strip}\n\n\n' |
|
3 | changeset_verbose = 'changeset: {rev}:{node|short}\n{branches}{bookmarks}{tags}{parents}user: {author}\ndate: {date|date}\n{files}{file_copies_switch}description:\n{desc|strip}\n\n\n' | |
4 | changeset_debug = 'changeset: {rev}:{node}\n{branches}{bookmarks}{tags}phase: {phase}\n{parents}{manifest}user: {author}\ndate: {date|date}\n{file_mods}{file_adds}{file_dels}{file_copies_switch}{extras}description:\n{desc|strip}\n\n\n' |
|
4 | changeset_debug = 'changeset: {rev}:{node}\n{branches}{bookmarks}{tags}phase: {phase}\n{parents}{manifest}user: {author}\ndate: {date|date}\n{file_mods}{file_adds}{file_dels}{file_copies_switch}{extras}description:\n{desc|strip}\n\n\n' |
@@ -88,9 +88,20 b' log on directory' | |||||
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 |
|
|
106 | -f, but no args | |
96 |
|
107 |
General Comments 0
You need to be logged in to leave comments.
Login now