Mercurial > evolve
changeset 2652:839c2879edcc
topic: use the 'topic' revset in namespace
This revset performance just got improved.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 22 Jun 2017 09:47:14 +0200 |
parents | 6a3df2404472 |
children | 13313d0cab71 |
files | hgext3rd/topic/__init__.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/topic/__init__.py Thu Jun 22 09:41:01 2017 +0200 +++ b/hgext3rd/topic/__init__.py Thu Jun 22 09:47:14 2017 +0200 @@ -138,7 +138,7 @@ if name not in repo.topics: return [] return [ctx.node() for ctx in - repo.set('not public() and extra(topic, %s)', name)] + repo.set('not public() and topic(%s)', name)] def _nodemap(repo, node): ctx = repo[node]