且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

用STATSVN统计公司SVN代码修改

更新时间:2022-09-07 10:25:03

直接用LOG,BOSS还是不满意,那只好架上JDK,用STATSVN了。

跑得还顺利,只是具体代码没跑出来。。

但共用一个帐号,害人呀,还好有提交注释里有程序员的名字。。

STATSVN文档很简单,简单报告也就一个命令。

java -jar statsvn.jar c:\myproject\svn.log c:\myproject

用STATSVN统计公司SVN代码修改


StatSVN README
==============

StatSVN is a statistics tool for SVN repositories. It generates
HTML reports from SVN log files.


The StatSVN Manual

The StatSVN manual is located here: http://svn.statsvn.org/statsvnwiki/index.php/UserManual


Quick Start

* Download the latest release from http://sourceforge.net/projects/statsvn/
* Expand the zip file into some directory, e.g c:\statsvn
* Check out a working copy of the desired SVN module into
some directory, e.g. c:\myproject.
* Change into that directory and type
'svn log --xml -v > svn.log'
* Change back to the c:\statsvn directory
* type 'java -jar statsvn.jar c:\myproject\svn.log c:\myproject'
* Open c:\statsvn\index.html in your web browser

You can tweak the output of StatSVN in various ways. Run
'java -jar statsvn.jar' for an overview of the command line
parameters, and check the manual for full information.

用STATSVN统计公司SVN代码修改