Handling unmergeable files -- a call to arms
Russel Winder
russel.winder at concertant.com
Tue Jun 2 20:15:06 BST 2009
On Sat, 2009-05-30 at 11:40 +0200, Martin Pool wrote:
> 2009/5/30 Russel Winder <russel.winder at concertant.com>:
> > Any hint as to which bit of Bazaar I will need to look at to intercept
> > all file updates?
> >
> > I guess I may end up having to monkey patch to create an interceptor?
> > (Not nice, but maybe necessary?)
>
> Better to avoid monkey patching; perhaps add a hook to Bazaar that's
> fired before and after a tree transform (Aaron can comment on details)
> and use that to change permissions.
Aaron failed to take the bait :-(
Are there hooks in Bazaar currently for these phases that intercept
functions can be added to?
(And I agree, monkey patching is definitely a technique of very last
resort.)
--
Russel.
=============================================================================
Dr Russel Winder Partner
xmpp: russel at russel.org.uk
Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road, f: +44 8700 516 084 voip: sip:russel.winder at ekiga.net
London SW11 1EN, UK m: +44 7770 465 077 skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090602/b80890d6/attachment.pgp
More information about the bazaar
mailing list