/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: Vincent Ladeuil
  • Date: 2010-06-20 11:18:38 UTC
  • mto: (5247.1.10 first-try)
  • mto: This revision was merged to the branch mainline in revision 5326.
  • Revision ID: v.ladeuil+lp@free.fr-20100620111838-3s726ne0g2ni42m1
No more use of the get_transport imported *symbol*, all uses are through
the module now, allowing effective wrapping.

* bzrlib/workingtree.py:
(WorkingTree.find_trees): More evil calls to
transport.get_transport defeating the wrapping.

* bzrlib/transport/decorator.py:
(TransportDecorator.__init__): More evil calls to
transport.get_transport defeating the wrapping.

* bzrlib/tests/test_workingtree.py:
(TestWorkingTreeFormat.test_find_format.check_format): More evil
calls to transport.get_transport defeating the wrapping.

* bzrlib/tests/test_upgrade.py:
(TestUpgrade.test_upgrade_simple):
(TestUpgrade.test_upgrade_v6_to_meta_no_workingtree): More evil
calls to transport.get_transport defeating the wrapping.

* bzrlib/tests/test_transport_log.py:
(test_log_transport): More evil calls to transport.get_transport
defeating the wrapping.

* bzrlib/tests/test_smart_request.py:
(TestJailHook.test_jail_hook): More evil calls to
transport.get_transport defeating the wrapping.

* bzrlib/tests/test_sftp_transport.py:
(SFTPNonServerTest.test_abspath_root_sibling_server):
(SSHVendorBadConnection.test_bad_connection_paramiko):
(SSHVendorBadConnection.test_bad_connection_ssh):
(TestUsesAuthConfig.get_transport_for_connection): More evil calls
to transport.get_transport defeating the wrapping.

* bzrlib/tests/test_selftest.py:
(test_get_readonly_url_none):
(TestTestCaseWithTransport.test_get_readonly_url_none):
(TestTestCaseWithTransport.test_get_readonly_url_http):
(TestChrootedTest.test_root_is_root): More evil calls to
transport.get_transport defeating the wrapping.

* bzrlib/tests/test_remote.py:
(Test_ClientMedium_remote_path_from_transport.assertRemotePath):
(Test_ClientMedium_remote_path_from_transport.assertRemotePathHTTP):
More evil calls to transport.get_transport defeating the wrapping.

* bzrlib/tests/test_reconcile.py:
Unused import deleted.

* bzrlib/tests/test_permissions.py:
(check_mode_r):
(TestSftpPermissions.test_new_files):
(TestSftpPermissions.test_sftp_server_modes): More evil calls to
transport.get_transport defeating the wrapping.

* bzrlib/tests/test_lockable_files.py:
(setUp, TestLockableFiles_RemoteLockDir.setUp): More evil calls to
transport.get_transport defeating the wrapping.

* bzrlib/tests/test_knit.py:
(TestKnitIndex.test_knit_index_ignores_empty_files): More evil
calls to transport.get_transport defeating the wrapping.

* bzrlib/tests/test_index.py:
(test_build_index_empty_two_element_keys):
(test_build_index_one_reference_list_empty):
(test_build_index_two_reference_list_empty):
(test_build_index_one_node_no_refs):
(test_build_index_one_node_no_refs_accepts_empty_reflist):
(TestGraphIndexBuilder.test_build_index_one_node_2_element_keys):
(test_add_node_empty_value):
(test_build_index_nodes_sorted):
(test_build_index_2_element_key_nodes_sorted):
(test_build_index_reference_lists_are_included_one):
(test_build_index_reference_lists_with_2_element_keys):
(test_build_index_reference_lists_are_included_two):
(test_clear_cache):
(test_node_references_are_cr_delimited):
(test_multiple_reference_lists_are_tab_delimited):
(test_add_node_referencing_missing_key_makes_absent):
(test_node_references_three_digits):
(test_absent_has_no_reference_overhead):
(test_add_node_bad_key):
(TestGraphIndexBuilder.test_add_node_bad_key):
(test_add_node_bad_key_in_reference_lists):
(TestGraphIndexBuilder.test_add_node_bad_key_in_reference_lists):
(make_index):
(test_open_bad_index_no_error):
(test_iter_missing_entry_empty_no_size):
(test_validate_bad_index_errors):
(test_supports_unlimited_cache):
(TestCombinedGraphIndex.make_combined_index_with_missing):
(reload):
(TestCombinedGraphIndex.test_clear_cache):
(test_reorder_after_iter_entries):
(test_validate_reloads):
(TestCombinedGraphIndex.test_find_ancestors_across_indexes):
(TestCombinedGraphIndex.test_find_ancestors_missing_keys):
(test_find_ancestors_no_indexes):
(TestCombinedGraphIndex.test_find_ancestors_ghost_parent):
(test__find_ancestors_empty_index):
(test_construct): More evil calls to transport.get_transport
defeating the wrapping and some more import fixes.

