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

Issue 118505: Add CheckChangeHasOnlyOneEol and CheckChangeHasNoCrAndHasOnlyOneEol. (Closed)

Created:
11 years, 6 months ago by M-A Ruel
Modified:
9 years, 7 months ago
Reviewers:
Jói Sigurðsson
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add CheckChangeHasOnlyOneEol and CheckChangeHasNoCrAndHasOnlyOneEol. TEST=unit tests BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=18075

Patch Set 1 #

Patch Set 2 : standardize #

Patch Set 3 : oops #

Patch Set 4 : oops2 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -33 lines) Patch
M presubmit_canned_checks.py View 1 2 chunks +53 lines, -9 lines 1 comment Download
M tests/presubmit_unittest.py View 1 2 3 3 chunks +44 lines, -24 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
M-A Ruel
11 years, 6 months ago (2009-06-10 16:24:20 UTC) #1
Jói Sigurðsson
11 years, 6 months ago (2009-06-10 18:02:32 UTC) #2
LGTM

http://codereview.chromium.org/118505/diff/9/10
File presubmit_canned_checks.py (right):

http://codereview.chromium.org/118505/diff/9/10#newcode101
Line 101: It is faster because it is reading the file only once.
this makes me think perhaps in the future we should have input_api.ReadFile
cache files that have been read

Powered by Google App Engine
This is Rietveld 408576698