[RFC] remove versioned_file.enable_cache
John Arbash Meinel
john at arbash-meinel.com
Mon Mar 17 15:00:17 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robert Collins wrote:
> the enable_cache method seems to be only called once, for knit repositor
> fetching. I think we can safely remove the cache logic entirely as packs
> are the default. (That or make the cache be a decorator/optional layer).
>
> -Rob
Specifically, it was used because we download inventories first, to
figure out what texts we need to process. But we can't install the
inventories in a Knit repository.
If you remove this completely, it will significantly hurt Knit format
fetching. Because it has to download the inventories 2x.
So if you want to refactor it so that it is only enabled for Inventories
when fetching with Knit format repositories, I'm okay with that. But I
don't think we want such a significant regression on everyone who hasn't
upgraded yet.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH3oeBJdeBCYSNAAMRAnOkAJ9DM6R7PYchl1XD20lfv3toMXKNHQCgustV
aiKGevUO3e6dJuUSXiNJPNk=
=mI3b
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list