SCM Migration

Migrating from Bazaar

Upgrad to bzr 2.5+ which has bzr-fastimport but is still missing python-fastimport which is needed by bzr-fastimport

Download python-fastimport-0.9.2.tar.gz from https://launchpad.net/python-fastimport

$ tar xfz python-fastimport-0.9.2.tar.gz
$ cd python-fastimport-0.9.2
$ sudo python setup.py install

Migration from Bazaar Branch to Git Repo

$ git init --bare work.git
$ cd work.git
$ bzr fast-export ../work.bzr | git fast-import

Migration from Bazaar Branch to Git Branch

$ git init work
$ cd work
$ bzr fast-export ../work.bzr | git fast-import
$ git checkout

Migration from Bazaar Branch to Git Repo with Sync Marks

$ git init --bare work.git
$ cd work.git
$ bzr fast-export --export-marks=../marks.bzr ../work.bzr | git fast-import --export-marks=../marks.git

# To add branches
$ bzr fast-export --marks=../marks.bzr --git-branch=assets ../work.bzr/assets | git fast-import --import-marks=../marks.git --export-marks=../marks.git

$ cd ../work
$ git remote add ../work.git
$ git push --all # push all branches

Links

Joel Cogen: Converting bzr repositories to git

Migrating From Subversion

Migration from a Subversion repo to a Git branch and Mirroring to a Git Repo

$ cd Apps
$ git svn clone -s https://runeimp@services.eye.fi/svn/apps work
$ cd work
$ git remote add origin https://runeimp@services.eye.fi/git/apps.git
$ git push --mirror origin

Links

Getting the GIT checkout

The Incredibles Digital Copy

Error

An unknown error has occurred. Please try again later.

Message
a transport-level error has occurred when sending the request to the server. (provider: tcp provider, error: 0 – an existing connection was forcibly closed by the remote host.)”