bzr commit error

Robey Pointer robey at lag.net
Fri Oct 21 17:48:18 BST 2005


On 20 Oct 2005, at 23:05, Robey Pointer wrote:

> Got this on a branch that I just upgraded from format 4 to format 6:
>
> $ bzr commit -m "remove multiple NUL bytes if they exist"
> bzr: ERROR: parent_id {TREE_ROOT-20050807194350-6e6d329ed3636ad5}  
> not in inventory
>   command: '/Users/robey/bin/bzr' 'commit' '-m' 'remove multiple  
> NUL bytes if they exist'
>   pwd: /Users/robey/code/mp3tag
>   at /Users/robey/code/bzr/bzrlib/inventory.py line 861, in add()
>   see ~/.bzr.log for debug information

I managed to fix this by manually hacking my .bzr/inventory to remove  
all segments like 'parent_id="TREE_ROOT[^"]*"' and remove the id for  
the inventory itself.  That seems to fix it.  Oddly, I didn't have to  
fix inventory.weave -- is that unused or will I have a nasty surprise  
waiting for me soon? :)

Probably 'bzr upgrade' or 'bzr check' should remove the TREE_ROOT ids  
if we aren't using them anymore.

robey





More information about the bazaar mailing list