zl程序教程

您现在的位置是:首页 >  其他

当前栏目

用STATSVN统计公司SVN代码修改

公司统计代码 修改 svn
2023-09-14 08:59:46 时间

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

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

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

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

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


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.