[Aptitude-devel] r3254 - in branches/aptitude-0.3/aptitude: . src/generic
Daniel Burrows
dburrows@costa.debian.org
Mon, 02 May 2005 02:13:52 +0000
Author: dburrows
Date: Mon May 2 02:13:49 2005
New Revision: 3254
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/generic/aptcache.cc
Log:
Bump the StepLimit to 500.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Mon May 2 02:13:49 2005
@@ -1,5 +1,10 @@
2005-05-01 Daniel Burrows <dburrows@debian.org>
+ * src/generic/aptcache.cc:
+
+ Bump the default StepLimit to 500, to deal with the fact that some
+ interesting problems are a bit too hard for 100.
+
* src/generic/aptitude_resolver.h:
Fix reversed logic in checking whether a Conflicts is broken.
Modified: branches/aptitude-0.3/aptitude/src/generic/aptcache.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/generic/aptcache.cc (original)
+++ branches/aptitude-0.3/aptitude/src/generic/aptcache.cc Mon May 2 02:13:49 2005
@@ -1467,7 +1467,7 @@
{
try
{
- solutions.push_back(new aptitude_resolver::solution(resolver->find_next_solution(aptcfg->FindI(PACKAGE "::ProblemResolver::StepLimit", 100))));
+ solutions.push_back(new aptitude_resolver::solution(resolver->find_next_solution(aptcfg->FindI(PACKAGE "::ProblemResolver::StepLimit", 500))));
selected_solution=0;
out_of_time=false;
selected_solution_changed();
@@ -1488,7 +1488,7 @@
{
// otherwise weirdness is happening.
assert(!out_of_time);
- solutions.push_back(new aptitude_resolver::solution(resolver->find_next_solution(aptcfg->FindI(PACKAGE "::ProblemResolver::StepLimit", 100))));
+ solutions.push_back(new aptitude_resolver::solution(resolver->find_next_solution(aptcfg->FindI(PACKAGE "::ProblemResolver::StepLimit", 500))));
++selected_solution;
selected_solution_changed();
return *solutions.back();
@@ -1533,7 +1533,7 @@
resolver->dump_scores(out);
- out << "EXPECT ( " << aptcfg->FindI(PACKAGE "::Resolver::StepLimit", 100) << " ANY )" << endl;
+ out << "EXPECT ( " << aptcfg->FindI(PACKAGE "::Resolver::StepLimit", 500) << " ANY )" << endl;
}
//////////////////// END PROBLEM RESOLVER INTERFACE ////////////////////