I just had this problem, here are the steps that brought this error message. I will try to reproduce later with a public svn repository. Here are the logs to help me reproduce it later.
Note that we use subversion in a braindead manner (i.e. we commit inside the tags).
Subversion side :
We have tagged twice our trunk, first with tag "r3", then with tag "r4". Then, we did several commits in both tags, both from svn and from bzr (by pulling changes then committing).
Bazaar side:
1) Branch from the subversion tag r3
repo$ bzr branch svn://host/repo/tags/r3
2) Branch from the subversion tag r4
repo$ bzr branch svn://host/repo/tags/r4
3) Try to merge or pull a revision from the bzr branch "r3" into the branch "r4"
repo/r4$ bzr merge -r1218 ../r3/
=> Crash with the following message
bzr: ERROR: bzrlib.errors.BzrCheckError: Internal check failed: Cannot add revision(s) to repository: missing chk node(s) for id_to_entry maps
Traceback (most recent call last):
File "bzrlib\commands.pyo", line 853, in exception_to_return_code
File "bzrlib\commands.pyo", line 1055, in run_bzr
File "bzrlib\commands.pyo", line 661, in run_argv_aliases
File "bzrlib\commands.pyo", line 665, in run_direct
File "bzrlib\cleanup.pyo", line 122, in run_simple
File "bzrlib\cleanup.pyo", line 156, in _do_with_cleanups
File "bzrlib\builtins.pyo", line 3794, in run
File "bzrlib\builtins.pyo", line 3923, in _get_merger_from_branch
File "bzrlib\merge.pyo", line 363, in from_revision_ids
File "bzrlib\merge.pyo", line 505, in set_other_revision
File "bzrlib\merge.pyo", line 522, in _maybe_fetch
File "bzrlib\decorators.pyo", line 194, in write_locked
File "bzrlib\branch.pyo", line 593, in fetch
File "bzrlib\repository.pyo", line 1704, in fetch
File "bzrlib\decorators.pyo", line 194, in write_locked
File "bzrlib\repository.pyo", line 3432, in fetch
File "bzrlib\fetch.pyo", line 83, in __init__
File "bzrlib\fetch.pyo", line 109, in __fetch
File "bzrlib\fetch.pyo", line 137, in _fetch_everything_for_search
File "bzrlib\repository.pyo", line 4274, in insert_stream
File "bzrlib\repository.pyo", line 4377, in _locked_insert_stream
File "bzrlib\repository.pyo", line 1563, in commit_write_group
File "bzrlib\repofmt\pack_repo.pyo", line 2314, in _commit_write_group
File "bzrlib\repofmt\pack_repo.pyo", line 2152, in _commit_write_group
BzrCheckError: Internal check failed: Cannot add revision(s) to repository: missing chk node(s) for id_to_entry maps
*** 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.
Note that we will keep the subversion repository intact, and this can be reproducted here with two branches and a merge attempt.
I just had this problem, here are the steps that brought this error message. I will try to reproduce later with a public svn repository. Here are the logs to help me reproduce it later.
Note that we use subversion in a braindead manner (i.e. we commit inside the tags).
Subversion side :
We have tagged twice our trunk, first with tag "r3", then with tag "r4". Then, we did several commits in both tags, both from svn and from bzr (by pulling changes then committing).
Bazaar side: repo/tags/ r3 repo/tags/ r4
1) Branch from the subversion tag r3
repo$ bzr branch svn://host/
2) Branch from the subversion tag r4
repo$ bzr branch svn://host/
3) Try to merge or pull a revision from the bzr branch "r3" into the branch "r4"
repo/r4$ bzr merge -r1218 ../r3/
=> Crash with the following message
bzr: ERROR: bzrlib. errors. BzrCheckError: Internal check failed: Cannot add revision(s) to repository: missing chk node(s) for id_to_entry maps
Traceback (most recent call last): commands. pyo", line 853, in exception_ to_return_ code commands. pyo", line 1055, in run_bzr commands. pyo", line 661, in run_argv_aliases commands. pyo", line 665, in run_direct cleanup. pyo", line 122, in run_simple cleanup. pyo", line 156, in _do_with_cleanups builtins. pyo", line 3794, in run builtins. pyo", line 3923, in _get_merger_ from_branch decorators. pyo", line 194, in write_locked branch. pyo", line 593, in fetch repository. pyo", line 1704, in fetch decorators. pyo", line 194, in write_locked repository. pyo", line 3432, in fetch everything_ for_search repository. pyo", line 4274, in insert_stream repository. pyo", line 4377, in _locked_ insert_ stream repository. pyo", line 1563, in commit_write_group repofmt\ pack_repo. pyo", line 2314, in _commit_write_group repofmt\ pack_repo. pyo", line 2152, in _commit_write_group
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\merge.pyo", line 363, in from_revision_ids
File "bzrlib\merge.pyo", line 505, in set_other_revision
File "bzrlib\merge.pyo", line 522, in _maybe_fetch
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\fetch.pyo", line 83, in __init__
File "bzrlib\fetch.pyo", line 109, in __fetch
File "bzrlib\fetch.pyo", line 137, in _fetch_
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
BzrCheckError: Internal check failed: Cannot add revision(s) to repository: missing chk node(s) for id_to_entry maps
bzr 2.1.0 on python 2.5.4 (Windows- XP-5.1. 2600-SP2) Bazaar\ \bzr.exe' , 'merge', '-r1218', '../2.42r3/'] plugins\ bzrtools [2.1.0] plugins\ explorer [1.0.0rc1] plugins\ launchpad [2.1.0] credential_ store C:\Program Files\Bazaar\ plugins\ netrc_credentia l_store [2.1.0] plugins\ qbzr [0.18.1] plugins\ rebase [0.5.5] plugins\ svn [1.0.2] plugins\ upload [1.0.0dev] plugins\ xmloutput [0.8.6]
arguments: ['c:\\Program Files\\
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\
explorer C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
netrc_
qbzr C:\Program Files\Bazaar\
rebase C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
upload C:\Program Files\Bazaar\
xmloutput C:\Program Files\Bazaar\
*** 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.
Note that we will keep the subversion repository intact, and this can be reproducted here with two branches and a merge attempt.