1 |
On 2021-10-13, Rich Freeman <rich0@g.o> wrote: |
2 |
> On Wed, Oct 13, 2021 at 2:50 PM Grant Edwards <grant.b.edwards@×××××.com> wrote: |
3 |
>> |
4 |
>> Is there some reason it should default |
5 |
>> to doing unlimited depth fetch operations? |
6 |
>> |
7 |
> |
8 |
> If all you want is a repo, no reason to set the depth higher. |
9 |
|
10 |
Then a default of 1 seems like the obvious "right" answer. |
11 |
Unfortunately, it defaults to "unlimited" according to |
12 |
https://wiki.gentoo.org/wiki//etc/portage/repos.conf |
13 |
|
14 |
sync-depth |
15 |
|
16 |
Specifies sync depth to use for DVCS repositories. If set to 0, |
17 |
the depth is unlimited. Defaults to 0. |
18 |
|
19 |
> If you want to see the history then you'll want it all. |
20 |
|
21 |
Apparently, that's the default. Without any sync-depth setting the |
22 |
fetch was stalling and then timing out after 60s. With sync-depth=1, |
23 |
the fetch completed in about 1s. |
24 |
|
25 |
-- |
26 |
Grant |