mercurial/hgweb/webcommands.py
changeset 32904 582080a4a812
parent 32566 1b90036f42f0
child 32996 1c97df5e3b46
--- a/mercurial/hgweb/webcommands.py	Sun Oct 16 18:03:24 2016 +0900
+++ b/mercurial/hgweb/webcommands.py	Sun Feb 19 19:37:14 2017 +0900
@@ -28,7 +28,7 @@
 
 from .. import (
     archival,
-    context,
+    dagop,
     encoding,
     error,
     graphmod,
@@ -1013,9 +1013,9 @@
         # would required a dedicated "revnav" class
         nav = None
         if descend:
-            it = context.blockdescendants(fctx, *lrange)
+            it = dagop.blockdescendants(fctx, *lrange)
         else:
-            it = context.blockancestors(fctx, *lrange)
+            it = dagop.blockancestors(fctx, *lrange)
         for i, (c, lr) in enumerate(it, 1):
             diffs = None
             if patch: