/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

Merge cleanup into first-try

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
Improvements
 
29
************
 
30
 
 
31
Documentation
 
32
*************
 
33
 
 
34
* Improved our release checklist to have a bit less churn and leave things
 
35
  ready-to-go for the next action (including other people doing
 
36
  development). (Robert Collins)
 
37
 
 
38
API Changes
 
39
***********
 
40
 
 
41
Internals
 
42
*********
 
43
 
 
44
Testing
 
45
*******
 
46
 
 
47
 
8
48
bzr 2.2b3
9
49
#########
10
50
 
11
 
:2.2b3: NOT RELEASED YET
 
51
:2.2b3: 2010-05-28
 
52
 
 
53
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
54
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
55
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
56
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
57
bash completion script and bzr will no longer guess at identity details -
 
58
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
59
For developers we have some API changes which may impact plugins as well
 
60
as a bunch of our regular improvements to internal clarity and test
 
61
support.
12
62
 
13
63
Compatibility Breaks
14
64
********************
15
65
 
 
66
* An API break has been made to the lock_write method of ``Branch`` and
 
67
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
68
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
69
  changing the API in future easier and permits some cleaner calling code.
 
70
  The lock_read method has also changed from having no defined return
 
71
  value to returning ``LogicalLockResult`` objects.
 
72
  (Robert Collins)
 
73
 
 
74
* ``bzr`` does not try to guess the username as ``username@hostname``
 
75
  and requires it to be explictly set. This can be set using ``bzr
 
76
  whoami``.
 
