Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1790)

Unified Diff: buildspec_to_git.py

Issue 316963004: Tighten match for the chromium 'src' repo. (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/deps2git
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698