1 |
commit: a7c3400c1c8022b5b1b00e1d5b871bf902b25f48 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 5 07:32:54 2011 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 5 07:32:54 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a7c3400c |
7 |
|
8 |
backtrack_depgraph: get_best_run for last run |
9 |
|
10 |
It's essential to feed back autounmask config changes, especially |
11 |
USE changes, in order to make the last run as successful as possible. |
12 |
This fixes a regression in the master branch, since commit |
13 |
2186f87c22e0c4bdb86065855c2034bdbb66fa45. |
14 |
|
15 |
--- |
16 |
pym/_emerge/depgraph.py | 3 ++- |
17 |
1 files changed, 2 insertions(+), 1 deletions(-) |
18 |
|
19 |
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py |
20 |
index 6e8ca31..c4d84ab 100644 |
21 |
--- a/pym/_emerge/depgraph.py |
22 |
+++ b/pym/_emerge/depgraph.py |
23 |
@@ -5771,7 +5771,8 @@ def _backtrack_depgraph(settings, trees, myopts, myparams, myaction, myfiles, sp |
24 |
|
25 |
mydepgraph = depgraph(settings, trees, myopts, myparams, spinner, |
26 |
frozen_config=frozen_config, |
27 |
- allow_backtracking=False) |
28 |
+ allow_backtracking=False, |
29 |
+ backtrack_parameters=backtracker.get_best_run()) |
30 |
success, favorites = mydepgraph.select_files(myfiles) |
31 |
|
32 |
return (success, mydepgraph, favorites) |