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

Issue 552202: Add a trailing \ when printing filenames for presubmit checks.... (Closed)

Created:
10 years, 11 months ago by Evan Stade
Modified:
9 years, 6 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews_googlegroups.com, M-A Ruel
Visibility:
Public.

Description

Add a trailing \ when printing filenames for presubmit checks. This makes it easier to apply commands to a set of files. For example: Run the command: svn pset svn:eol-style LF \ chrome/browser/extensions/extension_accessibility_apitest.cc \ chrome/browser/extensions/extension_accessibility_api_constants.cc \ chrome/browser/extensions/extension_accessibility_api.h \ chrome/browser/extensions/extension_accessibility_api.cc \ chrome/browser/extensions/extension_accessibility_api_constants.h \ chrome/browser/gtk/accessible_widget_helper_gtk.h \ chrome/browser/gtk/accessible_widget_helper_gtk.cc \ chrome/browser/gtk/accessibility_event_router_gtk.h \ chrome/browser/gtk/accessibility_event_router_gtk.cc \ chrome/common/accessibility_events.cc \ chrome/common/accessibility_events.h requires just 1 copy-paste. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=37350

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M presubmit_canned_checks.py View 1 chunk +1 line, -1 line 0 comments Download
M presubmit_support.py View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Evan Stade
10 years, 11 months ago (2010-01-27 22:47:21 UTC) #1
M-A Ruel
Good idea, can you change presubmit_canned_checks.py at the same time so it ends with "svn ...
10 years, 11 months ago (2010-01-27 22:52:42 UTC) #2
Evan Stade
ok updated. Also updated the example. Does that look ok?
10 years, 11 months ago (2010-01-27 23:21:08 UTC) #3
M-A Ruel
lgtm as-is if you don't like my idea. http://codereview.chromium.org/552202/diff/2002/2003 File presubmit_support.py (right): http://codereview.chromium.org/552202/diff/2002/2003#newcode101 presubmit_support.py:101: for ...
10 years, 11 months ago (2010-01-27 23:30:19 UTC) #4
Evan Stade
updated, take a quick look? -- Evan Stade On Wed, Jan 27, 2010 at 3:30 ...
10 years, 11 months ago (2010-01-27 23:45:00 UTC) #5
M-A Ruel
10 years, 11 months ago (2010-01-27 23:58:15 UTC) #6
lgtm, just make sure running "./presubmit_support.py *.py" still succeed.

Powered by Google App Engine
This is Rietveld 408576698