fast-export produces incorrect trees
Bug #1890216 reported by
Ben Hutchings
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Breezy |
Triaged
|
High
|
Unassigned |
Bug Description
Compare the results of fast-export from Bazaar and Breezy:
$ bzr checkout lp:libmemcached
$ git init libmemcached.git
$ bzr fast-export --git-branch=
| git -C libmemcached.git fast-import
$ brz fast-export --git-branch=
| git -C libmemcached.git fast-import
$ git -C libmemcached.git diff --stat trunk-{bzr,brz}
Lots of files end up in the wrong places, as if renames aren't being exported correctly.
(Bazaar's fast-export also seems to produce incorrect results, unless I'm very confused. However, the differences between the content on Bazaar's trunk and the trunk-bzr that appears in git are much smaller.)
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → Jelmer Vernooij (jelmer) |
To post a comment you must log in.
On Mon, Aug 03, 2020 at 11:58:04PM -0000, Ben Hutchings wrote: trunk-bzr libmemcached - \ trunk-brz libmemcached - \
> Public bug reported:
>
> Compare the results of fast-export from Bazaar and Breezy:
>
> $ bzr checkout lp:libmemcached
> $ git init libmemcached.git
> $ bzr fast-export --git-branch=
> | git -C libmemcached.git fast-import
> $ brz fast-export --git-branch=
> | git -C libmemcached.git fast-import
> $ git -C libmemcached.git diff --stat trunk-{bzr,brz}
>
> Lots of files end up in the wrong places, as if renames aren't being
> exported correctly.
>
> (Bazaar's fast-export also seems to produce incorrect results, unless
> I'm very confused. However, the differences between the content on
> Bazaar's trunk and the trunk-bzr that appears in git are much smaller.)
Ah, no wonder this is broken. There are tests for the fastimport
plugin but they all cover the import side and not the export side..