[MERGE] Make it easier to introduce new WorkingTree formats

Ian Clatworthy ian.clatworthy at canonical.com
Tue Jul 29 14:15:25 BST 2008


The attached patch makes it easier to introduce new
WorkingTreeFormats that subclass WorkingTreeFormat4.
Note that WorkingTreeFormat3 already uses the same
_tree_class "trick" but WTF4 doesn't until now.

Introducing a new WorkingTreeFormat is a requirement
to support filtered views. Robert is also requesting
(or insisting on) this for the content-filtering
feature as well. It might help make life easier for
plugins authors trying cool stuff. In short, I think
it is a good thing to make our code easier to extend
and this helps.

Ian C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wt-subclassing.patch
Type: text/x-diff
Size: 4590 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080729/ae5aae36/attachment-0001.bin 


More information about the bazaar mailing list