* bzrlib/tests/test_directory_service.py:
(TestDirectoryLookup.test_get_transport): More evil calls to
transport.get_transport defeating the wrapping.

* bzrlib/tests/test_debug.py:
Unused import deleted.

* bzrlib/tests/test_btree_index.py:
(TestBTreeBuilder.test_three_level_tree_details):
(TestBTreeBuilder.test_spill_index_stress_2_2):
(TestBTreeIndex.make_index):
(test_trivial_constructor):
(test__read_nodes_no_size_one_page_reads_once):
(TestBTreeIndex.test__read_nodes_no_size_multiple_pages):
(TestBTreeIndex.test_2_levels_key_count_2_2):
(TestBTreeIndex.test_validate_two_pages):
(TestBTreeIndex.test_iter_all_entries_reads):
(TestBTreeIndex.test_iter_all_entries_reads):
(TestBTreeIndex.test_iter_entries_references_2_refs_resolved):
(TestBTreeIndex.test_iter_entries_references_2_refs_resolved):
(TestBTreeIndex.test_supports_unlimited_cache):
(TestExpandOffsets.make_index): More evil calls to
transport.get_transport defeating the wrapping.

* bzrlib/tests/per_workingtree/test_pull.py:
Unused import deleted.

* bzrlib/tests/per_versionedfile.py:
(test_readonly_mode):
(TestWeave.get_file):
(reopen_file):
(TestReadonlyHttpMixin.test_readonly_http_works):
(TestReadonlyHttpMixin.test_readonly_http_works_with_feeling):
(TestWeaveHTTP.get_file):
(TestWeaveMerge.get_file): More evil calls to
transport.get_transport defeating the wrapping.

* bzrlib/tests/per_repository/test_reconcile.py:
(setUp):
(TestReconcileWithIncorrectRevisionCache.setUp):
(test_reconcile_wrong_order):
(test_reconcile_wrong_order_secondary_inventory): More evil calls
to transport.get_transport defeating the wrapping.

* bzrlib/tests/per_repository/test_has_same_location.py:
(TestHasSameLocation.test_different_format_not_equal): More evil
calls to transport.get_transport defeating the wrapping.

* bzrlib/tests/per_repository/test_fetch.py:
Unused import deleted.

* bzrlib/tests/per_intertree/__init__.py:
Unused import deleted.

* bzrlib/tests/per_interrepository/__init__.py:
(TestCaseWithInterRepository.make_bzrdir): More evil calls to
transport.get_transport defeating the wrapping.

* bzrlib/tests/per_interbranch/test_push.py:
Unused import deleted.

* bzrlib/tests/per_interbranch/__init__.py:
Unused import deleted.

* bzrlib/tests/per_bzrdir/test_bzrdir.py:
(TestBzrDir.sproutOrSkip):
(TestBzrDir.test_format_initialize_find_open):
(TestBzrDir.test_open_not_bzrdir):
(TestBzrDir.test_open_branch):
(TestBzrDir.test_open_branch):
(TestBzrDir.test_list_branches):
(TestBzrDir.test_create_repository):
(TestBzrDir.test_create_repository_shared):
(TestBzrDir.test_create_repository_nonshared):
(TestBzrDir.test_open_repository):
(test_root_transport):
(TestBzrDir.test_find_repository_no_repo_under_standalone_branch):
(TestBzrDir.test_find_repository_containing_shared_repository):
(TestBzrDir.test_find_repository_shared_within_shared_repository):
(TestBzrDir.test_find_repository_with_nested_dirs_works):
(ChrootedBzrDirTests.test_find_repository_no_repository):
(TestBzrDirControlComponent): More evil calls to
transport.get_transport defeating the wrapping.

