diff options
author | David Pursehouse <david.pursehouse@sonymobile.com> | 2014-04-15 10:28:56 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@sonymobile.com> | 2014-04-16 11:00:40 +0900 |
commit | 9bc422f1301a54aaabc6ac279989970c4b6f5137 (patch) | |
tree | 1f7eea668663481daef0e6f3a30aa4d191da2c8e /manifest_xml.py | |
parent | e81bc030bba802627fd34af472fc0cf451e17c1d (diff) | |
download | git-repo-9bc422f1301a54aaabc6ac279989970c4b6f5137.tar.gz |
Ignore clone-depth attribute when fetching to a mirror
If a manifest includes projects with a clone-depth=1 attribute, and a
workspace is initialised from that manifest using the --mirror option,
any workspaces initialised and synced from the mirror will fail with:
fatal: attempt to fetch/clone from a shallow repository
on the projects that had the clone-depth.
Ignore the clone-depth attribute when fetching from the remote to a
mirror workspace. Thus the mirror will be synched with a complete
clone of all the repositories.
Change-Id: I638b77e4894f5eda137d31fa6358eec53cf4654a
Diffstat (limited to 'manifest_xml.py')
0 files changed, 0 insertions, 0 deletions