How to make files in working tree RO automatically

Simon Kersey simon.kersey at ipl.com
Fri Dec 18 09:14:41 GMT 2009


Aaron Bentley <aaron <at> aaronbentley.com> writes:

> 
> 
> 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
> 

Thanks for the suggestions I will look into it.  As a temporary measure just 
using the branch open hook and BZr Explorer seems to generally have the desired 
effect.




More information about the bazaar mailing list