Hi Peter, I've pushed a fix to the python-fastimport repository that allows me to process the fastexport file you attached.
Jelmer On Tue, Dec 03, 2019 at 02:47:46PM -0000, Peter J. Mello wrote: > Hi Jelmer, > > First, thanks for helping me straighten out this issue. I'm working from > a local clone of the xtables-addons git repo (git://git.code.sf.net/p > /xtables-addons/xtables-addons). Originally I was trying to pipe the > output of git fast-export [flags] to brz fast-import -, but I had > absolutely no success with any of a multitude of permutations for the > flags on both sides. Everything I've reported in this thread has been > from attempts at the method tacitly suggested in the brz documentation, > that of working from the git output in the form of a file. I created > said file with the following command: > > git fast-export --tag-of-filtered-object=rewrite --signed-tags=strip > --all >debian.fi > > I'm not all that familiar with the format specification for fast-export, > but inspecting the contents of the file created by the above command > shows an orderly arrangement of information that I have no reason to be > suspicious of. I then attempted to process the debian.fi file with brz > after moving into the folder I wanted the Bazaar repository to reside in > with this command: > > brz fast-import /path/to/debian.fi > > I'm unaware of how one would go about "disabling verbose mode" on either > the git or brz invocations; I was under the impression that verbose mode > for both was an opt-in condition, not opt-out. I'll gladly test anything > you might suggest, though. > > Regards, > Peter > > ** Attachment added: "git fast-export output" > > https://bugs.launchpad.net/brz/+bug/1854607/+attachment/5309541/+files/debian.fi > > ** Summary changed: > > - [fastimport 3.0.2] AttributeError: 'NoneType' object has no attribute > '_transport' > + [fastimport 3.0.2] TypeError: startswith first arg must be bytes or a tuple > of bytes, not str > > -- > You received this bug notification because you are subscribed to Breezy. > https://bugs.launchpad.net/bugs/1854607 > > Title: > [fastimport 3.0.2] TypeError: startswith first arg must be bytes or a > tuple of bytes, not str > > To manage notifications about this bug go to: > https://bugs.launchpad.net/brz/+bug/1854607/+subscriptions ** Changed in: brz Status: In Progress => Fix Released ** Package changed: breezy (Ubuntu) => python-fastimport (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1854607 Title: [fastimport 3.0.2] TypeError: startswith first arg must be bytes or a tuple of bytes, not str To manage notifications about this bug go to: https://bugs.launchpad.net/brz/+bug/1854607/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs