diff tests/test-ancestor.py @ 30412:945f8229b30d

debugcommands: move debugbuilddag And we drop some now unused imports from commands.py.
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 10 Nov 2016 09:45:42 -0800
parents 21a507f9a6cd
children d83ca854fa21
line wrap: on
line diff
--- 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.