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

Unified Diff: recipes/depot_tools.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/blink.py ('K') | « recipes/chromium.py ('k') | recipes/nacl.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipes/depot_tools.py
diff --git a/recipes/depot_tools.py b/recipes/depot_tools.py
index 1c9f7eee06cc010f775bfad1f4b0049febc526ac..7c3b91cec50682dfa33cd90a4510e1d14ea4bd5f 100644
--- a/recipes/depot_tools.py
+++ b/recipes/depot_tools.py
@@ -15,25 +15,16 @@ class DepotTools(recipe_util.Recipe):
@staticmethod
def fetch_spec(props):
url = 'https://chromium.googlesource.com/chromium/tools/depot_tools.git'
- solution = { 'name' :'src',
- 'url' : url,
- 'deps_file': '.DEPS.git',
- 'managed' : False,
- 'custom_deps': {},
- 'safesync_url': '',
+ solution = {
+ 'name' : 'depot_tools',
+ 'url' : url,
+ 'deps_file' : 'DEPS',
Michael Achenbach 2014/10/22 09:46:28 Is this fixing a bug? Is that DEPS file git or svn
agable 2014/10/22 10:03:33 depot_tools doesn't have a DEPS file at all, in fa
+ 'managed' : False,
}
spec = {
'solutions': [solution],
- 'svn_url': 'svn://svn.chromium.org/chrome',
- 'svn_branch': 'trunk/tools/depot_tools',
- 'svn_ref': 'master',
+ 'auto': True,
}
- if props.get('submodule_git_svn_spec'):
Michael Achenbach 2014/10/22 09:46:28 Rubber stamp on this.
agable 2014/10/22 10:03:33 Just some cleanup of dead (actually never alive) c
- spec['submodule_git_svn_spec'] = props['submodule_git_svn_spec']
- if props.get('target_os'):
- spec['target_os'] = props['target_os'].split(',')
- if props.get('target_os_only'):
- spec['target_os_only'] = props['target_os_only']
checkout_type = 'gclient_git_svn'
if props.get('nosvn'):
checkout_type = 'gclient_git'
@@ -45,7 +36,7 @@ class DepotTools(recipe_util.Recipe):
@staticmethod
def expected_root(_props):
- return 'src'
+ return 'depot_tools'
def main(argv=None):
« recipes/blink.py ('K') | « recipes/chromium.py ('k') | recipes/nacl.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698