[Bug] 'bzr add --dry-run' actually added files

John Arbash Meinel john at arbash-meinel.com
Fri Aug 18 15:58:10 BST 2006


Michael Ellerman wrote:
> On Wed, 2006-08-16 at 23:09 -0500, John Arbash Meinel wrote:

...

>> Robert and I have discussed it a bit, and we decided that it would be
>> better if the working inventory was only cached for the period of a read
>> or write lock. Which would fix these sort of issues.
> 
> Ok, and that's changed since I initially wrote it? I just thought I was
> going crazy .. again.
> 
> cheers
> 

Assuming you wrote it before we split out working tree into a separate
class. Or possibly shortly thereafter.

I do seem to remember that at one point, every call to 'wt.inventory'
re-read the disk inventory. Which is naturally very bad for performance.
But what we do now isn't great either :)

John
=:->



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060818/1396f1db/attachment.pgp 


More information about the bazaar mailing list