WorkingTree.revert bug

Gustavo Niemeyer gustavo at niemeyer.net
Tue Dec 20 20:54:57 GMT 2005


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.

The same should be true for WorkingTree.pull, even though I
haven't tested.

-- 
Gustavo Niemeyer
http://niemeyer.net




More information about the bazaar mailing list