From: Zac Medico Date: Sat, 5 Feb 2011 07:32:54 +0000 (-0800) Subject: backtrack_depgraph: get_best_run for last run X-Git-Tag: v2.2.0_alpha20 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a7c3400c1c8022b5b1b00e1d5b871bf902b25f48;p=portage.git backtrack_depgraph: get_best_run for last run 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. --- 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)