Index: buildspec_to_git.py |
diff --git a/buildspec_to_git.py b/buildspec_to_git.py |
index 9f481e2855299850e475ae89fa4b41d2e170a2ba..915579656ea7dff0c795620a430c270c0443f39f 100644 |
--- a/buildspec_to_git.py |
+++ b/buildspec_to_git.py |
@@ -128,7 +128,7 @@ def SvnUrlToGitUrl(path, svn_url): |
svn_url = match.group(2) |
# Handle the main 'src' repo which only appears in buildspecs. |
- match = re.match('/(branches/(?P<branch>[^/]+)|trunk)/src', svn_url) |
+ match = re.match('/(branches/(?P<branch>[^/]+)|trunk)/src^', svn_url) |
szager1
2014/06/04 22:42:51
Should that be '$'?
Michael Moss
2014/06/04 22:44:38
UGH. Yes.
|
if match: |
if match.groupdict().get('branch'): |
return (path, GIT_HOST + 'chromium/src.git', GIT_HOST, |