| Index: milo/appengine/buildbucket/common.go
|
| diff --git a/milo/appengine/buildbucket/common.go b/milo/appengine/buildbucket/common.go
|
| index c10d192df5c45e74620f8582246f910921dad6a4..8e3d879e1253ac865c5e2db5088586c875b07e2a 100644
|
| --- a/milo/appengine/buildbucket/common.go
|
| +++ b/milo/appengine/buildbucket/common.go
|
| @@ -113,13 +113,17 @@ func getChangeList(
|
| case "rietveld":
|
| if prop.RietveldURL != "" && prop.Issue != 0 {
|
| result = &resp.Commit{
|
| - Revision: resultDetails.Properties.GotRevision,
|
| - RequestRevision: prop.Revision,
|
| + RequestRevision: &resp.Link{Label: prop.Revision},
|
| Changelist: &resp.Link{
|
| Label: fmt.Sprintf("Rietveld CL %d", prop.Issue),
|
| URL: fmt.Sprintf("%s/%d/#ps%d", prop.RietveldURL, prop.Issue, prop.PatchSet),
|
| },
|
| }
|
| + if resultDetails.Properties.GotRevision != "" {
|
| + // TODO(hinoka): Figure out the full URL for these revisions, add it
|
| + // to the URL field.
|
| + result.Revision = &resp.Link{Label: resultDetails.Properties.GotRevision}
|
| + }
|
| }
|
|
|
| case "gerrit":
|
|
|