| Index: gclient_scm.py
|
| diff --git a/gclient_scm.py b/gclient_scm.py
|
| index fd098e2405f4cfb17e4a20d2fc8618f3300f9a5e..4f2e1e2186eef28c05e13731a74c8ed3088f175b 100644
|
| --- a/gclient_scm.py
|
| +++ b/gclient_scm.py
|
| @@ -158,7 +158,8 @@ class SCMWrapper(object):
|
|
|
| actual_remote_url = self.GetActualRemoteURL()
|
| if actual_remote_url:
|
| - return actual_remote_url.rstrip('/') == self.url.rstrip('/')
|
| + return (gclient_utils.SplitUrlRevision(actual_remote_url)[0].rstrip('/')
|
| + == gclient_utils.SplitUrlRevision(self.url)[0].rstrip('/'))
|
| else:
|
| # This may occur if the self.checkout_path exists but does not contain a
|
| # valid git or svn checkout.
|
|
|