Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Getting all your SVN log via SharpSVN
Collection<SvnLogEventArgs> list;
using(SvnClient client = new SvnClient())
{
//client.Authentication.DefaultCredentials = new NetworkCredential("user", "pass");
Uri svnrepo = new Uri("svn://servername/reponame/");
SvnInfoEventArgs info;
client.GetInfo(svnrepo, out info);
long lastRev = info.Revision;
SvnLogArgs args = new SvnLogArgs { Start = lastRev, End = lastRev-99, };
client.GetLog(svnrepo, args, out list);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment