sharpsvn search repository commits

Posted by Andrew Day on Stack Overflow See other posts from Stack Overflow or by Andrew Day
Published on 2011-03-16T14:58:55Z Indexed on 2011/03/16 16:09 UTC
Read the original article Hit count: 228

Filed under:

Using sharpsvn I want to search all of the comments on the commited files in our svn server for specific strings.

but i cannot get this to work. I have tried the following but it does not like my target path.

Error: Revision type requires a working copy path, not a URL

SvnRevisionRange range = new SvnRevisionRange(SvnRevision.Working, SvnRevision.Zero);
string targetPath = "http://********:81/svn/";
Collection<SvnLogEventArgs> items;
SvnLogArgs args = new SvnLogArgs { Range = range };
client.GetLog(new Uri(targetPath), args, out items); 

any ideas would be great

© Stack Overflow or respective owner

Related posts about sharpsvn