简体   繁体   English

从控制台读取svn提交消息

[英]Reading svn commit messages from the console

获取给定修订的提交消息的命令行方法是什么?

svn log — Display commit log messages. svn log - 显示提交日志消息。 This should work with the switch -r or --revision to display commit message for a particular revision 这应该与switch -r或--revision一起使用以显示特定修订的提交消息

svn log --revision 16

Once I needed to display log message on the SVN server side (in my svn hook) by a given repository path on the computer. 一旦我需要通过计算机上的给定存储库路径在SVN服务器端 (在我的svn挂钩中)显示日志消息。 For this case you can use: 对于这种情况,您可以使用:

 svnlook -r 105 log C:\Repositories\unit-tests-repo

I know, that you asked the question 8 years ago, but probably my answer can help another people. 我知道,你在8年前问过这个问题,但可能我的回答可以帮助别人。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM