# HG changeset patch # User Pierre-Yves David # Date 1534412672 -7200 # Node ID 836402690a6371b01fd379cd81da8fe71ef967e9 # Parent 5fade2cb9e003d5f8e8c377cc409bc44a42d989e next: fix topic constraint in the --evolve case We were using the wrong variable. diff -r 5fade2cb9e00 -r 836402690a63 hgext3rd/evolve/__init__.py --- a/hgext3rd/evolve/__init__.py Thu Aug 16 11:43:53 2018 +0200 +++ b/hgext3rd/evolve/__init__.py Thu Aug 16 11:44:32 2018 +0200 @@ -1166,7 +1166,7 @@ else: aspchildren = evolvecmd._aspiringchildren(repo, [repo['.'].rev()]) if topic: - filtered.extend(repo[c] for c in children + filtered.update(repo[c] for c in aspchildren if repo[c].topic() != topic) aspchildren = [ctx for ctx in aspchildren if ctx not in filtered] if not opts['evolve'] or not aspchildren: