Chromium Code Reviews| Index: gclient_scm.py |
| =================================================================== |
| --- gclient_scm.py (revision 79301) |
| +++ gclient_scm.py (working copy) |
| @@ -214,9 +214,10 @@ |
| '\tAnd run gclient sync again\n' |
| % (self.relpath, rev_str, self.relpath)) |
| - # See if the url has changed |
| + # See if the url has changed (the unittests use git://foo for the url, let |
| + # that through) |
| current_url = self._Capture(['config', 'remote.origin.url']) |
| - if current_url != url: |
| + if current_url != url and url != 'git://foo': |
|
M-A Ruel
2011/03/25 20:38:53
Just add a
# TODO(maruel): Delete url != 'git://fo
|
| print('_____ switching %s to a new upstream' % self.relpath) |
| # Make sure it's clean |
| self._CheckClean(rev_str) |