1
0
mirror of https://github.com/golang/go synced 2024-11-11 20:40:21 -07:00

codereview: do not hit upload_complete on first patch

Causes server 500 error, so don't do it.

TBR=minux
CC=golang-codereviews
https://golang.org/cl/125770043
This commit is contained in:
Russ Cox 2014-08-06 16:12:24 -04:00
parent 4cc8be60e9
commit 2185dbcd85

View File

@ -389,7 +389,8 @@ class CL(object):
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="")