Branch into an init-repo'd --no_trees --rich-root-pack fails.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello,
I am trying to branch python from lp:python into a new development branch using the "Team Collaboration, central style". So I figure I need to execute an init-repo with --no-trees and --rich-root-pack to create a blank area for my branch and then branch into that from lp:python. I wanted to do a local test first before I pushed this onto python so I went to the Python Starship server and executed:
$ bzr init-repo --no-trees --rich-root-pack python_dev
$ cd python_dev/
and finally
$ bzr branch lp:python <branch_name>
That thinks for a bit, gets as far as stage 3/5 and then I get:
"""
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
hardlink=
File "/usr/lib/
result_
File "/usr/lib/
return inter.fetch(
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
revision_
File "/usr/lib/
return self._create_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
write_index, output_lines, pb, readv_group_iter, total_items):
File "/usr/lib/
df, _ = knit_data.
File "/usr/lib/
"While reading {%s} got %s(%s)"
KnitCorrupt: Knit None corrupt: While reading {svn-v3-
bzr 1.3 on python 2.4.5.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'branch', 'lp:python', '<branch_name>']
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
plugins:
bzrtools /usr/lib/
launchpad /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
"""
So I remove the <branch_name> directory (which, BTW, is not "<branch_name>", but could be "foo") and try again:
$ rm -rf <branch_name>/
$ bzr branch lp:python <branch_name>
And this time I get:
"""
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
hardlink=
File "/usr/lib/
result_
File "/usr/lib/
return inter.fetch(
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
revision_
File "/usr/lib/
return self._create_
File "/usr/lib/
self.
File "/usr/lib/
text_nodes = set(text_nodes)
File "/usr/lib/
for node in index.iter_
File "/usr/lib/
return (result[1] for result in bisect_multi_bytes(
File "/usr/lib/
search_results = content_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
high_parsed, last_segment = self._parse_
File "/usr/lib/
self.
MemoryError
bzr 1.3 on python 2.4.5.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'branch', 'lp:python', '<branch_name>']
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
plugins:
bzrtools /usr/lib/
launchpad /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
"""
So I tried a third time and that locked up Starship and it had to be killed.
Can you re-try that with a newer bzr version (1.3 is quite old now), I have several python branches from lp:python here and I certainly not encounter that behavior.