]> git.saurik.com Git - apt.git/commit
revert file-hash based action-merging in acquire
authorDavid Kalnischkies <david@kalnischkies.de>
Fri, 15 Jan 2016 01:45:35 +0000 (02:45 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Fri, 15 Jan 2016 01:45:35 +0000 (02:45 +0100)
commitfeb674aba51dcb26f5281b5b38fbc5893f757170
tree27a245c075ccd08f9e401cc0222c92918663bb0d
parent62428dbc17ffa7b5b8188e88609a9438428d6024
revert file-hash based action-merging in acquire

Introduced in 9d2a8a7388cf3b0bbbe92f6b0b30a533e1167f40 apt tries to
merge actions like downloading the same (as judged by hashes) file
into doing it once. The implementation was very simple in that it isn't
planing at all. Turns out that it works 90% of the time just fine, but
has issues in more complicated situations in which items can be in
different stages downloading different files emitting potentially the
"wrong" hash – like while pdiffs are worked on we might end up copying
the patch instead of the result file giving us very strange errors in
return. Reverting the change until we can implement a better planing
solution seems to be the best course of action even if its sad.

Closes: 810046
apt-pkg/acquire.cc
test/integration/skip-acquire-same-repository-multiple-times [new file with mode: 0755]
test/integration/test-acquire-same-repository-multiple-times [deleted file]