[RFC] Strawman replacement local directory state
John Arbash Meinel
john at arbash-meinel.com
Tue Jun 13 17:47:07 BST 2006
Wouter van Heyst wrote:
> On Wed, Jun 14, 2006 at 02:07:59AM +1000, Robert Collins wrote:
> <snip>
>> On the down side again, this does require diff and status to take a
>> working tree (only the working tree would be needed) write lock, because
>> they would be updating a file that add/rename/remove would also affect.
>
> This would only apply when a working tree is available, ie, diffing
> readonly branches still works?
>
> Wouter van Heyst
>
>
It would have to be a different code path.
Robert is discussing adding a codepath to WorkingTree which allows it to
return the difference directly, since it is caching a decent way of
mapping base => current.
Because the entries are next to eachother, looking up something is
pretty easy.
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/20060613/12990f49/attachment.pgp
More information about the bazaar
mailing list