相关疑难解决方法(0)

将subversion存储库转换为git,为什么我看到"致命:不是有效的对象名称"?

我在将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.我很乐意提供任何其他有用的信息.

svn git git-svn repository

4
推荐指数
2
解决办法
2143
查看次数

git-svn dcommit失败,因为存储库名称包含空格

当尝试访问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 spaces dcommit

3
推荐指数
1
解决办法
1392
查看次数

迁移SVN(到Git)名称中带有空格的分支

我面临将SVN迁移到Git的常见问题,基本上,我有一些分支(在SVN上)以空格命名。有没有办法解决或解决它?

我找到了一些“解决方案”,但没有一个对我有用。

我有一个粗鲁而庞大的存储库要迁移,该命令已经迁移了其中90%以上(花了一周多的时间)。

有人知道如何解决吗?

Git错误: command returned error: 128

系统信息:

赢7 64x

git版本1.9.5.msysgit.0

谢谢!

svn migration git branch

3
推荐指数
1
解决办法
2008
查看次数

标签 统计

git ×3

svn ×3

branch ×1

dcommit ×1

git-svn ×1

migration ×1

repository ×1

spaces ×1