WorkingTree.revert bug

Aaron Bentley aaron.bentley at utoronto.ca
Tue Dec 20 21:54:24 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gustavo Niemeyer wrote:
> Hey Martin!
> 
> How're things going?
> 
> Do you remember when I asked you to have a look at something
> strange that was happening with svn2bzr at UBZ, regarding a
> working tree with an empty inventory, even though the real
> tree had files?  I've spotted the issue.  The attached file
> explores the bug.
> 
> Basically what happens is that revert is a dummy method calling
> an external function to do the real job, so it should reread the
> inventory after merge_inner returns.

What's really unfortunate is that
working_tree.branch.working_tree().set_inventory() has no effect on
working_tree._inventory, especially given that we've taken out a write lock.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDqH2Q0F+nu1YWqI0RAi0GAKCFpvi8+zrBLRIuA6llQmdzfIDQxACfYYjE
CLT2U4eVBqzYs2UEWf2/ta8=
=CfqK
-----END PGP SIGNATURE-----




More information about the bazaar mailing list