svn commit: r45842 - head/share/xml

Gavin Atkinson <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: gavin
Date: Fri Oct 17 11:39:55 2014
New Revision: 45842
URL: https://svnweb.freebsd.org/changeset/doc/45842

Log:
  When generating links to particular revisions on svnweb, link to the
  https version of the site, and use /changeset/$repo/$rev format links.

Modified:
  head/share/xml/freebsd-common.xsl

Modified: head/share/xml/freebsd-common.xsl
==============================================================================
--- head/share/xml/freebsd-common.xsl	Fri Oct 17 11:18:40 2014	(r45841)
+++ head/share/xml/freebsd-common.xsl	Fri Oct 17 11:39:55 2014	(r45842)
@@ -25,8 +25,8 @@
     <xsl:param name="repo" select="'base'"/>
     <xsl:param name="rev"/>
 
-    <xsl:value-of select="concat('http://svnweb.freebsd.org/', $repo,
-      '?view=revision&amp;revision=', $rev)"/>
+    <xsl:value-of select="concat('https://svnweb.freebsd.org/changeset/',
+      $repo, '/', $rev)"/>
   </xsl:template>
 
   <xsl:param name="toc.section.depth" select="1"/>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.