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

Issue 216014: 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

Use a factory method to abstract SCMWrapper creation. This method will eventually return the correct subclass of SCMWrapper. Initially, there will only be SVNWrapper. gclient_scm: add test for unsupported scm gclient_scm: make SCMWrapper constructor parameters non-optional 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 TEST= BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26602

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -87 lines) Patch
M gclient.py View 4 chunks +4 lines, -4 lines 0 comments Download
M gclient_scm.py View 3 chunks +31 lines, -20 lines 1 comment Download
M tests/gclient_test.py View 23 chunks +64 lines, -63 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Mandeep Singh Baines
11 years, 3 months ago (2009-09-17 20:53:37 UTC) #1
M-A Ruel
http://codereview.chromium.org/216014/diff/1/3 File gclient_scm.py (right): http://codereview.chromium.org/216014/diff/1/3#newcode32 Line 32: def create_scm(url, root_dir, relpath, scm_name='svn'): Functions should be ...
11 years, 3 months ago (2009-09-17 20:56:15 UTC) #2
msb
maruel@chromium.org (maruel@chromium.org) wrote: > > http://codereview.chromium.org/216014/diff/1/3 > File gclient_scm.py (right): > > http://codereview.chromium.org/216014/diff/1/3#newcode32 > Line ...
11 years, 3 months ago (2009-09-17 21:28:41 UTC) #3
M-A Ruel
On 2009/09/17 21:28:41, msb_google.com wrote: > What style guide are we using? > > I ...
11 years, 3 months ago (2009-09-17 22:34:29 UTC) #4
msb
On Thu, Sep 17, 2009 at 3:34 PM, <maruel@chromium.org> wrote: > On 2009/09/17 21:28:41, msb_google.com ...
11 years, 3 months ago (2009-09-17 22:39:25 UTC) #5
M-A Ruel
On 2009/09/17 22:39:25, msb_google.com wrote: > On Thu, Sep 17, 2009 at 3:34 PM, <mailto:maruel@chromium.org> ...
11 years, 3 months ago (2009-09-17 22:42:37 UTC) #6
msb
maruel@chromium.org (maruel@chromium.org) wrote: > On 2009/09/17 22:39:25, msb_google.com wrote: >> On Thu, Sep 17, 2009 ...
11 years, 3 months ago (2009-09-18 02:00:05 UTC) #7
M-A Ruel
11 years, 3 months ago (2009-09-18 13:13:10 UTC) #8
On 2009/09/18 02:00:05, msb_google.com wrote:
> Can you please submit this for me. I don't have permissions.

Let'll let you the pleasure to check-in yourself. :)

Powered by Google App Engine
This is Rietveld 408576698