我尝试克隆我的SVN(assembla)存储库到GIT one(bitbucket)
我使用bitbucket向导从SVN导入代码到GIT 在线
但是我收到以下错误:
23:58:39 svn import for: https://subversion.assembla.com/svn/ugisvn/trunk
23:58:39 Checking out https://subversion.assembla.com/svn/ugisvn/trunk...
23:58:40 A elad2109/elad2109/bb_tmp
23:58:40 Exported revision 59.
23:58:40 Done
23:58:40 Subversion checkout successful
23:58:40 Creating new git repository...
23:58:40 Initialized empty Git repository in elad2109/elad2109/bb_tmp/.git/
23:58:40 Done
23:58:40 Done
23:58:40 # On branch master
23:58:40 #
23:58:40 # Initial commit
23:58:40 #
23:58:40 nothing to commit (create/copy files and use "git add" to track)
23:58:40 Unable to convert svn checkout to git
23:58:40 Svn checkout failed: <class 'bitbucket.apps.async.tasks.ImportException'>: Command failed. Return value: 1
Run Code Online (Sandbox Code Playgroud)
但我该如何解决呢?
解决了:
我的两个问题解决了:
missing Author - 我必须验证我的registartion电子邮件到bitbucket.org
empty trunk - 我刚给了一个更高级别的SVN存储库
尝试使用命令行。您必须摆弄您的作者文件。基本上,对于任何“未找到现有作者”,您必须在authors.txt 文件中添加一个 none 条目
elad2109 = none <none@none.com>
这是有关手动迁移的一个很好的教程: http://taombo.com/taombo-blog/moving-your-svn-repositories-to-git-on-bitbucket
问候,芝诺。