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

Issue 303223005: Explicitly print diff stats to sys.stdout, if possible. (Closed)

Created:
6 years, 6 months ago by szager1
Modified:
6 years, 6 months ago
CC:
chromium-reviews, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Visibility:
Public.

Description

Explicitly print diff stats to sys.stdout, if possible. This makes it possible to effectively re-route the stdout by re-assigning sys.stdout. BUG= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=273595

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M git_cl.py View 1 chunk +5 lines, -1 line 3 comments Download

Messages

Total messages: 12 (0 generated)
szager1
6 years, 6 months ago (2014-05-29 20:23:24 UTC) #1
Dirk Pranke
https://codereview.chromium.org/303223005/diff/1/git_cl.py File git_cl.py (right): https://codereview.chromium.org/303223005/diff/1/git_cl.py#newcode263 git_cl.py:263: stdout = sys.stdout.fileno() drive-by nit: sys.stdout works fine, you ...
6 years, 6 months ago (2014-05-29 20:31:35 UTC) #2
szager1
https://codereview.chromium.org/303223005/diff/1/git_cl.py File git_cl.py (right): https://codereview.chromium.org/303223005/diff/1/git_cl.py#newcode263 git_cl.py:263: stdout = sys.stdout.fileno() On 2014/05/29 20:31:36, Dirk Pranke wrote: ...
6 years, 6 months ago (2014-05-29 20:48:04 UTC) #3
Michael Moss
lgtm
6 years, 6 months ago (2014-05-29 20:49:11 UTC) #4
M-A Ruel
Where would sys.stdout be redirected?
6 years, 6 months ago (2014-05-29 20:49:44 UTC) #5
szager1
On 2014/05/29 20:49:44, M-A Ruel wrote: > Where would sys.stdout be redirected? It's for test ...
6 years, 6 months ago (2014-05-29 20:56:52 UTC) #6
szager1
The CQ bit was checked by szager@chromium.org
6 years, 6 months ago (2014-05-29 21:06:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/szager@chromium.org/303223005/1
6 years, 6 months ago (2014-05-29 21:07:45 UTC) #8
commit-bot: I haz the power
Change committed as 273595
6 years, 6 months ago (2014-05-29 21:09:37 UTC) #9
Dirk Pranke
https://codereview.chromium.org/303223005/diff/1/git_cl.py File git_cl.py (right): https://codereview.chromium.org/303223005/diff/1/git_cl.py#newcode263 git_cl.py:263: stdout = sys.stdout.fileno() On 2014/05/29 20:48:04, szager1 wrote: > ...
6 years, 6 months ago (2014-05-29 21:10:47 UTC) #10
szager1
On 2014/05/29 21:10:47, Dirk Pranke wrote: > https://codereview.chromium.org/303223005/diff/1/git_cl.py > File git_cl.py (right): > > https://codereview.chromium.org/303223005/diff/1/git_cl.py#newcode263 ...
6 years, 6 months ago (2014-05-29 21:27:15 UTC) #11
Dirk Pranke
6 years, 6 months ago (2014-05-29 21:32:45 UTC) #12
Message was sent while issue was closed.
Hm. I guess I'm wrong :). Sorry! I could've sworn I've seen this work before.

Powered by Google App Engine
This is Rietveld 408576698