Comment 1 for bug 1890216

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 1890216] [NEW] fast-export produces incorrect trees

On Mon, Aug 03, 2020 at 11:58:04PM -0000, Ben Hutchings wrote:
> 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=trunk-bzr libmemcached - \
> | git -C libmemcached.git fast-import
> $ brz fast-export --git-branch=trunk-brz libmemcached - \
> | 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..