summaryrefslogtreecommitdiff
path: root/src/pacman/sync.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-02-25 07:55:16 -0600
committerDan McGee <dan@archlinux.org>2011-02-25 07:55:16 -0600
commit2f96764058b89ff32c928a736308c5095f1ff764 (patch)
treeb85aa9d1b41b62d38f0ac8aba87bdbcd806d9375 /src/pacman/sync.c
parentd4d304cdb7b59e3b5ab7d5825404593a3476f127 (diff)
Continue resolving dependencies rather than bailing on first error
This allows error messages emitted by the frontend to be a bit more descriptive and not have the annoying "well why didn't you tell me that the first time" problem. If a package had multiple missing deps, we would bail on the first one before rather than finish processing all missing dependencies, and only print one error message. Instead, continue through this entire set of missing deps and append all eventual errors. The added pactest tests this case, as the to be installed package has two missing dependencies. However, pactest does not actually test or see the difference in output from before and after, so it passes in both cases, but it is clearly visible in the logs. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/sync.c')
0 files changed, 0 insertions, 0 deletions