| Index: gclient_scm.py
|
| diff --git a/gclient_scm.py b/gclient_scm.py
|
| index 12450a70285e773c3b57f54d6f025cd4af3604d1..e17702c5475c36114e783381c6d1be550187a02d 100644
|
| --- a/gclient_scm.py
|
| +++ b/gclient_scm.py
|
| @@ -161,7 +161,7 @@ class SCMWrapper(object):
|
| """Attempt to determine the remote URL for this SCMWrapper."""
|
| # Git
|
| if os.path.exists(os.path.join(self.checkout_path, '.git')):
|
| - actual_remote_url = shlex.split(self._Capture(
|
| + actual_remote_url = shlex.split(scm.GIT.Capture(
|
| ['config', '--local', '--get-regexp', r'remote.*.url'],
|
| cwd=self.checkout_path))[1]
|
|
|
| @@ -171,7 +171,7 @@ class SCMWrapper(object):
|
| mirror = git_cache.Mirror(url)
|
| if (mirror.exists() and mirror.mirror_path.replace('\\', '/') ==
|
| actual_remote_url.replace('\\', '/')):
|
| - actual_remote_url = shlex.split(self._Capture(
|
| + actual_remote_url = shlex.split(scm.GIT.Capture(
|
| ['config', '--local', '--get-regexp', r'remote.*.url'],
|
| cwd=mirror.mirror_path))[1]
|
| return actual_remote_url
|
|
|