/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: Jonathan Riddell
  • Date: 2011-09-12 16:31:46 UTC
  • mto: This revision was merged to the branch mainline in revision 6132.
  • Revision ID: jriddell@canonical.com-20110912163146-s1cukb9b6498fmz1
do not use i18n in tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
####################
 
2
Bazaar Release Notes
 
3
####################
 
4
 
 
5
.. toctree::
 
6
   :maxdepth: 1
 
7
 
 
8
bzr 2.5b1
 
9
#########
 
10
 
 
11
:2.5b1: NOT RELEASED YET
 
12
 
 
13
External Compatibility Breaks
 
14
*****************************
 
15
 
 
16
.. These may require users to change the way they use Bazaar.
 
17
 
 
18
New Features
 
19
************
 
20
 
 
21
.. New commands, options, etc that users may wish to try out.
 
22
 
 
23
* A ``from_unicode`` parameter can be specified when registering a config
 
24
  option. This implements boolean and integer config options when the
 
25
  provided ``bool_from_store`` and ``int_from_store`` are used.
 
26
  (Vincent Ladeuil)
 
27
 
 
28
* A ``from_unicode`` parameter can be specified when registering a config
 
29
  option. This implements boolean, integer and list config options when the
 
30
  provided ``bool_from_store``, ``int_from_store`` and ``list_from_store``
 
31
  are used for this parameter.  (Vincent Ladeuil)
 
32
 
 
33
* Accessing a packaging branch on Launchpad (eg, ``lp:ubuntu/bzr``) now
 
34
  checks to see if the most recent published source package version for
 
35
  that project is present in the branch tags. This should help developers
 
36
  trust whether the packaging branch is up-to-date and can be used for new
 
37
  changes. The level of verbosity is controlled by the config item
 
38
  ``launchpad.packaging_verbosity``. It can be set to one of
 
39
 
 
40
  off
 
41
    disable all checks
 
42
 
 
43
 
 
44
  minimal
 
45
    only display if the branch is out-of-date
 
46
 
 
47
  short
 
48
    also display single-line up-to-date and missing,
 
49
 
 
50
 
 
51
  all
 
52
    (default) display multi-line content for all states
 
