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

Issue 2403793002: git cl patch: handle missing/wrong Gerrit issue better. (Closed)

Created:
4 years, 2 months ago by tandrii(chromium)
Modified:
4 years, 2 months ago
Reviewers:
Sergiy Byelozyorov
CC:
chromium-reviews, tandrii+omg_git_cl_chromium.org, dpranke+depot_tools_chromium.org, iannucci+depot_tools_chromium.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

git cl patch: handle missing/wrong Gerrit issue better. No stacktrace is printed, instead just a user-friendly string is shown. Add test + some tests refactoring. This CL also improve missing Gerrit issue exception elsewhere by raising user-friendly exception. BUG=654360 R=sergiyb@chromium.org TEST=manual Committed: https://chromium.googlesource.com/chromium/tools/depot_tools/+/c2405f5545288efe2cad1293ac106b189bbbed5f

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -26 lines) Patch
M git_cl.py View 5 chunks +23 lines, -6 lines 2 comments Download
M tests/git_cl_test.py View 5 chunks +37 lines, -20 lines 2 comments Download

Messages

Total messages: 12 (6 generated)
tandrii(chromium)
4 years, 2 months ago (2016-10-10 09:50:35 UTC) #1
Sergiy Byelozyorov
lgtm https://codereview.chromium.org/2403793002/diff/1/git_cl.py File git_cl.py (right): https://codereview.chromium.org/2403793002/diff/1/git_cl.py#newcode980 git_cl.py:980: class GerritIssueNotExists(Exception): IMHO it should be either GerritIssueExistsNot ...
4 years, 2 months ago (2016-10-10 11:41:12 UTC) #6
tandrii(chromium)
https://codereview.chromium.org/2403793002/diff/1/git_cl.py File git_cl.py (right): https://codereview.chromium.org/2403793002/diff/1/git_cl.py#newcode980 git_cl.py:980: class GerritIssueNotExists(Exception): On 2016/10/10 11:41:11, Sergiy Byelozyorov wrote: > ...
4 years, 2 months ago (2016-10-10 15:10:14 UTC) #7
tandrii(chromium)
4 years, 2 months ago (2016-10-10 15:10:15 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2403793002/1
4 years, 2 months ago (2016-10-10 15:10:21 UTC) #10
commit-bot: I haz the power
4 years, 2 months ago (2016-10-10 15:13:18 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/tools/depot_tools/+/c2405f5545288e...

Powered by Google App Engine
This is Rietveld 408576698