Comment 3 for bug 1854607

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 1854607] [NEW] [fastimport 3.0.2] AttributeError: 'NoneType' object has no attribute '_transport'

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:

* 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