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

Re: svn history | log for a given user?

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: Wed, 23 Apr 2008 12:08:52 -0700

On Wed, Apr 23, 2008 at 11:43 AM, Anthony Ettinger <anthony_at_chovy.com>

> I want to see my history in svn, is there a way to limit the results
> to only my changesets?
No way to do it directly. You could parse the output (bash, or use xml
output and parse it).
Another option, not foolproof but works most of the time, is to use the
contrib/client-side/search-svnlog.pl script from the source distribution.
This script should be run from a working copy. Or if you don't have a
working copy, get the log output redirected to a file and pass it to the
script. From the working copy running the following command should give you
the desired result:

$ search-svnlog.pl <your-user-name>

Or if you have a the logs redirected to a file:

$ search-svnlog.pl -f <logfile> <your-user-name>

This is not foolproof because it searches for the regex (in this case
your-user-name) in the entire log message. So for example if someone else
mentions your user name in his check-in comment, that will show up in the
result as well!

Received on 2008-04-23 21:09:19 CEST

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