mercurial/hbisect.py
changeset 6217 fe8dbbe9520d
parent 5777 51776e50bc8c
child 6692 683428d1e639
child 6858 8f256bf98219
--- a/mercurial/hbisect.py	Thu Mar 06 22:23:41 2008 +0100
+++ b/mercurial/hbisect.py	Thu Mar 06 22:51:16 2008 +0100
@@ -8,7 +8,8 @@
 # of the GNU General Public License, incorporated herein by reference.
 
 from i18n import _
-import hg, util
+from node import short
+import util
 
 def bisect(changelog, state):
     clparents = changelog.parentrevs
@@ -41,7 +42,7 @@
     bad = changelog.node(badrev)
     if not ancestors: # now we're confused
         raise util.Abort(_("Inconsistent state, %s:%s is good and bad")
-                         % (badrev, hg.short(bad)))
+                         % (badrev, short(bad)))
 
     # build children dict
     children = {}