[MERGE][1.6] Deprecate knit repositories.
John Arbash Meinel
john at arbash-meinel.com
Thu Jul 24 15:42:12 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andrew Bennetts wrote:
| Hi all,
|
| This simple patch causes knit repositories to emit warnings, just like
weave and
| earlier repositories already do. Here's what it looks like to the user:
|
| $ bzr st
| Format <RepositoryFormatKnit1> for file:///tmp/whatever/.bzr/ is
deprecated - please use 'bzr upgrade' to get better performance
|
| Packs are so much better than knits, we probably should have done this
a couple
| of releases ago :)
|
| It perhaps deserves a test, but it's trivial enough that I figured I'd
send it
| the list as is anyway.
|
| -Andrew.
|
|
So, one of the big complaints about how we did this with weaves, is that
we did it every time you accessed one, even if it was someone else's branch.
So doing: "bzr branch http://someone/else" would warn you to upgrade
that branch.
Aaron's (reasonable) position was that we should only warn when you take
out a write-lock on the branch.
I realize that is significantly more effort (which is why we didn't do it.)
But I know our users will be a little bit annoyed with having this message.
That said, we've let knits regress (performance wise) tremendously, and
unless we restore at least the transaction cache, then I think something
like this is necessary.
BB:comment
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkiIlMQACgkQJdeBCYSNAAM5VQCfQpfXv0SV6qoHlVl6Od/8sYHw
9xIAn1jjvp1+DStAO9aGk67waoZBHemi
=NzUf
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list