Mercurial > evolve
changeset 4170:50b8b06be26d stable
topic: fix '{topicidx}' keyword registration for mercurial <= 4.5
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 12 Oct 2018 15:37:22 +0200 |
parents | 39b144f9fa54 |
children | e541acefbaa5 03c3206f44f3 |
files | CHANGELOG hgext3rd/topic/__init__.py |
diffstat | 2 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGELOG Fri Oct 12 15:03:29 2018 +0200 +++ b/CHANGELOG Fri Oct 12 15:37:22 2018 +0200 @@ -9,6 +9,7 @@ * next, prev: use stack alias s# when relevant * rewind: add an undo alias * caches: skip warming the stablerange cache on strip in "auto" mode + * topic: properly register the '{topicidx}' for mercurial <= 4.5 8.2.1 -- 2018-09-14 -------------------
--- a/hgext3rd/topic/__init__.py Fri Oct 12 15:03:29 2018 +0200 +++ b/hgext3rd/topic/__init__.py Fri Oct 12 15:37:22 2018 +0200 @@ -355,6 +355,7 @@ if not post45template: templatekw.keywords['topic'] = topickw + templatekw.keywords['topicidx'] = topicidxkw # Wrap workingctx extra to return the topic name extensions.wrapfunction(context.workingctx, '__init__', wrapinit) # Wrap changelog.add to drop empty topic