Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: utils/pub/solver/version_solver.dart

Issue 14308004: Disable backtracking solver. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/solver/version_solver.dart
diff --git a/utils/pub/solver/version_solver.dart b/utils/pub/solver/version_solver.dart
index 1169ae20f988533cf46d1e81eb4e6ce33402d69b..a3d058e0e6cf60c3a320feda671deae63cddea65 100644
--- a/utils/pub/solver/version_solver.dart
+++ b/utils/pub/solver/version_solver.dart
@@ -26,13 +26,13 @@ import 'greedy_solver.dart';
/// packages will be used. This is for forcing an update to one or more
/// packages.
///
-/// If [allowBacktracking] is `false` the non-backtracking version solver will
-/// be used. Otherwise, the backtracking one will be.
+/// If [allowBacktracking] is `true` the backtracking version solver will
+/// be used. Otherwise, the non-backtracking one will be.
Future<SolveResult> resolveVersions(SourceRegistry sources, Package root,
{LockFile lockFile, bool allowBacktracking, List<PackageRef> useLatest}) {
log.message('Resolving dependencies...');
- if (allowBacktracking == null) allowBacktracking = true;
+ if (allowBacktracking == null) allowBacktracking = false;
if (lockFile == null) lockFile = new LockFile.empty();
if (useLatest == null) useLatest = [];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698