Index: buildspec_to_git.py |
diff --git a/buildspec_to_git.py b/buildspec_to_git.py |
index 9f481e2855299850e475ae89fa4b41d2e170a2ba..c8e0fada644e1ccc0e025189c6964cd5217b0ac7 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) |
if match: |
if match.groupdict().get('branch'): |
return (path, GIT_HOST + 'chromium/src.git', GIT_HOST, |