Merging a bundle w/ a pack repository is slow

Aaron Bentley aaron.bentley at utoronto.ca
Fri Nov 30 04:04:03 GMT 2007


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

Robert Collins wrote:
> I'd really really like to have a no-compromise approach to packs.

We aren't ready for a no-compromise approach to packs.  At minimum, we
would need a way of finding the ancestry difference between two
revisions' ancestries that is trustworthy and has nice scaling properties.

Until we have that, there are many get_ancestry calls we can't eliminate.

> We
> know that the old approach of O(history) operations does not work, and
> we have to fix it.

If you are proposing to fix it before 1.0, okay.  But if the release
slips or performance is bad because of your no-compromise attitude, I
will not be happy.

> We're not punishing code that uses bad api's, we *removing* the
> constraint that made bad apis no worse than good api's

Actually, we're doing a third thing: punishing our users for using
packs.  If packs aren't fast for users, what are they for?

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

iD8DBQFHT4uz0F+nu1YWqI0RAuvQAJ9TUFX3XDreFoHwvH4vikhNJ2SElACgiMzl
p3nlUTxL0XDQQ+oW+WW+GJ8=
=p+8K
-----END PGP SIGNATURE-----



More information about the bazaar mailing list