네트워크 공유에있는 SVN 저장소의 작업 복사본 저장소 URL을 얻으려고합니다. \\host\D\directory\
SharpSvn : 네트워크 공유에서 SVN 작업 복사본에 대한 정보를 가져올 수 없습니다.
다음 코드가 실행되고 있습니다.
SvnClient svnClient = new SharpSvn.SvnClient();
SvnInfoEventArgs svnInfo;
svnClient.GetInfo(SvnTarget.FromString("\\\\host\\D\\directory\\"), out svnInfo);
Uri repositoryUrl = svnInfo.Uri;
그리고 GetInfo에서이 오류가 발생했습니다.) 방법 :
'\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
스택 추적 :
[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
오류가 있거나 때로는 SharpSvn과 함께 사용하는 더 좋은 방법을 알고 계십니까?