小智 51
这通过计算xml中日志中的条目来提供快速直方图:
svn log -v --xml | grep '<author.*/author>' | sort $* | uniq -c | sort -rn
1841 <author>joe</author><br>
735 <author>jimbob</author><br>
129 <author>sally</author><br>
32 <author>mike</author>
Run Code Online (Sandbox Code Playgroud)
可以使用sed命令来清理更多内容,但那可以回答已发布的问题.
Yuv*_*dam 15
使用SVN转储:
svn log -v --xml > logfile.log
Run Code Online (Sandbox Code Playgroud)
然后,您可以自己进行数据挖掘,也可以使用StatSVN.
另一个选项,只使用shell命令(实际上有点好),详见本博文.
您可以使用StatSVN.但是你想要实现什么?提交计数不需要说什么!
记在心上.
归档时间: |
|
查看次数: |
15641 次 |
最近记录: |