Skip to content

Commit

Permalink
codereview: do not hit upload_complete on first patch
Browse files Browse the repository at this point in the history
Causes server 500 error, so don't do it.

TBR=minux
CC=golang-codereviews
https://golang.org/cl/125770043
  • Loading branch information
rsc committed Aug 6, 2014
1 parent 4cc8be6 commit 2185dbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/codereview/codereview.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@ def Upload(self, ui, repo, send_mail=False, gofmt=True, gofmt_just_warn=False, c
if vcs:
set_status("uploading base files")
vcs.UploadBaseFiles(issue, rpc, patches, patchset, upload_options, files)
MySend("/" + issue + "/upload_complete/" + patchset, payload="")
if patchset != "1":
MySend("/" + issue + "/upload_complete/" + patchset, payload="")
if send_mail:
set_status("sending mail")
MySend("/" + issue + "/mail", payload="")
Expand Down

0 comments on commit 2185dbc

Please sign in to comment.