[RFC][BBC] New revision serializer
aaron at aaronbentley.com
Wed Apr 1 20:58:11 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Jelmer Vernooij wrote:
> Aaron Bentley wrote:
>> Jelmer Vernooij wrote:
>>>> Does this format look reasonable?
>>> And once again I forget the attachment.. here it is.
>> My main question is about alternatives; did you consider using RIO or
>> bencode? If so, why is this better? This looks close to RIO...
> I was told bencode was mainly useful for encoding streams (e.g. network
Can't really agree there. It's very similar to JSON in storage
capability, but isn't human-readable. It's used in bundles, for
example. It lacks support for unicode, tuples and sets, which can
sometimes be a pain, though.
> I wasn't aware of RIO and it does indeed look very much like
> what I ended up with, so it seems silly not to use it instead.
Cool! (RIO is used for conflicts, and a variant is used for merge
directives. I think RIO was originally intended for revisions, though.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the bazaar