/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/en/release-notes/bzr-2.5.txt

  • Committer: Jelmer Vernooij
  • Date: 2011-11-25 17:54:52 UTC
  • mfrom: (6303 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6321.
  • Revision ID: jelmer@samba.org-20111125175452-v0uwwxqcp97tzuzv
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
.. toctree::
6
6
   :maxdepth: 1
7
7
 
8
 
bzr 2.5b3
 
8
bzr 2.5b4
9
9
#########
10
10
 
11
 
:2.5b3: NOT RELEASED YET
 
11
:2.5b4: NOT RELEASED YET
12
12
 
13
13
External Compatibility Breaks
14
14
*****************************
20
20
 
21
21
.. New commands, options, etc that users may wish to try out.
22
22
 
23
 
* The ``log_format`` configuration can be used with ``-Olog_format=line`` to
24
 
  change the format ``push`` and ``pull`` use to display the
25
 
  revisions. I.e.: ``bzr pull -v -Olog_format=short`` will use the ``short``
26
 
  format instead of the default ``long`` one. (Vincent Ladeuil, #861472)
27
 
 
28
23
Improvements
29
24
************
30
25
 
31
26
.. Improvements to existing commands, especially improved performance 
32
27
   or memory usage, or better results.
33
28
 
34
 
* ``bzr version-info`` now takes a ``--revision`` argument.
35
 
  (Jelmer Vernooij, #238705)
 
29
* When using ``bzr switch`` to switch to a sibling of the current
 
30
  branch, the relative branch name should no longer be url-encoded.
 
31
  (Jelmer Vernooij)
36
32
 
37
 
* ``bzr revno`` now takes a ``--revision`` argument.
38
 
  (Jelmer Vernooij, #870649)
 
33
* ``bzr switch`` now accepts colocated branch names to switch to.
 
34
  (Jelmer Vernooij, #826814)
39
35
 
40
36
Bug Fixes
41
37
*********
43
39
.. Fixes for situations where bzr would previously crash or give incorrect
44
40
   or undesirable results.
45
41
 
46
 
* ``bzr mkdir --quiet`` now does not print a line for every created
47
 
  directory. (Martin von Gagern, #869915)
 
42
* Allow lazy compiled patterns from ``bzrlib.lazy_regex`` to be
 
43
  pickled. (Jelmer Vernooij, #893149)
 
44
 
 
45
* A new section local option ``basename`` is available to help support some
 
46
  ``bzr-pipeline`` workflows and more generally help mapping local paths to
 
47
  remote ones. See ``bzr help configuration`` for more details.
 
48
  (Vincent Ladeuil, #843211)
 
49
 
 
50
* Add HPSS call for looking up revision numbers from revision ids on
 
51
  remote repositories. (Jelmer Vernooij, #640253)
 
52
 
 
53
* Cope with missing revision ids being specified to
 
54
  ``Repository.gather_stats`` HPSS call. (Jelmer Vernooij, #411290)
 
55
 
 
56
* Fix test failures on windows related to locations.conf handling.
 
57
  (Vincent Ladeuil, #892992)
 
58
 
 
59
* Fixed parsing of the timestamp given to ``commit --commit-time``. Now
 
60
  prohibits several invalid strings, reads the correct number of seconds,
 
61
  and gives a better error message if the time zone offset is not given.
 
62
  (Matt Giuca, #892657)
 
63
 
 
64
* Resolve regression from colocated branch path handling, by ensuring that
 
65
  unreserved characters are unquoted in URLs. (Martin Packman, #842223)
 
66
 
 
67
* Split segments from URLs for colocated branches without assuming the
 
68
  combined form is a valid. (Martin Packman, #842233)
 
69
 
 
70
* Support looking up revision numbers by revision id in empty branches.
 
71
  (Jelmer Vernooij, #535031)
 
72
 
 
73
* Support verifying signatures on remote repositories.
 
74
  (Jelmer Vernooij, #889694)
48
75
 
49
76
* Teach the bzr client how to reconnect if we get ``ConnectionReset``
50
77
  while making an RPC request. This doesn't handle all possible network
62
89
.. Changes that may require updates in plugins or other code that uses
63
90
   bzrlib.
64
91
 
 
92
* ``Repository.verify_revision`` has been renamed to
 
93
  ``Repository.verify_revision_signature``. (Jelmer Vernooij)
 
94
 
 
95
* ``Tree.get_file_by_path`` is now deprecated. Use ``Tree.get_file`` instead.
 
96
  (Jelmer Vernooij, #666897)
 
97
 
 
98
* Some global options for use with commands have been removed, construct
 
99
  an ``Option`` with the name instead. (Martin Packman)
 
100
 
65
101
Internals
66
102
*********
67
103
 
68
104
.. Major internal changes, unlikely to be visible to users or plugin 
69
105
   developers, but interesting for bzr developers.
70
106
 
 
107
* ``bzr config`` uses the new configuration implementation.
 
108
  (Vincent Ladeuil)
 
109
 
 
110
* ``RemoteBranch.get_config_stack`` and ``RemoteBzrDir.get_config_stack``
 
111
  will now use HPSS calls where possible. (Jelmer Vernooij)
 
112
 
 
113
* New HPSS calls ``Repository.has_signature_for_revision_id``,
 
114
  ``Repository.make_working_trees``, ``BzrDir.destroy_repository``,
 
115
  ``BzrDir.has_workingtree``, ``Repository.get_physical_lock_status``,
 
116
  ``Branch.get_physical_lock_status``,
 
117
  ``Branch.put_config_file``, ``Branch.break_lock``,
 
118
  ``BzrDir.destroy_branch``, ``Repository.break_lock``,
 
119
  ``VersionedFileRepository.get_serializer_format``,
 
120
  ``Repository.all_revision_ids``, ``Repository.start_write_group``,
 
121
  ``Repository.commit_write_group``, ``Repository.abort_write_group``
 
122
  and ``Repository.check_write_group``.
 
123
  (Jelmer Vernooij)
 
124
 
 
125
* Custom HPSS error handlers can now be installed in the smart server client
 
126
  using the ``error_translators`` and ``no_context_error_translators``
 
127
  registries. (Jelmer Vernooij)
 
128
 
71
129
Testing
72
130
*******
73
131
 
75
133
   suite.  This can include new facilities for writing tests, fixes to 
76
134
   spurious test failures and changes to the way things should be tested.
77
135
 
 
136
* Avoid failures in test_transform when OS error messages are localised.
 
137
  (Martin Packman, #891582)
 
138
 
 
139
bzr 2.5b3
 
140
#########
 
141
 
 
142
:2.5b3: 2011-11-10
 
143
 
 
144
This is the third beta of the 2.5 series, leading to a 2.5.0 release in
 
145
February 2012. Beta releases are suitable for everyday use but may cause
 
146
some incompatibilities with plugins.
 
147
 
 
148
This release includes log options for ``push`` and ``pull``, more UI polish
 
149
for colocated branches, a better and more coherent implementation for UI
 
150
dialogs, enhancements to the config framework and more.
 
151
 
 
152
This release includes all bug fixed in previous series known at the time of
 
153
this release.
 
154
 
 
155
External Compatibility Breaks
 
156
*****************************
 
157
 
 
158
None
 
159
 
 
160
New Features
 
161
************
 
162
 
 
163
* The ``log_format`` configuration can be used with ``-Olog_format=line`` to
 
164
  change the format ``push`` and ``pull`` use to display the
 
165
  revisions. I.e.: ``bzr pull -v -Olog_format=short`` will use the ``short``
 
166
  format instead of the default ``long`` one. (Vincent Ladeuil, #861472)
 
167
 
 
168
* The new config scheme allows an alternative syntax for the 'appenpath'
 
169
  policy relying on option expansion and defining a new 'relpath' option
 
170
  local to a section. Instead of using '<option>:policy=appendpath', the
 
171
  option value can de defined as 'option=xxxx/{relpath}'.
 
172
  (Vincent Ladeuil, #832013)
 
173
 
 
174
Improvements
 
175
************
 
176
 
 
177
* ``bzr info -v`` now shows the number of colocated branches
 
178
  for control directories that support them.
 
179
  (Jelmer Vernooij, #863285)
 
180
 
 
181
* ``bzr version-info`` now takes a ``--revision`` argument.
 
182
  (Jelmer Vernooij, #238705)
 
183
 
 
184
* ``bzr revno`` now takes a ``--revision`` argument.
 
185
  (Jelmer Vernooij, #870649)
 
186
 
 
187
* ``bzr rmbranch`` can now remove colocated branches.
 
188
  (Jelmer Vernooij, #831464)
 
189
 
 
190
* ``bzr serve`` now can serve from URLs rather than just from the
 
191
  file system. I.e.: ``bzr serve -d lp:bzr`` or
 
192
  ``bzr serve -d file:///data/bzr`` (Jelmer Vernooij)
 
193
 
 
194
* all input prompts are now char-based when possible, and can be forced to
 
195
  line-based mode by setting the ``BZR_TEXTUI_INPUT`` environment variable
 
196
  to 'line-based'. This replace the previous shelf UI only patch using
 
197
  ``INSIDE_EMACS``. (Benoît Pierre)
 
198
 
 
199
Bug Fixes
 
200
*********
 
201
 
 
202
* ``bzr info`` now shows the master branch location too for
 
203
  treeless local branches. (Jelmer Vernooij, #258355)
 
204
 
 
205
* ``bzr info`` no longer shows empty output if only a control
 
206
  directory is present. (Jelmer Vernooij, #159098)
 
207
 
 
208
* ``bzr mkdir --quiet`` now does not print a line for every created
 
209
  directory. (Martin von Gagern, #869915)
 
210
 
 
211
* ``bzr mv`` does not crash when attempting to move the root of a
 
212
  branch. (Jonathan Riddell, #809728)
 
213
 
 
214
* ``bzr shelve`` now use ``UIFactory.choose`` for input handling, making
 
215
  it usable when creating a custom ``UIFactory`` implementation. (Benoît
 
216
  Pierre)
 
217
 
 
218
* ``bzr clean-tree`` now use ``UIFactory.get_boolean`` for confirmation
 
219
  prompt, making it usable when using a custom ``UIFactory``
 
220
  implementation. (Benoît Pierre)
 
221
 
 
222
* If sending a crash through Apport fails report the Apport failure to
 
223
  bzr.log rather than stderr. (Jonathan Riddell, #766735)
 
224
 
 
225
* ``bzr upgrade`` no longer treats 'already up-to-date' exceptions as
 
226
  errors. (Benoît Pierre, #716560).
 
227
 
 
228
* ``bzr version-info`` no longer populates the clean state for custom
 
229
  templates unless {clean} is explicitly asked for.
 
230
  (Lawrence Mitchell, #882541)
 
231
 
 
232
* Fix finding the CPU count when using Python >= 2.6 on BSD-based systems.
 
233
  (Jelmer Vernooij, #887151)
 
234
 
 
235
* ``WorkingTree.clone()`` now supports its ``revision_id`` being set
 
236
  to the null revision. (Jelmer Vernooij, #876423)
 
237
 
 
238
* ``WorkingTree.pull`` can now pull ``NULL_REVISION``.
 
239
  (Jelmer Vernooij, #887556)
 
240
 
 
241
API Changes
 
242
***********
 
243
 
 
244
* ``Branch.revision_history`` is now deprecated. (Jelmer Vernooij, #799519)
 
245
 
 
246
* Methods ``add`` and ``items`` of ``LRUCache`` and ``LRUSizeCache`` are
 
247
  deprecated. Use normal dict-style access instead. (Martin Packman)
 
248
 
 
249
* New flag ``RepositoryFormat.supports_unreferenced_revisions`` which
 
250
  indicates whether revisions can be present in a repository without
 
251
  being referenced from e.g. a branch history at the same time.
 
252
  (Jelmer Vernooij)
 
253
 
 
254
* New method ``Transport.set_segment_parameter``.  (Jelmer Vernooij)
 
255
 
 
256
* ``UIFactory.choose`` has been added: prompt the user for a list of
 
257
  choices. (Benoît Pierre)
 
258
 
 
259
Internals
 
260
*********
 
261
 
 
262
* ``ControlDirFormat`` now has a new method ``supports_transport``
 
263
  which format implementations can use whether or not they can access
 
264
  a control dir over a particular transport. (Jelmer Vernooij)
 
265
 
 
266
* ``BranchBuilder.build_commit`` now take ``parent_ids`` and
 
267
  ``allow_leftmost_as_ghost`` arguments.  (Jelmer Vernooij)
 
268
 
 
269
Testing
 
270
*******
 
271
 
 
272
* Ensure TestCase instances are deallocated immediately after running where
 
273
  possible. This greatly reduces the peak resource needs of a full test suite
 
274
  run. The new ``-Euncollected_cases`` selftest flag will add failures if any
 
275
  case which persists pasts its expected lifetime. (Martin Packman, #613247)
 
276
 
 
277
* Report exceptions from child processes during fork instead of swallowing the
 
278
  error and reporting that everything went okay. (Martin Packman, #804130)
 
279
 
78
280
 
79
281
bzr 2.5b2
80
282
#########
396
598
  operations that use it, like merge, can now create trees without a root.
397
599
  (Aaron Bentley)
398
600
 
 
601
* Raise BadIndexKey exception in btree_index when a key is too large, fixing 
 
602
  an infinite recursion issue. (Shannon Weyrick, #720853)
 
603
 
399
604
Documentation
400
605
*************
401
606