Well, I suppose you work on Linux.
1. Install bzr fastimport plugin:
> mkdir -p ~/.bazaar/plugins2. Install python package required by fastimport plugin:
> cd ~/.bazaar/plugins
> bzr clone lp:bzr-fastimport fastimport
> cd ~3. Now we can export bzr repository to git:
> bzr clone lp:python-fastimport
> cd python-fastimport
> ./setup.py install (need root privileges here)
> cd my-bzr-reposHere it is.
> git init
> bzr fast-export --plain . | git fast-import
> rm -rf .bzr
> git reset --hard
0 comments:
Post a Comment