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

Issue 155489: Add a presubmit check for accidental checkins of files under a SVN modified d... (Closed)

Created:
11 years, 5 months ago by Lei Zhang
Modified:
9 years, 7 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add a presubmit check for accidental checkins of files under a SVN modified directory. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23271

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 8

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -21 lines) Patch
M presubmit_canned_checks.py View 1 2 3 2 chunks +40 lines, -2 lines 0 comments Download
M presubmit_support.py View 1 2 3 8 chunks +25 lines, -6 lines 0 comments Download
M tests/presubmit_unittest.py View 2 3 16 chunks +45 lines, -13 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Lei Zhang
Don't let svn's recursion behavior cause anymore accidents.
11 years, 5 months ago (2009-07-14 08:04:36 UTC) #1
M-A Ruel
http://codereview.chromium.org/155489/diff/6/1001 File presubmit_canned_checks.py (right): http://codereview.chromium.org/155489/diff/6/1001#newcode98 Line 98: current_cl_files = input_api.GetModifiedFiles(all=False) if input_api.change.scm != 'svn': return ...
11 years, 5 months ago (2009-07-16 00:14:20 UTC) #2
M-A Ruel
ping
11 years, 4 months ago (2009-08-03 14:42:06 UTC) #3
Lei Zhang
I put this on the back burner while you were on vacation. I'll definitely send ...
11 years, 4 months ago (2009-08-03 19:08:33 UTC) #4
Lei Zhang
I still need to write the unit test, but here's one iteration to address the ...
11 years, 4 months ago (2009-08-07 01:53:03 UTC) #5
M-A Ruel
lgtm ping me next time when I forget. http://codereview.chromium.org/155489/diff/4001/5001 File presubmit_canned_checks.py (right): http://codereview.chromium.org/155489/diff/4001/5001#newcode118 Line 118: ...
11 years, 4 months ago (2009-08-11 15:03:54 UTC) #6
Lei Zhang
Ok, I added a unit test. http://codereview.chromium.org/155489/diff/4001/5001 File presubmit_canned_checks.py (right): http://codereview.chromium.org/155489/diff/4001/5001#newcode118 Line 118: error_type = ...
11 years, 4 months ago (2009-08-12 22:40:11 UTC) #7
M-A Ruel
11 years, 4 months ago (2009-08-13 00:19:27 UTC) #8
lgtm!

Powered by Google App Engine
This is Rietveld 408576698