Indeed.
Since we are on this topic, I recently was thinking that it is a pity
that patches, inventories and pristine files do not have the same file
name format of just being the hash of their contents.
Patches and inventories have a prefix that indicate the size of the
uncompressed contents. I reckon this is for verification reasons, but we
could as well do without it, no?
The global cache would just be a big pool of hashed files, no matter if
they are patches, inventories or pristine. Well, even the contents of
_darcs could be unificated this way.
|