summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-30 07:06:20 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-30 07:06:20 +0000
commit7ad0f6404fa9257b778928543c280c8d0052c241 (patch)
treecdb011cb178b02d08c12816a61ad12ae40f75fe3 /urpm.pm
parent85bc3fdeb2488c4e7fddddad7af28fa989755124 (diff)
downloadurpmi-7ad0f6404fa9257b778928543c280c8d0052c241.tar
urpmi-7ad0f6404fa9257b778928543c280c8d0052c241.tar.gz
urpmi-7ad0f6404fa9257b778928543c280c8d0052c241.tar.bz2
urpmi-7ad0f6404fa9257b778928543c280c8d0052c241.tar.xz
urpmi-7ad0f6404fa9257b778928543c280c8d0052c241.zip
Re-allow large transactions with --allow-nodeps or --allow-force to
speed up updates (patch by Titi)
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index e9562e12..7bc129a4 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -2209,7 +2209,7 @@ sub resolve_dependencies {
sub create_transaction {
my ($urpm, $state, %options) = @_;
- if ($urpm->{parallel_handler} || !$options{split_length} || $options{nodeps} ||
+ if ($urpm->{parallel_handler} || !$options{split_length} ||
keys %{$state->{selected}} < $options{split_level}) {
#- build simplest transaction (no split).
$urpm->build_transaction_set(undef, $state, split_length => 0);