77
  (Parth Malwankar, #549310)
 
78
 
 
79
* ``bzrlib.commands.Command`` will now raise ValueError during
 
80
  construction if there is no __doc__ set. (Note, this will be reverted in
 
81
  2.2b4) (Robert Collins)
 
82
 
 
83
* The source tree no longer contains a contrib/zsh/_bzr completion
 
84
  script. The new file contrib/zsh/README suggests alternatives.
 
85
  (Martin von Gagern, #560030)
 
86
 
16
87
New Features
17
88
************
18
89
 
30
101
  pack operation.
31
102
  (Parth Malwankar, #304320)
32
103
 
 
104
* New command line option ``--authors`` to ``bzr log`` allows users to
 
105
  select which of the apparent authors and committer should be
 
106
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
107
 
 
108
* Support ``--directory`` option for a number of additional commands:
 
109
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
110
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
111
  re-sign, unbind, unknowns.
 
112
  (Martin von Gagern, #527878)
 
113
 
 
114
* The bash_completion plugin from the bzr-bash-completion project has
 
115
  been merged into the tree. It provides a bash-completion command and
 
116
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
117
  using the plugin. (Martin von Gagern, #560030)
 
118
 
 
119
* A new transport based on GIO (the gnome i/o library) provides access to
 
120
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
121
  use gio for some already existing transport methods as gio+file,
 
122
  gio+sftp, gio+ftp. 
 
123
  (Mattias Eriksson)
 
124
 
33
125
Bug Fixes
34
126
*********
35
127
 
 
128
* Alias information shown by ``bzr help`` is now accurate. This
 
129
  was showing an internal object name for some plugin aliases.
 
130
  (Parth Malwankar, #584650)
 
131
 
36
132
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
133
  group ownership from the containing directory. This allow bzr to work
38
134
  better with sudo.
39
135
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
136
 
 
137
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
138
  support of bzr-externals and scmproj plugins.
 
139
  (Alexander Belchenko, bug #572098)
 
140
 
 
141
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
142
  (Gordon Tyler, #572092)
 
143
 
41
144
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
145
  are part of Y ancestry but not part of X ancestry (aka the graph
43
146
  difference).
44
147
  (Vincent Ladeuil, #320119)
45
148
 
 
149
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
150
  servers a few commits ago has been reverted to use edge: there is a
 
151
  problem with using production which isn't trivially obvious, so we've
 
152
  filed a bug to track it, and until thats fixed will be using edge.
 
153
  (Robert Collins, #583667)
 
154
 
 
155
* ``bzr rm`` should not refuse to delete directories which contained a file
 
156
  which has been moved elsewhere in the tree after the previous commit.
 
157
  (Marius Kruger, Daniel Watkins, #129880)
 
158
 
46
159
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
160
  (Vincent Ladeuil, #566670)
48
161
 
49
162
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
163
  (Vincent Ladeuil, #563997)
51
164
 
 
165
* CommitBuilder refuses to create revisions whose trees have no root.
 
166
  (Aaron Bentley)
 
167
 
 
168
* Do not register a SIGWINCH signal handler, instead just poll for the
 
169
  terminal width as needed.  This avoids the "Interrupted System Call"
 
170
  problems that occur on POSIX with all currently released versions of
 
171
  Python.
 
172
  (Andrew Bennetts, #583941)
 
173
 
52
174
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
175
  (Vincent Ladeuil, #401599)
54
176
 
56
178
  versions before 1.6.
57
179
  (Andrew Bennetts, #528041)
58
180
 
 
181
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
182
  estimate of the number of records to be fetched vs actually fetched.
 
183
  (Parth Malwankar, #374740, #538868)
 
184
 
 
185
* Most of the leaked threads during selftest are now fixed, allowing the
 
186
  full test suite to pass on gentoo.
 
187
  (Vincent Ladeuil, #392127)
 
188
 
59
189
* Reduce peak memory by one copy of compressed text.
60
190
  (John Arbash Meinel, #566940)
61
191
 
 
192
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
193
  read lock, rather than causing an ``AttributeError``.
 
194
  (Andrew Bennetts, Данило Шеган, #582781)
 
195
 
 
196
* Selftest was failing with testtools 0.9.3, which caused an
 
197
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
198
  Error, breaking on of our test hygiene tests.
 
199
  (Robert Collins, Vincent Ladeuil).
 
200
 
 
201
* ``set_user_option`` with a dict on remote branches no longer fails with
 
202
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
203
  to support this efficiently.
 
204
  (Andrew Bennetts, #430382)
 
205
  
62
206
* Show the filenames when a file rename fails so that the error will be
63
207
  more comprehensible.
64
208
  (Martin Pool, #491763)
65
209
 
 
210
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
211
  (John Arbash Meinel, #582656)
 
212
 
 
213
* Unicode characters in aliases are now handled correctly and do not cause
 
214
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
215
 
 
216
* Unicode commit messages that are the same as a file name no longer cause
 
217
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
218
  messages.
 
219
  (Parth Malwankar, #563646)
 
220
 
 
221
* Using bzr with `lp:` urls behind an http proxy should work.
 
222
  (Robert Collins, #558343)
 
223
 
 
224
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
225
  directory file handle after the chdir fails. Otherwise when passing many
 
226
  filenames into a command line ``bzr status`` we would leak descriptors.
 
227
  (John Arbash Meinel, #583486)
 
228
 
66
229
Improvements
67
230
************
68
231
 
74
237
  (case-sensitive) as false.
75
238
  (Brian de Alwis, Vincent Ladeuil)
76
239
 
 
240
* ``bzr ls`` now supports short options for existing long options.
 
241
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
242
  (Parth Malwankar, #181124)
 
243
 
77
244
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
245
  be interpreted as a boolean.
79
246
  (Vincent Ladeuil)
80
247
 
 
248
* The all-in-one Windows installer will now be built with docstrings stripped
 
249
  from the library zip, reducing the size and slightly improving cold startup
 
250
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
251
  plugins to an all-in-one installation, ensure they are compiled and
 
252
  installed with -O1 or help may not work. (Martin [gz])
 
253
 
81
254
Documentation
82
255
*************
83
256
 
96
269
  implementations.
97
270
  (Martin Pool)
98
271
 
 
272
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
273
  expected to return an object which can be used to unlock them. This reduces
 
274
  duplicate code when using cleanups. The previous 'tokens's returned by
 
275
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
276
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
277
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
278
 
 
279
* ``Repository.refresh_data`` may now be called in a write group on
 
280
  pack-based repositories.  Older repositories will still raise an error
 
281
  in this case.  Subclasses of ``Repository`` can still override
 
282
  ``Repository._refresh_data``, but are now responsible for raising
 
283
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
284
  ``refresh_data`` during a write group.
 
285
  (Andrew Bennetts, #574236)
 
286
 
99
287
Internals
100
288
*********
101
289
 
 
290
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
291
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
292
  potentially shave 5-10% time off during a large fetch. Related to bug
 
293
  #562666. (John Arbash Meinel)
 
294
 
 
295
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
296
  (Robert Collins)
 
297
 
102
298
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
299
  suboptimal network behaviour is noticed; instead it just mutters to the
104
300
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
307
  stripped, the prefix ``__doc__ =`` should now be used.
112
308
  (Martin <gzlist@googlemail.com>)
113
309
 
 
310
* No longer require zlib headers to build extensions, and remove the need
 
311
  for seperate copy of zlib library on windows.
 
312
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
 
313
 
114
314
Testing
115
315
*******
116
316
 
121
321
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
122
322
   (Gordon Tyler, #551332)
123
323
 
 
324
* HTTP test servers will leak less threads (and sockets) and will not hang on
 
325
  AIX anymore. (Vincent Ladeuil, #405745)
 
326
 
124
327
* Workaround ``Crypto.Random`` check leading to spurious test
125
328
  failures on Lucid, FreeBSD and gentoo.  
126
329
  (Vincent Ladeuil, #528436)
127
330
 
 
331
* New class ``ExecutableFeature`` for checking the availability of
 
332
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
333
  (Martin von Gagern)
 
334
 
128
335
bzr 2.2b2
129
336
#########
130
337
 
184
391
* Reset ``siginterrupt`` flag to False every time we handle a signal
185
392
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
186
393
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
187
 
  errors after two window resizes.
 
394
  errors compared to registering ``signal.signal`` directly.
188
395
  (Andrew Bennetts)
189
396
 
190
397
* When invoked with a range revision, ``bzr log`` doesn't show revisions
232
439
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
233
440
  ``get_trees_and_branches_to_diff_locked`` instead.
234
441
  (Andrew Bennetts)
 
442
 
 
443
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
444
  auto-determines branch nick if not supplied.  (Aaron Bentley)
235
445
  
236
446
Internals
237
447
*********
530
740
bzr 2.1.2
531
741
#########
532
742
 
533
 
:2.1.2: NOT RELEASED YET
 
743
:2.1.2: 2010-05-28
 
744
 
 
745
This release fixes two critical networking issues with older servers and
 
746
with interrupted system call errors when pushing or pulling.  We recommend
 
747
upgrading to anyone running a 2.1.x version of bzr.
534
748
 
535
749
Bug Fixes
536
750
*********
537
751
 
 
752
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
753
  support of bzr-externals and scmproj plugins.
 
754
  (Alexander Belchenko, bug #572098)
 
755
 
538
756
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
757
  (Aaron Bentley, #559436)
540
758
 
 
759
* Do not register a SIGWINCH signal handler, instead just poll for the
 
760
  terminal width as needed.  This avoids the "Interrupted System Call"
 
761
  problems that occur on POSIX with all currently released versions of
 
762
  Python.
 
763
  (Andrew Bennetts, #583941)
 
764
 
541
765
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
542
766
  versions before 1.6.
543
767
  (Andrew Bennetts, #528041)
545
769
* Reset ``siginterrupt`` flag to False every time we handle a signal
546
770
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
547
771
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
548
 
  errors after two window resizes.
 
772
  errors compared to registering ``signal.signal`` directly.
549
773
  (Andrew Bennetts)
550
774
 
 
775
* Reduce peak memory by one copy of compressed text.
 
776
  (John Arbash Meinel, #566940)
 
777
 
 
778
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
779
  (John Arbash Meinel, #582656)
 
780
 
 
781
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
782
  directory file handle after the chdir fails. Otherwise when passing many
 
783
  filenames into a command line ``bzr status`` we would leak descriptors.
 
784
  (John Arbash Meinel, #583486)
 
785
 
551
786
Internals
552
787
*********
553
788
 
997
1232
  permissions as ``.bzr`` directory on a POSIX OS.
998
1233
  (Parth Malwankar, #262450)
999
1234
 
 
1235
* Reduce peak memory by one copy of compressed text.
 
1236
  (John Arbash Meinel, #566940)
 
1237
 
1000
1238
* Repositories accessed via a smart server now reject being stacked on a
1001
1239
  repository in an incompatible format, as is the case when accessing them
1002
1240
  via other methods.  This was causing fetches from those repositories via
1003
1241
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
1242
  (Andrew Bennetts, #562380)
1005
1243
 
 
1244
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1245
  error. This error was caused by 2.0 not being updated when upstream
 
1246
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1247
  ``done``. (Robert Collins, #571437)
 
1248
 
 
1249
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1250
  directory file handle after the chdir fails. Otherwise when passing many
 
1251
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1252
  (John Arbash Meinel, #583486)
 
1253
 
 
1254
 
1006
1255
bzr 2.0.5
1007
1256
#########
1008
1257