从 SharpSVN [c#] 中您可以从什么对象获得修改后的文件属性?
我已经使用 SharpSVN 几个星期了,我希望像在 TurtoiseSVN 中一样访问单个文件属性(特定版本),方法是单击版本,然后右键单击路径并选择“显示属性” 。我已经查看了我假设这些属性将位于的位置(在 SvnChangeItem 下),因为它在那里是有意义的,因为在 Turtoise 中它基本上是一个向下钻取,但我一直无法找到它。目前我可以访问特定修订版中更改的项目,但无法找到该集合。我还检查了其他可能找到该收藏品的地方,但没有运气。谢谢。
I've been working with SharpSVN for a few weeks now and I was looking to access an individual files properties (at a specific revision) as you can in TurtoiseSVN by clicking on the revision then right clicking on a path and selecting 'Show Properties'. I have looked where I would assume these properties would be located (under a SvnChangeItem) because it would make sense there since in Turtoise its basically a drill down however I have not been able to find it. Currently I have access to the changed items at a specific revision but just cannot find this collection. I also checked other various places where this collection might be found but with no luck. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以通过 SvnClient.GetProperty 或 .ListProperties 访问这些。要获取它们的特定修订版,您应该创建一个 SvnUriTarget(, revision) 并将其作为第一个参数传递。
You can access these via SvnClient.GetProperty or .ListProperties. To get them for a specific revision you should create an SvnUriTarget(, revision) and pass that as the first argument.