/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 NEWS

BZR_PLUGINS_AT should import packages properly to handle relative imports

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
.. contents:: List of Releases
6
6
   :depth: 1
7
7
 
 
8
bzr 2.2b4
 
9
#########
 
10
 
 
11
:Codename: Monkey Magic
 
12
:2.2b4: NOT RELEASED YET
 
13
 
 
14
Compatibility Breaks
 
15
********************
 
16
 
 
17
New Features
 
18
************
 
19
 
 
20
* Support ``--directory`` option for a number of additional commands:
 
21
  conflicts, merge-directive, missing, resolve, shelve, switch,
 
22
  unshelve, whoami. (Martin von Gagern, #527878)
 
23
 
 
24
Bug Fixes
 
25
*********
 
26
 
 
27
* ``bzr init`` does not recursively scan directory contents anymore
 
28
  leading to faster init for directories with existing content.
 
29
  (Martin [gz], Parth Malwankar, #501307)
 
30
 
 
31
* ``bzr log --exclude-common-ancestry`` is now taken into account for
 
32
  linear ancetries.
 
33
  (Vincent Ladeuil, #575631)
 
34
 
 
35
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
 
36
  proper error messages.  
 
37
  (Vincent Ladeuil, #591215)
 
38
 
 
39
* Final fix for 'no help for command' issue. We now show a clean message
 
40
  when a command has no help, document how to set help more clearly, and
 
41
  test that all commands available to the test suite have help.
 
42
  (Robert Collins, #177500)
 
43
 
 
44
* Explicitly removing ``--profile-imports`` option from parsed command-line
 
45
  arguments on Windows, because bzr script does the same.
 
46
  (Alexander Belchenko, #588277)
 
47
 
 
48
* Relative imports in plugins are now handled correctly when using
 
49
  BZR_PLUGINS_AT.
 
50
  (Vincent Ladeuil, #588959)
 
51
 
 
52
Improvements
 
53
************
 
54
 
 
55
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
 
56
  do not cause modules to be loaded unnecessarily just because the plugin
 
57
  registers a merge hook.  This improves ``bzr rocks`` time by about 25%
 
58
  in a default installation (with just the core plugins).
 
59
  (Andrew Bennetts)
 
60
 
 
61
Documentation
 
62
*************
 
63
 
 
64
* Added ``regression`` tag to our tags list. (Robert Collins)
 
65
 
 
66
* Improved our release checklist to have a bit less churn and leave things
 
67
  ready-to-go for the next action (including other people doing
 
68
  development). (Robert Collins)
 
69
 
 
70
API Changes
 
71
***********
 
72
 
 
73
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
 
74
  2007, has been deleted.  Use ``PatienceSequenceMatcher`` from
 
75
  ``bzrlib.patiencediff`` instead.
 
76
  (Andrew Bennetts)
 
77
 
 
78
Internals
 
79
*********
 
80
 
 
81
Testing
 
82
*******
 
83
 
 
84
 
8
85
bzr 2.2b3
9
86
#########
10
87
 
11
 
:2.2b3: NOT RELEASED YET
 
88
:2.2b3: 2010-05-28
 
89
 
 
90
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
91
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
92
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
93
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
94
bash completion script and bzr will no longer guess at identity details -
 
95
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
96
For developers we have some API changes which may impact plugins as well
 
97
as a bunch of our regular improvements to internal clarity and test
 
98
support.
12
99
 
13
100
Compatibility Breaks
14
101
********************
15
102
 
 
103
* An API break has been made to the lock_write method of ``Branch`` and
 
104
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
105
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
106
  changing the API in future easier and permits some cleaner calling code.
 
107
  The lock_read method has also changed from having no defined return
 
108
  value to returning ``LogicalLockResult`` objects.
 
109
  (Robert Collins)
 
110
 
 
111
* ``bzr`` does not try to guess the username as ``username@hostname``
 
112
  and requires it to be explictly set. This can be set using ``bzr
 
113
  whoami``.
 
114
  (Parth Malwankar, #549310)
 
115
 
 
116
* ``bzrlib.commands.Command`` will now raise ValueError during
 
117
  construction if there is no __doc__ set. (Note, this will be reverted in
 
118
  2.2b4) (Robert Collins)
 
119
 
 
120
* The source tree no longer contains a contrib/zsh/_bzr completion
 
121
  script. The new file contrib/zsh/README suggests alternatives.
 
122
  (Martin von Gagern, #560030)
 
123
 
16
124
New Features
17
125
************
18
126
 
30
138
  pack operation.
31
139
  (Parth Malwankar, #304320)
32
140
 
 
141
* New command line option ``--authors`` to ``bzr log`` allows users to
 
142
  select which of the apparent authors and committer should be
 
143
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
144
 
 
145
* Support ``--directory`` option for a number of additional commands:
 
146
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
147
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
148
  re-sign, unbind, unknowns.
 
149
  (Martin von Gagern, #527878)
 
150
 
 
151
* The bash_completion plugin from the bzr-bash-completion project has
 
152
  been merged into the tree. It provides a bash-completion command and
 
153
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
154
  using the plugin. (Martin von Gagern, #560030)
 
155
 
 
156
* A new transport based on GIO (the gnome i/o library) provides access to
 
157
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
158
  use gio for some already existing transport methods as gio+file,
 
159
  gio+sftp, gio+ftp. 
 
160
  (Mattias Eriksson)
 
161
 
33
162
Bug Fixes
34
163
*********
35
164
 
 
165
* Alias information shown by ``bzr help`` is now accurate. This
 
166
  was showing an internal object name for some plugin aliases.
 
167
  (Parth Malwankar, #584650)
 
168
 
36
169
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
170
  group ownership from the containing directory. This allow bzr to work
38
171
  better with sudo.
39
172
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
173
 
 
174
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
175
  support of bzr-externals and scmproj plugins.
 
176
  (Alexander Belchenko, bug #572098)
 
177
 
 
178
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
179
  (Gordon Tyler, #572092)
 
180
 
41
181
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
182
  are part of Y ancestry but not part of X ancestry (aka the graph
43
183
  difference).
44
184
  (Vincent Ladeuil, #320119)
45
185
 
 
186
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
187
  servers a few commits ago has been reverted to use edge: there is a
 
188
  problem with using production which isn't trivially obvious, so we've
 
189
  filed a bug to track it, and until thats fixed will be using edge.
 
190
  (Robert Collins, #583667)
 
191
 
 
192
* ``bzr rm`` should not refuse to delete directories which contained a file
 
193
  which has been moved elsewhere in the tree after the previous commit.
 
194
  (Marius Kruger, Daniel Watkins, #129880)
 
195
 
46
196
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
197
  (Vincent Ladeuil, #566670)
48
198
 
49
199
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
200
  (Vincent Ladeuil, #563997)
51
201
 
 
202
* CommitBuilder refuses to create revisions whose trees have no root.
 
203
  (Aaron Bentley)
 
204
 
 
205
* Do not register a SIGWINCH signal handler, instead just poll for the
 
206
  terminal width as needed.  This avoids the "Interrupted System Call"
 
207
  problems that occur on POSIX with all currently released versions of
 
208
  Python.
 
209
  (Andrew Bennetts, #583941)
 
210
 
52
211
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
212
  (Vincent Ladeuil, #401599)
54
213
 
56
215
  versions before 1.6.
57
216
  (Andrew Bennetts, #528041)
58
217
 
 
218
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
219
  estimate of the number of records to be fetched vs actually fetched.
 
220
  (Parth Malwankar, #374740, #538868)
 
221
 
59
222
* Reduce peak memory by one copy of compressed text.
60
223
  (John Arbash Meinel, #566940)
61
224
 
 
225
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
226
  read lock, rather than causing an ``AttributeError``.
 
227
  (Andrew Bennetts, Данило Шеган, #582781)
 
228
 
 
229
* Selftest was failing with testtools 0.9.3, which caused an
 
230
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
231
  Error, breaking on of our test hygiene tests.
 
232
  (Robert Collins, Vincent Ladeuil).
 
233
 
 
234
* ``set_user_option`` with a dict on remote branches no longer fails with
 
235
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
236
  to support this efficiently.
 
237
  (Andrew Bennetts, #430382)
 
238
  
62
239
* Show the filenames when a file rename fails so that the error will be
63
240
  more comprehensible.
64
241
  (Martin Pool, #491763)
65
242
 
 
243
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
244
  (John Arbash Meinel, #582656)
 
245
 
 
246
* Unicode characters in aliases are now handled correctly and do not cause
 
247
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
248
 
 
249
* Unicode commit messages that are the same as a file name no longer cause
 
250
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
251
  messages.
 
252
  (Parth Malwankar, #563646)
 
253
 
 
254
* Using bzr with `lp:` urls behind an http proxy should work.
 
255
  (Robert Collins, #558343)
 
256
 
 
257
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
258
  directory file handle after the chdir fails. Otherwise when passing many
 
259
  filenames into a command line ``bzr status`` we would leak descriptors.
 
260
  (John Arbash Meinel, #583486)
 
261
 
66
262
Improvements
67
263
************
68
264
 
74
270
  (case-sensitive) as false.
75
271
  (Brian de Alwis, Vincent Ladeuil)
76
272
 
 
273
* ``bzr ls`` now supports short options for existing long options.
 
274
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
275
  (Parth Malwankar, #181124)
 
276
 
77
277
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
278
  be interpreted as a boolean.
79
279
  (Vincent Ladeuil)
80
280
 
 
281
* The all-in-one Windows installer will now be built with docstrings stripped
 
282
  from the library zip, reducing the size and slightly improving cold startup
 
283
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
284
  plugins to an all-in-one installation, ensure they are compiled and
 
285
  installed with -O1 or help may not work. (Martin [gz])
 
286
 
81
287
Documentation
82
288
*************
83
289
 
96
302
  implementations.
97
303
  (Martin Pool)
98
304
 
 
305
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
306
  expected to return an object which can be used to unlock them. This reduces
 
307
  duplicate code when using cleanups. The previous 'tokens's returned by
 
308
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
309
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
310
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
311
 
 
312
* ``Repository.refresh_data`` may now be called in a write group on
 
313
  pack-based repositories.  Older repositories will still raise an error
 
314
  in this case.  Subclasses of ``Repository`` can still override
 
315
  ``Repository._refresh_data``, but are now responsible for raising
 
316
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
317
  ``refresh_data`` during a write group.
 
318
  (Andrew Bennetts, #574236)
 
319
 
99
320
Internals
100
321
*********
101
322
 
 
323
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
324
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
325
  potentially shave 5-10% time off during a large fetch. Related to bug
 
326
  #562666. (John Arbash Meinel)
 
327
 
 
328
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
329
  (Robert Collins)
 
330
 
102
331
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
332
  suboptimal network behaviour is noticed; instead it just mutters to the
104
333
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
340
  stripped, the prefix ``__doc__ =`` should now be used.
112
341
  (Martin <gzlist@googlemail.com>)
113
342
 
 
343
* No longer require zlib headers to build extensions, and remove the need
 
344
  for seperate copy of zlib library on windows.
 
345
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
 
346
 
114
347
Testing
115
348
*******
116
349
 
125
358
  failures on Lucid, FreeBSD and gentoo.  
126
359
  (Vincent Ladeuil, #528436)
127
360
 
 
361
* New class ``ExecutableFeature`` for checking the availability of
 
362
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
363
  (Martin von Gagern)
 
364
 
128
365
bzr 2.2b2
129
366
#########
130
367
 
184
421
* Reset ``siginterrupt`` flag to False every time we handle a signal
185
422
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
186
423
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
187
 
  errors after two window resizes.
 
424
  errors compared to registering ``signal.signal`` directly.
188
425
  (Andrew Bennetts)
189
426
 
190
427
* When invoked with a range revision, ``bzr log`` doesn't show revisions
232
469
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
233
470
  ``get_trees_and_branches_to_diff_locked`` instead.
234
471
  (Andrew Bennetts)
 
472
 
 
473
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
474
  auto-determines branch nick if not supplied.  (Aaron Bentley)
235
475
  
236
476
Internals
237
477
*********
242
482
  Command is now transient and only exists for the duration of ``run()``.
243
483
  (Robert Collins)
244
484
 
245
 
bzr 2.2.0b1
246
 
###########
247
 
 
248
 
:2.2.0b1: 2010-04-01
 
485
bzr 2.2b1
 
486
#########
 
487
 
 
488
:2.2b1: 2010-04-01
 
489
 
 
490
This is the first beta of the 2.2 series, leading up to a 2.2.0
 
491
release in July or August.  Beta releases are suitable for everyday use
 
492
but may cause some incompatibilities with plugins.  Some plugins may need
 
493
small updates to work with 2.2b1.
 
494
 
 
495
2.2b1 includes some changes to make merge conflicts easier to understand
 
496
and resolve.  It also removes some old unnecessary code, and loads
 
497
somewhat less code at startup.  It starts adding a common infrastructure
 
498
for dealing with colocated named branches, which can be implemented in
 
499
various ways in either bzr native or foreign formats.   On Ubuntu and
 
500
other platforms with the apport bug-reporting library, there's an easier
 
501
path to report problems with bzr.  We plan to continue with these themes
 
502
through the 2.2 series.
 
503
 
 
504
Over thirty bugs have been fixed, including in the log command, exporting
 
505
to tarballs, restarting interrupted system calls, portability of compiled
 
506
extensions, making backups during upgrade, and locking on ftp.
249
507
 
250
508
Compatibility Breaks
251
509
********************
530
788
bzr 2.1.2
531
789
#########
532
790
 
533
 
:2.1.2: NOT RELEASED YET
 
791
:2.1.2: 2010-05-28
 
792
 
 
793
This release fixes two critical networking issues with older servers and
 
794
with interrupted system call errors when pushing or pulling.  We recommend
 
795
upgrading to anyone running a 2.1.x version of bzr.
534
796
 
535
797
Bug Fixes
536
798
*********
537
799
 
 
800
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
801
  support of bzr-externals and scmproj plugins.
 
802
  (Alexander Belchenko, bug #572098)
 
803
 
538
804
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
805
  (Aaron Bentley, #559436)
540
806
 
 
807
* Do not register a SIGWINCH signal handler, instead just poll for the
 
808
  terminal width as needed.  This avoids the "Interrupted System Call"
 
809
  problems that occur on POSIX with all currently released versions of
 
810
  Python.
 
811
  (Andrew Bennetts, #583941)
 
812
 
541
813
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
542
814
  versions before 1.6.
543
815
  (Andrew Bennetts, #528041)
545
817
* Reset ``siginterrupt`` flag to False every time we handle a signal
546
818
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
547
819
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
548
 
  errors after two window resizes.
 
820
  errors compared to registering ``signal.signal`` directly.
549
821
  (Andrew Bennetts)
550
822
 
 
823
* Reduce peak memory by one copy of compressed text.
 
824
  (John Arbash Meinel, #566940)
 
825
 
 
826
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
827
  (John Arbash Meinel, #582656)
 
828
 
 
829
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
830
  directory file handle after the chdir fails. Otherwise when passing many
 
831
  filenames into a command line ``bzr status`` we would leak descriptors.
 
832
  (John Arbash Meinel, #583486)
 
833
 
551
834
Internals
552
835
*********
553
836
 
997
1280
  permissions as ``.bzr`` directory on a POSIX OS.
998
1281
  (Parth Malwankar, #262450)
999
1282
 
 
1283
* Reduce peak memory by one copy of compressed text.
 
1284
  (John Arbash Meinel, #566940)
 
1285
 
1000
1286
* Repositories accessed via a smart server now reject being stacked on a
1001
1287
  repository in an incompatible format, as is the case when accessing them
1002
1288
  via other methods.  This was causing fetches from those repositories via
1003
1289
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
1290
  (Andrew Bennetts, #562380)
1005
1291
 
 
1292
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1293
  error. This error was caused by 2.0 not being updated when upstream
 
1294
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1295
  ``done``. (Robert Collins, #571437)
 
1296
 
 
1297
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1298
  directory file handle after the chdir fails. Otherwise when passing many
 
1299
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1300
  (John Arbash Meinel, #583486)
 
1301
 
 
1302
 
1006
1303
bzr 2.0.5
1007
1304
#########
1008
1305
 
3702
3999
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3703
4000
 
3704
4001
* selftest now supports a --parallel option, with values of 'fork' or
3705
 
  'subprocess' to run the test suite in parallel. Currently only linux
3706
 
  machine work, other platforms need patches submitted. (Robert Collins,
 
4002
  'subprocess' to run the test suite in parallel. Currently only Linux
 
4003
  machines work, other platforms need patches submitted. (Robert Collins,
3707
4004
  Vincent Ladeuil)
3708
4005
 
3709
4006
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
6457
6754
 
6458
6755
* bzr main script cannot be imported (Benjamin Peterson)
6459
6756
 
6460
 
* On Linux bzr additionally looks for plugins in arch-independent site
 
6757
* On GNU/Linux bzr additionally looks for plugins in arch-independent site
6461
6758
  directory. (Toshio Kuratomi)
6462
6759
 
6463
6760
* The ``set_rh`` branch hook is now deprecated. Please migrate
6800
7097
 
6801
7098
* BZR_LOG environment variable controls location of .bzr.log trace file.
6802
7099
  User can suppress writing messages to .bzr.log by using '/dev/null'
6803
 
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
7100
  filename (on Unix) or 'NUL' (on Windows). If BZR_LOG variable
6804
7101
  is not defined but BZR_HOME is defined then default location
6805
7102
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
6806
7103
  (Alexander Belchenko, #106117)