/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-07-20 10:50:44 UTC
  • mfrom: (5349.3.2 598701-no-internal-name)
  • mto: This revision was merged to the branch mainline in revision 5354.
  • Revision ID: v.ladeuil+lp@free.fr-20100720105044-2qcm9avezubw3dea
Dont print internal object names in invalid revision spec error

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.3b1
 
9
#########
 
10
 
 
11
:Codename: ???
 
12
:2.3b1: NOT RELEASED YET
 
13
 
 
14
Compatibility Breaks
 
15
********************
 
16
 
 
17
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
 
18
  longer raised.
 
19
  (Martin Pool)
 
20
 
 
21
* `tree_files` and `internal_tree_files` are now deprecated in favor of
 
22
  `WorkingTree.open_containing_paths`.
 
23
  (Martin Pool)
 
24
 
 
25
New Features
 
26
************
 
27
 
 
28
Bug Fixes
 
29
*********
 
30
 
 
31
* Check if both --diff-options and --using are set, and exit with error
 
32
  in this case. (Matthäus G. Chajdas, #234708)
 
33
 
 
34
* Don't print internal object name when print an invalid revision spec
 
35
  error.  (Neil Martinsen-Burrell, #598701)
 
36
 
 
37
* `PathNotChild` should not give a traceback.
 
38
  (Martin Pool, #98735)
 
39
 
 
40
* ``Transport.stat`` on a symlink, including a transport pointing directly
 
41
  to a symlink, now returns information about the symlink.
 
42
  (Martin Pool)
 
43
 
 
44
Improvements
 
45
************
 
46
 
 
47
Documentation
 
48
*************
 
49
 
 
50
API Changes
 
51
***********
 
52
 
 
53
Internals
 
54
*********
 
55
 
 
56
Testing
 
57
*******
 
58
 
 
59
 
 
60
bzr 2.2rc1
 
61
##########
 
62
 
 
63
:Codename: ???
 
64
:2.2rc1: NOT RELEASED YET
 
65
 
 
66
Compatibility Breaks
 
67
********************
 
68
 
 
69
New Features
 
70
************
 
71
 
 
72
Bug Fixes
 
73
*********
 
74
 
 
75
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
76
  way which should help avoid problems with concurrent writers.
 
77
  (Vincent Ladeuil, #525571)
 
78
 
 
79
* Don't traceback trying to unversion children files of an already
 
80
  unversioned directory.  (Vincent Ladeuil, #494221)
 
81
 
 
82
Improvements
 
83
************
 
84
 
 
85
Documentation
 
86
*************
 
87
 
 
88
API Changes
 
89
***********
 
90
 
 
91
Internals
 
92
*********
 
93
 
 
94
Testing
 
95
*******
 
96
 
 
97
 
 
98
bzr 2.2b4
 
99
#########
 
100
 
 
101
:Codename: Monkey Magic
 
102
:2.2b4: 2004-07-09
 
103
 
 
104
 
 
105
This fourth and final beta in the 2.2 series now stabilizes the internal
 
106
APIs. Plugin authors are recommended to ensure their releases are
 
107
compatible, so that 2.2rc1 can be a true release candidate, containing
 
108
stable and compatible plugin versions. 
 
109
 
 
110
For users of bzrlib as a library, one of the primary changes is to request
 
111
that they call ``bzrlib.initialize`` and use the returned context manager
 
112
appropriately.
 
113
 
 
114
Better interaction with ``bzr-loom`` to make sure branching from a loom
 
115
even over a smart server still yields a local loom. Not to mention lots of
 
116
bugfixes over 2.2b3.
 
117
 
 
118
Compatibility Breaks
 
119
********************
 
120
 
 
121
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
 
122
  the result of ``bzrlib.initialize``. This change was made when fixing
 
123
  the bad habit recent bzr versions have had of leaving progress bars 
 
124
  behind on the screen. That required calling another function before
 
125
  exiting the program, and it made sense to provide a full context
 
126
  manager at the same time. (Robert Collins)
 
127
 
 
128
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
 
129
  context manager in the Python 2.5 and above sense. The bzrlib base class
 
130
  is such a manager, but third party UI factories which do not derive from
 
131
  ``bzrlib.ui.UIFactory`` will be incompatible with the command line front
 
132
  end.
 
133
 
 
134
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
 
135
  and path "bar/baz", even if bzr does not recognize "foo" as a known URL
 
136
  scheme.  Previously these URLs would be treated as local paths.
 
137
  (Gordon Tyler)
 
138
 
 
139
 
 
140
New Features
 
141
************
 
142
 
 
143
* Support ``--directory`` option for a number of additional commands:
 
144
  conflicts, merge-directive, missing, resolve, shelve, switch,
 
145
  unshelve, whoami. (Martin von Gagern, #527878)
 
146
 
 
147
Bug Fixes
 
148
*********
 
149
 
 
150
* ``bzr branch`` to a new repository with a default stacking policy no
 
151
  longer transfers the full history unnecessarily.
 
152
  (Andrew Bennetts, #597942)
 
153
 
 
154
* ``bzr init`` does not recursively scan directory contents anymore
 
155
  leading to faster init for directories with existing content.
 
156
  (Martin [gz], Parth Malwankar, #501307)
 
157
 
 
158
* ``bzr log --exclude-common-ancestry`` is now taken into account for
 
159
  linear ancetries. (Vincent Ladeuil, #575631)
 
160
 
 
161
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
 
162
  rather than trying to fetch the data locally and failing because of a
 
163
  readonly error. (Martin von Gagern, #149270)
 
164
 
 
165
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
 
166
  or pull location in locations.conf or branch.conf.
 
167
  (Gordon Tyler, #534787)
 
168
 
 
169
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
 
170
  smart server. (Andrew Bennetts, #551525)
 
171
 
 
172
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
 
173
  (Marius Kruger, Robert Collins)
 
174
 
 
175
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
 
176
  (Marius Kruger, Robert Collins)
 
177
 
 
178
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
 
179
  proper error messages. (Vincent Ladeuil, #591215)
 
180
 
 
181
* Explicitly removing ``--profile-imports`` option from parsed command-line
 
182
  arguments on Windows, because bzr script does the same.
 
183
  (Alexander Belchenko, #588277)
 
184
 
 
185
* Fetching was slightly confused about the best code to use and was
 
186
  using a new code path for all branches, resulting in more lookups than
 
187
  necessary on old branches. (Robert Collins, #593515)
 
188
 
 
189
* Final fix for 'no help for command' issue. We now show a clean message
 
190
  when a command has no help, document how to set help more clearly, and
 
191
  test that all commands available to the test suite have help.
 
192
  (Robert Collins, #177500)
 
193
 
 
194
* Invalid patterns supplied to ``Globster`` or ``lazy_regex`` now raise
 
195
  ``InvalidPattern`` exception showing clear error message to the user.
 
196
  (Parth Malwankar #300062)
 
197
 
 
198
* Progress output is cleaned up when exiting.  (Aaron Bentley)
 
199
 
 
200
* Raise ValueError instead of a string exception.
 
201
  (John Arbash Meinel, #586926)
 
202
 
 
203
* Relative imports in plugins are now handled correctly when using
 
204
  BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
 
205
 
 
206
* ``ScriptRunner`` now strips off leading indentation from test scripts,
 
207
  which previously caused "SyntaxError: No command for line".
 
208
  (Martin Pool)
 
209
 
 
210
* Show unicode filenames in diff headers using terminal encoding. 
 
211
  (Alexander Belchenko, Bug #382699)
 
212
  NOTE for Windows users: If user need to save diff to file then user need to
 
213
  change encoding of the terminal to ANSI encoding with command ``chcp XXX``
 
214
  (e.g. ``chcp 1251`` for Russian Windows).
 
215
 
 
216
* URL displayed for use with ``break-lock`` when smart server sees lock
 
217
  contention are now valid. Default timeout for lock contention retry is
 
218
  now 30 seconds instead of 300 seconds.
 
219
  (Parth Malwankar, #250451)
 
220
 
 
221
* ``walkdirs`` now raises a useful message when the filenames are not using
 
222
  the filesystem encoding. (Eric Moritz, #488519)
 
223
 
 
224
* Enable debugging of bzr on windows with pdb and other tools. This was 
 
225
  broken because we call GetCommandLineW on windows. The fix adjusts the 
 
226
  command line we get to be the same length as sys.argv.
 
227
  (Jason Spashett, Alexander Belchenko, #587868)
 
228
 
 
229
Improvements
 
230
************
 
231
 
 
232
* Bazaar now reads data from SSH connections more efficiently on platforms
 
233
  that provide the ``socketpair`` function, and when using paramiko.
 
234
  (Andrew Bennetts, #590637)
 
235
 
 
236
* ``Branch.copy_content_into`` is now a convenience method dispatching to
 
237
  a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
 
238
  plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
 
239
  (Robert Collins, #201613)
 
240
 
 
241
* ``Branch`` formats can now be loaded lazily by registering a
 
242
  ``MetaDirBranchFormatFactory`` rather than an actual format. This will
 
243
  cause the named format class to be loaded only when an enumeration of
 
244
  formats is needed or when the format string for the object is
 
245
  encountered. (Robert Collins, Jelmer Vernooij)
 
246
 
 
247
* The encoding that bzr uses to output things other than file content can
 
248
  now be overridden via the output_encoding configuration option.
 
249
  (Martin Pool, #340394)
 
250
 
 
251
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
 
252
  do not cause modules to be loaded unnecessarily just because the plugin
 
253
  registers a merge hook.  This improves ``bzr rocks`` time by about 25%
 
254
  in a default installation (with just the core plugins).
 
255
  (Andrew Bennetts)
 
256
 
 
257
Documentation
 
258
*************
 
259
 
 
260
* Added ``regression`` tag to our tags list. (Robert Collins)
 
261
 
 
262
* Improved our release checklist to have a bit less churn and leave things
 
263
  ready-to-go for the next action (including other people doing
 
264
  development). (Robert Collins)
 
265
 
 
266
* Remove obsolete discussion of PQM in documentation about how to
 
267
  contribute to Bazaar.  (Martin Pool, #588444)
 
268
 
 
269
API Changes
 
270
***********
 
271
 
 
272
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
 
273
  an iterable of format pairs, rather than just a single pair, permitting
 
274
  InterBranch objects that work with multiple permutations to be
 
275
  comprehensively tested. (Robert Collins)
 
276
 
 
277
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
 
278
  profiles when concurrent profile requests are made. Instead the profile
 
279
  requests will be serialised. Reentrant requests will now deadlock.
 
280
  (Robert Collins)
 
281
 
 
282
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
 
283
  2007, has been deleted.  Use ``PatienceSequenceMatcher`` from
 
284
  ``bzrlib.patiencediff`` instead. (Andrew Bennetts)
 
285
 
 
286
* ``bzrlib.re_compile_checked`` is now deprecated. Caller should handle
 
287
  ``bzrlib.errors.InvalidPattern`` exception thrown by ``re.match`` in
 
288
  case the default error message not suitable for the use case.
 
289
  (Parth Malwankar)
 
290
 
 
291
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated.  It provided only
 
292
  one method ``check_output``, and we now recommend checking command
 
293
  output using ``run_script``. (Martin Pool)
 
294
 
 
295
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
 
296
  that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
 
297
  Third-party implementations of ``SSHVendor`` may need to be updated
 
298
  accordingly.  Similarly, any code using ``SSHConnection`` directly will
 
299
  need to be updated.  (Andrew Bennetts)
 
300
 
 
301
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
 
302
  changed to take an ``SSHParams`` instance (replacing many individual
 
303
  values).  (Andrew Bennetts)
 
304
 
 
305
Internals
 
306
*********
 
307
 
 
308
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
 
309
  selection when explicitly requested; this avoids many duplicate calls
 
310
  being logged when helpers, wrappers and older code that manually calls
 
311
  it are executed it is now logged deliberately by the ui setup code.
 
312
  (Robert Collins)
 
313
 
 
314
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
 
315
 
 
316
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
 
317
  that ``sys.getsizeof`` and other memory analysis tools will report more
 
318
  accurate results. (Andrew Bennetts)
 
319
 
 
320
* The symbol_versioning module can now cleanup after itself -
 
321
  ``suppress_deprecation_warnings`` now returns a cleanup function.
 
322
  (Robert Collins)
 
323
 
 
324
Testing
 
325
*******
 
326
 
 
327
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
 
328
  to test.  (Martin Pool)
 
329
 
 
330
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
 
331
  (Vincent Ladeuil, #595587)
 
332
 
8
333
bzr 2.2b3
9
334
#########
10
335
 
11
 
:2.2b3: NOT RELEASED YET
 
336
:2.2b3: 2010-05-28
 
337
 
 
338
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
339
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
340
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
341
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
342
bash completion script and bzr will no longer guess at identity details -
 
343
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
344
For developers we have some API changes which may impact plugins as well
 
345
as a bunch of our regular improvements to internal clarity and test
 
346
support.
12
347
 
13
348
Compatibility Breaks
14
349
********************
15
350
 
 
351
* An API break has been made to the lock_write method of ``Branch`` and
 
352
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
353
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
354
  changing the API in future easier and permits some cleaner calling code.
 
355
  The lock_read method has also changed from having no defined return
 
356
  value to returning ``LogicalLockResult`` objects.
 
357
  (Robert Collins)
 
358
 
 
359
* ``bzr`` does not try to guess the username as ``username@hostname``
 
360
  and requires it to be explictly set. This can be set using ``bzr
 
361
  whoami``. (Parth Malwankar, #549310)
 
362
 
 
363
* ``bzrlib.commands.Command`` will now raise ValueError during
 
364
  construction if there is no __doc__ set. (Note, this will be reverted in
 
365
  2.2b4) (Robert Collins)
 
366
 
 
367
* The source tree no longer contains a contrib/zsh/_bzr completion
 
368
  script. The new file contrib/zsh/README suggests alternatives.
 
369
  (Martin von Gagern, #560030)
 
370
 
16
371
New Features
17
372
************
18
373
 
30
385
  pack operation.
31
386
  (Parth Malwankar, #304320)
32
387
 
 
388
* New command line option ``--authors`` to ``bzr log`` allows users to
 
389
  select which of the apparent authors and committer should be
 
390
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
391
 
 
392
* Support ``--directory`` option for a number of additional commands:
 
393
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
394
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
395
  re-sign, unbind, unknowns.
 
396
  (Martin von Gagern, #527878)
 
397
 
 
398
* The bash_completion plugin from the bzr-bash-completion project has
 
399
  been merged into the tree. It provides a bash-completion command and
 
400
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
401
  using the plugin. (Martin von Gagern, #560030)
 
402
 
 
403
* A new transport based on GIO (the gnome i/o library) provides access to
 
404
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
405
  use gio for some already existing transport methods as gio+file,
 
406
  gio+sftp, gio+ftp. 
 
407
  (Mattias Eriksson)
 
408
 
33
409
Bug Fixes
34
410
*********
35
411
 
 
412
* Alias information shown by ``bzr help`` is now accurate. This
 
413
  was showing an internal object name for some plugin aliases.
 
414
  (Parth Malwankar, #584650)
 
415
 
36
416
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
37
417
  group ownership from the containing directory. This allow bzr to work
38
418
  better with sudo.
39
419
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
40
420
 
 
421
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
422
  support of bzr-externals and scmproj plugins.
 
423
  (Alexander Belchenko, bug #572098)
 
424
 
 
425
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
426
  (Gordon Tyler, #572092)
 
427
 
41
428
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
42
429
  are part of Y ancestry but not part of X ancestry (aka the graph
43
430
  difference).
44
431
  (Vincent Ladeuil, #320119)
45
432
 
 
433
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
434
  servers a few commits ago has been reverted to use edge: there is a
 
435
  problem with using production which isn't trivially obvious, so we've
 
436
  filed a bug to track it, and until thats fixed will be using edge.
 
437
  (Robert Collins, #583667)
 
438
 
 
439
* ``bzr rm`` should not refuse to delete directories which contained a file
 
440
  which has been moved elsewhere in the tree after the previous commit.
 
441
  (Marius Kruger, Daniel Watkins, #129880)
 
442
 
46
443
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
47
444
  (Vincent Ladeuil, #566670)
48
445
 
49
446
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
50
447
  (Vincent Ladeuil, #563997)
51
448
 
 
449
* CommitBuilder refuses to create revisions whose trees have no root.
 
450
  (Aaron Bentley)
 
451
 
 
452
* Do not register a SIGWINCH signal handler, instead just poll for the
 
453
  terminal width as needed.  This avoids the "Interrupted System Call"
 
454
  problems that occur on POSIX with all currently released versions of
 
455
  Python.
 
456
  (Andrew Bennetts, #583941)
 
457
 
52
458
* Don't mention --no-strict when we just issue the warning about unclean trees.
53
459
  (Vincent Ladeuil, #401599)
54
460
 
56
462
  versions before 1.6.
57
463
  (Andrew Bennetts, #528041)
58
464
 
 
465
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
466
  estimate of the number of records to be fetched vs actually fetched.
 
467
  (Parth Malwankar, #374740, #538868)
 
468
 
59
469
* Reduce peak memory by one copy of compressed text.
60
470
  (John Arbash Meinel, #566940)
61
471
 
 
472
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
473
  read lock, rather than causing an ``AttributeError``.
 
474
  (Andrew Bennetts, Данило Шеган, #582781)
 
475
 
 
476
* Selftest was failing with testtools 0.9.3, which caused an
 
477
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
478
  Error, breaking on of our test hygiene tests.
 
479
  (Robert Collins, Vincent Ladeuil).
 
480
 
 
481
* ``set_user_option`` with a dict on remote branches no longer fails with
 
482
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
483
  to support this efficiently.
 
484
  (Andrew Bennetts, #430382)
 
485
  
62
486
* Show the filenames when a file rename fails so that the error will be
63
487
  more comprehensible.
64
488
  (Martin Pool, #491763)
65
489
 
 
490
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
491
  (John Arbash Meinel, #582656)
 
492
 
 
493
* Unicode characters in aliases are now handled correctly and do not cause
 
494
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
495
 
 
496
* Unicode commit messages that are the same as a file name no longer cause
 
497
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
498
  messages.
 
499
  (Parth Malwankar, #563646)
 
500
 
 
501
* Using bzr with `lp:` urls behind an http proxy should work.
 
502
  (Robert Collins, #558343)
 
503
 
 
504
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
505
  directory file handle after the chdir fails. Otherwise when passing many
 
506
  filenames into a command line ``bzr status`` we would leak descriptors.
 
507
  (John Arbash Meinel, #583486)
 
508
 
66
509
Improvements
67
510
************
68
511
 
74
517
  (case-sensitive) as false.
75
518
  (Brian de Alwis, Vincent Ladeuil)
76
519
 
 
520
* ``bzr ls`` now supports short options for existing long options.
 
521
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
522
  (Parth Malwankar, #181124)
 
523
 
77
524
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
78
525
  be interpreted as a boolean.
79
526
  (Vincent Ladeuil)
80
527
 
 
528
* The all-in-one Windows installer will now be built with docstrings stripped
 
529
  from the library zip, reducing the size and slightly improving cold startup
 
530
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
531
  plugins to an all-in-one installation, ensure they are compiled and
 
532
  installed with -O1 or help may not work. (Martin [gz])
 
533
 
81
534
Documentation
82
535
*************
83
536
 
96
549
  implementations.
97
550
  (Martin Pool)
98
551
 
 
552
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
553
  expected to return an object which can be used to unlock them. This reduces
 
554
  duplicate code when using cleanups. The previous 'tokens's returned by
 
555
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
556
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
557
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
558
 
 
559
* ``Repository.refresh_data`` may now be called in a write group on
 
560
  pack-based repositories.  Older repositories will still raise an error
 
561
  in this case.  Subclasses of ``Repository`` can still override
 
562
  ``Repository._refresh_data``, but are now responsible for raising
 
563
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
564
  ``refresh_data`` during a write group.
 
565
  (Andrew Bennetts, #574236)
 
566
 
99
567
Internals
100
568
*********
101
569
 
 
570
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
571
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
572
  potentially shave 5-10% time off during a large fetch. Related to bug
 
573
  #562666. (John Arbash Meinel)
 
574
 
 
575
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
576
  (Robert Collins)
 
577
 
102
578
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
579
  suboptimal network behaviour is noticed; instead it just mutters to the
104
580
  log file (and warns the user if they have set the ``hpss`` debug flag).
111
587
  stripped, the prefix ``__doc__ =`` should now be used.
112
588
  (Martin <gzlist@googlemail.com>)
113
589
 
 
590
* No longer require zlib headers to build extensions, and remove the need
 
591
  for seperate copy of zlib library on windows.
 
592
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
 
593
 
114
594
Testing
115
595
*******
116
596
 
125
605
  failures on Lucid, FreeBSD and gentoo.  
126
606
  (Vincent Ladeuil, #528436)
127
607
 
 
608
* New class ``ExecutableFeature`` for checking the availability of
 
609
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
610
  (Martin von Gagern)
 
611
 
128
612
bzr 2.2b2
129
613
#########
130
614
 
184
668
* Reset ``siginterrupt`` flag to False every time we handle a signal
185
669
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
186
670
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
187
 
  errors after two window resizes.
 
671
  errors compared to registering ``signal.signal`` directly.
188
672
  (Andrew Bennetts)
189
673
 
190
674
* When invoked with a range revision, ``bzr log`` doesn't show revisions
232
716
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
233
717
  ``get_trees_and_branches_to_diff_locked`` instead.
234
718
  (Andrew Bennetts)
 
719
 
 
720
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
721
  auto-determines branch nick if not supplied.  (Aaron Bentley)
235
722
  
236
723
Internals
237
724
*********
242
729
  Command is now transient and only exists for the duration of ``run()``.
243
730
  (Robert Collins)
244
731
 
245
 
bzr 2.2.0b1
246
 
###########
247
 
 
248
 
:2.2.0b1: 2010-04-01
 
732
bzr 2.2b1
 
733
#########
 
734
 
 
735
:2.2b1: 2010-04-01
 
736
 
 
737
This is the first beta of the 2.2 series, leading up to a 2.2.0
 
738
release in July or August.  Beta releases are suitable for everyday use
 
739
but may cause some incompatibilities with plugins.  Some plugins may need
 
740
small updates to work with 2.2b1.
 
741
 
 
742
2.2b1 includes some changes to make merge conflicts easier to understand
 
743
and resolve.  It also removes some old unnecessary code, and loads
 
744
somewhat less code at startup.  It starts adding a common infrastructure
 
745
for dealing with colocated named branches, which can be implemented in
 
746
various ways in either bzr native or foreign formats.   On Ubuntu and
 
747
other platforms with the apport bug-reporting library, there's an easier
 
748
path to report problems with bzr.  We plan to continue with these themes
 
749
through the 2.2 series.
 
750
 
 
751
Over thirty bugs have been fixed, including in the log command, exporting
 
752
to tarballs, restarting interrupted system calls, portability of compiled
 
753
extensions, making backups during upgrade, and locking on ftp.
249
754
 
250
755
Compatibility Breaks
251
756
********************
527
1032
  happens, and another warning will be written if the log file could not
528
1033
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
529
1034
 
 
1035
bzr 2.1.3
 
1036
#########
 
1037
 
 
1038
:Codename: Do run run
 
1039
:2.1.3: NOT RELEASED YET
 
1040
 
 
1041
Compatibility Breaks
 
1042
********************
 
1043
 
 
1044
New Features
 
1045
************
 
1046
 
 
1047
Bug Fixes
 
1048
*********
 
1049
 
 
1050
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
1051
  way which should help avoid problems with concurrent writers.
 
1052
  (Vincent Ladeuil, #525571)
 
1053
 
 
1054
* Don't traceback trying to unversion children files of an already
 
1055
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1056
 
 
1057
* Raise ValueError instead of a string exception.
 
1058
  (John Arbash Meinel, #586926)
 
1059
 
 
1060
Improvements
 
1061
************
 
1062
 
 
1063
Documentation
 
1064
*************
 
1065
 
 
1066
API Changes
 
1067
***********
 
1068
 
 
1069
Internals
 
1070
*********
 
1071
 
 
1072
Testing
 
1073
*******
 
1074
 
530
1075
bzr 2.1.2
531
1076
#########
532
1077
 
533
 
:2.1.2: NOT RELEASED YET
 
1078
:2.1.2: 2010-05-28
 
1079
 
 
1080
This release fixes two critical networking issues with older servers and
 
1081
with interrupted system call errors when pushing or pulling.  We recommend
 
1082
upgrading to anyone running a 2.1.x version of bzr.
534
1083
 
535
1084
Bug Fixes
536
1085
*********
537
1086
 
 
1087
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
1088
  support of bzr-externals and scmproj plugins.
 
1089
  (Alexander Belchenko, bug #572098)
 
1090
 
538
1091
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
539
1092
  (Aaron Bentley, #559436)
540
1093
 
 
1094
* Do not register a SIGWINCH signal handler, instead just poll for the
 
1095
  terminal width as needed.  This avoids the "Interrupted System Call"
 
1096
  problems that occur on POSIX with all currently released versions of
 
1097
  Python.
 
1098
  (Andrew Bennetts, #583941)
 
1099
 
541
1100
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
542
1101
  versions before 1.6.
543
1102
  (Andrew Bennetts, #528041)
545
1104
* Reset ``siginterrupt`` flag to False every time we handle a signal
546
1105
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
547
1106
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
548
 
  errors after two window resizes.
 
1107
  errors compared to registering ``signal.signal`` directly.
549
1108
  (Andrew Bennetts)
550
1109
 
 
1110
* Reduce peak memory by one copy of compressed text.
 
1111
  (John Arbash Meinel, #566940)
 
1112
 
 
1113
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
1114
  (John Arbash Meinel, #582656)
 
1115
 
 
1116
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1117
  directory file handle after the chdir fails. Otherwise when passing many
 
1118
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1119
  (John Arbash Meinel, #583486)
 
1120
 
551
1121
Internals
552
1122
*********
553
1123
 
989
1559
  history no longer crash when deleted files are involved.
990
1560
  (Vincent Ladeuil, John Arbash Meinel, #375898)
991
1561
 
 
1562
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
1563
  target of the symlink.
 
1564
  (Martin Pool, John Arbash Meinel, #128562)
 
1565
 
992
1566
* ``bzr revert`` now only takes write lock on working tree, instead of on 
993
1567
  both working tree and branch.
994
1568
  (Danny van Heumen, #498409)
997
1571
  permissions as ``.bzr`` directory on a POSIX OS.
998
1572
  (Parth Malwankar, #262450)
999
1573
 
 
1574
* Don't traceback trying to unversion children files of an already
 
1575
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1576
 
 
1577
* Raise ValueError instead of a string exception.
 
1578
  (John Arbash Meinel, #586926)
 
1579
 
 
1580
* Reduce peak memory by one copy of compressed text.
 
1581
  (John Arbash Meinel, #566940)
 
1582
 
1000
1583
* Repositories accessed via a smart server now reject being stacked on a
1001
1584
  repository in an incompatible format, as is the case when accessing them
1002
1585
  via other methods.  This was causing fetches from those repositories via
1003
1586
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
1004
1587
  (Andrew Bennetts, #562380)
1005
1588
 
 
1589
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1590
  error. This error was caused by 2.0 not being updated when upstream
 
1591
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1592
  ``done``. (Robert Collins, #571437)
 
1593
 
 
1594
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1595
  directory file handle after the chdir fails. Otherwise when passing many
 
1596
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1597
  (John Arbash Meinel, #583486)
 
1598
 
 
1599
 
 
1600
Testing
 
1601
*******
 
1602
 
 
1603
* ``build_tree_contents`` can create symlinks.
 
1604
  (Martin Pool, John Arbash Meinel)
 
1605
 
 
1606
 
1006
1607
bzr 2.0.5
1007
1608
#########
1008
1609
 
3702
4303
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3703
4304
 
3704
4305
* 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,
 
4306
  'subprocess' to run the test suite in parallel. Currently only Linux
 
4307
  machines work, other platforms need patches submitted. (Robert Collins,
3707
4308
  Vincent Ladeuil)
3708
4309
 
3709
4310
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
6457
7058
 
6458
7059
* bzr main script cannot be imported (Benjamin Peterson)
6459
7060
 
6460
 
* On Linux bzr additionally looks for plugins in arch-independent site
 
7061
* On GNU/Linux bzr additionally looks for plugins in arch-independent site
6461
7062
  directory. (Toshio Kuratomi)
6462
7063
 
6463
7064
* The ``set_rh`` branch hook is now deprecated. Please migrate
6800
7401
 
6801
7402
* BZR_LOG environment variable controls location of .bzr.log trace file.
6802
7403
  User can suppress writing messages to .bzr.log by using '/dev/null'
6803
 
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
7404
  filename (on Unix) or 'NUL' (on Windows). If BZR_LOG variable
6804
7405
  is not defined but BZR_HOME is defined then default location
6805
7406
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
6806
7407
  (Alexander Belchenko, #106117)