I'm using SharpSvn to interact with my svn repository via C# code. I am using this code to retrieve svn log entries:
Collection<SvnLogEventArgs> logitems;
var uri = new Uri("http://myserver/svn/foo/bar.txt");
client.GetLog(uri, out logitems);
foreach (var logentry in logitems)
{
string author = logentry.Author;
string message = logentry.LogMessage;
DateTime checkindate = logentry.Time;
}
This works well, but now I want to restrict the returned log entries by revision date. This is something that can be done via the svn command line with something like
svn log "http://myserver/svn/foo/bar.txt" --revision {2008-01-01}:{2008-12-31}
I can't seem to figure out a parallel capability within SharpSvn. Can someone point me in the right direction?