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

Issue 215022: gclient_scm: add test for unsupported scm (Closed)

Created:
11 years, 3 months ago by Mandeep Singh Baines
Modified:
9 years, 7 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

gclient_scm: add test for unsupported scm gclient_scm: use a map for deciding whether or not the scm is supported gclient_scm: add a checks for unsupported scm and unimplemented method git_scm: pull out svn code into SVNWrapper gclient_scm: create a create_scm factory method Use a factory method to abstract SCMWrapper creation. This method will eventually return the correct subclass of SCMWrapper. Initially, there will only be SVNWrapper. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26823

Patch Set 1 #

Total comments: 1

Patch Set 2 : converted to create_scm to CreateSCM #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -60 lines) Patch
M gclient.py View 1 4 chunks +4 lines, -4 lines 0 comments Download
M gclient_scm.py View 1 4 chunks +28 lines, -12 lines 0 comments Download
M tests/gclient_test.py View 1 16 chunks +51 lines, -44 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Mandeep Singh Baines
11 years, 3 months ago (2009-09-18 20:51:56 UTC) #1
M-A Ruel
http://codereview.chromium.org/215022/diff/1/3 File gclient_scm.py (right): http://codereview.chromium.org/215022/diff/1/3#newcode32 Line 32: def create_scm(url=None, root_dir=None, relpath=None, scm_name='svn'): Naa, I win: ...
11 years, 3 months ago (2009-09-18 21:20:33 UTC) #2
msb
maruel@chromium.org (maruel@chromium.org) wrote: > > http://codereview.chromium.org/215022/diff/1/3 > File gclient_scm.py (right): > > http://codereview.chromium.org/215022/diff/1/3#newcode32 > Line ...
11 years, 3 months ago (2009-09-18 21:49:08 UTC) #3
Mandeep Singh Baines
11 years, 3 months ago (2009-09-18 23:48:48 UTC) #4
msb
Fixed. PTAL. maruel@chromium.org (maruel@chromium.org) wrote: > > http://codereview.chromium.org/215022/diff/1/3 > File gclient_scm.py (right): > > http://codereview.chromium.org/215022/diff/1/3#newcode32 ...
11 years, 3 months ago (2009-09-18 23:50:23 UTC) #5
M-A Ruel
11 years, 3 months ago (2009-09-21 00:34:30 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698