[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: svn log, filter by username

From: Jason Winnebeck <jpwasp_at_rit.edu>
Date: 2007-08-28 19:23:34 CEST

-----Original Message-----
From: Thomas Schoepfer [mailto:t.schoepfer@daetwyler-graphics.ch]

Jason Winnebeck schrieb:
> I might have missed something. I am looking for an easy way to do log
in
> SVN, but filter it so I only see changes made by a specific user. I
can
> "svn log URL -q | grep username", but that gives me just revision
> numbers and then I have to look up each revision number to get the
> message. svn log XML + XSLT would work to select just the records with
a
> certain author, but that's also far from easy. I saw "--username"
> parameter, but that's for authentication, not filtering.
>
> Jason

This should work:

svn log | sed -n '/username/,/-----$/ p'

Tom

--------------

Thanks, that works perfectly. I'm going to read a tutorial on sed -- I
really need to learn enough about it I can use it in situations like
this. So far the man page explained it enough that I understand what
your script does.

Jason

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 28 19:21:07 2007

This is an archived mail posted to the Subversion Users mailing list.