Skip to content

Commit

Permalink
Hardcode mapping for a legacy ongoing review.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradfitz committed Feb 10, 2016
1 parent 868aa5b commit f20e20e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,12 @@ func (b *Bot) Sync(pr PullRequest) error {
}
}

// Hard-code an ongoing review which predates some of the conventions in this tool.
if pr.Number == 514 && pr.Owner == "grpc" {
changeNum = 19272
branch = "master"
}

git := func(args ...string) *exec.Cmd {
args = append([]string{
"-c", "http.cookiefile=/home/bradfitz/keys/gerrit-letsusegerrit.cookies",
Expand Down

0 comments on commit f20e20e

Please sign in to comment.