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

时间:2022-12-28 07:11:03

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. Is there a sample code to do that using Sharpsvn DLL ?

我希望在其先前的版本中显示当前签出的文件和相同的文件,以便用户可以手动比较这两个文件,然后将更改合并到Subversion(SVN)存储库。是否有使用Sharpsvn DLL的示例代码?

1 个解决方案

#1


That is what svn diff is for.

这就是svn diff的用途。

Edit: Look into SvnClient.DiffSummary.

编辑:查看SvnClient.DiffSummary。

#1


That is what svn diff is for.

这就是svn diff的用途。

Edit: Look into SvnClient.DiffSummary.

编辑:查看SvnClient.DiffSummary。