Reject inconsistent backtrack parameters
authorSebastian Luther <SebastianLuther@gmx.de>
Mon, 19 Sep 2011 13:07:08 +0000 (15:07 +0200)
committerZac Medico <zmedico@gentoo.org>
Tue, 20 Sep 2011 16:47:34 +0000 (09:47 -0700)
commit6cea2091526659521d35be6c8dc7733f69f1a760
tree3f3e2598d61469ce598b7b89bcf6b60ac0b8e5d9
parent72ef29a6adaa053cf2d538349a3a1555909ed697
Reject inconsistent backtrack parameters

If backtracking masks a package that caused another package to
be masked, we declare this backtracking node as invalid. The
backtracker should be able to find another node that gives a
valid solution if one exists. This fixes bug 375573.
pym/_emerge/depgraph.py
pym/_emerge/resolver/backtracking.py
pym/portage/tests/resolver/test_backtracking.py