From: Zac Medico Date: Fri, 20 Nov 2009 05:32:05 +0000 (-0000) Subject: Disable backtracking in the depgraph constructor call when appropriate. X-Git-Tag: v2.2_rc51~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4c0e14e3ec2951387471f2644f744c3399b735b9;p=portage.git Disable backtracking in the depgraph constructor call when appropriate. svn path=/main/trunk/; revision=14853 --- 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)