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

Unified Diff: gclient.py

Issue 233333003: Make it possible to refer to github-style URLs. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 6 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 | gclient_utils.py » ('j') | gclient_utils.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient.py
diff --git a/gclient.py b/gclient.py
index 5c5c5ca5f57f4ae3cb692e8fa2c7f51167fedd43..9cf4de5e45a7cc8982af7d8ff6d22c2110f241ad 100755
--- a/gclient.py
+++ b/gclient.py
@@ -400,6 +400,8 @@ class Dependency(gclient_utils.WorkItem, DependencySettings):
Manages From() keyword accordingly. Do not touch self.parsed_url nor
self.url because it may called with other urls due to From()."""
assert self.parsed_url == None or not self.should_process, self.parsed_url
+ if url.startswith('git@'):
bradn 2014/04/10 22:19:27 Move this down to where url is known to be a strin
Sheridan Rawlins 2014/04/11 01:05:46 Ah, too true - https://www.kernel.org/pub/software
+ return url
parsed_url = self.get_custom_deps(self.name, url)
if parsed_url != url:
logging.info(
« no previous file with comments | « no previous file | gclient_utils.py » ('j') | gclient_utils.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698