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

RE: RE: svn history | log for a given user?

From: Reedick, Andrew <jr9445_at_ATT.COM>
Date: Wed, 23 Apr 2008 15:49:23 -0500

> -----Original Message-----
> From: Reedick, Andrew
> Sent: Wednesday, April 23, 2008 4:25 PM
> To: Anthony Ettinger; users_at_subversion.tigris.org
> Subject: RE: svn history | log for a given user?
>
> > -----Original Message-----
> > From: ettinger_at_gmail.com [mailto:ettinger_at_gmail.com] On Behalf Of
> > Anthony Ettinger
> > Sent: Wednesday, April 23, 2008 2:43 PM
> > To: users_at_subversion.tigris.org
> > Subject: svn history | log for a given user?
> >
> > I want to see my history in svn, is there a way to limit the results
> > to only my changesets?
> >
>
>
> I'm not an xslt guru, but after 10 minutes at
> http://www.w3schools.com/xsl/default.asp
>
>

Here's a more complete xslt. It lists the revision and filenames.
You will also need to run: 'svn log --xml -v svn://some/url > foo.xml'

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
<html>
<body>
        <h2>Header</h2>
        <table border="1">
                <xsl:for-each select="log/logentry">
                        <xsl:if test="author='YOUR_NAME_HERE'">
                                <tr>
                                        <td><xsl:value-of
select="@revision"/></td>
                                        <td><xsl:value-of
select="author"/></td>
                                        <td><xsl:value-of
select="date"/></td>
                                        <td><xsl:value-of
select="msg"/></td>
                                </tr>
                                <xsl:for-each select="paths/path">
                                        <tr>
                                                <td></td>
                                                <td><xsl:value-of
select="@action"/></td>
                                                <td><xsl:value-of
select="."/></td>
                                        </tr>
                                </xsl:for-each>
                        </xsl:if>
                </xsl:for-each>
        </table>
</body>
</html>
</xsl:template>

</xsl:stylesheet>

*****

The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA621

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-04-23 22:50:01 CEST

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