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

Issue 11418171: Don't call settings.GetIsGerrit() before parser.parse_args() (Closed)

Created:
8 years ago by ukai
Modified:
8 years ago
Reviewers:
Isaac (away), M-A Ruel
CC:
chromium-reviews, Dirk Pranke, cmp+cc_chromium.org, M-A Ruel
Visibility:
Public.

Description

Don't call settings.GetIsGerrit() before parser.parse_args() settings.GetIsGerrit() would invoke logging.basicConfig() and preemtps the basicConfig for verbose option in parser.parse_args. R=maruel@chromium.org,ilevy@chromium.org BUG=162600 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=169843

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -5 lines) Patch
M git_cl.py View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download
M tests/git_cl_test.py View 4 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
ukai
8 years ago (2012-11-27 04:33:32 UTC) #1
Isaac (away)
Minor suggestion below. Could we default to the branch from GetRemoteBranch() instead of origin/master? https://chromiumcodereview.appspot.com/11418171/diff/1/git_cl.py ...
8 years ago (2012-11-27 08:35:09 UTC) #2
ukai
https://chromiumcodereview.appspot.com/11418171/diff/1/git_cl.py File git_cl.py (right): https://chromiumcodereview.appspot.com/11418171/diff/1/git_cl.py#newcode1250 git_cl.py:1250: help='target branch to upload. ' + On 2012/11/27 08:35:09, ...
8 years ago (2012-11-27 08:54:02 UTC) #3
M-A Ruel
https://codereview.chromium.org/11418171/diff/3002/git_cl.py File git_cl.py (right): https://codereview.chromium.org/11418171/diff/3002/git_cl.py#newcode1250 git_cl.py:1250: help='When uploading to gerrit, remote branch to ' + ...
8 years ago (2012-11-27 14:20:51 UTC) #4
ukai
https://chromiumcodereview.appspot.com/11418171/diff/3002/git_cl.py File git_cl.py (right): https://chromiumcodereview.appspot.com/11418171/diff/3002/git_cl.py#newcode1250 git_cl.py:1250: help='When uploading to gerrit, remote branch to ' + ...
8 years ago (2012-11-28 02:25:19 UTC) #5
M-A Ruel
lgtm https://chromiumcodereview.appspot.com/11418171/diff/7001/git_cl.py File git_cl.py (right): https://chromiumcodereview.appspot.com/11418171/diff/7001/git_cl.py#newcode1256 git_cl.py:1256: parser.error('WARNING: Use --target_branch for non gerrit repository.') it'll ...
8 years ago (2012-11-28 02:32:58 UTC) #6
ukai
https://chromiumcodereview.appspot.com/11418171/diff/7001/git_cl.py File git_cl.py (right): https://chromiumcodereview.appspot.com/11418171/diff/7001/git_cl.py#newcode1256 git_cl.py:1256: parser.error('WARNING: Use --target_branch for non gerrit repository.') On 2012/11/28 ...
8 years ago (2012-11-28 02:36:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ukai@chromium.org/11418171/1004
8 years ago (2012-11-28 04:22:16 UTC) #8
commit-bot: I haz the power
8 years ago (2012-11-28 04:24:54 UTC) #9
Message was sent while issue was closed.
Change committed as 169843

Powered by Google App Engine
This is Rietveld 408576698