aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-25 16:18:31 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-25 16:18:31 +0000
commite7e8c533b6f98fb49235558a490ad58df43bc3b1 (patch)
treecd7ce9f56ac16ecdde016e49cc846e0d95c30b5a /URPM
parentc00350db4a4d3ea1025ca62bca1085b249619f55 (diff)
downloadperl-URPM-e7e8c533b6f98fb49235558a490ad58df43bc3b1.tar
perl-URPM-e7e8c533b6f98fb49235558a490ad58df43bc3b1.tar.gz
perl-URPM-e7e8c533b6f98fb49235558a490ad58df43bc3b1.tar.bz2
perl-URPM-e7e8c533b6f98fb49235558a490ad58df43bc3b1.tar.xz
perl-URPM-e7e8c533b6f98fb49235558a490ad58df43bc3b1.zip
- allow fixing "using one big transaction" that occurs when using --keep
(#30198) nb: since build_transaction_set calls resolve_requested, it must use the same options to select the same packages
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Resolve.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 2845407..bc6da6b 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -1738,6 +1738,7 @@ sub sorted_rpms_to_string {
}
#- build transaction set for given selection
+#- options: start, end, idlist, split_length, keep
#-
#- side-effects: $state->{transaction}, $state->{transaction_state}
sub build_transaction_set {
@@ -1775,6 +1776,7 @@ sub build_transaction_set {
\%requested,
defined $options{start} ? (start => $options{start}) : @{[]},
defined $options{end} ? (end => $options{end}) : @{[]},
+ keep => $options{keep},
);
my @upgrade = grep { ! exists $examined{$_} } keys %{$state->{transaction_state}{selected}};