1
mirror of https://gerrit.googlesource.com/git-repo synced 2025-04-06 14:09:35 +00:00
David Pursehouse 9bc422f130 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
2014-04-16 11:00:40 +09:00
2013-12-10 15:30:03 -08:00
2012-11-14 11:38:57 +09:00
2013-03-08 01:18:08 +00:00
2013-02-26 16:04:55 +09:00
2008-10-21 07:00:00 -07:00
2013-11-21 06:03:22 +00:00
2011-09-19 14:52:57 -07:00
2014-01-30 15:17:09 -08:00
Description
No description provided
Apache-2.0 36 MiB
Languages
Python 98.9%
Shell 1%
Roff 0.1%