Show More
@@ -58,8 +58,8 b' bookmark = \'{label("log.bookmark",' | |||||
58 | user = '{label("log.user", |
|
58 | user = '{label("log.user", | |
59 | "user: {author}")}\n' |
|
59 | "user: {author}")}\n' | |
60 |
|
60 | |||
61 |
summary = '{label( |
|
61 | summary = '{if(desc|strip, "{label('log.summary', | |
62 |
|
|
62 | 'summary: {desc|firstline}')}\n")}' | |
63 |
|
63 | |||
64 | ldate = '{label("log.date", |
|
64 | ldate = '{label("log.date", | |
65 | "date: {date|date}")}\n' |
|
65 | "date: {date|date}")}\n' | |
@@ -67,7 +67,7 b' ldate = \'{label("log.date",' | |||||
67 | extra = '{label("ui.debug log.extra", |
|
67 | extra = '{label("ui.debug log.extra", | |
68 | "extra: {key}={value|stringescape}")}\n' |
|
68 | "extra: {key}={value|stringescape}")}\n' | |
69 |
|
69 | |||
70 |
description = '{label( |
|
70 | description = '{if(desc|strip, "{label('ui.note log.description', | |
71 |
|
|
71 | 'description:')} | |
72 |
{label( |
|
72 | {label('ui.note log.description', | |
73 |
|
|
73 | '{desc|strip}')}\n\n")}' |
@@ -96,6 +96,10 b' Template should precede style option' | |||||
96 |
|
96 | |||
97 | Default style is like normal output: |
|
97 | Default style is like normal output: | |
98 |
|
98 | |||
|
99 | $ echo c >> c | |||
|
100 | $ hg add c | |||
|
101 | $ hg commit -qm ' ' | |||
|
102 | ||||
99 | $ hg log > log.out |
|
103 | $ hg log > log.out | |
100 | $ hg log --style default > style.out |
|
104 | $ hg log --style default > style.out | |
101 | $ cmp log.out style.out || diff -u log.out style.out |
|
105 | $ cmp log.out style.out || diff -u log.out style.out | |
@@ -135,6 +139,8 b' Default style should also preserve color' | |||||
135 |
|
139 | |||
136 | $ mv $HGRCPATH-bak $HGRCPATH |
|
140 | $ mv $HGRCPATH-bak $HGRCPATH | |
137 |
|
141 | |||
|
142 | $ hg --config extensions.strip= strip -q . | |||
|
143 | ||||
138 | Revision with no copies (used to print a traceback): |
|
144 | Revision with no copies (used to print a traceback): | |
139 |
|
145 | |||
140 | $ hg tip -v --template '\n' |
|
146 | $ hg tip -v --template '\n' |
General Comments 0
You need to be logged in to leave comments.
Login now