hgext3rd/topic/revset.py
changeset 2712 f19b314d8475
parent 2692 96843c68acc8
child 2915 b3abdb3d819e
--- a/hgext3rd/topic/revset.py	Tue Jul 04 00:15:36 2017 +0530
+++ b/hgext3rd/topic/revset.py	Tue Jul 04 01:30:14 2017 +0530
@@ -78,7 +78,7 @@
         topic = repo.currenttopic
     if not topic:
         branch = repo[None].branch()
-    return revset.baseset(stack.getstack(repo, branch=branch, topic=topic)) & subset
+    return revset.baseset(stack.getstack(repo, branch=branch, topic=topic)[1:]) & subset
 
 
 def modsetup(ui):