This is the mail archive of the patchutils-list@sourceware.org mailing list for the patchutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Support for index data by splitdiff command


Hi sorry for the SPAM , my fault , elmz is too ... , last try ( I promise :)) 

Hi, 
Don't know if it help, I use svn and I use filterdiff.
filterdiff cleans all things that don't belongs to patch and that
includes Index ...
If you just want a clean splitdiff, you may use : 

svn diff | filterdiff  > txt; splitdiff -a txt


On Wed, 2009-10-07 at 03:22 +0000, patchutils-list-help@sourceware.org
wrote:
>         Hello,
>         
>         I would like to point out an open issue for the tool
>         "splitdiff" from the software package "patchutils 0.3.0-1.52".
>         
>         A special header "Index:" is mentioned in the article
>         "http://en.wikipedia.org/wiki/Diff";. Tools like Subversion
>         write it into difference files. The current command does not
>         handle this data correctly.
>         
>         The following input ...
>         
>         Index: abc.h
>         ===================================================================
>         --- abc.h       (Revision 123)
>         +++ abc.h       (work copy)
>         @@ -1,1 +1,1 @@
>         -check
>         +out
>         Index: xyz.h
>         ===================================================================
>         --- xyz.h       (Revision 987)
>         +++ xyz.h       (work copy)
>         @@ -1,1 +1,1 @@
>         -test
>         +this
>         
>         ... is converted into the following arrangement by "splitdiff
>         -a".
>         
>         First source file:
>         --- abc.h       (Revision 123)
>         +++ abc.h       (work copy)
>         @@ -1,1 +1,1 @@
>         -check
>         +out
>         Index: xyz.h
>         ===================================================================
>         
>         Second source file:
>         --- xyz.h       (Revision 987)
>         +++ xyz.h       (work copy)
>         @@ -1,1 +1,1 @@
>         -test
>         +this
>         
>         
>         I would appreciate if the first file will keep its own header
>         and will not additionally get informations from the second
>         file.
>         
>         Regards,
>         Markus
-- 
SÃrgio M. B.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]