【发布时间】:2016-08-13 13:10:14
【问题描述】:
如何将 bazaar repo 转换为 git?我有旧的 zip 存档,其中包含 .bzr 目录。
我尝试关注this tutorial,但是当我尝试安装时:
sudo apt-get install bzr-fastimport
错误提示没有 bzr-fastimport 包并且有 python-fastimport 我已经安装了但是
bzr fast-export --plain `pwd`
显示错误:
bzr: ERROR: unknown command "fast-export"
我也尝试按照解决方案来回答这个问题:The right way to convert from bazaar to git and sync them
我在 github 上创建了新的 repo,但是当我调用时:
bzr dpush https://github.com/jcubic/aikiframework.git,branch=master
我有错误:
bzr: ERROR: Not a branch: "https://github.com/jcubic/aikiframework.git,branch=trunk/".
【问题讨论】:
-
本教程适用于 Ubuntu 10.04 LTS,仍然可以下载。您可以将其安装在虚拟机中进行转换。
-
我可以确认,虽然教程是针对 10.04 的,但
sudo apt-get install bzr-fastimport命令在 14.04 中仍然有效。