aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-23 13:58:22 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-23 13:58:22 +0100
commite5cd5fc2ae295d41810cf09c6efd65ffeff0c1d3 (patch)
tree3cb741eded1972d8d39c6262ddd499f20b6d2be2
parent33fa0d8db9579cf790250d530157dfd9f53b88fc (diff)
downloadpaludis-e5cd5fc2ae295d41810cf09c6efd65ffeff0c1d3.tar.gz
paludis-e5cd5fc2ae295d41810cf09c6efd65ffeff0c1d3.tar.xz
Don't recalculate for untaken purges
-rw-r--r--paludis/resolver/decider.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/paludis/resolver/decider.cc b/paludis/resolver/decider.cc
index cf5d152..e88d146 100644
--- a/paludis/resolver/decider.cc
+++ b/paludis/resolver/decider.cc
@@ -1884,7 +1884,10 @@ Decider::_resolve_purges()
c != c_end ; ++c)
_apply_resolution_constraint(resolution, *c);
- changed = true;
+ _decide(resolution);
+
+ if (resolution->decision()->taken())
+ changed = true;
}
return changed;