mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
codereview: warn about 'hg upload' not uploading
This seems to be what causes the 'chunk mismatch' errors. I don't know why the server tells us there's nothing to upload, but at the least we can warn that it did, so that the user will try again. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/62840043
This commit is contained in:
parent
37bf90024b
commit
673917f878
1 changed files with 2 additions and 0 deletions
|
|
@ -367,6 +367,8 @@ class CL(object):
|
|||
msg = lines[0]
|
||||
patchset = lines[1].strip()
|
||||
patches = [x.split(" ", 1) for x in lines[2:]]
|
||||
else:
|
||||
print >>sys.stderr, "Server says there is nothing to upload (probably wrong):\n" + msg
|
||||
if response_body.startswith("Issue updated.") and quiet:
|
||||
pass
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue