diff options
author | Bryan Ischo <bji-keyword-pacman.3644cb@www.ischo.com> | 2009-03-08 21:56:13 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-04-11 21:39:24 +0200 |
commit | db3e166503386b4f9e456017fd56d8bce84528fe (patch) | |
tree | 6be74c28ff430128c8a1a7a3064e32d3fe49d5ec /pactest/tests/sync102.py | |
parent | d70465decc617412db0670c8169ec22421c8e3d1 (diff) | |
download | pacman-db3e166503386b4f9e456017fd56d8bce84528fe.tar.gz pacman-db3e166503386b4f9e456017fd56d8bce84528fe.tar.xz |
Look in target-list first to resolve dependencies
This fixes a bug introduced by my previous changes which changes the
behavior of IgnorePkg/IgnoreGroup to allow the user to remove unresolvable
packages from the transaction. The bug is that the target-list was no
longer being consulted first to resolve dependencies, which means that if
two packages in the sync database satisfied a dependency, and the user
explicitly requested one of those two packages in the sync, the other
package was still being pulled in.
A new test was added, sync993.py, to verify the desired behavior.
Signed-off-by: Bryan Ischo <bji-keyword-pacman.3644cb@www.ischo.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests/sync102.py')
0 files changed, 0 insertions, 0 deletions