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.
The code that causes this is part of a workaround:
# repo download doesn't work from android-build. Use a workaround.
#extra_ config = "repo download %s %s/%s" % ( chSet"] ["number" ])
extra_ config += "CONFIGURATION='%s && %s && %s && %s'" % (
"git fetch http:// %s/p/%s %s" % (self.gc. review_ host,
rev["project" ],
rev["currentPa tchSet" ]["ref" ]),
"git checkout FETCH_HEAD",
# It's probably something to do with the mirroring we do.
# rev["project"],
# rev["number"],
# rev["currentPat
"cd %s" % (rev["project"]),
"cd -")
If we can determine what causes repo download to fail, we can fix this by taking out the workaround.