# HG changeset patch # User Pierre-Yves David # Date 1500987324 -7200 # Node ID 843311b8876eef89fdd4f9c6bf86ef41547a766d # Parent 74456bc055ae1a17b0e8654ce9ed913aaf66c458 next: use the utility to retrieve the current topic diff -r 74456bc055ae -r 843311b8876e hgext3rd/evolve/__init__.py --- 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]