upgrade: parent_id {} not in inventory

Jan Nieuwenhuizen janneke at gnu.org
Wed Oct 12 08:16:13 BST 2005


Using bzr revno 1248 to upgrade a tree, I get

    parent_id {TREE_ROOT-20050809132952-218746189cd2cdfd} not in inventory

See below.  What now?

Jan.


cat .bzr/branch-format
Bazaar-NG branch, format 0.0.4
09:03:18 uida1692 at ehvl044a:~/bzr/nena-1.0-mainline
~/bzr/bzr.old/bzr status
09:03:23 uida1692 at ehvl044a:~/bzr/nena-1.0-mainline
bzr upgrade
starting upgrade of /home/uida1692/bzr/nena-1.0-mainline
making backup of tree history
./.bzr has been backed up to ./.bzr.backup
if conversion fails, you can move this directory back to .bzr
if it succeeds, you can remove this directory if you wish
starting upgrade from format 4 to 5
note: upgrade may be faster if all store files are ungzipped first
loading revision: ......................

converting revision: ......................
upgraded to weaves:
      22 revisions and inventories
       0 revisions not present
     866 texts

writing weave: ...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

write revision: ......................
starting upgrade from format 5 to 6
adding prefixes to weaves
adding prefixes to revision-store
this branch is in the most current format
finished
09:04:31 uida1692 at ehvl044a:~/bzr/nena-1.0-mainline
bzr status
bzr: WARNING: bad line in hashcache: 'make/makefile// a94812bc21f78f79a794787653cff9b6c46683db 2858 1122963753 1129100156 25389679 21\n'
[..]
09:05:08 uida1692 at ehvl044a:~/bzr/nena-1.0-mainline
rm .bzr/stat-cache
09:05:15 uida1692 at ehvl044a:~/bzr/nena-1.0-mainline
bzr status
modified:
  make/build*
  make/build_svf*
unknown:
  .bzr.backup
09:05:20 uida1692 at ehvl044a:~/bzr/nena-1.0-mainline
bzr commit -m 'exe bits'
bzr: ERROR: command: '/home/uida1692/bin.linux/bzr' 'commit' '-m' 'exe bits'
pwd: /home/uida1692/bzr/nena-1.0-mainline
parent_id {TREE_ROOT-20050809132952-218746189cd2cdfd} not in inventory
  at /home/uida1692/bzr/bzr.dev/bzrlib/inventory.py line 859, in add()
  see ~/.bzr.log for debug information
[1]09:05:36 uida1692 at ehvl044a:~/bzr/nena-1.0-mainline

tail of ~/.bzr.log

[ 8841] Wed 09:05:36.897 ERROR: command: '/home/uida1692/bin.linux/bzr' 'commit' '-m' 'exe bits'
pwd: /home/uida1692/bzr/nena-1.0-mainline
parent_id {TREE_ROOT-20050809132952-218746189cd2cdfd} not in inventory
Traceback (most recent call last):
  File "/home/uida1692/bzr/bzr.dev/bzrlib/commands.py", line 639, in run_bzr_catch_errors
  File "/home/uida1692/bzr/bzr.dev/bzrlib/commands.py", line 624, in run_bzr
  File "/home/uida1692/bzr/bzr.dev/bzrlib/commands.py", line 283, in run_argv
  File "/home/uida1692/bzr/bzr.dev/bzrlib/builtins.py", line 1029, in run
  File "/home/uida1692/bzr/bzr.dev/bzrlib/branch.py", line 1029, in commit
  File "/home/uida1692/bzr/bzr/bzrlib/commit.py", line 225, in commit
    self._populate_new_inv()
  File "/home/uida1692/bzr/bzr/bzrlib/commit.py", line 397, in _populate_new_inv
    self._select_entry(new_ie)
  File "/home/uida1692/bzr/bzr/bzrlib/commit.py", line 403, in _select_entry
    self.new_inv.add(ie)
  File "/home/uida1692/bzr/bzr.dev/bzrlib/inventory.py", line 859, in add
BzrError: parent_id {TREE_ROOT-20050809132952-218746189cd2cdfd} not in inventory

-- 
Jan Nieuwenhuizen <janneke at gnu.org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org




More information about the bazaar mailing list