while the same sequence works if I leave out the --stacked.
I shall also submit a bug report.
Here is the log (path names changed to <path> to protect the innocent)
*$ bzr branch --verbose --stacked bzr+ssh://<path>*
Created new stacked branch referring to bzr+ssh://<path>/.
---> returned status 0
*$ bzr merge --verbose /<path>/13624.patch*
bzr: failed to report crash using apport:
AssertionError()
bzr: ERROR: bzrlib.errors.BzrCheckError: Internal check failed: Cannot
add revision(s) to repository: missing referenced chk root keys:
[StaticTuple('sha1:df4b7cbb9c4c3ce0ac641265711eb07b0a194741',)]
Traceback (most recent call last):
File "/<path>/lib/python/bzrlib/commands.py", line 923, in
exception_to_return_code
return the_callable(*args, **kwargs)
File "/<path>/lib/python/bzrlib/commands.py", line 1123, in run_bzr
ret = run(*run_argv)
File "<path>/lib/python/bzrlib/commands.py", line 691, in run_argv_aliases
return self.run(**all_cmd_args)
File "/<path>/lib/python/bzrlib/commands.py", line 710, in run
return self._operation.run_simple(*args, **kwargs)
File "/<path>/lib/python/bzrlib/cleanup.py", line 135, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/<path>/lib/python/bzrlib/cleanup.py", line 165, in
_do_with_cleanups
result = func(*args, **kwargs)
File "/<path>/lib/python/bzrlib/builtins.py", line 3930, in run
mergeable, None)
File "/<path>/lib/python/bzrlib/merge.py", line 368, in from_mergeable
mergeable.install_revisions(tree.branch.repository)
File "/<path>/lib/python/bzrlib/merge_directive.py", line 278, in
install_revisions
info.install_revisions(target_repo, stream_input=False)
File "/<path>/lib/python/bzrlib/bundle/serializer/v4.py", line 471, in
install_revisions
return ri.install()
File "/<path>/lib/python/bzrlib/bundle/serializer/v4.py", line 543, in
install
self._repository.commit_write_group()
File "/<path>/lib/python/bzrlib/repository.py", line 1640, in
commit_write_group
result = self._commit_write_group()
File "/<path>/lib/python/bzrlib/repofmt/pack_repo.py", line 2333, in
_commit_write_group
hint = self._pack_collection._commit_write_group()
File "/<path>/lib/python/bzrlib/repofmt/pack_repo.py", line 2171, in
_commit_write_group
"Cannot add revision(s) to repository: " + problems_summary)
BzrCheckError: Internal check failed: Cannot add revision(s) to
repository: missing referenced chk root keys:
[StaticTuple('sha1:df4b7cbb9c4c3ce0ac641265711eb07b0a194741',)]
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at https://bugs.launchpad.net/bzr/+filebug
including this traceback and a description of the problem.
I'm getting a problem using bzr 2.3.0 with the sequence
bzr branch --stacked <patch file>
bzr merge <patch file>
while the same sequence works if I leave out the --stacked.
I shall also submit a bug report.
Here is the log (path names changed to <path> to protect the innocent)
*$ bzr branch --verbose --stacked bzr+ssh://<path>*
Created new stacked branch referring to bzr+ssh://<path>/.
---> returned status 0
*$ bzr merge --verbose /<path> /13624. patch* rror() errors. BzrCheckError: Internal check failed: Cannot 'sha1:df4b7cbb9 c4c3ce0ac641265 711eb07b0a19474 1',)]
bzr: failed to report crash using apport:
AssertionE
bzr: ERROR: bzrlib.
add revision(s) to repository: missing referenced chk root keys:
[StaticTuple(
Traceback (most recent call last): /lib/python/ bzrlib/ commands. py", line 923, in to_return_ code /lib/python/ bzrlib/ commands. py", line 1123, in run_bzr /lib/python/ bzrlib/ commands. py", line 691, in run_argv_aliases **all_cmd_ args) /lib/python/ bzrlib/ commands. py", line 710, in run .run_simple( *args, **kwargs) /lib/python/ bzrlib/ cleanup. py", line 135, in run_simple /lib/python/ bzrlib/ cleanup. py", line 165, in /lib/python/ bzrlib/ builtins. py", line 3930, in run /lib/python/ bzrlib/ merge.py" , line 368, in from_mergeable install_ revisions( tree.branch. repository) /lib/python/ bzrlib/ merge_directive .py", line 278, in install_ revisions( target_ repo, stream_input=False) /lib/python/ bzrlib/ bundle/ serializer/ v4.py", line 471, in /lib/python/ bzrlib/ bundle/ serializer/ v4.py", line 543, in _repository. commit_ write_group( ) /lib/python/ bzrlib/ repository. py", line 1640, in write_group( ) /lib/python/ bzrlib/ repofmt/ pack_repo. py", line 2333, in collection. _commit_ write_group( ) /lib/python/ bzrlib/ repofmt/ pack_repo. py", line 2171, in 'sha1:df4b7cbb9 c4c3ce0ac641265 711eb07b0a19474 1',)]
File "/<path>
exception_
return the_callable(*args, **kwargs)
File "/<path>
ret = run(*run_argv)
File "<path>
return self.run(
File "/<path>
return self._operation
File "/<path>
self.cleanups, self.func, *args, **kwargs)
File "/<path>
_do_with_cleanups
result = func(*args, **kwargs)
File "/<path>
mergeable, None)
File "/<path>
mergeable.
File "/<path>
install_revisions
info.
File "/<path>
install_revisions
return ri.install()
File "/<path>
install
self.
File "/<path>
commit_write_group
result = self._commit_
File "/<path>
_commit_write_group
hint = self._pack_
File "/<path>
_commit_write_group
"Cannot add revision(s) to repository: " + problems_summary)
BzrCheckError: Internal check failed: Cannot add revision(s) to
repository: missing referenced chk root keys:
[StaticTuple(
bzr 2.3.0 on python 2.5.2 2.6.24- 22-generic- i686-with- debian- lenny-sid) /13624. patch'] /python/ bzrlib/ plugins/ bash_completion [2.3.0] /lib/python/ bzrlib/ plugins/ bzrtools [2.3.0] /lib/python/ bzrlib/ plugins/ explorer [1.1.2] /lib/python/ bzrlib/ plugins/ extmerge [unknown] python2. 5/site- packages/ bzrlib/ plugins/ gtk [0.93.0] /lib/python/ bzrlib/ plugins/ launchpad [2.3.0] credential_ store /lib/python/ bzrlib/ plugins/ netrc_credentia l_store [2.3.0] /lib/python/ bzrlib/ plugins/ news_merge [2.3.0] /lib/python/ bzrlib/ plugins/ qbzr [0.20.0]
(Linux-
arguments: ['/<path>/bin/bzr', 'merge', '--verbose', '/<path>
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
plugins:
bash_completion /<path>
bzrtools /<path>
explorer /<path>
extmerge /<path>
gtk
/usr/lib/
launchpad /<path>
netrc_
/<path>
news_merge /<path>
qbzr /<path>
*** Bazaar has encountered an internal error. This probably indicates a /bugs.launchpad .net/bzr/ +filebug
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
---> returned status 4