On 2021-10-13, Rich Freeman <ri...@gentoo.org> wrote: > On Wed, Oct 13, 2021 at 2:50 PM Grant Edwards <grant.b.edwa...@gmail.com> > wrote: >> >> Is there some reason it should default >> to doing unlimited depth fetch operations? >> > > If all you want is a repo, no reason to set the depth higher.
Then a default of 1 seems like the obvious "right" answer. Unfortunately, it defaults to "unlimited" according to https://wiki.gentoo.org/wiki//etc/portage/repos.conf sync-depth Specifies sync depth to use for DVCS repositories. If set to 0, the depth is unlimited. Defaults to 0. > If you want to see the history then you'll want it all. Apparently, that's the default. Without any sync-depth setting the fetch was stalling and then timing out after 60s. With sync-depth=1, the fetch completed in about 1s. -- Grant