changeset 2657 | 58719183d383 |
parent 2656 | 4a148ca3e80d |
child 2662 | 9c0b293c2785 |
--- a/hgext3rd/topic/__init__.py Thu Jun 22 09:48:40 2017 +0200 +++ b/hgext3rd/topic/__init__.py Fri Jun 23 10:51:18 2017 +0200 @@ -138,8 +138,8 @@ return [repo[r].node()] if name not in repo.topics: return [] - return [ctx.node() for ctx in - repo.set('not public() and topic(%s)', name)] + node = repo.changelog.node + return [node(rev) for rev in repo.revs('topic(%s)', name)] def _nodemap(repo, node): ctx = repo[node]