projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5b5533
)
- don't show vendor/arch changes for packages that were mapped to "erased"
author
Michael Schroeder
<mls@suse.de>
Tue, 20 Mar 2012 10:38:47 +0000
(11:38 +0100)
committer
Michael Schroeder
<mls@suse.de>
Tue, 20 Mar 2012 10:38:47 +0000
(11:38 +0100)
src/transaction.c
patch
|
blob
|
history
diff --git
a/src/transaction.c
b/src/transaction.c
index
e1c0d2f
..
816e125
100644
(file)
--- a/
src/transaction.c
+++ b/
src/transaction.c
@@
-420,6
+420,9
@@
transaction_classify(Transaction *trans, int mode, Queue *classes)
ntypes[type]++;
if (!pool->installed || s->repo != pool->installed)
continue;
+ /* don't report vendor/arch changes if we were mapped to erase. */
+ if (type == SOLVER_TRANSACTION_ERASE)
+ continue;
/* look at arch/vendor changes */
q = transaction_obs_pkg(trans, p);
if (!q)