[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVN Patch Vs GNU Patch

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sat, 04 Jan 2020 11:55:47 +0000

Stefan Sperling wrote on Sat, 04 Jan 2020 09:35 +00:00:
> Patch files can be mangled during transfer in any number of ways.
> Adding workarounds for mangled patches is not a sustainable approach.

Perhaps the maintainers of the "patchutils" package would be open to
adding a tool that fixes this sort of problem. Such a tool could fix the
--- and +++ headers, either heuristically (s/\s\s\s.*//; s/(\t\s|\s\t).*//; etc)
or with reference to files that exist under the cwd. Then patches could
be piped through that tool before being applied by svn.
Received on 2020-01-04 12:56:22 CET

This is an archived mail posted to the Subversion Users mailing list.