tests/test-ancestor.py
changeset 30402 945f8229b30d
parent 28774 21a507f9a6cd
child 30559 d83ca854fa21
--- a/tests/test-ancestor.py	Wed Aug 17 21:07:38 2016 -0700
+++ b/tests/test-ancestor.py	Thu Nov 10 09:45:42 2016 -0800
@@ -11,7 +11,7 @@
 from mercurial.node import nullrev
 from mercurial import (
     ancestor,
-    commands,
+    debugcommands,
     hg,
     ui as uimod,
     util,
@@ -226,7 +226,7 @@
             # C version not available
             return
 
-        commands.debugbuilddag(u, repo, dag)
+        debugcommands.debugbuilddag(u, repo, dag)
         # Compare the results of the Python and C versions. This does not
         # include choosing a winner when more than one gca exists -- we make
         # sure both return exactly the same set of gcas.