diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-23 13:14:42 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-23 13:14:42 +0000 |
commit | 73541f4cf13f9bf1d61f0ec98ebd6e5601d1661b (patch) | |
tree | 5050265a169e28566e4cea19c40756604f7b6b31 | |
parent | bf5c13dc382b88a5189c1f1bb94690ff76573b1b (diff) | |
download | urpmi-73541f4cf13f9bf1d61f0ec98ebd6e5601d1661b.tar urpmi-73541f4cf13f9bf1d61f0ec98ebd6e5601d1661b.tar.gz urpmi-73541f4cf13f9bf1d61f0ec98ebd6e5601d1661b.tar.bz2 urpmi-73541f4cf13f9bf1d61f0ec98ebd6e5601d1661b.tar.xz urpmi-73541f4cf13f9bf1d61f0ec98ebd6e5601d1661b.zip |
rename urpm::install::create_transaction() into build_transaction_set_()
(to avoid confusion with $db->create_transaction from URPM.xs)
-rw-r--r-- | urpm/install.pm | 2 | ||||
-rw-r--r-- | urpm/main_loop.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/urpm/install.pm b/urpm/install.pm index 7687eb71..e08be38b 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -29,7 +29,7 @@ sub prepare_transaction { } } -sub create_transaction { +sub build_transaction_set_ { my ($urpm, $state, %options) = @_; if ($urpm->{parallel_handler} || !$options{split_length} || diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm index 0f074ef3..28aeb5f6 100644 --- a/urpm/main_loop.pm +++ b/urpm/main_loop.pm @@ -58,7 +58,7 @@ $callbacks->{post_removable} and $callbacks->{post_removable}->(); #- now create transaction just before installation, this will save user impression of slowness. #- split of transaction should be disabled if --test is used. -urpm::install::create_transaction($urpm, $state, +urpm::install::build_transaction_set_($urpm, $state, nodeps => $urpm->{options}{'allow-nodeps'} || $urpm->{options}{'allow-force'}, split_level => $urpm->{options}{'split-level'}, split_length => !$test && $urpm->{options}{'split-length'}); |