[MERGE] Make it easier to introduce new WorkingTree formats

John Arbash Meinel john at arbash-meinel.com
Tue Jul 29 15:19:02 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ian Clatworthy wrote:
| 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.
|

BB:approve

This just reminds me that I *really* wish the "initialize" functions
would return locked objects. As it stands, we usually lock them right
after we get them back, and locking isn't really as cheap as we would
like it to be.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiPJtYACgkQJdeBCYSNAANqQQCgrO6MIfBvBjrMKj0AGrmDVVIO
cY0AnRKxtYKZTfIGuISLJiRwOERoh9h2
=ztVT
-----END PGP SIGNATURE-----



More information about the bazaar mailing list