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

Issue 3353018: Make gclient_scm_test much more silent (Closed)

Created:
10 years, 3 months ago by M-A Ruel
Modified:
9 years, 7 months ago
Reviewers:
bradnelson, bradn
CC:
chromium-reviews, M-A Ruel
Visibility:
Public.

Description

Simplify GIT.Capture() code to always redirect stderr by default and always throw an exception on failure. Make gclient_scm_test silent. Replace raise Exception() with raise gclient_utils.Error(). BUG=54084 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=58936

Patch Set 1 #

Patch Set 2 : cleaner #

Patch Set 3 : gclient_scm_test can now be run #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -91 lines) Patch
M PRESUBMIT.py View 1 chunk +1 line, -2 lines 0 comments Download
M gclient_scm.py View 1 12 chunks +20 lines, -36 lines 0 comments Download
M gclient_utils.py View 1 chunk +1 line, -1 line 0 comments Download
M scm.py View 1 9 chunks +36 lines, -45 lines 0 comments Download
M tests/gclient_scm_test.py View 5 chunks +16 lines, -5 lines 0 comments Download
M tests/scm_unittest.py View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
M-A Ruel
10 years, 3 months ago (2010-09-08 18:04:47 UTC) #1
bradn
10 years, 3 months ago (2010-09-09 05:09:42 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698