$ bzr branch bzr+ssh://${BRANCH_PATH} ${LOCAL_TARGET}
Branched 750 revision(s).
$ cd ${LOCAL_TARGET}/
$ bzr pull --overwrite ../13619.patch
<list of updates>
All changes applied successfully.
Now on revision 749.
Cleanup:
$ cd ..
$ rm -rf ${LOCAL_TARGET}/
With stacked - doesn't work:
$ bzr branch --stacked bzr+ssh://${BRANCH_PATH} ${LOCAL_TARGET}
Created new stacked branch referring to bzr+ssh://${BRANCH_PATH}/.
$ cd ${LOCAL_TARGET}/
$ bzr pull --overwrite /data/id/CmsRoot/tasks/patches/13619.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:1cf87f3b340e298218a852fee5ae97783670c8dd',)]
Traceback (most recent call last):
File "${BZR_DISTR_PATH}/lib/python/bzrlib/commands.py", line 923, in exception_to_return_code
return the_callable(*args, **kwargs)
File "${BZR_DISTR_PATH}/lib/python/bzrlib/commands.py", line 1123, in run_bzr
ret = run(*run_argv)
File "${BZR_DISTR_PATH}/lib/python/bzrlib/commands.py", line 691, in run_argv_aliases
return self.run(**all_cmd_args)
File "${BZR_DISTR_PATH}/lib/python/bzrlib/commands.py", line 710, in run
return self._operation.run_simple(*args, **kwargs)
File "${BZR_DISTR_PATH}/lib/python/bzrlib/cleanup.py", line 135, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "${BZR_DISTR_PATH}/lib/python/bzrlib/cleanup.py", line 165, in _do_with_cleanups
result = func(*args, **kwargs)
File "${BZR_DISTR_PATH}/lib/python/bzrlib/builtins.py", line 985, in run
mergeable.install_revisions(branch_to.repository)
File "${BZR_DISTR_PATH}/lib/python/bzrlib/merge_directive.py", line 278, in install_revisions
info.install_revisions(target_repo, stream_input=False)
File "${BZR_DISTR_PATH}/lib/python/bzrlib/bundle/serializer/v4.py", line 471, in install_revisions
return ri.install()
File "${BZR_DISTR_PATH}/lib/python/bzrlib/bundle/serializer/v4.py", line 543, in install
self._repository.commit_write_group()
File "${BZR_DISTR_PATH}/lib/python/bzrlib/repository.py", line 1640, in commit_write_group
result = self._commit_write_group()
File "${BZR_DISTR_PATH}/lib/python/bzrlib/repofmt/pack_repo.py", line 2333, in _commit_write_group
hint = self._pack_collection._commit_write_group()
File "${BZR_DISTR_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:1cf87f3b340e298218a852fee5ae97783670c8dd',)]
*** 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.
Also a crash with pull --overwrite
Non-stacked works:
$ bzr branch bzr+ssh: //${BRANCH_ PATH} ${LOCAL_TARGET}
Branched 750 revision(s).
$ cd ${LOCAL_TARGET}/
$ bzr pull --overwrite ../13619.patch
<list of updates>
All changes applied successfully.
Now on revision 749.
Cleanup:
$ cd ..
$ rm -rf ${LOCAL_TARGET}/
With stacked - doesn't work:
$ bzr branch --stacked bzr+ssh: //${BRANCH_ PATH} ${LOCAL_TARGET} //${BRANCH_ PATH}/. CmsRoot/ tasks/patches/ 13619.patch rror() errors. BzrCheckError: Internal check failed: Cannot add revision(s) to repository: missing referenced chk root keys: [StaticTuple( 'sha1:1cf87f3b3 40e298218a852fe e5ae97783670c8d d',)]
Created new stacked branch referring to bzr+ssh:
$ cd ${LOCAL_TARGET}/
$ bzr pull --overwrite /data/id/
bzr: failed to report crash using apport:
AssertionE
bzr: ERROR: bzrlib.
Traceback (most recent call last): DISTR_PATH} /lib/python/ bzrlib/ commands. py", line 923, in exception_ to_return_ code DISTR_PATH} /lib/python/ bzrlib/ commands. py", line 1123, in run_bzr DISTR_PATH} /lib/python/ bzrlib/ commands. py", line 691, in run_argv_aliases **all_cmd_ args) DISTR_PATH} /lib/python/ bzrlib/ commands. py", line 710, in run .run_simple( *args, **kwargs) DISTR_PATH} /lib/python/ bzrlib/ cleanup. py", line 135, in run_simple DISTR_PATH} /lib/python/ bzrlib/ cleanup. py", line 165, in _do_with_cleanups DISTR_PATH} /lib/python/ bzrlib/ builtins. py", line 985, in run install_ revisions( branch_ to.repository) DISTR_PATH} /lib/python/ bzrlib/ merge_directive .py", line 278, in install_revisions install_ revisions( target_ repo, stream_input=False) DISTR_PATH} /lib/python/ bzrlib/ bundle/ serializer/ v4.py", line 471, in install_revisions DISTR_PATH} /lib/python/ bzrlib/ bundle/ serializer/ v4.py", line 543, in install _repository. commit_ write_group( ) DISTR_PATH} /lib/python/ bzrlib/ repository. py", line 1640, in commit_write_group write_group( ) DISTR_PATH} /lib/python/ bzrlib/ repofmt/ pack_repo. py", line 2333, in _commit_write_group collection. _commit_ write_group( ) DISTR_PATH} /lib/python/ bzrlib/ repofmt/ pack_repo. py", line 2171, in _commit_write_group 'sha1:1cf87f3b3 40e298218a852fe e5ae97783670c8d d',)]
File "${BZR_
return the_callable(*args, **kwargs)
File "${BZR_
ret = run(*run_argv)
File "${BZR_
return self.run(
File "${BZR_
return self._operation
File "${BZR_
self.cleanups, self.func, *args, **kwargs)
File "${BZR_
result = func(*args, **kwargs)
File "${BZR_
mergeable.
File "${BZR_
info.
File "${BZR_
return ri.install()
File "${BZR_
self.
File "${BZR_
result = self._commit_
File "${BZR_
hint = self._pack_
File "${BZR_
"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 (Linux- 2.6.24- 22-generic- i686-with- debian- lenny-sid) DISTR_PATH} /bin/bzr' , 'pull', '--overwrite', '/data/ id/CmsRoot/ tasks/patches/ 13619.patch' ] PATH}/lib/ python/ bzrlib/ plugins/ bash_completion [2.3.0] PATH}/lib/ python/ bzrlib/ plugins/ bzrtools [2.3.0] PATH}/lib/ python/ bzrlib/ plugins/ explorer [1.1.2] PATH}/lib/ python/ bzrlib/ plugins/ extmerge [unknown] PATH}/lib/ python/ bzrlib/ plugins/ launchpad [2.3.0] credential_ store ${BZR_DISTR_ PATH}/lib/ python/ bzrlib/ plugins/ netrc_credentia l_store [2.3.0] PATH}/lib/ python/ bzrlib/ plugins/ news_merge [2.3.0] PATH}/lib/ python/ bzrlib/ plugins/ qbzr [0.20.0]
arguments: ['${BZR_
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
plugins:
bash_completion ${BZR_DISTR_
bzrtools ${BZR_DISTR_
explorer ${BZR_DISTR_
extmerge ${BZR_DISTR_
launchpad ${BZR_DISTR_
netrc_
news_merge ${BZR_DISTR_
qbzr ${BZR_DISTR_
*** 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.