| Index: trunk/tools/deps2git/svn_to_git_public.py
|
| ===================================================================
|
| --- trunk/tools/deps2git/svn_to_git_public.py (revision 292419)
|
| +++ trunk/tools/deps2git/svn_to_git_public.py (working copy)
|
| @@ -61,11 +61,33 @@
|
| if svn_url == '/trunk/deps/cdm':
|
| return (path, GIT_HOST + 'chromium/cdm.git', GIT_HOST)
|
|
|
| - match = re.match('^https?://webrtc.googlecode.com/svn/(deps|trunk)/(.*)',
|
| - svn_url)
|
| + # TODO(niklase) Remove after landing https://codereview.chromium.org/86563002
|
| + if re.match('^https?://webrtc.googlecode.com/svn/stable/webrtc$', svn_url):
|
| + return (path, GIT_HOST + 'external/webrtc/stable/webrtc.git', GIT_HOST)
|
| +
|
| + # TODO(niklase) Remove after landing https://codereview.chromium.org/86563002
|
| + if re.match('^https?://webrtc.googlecode.com/svn/stable/talk$', svn_url):
|
| + return (path, GIT_HOST + 'external/webrtc/stable/talk.git', GIT_HOST)
|
| +
|
| + # TODO(niklase) Remove after landing https://codereview.chromium.org/86563002
|
| + if re.match('^https?://webrtc.googlecode.com/svn/stable/src$', svn_url):
|
| + return (path, GIT_HOST + 'external/webrtc/stable/src.git', GIT_HOST)
|
| +
|
| + # webrtc 'trunk/src' mirror was created without 'trunk' in the name, unlike
|
| + # the other ones which are matched next.
|
| + match = re.match('^https?://webrtc.googlecode.com/svn/trunk/src', svn_url)
|
| if match:
|
| - repo = '%s.git' % match.group(2)
|
| - return (path, GIT_HOST + 'external/webrtc/%s/%s' % (match.group(1), repo),
|
| + return (path, GIT_HOST + 'external/webrtc/src.git', GIT_HOST)
|
| +
|
| + # webrtc 'trunk' mappings for everything but 'trunk/src'.
|
| + match = re.match('^https?://webrtc.googlecode.com/svn/trunk/(.*)', svn_url)
|
| + if match:
|
| + repo = '%s.git' % match.group(1)
|
| + return (path, GIT_HOST + 'external/webrtc/trunk/%s' % repo, GIT_HOST)
|
| +
|
| + if re.match('^https?://webrtc.googlecode.com/svn/deps/third_party/openmax$',
|
| + svn_url):
|
| + return (path, GIT_HOST + 'external/webrtc/deps/third_party/openmax.git',
|
| GIT_HOST)
|
|
|
| if svn_url in ('http://selenium.googlecode.com/svn/trunk/py/test',
|
|
|