/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

  • Committer: Andrew Bennetts
  • Date: 2010-06-04 03:09:35 UTC
  • mto: This revision was merged to the branch mainline in revision 5280.
  • Revision ID: andrew.bennetts@canonical.com-20100604030935-4slnx0e8uh9b8yk6
lazy_import most things in merge.py; add a few representative modules to the import tariff tests; tweak a couple of other modules so that patiencediff is not necessarily imported; remove a bunch of unused imports from test_knit.py.

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
Bug Fixes
 
21
*********
 
22
 
 
23
* Final fix for 'no help for command' issue. We now show a clean message
 
24
  when a command has no help, document how to set help more clearly, and
 
25
  test that all commands available to the test suite have help.
 
26
  (Robert Collins, #177500)
 
27
 
 
28
* Explicitly removing ``--profile-imports`` option from parsed command-line
 
29
  arguments on Windows, because bzr script does the same.
 
30
  (Alexander Belchenko, #588277)
 
31
 
 
32
Improvements
 
33
************
 
34
 
 
35
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
 
36
  do not cause modules to be loaded unnecessarily just because the plugin
 
37
  registers a merge hook.  This improves ``bzr rocks`` time by about 25%
 
38
  in a default installation (with just the core plugins).
 
39
  (Andrew Bennetts)
 
40
 
 
41
Documentation
 
42
*************
 
43
 
 
44
* Added ``regression`` tag to our tags list. (Robert Collins)
 
45
 
 
46
* Improved our release checklist to have a bit less churn and leave things
 
47
  ready-to-go for the next action (including other people doing
 
48
  development). (Robert Collins)
 
49
 
 
50
API Changes
 
51
***********
 
52
 
 
53
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
 
54
  2007, has been deleted.  Use ``PatienceSequenceMatcher`` from
 
55
  ``bzrlib.patiencediff`` instead.
 
56
  (Andrew Bennetts)
 
57
 
 
58
Internals
 
59
*********
 
60
 
 
61
Testing
 
62
*******
 
63
 
 
64
 
8
65
bzr 2.2b3
9
66
#########
10
67
 
11
 
:2.2b3: NOT RELEASED YET
 
68
:2.2b3: 2010-05-28
 
69
 
 
70
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
71
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
72
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
73
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
74
bash completion script and bzr will no longer guess at identity details -
 
75
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
76
For developers we have some API changes which may impact plugins as well
 
77
as a bunch of our regular improvements to internal clarity and test
 
78
support.
12
79
 
13
80
Compatibility Breaks
14
81
********************
15
82
 
 
83
* An API break has been made to the lock_write method of ``Branch`` and
 
84
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
85
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
86
  changing the API in future easier and permits some cleaner calling code.
 
87
  The lock_read method has also changed from having no defined return
 
88
  value to returning ``LogicalLockResult`` objects.
 
89
  (Robert Collins)
 
90
 
 
91
* ``bzr`` does not try to guess the username as ``username@hostname``
 
92
  and requires it to be explictly set. This can be set using ``bzr
 
93
  whoami``.
 
94
  (Parth Malwankar, #549310)
 
95
 
 
96
* ``bzrlib.commands.Command`` will now raise ValueError during
 
97
  construction if there is no __doc__ set. (Note, this will be reverted in
 
98
  2.2b4) (Robert Collins)
 
99
 
 
100
* The source tree no longer contains a contrib/zsh/_bzr completion
 
101
  script. The new file contrib/zsh/README suggests alternatives.
 
102
  (Martin von Gagern, #560030)
 
103
 
16
104
New Features
17
105
************
18
106
 
30
118
  pack operation.
31
119
  (Parth Malwankar, #304320)
32
120
 
 
121
* New command line option ``--authors`` to ``bzr log`` allows users to
 
122
  select which of the apparent authors and committer should be
 
123
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
124
 
 
125
* Support ``--directory`` option for a number of additional commands:
 
126
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
127
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
128
  re-sign, unbind, unknowns.
 
129
  (Martin von Gagern, #527878)
 
130
 
 
131
* The bash_completion plugin from the bzr-bash-completion project has
 
132
  been merged into the tree. It provides a bash-completion command and
 
133
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
134
  using the plugin. (Martin von Gagern, #560030)
 
135
 
 
136
* A new transport based on GIO (the gnome i/o library) provides access to
 
137
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
138
  use gio for some already existing transport methods as gio+file,
 
139
  gio+sftp, gio+ftp. 
 
140
  (Mattias Eriksson)
 
141
 
33
142
Bug Fixes
34
143
*********
35
144
 
 
145
* Alias information shown by ``bzr help`` is now accurate. This
 
146
  was showing an internal object name for some plugin aliases.
 
147
  (Parth Malwankar, #584650)
 
148
 
36
149
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
150
  group ownership from the containing directory. This allow bzr to work
38
151
  better with sudo.
39
152
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
153
 
 
154
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
155
  support of bzr-externals and scmproj plugins.
 
156
  (Alexander Belchenko, bug #572098)
 
157
 
 
158
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
159
  (Gordon Tyler, #572092)
 
160
 
41
161
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
162
  are part of Y ancestry but not part of X ancestry (aka the graph
43
163
  difference).
44
164
  (Vincent Ladeuil, #320119)
45
165
 
 
166
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
167
  servers a few commits ago has been reverted to use edge: there is a
 
168
  problem with using production which isn't trivially obvious, so we've
 
169
  filed a bug to track it, and until thats fixed will be using edge.
 
170
  (Robert Collins, #583667)
 
171
 
 
172
* ``bzr rm`` should not refuse to delete directories which contained a file
 
173
  which has been moved elsewhere in the tree after the previous commit.
 
174
  (Marius Kruger, Daniel Watkins, #129880)
 
175
 
46
176
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
177
  (Vincent Ladeuil, #566670)
48
178
 
49
179
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
180
  (Vincent Ladeuil, #563997)
51
181
 
 
182
* CommitBuilder refuses to create revisions whose trees have no root.
 
183
  (Aaron Bentley)
 
184
 
 
185
* Do not register a SIGWINCH signal handler, instead just poll for the
 
186
  terminal width as needed.  This avoids the "Interrupted System Call"
 
187
  problems that occur on POSIX with all currently released versions of
 
188
  Python.
 
189
  (Andrew Bennetts, #583941)
 
190
 
52
191
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
192
  (Vincent Ladeuil, #401599)
54
193
 
56
195
  versions before 1.6.
57
196
  (Andrew Bennetts, #528041)
58
197
 
 
198
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
199
  estimate of the number of records to be fetched vs actually fetched.
 
200
  (Parth Malwankar, #374740, #538868)
 
201
 
59
202
* Reduce peak memory by one copy of compressed text.
60
203
  (John Arbash Meinel, #566940)
61
204
 
 
205
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
206
  read lock, rather than causing an ``AttributeError``.
 
207
  (Andrew Bennetts, Данило Шеган, #582781)
 
208
 
 
209
* Selftest was failing with testtools 0.9.3, which caused an
 
210
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
211
  Error, breaking on of our test hygiene tests.
 
212
  (Robert Collins, Vincent Ladeuil).
 
213
 
 
214
* ``set_user_option`` with a dict on remote branches no longer fails with
 
215
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
216
  to support this efficiently.
 
217
  (Andrew Bennetts, #430382)
 
218
  
62
219
* Show the filenames when a file rename fails so that the error will be
63
220
  more comprehensible.
64
221
  (Martin Pool, #491763)
65
222
 
 
223
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
224
  (John Arbash Meinel, #582656)
 
225
 
 
226
* Unicode characters in aliases are now handled correctly and do not cause
 
227
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
228
 
 
229
* Unicode commit messages that are the same as a file name no longer cause
 
230
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
231
  messages.
 
232
  (Parth Malwankar, #563646)
 
233
 
 
234
* Using bzr with `lp:` urls behind an http proxy should work.
 
235
  (Robert Collins, #558343)
 
236
 
 
237
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
238
  directory file handle after the chdir fails. Otherwise when passing many
 
239
  filenames into a command line ``bzr status`` we would leak descriptors.
 
240
  (John Arbash Meinel, #583486)
 
241
 
66
242
Improvements
67
243
************
68
244
 
74
250
  (case-sensitive) as false.
75
251
  (Brian de Alwis, Vincent Ladeuil)
76
252
 
 
253
* ``bzr ls`` now supports short options for existing long options.
 
254
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
255
  (Parth Malwankar, #181124)
 
256
 
77
257
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
258
  be interpreted as a boolean.
79
259
  (Vincent Ladeuil)
80
260
 
 
261
* The all-in-one Windows installer will now be built with docstrings stripped
 
262
  from the library zip, reducing the size and slightly improving cold startup
 
263
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
264
  plugins to an all-in-one installation, ensure they are compiled and
 
265
  installed with -O1 or help may not work. (Martin [gz])
 
266
 
81
267
Documentation
82
268
*************
83
269
 
96
282
  implementations.
97
283
  (Martin Pool)
98
284
 
 
285
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
286
  expected to return an object which can be used to unlock them. This reduces
 
287
  duplicate code when using cleanups. The previous 'tokens's returned by
 
288
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
289
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
290
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
291
 
 
292
* ``Repository.refresh_data`` may now be called in a write group on
 
293
  pack-based repositories.  Older repositories will still raise an error
 
294
  in this case.  Subclasses of ``Repository`` can still override
 
295
  ``Repository._refresh_data``, but are now responsible for raising
 
296
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
297
  ``refresh_data`` during a write group.
 
298
  (Andrew Bennetts, #574236)
 
299
 
99
300
Internals
100
301
*********
101
302
 
 
303
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
304
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
305
  potentially shave 5-10% time off during a large fetch. Related to bug
 
306
  #562666. (John Arbash Meinel)
 
307
 
 
308
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
309
  (Robert Collins)
 
310
 
102
311
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
312
  suboptimal network behaviour is noticed; instead it just mutters to the
104
313
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
320
  stripped, the prefix ``__doc__ =`` should now be used.
112
321
  (Martin <gzlist@googlemail.com>)
113
322
 
 
323
* No longer require zlib headers to build extensions, and remove the need
 
324
  for seperate copy of zlib library on windows.
 
325
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
 
326
 
114
327
Testing
115
328
*******
116
329
 
125
338
  failures on Lucid, FreeBSD and gentoo.  
126
339
  (Vincent Ladeuil, #528436)
127
340
 
 
341
* New class ``ExecutableFeature`` for checking the availability of
 
342
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
343
  (Martin von Gagern)
 
344
 
128
345
bzr 2.2b2
129
346
#########
130
347
 
184
401
* Reset ``siginterrupt`` flag to False every time we handle a signal
185
402
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
186
403
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
187
 
  errors after two window resizes.
 
404
  errors compared to registering ``signal.signal`` directly.
188
405
  (Andrew Bennetts)
189
406
 
190
407
* When invoked with a range revision, ``bzr log`` doesn't show revisions
232
449
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
233
450
  ``get_trees_and_branches_to_diff_locked`` instead.
234
451
  (Andrew Bennetts)
 
452
 
 
453
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
454
  auto-determines branch nick if not supplied.  (Aaron Bentley)
235
455
  
236
456
Internals
237
457
*********
530
750
bzr 2.1.2
531
751
#########
532
752
 
533
 
:2.1.2: NOT RELEASED YET
 
753
:2.1.2: 2010-05-28
 
754
 
 
755
This release fixes two critical networking issues with older servers and
 
756
with interrupted system call errors when pushing or pulling.  We recommend
 
757
upgrading to anyone running a 2.1.x version of bzr.
534
758
 
535
759
Bug Fixes
536
760
*********
537
761
 
 
762
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
763
  support of bzr-externals and scmproj plugins.
 
764
  (Alexander Belchenko, bug #572098)
 
765
 
538
766
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
767
  (Aaron Bentley, #559436)
540
768
 
 
769
* Do not register a SIGWINCH signal handler, instead just poll for the
 
770
  terminal width as needed.  This avoids the "Interrupted System Call"
 
771
  problems that occur on POSIX with all currently released versions of
 
772
  Python.
 
773
  (Andrew Bennetts, #583941)
 
774
 
541
775
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
542
776
  versions before 1.6.
543
777
  (Andrew Bennetts, #528041)
545
779
* Reset ``siginterrupt`` flag to False every time we handle a signal
546
780
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
547
781
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
548
 
  errors after two window resizes.
 
782
  errors compared to registering ``signal.signal`` directly.
549
783
  (Andrew Bennetts)
550
784
 
 
785
* Reduce peak memory by one copy of compressed text.
 
786
  (John Arbash Meinel, #566940)
 
787
 
 
788
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
789
  (John Arbash Meinel, #582656)
 
790
 
 
791
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
792
  directory file handle after the chdir fails. Otherwise when passing many
 
793
  filenames into a command line ``bzr status`` we would leak descriptors.
 
794
  (John Arbash Meinel, #583486)
 
795
 
551
796
Internals
552
797
*********
553
798
 
997
1242
  permissions as ``.bzr`` directory on a POSIX OS.
998
1243
  (Parth Malwankar, #262450)
999
1244
 
 
1245
* Reduce peak memory by one copy of compressed text.
 
1246
  (John Arbash Meinel, #566940)
 
1247
 
1000
1248
* Repositories accessed via a smart server now reject being stacked on a
1001
1249
  repository in an incompatible format, as is the case when accessing them
1002
1250
  via other methods.  This was causing fetches from those repositories via
1003
1251
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
1252
  (Andrew Bennetts, #562380)
1005
1253
 
 
1254
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1255
  error. This error was caused by 2.0 not being updated when upstream
 
1256
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1257
  ``done``. (Robert Collins, #571437)
 
1258
 
 
1259
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1260
  directory file handle after the chdir fails. Otherwise when passing many
 
1261
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1262
  (John Arbash Meinel, #583486)
 
1263
 
 
1264
 
1006
1265
bzr 2.0.5
1007
1266
#########
1008
1267
 
3702
3961
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3703
3962
 
3704
3963
* 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,
 
3964
  'subprocess' to run the test suite in parallel. Currently only Linux
 
3965
  machines work, other platforms need patches submitted. (Robert Collins,
3707
3966
  Vincent Ladeuil)
3708
3967
 
3709
3968
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
6457
6716
 
6458
6717
* bzr main script cannot be imported (Benjamin Peterson)
6459
6718
 
6460
 
* On Linux bzr additionally looks for plugins in arch-independent site
 
6719
* On GNU/Linux bzr additionally looks for plugins in arch-independent site
6461
6720
  directory. (Toshio Kuratomi)
6462
6721
 
6463
6722
* The ``set_rh`` branch hook is now deprecated. Please migrate
6800
7059
 
6801
7060
* BZR_LOG environment variable controls location of .bzr.log trace file.
6802
7061
  User can suppress writing messages to .bzr.log by using '/dev/null'
6803
 
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
7062
  filename (on Unix) or 'NUL' (on Windows). If BZR_LOG variable
6804
7063
  is not defined but BZR_HOME is defined then default location
6805
7064
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
6806
7065
  (Alexander Belchenko, #106117)