On Sun, Dec 01, 2019 at 05:16:24AM -0000, Yorigami Shion wrote:
> Public bug reported:
>
> Tried to fast-import a git repository to brz but failed:(
>
> ```
> root@first:/mnt/Git/McCLIM/McCLIM# git --version
> git version 2.17.1
> root@first:/mnt/Git/McCLIM/McCLIM# git fast-export --all --signed-tags=verbatim > project.fi
> root@first:/mnt/Git/McCLIM/McCLIM# brz fast-import project.fi McCLIM.brz
> brz: ERROR: AttributeError: 'NoneType' object has no attribute '_transport'
There seem to be two separate issues here:
On Sun, Dec 01, 2019 at 05:16:24AM -0000, Yorigami Shion wrote: /mnt/Git/ McCLIM/ McCLIM# git --version /mnt/Git/ McCLIM/ McCLIM# git fast-export --all --signed- tags=verbatim > project.fi /mnt/Git/ McCLIM/ McCLIM# brz fast-import project.fi McCLIM.brz
> Public bug reported:
>
> Tried to fast-import a git repository to brz but failed:(
>
> ```
> root@first:
> git version 2.17.1
> root@first:
> root@first:
> brz: ERROR: AttributeError: 'NoneType' object has no attribute '_transport'
There seem to be two separate issues here:
* lp:~jelmer/brz/fastimport-fix-2 should address the transport
attribute
* python-fastimport assumes plain strings rather than bytestrings;
this is fixed in python-fastimport master.
Jelmer