* bzrlib/tests/per_branch/test_stacking.py: 
Unused import deleted.

* bzrlib/tests/per_branch/test_permissions.py: 
Unused import deleted.

* bzrlib/tests/per_branch/test_bound_sftp.py:
(test_unbinding): More evil calls to transport.get_transport
defeating the wrapping.

* bzrlib/tests/blackbox/test_upgrade.py:
(TestWithUpgradableBranches.test_upgrade_up_to_date_checkout_warns_branch_left_alone):
(test_upgrade_explicit_metaformat):
(TestWithUpgradableBranches.test_upgrade_explicit_knit):
(test_upgrade_with_existing_backup_dir):
(TestWithUpgradableBranches.test_upgrade_with_existing_backup_dir):
More evil calls to transport.get_transport defeating the wrapping.

* bzrlib/tests/blackbox/test_serve.py:
(test_bzr_serve_port_readonly): More evil calls to
transport.get_transport defeating the wrapping.

* bzrlib/plugins/launchpad/test_lp_directory.py:
(DirectoryOpenBranchTests.test_directory_open_branch): Use
transport.get_transport instead of get_transport.

* bzrlib/plugins/launchpad/account.py:
(check_lp_login): Use transport.get_transport instead of
get_transport.

* bzrlib/builtins.py (run): Use transport.get_transport instead of
get_transport.

* bzrlib/btree_index.py:
(BTreeBuilder._spill_mem_keys_to_disk): Use
transport.get_transport instead of get_transport.

* bzrlib/benchmarks/bench_commit.py:
Unused import deleted.

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
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
 
40
  or pull location in locations.conf or branch.conf.
 
