# HG changeset patch # User Sushil khanchi # Date 1561563685 -19800 # Node ID c63f47a4f5ecefc64b616d117de6887037d445ab # Parent 5f90eb8fd63c937e1898baedbf747d8e1da57f43 evolve: use right value for branch name when finding branch heads subbranch already formatted as "branchname:topicname", again appending it with ":topicname" doesn't not make sense. It's a little bit surprising that no tests fails though. diff -r 5f90eb8fd63c -r c63f47a4f5ec hgext3rd/topic/topicmap.py --- a/hgext3rd/topic/topicmap.py Tue Jun 25 21:54:22 2019 +0530 +++ b/hgext3rd/topic/topicmap.py Wed Jun 26 21:11:25 2019 +0530 @@ -100,8 +100,7 @@ # wrap commit status use the topic branch heads ctx = repo[node] if ctx.topic() and ctx.branch() == branch: - subbranch = "%s:%s" % (branch, ctx.topic()) - bheads = repo.branchheads("%s:%s" % (subbranch, ctx.topic())) + bheads = repo.branchheads("%s:%s" % (branch, ctx.topic())) ret = orig(repo, node, branch, bheads=bheads, opts=opts)