mercurial/templater.py
changeset 26234 e4609ec959f8
parent 26231 87c9c562c37a
child 26330 ec4f3755d997
equal deleted inserted replaced
26233:d3dbb65c8dc6 26234:e4609ec959f8
   566         else:
   566         else:
   567             revs = query(raw)
   567             revs = query(raw)
   568             revs = list([str(r) for r in revs])
   568             revs = list([str(r) for r in revs])
   569             revsetcache[raw] = revs
   569             revsetcache[raw] = revs
   570 
   570 
   571     return templatekw.showlist("revision", revs, **mapping)
   571     return templatekw.showrevslist("revision", revs, **mapping)
   572 
   572 
   573 def rstdoc(context, mapping, args):
   573 def rstdoc(context, mapping, args):
   574     """:rstdoc(text, style): Format ReStructuredText."""
   574     """:rstdoc(text, style): Format ReStructuredText."""
   575     if len(args) != 2:
   575     if len(args) != 2:
   576         # i18n: "rstdoc" is a keyword
   576         # i18n: "rstdoc" is a keyword