提交并获得具体修订
我使用 SharpSVN,我需要两件事: 1)我需要使用特定的日志消息进行修订 2)当我提交修订时,我想显示正在提交的每个文件。我发现一个事件正在提交,但我不知道它是如何工作的(提交并获取具体修订)
I work with sharpSVN,i need 2 things:
1) I need to get a revision with specific logmessage
2) When I commit my revision, I want to show every file, that is commiting. I find an event commiting, but I don't know how it works(Commiting and get specific revision)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Subversion 没有内置的日志消息搜索功能,因此您需要浏览所有修订版才能找到答案。
(您可以在路径上调用 SvnClient.Log() 。在 args 对象上,将 .Retrieve* 设置为 false 对于您不需要的所有内容,并仅将 svn:log 放入 RetrieveProperties 以获得最佳性能。不过,没有什么比本地缓存更好的了)
Subversion doesn't have a builtin search capability on log messages, so you need to walk through all revisions to find your answer.
(You can call SvnClient.Log() on the path. On the args object set .Retrieve* to false for everything you don't need and put only svn:log in RetrieveProperties for optimal performance. Nothing beats a local cache though)