Similar steps lead to the following error when using repository format 2a (bzr 2.0.1):
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)
Similar steps lead to the following error when using repository format 2a (bzr 2.0.1):
bzr: ERROR: The method _generate_inventory is not supported on objects of type CHKInventoryRep ository.
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 Library/ Frameworks/ Python. framework/ Versions/ 2.6/Resources/ Python. app/Contents/ MacOS/Python 2.6.4 Library/ Frameworks/ Python. framework/ Versions/ 2.6/lib/ python2. 6 10.2.0- i386-64bit Library/ Frameworks/ Python. framework/ Versions/ 2.6/lib/ python2. 6/site- packages/ bzrlib druido/ .bazaar druido/ .bzr.log
Bazaar (bzr) 2.0.1
Python interpreter: /opt/local/
Python standard library: /opt/local/
Platform: Darwin-
bzrlib: /opt/local/
Bazaar configuration: /Users/
Bazaar log file: /Users/