Some lingering SVN issues

I have identified a lingering SVN issue, relating to tag expansion when accessing the repository via the web interface.

The VUXML page is not displaying the details of the last processed vuln.xml. It should show something like (this example from pre-SVN):

Revision:  1.2752
Date:      2012/07/11
Time:      01:47:55
Committer: swills

This problem is related to non-expanding tags when fetching files from svnweb. I think the solution is to start using ‘svn cat’ instead of fetch(1).

$ ': grep '\$FreeBSD\$' ~/ports/security/vuxml/vuln.xml  | head
  $FreeBSD$

However, if you use ‘svn cat’:

$ svn cat svn://svn.freebsd.org/ports/head/security/vuxml/vuln.xml |
  $FreeBSD$

Umm… oh, I have an older version of svn, without the FreeBSD patches for expanding tags. However, ‘svn info’ contains the required information:

 $ svn info  svn://svn.freebsd.org/ports/head/security/vuxml/vuln.xml
Path: vuln.xml
Name: vuln.xml
URL: svn://svn.freebsd.org/ports/head/security/vuxml/vuln.xml
Repository Root: svn://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 301154
Node Kind: file
Last Changed Author: cs
Last Changed Rev: 301124
Last Changed Date: 2012-07-18 20:28:47 +0000 (Wed, 18 Jul 2012)

In this case, I have bolded the information in question.

I think FreshPorts can make great use svn instead of using fetch. But that’s a longer term project.

Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive

Leave a Comment

Scroll to Top