# HG changeset patch # User Pierre-Yves David # Date 1539351442 -7200 # Node ID 50b8b06be26dcd3b908714eab545394284222dd2 # Parent 39b144f9fa548c1d00e7ea49bd01fda0863038c8 topic: fix '{topicidx}' keyword registration for mercurial <= 4.5 diff -r 39b144f9fa54 -r 50b8b06be26d CHANGELOG --- 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 ------------------- diff -r 39b144f9fa54 -r 50b8b06be26d hgext3rd/topic/__init__.py --- 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