I'm trying to get repository URL of working copy of SVN repository, which is located on network share: \\host\D\directory\
Following code is being executed:
SvnClient svnClient = new SharpSvn.SvnClient();
SvnInfoEventArgs svnInfo;
svnClient.GetInfo(SvnTarget.FromString("\\\\host\\D\\directory\\"), out svnInfo);
Uri repositoryUrl = svnInfo.Uri;
And I got this error on GetInfo() method:
'\host\D' does not exist
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: SharpSvn.SvnException: '\host\D' does not exist
Stack Trace:
[SvnException: '\host\D' does not exist]
[SvnInvalidNodeKindException: '\host\D' is not a working copy]
SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error) +232
SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, svn_error_t* error) +80
SharpSvn.SvnClient.Info(SvnTarget target, SvnInfoArgs args, EventHandler`1 infoHandler) +443
SharpSvn.SvnClient.GetInfo(SvnTarget target, SvnInfoEventArgs& info) +117
Do you know when error lies or maybe you know some better method to use with SharpSvn?