commit | e3a42432fcde3fec15c3f825c520fcc37b22a582 | [log] [tgz] |
---|---|---|
author | Richard O'Grady <rjogrady@google.com> | Wed Aug 05 15:44:35 2015 -0700 |
committer | Richard O'Grady <rjogrady@google.com> | Wed Aug 05 15:45:39 2015 -0700 |
tree | cddbd2b8602a2e37a037018d257b01f0280279c4 | |
parent | ced4cafe3b2adbcfcb9a5acd1c5fba4beb24c6f2 [diff] |
Fix for branch auto-detection in GerritUpload. The previous merge was broken. Cobalt has extra code to auto-detect what the target branch is, since we usually commit to the COBALT branch. Upstream depot_tools now does detection of the remote as well, but ends up trying to push to remote branches like refs/for/heads/remotes/COBALT This does somehow work in Gerrit, but seems better to prefer our method.