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

Issue 119442: A step closer to make presubmit SCM independent. (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

A step closer to make presubmit SCM independent. Stop presubmit_support.py from calling gcl.GetRepositoryRoot(). Instead, save the repository root in ChangeInfo and name it GetLocalRoot() to make it less confusing. Add GetFileList() and GetFileNames() to ChangeInfo to make it less confusing and more "interface-like". TEST=updated unit tests with a lot of pain BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=18266

Patch Set 1 #

Patch Set 2 : Remove crap #

Patch Set 3 : sync to trunk #

Patch Set 4 : . #

Patch Set 5 : unit tests pass #

Patch Set 6 : simplify the change #

Total comments: 1

Patch Set 7 : Rename GetFileList() to GetFiles() #

Patch Set 8 : oops #

Unified diffs Side-by-side diffs Delta from patch set Stats (+303 lines, -207 lines) Patch
M gcl.py View 1 2 3 4 5 6 7 18 chunks +40 lines, -29 lines 0 comments Download
M presubmit_support.py View 1 2 3 4 5 6 6 chunks +10 lines, -11 lines 0 comments Download
M tests/gcl_unittest.py View 1 2 3 4 5 6 15 chunks +58 lines, -31 lines 0 comments Download
M tests/presubmit_unittest.py View 1 2 3 4 5 6 26 chunks +195 lines, -136 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
M-A Ruel
11 years, 6 months ago (2009-06-11 21:11:02 UTC) #1
Jói Sigurðsson
11 years, 6 months ago (2009-06-12 01:22:09 UTC) #2
LGTM with nit

http://codereview.chromium.org/119442/diff/4002/4003
File gcl.py (right):

http://codereview.chromium.org/119442/diff/4002/4003#newcode297
Line 297: def GetFileList(self):
suggest just GetFiles

Powered by Google App Engine
This is Rietveld 408576698