# HG changeset patch # User Pierre-Yves David # Date 1507919301 -7200 # Node ID 6f87042766cb9c04c56c6825b4e69495f7db64d1 # Parent adfc936dff63cd656a40dc56292dc90d4dba801c topic: remove a silly duplicate in a revset Spotted by Pulkit Goyal. More performance win seems to exists here, but we starts with the obvious. diff -r adfc936dff63 -r 6f87042766cb hgext3rd/topic/stack.py --- a/hgext3rd/topic/stack.py Tue Oct 10 22:48:43 2017 +0200 +++ b/hgext3rd/topic/stack.py Fri Oct 13 20:28:21 2017 +0200 @@ -34,7 +34,7 @@ if topic is not None and branch is not None: raise error.ProgrammingError('both branch and topic specified (not defined yet)') elif topic is not None: - trevs = repo.revs("not obsolete() and topic(%s) - obsolete()", topic) + trevs = repo.revs("not obsolete() and topic(%s)", topic) elif branch is not None: trevs = repo.revs("not public() and branch(%s) - obsolete() - topic()", branch) else: