5462.5.1
by Andrew Bennetts
Split NEWS into per-release doc/en/release-notes/bzr-*.txt |
1 |
#################### |
2 |
Bazaar Release Notes |
|
3 |
#################### |
|
4 |
||
5 |
.. toctree:: |
|
6 |
:maxdepth: 1 |
|
7 |
||
8 |
bzr 1.9 |
|
9 |
####### |
|
10 |
||
11 |
:Released: 2008-11-07 |
|
12 |
||
13 |
This release of Bazaar adds a new repository format, ``1.9``, with smaller |
|
14 |
and more efficient index files. This format can be specified when |
|
15 |
creating a new repository, or used to losslessly upgrade an existing |
|
16 |
repository. bzr 1.9 also speeds most operations over the smart server |
|
17 |
protocol, makes annotate faster, and uses less memory when making |
|
18 |
checkouts or pulling large amounts of data. |
|
19 |
||
20 |
Bug Fixes |
|
21 |
********* |
|
22 |
||
23 |
* Fix "invalid property value 'branch-nick' for None" regression with |
|
24 |
branches bound to svn branches. (Martin Pool, #293440) |
|
25 |
||
26 |
* Fix SSL/https on Python2.6. (Vincent Ladeuil, #293054) |
|
27 |
||
28 |
* ``SFTPTransport.readv()`` had a bug when requests were out-of-order. |
|
29 |
This only triggers some-of-the-time on Knit format repositories. |
|
30 |
(John Arbash Meinel, #293746) |
|
31 |
||
32 |
||
33 |
bzr 1.9rc1 |
|
34 |
########## |
|
35 |
||
36 |
:Released: 2008-10-31 |
|
37 |
||
38 |
New Features |
|
39 |
************ |
|
40 |
||
41 |
* New Branch hook ``transform_fallback_location`` allows a function to |
|
42 |
be called when looking up the stacked source. (Michael Hudson) |
|
43 |
||
44 |
* New repository formats ``1.9`` and ``1.9-rich-root``. These have all |
|
45 |
the functionality of ``1.6``, but use the new btree indexes. |
|
46 |
These indexes are both smaller and faster for access to historical |
|
47 |
information. (John Arbash Meinel) |
|
48 |
||
49 |
Improvements |
|
50 |
************ |
|
51 |
||
52 |
* ``BTreeIndex`` code now is able to prefetch extra pages to help tune |
|
53 |
the tradeoff between bandwidth and latency. Should be tuned |
|
54 |
appropriately to not impact commands which need minimal information, |
|
55 |
but provide a significant boost to ones that need more context. Only |
|
56 |
has a direct impact on the ``--development2`` format which uses |
|
57 |
btree's for the indexes. (John Arbash Meinel) |
|
58 |
||
59 |
* ``bzr dump-btree`` is a hidden command introduced to allow dumping |
|
60 |
the contents of a compressed btree file. (John Arbash Meinel) |
|
61 |
||
62 |
* ``bzr pack`` now tells the index builders to optimize for size. For |
|
63 |
btree index repositories, this can save 25% of the index size |
|
64 |
(mostly in the text indexes). (John Arbash Meinel) |
|
65 |
||
66 |
* ``bzr push`` to an existing branch or repository on a smart server |
|
67 |
is faster, due to Bazaar making more use of the ``get_parent_map`` |
|
68 |
RPC when querying the remote branch's revision graph. |
|
69 |
(Andrew Bennetts) |
|
70 |
||
71 |
* default username for bzr+ssh and sftp can be configured in |
|
72 |
authentication.conf. (Aaron Bentley) |
|
73 |
||
74 |
* launchpad-login now provides a default username for bzr+ssh and sftp |
|
75 |
URLs, allowing username-free URLs to work for everyone. (Aaron Bentley) |
|
76 |
||
77 |
* ``lp:`` lookups no longer include usernames, making them shareable and |
|
78 |
shorter. (Aaron Bentley) |
|
79 |
||
80 |
* New ``PackRepository.autopack`` smart server RPC, which does |
|
81 |
autopacking entirely on the server. This is much faster than |
|
82 |
autopacking via plain file methods, which downloads a large amount |
|
83 |
of pack data and then re-uploads the same pack data into a single |
|
84 |
file. This fixes a major (although infrequent) cause of lengthy |
|
85 |
delays when using a smart server. For example, pushing the 10th |
|
86 |
revision to a repository with 9 packs now takes 44 RPCs rather than |
|
87 |
179, and much less bandwidth too. This requires Bazaar 1.9 on both |
|
88 |
the client and the server, otherwise the client will fallback to the |
|
89 |
slower method. (Andrew Bennetts) |
|
90 |
||
91 |
Bug Fixes |
|
92 |
********* |
|
93 |
||
94 |
* A failure to load a plugin due to an IncompatibleAPI exception is |
|
95 |
now correctly reported. (Robert Collins, #279451) |
|
96 |
||
97 |
* API versioning support now has a multiple-version checking api |
|
98 |
``require_any_api``. (Robert Collins, #279447) |
|
99 |
||
100 |
* ``bzr branch --stacked`` from a smart server to a standalone branch |
|
101 |
works again. This fixes a regression in 1.7 and 1.8. |
|
102 |
(Andrew Bennetts, #270397) |
|
103 |
||
104 |
* ``bzr co`` uses less memory. It used to unpack the entire WT into |
|
105 |
memory before writing it to disk. This was a little bit faster, but |
|
106 |
consumed lots of memory. (John Arbash Meinel, #269456) |
|
107 |
||
108 |
* ``bzr missing --quiet`` no longer prints messages about whether |
|
109 |
there are missing revisions. The exit code indicates whether there |
|
110 |
were or not. (Martin Pool, #284748) |
|
111 |
||
112 |
* Fixes to the ``annotate`` code. The fast-path which re-used the |
|
113 |
stored deltas was accidentally disabled all the time, instead of |
|
114 |
only when a branch was stacked. Second, the code would accidentally |
|
115 |
re-use a delta even if it wasn't against the left-parent, this |
|
116 |
could only happen if ``bzr reconcile`` decided that the parent |
|
117 |
ordering was incorrect in the file graph. (John Arbash Meinel) |
|
118 |
||
119 |
* "Permission denied" errors that occur when pushing a new branch to a |
|
120 |
smart server no longer cause tracebacks. (Andrew Bennetts, #278673) |
|
121 |
||
122 |
* Some compatibility fixes for building the extensions with MSVC and |
|
123 |
for python2.4. (John Arbash Meinel, #277484) |
|
124 |
||
125 |
* The index logic is now able to reload the list of pack files if and |
|
126 |
index ends up disappearing. We still don't reload if the pack data |
|
127 |
itself goes missing after checking the index. This bug appears as a |
|
128 |
transient failure (file not found) when another process is writing |
|
129 |
to the repository. (John Arbash Meinel, #153786) |
|
130 |
||
131 |
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if |
|
132 |
it was previously set. All checkouts will now refer to the bound branch |
|
133 |
for a nickname if one was not explicitly set. |
|
134 |
(Marius Kruger, #230903) |
|
135 |
||
136 |
Documentation |
|
137 |
************* |
|
138 |
||
139 |
* Improved hook documentation. (Michael Ernst) |
|
140 |
||
141 |
API Changes |
|
142 |
*********** |
|
143 |
||
144 |
* commands.plugins_cmds is now a CommandRegistry, not a dict. |
|
145 |
||
146 |
Internals |
|
147 |
********* |
|
148 |
||
149 |
* New AuthenticationConfig.set_credentials method allows easy programmatic |
|
150 |
configuration of authetication credentials. |
|
151 |
||
152 |
||
153 |
.. |
|
154 |
vim: tw=74 ft=rst ff=unix |