disable 'svn init' for blink temporarily

Currently the NewGit workflow sets up git submodules to point to a
.git dir through a textfile indirection. git-svn isn't smart enough to
deal with this, and so we need to change things to use symlinks instead.

In the meantime, 'fetch blink' will fail. For now, we'll turn off
the svn configuration.

TBR=iannucci@chromium.org

BUG=

Review URL: https://codereview.chromium.org/13560005

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@192230 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
dpranke@chromium.org
2013-04-04 06:47:07 +00:00
parent 50395ea4d0
commit cf9846cf66

View File

@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import json
# TOOD(dpranke): reenable import json
# pylint: disable=F0401
import recipe_util
import sys
@@ -13,17 +13,19 @@ class Blink(recipe_util.Recipe):
@staticmethod
def fetch_spec(props):
submodule_spec = {
'third_party/WebKit': {
'svn_url': 'svn://svn.chromium.org/blink/trunk',
'svn_branch': 'trunk',
'svn_ref': 'master',
}
}
# TODO(dpranke): reenable
#submodule_spec = {
# 'third_party/WebKit': {
# 'svn_url': 'svn://svn.chromium.org/blink/trunk',
# 'svn_branch': 'trunk',
# 'svn_ref': 'master',
# }
#}
return {'alias': {
'recipe': 'chromium',
'props': ['--webkit_rev=ToT',
'--submodule_git_svn_spec=' + json.dumps(submodule_spec)]
# '--submodule_git_svn_spec=' + json.dumps(submodule_spec)
]
}
}