Branko Čibej wrote on Sun, Jul 26, 2015 at 17:50:43 +0200: > On 26.07.2015 14:07, Daniel Shahaf wrote: > > danie...@apache.org wrote on Sun, Jul 26, 2015 at 12:01:57 -0000: > >> Author: danielsh > >> Date: Sun Jul 26 12:01:56 2015 > >> New Revision: 1692721 > >> > >> URL: http://svn.apache.org/r1692721 > >> Log: > >> On the patch-exec branch, add BRANCH-README. > >> > >> Added: > >> subversion/branches/patch-exec/BRANCH-README > >> > >> Added: subversion/branches/patch-exec/BRANCH-README > >> URL: > >> http://svn.apache.org/viewvc/subversion/branches/patch-exec/BRANCH-README?rev=1692721&view=auto > >> ============================================================================== > >> --- subversion/branches/patch-exec/BRANCH-README (added) > >> +++ subversion/branches/patch-exec/BRANCH-README Sun Jul 26 12:01:56 2015 > >> @@ -0,0 +1,20 @@ > >> +This is a feature branch for teaching 'svn patch' to parse > >> + old mode 100644 > >> + new mode 100755 > >> +lines generated by 'git diff'. > > In a nutshell, the purpose of the branch is to make 'svn patch' set > > svn:exeutable when processing a patch such as: > > ... > It'd be sort of nice if 'svn patch' could apply not just mode changes > but tree changes described in the git diff format.
Indeed it would, but that's a larger can of worms than just the mode changes, and wasn't something I planned to tackle. Although I seem to remember that we had code somewhere to parse the "arch/{i386 => x86}/Makefile" git-diff rename syntax. Cheers, Daniel (who really should patch Vim's "gf" command to ignore a leading "a/" or "b/")