svn2git:无法设置跟踪信息 [英] svn2git: Cannot setup tracking information

查看:137
本文介绍了svn2git:无法设置跟踪信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在svn2git的帮助下将SVN项目迁移到git.执行命令时,它退出并显示以下错误:

I am trying to migrate a SVN project to git with thel help of svn2git. When executing the command it exits with the following error:

Running command: git branch --track "0.0.9" "remotes/svn/0.0.9"
fatal: Cannot setup tracking information; starting point 'remotes/svn/0.0.9' is not a branch. 

开始于:

 svn2git http://<host>/<project>

我找不到任何解决方案,似乎没有多少用户遇到相同的问题.

I can't find any solution for it and it seems not many users has the same problem.

我该怎么做才能解决这个问题?

What can I do to solve this problem?

推荐答案

我在使用Debian Sid时遇到了相同的问题("git"的版本为1:1.8.3.2-1).在我使用股票"git"软件包(1:1.7.2.5-3)在Debian Squeeze上失败之前. 最后,我最终使用了squeeze-backport信息库(1:1.7.10.4-1〜bpo60 + 1),现在它可以工作了.

I had the same problem using Debian Sid (the version of "git" is 1:1.8.3.2-1). Before I already failed on Debian Squeeze using the stock "git" package (1:1.7.2.5-3). Finally I ended up using the squeeze-backport repository (1:1.7.10.4-1~bpo60+1), and now it works.

您使用的是哪个版本的Git?

What version of Git are you using?

这篇关于svn2git:无法设置跟踪信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