diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-08-15 13:43:34 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-15 14:54:21 -0500 |
commit | 5fc3ecf7f8807c47aeab798f1f496a3fc02b8f69 (patch) | |
tree | 03d5c43dab881b1c9ae212a01135b627b0ca93e2 /lib/libalpm/add.c | |
parent | 796eaaed4064c36e3dd45178b2584115279a482e (diff) | |
download | pacman-5fc3ecf7f8807c47aeab798f1f496a3fc02b8f69.tar.xz |
lib/sync: ignore download errors for as long as possible
Previously, the behavior was such that if a sync operation required
packages from multiple repos, a download error in the first repo would
cause a hard repo, ignoring the remainder of the repositories. Change
this behavior so that we do a better job of fetching as many packages as
possible before aborting the transaction.
There's a little bit of refactoring mixed in here to get rid of some
useless variables. Since we now depend heavily on the value of
handle->pm_errno being accurate the determine the function's return
value, we clear it when the transaction state is set.
Fixes FS#25532.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/add.c')
0 files changed, 0 insertions, 0 deletions