summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-02-04 23:32:54 -0800
committerZac Medico <zmedico@gentoo.org>2011-02-04 23:32:54 -0800
commita7c3400c1c8022b5b1b00e1d5b871bf902b25f48 (patch)
tree2d713f8fd6775899a8fbf9ed19c6bbbd78dfa732
parent4d6d55b00d1e08453397c37f6b986c60175fd30f (diff)
downloadportage-a7c3400c1c8022b5b1b00e1d5b871bf902b25f48.tar.gz
portage-a7c3400c1c8022b5b1b00e1d5b871bf902b25f48.tar.bz2
portage-a7c3400c1c8022b5b1b00e1d5b871bf902b25f48.zip
backtrack_depgraph: get_best_run for last runv2.2.0_alpha20
It's essential to feed back autounmask config changes, especially USE changes, in order to make the last run as successful as possible. This fixes a regression in the master branch, since commit 2186f87c22e0c4bdb86065855c2034bdbb66fa45.
-rw-r--r--pym/_emerge/depgraph.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 6e8ca3156..c4d84ab93 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -5771,7 +5771,8 @@ def _backtrack_depgraph(settings, trees, myopts, myparams, myaction, myfiles, sp
mydepgraph = depgraph(settings, trees, myopts, myparams, spinner,
frozen_config=frozen_config,
- allow_backtracking=False)
+ allow_backtracking=False,
+ backtrack_parameters=backtracker.get_best_run())
success, favorites = mydepgraph.select_files(myfiles)
return (success, mydepgraph, favorites)