Hello all, I am attempting to do a merge using SharpSVN. A bit of research and I have learned the SharpSVN supports the MergDiff function, however when I attempt the code as listed below I am getting an error message of not all required revisions are specified.
Thanks
try
{
SvnCheckOutArgs argsSVNCheckout = new SvnCheckOutArgs();
SvnUpdateResult result;
SvnTarget _rootSVNTarget = null; // = new SvnTarget();
string serverUrl = "http://svn.snaffpaw.com:8080/CPM Creator/";
// The Subversion target to run log against
SvnTarget target = null;
// Attempt to create an SvnTarget by parsing the targetPath
if (string.IsNullOrEmpty(targetPath) ||
!SvnTarget.TryParse(targetPath, out target))
if (string.IsNullOrEmpty(serverUrl) || (!SvnTarget.TryParse(serverUrl,out _rootSVNTarget)))
//SvnStatusArgs argSVN = new SvnStatusArgs();
//argSVN.RetrieveRemoteStatus = true;
//Collection<SvnStatusEventArgs> infos;
//bool isChecked = client.GetStatus(targetPath, argSVN, out infos);
// Attempt to create an SvnTarget by parsing the targetPath
if (string.IsNullOrEmpty(targetPath) ||
!SvnTarget.TryParse(targetPath, out target))
if (string.IsNullOrEmpty(serverUrl) || !SvnTarget.TryParse(serverUrl, out _rootSVNTarget))
client.Authentication.DefaultCredentials = new NetworkCredential("guest", "guestpwd");
client.DiffMerge(targetPath, _rootSVNTarget, target); //<<<-- errors here
}
// ...