Index: gclient.py |
diff --git a/gclient.py b/gclient.py |
index 71c3138e6e478ffab3df0f175107647d77d6023c..1b5d8f4a395c8863d58ce83873162dffb2dea269 100755 |
--- a/gclient.py |
+++ b/gclient.py |
@@ -1051,8 +1051,8 @@ solutions = [ |
for dep in self.dependencies: |
if dep.managed and dep.url: |
scm = gclient_scm.CreateSCM(dep.url, self.root_dir, dep.name) |
- actual_url = scm.GetActualRemoteURL() |
- if actual_url and not scm.DoesRemoteURLMatch(): |
+ actual_url = scm.GetActualRemoteURL(self._options) |
+ if actual_url and not scm.DoesRemoteURLMatch(self._options): |
raise gclient_utils.Error(''' |
Your .gclient file seems to be broken. The requested URL is different from what |
is actually checked out in %(checkout_path)s. |