Chromium Code Reviews| Index: gerrit_util.py |
| diff --git a/gerrit_util.py b/gerrit_util.py |
| index 049c1c28926df10fa74fb8ed7a81ec5d78e82ebc..78238396f4b7323dfe1ff43089aa4a873fdd80e6 100755 |
| --- a/gerrit_util.py |
| +++ b/gerrit_util.py |
| @@ -491,6 +491,10 @@ def GetChangeDescriptionFromGitiles(url, revision): |
| """ |
| parsed = urlparse.urlparse(url) |
| path = '%s/+/%s?format=json' % (parsed.path, revision) |
| + # Note: Gerrit isntances that chrome infrastructure uses thus far have all |
|
Bons
2016/04/25 20:06:25
s/isntances/instances
Also, you have Gerrit and G
tandrii(chromium)
2016/04/26 14:26:12
Done.
|
| + # enabled Gitiles, which allowes us to execute this call. This isn't true for |
| + # all Gerrit instances out there. Thus, if line below fails, consider adding a |
| + # fallback onto actually fetching ref from remote using pure git. |
| return ReadHttpJsonResponse(CreateHttpConn(parsed.netloc, path))['message'] |