Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Issue 112050: When the svn diff output (on Windows) is sent as a single POST and... (Closed)

Created:
11 years, 7 months ago by Jói Sigurðsson
Modified:
9 years, 7 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

When the svn diff output (on Windows) is sent as a single POST and some of the files have attribute changes, the server responds with a list of files where the files with attribute changes have backslashes (as they do in the svn diff output). Fix this in the client. A server-side fix might also be nice; where does the server-side code live? BUG=none TEST=none Patch contributed by Joi. Committed: 16688.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M upload.py View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Jói Sigurðsson
11 years, 7 months ago (2009-05-21 22:22:07 UTC) #1
Jói Sigurðsson
NB, I had to use the --no_presubmit flag to upload this change as the presubmit ...
11 years, 7 months ago (2009-05-21 22:23:23 UTC) #2
Jói Sigurðsson
Thanks John. AFAICT, that code handles it for one code path, but not for the ...
11 years, 7 months ago (2009-05-21 22:44:22 UTC) #3
Jói Sigurðsson
jam wrote: > I believe you're seeing a bug, can you give me repro steps ...
11 years, 7 months ago (2009-05-21 22:59:20 UTC) #4
M-A Ruel
11 years, 7 months ago (2009-05-21 23:53:23 UTC) #5
On 2009/05/21 22:23:23, Jói wrote:
> NB, I had to use the --no_presubmit flag to upload this change as the
presubmit
> is failing as follows:
> 
> 
> C:\s\dt\depot_tools>gcl upload q6q1 -r maruel@chromium.org --send_mail
> Traceback (most recent call last):
>   File "C:\s\dt\depot_tools\gcl.py", line 1147, in ?
>     sys.exit(main())
>   File "C:\s\dt\depot_tools\gcl.py", line 1120, in main
>     UploadCL(change_info, argv[3:])
>   File "C:\s\dt\depot_tools\gcl.py", line 723, in UploadCL
>     if not DoPresubmitChecks(change_info, committing=False):
>   File "C:\s\dt\depot_tools\gcl.py", line 1030, in DoPresubmitChecks
>     input_stream=sys.stdin)
>   File "c:\s\dt\depot_tools\presubmit_support.py", line 637, in
> DoPresubmitChecks
>     results += executer.ExecPresubmitScript(presubmit_script, filename)
>   File "c:\s\dt\depot_tools\presubmit_support.py", line 586, in
> ExecPresubmitScript
>     result = eval(function_name + '(*__args)', context)
>   File "<string>", line 0, in ?
>   File "<string>", line 14, in CheckChangeOnUpload
> NameError: global name 'RunUnitTests' is not defined
> 
> 
> Any ideas on this?  I can investigate but maybe you know off the top of your
> head.

Ignore this error for now, will fix.

patch lgtm.

Powered by Google App Engine
This is Rietveld 408576698