Biju Joseph N
Biju Joseph N

Reputation:

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

Upvotes: 0

Views: 404

Answers (1)

D'Arcy Rittich
D'Arcy Rittich

Reputation: 171371

That is what svn diff is for.

Edit: Look into SvnClient.DiffSummary.

Upvotes: 1

Related Questions