简体   繁体   English

颠覆的查看器

[英]A viewer for subversion

I'm looking for a viewer to be used over a subversion repository.我正在寻找在颠覆存储库上使用的查看器。 I saw this link but I don't want a web based viewer, but rather one I can combine into software.我看到了这个链接,但我不想要基于 web 的查看器,而是我可以组合到软件中的查看器。
The purpose of this viewer is to enable the SW's users to save versions of the code they write in it and to search for content written by others.此查看器的目的是使 SW 的用户能够保存他们在其中编写的代码的版本并搜索其他人编写的内容。
Since our SW is written in C#, I'd prefer something with C# API.由于我们的软件是用 C# 编写的,所以我更喜欢 C# API 的东西。
Any suggestions?有什么建议么?

Thanks.谢谢。

Edit:编辑:
Viewing different versions of files is also important.查看不同版本的文件也很重要。

If you want to include SVN-based functionality into your software, you might want to use如果您想在您的软件中包含基于 SVN 的功能,您可能需要使用

It's licensed under the Apache License, so you can use it in commercial projects (with some conditions, read the license for details).它在 Apache 许可证下获得许可,因此您可以在商业项目中使用它(有一些条件,请阅读许可证以了解详细信息)。 I have no personal experience with it, so I don't know if it already includes a viewer component or just the bare SVN client code.我没有个人经验,所以我不知道它是否已经包含查看器组件或仅包含裸 SVN 客户端代码。 In any case, the front page lists a lot of open-source projects built upon sharpsvn, maybe one of those would be a suitable candidate for inclusion in your software (if the license fits your needs).无论如何,首页列出了许多基于Sharpsvn 的开源项目,也许其中一个适合包含在您的软件中(如果许可证符合您的需要)。

If you're looking to integrate SVN with your application, check out SharpSVN .如果您希望将 SVN 与您的应用程序集成,请查看SharpSVN That's the library used by some of the major SVN plugins around today (AnkhSVN, etc).这是当今一些主要的 SVN 插件(AnkhSVN 等)使用的库。

If you specifically want to view different versions of files, check out the SvnClient class in the SharpSVN docs .如果您特别想查看不同版本的文件,请查看SharpSVN文档中的SvnClient class Unfortunately the docs are quite incomplete, but their naming conventions look to be enough to help you find what you need.不幸的是,这些文档非常不完整,但它们的命名约定似乎足以帮助您找到所需的内容。

Good luck!祝你好运!

If you're using Visual Studio, AnkhSVN is a great plug-in - recommended.如果你使用 Visual Studio, AnkhSVN是一个很棒的插件——推荐。 This simplifies the check-in process for Visual Studio considerably.这大大简化了 Visual Studio 的签入过程。

For searching for work done by others the TortoiseSVN client is a good complement as it's a plug-in for Windows Explorer.对于搜索他人完成的工作, TortoiseSVN客户端是一个很好的补充,因为它是 Windows Explorer 的插件。 It includes a Repository Browser that has excellent search (and merge) capabilities.它包括一个具有出色搜索(和合并)功能的存储库浏览器。

We have been using TortoiseSVN which is an easy-to-use SCM / source control software for Microsoft Windows.我们一直在使用 TortoiseSVN,它是一个易于使用的 SCM / 源代码控制软件,适用于 Microsoft Windows。 It is implemented as a Windows shell extension, which makes it integrate seamlessly into the Windows explorer.它被实现为 Windows shell 扩展,使其无缝集成到 Windows 资源管理器中。 Since it's not an integration for a specific IDE you can use it with whatever development tools you like.由于它不是针对特定 IDE 的集成,因此您可以将其与您喜欢的任何开发工具一起使用。

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

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