summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-12-17 20:29:04 +0000
committerZac Medico <zmedico@gentoo.org>2006-12-17 20:29:04 +0000
commit28cd21ff9db44d06765fb8b9ed83a5c2625d51ff (patch)
tree1ab470a9d25b12971de820a97fc0a1c59d85d2b1
parent69b510521c04b5a743b725c13647bafc7d9315dc (diff)
downloadportage-28cd21ff9db44d06765fb8b9ed83a5c2625d51ff.tar.gz
portage-28cd21ff9db44d06765fb8b9ed83a5c2625d51ff.tar.bz2
portage-28cd21ff9db44d06765fb8b9ed83a5c2625d51ff.zip
Don't optimize depgraph.altlist() in reversed mode since the optimization destroys --tree ouput.
svn path=/main/trunk/; revision=5309
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 7bbd94d26..acaeec17e 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1745,7 +1745,7 @@ class depgraph:
selected_nodes = None
if nodes:
if ignore_priority <= DepPriority.SOFT:
- if ignore_priority is None:
+ if ignore_priority is None and not reversed:
# Greedily pop all of these nodes since no relationship
# has been ignored.
selected_nodes = nodes