Chromium Code Reviews| Index: gclient.py |
| diff --git a/gclient.py b/gclient.py |
| index 86d10f4340b91b2fa583a6aed581a8099ac2b335..9edadc2c86f4e5da834fb604233bc564f8016f3d 100755 |
| --- a/gclient.py |
| +++ b/gclient.py |
| @@ -66,7 +66,7 @@ Hooks |
| """ |
| __author__ = "darinf@gmail.com (Darin Fisher)" |
| -__version__ = "0.3.3" |
| +__version__ = "0.3.4" |
| import errno |
| import logging |
| @@ -747,9 +747,9 @@ class GClient(object): |
| # Use entry and not entry_fixed there. |
| if entry not in entries and os.path.exists(e_dir): |
| modified_files = False |
| - if isinstance(prev_entries,list): |
| + if isinstance(prev_entries, list): |
| # old .gclient_entries format was list, now dict |
| - modified_files = gclient_scm.CaptureSVNStatus(e_dir) |
| + modified_files = gclient_scm.scm.SVN.CaptureStatus(e_dir) |
|
Dirk Pranke
2009/11/13 22:42:54
why don't you just import scm directly?
M-A Ruel
2009/11/14 01:15:00
gclient should never reference a SCM directly. It
|
| else: |
| file_list = [] |
| scm = gclient_scm.CreateSCM(prev_entries[entry], self._root_dir, |
| @@ -830,7 +830,7 @@ class GClient(object): |
| (url, rev) = GetURLAndRev(name, solution["url"]) |
| entries[name] = "%s@%s" % (url, rev) |
| # TODO(aharper): SVN/SCMWrapper cleanup (non-local commandset) |
| - entries_deps_content[name] = gclient_scm.CaptureSVN( |
| + entries_deps_content[name] = gclient_scm.scm.SVN.Capture( |
| ["cat", |
| "%s/%s@%s" % (url, |
| self._options.deps_file, |