Commit a59d08a5 authored by pshenoy@chromium.org's avatar pshenoy@chromium.org

Convert githash to chromium revision instead of blink revision while doing a...

Convert githash to chromium revision instead of blink revision while doing a blink bisect (with -l option) in _FetchAndParse.Even though we are doing the blink bisect http://commondatastorage.googleapis.com/chromium-webkit-snapshots/index.html still stores the builds by chromium revisions.

BUG=None
NOTRY=True

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282635 0039d316-1c4b-4281-b951-d872f2087c98
parent de6ae639
......@@ -199,14 +199,6 @@ class PathContext(object):
next-marker is not None, then the listing is a partial listing and another
fetch should be performed with next-marker being the marker= GET
parameter."""
def _GetDepotName():
if self.base_url == CHROMIUM_BASE_URL:
return 'chromium'
elif self.base_url == WEBKIT_BASE_URL:
return 'blink'
else:
return 'chromium'
handle = urllib.urlopen(url)
document = ElementTree.parse(handle)
......@@ -238,7 +230,7 @@ class PathContext(object):
try:
if not revnum.isdigit():
git_hash = revnum
revnum = self.GetSVNRevisionFromGitHash(git_hash, _GetDepotName())
revnum = self.GetSVNRevisionFromGitHash(git_hash)
githash_svn_dict[revnum] = git_hash
if revnum is not None:
revnum = int(revnum)
......
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