Binary file storage similar to Kiln
John Arbash Meinel
john at arbash-meinel.com
Fri Jul 22 18:24:24 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 7/22/2011 8:11 PM, Anteru wrote:
> Hi,
>
> Kiln is an extension to Mercurial which stores binary files on a server
> centrally, so clients can save a lot of storage space when binaries are
> used. Basically, certain files in the repository are marked as "large"
> and only the hashes are stored on the clients. When the file is
> required, it is transferred in full from the server. Server side, it
> seems to store the full data of each file for each revision.
>
> Is something like this planned for Bazaar? How invasive would such a
> change be? Can this be done with a plugin?
>
> (Naively, I would assume that all is needed is some way to mark files as
> large and do a pre-commit/post-checkout fixup client side and somehow
> abuse the transport layer. In particular, the repository could just
> store an UUID instead of the actual file contents and when checking out,
> the client would contact the server to retrieve the actual contents if
> an large file is encountered.)
>
> Cheers,
> Anteru
>
>
You could write a content filter that would have the 'canonical' form be
the hash of the file, and the 'convenient' form be the expanded content.
I don't know how specifically efficient, etc it would be, but you could
do it.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk4pwFcACgkQJdeBCYSNAAPrkgCfaGoX+aOCjPwgLWv2nmIOAH+C
9rkAnj7Us0dgUneiGs1bF6yOeDUSCE/h
=bUBu
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list