From 4ac5c1390060c06cfdae03a90eb0cce2a99738e6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 30 Dec 2006 04:49:02 +0000 Subject: [PATCH] Do some small fixes to prevent slot collision nodes from interfering with the depgraph. svn path=/main/trunk/; revision=5423 --- bin/emerge | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bin/emerge b/bin/emerge index 6e7cb5558..0666d2a1d 100755 --- a/bin/emerge +++ b/bin/emerge @@ -1189,8 +1189,14 @@ class depgraph: ((jbigkey, myparents), (existing_node, e_parents))) # Now add this node to the graph so that self.display() - # can work with it show use flags and --tree output. - self.useFlags[myroot][mykey] = myuse + # can show use flags and --tree output. This node is + # only being partially added to the graph. It must not be + # allowed to interfere with the other nodes that have been + # added. Do not overwrite data for existing nodes in + # self.pkg_node_map and self.mydbapi since that data will + # be used for blocker validation. + self.pkg_node_map[myroot].setdefault(mykey, jbigkey) + self.useFlags[myroot].setdefault(mykey, myuse) self._parent_child_digraph.add(jbigkey, myparent) if rev_dep and myparent: self.digraph.add(myparent, jbigkey, -- 2.26.2