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.
--- 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: