Mercurial > evolve
changeset 6409:77c4f9773aea stable
topic: remove templatekeyword name, not needed after 119702a8b415
`hg help templates` was showing these labels in a weird way.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 14 Feb 2023 18:28:42 +0400 |
parents | ff0cc356244f |
children | 5fcb0cec5fe3 |
files | hgext3rd/topic/__init__.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/topic/__init__.py Wed Feb 08 17:58:14 2023 +0400 +++ b/hgext3rd/topic/__init__.py Tue Feb 14 18:28:42 2023 +0400 @@ -786,25 +786,25 @@ @templatekeyword(b'topic', requires={b'ctx'}) def topickw(context, mapping): - """:topic: String. The topic of the changeset""" + """String. The topic of the changeset""" ctx = context.resource(mapping, b'ctx') return ctx.topic() @templatekeyword(b'topicidx', requires={b'ctx'}) def topicidxkw(context, mapping): - """:topicidx: Integer. Index of the changeset as a stack alias""" + """Integer. Index of the changeset as a stack alias""" ctx = context.resource(mapping, b'ctx') return ctx.topicidx() @templatekeyword(b'topic_namespace', requires={b'ctx'}) def topicnamespacekw(context, mapping): - """:topic_namespace: String. The topic namespace of the changeset""" + """String. The topic namespace of the changeset""" ctx = context.resource(mapping, b'ctx') return ctx.topic_namespace() @templatekeyword(b'fqbn', requires={b'ctx'}) def fqbnkw(context, mapping): - """:fqbn: String. The branch//namespace/topic of the changeset""" + """String. The branch//namespace/topic of the changeset""" ctx = context.resource(mapping, b'ctx') return ctx.fqbn()