aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-08-31 18:26:24 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-08-31 18:26:24 +0100
commit6dae2edf747490c764f4be34583818f91396830c (patch)
tree7dc55bd3699d5ff0fcb75b2ccfbbc8978bcca5a6
parent94aa0e289a714887f10f3fdb465a188270273c7f (diff)
downloadpaludis-6dae2edf747490c764f4be34583818f91396830c.tar.gz
paludis-6dae2edf747490c764f4be34583818f91396830c.tar.xz
More context
-rw-r--r--paludis/resolver/orderer.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/paludis/resolver/orderer.cc b/paludis/resolver/orderer.cc
index 5c7e690..6e9c03f 100644
--- a/paludis/resolver/orderer.cc
+++ b/paludis/resolver/orderer.cc
@@ -259,10 +259,18 @@ namespace
/* what sort of dep are we? */
LabelsClassifierBuilder classifier_builder(env, r.from_id());
+ std::string active_labels;
for (DependenciesLabelSequence::ConstIterator l(r.sanitised_dependency().active_dependency_labels()->begin()),
l_end(r.sanitised_dependency().active_dependency_labels()->end()) ;
l != l_end ; ++l)
+ {
(*l)->accept(classifier_builder);
+ if (! active_labels.empty())
+ active_labels.append(", ");
+ active_labels.append(stringify(**l));
+ }
+
+ Context labels_context("With active labels '" + active_labels + "':");
auto classifier(classifier_builder.create());