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.