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

Issue 166903012: Refactoring: Extract git checks in push and merge scripts. (Closed)

Created:
6 years, 10 months ago by Michael Achenbach
Modified:
6 years, 10 months ago
Reviewers:
ulan
CC:
v8-dev
Visibility:
Public.

Description

Refactoring: Extract git checks in push and merge scripts. This extracts the pattern "if call git fails: raise exception", which is spread all over the place. Now all calls to git are required to return gracefully and give a uniform exception message if they don't. BUG= R=ulan@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=19494

Patch Set 1 #

Total comments: 2

Patch Set 2 : Review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -63 lines) Patch
M tools/push-to-trunk/common_includes.py View 1 6 chunks +14 lines, -8 lines 0 comments Download
M tools/push-to-trunk/merge_to_branch.py View 3 chunks +7 lines, -17 lines 0 comments Download
M tools/push-to-trunk/push_to_trunk.py View 9 chunks +17 lines, -38 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Michael Achenbach
PTAL
6 years, 10 months ago (2014-02-19 14:40:22 UTC) #1
ulan
lgtm with a comment https://codereview.chromium.org/166903012/diff/1/tools/push-to-trunk/common_includes.py File tools/push-to-trunk/common_includes.py (right): https://codereview.chromium.org/166903012/diff/1/tools/push-to-trunk/common_includes.py#newcode463 tools/push-to-trunk/common_includes.py:463: except: This will catch all ...
6 years, 10 months ago (2014-02-19 14:43:37 UTC) #2
Michael Achenbach
https://codereview.chromium.org/166903012/diff/1/tools/push-to-trunk/common_includes.py File tools/push-to-trunk/common_includes.py (right): https://codereview.chromium.org/166903012/diff/1/tools/push-to-trunk/common_includes.py#newcode463 tools/push-to-trunk/common_includes.py:463: except: On 2014/02/19 14:43:37, ulan wrote: > This will ...
6 years, 10 months ago (2014-02-19 14:56:05 UTC) #3
Michael Achenbach
6 years, 10 months ago (2014-02-19 14:56:28 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r19494 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698