commit | 500928fbe0e8a86fec91412fee65fda99eedc6b8 | [log] [tgz] |
---|---|---|
author | Nicolas Lacasse <nlacasse@google.com> | Tue Jan 12 14:49:18 2016 -0800 |
committer | Nicolas Lacasse <nlacasse@google.com> | Tue Jan 12 14:49:22 2016 -0800 |
tree | 835cc4dc4780966929203a60b7476cca82fa150d | |
parent | 866be718264be29afb0d6e2607db9f7cb90752e1 [diff] |
jiri: Fix and improve remote repo status checks. Previously jiri was only checking the status of the "master" branch, and replacing any "HEAD" revision with the current value. This caused a bug where projects with a non-master RemoteBranch would end up at the current HEAD of master. Additionally, the old code had a bug whereby projects with the same name could collide, and one project might get set to a revision that does not exist (because it is a revision of a different project with the same name). This CL fixes these bugs, and also improves the repo status check by checking the status of all project remote branches, not just master. We first group all projects by their google source host, and then for each host we make a request with all the branches we care about and set project revisions accordingly. Change-Id: Iae7f059e0afa04107a3f94c086a03aa719c79219
“Jiri integrates repositories intelligently”
This repository implements the Jiri repository management tool.
For documentation, see http://godoc.org/v.io/jiri