Little batch file for StatSVN

StatSVN retrieves information from a Subversion repository and generates various tables and charts describing the project development. You can get the software this page:

Inside the archive ( you have a readme.txt and a statsvn.jar . It would've been nice to be able to run StatSVN directly so I played a bit to create this bat file:

set home=%cd%
set /p project=Project folder:

set report=report

cd /d %project%

del svn.log

svn log --xml -v > svn.log

cd /d %home%

rd /s /q %report%

java -jar statsvn.jar -output-dir %report% %project%\svn.log

del %project%\svn.log


Just create the bat file in the folder where you extracted StatSVN, run it, paste your project's folder path and wait for the magic to happen. The report will be generated in a folder named report and the report's index.html should be opened in your browser.


Popular posts from this blog

Крачка назад във вечния танц

Concatenate rows in Oracle