[Aptitude-devel] r3229 - in branches/aptitude-0.3/aptitude: . src/generic/problemresolver
Daniel Burrows
dburrows@costa.debian.org
Sun, 01 May 2005 15:09:08 +0000
Author: dburrows
Date: Sun May 1 15:09:04 2005
New Revision: 3229
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/generic/problemresolver/problemresolver.h
Log:
Fix the dumping of version scores (actually write the scores
to the output file).
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Sun May 1 15:09:04 2005
@@ -1,5 +1,10 @@
2005-05-01 Daniel Burrows <dburrows@debian.org>
+ * src/generic/problemresolver/problemresolver.h:
+
+ When dumping version scores, actually write the scores instead
+ of just writing which versions have non-zero scores.
+
* src/cmdline/cmdline_resolver.cc:
Add support for dumping the resolver state from the
Modified: branches/aptitude-0.3/aptitude/src/generic/problemresolver/problemresolver.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/generic/problemresolver/problemresolver.h (original)
+++ branches/aptitude-0.3/aptitude/src/generic/problemresolver/problemresolver.h Sun May 1 15:09:04 2005
@@ -1304,7 +1304,7 @@
for(typename PackageUniverse::package::version_iterator j=(*i).versions_begin();
!j.end(); ++j)
if(version_scores[(*j).get_id()]!=0)
- out << " " << (*j).get_name();
+ out << " " << (*j).get_name() << " " << version_scores[(*j).get_id()];
out << " >" << std::endl;
}