From 4c0e14e3ec2951387471f2644f744c3399b735b9 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 20 Nov 2009 05:32:05 +0000 Subject: [PATCH] Disable backtracking in the depgraph constructor call when appropriate. svn path=/main/trunk/; revision=14853 --- pym/_emerge/depgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index ed4ffada7..fa4b1079b 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -5419,7 +5419,7 @@ def _backtrack_depgraph(settings, trees, myopts, myparams, backtrack_max = myopts.get('--backtrack', 5) runtime_pkg_mask = None - allow_backtracking = True + allow_backtracking = backtrack_max > 0 backtracked = 0 frozen_config = _frozen_depgraph_config(settings, trees, myopts, spinner) -- 2.26.2