mercurial/hbisect.py
changeset 25113 0ca8410ea345
parent 23877 7cc77030c557
child 25952 f0ad094db832
--- a/mercurial/hbisect.py	Sat May 16 09:03:21 2015 +0200
+++ b/mercurial/hbisect.py	Sat May 16 11:28:04 2015 -0700
@@ -8,6 +8,7 @@
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
 
+import collections
 import os
 import error
 from i18n import _
@@ -71,7 +72,7 @@
 
     # build children dict
     children = {}
-    visit = util.deque([badrev])
+    visit = collections.deque([badrev])
     candidates = []
     while visit:
         rev = visit.popleft()