[RFC] export filters

James Westby jw+debian at jameswestby.net
Sun Jan 14 20:13:38 GMT 2007


On (14/01/07 20:51), Jan Hudec wrote:
> As long as you do it on the python level, I'd think filtering the inventory
> would be best thing. Ie. the bzrlib.export.export takes a tree as the first
> argument. If you call it from a plugin directly, you can take the
> RevisionTree, remove the entries you don't want from it's inventory (not sure
> whether you have to copy it) and pass it to export.

That sounds like a good idea, thanks. It never occured to do it like
this. I guess one day I can look at doing it by this method.

Thanks,

James

-- 
  James Westby   --    GPG Key ID: B577FE13    --     http://jameswestby.net/
  seccure key - (3+)k7|M*edCX/.A:n*N!>|&7U.L#9E)Tu)T0>AM - secp256r1/nistp256




More information about the bazaar mailing list