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

Issue 6897005: presubmit_support: cache the result of ChangedContents. (Closed)

Created:
9 years, 8 months ago by ncarter (slow)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Dirk Pranke, M-A Ruel
Visibility:
Public.

Description

presubmit_support: cache the result of ChangedContents. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=83228

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : Fix spelling thing. #

Total comments: 6

Patch Set 4 : Checkpoint pass @ review fixes (does not pass unittests) #

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : use assertEquals #

Patch Set 7 : presubmit_support: cache the result of ChangedContents. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -21 lines) Patch
M presubmit_support.py View 1 2 3 4 5 6 5 chunks +18 lines, -10 lines 0 comments Download
M tests/presubmit_unittest.py View 1 2 3 4 5 6 3 chunks +17 lines, -11 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ncarter (slow)
9 years, 8 months ago (2011-04-22 22:54:56 UTC) #1
M-A Ruel
http://codereview.chromium.org/6897005/diff/3/presubmit_support.py File presubmit_support.py (right): http://codereview.chromium.org/6897005/diff/3/presubmit_support.py#newcode15 presubmit_support.py:15: import copy not needed. http://codereview.chromium.org/6897005/diff/3/presubmit_support.py#newcode487 presubmit_support.py:487: self._cached_new_contents = gclient_utils.FileRead( ...
9 years, 8 months ago (2011-04-23 01:05:02 UTC) #2
ncarter (slow)
Fixed. http://codereview.chromium.org/6897005/diff/3/presubmit_support.py File presubmit_support.py (right): http://codereview.chromium.org/6897005/diff/3/presubmit_support.py#newcode15 presubmit_support.py:15: import copy On 2011/04/23 01:05:03, Marc-Antoine Ruel wrote: ...
9 years, 8 months ago (2011-04-26 17:15:19 UTC) #3
M-A Ruel
lgtm http://codereview.chromium.org/6897005/diff/6001/tests/presubmit_unittest.py File tests/presubmit_unittest.py (right): http://codereview.chromium.org/6897005/diff/6001/tests/presubmit_unittest.py#newcode1229 tests/presubmit_unittest.py:1229: self.failUnless(af.NewContents() == []) nit: I prefer: self.assertEquals('', af.ServerPath()) ...
9 years, 8 months ago (2011-04-27 14:07:43 UTC) #4
ncarter (slow)
http://codereview.chromium.org/6897005/diff/6001/tests/presubmit_unittest.py File tests/presubmit_unittest.py (right): http://codereview.chromium.org/6897005/diff/6001/tests/presubmit_unittest.py#newcode1229 tests/presubmit_unittest.py:1229: self.failUnless(af.NewContents() == []) On 2011/04/27 14:07:43, Marc-Antoine Ruel wrote: ...
9 years, 8 months ago (2011-04-27 20:55:13 UTC) #5
commit-bot: I haz the power
Presubmit check for 6897005-7004 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 8 months ago (2011-04-27 21:01:57 UTC) #6
M-A Ruel
9 years, 8 months ago (2011-04-27 21:05:31 UTC) #7
Known issue, just commit manually.

Powered by Google App Engine
This is Rietveld 408576698