From a7c3400c1c8022b5b1b00e1d5b871bf902b25f48 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 4 Feb 2011 23:32:54 -0800 Subject: [PATCH] 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. --- pym/_emerge/depgraph.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.26.2