[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New method for Packages/Sources file updates



Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> writes:

> Goswin von Brederlow wrote:
> [snip]
>> >> very hard (figure out how to make a minimal diff
>> >> from the daylies) or you need every days Packages file (apt-dupdate
>> >> does that).
>> >
>> > It is not "very hard" to re-diff a few files to incorporate the changes
>> > between old and new Packages file.
>> 
>> Then how do you do it? If you don't store the Packages files then all
>> you have are the diffs. That means you have a series of "remove x-y"
>> and "insert 'text' @ x" blocks. I don't call it simple to figure out
>> all the overlaps and to generate new delete and insert blocks for it.
>> 
>> Is there any program in Debian to do this for ed script style diffs?
>
> patch -e

That tells patch that the input is an ed script patch file and needs
to be piped to ed. This does not create a cummulative diff from two ed
script patches unless I'm very mistaken.

> Thiemo

MfG
        Goswin



Reply to: