简体   繁体   English

如何使用C#.net中的SharpSVn DLL获取SVN工作文件夹中当前特定文件的先前版本?

[英]How can I get the previous version of a particular file currently in the SVN working folder using SharpSVn DLL in C#.net?

I wish to display the currently checked out file and the same file in its immediate previous version so that the user can get a chance to compare the two files manually and later merge the changes to the Subversion(SVN) repository. 我希望显示当前签出的文件和其上一个先前版本中的相同文件,以便用户有机会手动比较两个文件,然后将更改合并到Subversion(SVN)存储库。 Is there a sample code to do that using Sharpsvn DLL ? 是否有使用Sharpsvn DLL的示例代码?

That is what svn diff is for. 这就是svn diff的目的。

Edit: Look into SvnClient.DiffSummary . 编辑:查看SvnClient.DiffSummary

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

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