/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: Parth Malwankar
  • Date: 2010-06-11 07:56:46 UTC
  • mto: This revision was merged to the branch mainline in revision 5303.
  • Revision ID: parth.malwankar@gmail.com-20100611075646-9yyeih46ken6yagd
fixed tests. closed review comments by mgz.

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