Working tree content filtering & a proposed plan for eol support

Stefan Monnier monnier at iro.umontreal.ca
Thu Apr 17 01:53:20 BST 2008


>>> * keyword expansion
>>> * tab <-> space conversion
>>> * whatever.
>> 
>> Could the "whatever" include operations that split files into multiple
>> files (and merge them back later)?  E.g. the external format could be
>> a Zip file but the internal format would be a tree of files.
>> That could be useful for OpenDocument files.

> Hmm - probably not in the first cut. Right now, the only bits I'm
> tweaking are:

> * how a file gets written to disk
> * how a file gets read from disk
> * how the sha is calculated, i.e. sha the internal format even
>   though the external format is the one on disk.

> It's certainly an interesting idea though and one I'd like to think
> about more.

IIRC, CVS had a feature to handle such things (or was it the reverse,
with an external tree represented by an internal tar file?), called
`cvswrappers'.  For what it's worth, it introduced a lot of problems, so
maybe you'd better stay away from it.


        Stefan



More information about the bazaar mailing list