openbsd-ports/devel/subversion/patches/patch-contrib_client-side_svn2cl_svn2html_xsl
steven 9d093b04e0 update to 1.5.5
also,
- add various utilities from contrib/ and tools/
- update svn2cl to version 0.11 (has a fix for OpenBSD ksh)
- install SVN::Fs man page

from maintainer Stefan Sperling, tweaked a bit by me
2008-12-27 19:20:36 +00:00

49 lines
1.7 KiB
Plaintext

$OpenBSD: patch-contrib_client-side_svn2cl_svn2html_xsl,v 1.1 2008/12/27 19:20:36 steven Exp $
--- contrib/client-side/svn2cl/svn2html.xsl.orig Sun Apr 8 14:18:27 2007
+++ contrib/client-side/svn2cl/svn2html.xsl Mon Dec 22 21:41:47 2008
@@ -5,7 +5,7 @@
svn2html.xsl - xslt stylesheet for converting svn log to a normal
changelog fromatted in html
- version 0.9
+ version 0.11
Usage (replace ++ with two minus signs):
svn ++verbose ++xml log | \
@@ -13,7 +13,7 @@
++stringparam groupbyday yes \
++stringparam authorsfile FILE \
++stringparam title NAME \
- ++stringparam revision-link NAME \
+ ++stringparam revision-link NAME \
svn2html.xsl - > ChangeLog.html
This file is partially based on (and includes) svn2cl.xsl.
@@ -48,7 +48,7 @@
-->
<!DOCTYPE xsl:stylesheet [
- <!ENTITY newl "&#10;">
+ <!ENTITY newl "&#38;#xA;">
<!ENTITY space "&#32;">
]>
@@ -100,7 +100,7 @@
</xsl:choose>
</ul>
<p class="changelog_footer">
- <xsl:text>Generated by </xsl:text><a href="http://ch.tudelft.nl/~arthur/svn2cl/">svn2cl 0.9</a>
+ <xsl:text>Generated by </xsl:text><a href="http://ch.tudelft.nl/~arthur/svn2cl/">svn2cl 0.11</a>
</p>
</body>
</html>
@@ -159,7 +159,7 @@
<xsl:when test="contains($revision-link,'##')">
<xsl:value-of select="concat(substring-before($revision-link,'##'),@revision,substring-after($revision-link,'##'))" />
</xsl:when>
- <xsl:otherwise>
+ <xsl:otherwise>
<xsl:value-of select="concat($revision-link,@revision)" />
</xsl:otherwise>
</xsl:choose>