Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
Hi Everyone,

I'm using SharpSVN in my project. I done Checkout, Commit, Update etc..

I'm phasing problem with how to show changes in file.
Suppose if a file got conflict , i want to compare working copy with base file.

Please give me a tip for a workaround?
Thanks a lot!
Posted
Updated 11-Mar-15 1:00am
v3
Comments
Herman<T>.Instance 11-Mar-15 6:07am    
there should be methods in the SharpSVN.Diff library. So what did you try?
suman palla 11-Mar-15 6:48am    
Hi Digimanus,

string str = "https://Test.Com/svn/SharpSVNRepository/trunk/ProjectA/ProjectA.Manager.WebAPI/Class.cs";


SvnTarget target = str;
SvnRevisionRange range = new SvnRevisionRange(535, 580);
_svn.Client.Diff(target, range, diffArgs, sTempStream);

It throwing error like : svn must be an immediate child of the directory

1 solution

 
Share this answer
 
Comments
suman palla 12-Mar-15 4:20am    
SVNClient.diff method seems just can get the differences result, and it would not show all the code. All I want is to compare two versions like SVN show.
deepankarbhatnagar 12-Mar-15 6:31am    
ok

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900