Show More
@@ -222,8 +222,10 b' def showdiffstat(repo, ctx, templ, **arg' | |||
|
222 | 222 | def showextras(**args): |
|
223 | 223 | """:extras: List of dicts with key, value entries of the 'extras' |
|
224 | 224 | field of this changeset.""" |
|
225 | yield showlist('extra', sorted(dict(key=a, value=b) | |
|
226 | for (a, b) in args['ctx'].extra().items()), **args) | |
|
225 | extras = args['ctx'].extra() | |
|
226 | c = [{'key': x[0], 'value': x[1]} for x in sorted(extras.items())] | |
|
227 | f = _showlist('extra', c, plural='extras', **args) | |
|
228 | return _hybrid(f, c, lambda x: '%s=%s' % (x['key'], x['value'])) | |
|
227 | 229 | |
|
228 | 230 | def showfileadds(**args): |
|
229 | 231 | """:file_adds: List of strings. Files added by this changeset.""" |
General Comments 0
You need to be logged in to leave comments.
Login now