subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Sperling <>
Subject Re: Git Patch fails to apply with Svn Patch
Date Fri, 02 May 2014 09:05:58 GMT
On Thu, May 01, 2014 at 02:30:33PM -0500, Eric Berge wrote:
> I was running "svn patch" with a patch I created with "git diff" and it
> failed to apply, however it applies just fine with the default "patch"
> command on my Rhel 6.5 system.
> This is due to the "extended header" information that git puts before the
> actual diff in some cases.  I validated this by removing the lines
> beginning with "old mode" and "new mode" in the patch below (file "PATCH2")
> and then "svn patch" applied the patch successfully.

Hi Eric,

can you please re-send the patch which failed to apply as an attachment?
It seem your mailer mangled the patch. The patch format is whitespace
sensitive, unfortunately (e.g. tabs vs. spaces matter).


View raw message