kzmi
 

Home | English | Japanese


svn2cl-win

VBScript port of the svn2cl.
It generates ChangeLog from Subversion logs. It works on Windows without any additional tools.
Original svn2cl can be found at http://ch.tudelft.nl/~arthur/svn2cl/.


Download


How To Use

  1. Edit svn2html.xsl.

    Svn2cl.vbs uses the system-default encoding for writing.
    It causes encoding mismatch in the HTML file because the following line is written in the HTML file.

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    To avoid this problem, change "charset" to your system-default encoding like:

    <meta http-equiv="Content-Type" content="text/html; charset=shift_jis" />
  2. Add subversion directory to the PATH environment variable for executing svn.exe.

    PATH %PATH%;C:\Program Files\Subversion\bin
  3. Run svn2cl.vbs with CScript.exe or WScript.exe.
    At least you have to specify a repository path which you want to get logs.

    CScript.exe svn2cl.vbs --group-by-day svn://mysvn/myproject/trunk

To get more options, try "CScript.exe svn2cl.vbs --help".


Changes from original script

  • MSXML is used for processing XSLT
  • Default file name in the text format is ChangeLog.txt.
    CRLF is used at the end of line.


Author : Iwasa Kazmi ( kzmizzz_at_gmail_dot_com )