summaryrefslogtreecommitdiffstats
path: root/manifest_xml.py
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2015-04-27 10:41:33 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2015-04-27 10:56:27 +0900
commit403b64edf468204597559cf61b346b93af9af232 (patch)
tree535ad68291d80eaea7986ccfc9dc40946e2e78b0 /manifest_xml.py
parenta38769cda88fce2e96c02021060a4c7d2cb96cc8 (diff)
downloadgit-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 'manifest_xml.py')
0 files changed, 0 insertions, 0 deletions