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

Unified Diff: git_footers.py

Issue 559773002: Allow trunk to not end in a slash for git_footers. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 6 years, 3 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: git_footers.py
diff --git a/git_footers.py b/git_footers.py
index e426fe6c358967614a827b890442f99cc6d3d72a..6e8136b35b0f89a2abf9da85b50ed044e5d0664a 100755
--- a/git_footers.py
+++ b/git_footers.py
@@ -81,7 +81,7 @@ def get_position(footers):
assert match, 'Invalid git-svn-id value: %s' % svn_commit
# Assume that any trunk svn revision will match the commit-position
# semantics.
- if re.match('.*/trunk/.*$', match.group(1)):
+ if re.match('.*/trunk.*$', match.group(1)):
return ('refs/heads/master', match.group(2))
# But for now only support faking branch-heads for chrome.
« 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