Cleaning up Branch

John A Meinel john at arbash-meinel.com
Tue Oct 4 16:00:04 BST 2005


Aaron Bentley wrote:
> Martin Pool wrote:
>
>>>Branch() has a lot of methods but it's not completely clear to me how
>>>to slice it up.  (Well, one thing would be to remove obsolete
>>>interfaces and move things that work on the working directory into an
>>>object representing it.)
>
>
> Here's how I'd propose slicing things:
> Branch
> - all operations that access or modoify revision-history and merge history
> - contains a Storage and a WorkingTree
>
> WorkingTree
> - all inventory operations
> - pending merge api
> - file / directory / symlink create/write/read/delete operations
>
> Storage
> - all revision and RevisionTree operations, except those that refer to
> branch history
> - all access to inventories
> - all access to texts

Seems like a decent slicing to me.

John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051004/d892ebae/attachment.pgp 


More information about the bazaar mailing list