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

Unified Diff: utils/pub/pub.dart

Issue 10916034: Rename "repo" source to "hosted". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | « utils/pub/hosted_source.dart ('k') | utils/pub/repo_source.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/pub.dart
diff --git a/utils/pub/pub.dart b/utils/pub/pub.dart
index 88675391e3db5da7c55b9c37a3cc8e970ae34254..b6f196d830f6fdbf269698b85cfc8bd149f0729b 100644
--- a/utils/pub/pub.dart
+++ b/utils/pub/pub.dart
@@ -18,9 +18,9 @@
#import('command_version.dart');
#import('entrypoint.dart');
#import('git_source.dart');
+#import('hosted_source.dart');
#import('package.dart');
#import('pubspec.dart');
-#import('repo_source.dart');
#import('sdk_source.dart');
#import('source.dart');
#import('source_registry.dart');
@@ -88,9 +88,8 @@ main() {
var cache = new SystemCache(cacheDir);
cache.register(new SdkSource(sdkDir));
cache.register(new GitSource());
- cache.register(new RepoSource());
- // TODO(nweiz): Make 'repo' the default once pub.dartlang.org exists
- cache.sources.setDefault('sdk');
+ cache.register(new HostedSource());
+ cache.sources.setDefault('hosted');
// Select the command.
var command = pubCommands[globalOptions.rest[0]];
« no previous file with comments | « utils/pub/hosted_source.dart ('k') | utils/pub/repo_source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698