53
 
 
54
 
 
55
  (John Arbash Meinel, #609187, #812928)
 
56
 
 
57
* Add a config option gpg_signing_key for setting which GPG key should
 
58
  be used to sign commits. Also default to using the gpg user identity
 
59
  which matches user_email() as set by whoami. (Jonathan Riddell,
 
60
  #68501)
 
61
 
 
62
* An ``invalid`` parameter can be specified when registering a config option
 
63
  to decide what should be done when invalid values are
 
64
  encountered. 'warning' and 'eeror' will respectively emit a warning and
 
65
  ignore the value or errors out. (Vincent Ladeuil)
 
66
 
 
67
* ``bzr help configuration/<option>`` display the help for ``option`` for
 
68
  all registered configuration options. (Vincent Ladeuil, #747050)
 
69
 
 
70
* bzr log -m now matches message, author, committer and bugs instead
 
71
  of just matching the message.  --message keeps its original meaning,
 
72
  while --match-message, --match-author, --match-committer and
 
73
  --match-bugs match each of those fields.
 
74
 
 
75
* ``config.Option`` can now declare ``default_from_env``, a list of
 
76
  environment variables to get a default value from. (Vincent Ladeuil)
 
77
 
 
78
* ``config.NameMatcher`` can be used to implement config stores and stacks
 
79
  that need to provide specific option values for arbitrary unique IDs (svn
 
80
  repository UUIDs, etc).  (Vincent Ladeuil, #843638)
 
81
 
 
82
* New builtin ``bzr branches`` command, which lists all colocated branches
 
83
  in a directory. (Jelmer Vernooij, #826820)
 
84
 
 
85
* Relative local paths can now be specified in URL syntax by using the
 
86
  "file:" prefix.  (Jelmer Vernooij)
 
87
 
 
88
* Report commits signed with expired keys in "verify-signatures".
 
89
  (Jonathan Riddell, #804254)
 
90
 
 
91
* bzr add now skips large files in recursive mode. The default "large"
 
92
  size is 20MB, and is configurable via the add.maximum_file_size
 
93
  option. A value of 0 disables skipping. Named items passed to add are
 
94
  never skipped. (Shannon Weyrick, #54624)
 
95
 
 
96
* bzr now ships with translations for command help.  (Jonathan
 
97
  Riddell, INADA Naoki, #83941)
 
98
 
 
99
* bzr now ships with translations for command errors. (Jonathan
 
100
  Riddell, INADA Naoki)
 
101
 
 
102
Improvements
 
103
************
 
104
 
 
105
.. Improvements to existing commands, especially improved performance 
 
106
   or memory usage, or better results.
 
107
 
 
108
* ``bzr commit -m ''`` can now be used to force an empty commit message.
 
109
  Entering an empty commit message in the message editor still triggers
 
110
  an error. (Jelmer Vernooij)
 
111
 
 
112
* ``bzr pull`` will now mention how many tags it has updated.
 
113
  (Jelmer Vernooij, #164450)
 
114
 
 
115
* ``bzr tag`` no longer errors if a tag already exists but refers to the
 
116
  same revision, and will mention when a tag has been updated
 
117
  rather than created. (Jelmer Vernooij, #381203)
 
118
 
 
119
* ``bzr uncommit`` will now remove tags that refer to removed revisions.
 
120
  The ``--keep-tags`` option can be used to prevent this behaviour.
 
121
  (Jelmer Vernooij, #605814)
 
122
 
 
123
* Locations printed by ``bzr upgrade`` are now formatted before display.
 
124
  (Jelmer Vernooij)
 
125
 
 
126
* Use gettext.NullTranslations in i18n to allow use of i18n even when
 
127
  translations are not turned on. (Jonathan Riddell)
 
128
 
 
129
* Install translation .mo files. (Jonathan Riddell)
 
130
 
 
131
* Do not run i18n initialisation twice. (Jonathan Riddell)
 
132
 
 
133
* Support a ``bugtracker`` option which is used by ``bzr commit --fixes``
 
134
  if no bug tracker was specified on the command line.
 
135
  (Jelmer Vernooij, #334860)
 
136
 
 
137
Bug Fixes
 
138
*********
 
139
 
 
140
.. Fixes for situations where bzr would previously crash or give incorrect
 
141
   or undesirable results.
 
142
 
 
143
* ``bzr reconfigure`` will now allow multiple non-conflicting requests
 
144
  in a single invocation, e.g. ``--branch`` and ``--use-shared``.
 
145
  (Martin von Gagern, #842993)
 
146
 
 
147
* The pull command will now always use separate connections for the
 
148
  case where the destination is a heavyweight checkout of some remote
 
149
  branch on the same host as the source branch.
 
150
  (Martin von Gagern, #483661)
 
151
 
 
152
* A call to CHKInventory's filter-method will not result in a
 
153
  DuplicateFileId error, if you move a subfolder and change a file in
 
154
  that subfolder.
 
155
  (Bastian Bowe, #809901)
 
156
 
 
157
* Branching from a stacked branch no longer does a ``get_parent_map``
 
158
  request for each revisions that is in the stacked-on repository while
 
159
  determining what revisions need to be fetched. This mostly impacts
 
160
  branching initialy into an empty shared repository when the source is
 
161
  not the development focus.  (John Arbash Meinel, #388269)
 
162
 
 
163
* Decode ``BZR_HOME`` with fs encoding on posix platforms to avoid unicode
 
164
  errors.  (Vincent Ladeuil, #822571)
 
165
 
 
166
* Fix fallout from URL handling changes in 2.5 that caused an IndexError to be
 
167
  raised whenever a transport at the drive root was opened on windows.
 
168
  (Martin [gz], #841322)
 
169
 
 
170
* Rather than an error being raised, a warning is now printed when the
 
171
  current user does not have permission to read a configuration file.
 
172
  (Jelmer Vernooij, #837324)
 
173
 
 
174
* TreeTransformBase.fixup_new_roots no longer forces trees to have a root, so
 
175
  operations that use it, like merge, can now create trees without a root.
 
176
  (Aaron Bentley)
 
177
 
 
178
* Fixed loading of external merge tools from config to properly decode
 
179
  command-lines which contain embedded quotes. (Gordon Tyler, #828803)
 
180
 
 
181
Documentation
 
182
*************
 
183
 
 
184
.. Improved or updated documentation.
 
185
 
 
186
* Release instructions refreshed. (Vincent Ladeuil)
 
187
 
 
188
API Changes
 
189
***********
 
190
 
 
191
.. Changes that may require updates in plugins or other code that uses
 
192
   bzrlib.
 
193
 
 
194
* ``BranchFormat.initialize`` now takes a ``append_revisions_only``
 
195
  argument. (Jelmer Vernooij)
 
196
 
 
197
* ``Branch._get_checkout_format`` now takes a ``lightweight`` argument
 
198
  which indicates if the format should be for a lightweight or a
 
199
  heavyweight checkout. (Jelmer Vernooij)
 
200
 
 
201
* ``ControlDir.create_branch`` now takes a ``append_revisions_only`` argument.
 
202
  (Jelmer Vernooij)
 
203
 
 
204
* New class ``URL`` in ``bzrlib.utils`` for managing parsed URLs.
 
205
  (Jelmer Vernooij)
 
206
 
 
207
* New methods ``get_transport_from_path`` and ``get_transport_from_url``
 
208
  have been added that only support opening from a path or a URL,
 
209
  unlike ``get_transport``. (Jelmer Vernooij)
 
210
 
 
211
* New method ``Tree.get_file_verifier`` which allows tree implementations
 
212
  to return non-sha1 checksums to verify files.
 
213
  (Jelmer Vernooij, #720831)
 
214
 
 
215
* New method ``InterTree.file_content_matches`` which checks that
 
216
  two files in different trees have the same contents.
 
217
  (Jelmer Vernooij)
 
218
 
 
219
* New registry ``OptionRegistry`` specialized for configuration options.
 
220
  (Vincent Ladeuil)
 
221
 
 
222
* Remove ``AtomicFile.closed`` which has been deprecated in bzr 0.10.
 
223
  (Vincent Ladeuil)
 
224
 
 
225
* Remove ``commands._builtin_commands``, ``commands.shlex_split_unicode``,
 
226
  ``Command._maybe_expand_globs`` and ``Command.run_direct`` deprecated in
 
227
  2.10 and 2.2.0. (Vincent Ladeuil)
 
228
 
 
229
* Remove ``diff.get_trees_and_branches_to_diff`` deprecated in 2.2.0.
 
230
 
 
231
* Remove ``log.calculate_view_revisions``, ``log._filter_revision_range``,
 
232
  ``log.get_view_revisions`` which have been deprecated in bzr 2.1.0. Also
 
233
  remove ``log.show_one_log`` which was never properly deprecated but wasn't
 
234
  used and is easy to inline if needed. (Vincent Ladeuil)
 
235
 
 
236
* Remove ``trace.info``, ``trace.error`` and ``trace.show_log_error``
 
237
  deprecated in 2.1.0. (Vincent Ladeuil)
 
238
 
 
239
* Remove ``TransportListRegistry.set_default_transport``, as the concept of
 
240
  a default transport is currently unused. (Jelmer Vernooij)
 
241
 
 
242
* Remove ``UIFactory.warn_cross_format_fetch`` and
 
243
  ``UIFactory.warn_experimental_format_fetch`` in favor of
 
244
  ``UIFactory.show_user_warning``. (Jelmer Vernooij)
 
245
 
 
246
* There is a new class `ContentFilterTree` that provides a facade for 
 
247
  content filtering.  The `filtered` parameter to `export` is deprecated 
 
248
  in favor of passing a filtered tree, and the specific exporter plugins
 
249
  no longer support it.
 
250
  (Martin Pool)
 
251
 
 
252
* New method ``Config.get_user_option_as_int_from_SI`` added for expanding a
 
253
  value in SI format (i.e. "20MB", "1GB") into its integer equivalent. 
 
254
  (Shannon Weyrick)
 
255
 
 
256
* ``Tags`` containers can now declare whether they support versioned
 
257
  tags and whether tags can refer to ghost tags.
 
258
  (Jelmer Vernooij)
 
259
 
 
260
* ``Tags.merge_to`` now returns a dictionary with the updated tags
 
261
  and a set of conflicts, rather than just conflicts. (Jelmer Vernooij)
 
262
 
 
263
* ``Transport`` now has a ``_parsed_url`` attribute instead of
 
264
  separate ``_user``, ``_password``, ``_port``, ``_scheme``, ``_host``
 
265
  and ``_path`` attributes. Proxies are provided for the moment but
 
266
  may be removed in the future. (Jelmer Vernooij)
 
267
 
 
268
 
 
269
Internals
 
270
*********
 
271
 
 
272
.. Major internal changes, unlikely to be visible to users or plugin 
 
273
   developers, but interesting for bzr developers.
 
274
 
 
275
* A new debug flags ``hpss_client_no_vfs`` will now cause the HPSS client
 
276
  to raise a ``HpssVfsRequestNotAllowed`` exception when a VFS request
 
277
  is attempted. (Jelmer Vernooij)
 
278
 
 
279
* New method ``ControlDir._get_selected_branch`` which returns the
 
280
  colocated branch selected using path segment parameters.
 
281
  (Jelmer Vernooij, #380871)
 
282
 
 
283
Testing
 
284
*******
 
285
 
 
286
.. Fixes and changes that are only relevant to bzr's test framework and 
 
287
   suite.  This can include new facilities for writing tests, fixes to 
 
288
   spurious test failures and changes to the way things should be tested.
 
289
 
 
290
* Blackbox tests can be debugged interactively (see bzrlib.debug.BzrPdb for
 
291
  details). (Vincent Ladeuil)
 
292
 
 
293
* `BranchBuilder.build_snapshot` now supports a "flush" action.  This
 
294
  cleanly and reliably allows tests using `BranchBuilder` to construct
 
295
  branches that e.g. rename files out of a directory and unversion that
 
296
  directory in the same revision.  Previously some changes were impossible
 
297
  due to the order that `build_snapshot` performs its actions.
 
298
  (Andrew Bennetts)
 
299
 
 
300
* Don't require ``os.fdatasync`` to be defined on all supported OSes
 
301
  (BSD-based OSes don't define it).  (Vincent Ladeuil, #822649)
 
302
 
 
303
* Fix compatibility with testtools 0.9.12. (Jelmer Vernooij, #815423)
 
304
 
 
305
* ``LockDir`` can now be run when the local hostname is ``localhost``.
 
306
  (Jelmer Vernooij, #825994)
 
307
 
 
308
* ``ModuleAvailableFeature`` won't try to import already imported modules,
 
309
  allowing it to be used for modules with side-effects.
 
310
  (Vincent Ladeuil, #712474)
 
311
 
 
312
* Output time stamps while running ``make check`` to get better timings from
 
313
  pqm.  (Vincent Ladeuil, #837926)
 
314
 
 
315
* `TestCaseWithMemoryTransport` is faster now: `_check_safety_net` now
 
316
  just compares the bytes in the dirstate file to its pristine state,
 
317
  rather than opening the WorkingTree and calling ``last_revision()``.
 
318
  This reduces the overall test suite time by about 10% on my laptop.
 
319
  (Andrew Bennetts)
 
320
 
 
321
* Update `TestCase.knownFailure` to the testtools way of handling expected
 
322
  failures to resolve Python 2.7 incompatibility. (Martin [gz], #607400)
 
323
 
 
324
..
 
325
   vim: tw=74 ft=rst ff=unix