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

Issue 6241012: Add a new presubmit check to enforce automatic svn properties in svn config. (Closed)

Created:
9 years, 11 months ago by M-A Ruel
Modified:
9 years, 7 months ago
Reviewers:
Nico, wtc
CC:
chromium-reviews, Ben Goodger (Google), abarth-chromium, brettw, Peter Kasting
Visibility:
Public.

Description

Add a new presubmit check to enforce automatic svn properties in svn config. This should help simplifying project maintenance. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72305

Patch Set 1 #

Patch Set 2 : docstring #

Patch Set 3 : only run the check on commit, we don't care on upload #

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

Messages

Total messages: 5 (0 generated)
M-A Ruel
I think having a tag line added when hooks are skipped is a good idea ...
9 years, 11 months ago (2011-01-23 03:52:07 UTC) #1
Nico
LG Is it possible to have per-project svn configs? For me personally, it's pretty annoying ...
9 years, 11 months ago (2011-01-23 04:00:38 UTC) #2
M-A Ruel
On 2011/01/23 04:00:38, Nico wrote: > LG > > Is it possible to have per-project ...
9 years, 11 months ago (2011-01-23 04:03:09 UTC) #3
M-A Ruel
On 2011/01/23 04:03:09, Marc-Antoine Ruel wrote: > On 2011/01/23 04:00:38, Nico wrote: > > LG ...
9 years, 11 months ago (2011-01-23 21:19:57 UTC) #4
wtc
9 years, 10 months ago (2011-01-31 22:37:36 UTC) #5
http://codereview.chromium.org/6241012/diff/8001/PRESUBMIT.py
File PRESUBMIT.py (right):

http://codereview.chromium.org/6241012/diff/8001/PRESUBMIT.py#newcode104
PRESUBMIT.py:104: 'file.\n' + error_msg)
I got this error message when I tried to commit a CL today.
I was confused because I configured my ~/.subversion/config file
before.

I believe it's because my ~/.subversion/config file didn't
have the '*.pdf = svn:mime-type=application/pdf' line.
I suspect the *.pdf line is a new requirement.  So it may
be better to add ", or your subversion config file is not up-to-date"
to the error message.

Powered by Google App Engine
This is Rietveld 408576698