aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-11 13:16:54 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-11 13:16:54 +0000
commit54d2cc331e3a3518e7584b23fa38fe8bdfdf20d7 (patch)
treee51c2803c5182e34628602ab9fc829c6edbbccc6 /URPM
parente885a359c8a03b13741c81313767d692e200bf9b (diff)
downloadperl-URPM-54d2cc331e3a3518e7584b23fa38fe8bdfdf20d7.tar
perl-URPM-54d2cc331e3a3518e7584b23fa38fe8bdfdf20d7.tar.gz
perl-URPM-54d2cc331e3a3518e7584b23fa38fe8bdfdf20d7.tar.bz2
perl-URPM-54d2cc331e3a3518e7584b23fa38fe8bdfdf20d7.tar.xz
perl-URPM-54d2cc331e3a3518e7584b23fa38fe8bdfdf20d7.zip
drop callback_backtrack, unused for a long time
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Resolve.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 2dec4ab..fa6c51f 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -334,9 +334,6 @@ sub backtrack_selected {
exists $state->{backtrack}{selected}{$_->id} and next;
#- a package if found is problably rejected or there is a problem.
if ($state->{rejected}{$_->fullname}) {
- if (!$options{callback_backtrack} ||
- $options{callback_backtrack}->($urpm, $db, $state, $_,
- dep => $dep, alternatives => $packages, %options) <= 0) {
#- keep in mind a backtrack has happening here...
$state->{rejected}{$_->fullname}{backtrack} ||=
{ exists $dep->{promote} ? (promote => [ $dep->{promote} ]) : @{[]},
@@ -345,7 +342,6 @@ sub backtrack_selected {
#- backtrack callback should return a strictly positive value if the selection of the new
#- package is prefered over the currently selected package.
next;
- }
}
$state->{backtrack}{selected}{$_->id} = undef;