mercurial/revset.py
changeset 23704 c624fb2c4239
parent 23467 c237499a7fba
child 23719 34364a4b25eb
--- a/mercurial/revset.py	Tue Dec 23 16:14:39 2014 -0800
+++ b/mercurial/revset.py	Mon Dec 29 23:40:24 2014 -0800
@@ -807,7 +807,7 @@
             cx = c[x]
             s = set(ctx.rev() for ctx in cx.ancestors(followfirst=followfirst))
             # include the revision responsible for the most recent version
-            s.add(cx.linkrev())
+            s.add(cx.introrev())
         else:
             return baseset()
     else: