| Index: gclient_scm.py
|
| diff --git a/gclient_scm.py b/gclient_scm.py
|
| index 0de67bd584134be632ae572d9fd6f2da880c83c9..ab07b830dad4d296bf295af53a3b061a37d57d5a 100644
|
| --- a/gclient_scm.py
|
| +++ b/gclient_scm.py
|
| @@ -166,7 +166,8 @@ class SCMWrapper(object):
|
|
|
| # If a cache_dir is used, obtain the actual remote URL from the cache.
|
| if getattr(self, 'cache_dir', None):
|
| - mirror = git_cache.Mirror(self.url)
|
| + url, _ = gclient_utils.SplitUrlRevision(self.url)
|
| + mirror = git_cache.Mirror(url)
|
| if (mirror.exists() and mirror.mirror_path.replace('\\', '/') ==
|
| actual_remote_url.replace('\\', '/')):
|
| actual_remote_url = shlex.split(self._Capture(
|
|
|