summaryrefslogtreecommitdiff
path: root/mercurial/treediscovery.py
diff options
context:
space:
mode:
Diffstat (limited to 'mercurial/treediscovery.py')
-rw-r--r--mercurial/treediscovery.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mercurial/treediscovery.py b/mercurial/treediscovery.py
index 09a4afb..49011c9 100644
--- a/mercurial/treediscovery.py
+++ b/mercurial/treediscovery.py
@@ -56,11 +56,11 @@ def findcommonincoming(repo, remote, heads=None, force=False):
# a 'branch' here is a linear segment of history, with four parts:
# head, root, first parent, second parent
# (a branch always has two parents (or none) by definition)
- unknown = util.deque(remote.branches(unknown))
+ unknown = remote.branches(unknown)
while unknown:
r = []
while unknown:
- n = unknown.popleft()
+ n = unknown.pop(0)
if n[0] in seen:
continue