Commit 0a17dab1 authored by iannucci@chromium.org's avatar iannucci@chromium.org

Allow trunk to not end in a slash for git_footers.

R=luqui@chromium.org, prasadv@chromium.org
BUG=

Review URL: https://codereview.chromium.org/559773002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291897 0039d316-1c4b-4281-b951-d872f2087c98
parent 74c44f6d
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment