mercurial/revset.py
changeset 35305 2cb05e6043be
parent 35285 205c3c6c1a51
child 35307 921680c3e2ea
--- a/mercurial/revset.py	Thu Dec 07 13:20:47 2017 -0800
+++ b/mercurial/revset.py	Sun Oct 22 18:57:42 2017 +0900
@@ -928,8 +928,7 @@
         files = c.manifest().walk(matcher)
 
         fctxs = [c[f].introfilectx() for f in files]
-        a = dagop.filectxancestors(fctxs, followfirst)
-        s = set(c.rev() for c in a)
+        s = dagop.filerevancestors(fctxs, followfirst)
     else:
         s = dagop.revancestors(repo, baseset([c.rev()]), followfirst)