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

Unified Diff: recipes/v8.py

Issue 656623003: Update fetch to support more flexible refspecs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 2 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
« recipes/depot_tools.py ('K') | « recipes/naclports.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipes/v8.py
diff --git a/recipes/v8.py b/recipes/v8.py
index b243867cb7138f06f6f52f033b94493e6ba91fea..24632ccc1db803300d6e43ebd8ec4ae2a0da3233 100644
--- a/recipes/v8.py
+++ b/recipes/v8.py
@@ -14,20 +14,26 @@ class V8(recipe_util.Recipe):
@staticmethod
def fetch_spec(props):
- ref = 'bleeding_edge'
- url = 'https://chromium.googlesource.com/external/v8.git@%s' % ref
- solution = { 'name' :'v8',
- 'url' : url,
- 'deps_file': '.DEPS.git',
- 'managed' : False,
- 'custom_deps': {},
- 'safesync_url': '',
+ url = 'https://chromium.googlesource.com/v8/v8.git'
+ solution = {
+ 'name' : 'v8',
+ 'url' : url,
+ 'deps_file' : '.DEPS.git',
+ 'managed' : False,
+ 'custom_deps' : {},
+ 'safesync_url': '',
}
spec = {
'solutions': [solution],
+ 'with_branch_heads': True,
'svn_url': 'https://v8.googlecode.com/svn',
- 'svn_branch': 'branches/bleeding_edge',
- 'svn_ref': 'bleeding_edge',
+ 'git_svn_fetch': {
+ 'branches/bleeding_edge': 'refs/remotes/origin/master',
+ 'trunk': 'refs/remotes/origin/candidates',
+ 'branches/3.28': 'refs/remotes/branch-heads/3.28',
+ 'branches/3.29': 'refs/remotes/branch-heads/3.29',
+ },
+ 'git_svn_branches': {},
}
checkout_type = 'gclient_git_svn'
if props.get('nosvn'):
« recipes/depot_tools.py ('K') | « recipes/naclports.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698