SVN:如何将包含所有日志消息的更改文件导出到列表?
是否可以导出两个修订版之间所有更改的文件,并将历史记录导出到列表/文件..?
可以说我对一些文件做了一些更改。 我想要的是这样的排序列表:
rev | filename | log
----+------------+-----------------
20 | test.cs | added ftr 21
20 | file.cs | added ftr 21
21 | test.cs | removed bug 212
22 | awesome.cs | added ftr 23
22 | test.cs | added ftr23
...
我无法在 TortoiseSVN 中找到某种选项来执行此操作。但我认为这并不难检索..? 无论如何,如果有人可以帮助我......
提前致谢!
布鲁诺
Is it possible to export all changed files between two revisions, with the history to a list/file..?
lets say I made several changes to some files.
What i would like to have is some sort list like this:
rev | filename | log
----+------------+-----------------
20 | test.cs | added ftr 21
20 | file.cs | added ftr 21
21 | test.cs | removed bug 212
22 | awesome.cs | added ftr 23
22 | test.cs | added ftr23
...
I could not find some sort of option to do this in TortoiseSVN. But i would think this is not that dificult to retrieve..?
Anyway, if someone can help me with this...
Thanks in advance!
Bruno
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您正在使用 TortoiseSVN,因此使用 Show Log 非常容易。
只需使用 TortoiseSVN show log 命令即可。然后,在出现的窗口中,选择您想要了解信息的修订范围,单击第一个,然后按住 Shift 键并单击最后一个。然后只需使用 Ctrl-C 进行复制,然后将结果粘贴到您喜欢的文本编辑器中。输出将显示修订号、作者、日期、提交消息并列出修改、添加和删除的文件。
You are using TortoiseSVN, so this is very easy using Show Log.
Simply use the TortoiseSVN show log command. Then, in the window appearing, select the range of revisions you want to have info on, clicking on the first and shift+clicking on the last. Then just copy with Ctrl-C and then paste the results in your favorite text editor. The output will show the revision number, author, date, commit message and list the modified, added and deleted files.
您可以尝试 cygwin 中的命令行版本:
-v 选项可获取已修改添加的文件列表。添加 --xml 将信息输出为 XML,您也许能够将其转换为您最终需要的内容。
you might try the command line version in cygwin:
The -v option gets you the list of files that were modified added. Adding --xml outputs the information as XML and you might be able to transform it into what you ultimately need.
svn log [repo_url] -v -r revFrom:revTo
例如
svn 日志 http://svn.mozilla.org/projects/ -v -r 113000:113800
svn log [repo_url] -v -r revFrom:revTo
e.g.
svn log http://svn.mozilla.org/projects/ -v -r 113000:113800