]> git.saurik.com Git - apt.git/commit - methods/rred.cc
reimplement rred to allow applying all the diffs in a single pass
authorAnthony Towns <aj@erisian.com.au>
Wed, 15 Jan 2014 15:33:36 +0000 (16:33 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 15 Jan 2014 21:43:14 +0000 (22:43 +0100)
commitdbd5418b895c0ae3d6585ad38bd40920a456855e
tree79272a094a5c0392c488b49d661cdf946db3ca2b
parent9aaa45283b14c3c81641f3f3e38157a267b1e8f7
reimplement rred to allow applying all the diffs in a single pass

Based on the idea presented in:
https://lists.debian.org/deity/2009/08/msg00169.html  and
https://lists.debian.org/debian-devel/2014/01/msg00081.html

It reads all patches one by one and merges them in-memory before
applying the merged changes to the index.

Beware: This commit by David Kalnischkies rips out the rred binary
rewrite unchanged (expect minor format issue corrections) from the
proposed changes, so this commit alone BREAKS pdiff completely.
The integration into the acquire system as it was prepared in the
previous POC will be done in the next commit to have proper 'blame'.
methods/rred.cc