app/services/katello/pulp3/repository/yum.rb in katello-4.7.0.rc2 vs app/services/katello/pulp3/repository/yum.rb in katello-4.7.0
- old
+ new
@@ -208,10 +208,11 @@
first_slice = remove_all
content_unit_hrefs.each_slice(UNIT_LIMIT) do |slice|
tasks << add_content(slice, first_slice)
first_slice = false
end
- else
+ # If we're merging composite cv repositories, don't clear out the Pulp repository.
+ elsif remove_all
tasks << remove_all_content
end
tasks
end