summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-03-04 01:49:54 +0000
committerZac Medico <zmedico@gentoo.org>2007-03-04 01:49:54 +0000
commitda3e29519fb3c324fa07860618279748c83b9b74 (patch)
tree7578db7bbfe97fe2b4cdc3b69896513bc2f388cb /bin
parentAdd a note about --with-bdeps in the --depclean failure message. (trunk r6161... (diff)
downloadportage-multirepo-da3e29519fb3c324fa07860618279748c83b9b74.tar.gz
portage-multirepo-da3e29519fb3c324fa07860618279748c83b9b74.tar.bz2
portage-multirepo-da3e29519fb3c324fa07860618279748c83b9b74.zip
Fix the minimum index for pruning consecutive duplicate nodes. (trunk r6163:6164)
svn path=/main/branches/2.1.2/; revision=6165
Diffstat (limited to 'bin')
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 50138373..2f5e68ae 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -2381,7 +2381,7 @@ class depgraph:
last_merge_depth = 0
for i in xrange(len(mylist)-1,-1,-1):
graph_key, depth, ordered = mylist[i]
- if not ordered and depth == 0 and i > 1 \
+ if not ordered and depth == 0 and i > 0 \
and graph_key == mylist[i-1][0] and \
mylist[i-1][1] == 0:
# An ordered node got a consecutive duplicate when the tree was