diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2015-04-27 10:41:33 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2015-04-27 10:56:27 +0900 |
commit | 403b64edf468204597559cf61b346b93af9af232 (patch) | |
tree | 535ad68291d80eaea7986ccfc9dc40946e2e78b0 /subcmds/forall.py | |
parent | a38769cda88fce2e96c02021060a4c7d2cb96cc8 (diff) | |
download | git-repo-403b64edf468204597559cf61b346b93af9af232.tar.gz |
Don't append branch to fetch spec when syncing to a mirrorv1.12.21
Appending the branch to the fetch spec causes sync of a mirror to
fail for projects that don't have an explicit revision specified,
and don't have a branch of the same name as the default revision.
For example, a manifest defining a default revision:
<default revision="master">
having a project without an explicit revision:
<project name="path/to/project">
and not having a branch named "master", will cause repo sync to
fail for that project with the error:
Couldn't find remote ref refs/heads/master
Modify the logic to not append the branch onto the fetch spec when
syncing to a mirror.
Change-Id: I5c4457bd125519abf27abe682dea62ad708978c9
Diffstat (limited to 'subcmds/forall.py')
0 files changed, 0 insertions, 0 deletions