/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-08 09:50:27 UTC
  • mto: (5284.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5285.
  • Revision ID: v.ladeuil+lp@free.fr-20100608095027-nxvyibss2uefgcg1
Respect --exclude-common-ancestry for linear ancestries.

* bzrlib/tests/test_log.py:
(TestLogExcludeAncestry.test_merge_sorted_simple_revnos_exclude_ancestry):
There are two different code paths that exhibit bug #575631.

* bzrlib/log.py:
(_calc_view_revisions, _generate_flat_revisions): Propagate
exclude_common_ancestry into more code paths.
(_linear_view_revisions): Don't yield start_rev_id when we want to
exclude the common ancestry.

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
 
16
83
New Features
17
84
************
18
85
 
30
97
  pack operation.
31
98
  (Parth Malwankar, #304320)
32
99
 
 
100
* New command line option ``--authors`` to ``bzr log`` allows users to
 
101
  select which of the apparent authors and committer should be
 
102
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
103
 
 
104
* Support ``--directory`` option for a number of additional commands:
 
105
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
106
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
107
  re-sign, unbind, unknowns.
 
108
  (Martin von Gagern, #527878)
 
109
 
 
110
* The bash_completion plugin from the bzr-bash-completion project has
 
111
  been merged into the tree. It provides a bash-completion command and
 
112
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
113
  using the plugin. (Martin von Gagern, #560030)
 
114
 
33
115
Bug Fixes
34
116
*********
35
117
 
 
118
* Alias information shown by ``bzr help`` is now accurate. This
 
119
  was showing an internal object name for some plugin aliases.
 
120
  (Parth Malwankar, #584650)
 
121
 
36
122
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
123
  group ownership from the containing directory. This allow bzr to work
38
124
  better with sudo.
39
125
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
126
 
 
127
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
128
  support of bzr-externals and scmproj plugins.
 
129
  (Alexander Belchenko, bug #572098)
 
130
 
 
131
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
132
  (Gordon Tyler, #572092)
 
133
 
41
134
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
135
  are part of Y ancestry but not part of X ancestry (aka the graph
43
136
  difference).
44
137
  (Vincent Ladeuil, #320119)
45
138
 
 
139
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
140
  servers a few commits ago has been reverted to use edge: there is a
 
141
  problem with using production which isn't trivially obvious, so we've
 
142
  filed a bug to track it, and until thats fixed will be using edge.
 
143
  (Robert Collins, #583667)
 
144
 
 
145
* ``bzr rm`` should not refuse to delete directories which contained a file
 
146
  which has been moved elsewhere in the tree after the previous commit.
 
147
  (Marius Kruger, Daniel Watkins, #129880)
 
148
 
46
149
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
150
  (Vincent Ladeuil, #566670)
48
151
 
49
152
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
153
  (Vincent Ladeuil, #563997)
51
154
 
 
155
* CommitBuilder refuses to create revisions whose trees have no root.
 
156
  (Aaron Bentley)
 
157
 
 
158
* Do not register a SIGWINCH signal handler, instead just poll for the
 
159
  terminal width as needed.  This avoids the "Interrupted System Call"
 
160
  problems that occur on POSIX with all currently released versions of
 
161
  Python.
 
162
  (Andrew Bennetts, #583941)
 
163
 
52
164
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
165
  (Vincent Ladeuil, #401599)
54
166
 
56
168
  versions before 1.6.
57
169
  (Andrew Bennetts, #528041)
58
170
 
 
171
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
172
  estimate of the number of records to be fetched vs actually fetched.
 
173
  (Parth Malwankar, #374740, #538868)
 
174
 
59
175
* Reduce peak memory by one copy of compressed text.
60
176
  (John Arbash Meinel, #566940)
61
177
 
 
178
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
179
  read lock, rather than causing an ``AttributeError``.
 
180
  (Andrew Bennetts, Данило Шеган, #582781)
 
181
 
 
182
* Selftest was failing with testtools 0.9.3, which caused an
 
183
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
184
  Error, breaking on of our test hygiene tests.
 
185
  (Robert Collins, Vincent Ladeuil).
 
186
 
 
187
* ``set_user_option`` with a dict on remote branches no longer fails with
 
188
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
189
  to support this efficiently.
 
190
  (Andrew Bennetts, #430382)
 
191
  
62
192
* Show the filenames when a file rename fails so that the error will be
63
193
  more comprehensible.
64
194
  (Martin Pool, #491763)
65
195
 
 
196
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
197
  (John Arbash Meinel, #582656)
 
198
 
 
199
* Unicode characters in aliases are now handled correctly and do not cause
 
200
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
201
 
 
202
* Unicode commit messages that are the same as a file name no longer cause
 
203
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
204
  messages.
 
205
  (Parth Malwankar, #563646)
 
206
 
 
207
* Using bzr with `lp:` urls behind an http proxy should work.
 
208
  (Robert Collins, #558343)
 
209
 
 
210
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
211
  directory file handle after the chdir fails. Otherwise when passing many
 
212
  filenames into a command line ``bzr status`` we would leak descriptors.
 
213
  (John Arbash Meinel, #583486)
 
214
 
66
215
Improvements
67
216
************
68
217
 
74
223
  (case-sensitive) as false.
75
224
  (Brian de Alwis, Vincent Ladeuil)
76
225
 
 
226
* ``bzr ls`` now supports short options for existing long options.
 
227
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
228
  (Parth Malwankar, #181124)
 
229
 
77
230
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
231
  be interpreted as a boolean.
79
232
  (Vincent Ladeuil)
80
233
 
 
234
* The all-in-one Windows installer will now be built with docstrings stripped
 
235
  from the library zip, reducing the size and slightly improving cold startup
 
236
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
237
  plugins to an all-in-one installation, ensure they are compiled and
 
238
  installed with -O1 or help may not work. (Martin [gz])
 
239
 
81
240
Documentation
82
241
*************
83
242
 
96
255
  implementations.
97
256
  (Martin Pool)
98
257
 
 
258
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
259
  expected to return an object which can be used to unlock them. This reduces
 
260
  duplicate code when using cleanups. The previous 'tokens's returned by
 
261
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
262
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
263
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
264
 
 
265
* ``Repository.refresh_data`` may now be called in a write group on
 
266
  pack-based repositories.  Older repositories will still raise an error
 
267
  in this case.  Subclasses of ``Repository`` can still override
 
268
  ``Repository._refresh_data``, but are now responsible for raising
 
269
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
270
  ``refresh_data`` during a write group.
 
271
  (Andrew Bennetts, #574236)
 
272
 
99
273
Internals
100
274
*********
101
275
 
 
276
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
277
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
278
  potentially shave 5-10% time off during a large fetch. Related to bug
 
279
  #562666. (John Arbash Meinel)
 
280
 
 
281
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
282
  (Robert Collins)
 
283
 
102
284
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
285
  suboptimal network behaviour is noticed; instead it just mutters to the
104
286
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
293
  stripped, the prefix ``__doc__ =`` should now be used.
112
294
  (Martin <gzlist@googlemail.com>)
113
295
 
 
296
* No longer require zlib headers to build extensions, and remove the need
 
297
  for seperate copy of zlib library on windows.
 
298
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
 
299
 
114
300
Testing
115
301
*******
116
302
 
125
311
  failures on Lucid, FreeBSD and gentoo.  
126
312
  (Vincent Ladeuil, #528436)
127
313
 
 
314
* New class ``ExecutableFeature`` for checking the availability of
 
315
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
316
  (Martin von Gagern)
 
317
 
128
318
bzr 2.2b2
129
319
#########
130
320
 
184
374
* Reset ``siginterrupt`` flag to False every time we handle a signal
185
375
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
186
376
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
187
 
  errors after two window resizes.
 
377
  errors compared to registering ``signal.signal`` directly.
188
378
  (Andrew Bennetts)
189
379
 
190
380
* When invoked with a range revision, ``bzr log`` doesn't show revisions
232
422
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
233
423
  ``get_trees_and_branches_to_diff_locked`` instead.
234
424
  (Andrew Bennetts)
 
425
 
 
426
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
427
  auto-determines branch nick if not supplied.  (Aaron Bentley)
235
428
  
236
429
Internals
237
430
*********
530
723
bzr 2.1.2
531
724
#########
532
725
 
533
 
:2.1.2: NOT RELEASED YET
 
726
:2.1.2: 2010-05-28
 
727
 
 
728
This release fixes two critical networking issues with older servers and
 
729
with interrupted system call errors when pushing or pulling.  We recommend
 
730
upgrading to anyone running a 2.1.x version of bzr.
534
731
 
535
732
Bug Fixes
536
733
*********
537
734
 
 
735
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
736
  support of bzr-externals and scmproj plugins.
 
737
  (Alexander Belchenko, bug #572098)
 
738
 
538
739
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
740
  (Aaron Bentley, #559436)
540
741
 
 
742
* Do not register a SIGWINCH signal handler, instead just poll for the
 
743
  terminal width as needed.  This avoids the "Interrupted System Call"
 
744
  problems that occur on POSIX with all currently released versions of
 
745
  Python.
 
746
  (Andrew Bennetts, #583941)
 
747
 
541
748
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
542
749
  versions before 1.6.
543
750
  (Andrew Bennetts, #528041)
545
752
* Reset ``siginterrupt`` flag to False every time we handle a signal
546
753
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
547
754
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
548
 
  errors after two window resizes.
 
755
  errors compared to registering ``signal.signal`` directly.
549
756
  (Andrew Bennetts)
550
757
 
 
758
* Reduce peak memory by one copy of compressed text.
 
759
  (John Arbash Meinel, #566940)
 
760
 
 
761
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
762
  (John Arbash Meinel, #582656)
 
763
 
 
764
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
765
  directory file handle after the chdir fails. Otherwise when passing many
 
766
  filenames into a command line ``bzr status`` we would leak descriptors.
 
767
  (John Arbash Meinel, #583486)
 
768
 
551
769
Internals
552
770
*********
553
771
 
997
1215
  permissions as ``.bzr`` directory on a POSIX OS.
998
1216
  (Parth Malwankar, #262450)
999
1217
 
 
1218
* Reduce peak memory by one copy of compressed text.
 
1219
  (John Arbash Meinel, #566940)
 
1220
 
1000
1221
* Repositories accessed via a smart server now reject being stacked on a
1001
1222
  repository in an incompatible format, as is the case when accessing them
1002
1223
  via other methods.  This was causing fetches from those repositories via
1003
1224
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
1225
  (Andrew Bennetts, #562380)
1005
1226
 
 
1227
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1228
  error. This error was caused by 2.0 not being updated when upstream
 
1229
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1230
  ``done``. (Robert Collins, #571437)
 
1231
 
 
1232
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1233
  directory file handle after the chdir fails. Otherwise when passing many
 
1234
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1235
  (John Arbash Meinel, #583486)
 
1236
 
 
1237
 
1006
1238
bzr 2.0.5
1007
1239
#########
1008
1240