fast-export fails the simplest round-trip test
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
breezy (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
This is on Ubuntu 20, thus bzr 3.0.2-4ubuntu2
mkdir repo1.bzr
cd repo1.bzr
bzr init
echo "file" > file1
bzr add file1
bzr commit -m "add file1"
cd ..
bzr fast-export repo1.bzr - | bzr fast-import - repo1imported.bzr
Creating destination repository ...
17:32:39 Calculating the revisions to include ...
17:32:39 Starting export of 1 revisions ...
17:32:39 Exported 1 revision in 0:00:00
Shared repository with trees (format: 2a)
Location:
shared repository: repo1imported.bzr
17:32:39 Starting import ...
brz: ERROR: TypeError: startswith first arg must be str or a tuple of str, not bytes
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
return _do_with_cleanups(
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
return _run(source, generic_
File "/usr/lib/
return proc.process(
File "/usr/lib/
super(
File "/usr/lib/
for cmd in command_iter():
File "/usr/lib/
elif len(line) == 0 or line.startswith
TypeError: startswith first arg must be str or a tuple of str, not bytes
This is fixed in newer versions of Breezy; reassigning to Ubuntu.