aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-08-16 19:22:23 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-08-16 19:22:23 +0100
commit4d09ff971069bc3c7f38bb514b9f25237eac99bd (patch)
treeae12ebee6cdc88056918c96c651f56d4a9bea231
parentf35668c4788bfb9796ad8c710511a5a62a6c10e1 (diff)
downloadpaludis-4d09ff971069bc3c7f38bb514b9f25237eac99bd.tar.gz
paludis-4d09ff971069bc3c7f38bb514b9f25237eac99bd.tar.xz
More context
-rw-r--r--paludis/resolver/orderer.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/paludis/resolver/orderer.cc b/paludis/resolver/orderer.cc
index 61ae3a1..47230a6 100644
--- a/paludis/resolver/orderer.cc
+++ b/paludis/resolver/orderer.cc
@@ -483,6 +483,8 @@ Orderer::resolve()
r_end(_imp->resolved->resolutions_by_resolvent()->end()) ;
r != r_end ; ++r)
{
+ Context subcontext("When ordering '" + stringify((*r)->resolvent()) + "':");
+
_imp->env->trigger_notifier_callback(NotifierCallbackResolverStepEvent());
if (ignore_edges_from_resolvents.end() != ignore_edges_from_resolvents.find((*r)->resolvent()))
@@ -495,7 +497,10 @@ Orderer::resolve()
for (Constraints::ConstIterator c((*r)->constraints()->begin()),
c_end((*r)->constraints()->end()) ;
c != c_end ; ++c)
+ {
+ Context subsubcontext("When handling constraint '" + stringify((*c)->spec()) + "':");
(*c)->reason()->accept(edges_from_reason_visitor);
+ }
}
_imp->resolved->nag()->verify_edges();