使用statsvn统计代码量

需要的工具:

svn client: https://tortoisesvn.net/index.zh.html

statsvn: http://www.statsvn.org/

命令:

cd C:\trunk\backend
svn log  -v --xml > svn.log
java -jar statsvn.jar C:\trunk\backend\svn.log C:\trunk\backend
svn log -v --xml -r "{2017-06-01}:{2017-07-01}" > log.xml

tips: -r 参数需要用引号括起来,否则会报语法错

punkmonday /
Published under (CC) BY-NC-SA in categories tools  tagged with tools