changeset 2803:843311b8876e stable

next: use the utility to retrieve the current topic
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 25 Jul 2017 14:55:24 +0200
parents 74456bc055ae
children bae174e0e0ac
files hgext3rd/evolve/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/__init__.py	Tue Jul 25 05:52:14 2017 +0200
+++ b/hgext3rd/evolve/__init__.py	Tue Jul 25 14:55:24 2017 +0200
@@ -2066,7 +2066,7 @@
                 raise
 
         children = [ctx for ctx in wparents[0].children() if not ctx.obsolete()]
-        topic = getattr(repo, 'currenttopic', '')
+        topic = _getcurrenttopic(repo)
         filtered = []
         if topic and not opts.get("no_topic", False):
             filtered = [ctx for ctx in children if ctx.topic() != topic]