Commit 7aae8fb1 authored by dglazkov@chromium.org's avatar dglazkov@chromium.org

Update branch path-finding regex to work directly with WebKit repository.

R=laforge
TEST=use drover.py with WebKit repo -- it should work!
BUG=none

Review URL: http://codereview.chromium.org/3368007

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@58844 0039d316-1c4b-4281-b951-d872f2087c98
parent 9c53126d
......@@ -175,7 +175,7 @@ def checkoutRevision(url, revision, branch_url, revert=False):
print command
os.system(command)
match = re.search(r"svn://.*/(.*)", branch_url)
match = re.search(r"^[a-z]+://.*/(.*)", branch_url)
if match:
os.chdir(match.group(1))
......
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