Show More
@@ -153,10 +153,13 b' def getlogcolumns():' | |||||
153 | return dict(zip([s.split(':', 1)[0] for s in columns.splitlines()], |
|
153 | return dict(zip([s.split(':', 1)[0] for s in columns.splitlines()], | |
154 | i18n._(columns).splitlines(True))) |
|
154 | i18n._(columns).splitlines(True))) | |
155 |
|
155 | |||
|
156 | # basic internal templates | |||
|
157 | _changeidtmpl = '{rev}:{node|formatnode}' | |||
|
158 | ||||
156 | # default templates internally used for rendering of lists |
|
159 | # default templates internally used for rendering of lists | |
157 | defaulttempl = { |
|
160 | defaulttempl = { | |
158 | 'parent': '{rev}:{node|formatnode} ', |
|
161 | 'parent': _changeidtmpl + ' ', | |
159 | 'manifest': '{rev}:{node|formatnode}', |
|
162 | 'manifest': _changeidtmpl, | |
160 | 'file_copy': '{name} ({source})', |
|
163 | 'file_copy': '{name} ({source})', | |
161 | 'envvar': '{key}={value}', |
|
164 | 'envvar': '{key}={value}', | |
162 | 'extra': '{key}={value|stringescape}' |
|
165 | 'extra': '{key}={value|stringescape}' |
General Comments 0
You need to be logged in to leave comments.
Login now