Show More
@@ -880,7 +880,7 b' def latesttag(context, mapping, args):' | |||||
880 | if len(args) == 1: |
|
880 | if len(args) == 1: | |
881 | pattern = evalstring(context, mapping, args[0]) |
|
881 | pattern = evalstring(context, mapping, args[0]) | |
882 |
|
882 | |||
883 | return templatekw.showlatesttags(pattern, **mapping) |
|
883 | return templatekw.showlatesttags(pattern, **pycompat.strkwargs(mapping)) | |
884 |
|
884 | |||
885 | @templatefunc('localdate(date[, tz])') |
|
885 | @templatefunc('localdate(date[, tz])') | |
886 | def localdate(context, mapping, args): |
|
886 | def localdate(context, mapping, args): | |
@@ -1063,7 +1063,8 b' def revset(context, mapping, args):' | |||||
1063 | revs = list(revs) |
|
1063 | revs = list(revs) | |
1064 | revsetcache[raw] = revs |
|
1064 | revsetcache[raw] = revs | |
1065 |
|
1065 | |||
1066 |
return templatekw.showrevslist("revision", revs, |
|
1066 | return templatekw.showrevslist("revision", revs, | |
|
1067 | **pycompat.strkwargs(mapping)) | |||
1067 |
|
1068 | |||
1068 | @templatefunc('rstdoc(text, style)') |
|
1069 | @templatefunc('rstdoc(text, style)') | |
1069 | def rstdoc(context, mapping, args): |
|
1070 | def rstdoc(context, mapping, args): |
General Comments 0
You need to be logged in to leave comments.
Login now