~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: jelmer at samba
  • Date: 2011-10-11 10:21:35 UTC
  • mto: This revision was merged to the branch mainline in revision 6214.
  • Revision ID: jelmer@samba.org-20111011102135-0wuzm1stjwxehkft
Move convenience methods to ControlDir.

Show diffs side-by-side

added added

removed removed

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