diff mercurial/hbisect.py @ 25113:0ca8410ea345

util: drop alias for collections.deque Now that util.deque is just an alias for collections.deque, let's just remove it.
author Martin von Zweigbergk <martinvonz@google.com>
date Sat, 16 May 2015 11:28:04 -0700
parents 7cc77030c557
children f0ad094db832
line wrap: on
line diff
--- 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()