Mercurial > evolve
changeset 3061:6f87042766cb stable
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.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 13 Oct 2017 20:28:21 +0200 |
parents | adfc936dff63 |
children | 0cd594fdfd75 7a1a4d1f0958 |
files | hgext3rd/topic/stack.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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: