projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b3390f
)
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:17 +0000
(
01:48
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 28 Jun 2007 01:48:17 +0000
(
01:48
-0000)
svn path=/main/trunk/; revision=7067
pym/emerge/__init__.py
patch
|
blob
|
history
diff --git
a/pym/emerge/__init__.py
b/pym/emerge/__init__.py
index fd6643deac80edc294354074d55632e5464f9c35..838d1fbb6b986fe1b05afb26fa21c980db4a2f96 100644
(file)
--- a/
pym/emerge/__init__.py
+++ b/
pym/emerge/__init__.py
@@
-2054,6
+2054,9
@@
class depgraph(object):
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=[]