Open GoogleCodeExporter opened 9 years ago
Right, it doesn't process header, because it is SVN header - not the header of
unified diff format.
You can not apply such 'svn diff' for binary file, because there is no unified
diff data at all - if you execute `svn diff > somefile.diff.txt` - you'll see
that somefile.diff doesn't contain any binary data to be copied over either.
What can be done is detection for this specific SVN case and complain message
that 'svn diff' for binary files can not be applied, because, well, this binary
data is missing from svn diffs.
Original comment by techtonik@gmail.com
on 31 Mar 2011 at 9:29
Additional parsing for specific cases (like detection of Mercurial and Git
patches) is made at the end of parse() function. I'll try release an updated
python-patch with these changes soon.
Thanks for report, btw.
Original comment by techtonik@gmail.com
on 31 Mar 2011 at 9:32
Original issue reported on code.google.com by
azasyp...@gmail.com
on 31 Mar 2011 at 8:07