Rev 3053: Make pack-0.92 be the default format. in http://people.ubuntu.com/~robertc/baz2.0/pack.asdefault
Robert Collins
robertc at robertcollins.net
Thu Nov 29 21:13:01 GMT 2007
At http://people.ubuntu.com/~robertc/baz2.0/pack.asdefault
------------------------------------------------------------
revno: 3053
revision-id:robertc at robertcollins.net-20071129211248-rnfgh3f138vv6357
parent: pqm at pqm.ubuntu.com-20071129184101-u9506rihe4zbzyyz
committer: Robert Collins <robertc at robertcollins.net>
branch nick: pack.asdefault
timestamp: Fri 2007-11-30 08:12:48 +1100
message:
Make pack-0.92 be the default format.
modified:
NEWS NEWS-20050323055033-4e00b5db738777ff
bzrlib/bzrdir.py bzrdir.py-20060131065624-156dfea39c4387cb
bzrlib/tests/test_switch.py test_switch.py-20071116011000-v5lnw7d2wkng9eux-2
=== modified file 'NEWS'
--- a/NEWS 2007-11-29 18:41:01 +0000
+++ b/NEWS 2007-11-29 21:12:48 +0000
@@ -20,6 +20,22 @@
See http://doc.bazaar-vcs.org/latest/developer/packrepo.html
(Martin Pool)
+ * The default repository format is now "pack-0.92". To upgrade, please
+ reconcile your repository (``bzr reconcile``), and then upgrade
+ (``bzr upgrade``). "pack-0.92" offers substantially better scaling and
+ performance than the previous knits format. Some operations are slower
+ where the code already had bad scaling characteristics under knits, the
+ pack format makes such operations more visible as part of being more
+ scalable overall. We will correct such operations over the coming releases
+ and encourage the filing of bugs on any operation which you observe to be
+ slower in a packs repository. One particular case that we do not intend
+ to fix is pulling data from a pack repository into a knit repository over
+ a high latency link; downgrading such data requires reinsertion of the
+ file texts, and this is a classic space/time tradeoff. The current
+ implementation is conservative on memory usage because we need to support
+ converting data from any tree without problems.
+ (Robert Collins, Martin Pool, #164476)
+
FEATURES:
* New ``authentication.conf`` file holding the password or other credentials
=== modified file 'bzrlib/bzrdir.py'
--- a/bzrlib/bzrdir.py 2007-11-29 18:41:01 +0000
+++ b/bzrlib/bzrdir.py 2007-11-29 21:12:48 +0000
@@ -2557,4 +2557,4 @@
hidden=False,
experimental=True,
)
-format_registry.set_default('dirstate-tags')
+format_registry.set_default('pack-0.92')
=== modified file 'bzrlib/tests/test_switch.py'
--- a/bzrlib/tests/test_switch.py 2007-11-22 04:31:28 +0000
+++ b/bzrlib/tests/test_switch.py 2007-11-29 21:12:48 +0000
@@ -57,10 +57,12 @@
tree.add('file-2')
tree.remove('file-1')
tree.commit('rev2')
+ self.build_tree(['checkout/file-3'])
+ checkout.add('file-3')
+ checkout_dir = checkout.bzrdir
+ # rename the branch on disk, the checkout object is now invalid.
os.rename('branch-1', 'branch-2')
to_branch = branch.Branch.open('branch-2')
- self.build_tree(['checkout/file-3'])
- checkout.add('file-3')
switch.switch(checkout.bzrdir, to_branch)
self.failIfExists('checkout/file-1')
self.failUnlessExists('checkout/file-2')
More information about the bazaar-commits
mailing list