git svn clone:在commit <sha> </sha> </file>中找不到<file>

时间:2015-04-06 14:07:57

标签: git svn git-svn codeplex

我正在尝试git svn clone来自Codeplex的SSH.NET存储库。我的命令是:

git svn clone https://sshnet.svn.codeplex.com/svn/

但它始终会以错误消息停止。这是我第一次在git svn clone期间遇到错误,我不知道这个SVN存储库是如何特殊的。

我试图谷歌寻求答案,但我发现的任何东西都不适合我。 我读过:

以下是错误消息:

r9445 = e8eb2162b4e5cc6b5b5129f0739c4f60cc42a58a (refs/remotes/git-svn)
        M       Renci.SshClient/Renci.SshNet/Sftp/SftpFileStream.cs
        M       Renci.SshClient/Renci.SshNet/Sftp/SftpFile.cs
        M       Renci.SshClient/Renci.SshNet/SshCommand.cs
        M       Renci.SshClient/Renci.SshNet/Shell.cs
        M       Renci.SshClient/Renci.SshNet/SftpClient.cs
        M       Renci.SshClient/Renci.SshNet/PrivateKeyFile.cs
        M       Renci.SshClient/Renci.SshNet/ConnectionInfo.cs
r9486 = 91aea22d35ad41f70fa583d262438cf00a0a117d (refs/remotes/git-svn)
        M       Renci.SshClient/Renci.SshNet/Security/Cryptography/Ciphers/RsaCi
pher.cs
        A       Renci.SshClient/Renci.SshNet/Security/Cryptography/RsaKey.cs
Renci.SshClient/Renci.SshNet/Security/Cryptography/RsaDigitalSignature.cs was no
t found in commit 91aea22d35ad41f70fa583d262438cf00a0a117d (r9486)

1 个答案:

答案 0 :(得分:0)

$ git svn fetch --ignore-path hoge

hoge是您的文件中有错误的路径。 (Renci.SshClient / Renci.SshNet / Security / Cryptography / RsaDigitalSignature.cs)