Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 110420 Details for
Bug 158100
emerge --tree output is not the exact reverse of actual merge order
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
make --tree ouput the exact reverse of actual merge order
exact_reverse.patch (text/plain), 1.13 KB, created by
Zac Medico
on 2007-02-16 20:23:53 UTC
(
hide
)
Description:
make --tree ouput the exact reverse of actual merge order
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-02-16 20:23:53 UTC
Size:
1.13 KB
patch
obsolete
>Index: bin/emerge >=================================================================== >--- bin/emerge (revision 5965) >+++ bin/emerge (revision 5968) >@@ -1962,6 +1962,11 @@ > def altlist(self, reversed=False): > if reversed in self._altlist_cache: > return self._altlist_cache[reversed][:] >+ if reversed: >+ retlist = self.altlist() >+ retlist.reverse() >+ self._altlist_cache[reversed] = retlist[:] >+ return retlist > mygraph=self.digraph.copy() > myblockers = self.blocker_digraph.copy() > retlist=[] >@@ -1979,6 +1984,7 @@ > ignore_priority_range = [None] > ignore_priority_range.extend( > xrange(DepPriority.MIN, DepPriority.MEDIUM + 1)) >+ tree_mode = "--tree" in self.myopts > while not mygraph.empty(): > ignore_priority = None > nodes = None >@@ -2001,7 +2007,7 @@ > selected_nodes = None > if nodes: > if ignore_priority <= DepPriority.SOFT: >- if ignore_priority is None and not reversed: >+ if ignore_priority is None and not tree_mode: > # Greedily pop all of these nodes since no relationship > # has been ignored. This optimization destroys --tree > # output, so it's disabled in reversed mode.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 158100
: 110420