Bazaar-NG vs. Mercurial -- speed comparison

Aaron Bentley aaron.bentley at utoronto.ca
Thu May 18 20:35:42 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bryan O'Sullivan wrote:
>>First, mercurial use a custom server rather than working off of 'plain'
>>http/sftp.
> 
> 
> It actually works over plain http, though you can't push over HTTP yet.

> We tunnel over regular ssh, or you can install a CGI script to serve
> over an existing http server on port 80.  Either mechanism takes about
> two minutes to set up and debug.

When we speak of plain http, we really mean that: the lowest common
denominator-- no special executables on the server of any kind.  The cgi
script may well be impossible to set up.  It depends what your account
has permission to do.

>>Mercurial has used 'revfiles' for a long
>>time, which are very similar to knits.
> 
> 
> The only similarity is that both are append-only.  Revlog files do not
> represent a weave, while knits do.  I suspect that you have to read an entire
> knit file to reconstruct the most recent revision, while a revlog file has
> a small upper bound on the amount of data you have to read to reconstruct
> any revision.

That's incorrect.  Knits have periodic snapshots and a separate index,
so you don't have to read the whole file to extract a specific version
(unless you have very few versions).

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEbMyO0F+nu1YWqI0RAvXQAJwPHO+kUW4WYubcfvYTOmM+a2clWQCfbaJz
aIeK1CMc6H6SPaHdZB251vI=
=MZ/R
-----END PGP SIGNATURE-----




More information about the bazaar mailing list