Short answer: No, not with the standard command line.
However, it should be easy enough to find the revisions of the author using the svn log -q
. This will only list the revision line which includes the author. You can combine this with awk
to find the author lines, and then pull off the revisions.
From there, you can use -c
to find the diff in that revision:
$ svn log -q \
| awk -v author=$author -F '|' '$0 ~ /^r/ && $2 = " "author" " {
print substr ($1, 2)
}' | while read rev
do
svn diff -c$rev
done
The awk -v author=$author
allows you to set the Awk variable author
with the real author's name. The $0 ~ /^r/ && $2 = " "author" "
says that lines must begin with r
(skipping the lines that contain nothing but dashes), and the second field must be the author surrounded by a space on each side. This pulls up the lines the author is responsible for.
Finally, the print substr ($1,2)
prints out the revision without the r
in front.
I pipe this through a while read
loop to do a svn diff -c$rev
for all the revisions.