Don't optimize depgraph.altlist() in reversed mode since the optimization destroys...
authorZac Medico <zmedico@gentoo.org>
Sun, 17 Dec 2006 20:29:04 +0000 (20:29 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 17 Dec 2006 20:29:04 +0000 (20:29 -0000)
svn path=/main/trunk/; revision=5309

bin/emerge

index 7bbd94d262257441bf88c1dd031cde74cf80c5e7..acaeec17eef6ce153a8e4514d6389d0968ea36dd 100755 (executable)
@@ -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