From: Zac Medico Date: Wed, 4 Nov 2009 06:45:44 +0000 (-0000) Subject: Inside depgraph._complete_graph(), only pull in deps for the relevant root X-Git-Tag: v2.2_rc49~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4f74255cfef37a2f26bb4aafd780c50d8f90b724;p=portage.git Inside depgraph._complete_graph(), only pull in deps for the relevant root during remove operations. Thanks to acevery for reporting. svn path=/main/trunk/; revision=14775 --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 5c66cf581..e5cb10f7b 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2633,6 +2633,10 @@ class depgraph(object): self._dynamic_config.myparams["deep"] = True for root in self._frozen_config.roots: + if root != self._frozen_config.target_root and \ + "remove" in self._dynamic_config.myparams: + # Only pull in deps for the relevant root. + continue if required_sets is None or root not in required_sets: required_set_names = self._frozen_config._required_set_names.copy() else: