| Index: git_auto_svn.py
|
| diff --git a/git_auto_svn.py b/git_auto_svn.py
|
| index 4faa9a0d5c2bc3133e67260bddbe648384aa1b32..d3a966a21b09e5f502dc742315d55416a88b84be 100755
|
| --- a/git_auto_svn.py
|
| +++ b/git_auto_svn.py
|
| @@ -83,6 +83,11 @@ def main(argv):
|
| assert svn_repo is not None, 'Unable to find svn repo for %s' % match.group(1)
|
| print 'Found upstream svn repo %s and path %s' % (svn_repo, svn_path)
|
|
|
| + # TODO(kjellander): Remove when WebRTC has moved to Git (crbug.com/435091)
|
| + svn_url = urlparse.urlparse(svn_repo)
|
| + if svn_url.scheme == 'http' and svn_url.hostname.endswith('googlecode.com'):
|
| + svn_repo = svn_repo.replace('http://', 'https://')
|
| +
|
| set_config('svn-remote.svn.url', svn_repo)
|
| set_config('svn-remote.svn.fetch',
|
| '%s:refs/remotes/%s' % (svn_path, upstream))
|
|
|