How can I Diff a Svn Repository using SharpSvn

Posted by AngeDeLaMort on Stack Overflow See other posts from Stack Overflow or by AngeDeLaMort
Published on 2010-04-11T16:41:29Z Indexed on 2010/04/11 16:43 UTC
Read the original article Hit count: 814

Filed under:
|

Hello,

My question is quite simple and with the SharpSvn Api, it should be easy as well. Here what I did:

path = "c:\project";
using (SvnLookClient client = new SvnLookClient())
{
    SvnLookOrigin o = new SvnLookOrigin(path);
    Collection<SvnChangedEventArgs> changeList;
    client.GetChanged(o, out changeList); // <-- Exception
}

and when I call the GetChanged, I get an exception:

Can't open file 'c:\project\format': The system cannot find the file specified.

So, Maybe there is something I'm missing? Or maybe it's not the right way to do find out the list of files and folders that were modified in the local repository?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about sharpsvn

Related posts about diff