我在将subversion repo转换为git时看到了以下输出.
> Found possible branch point: <repo-url>/trunk => <repo-url>/branches/CMT_PHASE3, 18441
> fatal: Not a valid object name refs/remotes/BlueSimViewer 5.0 20110316 Branch
> cat-file commit refs/remotes/BlueSimViewer 5.0 20110316 Branch: command returned error: 128
Run Code Online (Sandbox Code Playgroud)
我正在运行以转换回购的命令是
> git svn clone <repo-url> -A authors-transform.txt --stdlayout converted-git > svnlog
Run Code Online (Sandbox Code Playgroud)
此过程已经转换了117个分支,其中一些分支中包含空格.我首先发现了这个问题,这帮助我从git 1.8.xx解决的上一个问题向前推进
任何关于这个问题的原因以及修复它的可能方法的见解都非常感谢.
我在Ubuntu 12.10服务器上运行git版本1.8.1.1.我很乐意提供任何其他有用的信息.
当尝试访问git svn dcommit其名称中包含空格的存储库时,我收到以下错误:
Committing to http://svn.kuluvalley.com/Meet the Expert/trunk ...
http://svn.kuluvalley.com/Meet the Expert/trunk
Filesystem has no item: '/!svn/bc/7397/Meet' path not found at /usr/libexec/git-core/git svn line 592
Run Code Online (Sandbox Code Playgroud)
看起来git svn它不支持带有空格的目录.
我面临将SVN迁移到Git的常见问题,基本上,我有一些分支(在SVN上)以空格命名。有没有办法解决或解决它?
我找到了一些“解决方案”,但没有一个对我有用。
git gc 只是压缩数据(基本上)我有一个粗鲁而庞大的存储库要迁移,该命令已经迁移了其中90%以上(花了一周多的时间)。
有人知道如何解决吗?
Git错误:
command returned error: 128
系统信息:
赢7 64x
git版本1.9.5.msysgit.0
谢谢!