projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6155513
)
Discard "nomerge" nodes to speed up depgraph.altlist() since those nodes aren't used...
author
Zac Medico
<zmedico@gentoo.org>
Thu, 28 Jun 2007 01:48:54 +0000
(
01:48
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 28 Jun 2007 01:48:54 +0000
(
01:48
-0000)
svn path=/main/branches/2.1.2/; revision=7068
bin/emerge
patch
|
blob
|
history
diff --git
a/bin/emerge
b/bin/emerge
index 039e3e3ad8866737eda707079263be937eba68d1..4cc1023375c1b7bd106f9e10cce0f8b63517228f 100755
(executable)
--- a/
bin/emerge
+++ b/
bin/emerge
@@
-2023,6
+2023,9
@@
class depgraph:
self._altlist_cache[reversed] = retlist[:]
return retlist
mygraph=self.digraph.copy()
+ for node in mygraph.order[:]:
+ if node[-1] == "nomerge":
+ mygraph.remove(node)
self._merge_order_bias(mygraph)
myblockers = self.blocker_digraph.copy()
retlist=[]