Mailinglist Archive: zypp-commit (233 mails)

< Previous Next >
[zypp-commit] <sat-solver> master : - use SOLVER_SOLUTION_DISTUPGRADE instead of replacing
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Wed, 4 Nov 2009 12:37:35 +0100
  • Message-id: <E1N5eBj-0000T1-Ql@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit 393b9b7e2c3104fda4bdae40b5e2c0d0a0959585
Author: Michael Schroeder <mls@xxxxxxx>
Date: Wed Nov 4 12:37:35 2009 +0100

- use SOLVER_SOLUTION_DISTUPGRADE instead of replacing
package with itself in dup mode
---
src/problems.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/problems.c b/src/problems.c
index 1d074da..70ffde4 100644
--- a/src/problems.c
+++ b/src/problems.c
@@ -440,7 +440,7 @@ convertsolution(Solver *solv, Id why, Queue *solutionq)
if (solv->distupgrade && solv->rules[why].p != p && solv->decisionmap[p]
0)
{
/* distupgrade case, allow to keep old package */
- queue_push(solutionq, p);
+ queue_push(solutionq, SOLVER_SOLUTION_DISTUPGRADE);
queue_push(solutionq, p);
return;
}
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages