5
我需要将我的bzr回购出口到git。要做到这一点,我试图使用bzr fast-export --git-branch=mybranch --plain | git fast-import --force
。 的BZR开始运行,但停止,并返回一个错误:Bzr快速出口返回bzr:破管
15:11:58 Calculating the revisions to include ...
15:11:58 Starting export of 8961 revisions ...
15:12:17 1000/8961 commits exported at 3155/minute
15:12:30 2000/8961 commits exported at 3718/minute
15:13:12 3000/8961 commits exported at 2421/minute
fatal: Path data/sql/patch-02-27.sql not in branch
fast-import: dumping crash report to .git/fast_import_crash_4632
bzr: broken pipe
有人帮帮我吧!谢谢!
你真的需要' - 平原'吗?如果你没有跑? – janos
它确实看起来像您的存储库可能有某种腐败。你可以分别运行这些动作吗? – sehe
您确实需要-plain,否则git-fast-import可能会抱怨bzr-fastexport的输出,它不理解。例如。 bzr支持每个提交的多个作者,git不支持。 – jelmer