From 4f74255cfef37a2f26bb4aafd780c50d8f90b724 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 4 Nov 2009 06:45:44 +0000 Subject: [PATCH] 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 --- pym/_emerge/depgraph.py | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.26.2