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

Issue 11448014: Add a presubmit check to prevent committing .rej/.orig patch files (Closed)

Created:
8 years ago by enne (OOO)
Modified:
8 years ago
Reviewers:
M-A Ruel
CC:
chromium-reviews
Visibility:
Public.

Description

Add a presubmit check to prevent committing .rej/.orig patch files This is a follow-up to me having to remove some of these by hand in r171143. R=maruel@chromium.org NOTRY=true BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171287

Patch Set 1 #

Total comments: 3

Patch Set 2 : Address all comments #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -0 lines) Patch
M PRESUBMIT.py View 1 2 chunks +11 lines, -0 lines 3 comments Download
M PRESUBMIT_test.py View 1 2 chunks +59 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
enne (OOO)
8 years ago (2012-12-05 17:50:14 UTC) #1
M-A Ruel
https://codereview.chromium.org/11448014/diff/1/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/11448014/diff/1/PRESUBMIT.py#newcode779 PRESUBMIT.py:779: if_patch_file.match(f.LocalPath())] if f.LocalPath().endswith(('.orig', '.rej')) is cleaned to me. Also ...
8 years ago (2012-12-05 19:30:17 UTC) #2
enne (OOO)
Thanks for all the suggestions. Done.
8 years ago (2012-12-05 19:36:07 UTC) #3
M-A Ruel
lgtm, thanks. https://codereview.chromium.org/11448014/diff/5001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/11448014/diff/5001/PRESUBMIT.py#newcode757 PRESUBMIT.py:757: problems = [f.LocalPath() for f in input_api.AffectedFiles() ...
8 years ago (2012-12-05 19:39:22 UTC) #4
enne (OOO)
https://codereview.chromium.org/11448014/diff/5001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/11448014/diff/5001/PRESUBMIT.py#newcode757 PRESUBMIT.py:757: problems = [f.LocalPath() for f in input_api.AffectedFiles() On 2012/12/05 ...
8 years ago (2012-12-05 19:46:44 UTC) #5
M-A Ruel
Add NOTRY=true to expedite it. https://codereview.chromium.org/11448014/diff/5001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/11448014/diff/5001/PRESUBMIT.py#newcode757 PRESUBMIT.py:757: problems = [f.LocalPath() for ...
8 years ago (2012-12-05 19:51:08 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/11448014/5001
8 years ago (2012-12-05 19:54:45 UTC) #7
commit-bot: I haz the power
8 years ago (2012-12-05 19:56:51 UTC) #8
Message was sent while issue was closed.
Change committed as 171287

Powered by Google App Engine
This is Rietveld 408576698