diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-10-08 15:01:03 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-10-08 15:01:03 -0700 |
commit | 53e72a223a52e2d6571ff29a6b948149ec5fa463 (patch) | |
tree | c5dbfb9fce6df49b499c0e73bf2157756ed60ddf | |
parent | d2d2f43ca1908b2827790bf3e844a0d90f13fede (diff) | |
download | portage-53e72a223a52e2d6571ff29a6b948149ec5fa463.tar.gz portage-53e72a223a52e2d6571ff29a6b948149ec5fa463.tar.bz2 portage-53e72a223a52e2d6571ff29a6b948149ec5fa463.zip |
Add debug output for backtracking limit.
-rw-r--r-- | pym/_emerge/depgraph.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index a54c6338e..fcf7bf8e3 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -5543,6 +5543,11 @@ def _backtrack_depgraph(settings, trees, myopts, myparams, myaction, myfiles, sp if not (success or mydepgraph.success_without_autounmask()) and backtracker.backtracked(): backtrack_parameters = backtracker.get_best_run() + if "--debug" in myopts: + writemsg_level( + "\n\nbacktracking aborted after %s tries\n\n" % \ + max_depth, noiselevel=-1, level=logging.DEBUG) + mydepgraph = depgraph(settings, trees, myopts, myparams, spinner, frozen_config=frozen_config, allow_backtracking=False, |