Git Svn Clone 初始化 repo,但是 git repo 是空的

Git Svn Clone initializes repo, but git repo is empty

所以我一直在尝试将我公司的 CVS 和 SVN 存储库迁移到 Git 以用于我们的现代系统。所以我创建了格式如下的作者文件:

last_fi = FirstInitial LastName <firstinitial.lastname@company.com>

从那里,我应该能够 运行 这个命令:

git svn clone -s --authors-file=authors.txt "https://company.svnrepo.path/repoparent/repo" gitreponame --prefix=svn/

完成后,我得到了:

Initialized empty Git repository in c:/checkout/git/Suite/.git/ Using higher level of URL: https://company.svnrepo.path/repoparent/repo => https://company.svnrepo.path/repoparent W: Ignoring error from SVN, path probably does not exist: (160013): Filesystem has no item: REPORT request failed on '/svnfolder/middir/!svn/bc/100': File not found: revision 100, path '/repoparent' W: Do not be alarmed at the above message git-svn is just searching aggressively for old history. This may take a while on large repositories C:\checkout\git> 3048

它通过当前修订版 (r3048) 检查 r100 并初始化 git 回购协议,但是没有主人,没有 HEAD 也没有提交。除了初始 git init 文件夹和文件之外,我没有工作目录。

为了继续前进,我一直在尝试各种奇怪的事情,但我完全被难住了。我想我看它的时间太长了,我错过了一些基本的东西。但是,如果有人可以提供帮助,将不胜感激。

因此,通过大量协作和一些运气来找到解决此问题的方法。事实证明,远程 SVN 服务器的路径是区分大小写的,而命令的大多数其他方面则不是。当我输入 repoparent 时,它应该是 RepoParent。这似乎是一个愚蠢的错误,但我希望它可以帮助其他人!