hgext3rd/topic/topicmap.py
changeset 4705 c63f47a4f5ec
parent 4563 8b3781d9a616
child 4758 f0ecf2137824
--- 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)