TortoiseSVN 能否提供用户活动的跨存储库视图?
有没有办法可以使用 TortoiseSVN 跨多个存储库查看给定时间段内的提交历史记录?能够看到这一点就好了,如果我在多个存储库中工作,那么获取完整的提交历史记录会有点麻烦。
Is there a way I can see my commit history for a given time period across multiple repositories using TortoiseSVN? It would be nice to be able to see this, and it's a little cumbersome to get my complete commit history if I'm working in multiple repositories.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您不打算排除 svn.exe 客户端,您可以这样做:
对每个存储库执行此操作,“my_commits.txt”将包含来自每个存储库的提交。如果您没有大量的存储库,那也没什么大不了的。进一步的例子:
. 。 。我想你明白了。当然,您可以根据需要编辑范围,或者编写一个接受参数来指定存储库/范围/用户的批处理文件,等等。
If you're not going to rule out the svn.exe client, you could do:
Do this for every repository, and "my_commits.txt" will contain your commits from every repository. If you don't have an obscene number of repositories, it's not a big deal. Further example:
. . . I think you get the idea. Of course you can edit the range as necessary, or write a batch file that accepts arguments to specify repository/range/user, whatever.
拥有跨存储库视图之类的唯一方法是使用设置菜单,然后使用日志缓存->缓存存储库。这允许获取 svn 存储库统计信息(实际上,与特定存储库的本地使用相关) - 详细信息 并以文件集的形式导出存储库数据:[文件名].changes.csv,[文件名] .merges.csv、[filename].paths.csv、[filename].revisions.csv等。后者是您最有可能感兴趣的。我认为它可以很容易处理,例如通过 Perl 以您需要的形式获得给定时间段内的提交历史记录。
The only way to have something like cross-repository view is using Settings menu and then Log Caching->Cached Repositories. This allows to get svn repository statistics (actually, related to local usage of the particular repository) - Details and export repository data in the form of file set: [filename].changes.csv, [filename].merges.csv, [filename].paths.csv, [filename].revisions.csv, etc. The latter is the most probable you are interested in. I think it could be processed easily for example by perl to have a commit history for a given period in a form you need.