--- a/mercurial/graphmod.py Thu Jun 15 17:14:53 2017 -0700
+++ b/mercurial/graphmod.py Sun Oct 16 18:03:24 2016 +0900
@@ -21,7 +21,7 @@
from .node import nullrev
from . import (
- revset,
+ dagop,
smartset,
util,
)
@@ -70,7 +70,7 @@
# through all revs (issue4782)
if not isinstance(revs, smartset.baseset):
revs = smartset.baseset(revs)
- gp = gpcache[mpar] = sorted(set(revset.reachableroots(
+ gp = gpcache[mpar] = sorted(set(dagop.reachableroots(
repo, revs, [mpar])))
if not gp:
parents.append((MISSINGPARENT, mpar))