From af58d636ac13513682e04ed8880dca42bff24520 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 31 Oct 2009 23:35:48 +0000 Subject: Add a --backtrack=COUNT option to control how many times backtracking is allowed, and reduce the default from 30 to 5. (trunk r14763) svn path=/main/branches/2.1.7/; revision=14766 --- pym/_emerge/depgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/_emerge/depgraph.py') diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 6d9a30daf..2b2c0c62f 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -5329,7 +5329,7 @@ def backtrack_depgraph(settings, trees, myopts, myparams, def _backtrack_depgraph(settings, trees, myopts, myparams, myaction, myfiles, spinner): - backtrack_max = 30 + backtrack_max = myopts.get('backtrack', 5) runtime_pkg_mask = None allow_backtracking = True backtracked = 0 -- cgit v1.2.3-1-g7c22