Mailinglist Archive: zypp-commit (233 mails)

< Previous Next >
[zypp-commit] <libzypp> master : dup: Process drop list only if product actually changes. (bnc #552180)
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Fri, 6 Nov 2009 13:32:20 +0100
  • Message-id: <E1N6WCT-0006B5-Jg@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit 2cb6583a7a8c76409ed6cbdd5120dab0f8447e30
Author: Michael Andres <ma@xxxxxxx>
Date: Fri Nov 6 13:32:20 2009 +0100

dup: Process drop list only if product actually changes. (bnc #552180)
---
zypp/solver/detail/SATResolver.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/zypp/solver/detail/SATResolver.cc
b/zypp/solver/detail/SATResolver.cc
index 1e73b15..7826db2 100644
--- a/zypp/solver/detail/SATResolver.cc
+++ b/zypp/solver/detail/SATResolver.cc
@@ -629,8 +629,8 @@ SATResolver::solverInit(const PoolItemList & weakItems)
if ( (*it)->onSystem() ) // (to install) or (not to delete)
{
Product::constPtr prodCand( (*it)->candidateAsKind<Product>() );
- if ( ! prodCand )
- continue; // product no longer available
+ if ( ! prodCand || (*it)->identicalInstalledCandidate() )
+ continue; // product no longer available or unchanged

CapabilitySet droplist( prodCand->droplist() );
dumpRangeLine( MIL << "Droplist for " << (*it)->candidateObj() <<
": " << droplist.size() << " ", droplist.begin(), droplist.end() ) << endl;
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages