gnu-arch-users
[Top][All Lists]
Advanced

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

RE: [Gnu-arch-users] Extracting a standard diff


From: Johannes Berg
Subject: RE: [Gnu-arch-users] Extracting a standard diff
Date: Mon, 14 Jun 2004 13:26:28 +0200 (CEST)
User-agent: SquirrelMail/1.5.0

Jacob Gorm Hansen said:
>> I use something like:  tla changes --diffs | filterdiff -o '*{arch}*'
>>
>> [`filterdiff' is in the "patchutils" package, at least in debian.]
>
> Thanks, that helps somewhat. How do you handle newly added files then?
> They
> are represented as .../new-files-archive/mynewfile... which 'patch' does
> not
> seems to be able to magically convert into just 'mynewfile'. Time for some
> sed hacking?

Thats a bug, for now you can edit by hand or do sed hacking or ...

> It seems to me that tla changes should just have a 'extract as standard
> diff' option.

Not really necessary, afaik patch will handle the extra "junk" fine by
simply skipping it. And filterdiff (as Miles wrote) allows you to get rid
of the {arch} directory completely.

What more do you need/want?

johannes




reply via email to

[Prev in Thread] Current Thread [Next in Thread]