Sean McAllister 74e8ed4bde Expose upstream and dest-branch attributes through environment
Recent changes in ChromeOS Infra to ensure we're reading from
snapshot manifests properly have exposed several bugs in our
assumptions about manifest files.  Mainly that the revision field
for a project does _not_ have to refer to a ref, it can just be
a commit hash.

Several places assume that the revision field can be parsed as a
ref to get the branch the project is on, which isn't true.  To fix
this we need to be able to look at the upstream and dest-branch
attributes of the repo, so we expose them through the environment
variables set in `repo forall`.

Test: manual 'repo forall' run
Bug: https://crbug.com/1032441

Change-Id: I2c039e0f4b2e0f430602932e91b782edb6f9b1ed
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/263132
Reviewed-by: Mike Frysinger <vapier@google.com>
Tested-by: Sean McAllister <smcallis@google.com>
2020-04-16 18:42:53 +00:00
..
2020-02-20 06:14:00 +00:00
2020-02-17 23:49:47 +00:00
2020-03-23 00:31:10 +00:00
2020-02-12 11:44:59 +00:00
2020-03-25 04:55:50 +00:00
2019-06-13 14:30:52 +00:00
2020-02-19 00:24:43 +00:00
2020-02-19 00:24:43 +00:00
2020-04-02 21:17:54 +00:00