/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: Canonical.com Patch Queue Manager
  • Date: 2010-06-15 04:32:49 UTC
  • mfrom: (5254.2.5 534787-pull-lp-in-config)
  • Revision ID: pqm@pqm.ubuntu.com-20100615043249-b5xx4yeyfyfbfyav
(spiv) Fix 'bzr pull' when lp: URL explicitly defined in
        locations.conf or branch.conf. (Gordon Tyler, #534787)

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
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
 
18
  and path "bar/baz", even if bzr does not recognize "foo" as a known URL
 
19
  scheme.  Previously these URLs would be treated as local paths.
 
20
  (Gordon Tyler)
 
21
 
 
22
New Features
 
23
************
 
24
 
 
25
* Support ``--directory`` option for a number of additional commands:
 
26
  conflicts, merge-directive, missing, resolve, shelve, switch,
 
27
  unshelve, whoami. (Martin von Gagern, #527878)
 
28
 
 
29
Bug Fixes
 
30
*********
 
31
 
 
32
* ``bzr init`` does not recursively scan directory contents anymore
 
33
  leading to faster init for directories with existing content.
 
34
  (Martin [gz], Parth Malwankar, #501307)
 
35
 
 
36
* ``bzr log --exclude-common-ancestry`` is now taken into account for
 
37
  linear ancetries. (Vincent Ladeuil, #575631)
 
38
 
 
39
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
 
40
  proper error messages. (Vincent Ladeuil, #591215)
 
41
 
 
42
* Explicitly removing ``--profile-imports`` option from parsed command-line
 
43
  arguments on Windows, because bzr script does the same.
 
44
  (Alexander Belchenko, #588277)
 
45
 
 
46
* Fetching was slightly confused about the best code to use and was
 
47
  using a new code path for all branches, resulting in more lookups than
 
48
  necessary on old branches. (Robert Collins, #593515)
 
49
 
 
50
* Final fix for 'no help for command' issue. We now show a clean message
 
51
  when a command has no help, document how to set help more clearly, and
 
52
  test that all commands available to the test suite have help.
 
53
  (Robert Collins, #177500)
 
54
 
 
55
* Relative imports in plugins are now handled correctly when using
 
56
  BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
 
57
 
 
58
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
 
59
  or pull location in locations.conf or branch.conf.
 
60
  (Gordon Tyler, #534787)
 
61
 
 
62
Improvements
 
63
************
 
64
 
 
65
* ``Branch.copy_content_into`` is now a convenience method dispatching to
 
66
  a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
 
67
  plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
 
68
  (Robert Collins, #201613)
 
69
 
 
70
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
 
71
  do not cause modules to be loaded unnecessarily just because the plugin
 
72
  registers a merge hook.  This improves ``bzr rocks`` time by about 25%
 
73
  in a default installation (with just the core plugins).
 
74
  (Andrew Bennetts)
 
75
 
 
76
Documentation
 
77
*************
 
78
 
 
79
* Added ``regression`` tag to our tags list. (Robert Collins)
 
80
 
 
81
* Improved our release checklist to have a bit less churn and leave things
 
82
  ready-to-go for the next action (including other people doing
 
83
  development). (Robert Collins)
 
84
 
 
85
API Changes
 
86
***********
 
87
 
 
88
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
 
89
  2007, has been deleted.  Use ``PatienceSequenceMatcher`` from
 
90
  ``bzrlib.patiencediff`` instead.
 
91
  (Andrew Bennetts)
 
92
 
 
93
Internals
 
94
*********
 
95
 
 
96
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
 
97
 
 
98
Testing
 
99
*******
 
100
 
 
101
 
8
102
bzr 2.2b3
9
103
#########
10
104
 
11
 
:2.2b3: NOT RELEASED YET
 
105
:2.2b3: 2010-05-28
 
106
 
 
107
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
108
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
109
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
110
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
111
bash completion script and bzr will no longer guess at identity details -
 
112
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
113
For developers we have some API changes which may impact plugins as well
 
114
as a bunch of our regular improvements to internal clarity and test
 
115
support.
12
116
 
13
117
Compatibility Breaks
14
118
********************
15
119
 
 
120
* An API break has been made to the lock_write method of ``Branch`` and
 
121
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
122
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
123
  changing the API in future easier and permits some cleaner calling code.
 
124
  The lock_read method has also changed from having no defined return
 
125
  value to returning ``LogicalLockResult`` objects.
 
126
  (Robert Collins)
 
127
 
 
128
* ``bzr`` does not try to guess the username as ``username@hostname``
 
129
  and requires it to be explictly set. This can be set using ``bzr
 
130
  whoami``.
 
131
  (Parth Malwankar, #549310)
 
132
 
 
133
* ``bzrlib.commands.Command`` will now raise ValueError during
 
134
  construction if there is no __doc__ set. (Note, this will be reverted in
 
135
  2.2b4) (Robert Collins)
 
136
 
 
137
* The source tree no longer contains a contrib/zsh/_bzr completion
 
138
  script. The new file contrib/zsh/README suggests alternatives.
 
139
  (Martin von Gagern, #560030)
 
140
 
16
141
New Features
17
142
************
18
143
 
30
155
  pack operation.
31
156
  (Parth Malwankar, #304320)
32
157
 
 
158
* New command line option ``--authors`` to ``bzr log`` allows users to
 
159
  select which of the apparent authors and committer should be
 
160
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
161
 
 
162
* Support ``--directory`` option for a number of additional commands:
 
163
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
164
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
165
  re-sign, unbind, unknowns.
 
166
  (Martin von Gagern, #527878)
 
167
 
 
168
* The bash_completion plugin from the bzr-bash-completion project has
 
169
  been merged into the tree. It provides a bash-completion command and
 
170
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
171
  using the plugin. (Martin von Gagern, #560030)
 
172
 
 
173
* A new transport based on GIO (the gnome i/o library) provides access to
 
174
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
175
  use gio for some already existing transport methods as gio+file,
 
176
  gio+sftp, gio+ftp. 
 
177
  (Mattias Eriksson)
 
178
 
33
179
Bug Fixes
34
180
*********
35
181
 
 
182
* Alias information shown by ``bzr help`` is now accurate. This
 
183
  was showing an internal object name for some plugin aliases.
 
184
  (Parth Malwankar, #584650)
 
185
 
36
186
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
187
  group ownership from the containing directory. This allow bzr to work
38
188
  better with sudo.
39
189
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
190
 
 
191
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
192
  support of bzr-externals and scmproj plugins.
 
193
  (Alexander Belchenko, bug #572098)
 
194
 
 
195
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
196
  (Gordon Tyler, #572092)
 
197
 
41
198
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
199
  are part of Y ancestry but not part of X ancestry (aka the graph
43
200
  difference).
44
201
  (Vincent Ladeuil, #320119)
45
202
 
 
203
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
204
  servers a few commits ago has been reverted to use edge: there is a
 
205
  problem with using production which isn't trivially obvious, so we've
 
206
  filed a bug to track it, and until thats fixed will be using edge.
 
207
  (Robert Collins, #583667)
 
208
 
 
209
* ``bzr rm`` should not refuse to delete directories which contained a file
 
210
  which has been moved elsewhere in the tree after the previous commit.
 
211
  (Marius Kruger, Daniel Watkins, #129880)
 
212
 
46
213
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
214
  (Vincent Ladeuil, #566670)
48
215
 
49
216
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
217
  (Vincent Ladeuil, #563997)
51
218
 
 
219
* CommitBuilder refuses to create revisions whose trees have no root.
 
220
  (Aaron Bentley)
 
221
 
 
222
* Do not register a SIGWINCH signal handler, instead just poll for the
 
223
  terminal width as needed.  This avoids the "Interrupted System Call"
 
224
  problems that occur on POSIX with all currently released versions of
 
225
  Python.
 
226
  (Andrew Bennetts, #583941)
 
227
 
52
228
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
229
  (Vincent Ladeuil, #401599)
54
230
 
56
232
  versions before 1.6.
57
233
  (Andrew Bennetts, #528041)
58
234
 
 
235
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
236
  estimate of the number of records to be fetched vs actually fetched.
 
237
  (Parth Malwankar, #374740, #538868)
 
238
 
59
239
* Reduce peak memory by one copy of compressed text.
60
240
  (John Arbash Meinel, #566940)
61
241
 
 
242
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
243
  read lock, rather than causing an ``AttributeError``.
 
244
  (Andrew Bennetts, Данило Шеган, #582781)
 
245
 
 
246
* Selftest was failing with testtools 0.9.3, which caused an
 
247
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
248
  Error, breaking on of our test hygiene tests.
 
249
  (Robert Collins, Vincent Ladeuil).
 
250
 
 
251
* ``set_user_option`` with a dict on remote branches no longer fails with
 
252
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
253
  to support this efficiently.
 
254
  (Andrew Bennetts, #430382)
 
255
  
62
256
* Show the filenames when a file rename fails so that the error will be
63
257
  more comprehensible.
64
258
  (Martin Pool, #491763)
65
259
 
 
260
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
261
  (John Arbash Meinel, #582656)
 
262
 
 
263
* Unicode characters in aliases are now handled correctly and do not cause
 
264
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
265
 
 
266
* Unicode commit messages that are the same as a file name no longer cause
 
267
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
268
  messages.
 
269
  (Parth Malwankar, #563646)
 
270
 
 
271
* Using bzr with `lp:` urls behind an http proxy should work.
 
272
  (Robert Collins, #558343)
 
273
 
 
274
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
275
  directory file handle after the chdir fails. Otherwise when passing many
 
276
  filenames into a command line ``bzr status`` we would leak descriptors.
 
277
  (John Arbash Meinel, #583486)
 
278
 
66
279
Improvements
67
280
************
68
281
 
74
287
  (case-sensitive) as false.
75
288
  (Brian de Alwis, Vincent Ladeuil)
76
289
 
 
290
* ``bzr ls`` now supports short options for existing long options.
 
291
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
292
  (Parth Malwankar, #181124)
 
293
 
77
294
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
295
  be interpreted as a boolean.
79
296
  (Vincent Ladeuil)
80
297
 
 
298
* The all-in-one Windows installer will now be built with docstrings stripped
 
299
  from the library zip, reducing the size and slightly improving cold startup
 
300
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
301
  plugins to an all-in-one installation, ensure they are compiled and
 
302
  installed with -O1 or help may not work. (Martin [gz])
 
303
 
81
304
Documentation
82
305
*************
83
306
 
96
319
  implementations.
97
320
  (Martin Pool)
98
321
 
 
322
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
323
  expected to return an object which can be used to unlock them. This reduces
 
324
  duplicate code when using cleanups. The previous 'tokens's returned by
 
325
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
326
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
327
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
328
 
 
329
* ``Repository.refresh_data`` may now be called in a write group on
 
330
  pack-based repositories.  Older repositories will still raise an error
 
331
  in this case.  Subclasses of ``Repository`` can still override
 
332
  ``Repository._refresh_data``, but are now responsible for raising
 
333
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
334
  ``refresh_data`` during a write group.
 
335
  (Andrew Bennetts, #574236)
 
336
 
99
337
Internals
100
338
*********
101
339
 
 
340
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
341
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
342
  potentially shave 5-10% time off during a large fetch. Related to bug
 
343
  #562666. (John Arbash Meinel)
 
344
 
 
345
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
346
  (Robert Collins)
 
347
 
102
348
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
349
  suboptimal network behaviour is noticed; instead it just mutters to the
104
350
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
357
  stripped, the prefix ``__doc__ =`` should now be used.
112
358
  (Martin <gzlist@googlemail.com>)
113
359
 
 
360
* No longer require zlib headers to build extensions, and remove the need
 
361
  for seperate copy of zlib library on windows.
 
362
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
 
363
 
114
364
Testing
115
365
*******
116
366
 
 
367
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
 
368
  our first in-tree matcher. See the module docstring for details.
 
369
  (Robert Collins)
 
370
 
117
371
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
118
372
   (Gordon Tyler, #551332)
119
373
 
121
375
  failures on Lucid, FreeBSD and gentoo.  
122
376
  (Vincent Ladeuil, #528436)
123
377
 
 
378
* New class ``ExecutableFeature`` for checking the availability of
 
379
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
380
  (Martin von Gagern)
 
381
 
124
382
bzr 2.2b2
125
383
#########
126
384
 
180
438
* Reset ``siginterrupt`` flag to False every time we handle a signal
181
439
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
182
440
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
183
 
  errors after two window resizes.
 
441
  errors compared to registering ``signal.signal`` directly.
184
442
  (Andrew Bennetts)
185
443
 
186
444
* When invoked with a range revision, ``bzr log`` doesn't show revisions
228
486
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
229
487
  ``get_trees_and_branches_to_diff_locked`` instead.
230
488
  (Andrew Bennetts)
 
489
 
 
490
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
491
  auto-determines branch nick if not supplied.  (Aaron Bentley)
231
492
  
232
493
Internals
233
494
*********
238
499
  Command is now transient and only exists for the duration of ``run()``.
239
500
  (Robert Collins)
240
501
 
241
 
bzr 2.2.0b1
242
 
###########
243
 
 
244
 
:2.2.0b1: 2010-04-01
 
502
bzr 2.2b1
 
503
#########
 
504
 
 
505
:2.2b1: 2010-04-01
 
506
 
 
507
This is the first beta of the 2.2 series, leading up to a 2.2.0
 
508
release in July or August.  Beta releases are suitable for everyday use
 
509
but may cause some incompatibilities with plugins.  Some plugins may need
 
510
small updates to work with 2.2b1.
 
511
 
 
512
2.2b1 includes some changes to make merge conflicts easier to understand
 
513
and resolve.  It also removes some old unnecessary code, and loads
 
514
somewhat less code at startup.  It starts adding a common infrastructure
 
515
for dealing with colocated named branches, which can be implemented in
 
516
various ways in either bzr native or foreign formats.   On Ubuntu and
 
517
other platforms with the apport bug-reporting library, there's an easier
 
518
path to report problems with bzr.  We plan to continue with these themes
 
519
through the 2.2 series.
 
520
 
 
521
Over thirty bugs have been fixed, including in the log command, exporting
 
522
to tarballs, restarting interrupted system calls, portability of compiled
 
523
extensions, making backups during upgrade, and locking on ftp.
245
524
 
246
525
Compatibility Breaks
247
526
********************
526
805
bzr 2.1.2
527
806
#########
528
807
 
529
 
:2.1.2: NOT RELEASED YET
 
808
:2.1.2: 2010-05-28
 
809
 
 
810
This release fixes two critical networking issues with older servers and
 
811
with interrupted system call errors when pushing or pulling.  We recommend
 
812
upgrading to anyone running a 2.1.x version of bzr.
530
813
 
531
814
Bug Fixes
532
815
*********
533
816
 
 
817
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
818
  support of bzr-externals and scmproj plugins.
 
819
  (Alexander Belchenko, bug #572098)
 
820
 
534
821
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
535
822
  (Aaron Bentley, #559436)
536
823
 
 
824
* Do not register a SIGWINCH signal handler, instead just poll for the
 
825
  terminal width as needed.  This avoids the "Interrupted System Call"
 
826
  problems that occur on POSIX with all currently released versions of
 
827
  Python.
 
828
  (Andrew Bennetts, #583941)
 
829
 
537
830
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
538
831
  versions before 1.6.
539
832
  (Andrew Bennetts, #528041)
541
834
* Reset ``siginterrupt`` flag to False every time we handle a signal
542
835
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
543
836
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
544
 
  errors after two window resizes.
 
837
  errors compared to registering ``signal.signal`` directly.
545
838
  (Andrew Bennetts)
546
839
 
 
840
* Reduce peak memory by one copy of compressed text.
 
841
  (John Arbash Meinel, #566940)
 
842
 
 
843
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
844
  (John Arbash Meinel, #582656)
 
845
 
 
846
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
847
  directory file handle after the chdir fails. Otherwise when passing many
 
848
  filenames into a command line ``bzr status`` we would leak descriptors.
 
849
  (John Arbash Meinel, #583486)
 
850
 
547
851
Internals
548
852
*********
549
853
 
993
1297
  permissions as ``.bzr`` directory on a POSIX OS.
994
1298
  (Parth Malwankar, #262450)
995
1299
 
 
1300
* Reduce peak memory by one copy of compressed text.
 
1301
  (John Arbash Meinel, #566940)
 
1302
 
996
1303
* Repositories accessed via a smart server now reject being stacked on a
997
1304
  repository in an incompatible format, as is the case when accessing them
998
1305
  via other methods.  This was causing fetches from those repositories via
999
1306
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1000
1307
  (Andrew Bennetts, #562380)
1001
1308
 
 
1309
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1310
  error. This error was caused by 2.0 not being updated when upstream
 
1311
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1312
  ``done``. (Robert Collins, #571437)
 
1313
 
 
1314
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1315
  directory file handle after the chdir fails. Otherwise when passing many
 
1316
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1317
  (John Arbash Meinel, #583486)
 
1318
 
 
1319
 
1002
1320
bzr 2.0.5
1003
1321
#########
1004
1322
 
3698
4016
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3699
4017
 
3700
4018
* selftest now supports a --parallel option, with values of 'fork' or
3701
 
  'subprocess' to run the test suite in parallel. Currently only linux
3702
 
  machine work, other platforms need patches submitted. (Robert Collins,
 
4019
  'subprocess' to run the test suite in parallel. Currently only Linux
 
4020
  machines work, other platforms need patches submitted. (Robert Collins,
3703
4021
  Vincent Ladeuil)
3704
4022
 
3705
4023
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
6453
6771
 
6454
6772
* bzr main script cannot be imported (Benjamin Peterson)
6455
6773
 
6456
 
* On Linux bzr additionally looks for plugins in arch-independent site
 
6774
* On GNU/Linux bzr additionally looks for plugins in arch-independent site
6457
6775
  directory. (Toshio Kuratomi)
6458
6776
 
6459
6777
* The ``set_rh`` branch hook is now deprecated. Please migrate
6796
7114
 
6797
7115
* BZR_LOG environment variable controls location of .bzr.log trace file.
6798
7116
  User can suppress writing messages to .bzr.log by using '/dev/null'
6799
 
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
7117
  filename (on Unix) or 'NUL' (on Windows). If BZR_LOG variable
6800
7118
  is not defined but BZR_HOME is defined then default location
6801
7119
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
6802
7120
  (Alexander Belchenko, #106117)