Comment 1 for bug 325331

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 325331] [NEW] bzr fast-import from git fast-export yields incorrect branches

Hi Dustin,

On Wed, 2009-02-04 at 15:10 +0000, Dustin Kirkland wrote:
> I've successfully moved all aspects of my upstream project from
> elsewhere into Launchpad, except for the source code repository, which
> is still git hosted on kernel.org.
>
> I have tried to import using the following:
>
> $ mkdir /tmp/git
> $ cd /tmp/git
> $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/mhalcrow/ecryptfs-utils.git
> $ cd ecryptfs-utils
> $ git-fast-export --all > /tmp/out
> $ mkdir /tmp/bzr
> $ cd /tmp/bzr
> $ bzr init-repository .
> $ cat /tmp/out | bzr fast-import -
> $ mkdir /tmp/checkout
> $ cd /tmp/checkout
> $ bzr branch /tmp/bzr/master
> $ cd master
>
> Note the incongruencies between /tmp/git/ecryptfs-utils and
> /tmp/checkout/master. For instance, the current git tree contains the
> file COPYING, while the bzr branch does not.
>
> James Westby helped me with this quite a bit, though we're pretty much
> stuck at this point. Help? Thanks.
Doesn't really fix this particular issue in fastimport, but bzr-git
(seems) to support this branch without problems. I've pushed an example
branch to lp:~jelmer/+junk/ecryptfs-utils.

Cheers,

Jelmer

--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>