projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2d2f43
)
Add debug output for backtracking limit.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 8 Oct 2010 22:01:03 +0000
(15:01 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 8 Oct 2010 22:01:03 +0000
(15:01 -0700)
pym/_emerge/depgraph.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index a54c6338e8e74762a1052c7c7a655c90c4bb5e1a..fcf7bf8e3e1c7c515d4c1f707de704ae4564075f 100644
(file)
--- 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,