bzr fast-import from git fast-export yields incorrect branches
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Fast Import |
Fix Released
|
High
|
Ian Clatworthy |
Bug Description
Hello,
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.
$ 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/
James Westby helped me with this quite a bit, though we're pretty much stuck at this point. Help? Thanks.
:-Dustin
tags: | added: import |
Hi Dustin,
On Wed, 2009-02-04 at 15:10 +0000, Dustin Kirkland wrote: kernel. org/pub/ scm/linux/ kernel/ git/mhalcrow/ ecryptfs- utils.git ecryptfs- utils and master. For instance, the current git tree contains the
> 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.
> $ 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/
> /tmp/checkout/
> 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
-- samba.org/ ~jelmer/
Jelmer Vernooij <email address hidden> - http://
Jabber: <email address hidden>