I don't know, I was just reworking Stefan's patch.  He didn't include
function names (-p) in the patch so I don't know what function this is
part of.
It was ix86_handle_abi_attribute. I'm usually using git, and don't like cvs
and svn too much. It seems svn diff doesn't support a -p option here. Maybe
I'll just switch to git-svn.

You can use "svn diff -x -p" or put a script like this in ~/bin/svn-diff

#! /bin/sh

p=p
format=u

for i
do
  case "$i" in -*[uUcCy]*) format= ;; esac
  case "$i" in -*W*) format=y ;; esac
  case "$i" in -*p*) p= ;; esac
  case "$i" in --|[!-]*) break ;; esac
done

test -n "$format$p" && set -- -$format$p "$@"
exec diff "$@"


... and place this in ~/.subversion/config:

[helpers]
diff-cmd = /path/to/bin/svn-diff

You're welcome!

Paolo

Reply via email to