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

Issue 551215: Change CheckCall behavior when print_error=False (Closed)

Created:
10 years, 10 months ago by Nasser Grainawi
Modified:
9 years, 7 months ago
Reviewers:
Nico, M-A Ruel
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Change CheckCall behavior when print_error=False We now return the stderr half of the tuple. This required a clean up of any usage of CheckCall and GIT.Capture. Patch contributed by Nasser Grainawi <nasser@codeaurora.org>; Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=37650

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -17 lines) Patch
M gclient_utils.py View 2 chunks +6 lines, -5 lines 4 comments Download
M scm.py View 7 chunks +11 lines, -11 lines 0 comments Download
M trychange.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Nasser Grainawi
10 years, 10 months ago (2010-01-30 01:13:08 UTC) #1
M-A Ruel
No test to update? If so, lgtm. http://codereview.chromium.org/551215/diff/1/2 File gclient_utils.py (right): http://codereview.chromium.org/551215/diff/1/2#newcode54 gclient_utils.py:54: std_out,std_err = ...
10 years, 10 months ago (2010-01-30 03:09:21 UTC) #2
Nasser Grainawi
So about tests; I've looked at the wiki on the gclient google code project, read ...
10 years, 10 months ago (2010-01-30 04:49:26 UTC) #3
M-A Ruel
On 2010/01/30 04:49:26, Nasser Grainawi wrote: > So about tests; I've looked at the wiki ...
10 years, 10 months ago (2010-01-30 05:13:16 UTC) #4
M-A Ruel
On 2010/01/30 05:13:16, Marc-Antoine Ruel wrote: > On 2010/01/30 04:49:26, Nasser Grainawi wrote: > > ...
10 years, 10 months ago (2010-01-30 05:31:41 UTC) #5
M-A Ruel
On 2010/01/30 05:31:41, Marc-Antoine Ruel wrote: > Bah, I broke them. Don't bother and commit, ...
10 years, 10 months ago (2010-01-30 05:54:42 UTC) #6
M-A Ruel
On 2010/01/30 05:54:42, Marc-Antoine Ruel wrote: > You can sync to latest revision if you ...
10 years, 10 months ago (2010-01-30 22:33:12 UTC) #7
Nico
On 2010/01/30 22:33:12, Marc-Antoine Ruel wrote: > On 2010/01/30 05:54:42, Marc-Antoine Ruel wrote: > > ...
10 years, 10 months ago (2010-02-01 15:16:09 UTC) #8
M-A Ruel
10 years, 10 months ago (2010-02-01 15:30:44 UTC) #9
Next time please send a review so I can review on my phone so you can
commit right away. Now I had to wait to get my hands on a workstation
to reproduce the change and commit it.

M-A

2010/2/1  <thakis@chromium.org>:
> On 2010/01/30 22:33:12, Marc-Antoine Ruel wrote:
>>
>> On 2010/01/30 05:54:42, Marc-Antoine Ruel wrote:
>> > You can sync to latest revision if you want to run the test, I fixed
>> > them.
>
>> I fixed the tests and uploaded the resulting change at
>> http://codereview.chromium.org/554146
>
>> I also committed the code.
>
> This broke git-try. Here's a patch to fix it (don't have a writeable
> depot_tools
> checkout):
>
> ===================================================================
> --- git-try     (revision 37691)
> +++ git-try     (working copy)
> @@ -19,18 +19,18 @@
>  def GetRietveldIssueNumber():
>   return GIT.Capture(
>       ['config', 'branch.%s.rietveldissue' % GIT.GetBranch(None)],
> -      error_ok=True)
> +      error_ok=True)[0]
>
>
>  def GetRietveldPatchsetNumber():
>   return GIT.Capture(
>       ['config', 'branch.%s.rietveldpatchset' % GIT.GetBranch(None)],
> -      error_ok=True)
> +      error_ok=True)[0]
>
>
>  def GetRietveldServerUrl():
>   return GIT.Capture(
> -      ['config', 'rietveld.server'], error_ok=True).strip()
> +      ['config', 'rietveld.server'], error_ok=True)[0].strip()
>
>
> http://codereview.chromium.org/551215
>

Powered by Google App Engine
This is Rietveld 408576698