How to make files in working tree RO automatically

Aaron Bentley aaron at aaronbentley.com
Thu Dec 17 21:15:11 GMT 2009


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

Martin Pool wrote:
> I think we probably want to add a pre_transform and post_transform
> hook to MutableTree.

If I were writing it, I think I'd put a hook just before
TreeTransform.apply is invoked.  But then you have to make TreeTransform
apply the readonly setting to directories after all their contents have
been added.

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

iEYEARECAAYFAksqn18ACgkQ0F+nu1YWqI04fwCfdwdpkvrf3IQVnoMQfji5ZONS
tqAAn0h+I1SuC2mMyjHpckGch3jcFk4v
=3J0l
-----END PGP SIGNATURE-----



More information about the bazaar mailing list