Comment 1 for bug 870803

Revision history for this message
Frans Gifford (fgiff) wrote :

The code that causes this is part of a workaround:

            # repo download doesn't work from android-build. Use a workaround.
            # It's probably something to do with the mirroring we do.
            #extra_config = "repo download %s %s/%s" % (
            # rev["project"],
            # rev["number"],
            # rev["currentPatchSet"]["number"])
            extra_config += "CONFIGURATION='%s && %s && %s && %s'" % (
                "cd %s" % (rev["project"]),
                "git fetch http://%s/p/%s %s" % (self.gc.review_host,
                                           rev["project"],
                                           rev["currentPatchSet"]["ref"]),
                "git checkout FETCH_HEAD",
                "cd -")

If we can determine what causes repo download to fail, we can fix this by taking out the workaround.