projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c35dff8
)
Discard "nomerge" nodes to speed up depgraph.altlist() since those nodes aren't used...
author
Zac Medico
<zmedico@gentoo.org>
Mon, 30 Jul 2007 06:31:54 +0000
(06:31 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 30 Jul 2007 06:31:54 +0000
(06:31 -0000)
svn path=/main/branches/2.1.2.9/; revision=7497
bin/emerge
patch
|
blob
|
history
diff --git
a/bin/emerge
b/bin/emerge
index 02ee3ea258695624020878d3e69ff72cd767a2bb..201c44db610569b782b4b758cc756975356873ce 100755
(executable)
--- a/
bin/emerge
+++ b/
bin/emerge
@@
-2008,6
+2008,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=[]