##// END OF EJS Templates
template: change extras to use showlist rather than manual templ call....
Matthew Turk -
r20017:519120a9 default
parent child Browse files
Show More
@@ -221,11 +221,8 def showdiffstat(repo, ctx, templ, **arg
221 221 def showextras(**args):
222 222 """:extras: List of dicts with key, value entries of the 'extras'
223 223 field of this changeset."""
224 templ = args['templ']
225 for key, value in sorted(args['ctx'].extra().items()):
226 args = args.copy()
227 args.update(dict(key=key, value=value))
228 yield templ('extra', **args)
224 yield showlist('extra', sorted(dict(key=a, value=b)
225 for (a, b) in args['ctx'].extra().items()), **args)
229 226
230 227 def showfileadds(**args):
231 228 """:file_adds: List of strings. Files added by this changeset."""
General Comments 0
You need to be logged in to leave comments. Login now