Martin Vermeer <[EMAIL PROTECTED]> writes:
> On Thu, Mar 16, 2006 at 03:55:06PM +0000, Angus Leeming wrote:
> > Martin Vermeer wrote:
> > > svndiff='svn diff --diff-cmd /usr/bin/diff -x -up'
> > > alias grepfunc='egrep \(Index:\|^ <at>  <at> \)'
> > 
> > $ svndiff -r 13397 > svndiff.txt
> > $ sh svndiff.sh svndiff.txt
> 
> Cool!
> How to integrate this into the commit message query?

Dunno. Ask Lars.

> And would it be possible / a good idea to move svndiff 
> into the script? The less manual work, the better.

<shrug>
Sure, if you want.
</shrug>

The call would become something like:

svn diff --diff-cmd '/usr/bin/diff -x -up' $* | \
sed -n '
# Stuff to extract file and function names
' | \
sed '
# Stuff to clean up whitespace
'

The $* on the first line there would be whatever you input to the script. Not
sure if it should be $*, "$*" or $@ and I'm too lazy to check :)

Angus


Reply via email to