安装svn工具
1.安装TortoiseSVN,在安装时需要安装svn命令行工具。
2.下载statsvn ,这是一个用java写的工具,也是本文的主角,它就是一个jar包。下载后解压放在任意目录即可。
statsvn命令行配置列表
-version 查看当前版本
-output-dir
-include 统计包含的文件 e.g. **/*.c;**/*.h
-exclude 统计不包含的文件或者文件夹 e.g. tests/**;docs/**
-tags show matching tags in lines of code chart, e.g. version-.*
-title
Project title to be used in reports-viewvc integrate with ViewVC installation at
-trac integrate with Trac at
-bugzilla integrate with Bugzilla installation at
-username username to pass to svn
-password password to pass to svn
-verbose print extra progress information
-xdoc optional switch output to xdoc
-xml optional switch output to xml
-threads how many threads for svn diff (default: 25)
-concurrency-threshold switch to concurrent svn diff if 1st call>