[ANN] Zip exporter plugin and merge candidat
Alexander Belchenko
bialix at ukr.net
Tue Nov 15 15:02:59 GMT 2005
Aaron Bentley пишет:
> Alexander Belchenko wrote:
>>This is should be easy, but need to be implemented way for autodetect
>>appropriate format by filename extension. Per example, by adding map
>>with known file extensions as keys, and known exporters as values.
>
> Isn't tree.exporters already such a map? It's certainly how I intended
> it to be used.
It is not the same map. tree.exporters is map between format names and
exporter functions. But there is no relations between destination
filename extensions and export formats for autodetect feature. In
current bzr.dev autodetect hardcoded as sequence of if-elif-else statements.
Alexander
More information about the bazaar
mailing list