Branko Čibej <br...@apache.org> writes:

> Agreed. That's why I didn't propose this. I proposed spawning off a
> daemon that would post-process _one_ commit and exit. It could do all
> sorts of analysis of the content and finding the best (for some
> definition of "best") source for the delta, etc.

One difficulty is the that FSFS makes the assumption that revision files
are immutable.  The pack operation can get around this as it deletes the
immutable revision files and adds distinct immutable pack files.

A separate deltification operation would probably need to do something
similar, introduce a second form of revision file distinguished by name
or path.  Commit would write immutable pre-delta revision files and
deltification would write immutable post-delta revision files before
deleting the pre-delta file.  All the FSFS code would have to fall over
from pre-delta revision file to post-delta revision file much like it
falls over from revision file to pack file.

-- 
Philip

Reply via email to