I am trying to do diff --summarize in sharp svn via date. BUT the start revision should not be the first revision after the start date(atleast thats my understanding of the diff command with dates as flags) but with the first revision before the start date.
for the syntax of getdiffsummary(sharpsvn equivalent to diff --summarize) qoutesource
using (var client = new SvnClient()) { var location = new Uri("http://my.example/repos/trunk"); client.DiffSummary(new SvnUriTarget(location, 12), new SvnUriTarget(location, SvnRevision.Head), delegate(object sender, SvnDiffSummaryEventArgs e) { // TODO: Handle result }); }
The Problem is, I dont know how to get the revision before the given date.
The Objectbrowser gave me:
SharpSvn.SvnUriTarget.SvnUriTarget(System.Uri, System.DateTime)
The Problem is, unlike an Revision Object where i could just do "revision b - 1" the date would just change.
Any ideas?