I am trying to convert this Bazaar repo to Git.
bzr branch lp:onboard
cd onboard
git init
bzr fast-export --plain . | git fast-import
But I get this error:
22:10:43 Calculating the revisions to include ...
22:10:43 Starting export of 2952 revisions ...
22:10:43 1000/2952 commits exported at 448681/minute
...
22:10:43 1000/2952 commits exported at 239415/minute
fatal: Path onboard/copying not in branch
fast-import: dumping crash report to .git/fast_import_crash_3847
brz: broken pipe
Tried bzr
and Breezy
, two different OS (Arch Linux and Ubuntu).
Instead of fast-export, you can also use Breezy's native support for pushing to Git:
% bzr branch https://code.launchpad.net/onboard onboard-bzr
Branched 2295 revisions.
% git init onboard-git
Initialized empty Git repository in /tmp/onboard-git/.git/
% cd onboard-bzr
% bzr push --lossy ../onboard-git
Pushing from a Bazaar to a Git repository. For better performance, push into a Bazaar repository.
All changes applied successfully.
Pushed up to revision 2295.
15 tags updated.
% cd ..
% diff -ur onboard-bzr onboard-git
Only in onboard-bzr: .bzr
Only in onboard.git: .git