41
  (Gordon Tyler, #534787)
 
42
 
 
43
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
 
44
  proper error messages. (Vincent Ladeuil, #591215)
 
45
 
 
46
* Explicitly removing ``--profile-imports`` option from parsed command-line
 
47
  arguments on Windows, because bzr script does the same.
 
48
  (Alexander Belchenko, #588277)
 
49
 
 
50
* Fetching was slightly confused about the best code to use and was
 
51
  using a new code path for all branches, resulting in more lookups than
 
52
  necessary on old branches. (Robert Collins, #593515)
 
53
 
 
54
* Final fix for 'no help for command' issue. We now show a clean message
 
55
  when a command has no help, document how to set help more clearly, and
 
56
  test that all commands available to the test suite have help.
 
57
  (Robert Collins, #177500)
 
58
 
 
59
* Raise ValueError instead of a string exception.
 
60
  (John Arbash Meinel, #586926)
 
61
 
 
62
* Relative imports in plugins are now handled correctly when using
 
63
  BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
 
64
 
 
65
* ``ScriptRunner`` now strips off leading indentation from test scripts,
 
66
  which previously caused "SyntaxError: No command for line".
 
67
  (Martin Pool)
 
68
 
 
69
* ``walkdirs`` now raises a useful message when the filenames are not using
 
70
  the filesystem encoding. (Eric Moritz, #488519)
 
71
 
 
72
* URL displayed for use with ``break-lock`` when smart server sees lock
 
73
  contention are now valid. Default timeout for lock contention retry is
 
74
  now 30 seconds instead of 300 seconds.
 
75
  (Parth Malwankar, #250451)
 
76
 
 
77
Improvements
 
78
************
 
79
 
 
80
* Bazaar now reads data from SSH connections more efficiently on platforms
 
81
  that provide the ``socketpair`` function, and when using paramiko.
 
82
  (Andrew Bennetts, #590637)
 
83
 
 
84
* ``Branch.copy_content_into`` is now a convenience method dispatching to
 
85
  a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
 
86
  plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
 
87
  (Robert Collins, #201613)
 
88
 
 
89
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
 
90
  do not cause modules to be loaded unnecessarily just because the plugin
 
91
  registers a merge hook.  This improves ``bzr rocks`` time by about 25%
 
92
  in a default installation (with just the core plugins).
 
93
  (Andrew Bennetts)
 
94
 
 
95
Documentation
 
96
*************
 
97
 
 
98
* Added ``regression`` tag to our tags list. (Robert Collins)
 
99
 
 
100
* Improved our release checklist to have a bit less churn and leave things
 
101
  ready-to-go for the next action (including other people doing
 
102
  development). (Robert Collins)
 
103
 
 
104
API Changes
 
105
***********
 
106
 
 
107
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
 
108
  an iterable of format pairs, rather than just a single pair, permitting
 
109
  InterBranch objects that work with multiple permutations to be
 
110
  comprehensively tested. (Robert Collins)
 
111
 
 
112
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
 
113
  2007, has been deleted.  Use ``PatienceSequenceMatcher`` from
 
114
  ``bzrlib.patiencediff`` instead. (Andrew Bennetts)
 
115
 
 
116
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
 
117
  that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
 
118
  Third-party implementations of ``SSHVendor`` may need to be updated
 
119
  accordingly.  Similarly, any code using ``SSHConnection`` directly will
 
120
  need to be updated.  (Andrew Bennetts)
 
121
 
 
122
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
 
123
  changed to take an ``SSHParams`` instance (replacing many individual
 
124
  values).  (Andrew Bennetts)
 
125
 
 
126
Internals
 
127
*********
 
128
 
 
129
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
 
130
 
 
131
Testing
 
132
*******
 
133
 
 
134
 
8
135
bzr 2.2b3
9
136
#########
10
137
 
11
 
:2.2b3: NOT RELEASED YET
 
138
:2.2b3: 2010-05-28
 
139
 
 
140
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
141
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
142
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
143
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
144
bash completion script and bzr will no longer guess at identity details -
 
145
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
146
For developers we have some API changes which may impact plugins as well
 
147
as a bunch of our regular improvements to internal clarity and test
 
148
support.
12
149
 
13
150
Compatibility Breaks
14
151
********************
15
152
 
 
153
* An API break has been made to the lock_write method of ``Branch`` and
 
154
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
155
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
156
  changing the API in future easier and permits some cleaner calling code.
 
157
  The lock_read method has also changed from having no defined return
 
158
  value to returning ``LogicalLockResult`` objects.
 
159
  (Robert Collins)
 
160
 
 
161
* ``bzr`` does not try to guess the username as ``username@hostname``
 
162
  and requires it to be explictly set. This can be set using ``bzr
 
163
  whoami``.
 
164
  (Parth Malwankar, #549310)
 
165
 
 
166
* ``bzrlib.commands.Command`` will now raise ValueError during
 
167
  construction if there is no __doc__ set. (Note, this will be reverted in
 
168
  2.2b4) (Robert Collins)
 
169
 
 
170
* The source tree no longer contains a contrib/zsh/_bzr completion
 
171
  script. The new file contrib/zsh/README suggests alternatives.
 
172
  (Martin von Gagern, #560030)
 
173
 
16
174
New Features
17
175
************
18
176
 
30
188
  pack operation.
31
189
  (Parth Malwankar, #304320)
32
190
 
 
191
* New command line option ``--authors`` to ``bzr log`` allows users to
 
192
  select which of the apparent authors and committer should be
 
193
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
194
 
 
195
* Support ``--directory`` option for a number of additional commands:
 
196
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
197
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
198
  re-sign, unbind, unknowns.
 
199
  (Martin von Gagern, #527878)
 
200
 
 
201
* The bash_completion plugin from the bzr-bash-completion project has
 
202
  been merged into the tree. It provides a bash-completion command and
 
203
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
204
  using the plugin. (Martin von Gagern, #560030)
 
205
 
 
206
* A new transport based on GIO (the gnome i/o library) provides access to
 
207
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
208
  use gio for some already existing transport methods as gio+file,
 
209
  gio+sftp, gio+ftp. 
 
210
  (Mattias Eriksson)
 
211
 
33
212
Bug Fixes
34
213
*********
35
214
 
 
215
* Alias information shown by ``bzr help`` is now accurate. This
 
216
  was showing an internal object name for some plugin aliases.
 
217
  (Parth Malwankar, #584650)
 
218
 
36
219
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
220
  group ownership from the containing directory. This allow bzr to work
38
221
  better with sudo.
39
222
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
223
 
 
224
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
225
  support of bzr-externals and scmproj plugins.
 
226
  (Alexander Belchenko, bug #572098)
 
227
 
 
228
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
229
  (Gordon Tyler, #572092)
 
230
 
41
231
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
232
  are part of Y ancestry but not part of X ancestry (aka the graph
43
233
  difference).
44
234
  (Vincent Ladeuil, #320119)
45
235
 
 
236
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
237
  servers a few commits ago has been reverted to use edge: there is a
 
238
  problem with using production which isn't trivially obvious, so we've
 
239
  filed a bug to track it, and until thats fixed will be using edge.
 
240
  (Robert Collins, #583667)
 
241
 
 
242
* ``bzr rm`` should not refuse to delete directories which contained a file
 
243
  which has been moved elsewhere in the tree after the previous commit.
 
244
  (Marius Kruger, Daniel Watkins, #129880)
 
245
 
46
246
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
247
  (Vincent Ladeuil, #566670)
48
248
 
49
249
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
250
  (Vincent Ladeuil, #563997)
51
251
 
 
252
* CommitBuilder refuses to create revisions whose trees have no root.
 
253
  (Aaron Bentley)
 
254
 
 
255
* Do not register a SIGWINCH signal handler, instead just poll for the
 
256
  terminal width as needed.  This avoids the "Interrupted System Call"
 
257
  problems that occur on POSIX with all currently released versions of
 
258
  Python.
 
259
  (Andrew Bennetts, #583941)
 
260
 
52
261
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
262
  (Vincent Ladeuil, #401599)
54
263
 
56
265
  versions before 1.6.
57
266
  (Andrew Bennetts, #528041)
58
267
 
 
268
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
269
  estimate of the number of records to be fetched vs actually fetched.
 
270
  (Parth Malwankar, #374740, #538868)
 
271
 
59
272
* Reduce peak memory by one copy of compressed text.
60
273
  (John Arbash Meinel, #566940)
61
274
 
 
275
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
276
  read lock, rather than causing an ``AttributeError``.
 
277
  (Andrew Bennetts, Данило Шеган, #582781)
 
278
 
 
279
* Selftest was failing with testtools 0.9.3, which caused an
 
280
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
281
  Error, breaking on of our test hygiene tests.
 
282
  (Robert Collins, Vincent Ladeuil).
 
283
 
 
284
* ``set_user_option`` with a dict on remote branches no longer fails with
 
285
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
286
  to support this efficiently.
 
287
  (Andrew Bennetts, #430382)
 
288
  
62
289
* Show the filenames when a file rename fails so that the error will be
63
290
  more comprehensible.
64
291
  (Martin Pool, #491763)
65
292
 
 
293
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
294
  (John Arbash Meinel, #582656)
 
295
 
 
296
* Unicode characters in aliases are now handled correctly and do not cause
 
297
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
298
 
 
299
* Unicode commit messages that are the same as a file name no longer cause
 
300
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
301
  messages.
 
302
  (Parth Malwankar, #563646)
 
303
 
 
304
* Using bzr with `lp:` urls behind an http proxy should work.
 
305
  (Robert Collins, #558343)
 
306
 
 
307
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
308
  directory file handle after the chdir fails. Otherwise when passing many
 
309
  filenames into a command line ``bzr status`` we would leak descriptors.
 
310
  (John Arbash Meinel, #583486)
 
311
 
66
312
Improvements
67
313
************
68
314
 
74
320
  (case-sensitive) as false.
75
321
  (Brian de Alwis, Vincent Ladeuil)
76
322
 
 
323
* ``bzr ls`` now supports short options for existing long options.
 
324
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
325
  (Parth Malwankar, #181124)
 
326
 
77
327
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
328
  be interpreted as a boolean.
79
329
  (Vincent Ladeuil)
80
330
 
 
331
* The all-in-one Windows installer will now be built with docstrings stripped
 
332
  from the library zip, reducing the size and slightly improving cold startup
 
333
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
334
  plugins to an all-in-one installation, ensure they are compiled and
 
335
  installed with -O1 or help may not work. (Martin [gz])
 
336
 
81
337
Documentation
82
338
*************
83
339
 
96
352
  implementations.
97
353
  (Martin Pool)
98
354
 
 
355
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
356
  expected to return an object which can be used to unlock them. This reduces
 
357
  duplicate code when using cleanups. The previous 'tokens's returned by
 
358
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
359
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
360
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
361
 
 
362
* ``Repository.refresh_data`` may now be called in a write group on
 
363
  pack-based repositories.  Older repositories will still raise an error
 
364
  in this case.  Subclasses of ``Repository`` can still override
 
365
  ``Repository._refresh_data``, but are now responsible for raising
 
366
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
367
  ``refresh_data`` during a write group.
 
368
  (Andrew Bennetts, #574236)
 
369
 
99
370
Internals
100
371
*********
101
372
 
 
373
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
374
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
375
  potentially shave 5-10% time off during a large fetch. Related to bug
 
376
  #562666. (John Arbash Meinel)
 
377
 
 
378
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
379
  (Robert Collins)
 
380
 
102
381
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
382
  suboptimal network behaviour is noticed; instead it just mutters to the
104
383
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
390
  stripped, the prefix ``__doc__ =`` should now be used.
112
391
  (Martin <gzlist@googlemail.com>)
113
392
 
 
393
* No longer require zlib headers to build extensions, and remove the need
 
394
  for seperate copy of zlib library on windows.
 
395
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
 
396
 
114
397
Testing
115
398
*******
116
399
 
125
408
  failures on Lucid, FreeBSD and gentoo.  
126
409
  (Vincent Ladeuil, #528436)
127
410
 
 
411
* New class ``ExecutableFeature`` for checking the availability of
 
412
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
413
  (Martin von Gagern)
 
414
 
128
415
bzr 2.2b2
129
416
#########
130
417
 
184
471
* Reset ``siginterrupt`` flag to False every time we handle a signal
185
472
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
186
473
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
187
 
  errors after two window resizes.
 
474
  errors compared to registering ``signal.signal`` directly.
188
475
  (Andrew Bennetts)
189
476
 
190
477
* When invoked with a range revision, ``bzr log`` doesn't show revisions
232
519
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
233
520
  ``get_trees_and_branches_to_diff_locked`` instead.
234
521
  (Andrew Bennetts)
 
522
 
 
523
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
524
  auto-determines branch nick if not supplied.  (Aaron Bentley)
235
525
  
236
526
Internals
237
527
*********
242
532
  Command is now transient and only exists for the duration of ``run()``.
243
533
  (Robert Collins)
244
534
 
245
 
bzr 2.2.0b1
246
 
###########
247
 
 
248
 
:2.2.0b1: 2010-04-01
 
535
bzr 2.2b1
 
536
#########
 
537
 
 
538
:2.2b1: 2010-04-01
 
539
 
 
540
This is the first beta of the 2.2 series, leading up to a 2.2.0
 
541
release in July or August.  Beta releases are suitable for everyday use
 
542
but may cause some incompatibilities with plugins.  Some plugins may need
 
543
small updates to work with 2.2b1.
 
544
 
 
545
2.2b1 includes some changes to make merge conflicts easier to understand
 
546
and resolve.  It also removes some old unnecessary code, and loads
 
547
somewhat less code at startup.  It starts adding a common infrastructure
 
548
for dealing with colocated named branches, which can be implemented in
 
549
various ways in either bzr native or foreign formats.   On Ubuntu and
 
550
other platforms with the apport bug-reporting library, there's an easier
 
551
path to report problems with bzr.  We plan to continue with these themes
 
552
through the 2.2 series.
 
553
 
 
554
Over thirty bugs have been fixed, including in the log command, exporting
 
555
to tarballs, restarting interrupted system calls, portability of compiled
 
556
extensions, making backups during upgrade, and locking on ftp.
249
557
 
250
558
Compatibility Breaks
251
559
********************
527
835
  happens, and another warning will be written if the log file could not
528
836
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
529
837
 
 
838
bzr 2.1.3
 
839
#########
 
840
 
 
841
:Codename: Do run run
 
842
:2.1.3: NOT RELEASED YET
 
843
 
 
844
Compatibility Breaks
 
845
********************
 
846
 
 
847
New Features
 
848
************
 
849
 
 
850
Bug Fixes
 
851
*********
 
852
 
 
853
* Raise ValueError instead of a string exception.
 
854
  (John Arbash Meinel, #586926)
 
855
 
 
856
Improvements
 
857
************
 
858
 
 
859
Documentation
 
860
*************
 
861
 
 
862
API Changes
 
863
***********
 
864
 
 
865
Internals
 
866
*********
 
867
 
 
868
Testing
 
869
*******
 
870
 
530
871
bzr 2.1.2
531
872
#########
532
873
 
533
 
:2.1.2: NOT RELEASED YET
 
874
:2.1.2: 2010-05-28
 
875
 
 
876
This release fixes two critical networking issues with older servers and
 
877
with interrupted system call errors when pushing or pulling.  We recommend
 
878
upgrading to anyone running a 2.1.x version of bzr.
534
879
 
535
880
Bug Fixes
536
881
*********
537
882
 
 
883
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
884
  support of bzr-externals and scmproj plugins.
 
885
  (Alexander Belchenko, bug #572098)
 
886
 
538
887
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
888
  (Aaron Bentley, #559436)
540
889
 
 
890
* Do not register a SIGWINCH signal handler, instead just poll for the
 
891
  terminal width as needed.  This avoids the "Interrupted System Call"
 
892
  problems that occur on POSIX with all currently released versions of
 
893
  Python.
 
894
  (Andrew Bennetts, #583941)
 
895
 
541
896
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
542
897
  versions before 1.6.
543
898
  (Andrew Bennetts, #528041)
545
900
* Reset ``siginterrupt`` flag to False every time we handle a signal
546
901
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
547
902
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
548
 
  errors after two window resizes.
 
903
  errors compared to registering ``signal.signal`` directly.
549
904
  (Andrew Bennetts)
550
905
 
 
906
* Reduce peak memory by one copy of compressed text.
 
907
  (John Arbash Meinel, #566940)
 
908
 
 
909
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
910
  (John Arbash Meinel, #582656)
 
911
 
 
912
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
913
  directory file handle after the chdir fails. Otherwise when passing many
 
914
  filenames into a command line ``bzr status`` we would leak descriptors.
 
915
  (John Arbash Meinel, #583486)
 
916
 
551
917
Internals
552
918
*********
553
919
 
997
1363
  permissions as ``.bzr`` directory on a POSIX OS.
998
1364
  (Parth Malwankar, #262450)
999
1365
 
 
1366
* Raise ValueError instead of a string exception.
 
1367
  (John Arbash Meinel, #586926)
 
1368
 
 
1369
* Reduce peak memory by one copy of compressed text.
 
1370
  (John Arbash Meinel, #566940)
 
1371
 
1000
1372
* Repositories accessed via a smart server now reject being stacked on a
1001
1373
  repository in an incompatible format, as is the case when accessing them
1002
1374
  via other methods.  This was causing fetches from those repositories via
1003
1375
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
1376
  (Andrew Bennetts, #562380)
1005
1377
 
 
1378
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1379
  error. This error was caused by 2.0 not being updated when upstream
 
1380
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1381
  ``done``. (Robert Collins, #571437)
 
1382
 
 
1383
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1384
  directory file handle after the chdir fails. Otherwise when passing many
 
1385
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1386
  (John Arbash Meinel, #583486)
 
1387
 
 
1388
 
1006
1389
bzr 2.0.5
1007
1390
#########
1008
1391
 
3702
4085
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3703
4086
 
3704
4087
* 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,
 
4088
  'subprocess' to run the test suite in parallel. Currently only Linux
 
4089
  machines work, other platforms need patches submitted. (Robert Collins,
3707
4090
  Vincent Ladeuil)
3708
4091
 
3709
4092
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
6457
6840
 
6458
6841
* bzr main script cannot be imported (Benjamin Peterson)
6459
6842
 
6460
 
* On Linux bzr additionally looks for plugins in arch-independent site
 
6843
* On GNU/Linux bzr additionally looks for plugins in arch-independent site
6461
6844
  directory. (Toshio Kuratomi)
6462
6845
 
6463
6846
* The ``set_rh`` branch hook is now deprecated. Please migrate
6800
7183
 
6801
7184
* BZR_LOG environment variable controls location of .bzr.log trace file.
6802
7185
  User can suppress writing messages to .bzr.log by using '/dev/null'
6803
 
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
7186
  filename (on Unix) or 'NUL' (on Windows). If BZR_LOG variable
6804
7187
  is not defined but BZR_HOME is defined then default location
6805
7188
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
6806
7189
  (Alexander Belchenko, #106117)