Gentoo Archives: gentoo-portage-dev

From: Brian Dolbec <dolsen@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] emerge: default --backtrack=3 (bug #536926)
Date: Sun, 18 Jan 2015 17:12:39
Message-Id: 20150118091208.7242d670.dolsen@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH] emerge: default --backtrack=3 (bug #536926) by Zac Medico
1 On Sat, 17 Jan 2015 14:57:23 -0800
2 Zac Medico <zmedico@g.o> wrote:
3
4 > The previous default emerge --backtrack=10 setting could lead to lots
5 > of wasted cpu time in cases where it will ultimately fail to find a
6 > valid solution anyway. Therefore, reduce the default to --backtrack=3.
7 >
8 > In order for the BacktrackingTestCase.testBacktrackNoWrongRebuilds to
9 > succeed, the test now needs to specify --backtrack=6. This is a rather
10 > obscure case though, so it does not seem worthwhile to increase the
11 > default because of it.
12 >
13 > X-Gentoo-Bug: 536926
14 > X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=536926
15 > ---
16 > man/emerge.1 | 2 +-
17 > pym/_emerge/depgraph.py | 2 +-
18 > pym/portage/tests/resolver/test_backtracking.py | 7 ++++++-
19 > 3 files changed, 8 insertions(+), 3 deletions(-)
20 >
21
22 Looks good, merge please.
23
24
25 --
26 Brian Dolbec <dolsen>