summaryrefslogtreecommitdiffstats
path: root/git_superproject.py
diff options
context:
space:
mode:
Diffstat (limited to 'git_superproject.py')
-rw-r--r--git_superproject.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/git_superproject.py b/git_superproject.py
index f7ccd574..dad6a3de 100644
--- a/git_superproject.py
+++ b/git_superproject.py
@@ -264,20 +264,10 @@ class Superproject(object):
264 return None 264 return None
265 265
266 projects_missing_commit_ids = [] 266 projects_missing_commit_ids = []
267 superproject_fetchUrl = self._manifest.superproject['remote'].fetchUrl
268 for project in projects: 267 for project in projects:
269 path = project.relpath 268 path = project.relpath
270 if not path: 269 if not path:
271 continue 270 continue
272 # Some manifests that pull projects from the "chromium" GoB
273 # (remote="chromium"), and have a private manifest that pulls projects
274 # from both the chromium GoB and "chrome-internal" GoB (remote="chrome").
275 # For such projects, one of the remotes will be different from
276 # superproject's remote. Until superproject, supports multiple remotes,
277 # don't update the commit ids of remotes that don't match superproject's
278 # remote.
279 if project.remote.fetchUrl != superproject_fetchUrl:
280 continue
281 commit_id = commit_ids.get(path) 271 commit_id = commit_ids.get(path)
282 if commit_id: 272 if commit_id:
283 project.SetRevisionId(commit_id) 273 project.SetRevisionId(commit_id)