2010-02-02 10:25:40 |
Stuart Colville |
description |
Raising this as a separate bug from #369923 as the initial bug report doesn't seem to totally tie up with druido's comment.
Here's the text from druido's comment - I'm experiencing the same problem:
bzr: ERROR: The method _generate_inventory is not supported on objects of type CHKInventoryRepository.
To reproduce:
bzr init-repo repo
cd repo
bzr init trunk
cd trunk
mkdir dir
echo 123 > dir/file
bzr add
bzr commit -m initial
bzr split dir
bzr join --reference dir
bzr commit -m "tree split"
mkdir bar
bzr add
bzr revert
In this case the commit works, but 'bzr add' and 'bzr revert' give the error above. The problem is due to 'bzr join --reference': without that command, everything works fine. As a work-around, create a new branch, or type (at your own risk)
rm -fr .bzr/checkout
bzr co .
bzr --version
Bazaar (bzr) 2.0.1
Python interpreter: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python 2.6.4
Python standard library: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
Platform: Darwin-10.2.0-i386-64bit
bzrlib: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/bzrlib
Bazaar configuration: /Users/druido/.bazaar
Bazaar log file: /Users/druido/.bzr.log |
Raising this as a separate bug from #369923 as the initial bug report doesn't seem to totally tie up with druido's comment.
mkdir foo && cd foo
bzr init
mkdir baz
touch file
bzr add
bzr ci -m "initial"
bzr split baz
bzr join --reference baz
cd baz
touch file
bzr add
bzr ci -m "initial subtree"
cd ../
bzr ignore baz/.bzr
bzr: ERROR: The method _generate_inventory is not supported on objects of type CHKInventoryRepository.
Bazaar (bzr) 2.0.4
Python interpreter: /usr/bin/python 2.6.4
Python standard library: /usr/lib/python2.6
Platform: Linux-2.6.31-17-generic-i686-with-Ubuntu-9.10-karmic
bzrlib: /usr/lib/python2.6/dist-packages/bzrlib
Bazaar configuration: /home/scol/.bazaar
Bazaar log file: /home/scol/.bzr.log
Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd.
http://bazaar-vcs.org/
bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
|
|