我对Subversion有一个奇怪的问题。它一直在工作,没有问题,但我现在正试图将一个新项目导入我的subversion存储库。
当我这样做时显示它添加了两个文件,并且已经传输了62kb然后我收到以下错误消息:
SharpSvn.SvnException: Error running context: The server unexpectedly closed the connection.
at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error, Object targets)
at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, svn_error_t* error, Object targets)
at SharpSvn.SvnClient.RemoteImport(String path, Uri target, SvnImportArgs args, SvnCommitResult& result)
at SharpSvn.SvnClient.Import(String path, Uri target, SvnImportArgs args, SvnCommitResult& result)
at SharpSvn.SvnClient.Import(String path, Uri target, SvnImportArgs args)
at Ankh.Commands.AddToSccCommands.<>c__DisplayClassd.<CheckoutWorkingCopyForSolution>b__a(Object sender, ProgressWorkerArgs a)
at Ankh.ProgressRunnerService.ProgressRunner.Run(Object arg)
我无法找到任何理由。
更新
如果我添加项目但是告诉客户端最初不提交文件,则会被接受,然后当我尝试提交文件时,它会显示它正在添加所有文件然后当它尝试发送第一个文件时然后我得到以下错误:
SharpSvn.SvnSystemException: Commit failed (details follow): ---> SharpSvn.SvnSystemException: Error running context: An existing connection was forcibly closed by the remote host.
--- End of inner exception stack trace ---
at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error, Object targets)
at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, svn_error_t* error, Object targets)
at SharpSvn.SvnClient.Commit(ICollection`1 paths, SvnCommitArgs args, SvnCommitResult& result)
at Ankh.Services.PendingChanges.PendingChangeHandler.<>c__DisplayClass1b.<Commit_CommitToRepository>b__19(Object sender, ProgressWorkerArgs e)
at Ankh.ProgressRunnerService.ProgressRunner.Run(Object arg)