[Aptitude-devel] r2987 - in branches/aptitude-0.3/aptitude: . src/generic
Daniel Burrows
dburrows@costa.debian.org
Sun, 10 Apr 2005 01:24:57 +0000
Author: dburrows
Date: Sun Apr 10 01:24:54 2005
New Revision: 2987
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/generic/aptitude_resolver.cc
Log:
Make dep-dumping more readable.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Sun Apr 10 01:24:54 2005
@@ -1,5 +1,9 @@
2005-04-09 Daniel Burrows <dburrows@debian.org>
+ * src/generic/aptitude_resolver.cc:
+
+ Fix the operator<< on deps to be more useful.
+
* src/generic/aptitude_resolver.h:
Fix an infinite recursion bug in the broken-dep iterator.
Modified: branches/aptitude-0.3/aptitude/src/generic/aptitude_resolver.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/generic/aptitude_resolver.cc (original)
+++ branches/aptitude-0.3/aptitude/src/generic/aptitude_resolver.cc Sun Apr 10 01:24:54 2005
@@ -84,8 +84,10 @@
std::ostream &operator<<(ostream &out, aptitude_resolver_dep d)
{
- out << d.get_source().get_name()
- << " {";
+ out << d.get_source().get_package().get_name()
+ << " "
+ << d.get_source().get_name()
+ << " -> {";
for(aptitude_resolver_dep::solver_iterator i=d.solvers_begin(); !i.end(); ++i)
out << (*i).get_package().get_name() << " "