Revert 32057, 32058, 32059, 32062 because they still have unwanted side-effects.
Revert "Group SCM-specific functions in classes to simplify generalization of the interface."
Revert "Fix 2 recently introduced errors."
Revert "Fix a variable aliasing error."
Revert "Fix typo."
TBR=dpranke
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/391075
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@32065 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/gclient.py b/gclient.py
index 9edadc2..86d10f4 100755
--- a/gclient.py
+++ b/gclient.py
@@ -66,7 +66,7 @@
"""
__author__ = "darinf@gmail.com (Darin Fisher)"
-__version__ = "0.3.4"
+__version__ = "0.3.3"
import errno
import logging
@@ -747,9 +747,9 @@
# 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.scm.SVN.CaptureStatus(e_dir)
+ modified_files = gclient_scm.CaptureSVNStatus(e_dir)
else:
file_list = []
scm = gclient_scm.CreateSCM(prev_entries[entry], self._root_dir,
@@ -830,7 +830,7 @@
(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.scm.SVN.Capture(
+ entries_deps_content[name] = gclient_scm.CaptureSVN(
["cat",
"%s/%s@%s" % (url,
self._options.deps_file,