next: fix topic constraint in the --evolve case
We were using the wrong variable.
--- 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: