/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: Martin Pool
  • Date: 2010-07-16 15:20:17 UTC
  • mfrom: (5346.3.1 pathnotchild)
  • mto: This revision was merged to the branch mainline in revision 5351.
  • Revision ID: mbp@canonical.com-20100716152017-t4c73h9y1uoih7fb
PathNotChild should not give a traceback.

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