summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/depgraph.py5
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,