cvs commit: www/scripts svn2html.pl

lizardo at linuxfromscratch.org lizardo at linuxfromscratch.org
Sat Jul 10 21:37:57 PDT 2004


lizardo     04/07/10 22:37:57

  Modified:    scripts  svn2html.pl
  Log:
  svn2html.pl: The actual tag name should be reported now instead of just "tags".
  
  Revision  Changes    Path
  1.3       +2 -2      www/scripts/svn2html.pl
  
  Index: svn2html.pl
  ===================================================================
  RCS file: /home/cvsroot/www/scripts/svn2html.pl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- svn2html.pl	26 Jun 2004 19:33:54 -0000	1.2
  +++ svn2html.pl	11 Jul 2004 04:37:57 -0000	1.3
  @@ -17,7 +17,7 @@
   # along with this program; if not, write to the Free Software
   # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
   
  -# $Id: svn2html.pl,v 1.2 2004/06/26 19:33:54 lizardo Exp $
  +# $Id: svn2html.pl,v 1.3 2004/07/11 04:37:57 lizardo Exp $
   
   use strict;
   use warnings;
  @@ -96,7 +96,7 @@
   		# Remove the first (empty) element from @path
   		shift @path;
   		my $branch = shift @path;
  -		$branch = shift @path if ($branch eq "branches");
  +		$branch = shift @path if ($branch eq "branches" or $branch eq "tags");
   		$branches .= $branch . ", " unless ($branches =~ /(^|\s+)$branch,/);
           $files .= File::Spec->catdir(join('/', @path)) . ", ";
       }
  
  
  



More information about the website mailing list