~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Jelmer Vernooij
  • Date: 2010-08-23 20:37:18 UTC
  • mto: This revision was merged to the branch mainline in revision 5389.
  • Revision ID: jelmer@samba.org-20100823203718-1fj7rrjsiaxedkp7
Provide bzrlib.bzrdir.format_registry.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
====================
 
1
####################
2
2
Bazaar Release Notes
3
 
====================
4
 
 
 
3
####################
5
4
 
6
5
.. contents:: List of Releases
7
6
   :depth: 1
8
7
 
9
 
In Development
10
 
##############
11
 
 
12
 
Compatibility Breaks
13
 
********************
 
8
bzr 2.3b1
 
9
#########
 
10
 
 
11
:Codename: ???
 
12
:2.3b1: NOT RELEASED YET
 
13
 
 
14
Compatibility Breaks
 
15
********************
 
16
 
 
17
* BzrError subclasses no longer support the name "message" to be used
 
18
  as an argument for __init__ or in _fmt format specification as this
 
19
  breaks in some Python versions. errors.LockError.__init__ argument
 
20
  is now named "msg" instead of earlier "message".
 
21
  (Parth Malwankar, #603461)
 
22
 
 
23
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
 
24
  longer raised.
 
25
  (Martin Pool)
 
26
 
 
27
* `tree_files` and `internal_tree_files` are now deprecated in favor of
 
28
  `WorkingTree.open_containing_paths`.
 
29
  (Martin Pool)
 
30
 
 
31
* `ControlDirFormat` and  `ControlDir` have been split out of `BzrDirFormat`
 
32
  and `BzrDir`, respectively. `ControlDirFormat`
 
33
  and `ControlDir` should be used as the base classes for new non-.bzr
 
34
  implementations.
 
35
 
 
36
  `BzrDirFormat.register_control_format` has been renamed to
 
37
  `ControlDirFormat.register_format`.
 
38
 
 
39
  `BzrDirFormat.register_server_control_format` has been removed.
 
40
 
 
41
  Probing for control directories is now done by separate objects derived
 
42
  from `bzrlib.controldir.Prober` and registered using
 
43
  `bzrlib.controldir.ControlDirFormat.register_prober` or
 
44
  `bzrlib.controldir.ControlDirFormat.register_server_prober`.
 
45
  `BzrDirFormat.probe_transport` has been moved onto `Prober`.
 
46
 
 
47
  `BzrDirFormat.register_format` has been renamed to 
 
48
  `BzrProber.register_bzrdir_format`.
 
49
  (Jelmer Vernooij)
 
50
 
 
51
* The old ``bzr selftest --benchmark`` option has been removed.
 
52
  <https://launchpad.net/bzr-usertest> is an actively-maintained
 
53
  macrobenchmark suite.
 
54
  (Martin Pool)
 
55
 
 
56
New Features
 
57
************
 
58
 
 
59
* The ``lp:`` prefix will now use your known username (from
 
60
  ``bzr launchpad-login``) to expand ``~`` to your username.  For example:
 
61
  ``bzr launchpad-login user && bzr push lp:~/project/branch`` will now
 
62
  push to ``lp:~user/project/branch``.  (John Arbash Meinel)
 
63
 
 
64
Bug Fixes
 
65
*********
 
66
 
 
67
* Allow using both --using and --diff-options. 
 
68
  (Matthäus G. Chajdas, #234708)
 
69
 
 
70
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
71
  previously-unversioned directory within the tree: the directory is
 
72
  marked versioned too.  
 
73
  (Martin Pool, #192859)
 
74
 
 
75
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
 
76
  ``InvalidPattern`` exception error message now shows faulting
 
77
  regular expression.
 
78
  (Parth Malwankar #300062)
 
79
 
 
80
* CommitBuilder now uses the committer instead of _config.username to generate
 
81
  the revision-id.  (Aaron Bentley, #614404)
 
82
 
 
83
* Cope with Microsoft FTP Server and VSFTPd that return reply '250
 
84
  Directory created' when mkdir succeeds.  (Martin Pool, #224373)
 
85
 
 
86
* Decrease peak memory during ``bzr send``. The old code was caching all
 
87
  text content and all inventory strings for all revisions before
 
88
  computing the diffs. Now we only cache as long as there is a child that
 
89
  will need them. Sending 2000 bzr revisions drops from 1.2GB peak to
 
90
  256MB peak. (John Arbash Meinel, #614576)
 
91
 
 
92
* Don't print internal object name when print an invalid revision spec
 
93
  error.  (Neil Martinsen-Burrell, #598701)
 
94
 
 
95
* Fix ``AttributeError on parent.children`` when adding a file under a 
 
96
  directory that was a symlink in the previous commit.
 
97
  (Martin Pool, #192859)
 
98
 
 
99
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
 
100
  with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
 
101
 
 
102
* `PathNotChild` should not give a traceback.
 
103
  (Martin Pool, #98735)
 
104
 
 
105
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
106
  which can result in "missing referenced chk root keys" errors when
 
107
  fetching from repositories with affected revisions.
 
108
  (Andrew Bennetts, #522637)
 
109
 
 
110
* ``Transport.stat`` on a symlink, including a transport pointing directly
 
111
  to a symlink, now returns information about the symlink.
 
112
  (Martin Pool)
 
113
 
 
114
Improvements
 
115
************
 
116
 
 
117
* ``bzr remove`` now just backs up changed files instead of exiting,
 
118
  forcing you to choose to either keep or delete them. Bazaar will now delete
 
119
  the files if they can easily be recovered using revert, otherwise they
 
120
  will be backed up (adding an extention of the form .~#~).
 
121
  (Marius Kruger, #400554)
 
122
 
 
123
* Inventory entries now consume less memory (on 32-bit Ubuntu file entries
 
124
  have dropped from 68 bytes to 40, and directory entries from 120 bytes
 
125
  to 48).  (Andrew Bennetts)
 
126
 
 
127
* When building new working trees, default to reading from the repository
 
128
  rather than the source tree unless explicitly requested. (via
 
129
  ``--files-from`` and ``--hardlink`` for ``bzr branch`` and
 
130
  ``bzr checkout``. Generally, 2a format repositories extract
 
131
  content faster than seeking and reading content from another tree,
 
132
  especially in cold-cache situations. (John Arbash Meinel, #607298)
 
133
 
 
134
Documentation
 
135
*************
 
136
 
 
137
* Added a builder/writer sphinx extension that can generate texinfo files. The
 
138
  generated files are syntactically correct but the info navigation nodes
 
139
  needs more work. (Vincent Ladeuil, #219334)
 
140
 
 
141
* First tests defined for sphinx, including a new bzrlib.tests.features.sphinx
 
142
  to make the tests conditional.
 
143
  (Vincent Ladeuil)
 
144
 
 
145
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
 
146
  the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
 
147
  (John Arbash Meinel, #617503)
 
148
 
 
149
API Changes
 
150
***********
 
151
 
 
152
* InventoryEntry instances now raise AttributeError if you try to assign
 
153
  to attributes that are irrelevant to that kind of entry.  e.g. setting
 
154
  ``symlink_target`` on an InventoryFile will fail.  It is still okay to
 
155
  read those attributes on any kind of InventoryEntry.  The complete list
 
156
  of affected attributes is: ``executable``, ``text_id``, ``text_sha1``,
 
157
  ``text_size`` (only valid for kind == file); ``symlink_target`` (only
 
158
  valid for kind == link); and ``reference_revision`` (only valid for kind
 
159
  == tree-reference).  (Andrew Bennetts)
 
160
 
 
161
* InventoryEntry objects no longer have ``_put_in_tar`` or
 
162
  ``_put_on_disk`` methods.  (Andrew Bennetts)
 
163
 
 
164
Internals
 
165
*********
 
166
 
 
167
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
 
168
  (Andrew Bennetts)
 
169
 
 
170
Testing
 
171
*******
 
172
 
 
173
* The way ``bzr selftest --parallel`` generates N partitions of tests to
 
174
  run in parallel has changed.  Instead of splitting the list of tests at
 
175
  N-1 points, it distributes the tests one-by-one into the partitions in a
 
176
  round robin fashion.  This reduces the total time to run the tests in
 
177
  parallel because a series of slow tests in the test suite will be
 
178
  distributed evenly among the parallel test suites, rather than slowing
 
179
  down just one suite.  (Andrew Bennetts)
 
180
 
 
181
 
 
182
bzr 2.2.1
 
183
#########
 
184
 
 
185
:Codename: ??
 
186
:2.2.1: NOT RELEASED YET
 
187
 
 
188
Bug Fixes
 
189
*********
 
190
 
 
191
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
192
  previously-unversioned directory within the tree: the directory is
 
193
  marked versioned too.  
 
194
  (Martin Pool, #192859)
 
195
 
 
196
* CommitBuilder now uses the committer instead of _config.username to generate
 
197
  the revision-id.  (Aaron Bentley, #614404)
 
198
 
 
199
* Cope with Microsoft FTP server that returns reply '250 Directory
 
200
  created' when mkdir succeeds.  (Martin Pool, #224373)
 
201
 
 
202
* Fix ``AttributeError on parent.children`` when adding a file under a 
 
203
  directory that was a symlink in the previous commit.
 
204
  (Martin Pool, #192859)
 
205
 
 
206
Documentation
 
207
*************
 
208
 
 
209
* Fix a lot of references in the docs to the old http://bazaar-vcs.org to
 
210
  the new http://bazaar.canonical.com or http://wiki.bazaar.canonical.com
 
211
  (John Arbash Meinel, #617503)
 
212
 
 
213
Internals
 
214
*********
 
215
 
 
216
* Remove used and broken code path in ``BranchInitHookParams.__repr__``.
 
217
  (Andrew Bennetts)
 
218
 
 
219
 
 
220
bzr 2.2
 
221
#######
 
222
 
 
223
:Codename: La Hulpe
 
224
:2.2: 2010-08-06
 
225
 
 
226
This release marks the start of another long-term-stable series. From
 
227
here, we will only make bugfix releases on the 2.2 series (2.2.1, etc),
 
228
while 2.3 will become our new development series. The 2.0 and 2.1 series
 
229
will also continue to get bugfixes. (Currently 2.0 is planned to be
 
230
supported for another 6 months.)
 
231
 
 
232
This is primarily a bugfix and polish release over the 2.1 series, with
 
233
a large number of bugs fixed (>120), and some performance improvements.
 
234
 
 
235
There are some compatibility changes in this release.  For users of bzrlib
 
236
as a library, we now request that they call ``bzrlib.initialize`` and use
 
237
the returned context manager appropriately. For commandline users we no
 
238
longer guess user identity for ``bzr commit``, users must specify their
 
239
identity using ``bzr whoami`` (you don't need to specify your identity for
 
240
readonly operations).
 
241
 
 
242
Users are encouraged to upgrade from the other stable series.
 
243
 
 
244
Compatibility Breaks
 
245
********************
 
246
 
 
247
* BzrError subclasses no longer support the name "message" to be used
 
248
  as an argument for __init__ or in _fmt format specification as this
 
249
  breaks in some Python versions. errors.LockError.__init__ argument
 
250
  is now named "msg" instead of earlier "message".
 
251
  (Parth Malwankar, #603461)
 
252
 
 
253
* The old ``bzr selftest --benchmark`` option has been removed.
 
254
  <https://launchpad.net/bzr-usertest> is an actively-maintained
 
255
  macrobenchmark suite.
 
256
  (Martin Pool)
 
257
 
 
258
Bug Fixes
 
259
*********
 
260
 
 
261
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
 
262
  ``InvalidPattern`` exception error message now shows faulting
 
263
  regular expression.
 
264
  (Parth Malwankar #300062)
 
265
 
 
266
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
267
  way which should help avoid problems with concurrent writers.
 
268
  (Vincent Ladeuil, #525571)
 
269
 
 
270
* Don't traceback trying to unversion children files of an already
 
271
  unversioned directory.  (Vincent Ladeuil, #494221)
 
272
 
 
273
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
 
274
  with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
 
275
 
 
276
* Progress bars prefer to truncate the text message rather than the
 
277
  counters.  The spinner is shown between the network transfer indicator
 
278
  and the progress message.  Progress bars are correctly cleared off when 
 
279
  they finish.  (Martin Pool, #611127)
 
280
 
 
281
* Recursive binding for checkouts is now detected by bzr. A clear error
 
282
  message is shown to the user. (Parth Malwankar, #405192)
 
283
 
 
284
Improvements
 
285
************
 
286
 
 
287
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
 
288
  tree, and works with unrelated branches.  (Andrew Bennetts)
 
289
 
 
290
* Add py2exe windows target ``bzrw.exe``. This allow for starting a Bazaar
 
291
  GUI with out have a console open in the background.
 
292
  (Gary van der Merwe, #433781)
 
293
 
 
294
Documentation
 
295
*************
 
296
 
 
297
* ``bzr help patterns`` now explains case insensitive patterns and
 
298
  points to Python regular expression documentation.
 
299
  (Parth Malwankar, #594386)
 
300
 
 
301
API Changes
 
302
***********
 
303
 
 
304
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
 
305
 
 
306
Testing
 
307
*******
 
308
 
 
309
* Unit test added to ensure that "message" is not uses as a format variable
 
310
  name in BzrError subclasses as this conflicts with some Python versions.
 
311
  (Parth Malwankar, #603461)
 
312
 
 
313
bzr 2.2b4
 
314
#########
 
315
 
 
316
:Codename: Monkey Magic
 
317
:2.2b4: 2004-07-09
 
318
 
 
319
 
 
320
This fourth and final beta in the 2.2 series now stabilizes the internal
 
321
APIs. Plugin authors are recommended to ensure their releases are
 
322
compatible, so that 2.2rc1 can be a true release candidate, containing
 
323
stable and compatible plugin versions. 
 
324
 
 
325
For users of bzrlib as a library, one of the primary changes is to request
 
326
that they call ``bzrlib.initialize`` and use the returned context manager
 
327
appropriately.
 
328
 
 
329
Better interaction with ``bzr-loom`` to make sure branching from a loom
 
330
even over a smart server still yields a local loom. Not to mention lots of
 
331
bugfixes over 2.2b3.
 
332
 
 
333
Compatibility Breaks
 
334
********************
 
335
 
 
336
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
 
337
  the result of ``bzrlib.initialize``. This change was made when fixing
 
338
  the bad habit recent bzr versions have had of leaving progress bars 
 
339
  behind on the screen. That required calling another function before
 
340
  exiting the program, and it made sense to provide a full context
 
341
  manager at the same time. (Robert Collins)
 
342
 
 
343
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
 
344
  context manager in the Python 2.5 and above sense. The bzrlib base class
 
345
  is such a manager, but third party UI factories which do not derive from
 
346
  ``bzrlib.ui.UIFactory`` will be incompatible with the command line front
 
347
  end.
 
348
 
 
349
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
 
350
  and path "bar/baz", even if bzr does not recognize "foo" as a known URL
 
351
  scheme.  Previously these URLs would be treated as local paths.
 
352
  (Gordon Tyler)
 
353
 
 
354
 
 
355
New Features
 
356
************
 
357
 
 
358
* Support ``--directory`` option for a number of additional commands:
 
359
  conflicts, merge-directive, missing, resolve, shelve, switch,
 
360
  unshelve, whoami. (Martin von Gagern, #527878)
 
361
 
 
362
Bug Fixes
 
363
*********
 
364
 
 
365
* ``bzr branch`` to a new repository with a default stacking policy no
 
366
  longer transfers the full history unnecessarily.
 
367
  (Andrew Bennetts, #597942)
 
368
 
 
369
* ``bzr init`` does not recursively scan directory contents anymore
 
370
  leading to faster init for directories with existing content.
 
371
  (Martin [gz], Parth Malwankar, #501307)
 
372
 
 
373
* ``bzr log --exclude-common-ancestry`` is now taken into account for
 
374
  linear ancetries. (Vincent Ladeuil, #575631)
 
375
 
 
376
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
 
377
  rather than trying to fetch the data locally and failing because of a
 
378
  readonly error. (Martin von Gagern, #149270)
 
379
 
 
380
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
 
381
  or pull location in locations.conf or branch.conf.
 
382
  (Gordon Tyler, #534787)
 
383
 
 
384
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
 
385
  smart server. (Andrew Bennetts, #551525)
 
386
 
 
387
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
 
388
  (Marius Kruger, Robert Collins)
 
389
 
 
390
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
 
391
  (Marius Kruger, Robert Collins)
 
392
 
 
393
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
 
394
  proper error messages. (Vincent Ladeuil, #591215)
 
395
 
 
396
* Explicitly removing ``--profile-imports`` option from parsed command-line
 
397
  arguments on Windows, because bzr script does the same.
 
398
  (Alexander Belchenko, #588277)
 
399
 
 
400
* Fetching was slightly confused about the best code to use and was
 
401
  using a new code path for all branches, resulting in more lookups than
 
402
  necessary on old branches. (Robert Collins, #593515)
 
403
 
 
404
* Final fix for 'no help for command' issue. We now show a clean message
 
405
  when a command has no help, document how to set help more clearly, and
 
406
  test that all commands available to the test suite have help.
 
407
  (Robert Collins, #177500)
 
408
 
 
409
* Invalid patterns supplied to ``Globster`` or ``lazy_regex`` now raise
 
410
  ``InvalidPattern`` exception showing clear error message to the user.
 
411
  (Parth Malwankar #300062)
 
412
 
 
413
* Progress output is cleaned up when exiting.  (Aaron Bentley)
 
414
 
 
415
* Raise ValueError instead of a string exception.
 
416
  (John Arbash Meinel, #586926)
 
417
 
 
418
* Relative imports in plugins are now handled correctly when using
 
419
  BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
 
420
 
 
421
* ``ScriptRunner`` now strips off leading indentation from test scripts,
 
422
  which previously caused "SyntaxError: No command for line".
 
423
  (Martin Pool)
 
424
 
 
425
* Show unicode filenames in diff headers using terminal encoding. 
 
426
  (Alexander Belchenko, Bug #382699)
 
427
  NOTE for Windows users: If user need to save diff to file then user need to
 
428
  change encoding of the terminal to ANSI encoding with command ``chcp XXX``
 
429
  (e.g. ``chcp 1251`` for Russian Windows).
 
430
 
 
431
* URL displayed for use with ``break-lock`` when smart server sees lock
 
432
  contention are now valid. Default timeout for lock contention retry is
 
433
  now 30 seconds instead of 300 seconds.
 
434
  (Parth Malwankar, #250451)
 
435
 
 
436
* ``walkdirs`` now raises a useful message when the filenames are not using
 
437
  the filesystem encoding. (Eric Moritz, #488519)
 
438
 
 
439
* Enable debugging of bzr on windows with pdb and other tools. This was 
 
440
  broken because we call GetCommandLineW on windows. The fix adjusts the 
 
441
  command line we get to be the same length as sys.argv.
 
442
  (Jason Spashett, Alexander Belchenko, #587868)
 
443
 
 
444
Improvements
 
445
************
 
446
 
 
447
* Bazaar now reads data from SSH connections more efficiently on platforms
 
448
  that provide the ``socketpair`` function, and when using paramiko.
 
449
  (Andrew Bennetts, #590637)
 
450
 
 
451
* ``Branch.copy_content_into`` is now a convenience method dispatching to
 
452
  a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
 
453
  plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
 
454
  (Robert Collins, #201613)
 
455
 
 
456
* ``Branch`` formats can now be loaded lazily by registering a
 
457
  ``MetaDirBranchFormatFactory`` rather than an actual format. This will
 
458
  cause the named format class to be loaded only when an enumeration of
 
459
  formats is needed or when the format string for the object is
 
460
  encountered. (Robert Collins, Jelmer Vernooij)
 
461
 
 
462
* The encoding that bzr uses to output things other than file content can
 
463
  now be overridden via the output_encoding configuration option.
 
464
  (Martin Pool, #340394)
 
465
 
 
466
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
 
467
  do not cause modules to be loaded unnecessarily just because the plugin
 
468
  registers a merge hook.  This improves ``bzr rocks`` time by about 25%
 
469
  in a default installation (with just the core plugins).
 
470
  (Andrew Bennetts)
 
471
 
 
472
Documentation
 
473
*************
 
474
 
 
475
* Added ``regression`` tag to our tags list. (Robert Collins)
 
476
 
 
477
* Improved our release checklist to have a bit less churn and leave things
 
478
  ready-to-go for the next action (including other people doing
 
479
  development). (Robert Collins)
 
480
 
 
481
* Remove obsolete discussion of PQM in documentation about how to
 
482
  contribute to Bazaar.  (Martin Pool, #588444)
 
483
 
 
484
API Changes
 
485
***********
 
486
 
 
487
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
 
488
  an iterable of format pairs, rather than just a single pair, permitting
 
489
  InterBranch objects that work with multiple permutations to be
 
490
  comprehensively tested. (Robert Collins)
 
491
 
 
492
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
 
493
  profiles when concurrent profile requests are made. Instead the profile
 
494
  requests will be serialised. Reentrant requests will now deadlock.
 
495
  (Robert Collins)
 
496
 
 
497
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
 
498
  2007, has been deleted.  Use ``PatienceSequenceMatcher`` from
 
499
  ``bzrlib.patiencediff`` instead. (Andrew Bennetts)
 
500
 
 
501
* ``bzrlib.re_compile_checked`` is now deprecated. Caller should handle
 
502
  ``bzrlib.errors.InvalidPattern`` exception thrown by ``re.match`` in
 
503
  case the default error message not suitable for the use case.
 
504
  (Parth Malwankar)
 
505
 
 
506
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated.  It provided only
 
507
  one method ``check_output``, and we now recommend checking command
 
508
  output using ``run_script``. (Martin Pool)
 
509
 
 
510
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
 
511
  that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
 
512
  Third-party implementations of ``SSHVendor`` may need to be updated
 
513
  accordingly.  Similarly, any code using ``SSHConnection`` directly will
 
514
  need to be updated.  (Andrew Bennetts)
 
515
 
 
516
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
 
517
  changed to take an ``SSHParams`` instance (replacing many individual
 
518
  values).  (Andrew Bennetts)
 
519
 
 
520
Internals
 
521
*********
 
522
 
 
523
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
 
524
  selection when explicitly requested; this avoids many duplicate calls
 
525
  being logged when helpers, wrappers and older code that manually calls
 
526
  it are executed it is now logged deliberately by the ui setup code.
 
527
  (Robert Collins)
 
528
 
 
529
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
 
530
 
 
531
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
 
532
  that ``sys.getsizeof`` and other memory analysis tools will report more
 
533
  accurate results. (Andrew Bennetts)
 
534
 
 
535
* The symbol_versioning module can now cleanup after itself -
 
536
  ``suppress_deprecation_warnings`` now returns a cleanup function.
 
537
  (Robert Collins)
 
538
 
 
539
Testing
 
540
*******
 
541
 
 
542
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
 
543
  to test.  (Martin Pool)
 
544
 
 
545
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
 
546
  (Vincent Ladeuil, #595587)
 
547
 
 
548
bzr 2.2b3
 
549
#########
 
550
 
 
551
:2.2b3: 2010-05-28
 
552
 
 
553
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
554
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
555
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
556
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
557
bash completion script and bzr will no longer guess at identity details -
 
558
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
559
For developers we have some API changes which may impact plugins as well
 
560
as a bunch of our regular improvements to internal clarity and test
 
561
support.
 
562
 
 
563
Compatibility Breaks
 
564
********************
 
565
 
 
566
* An API break has been made to the lock_write method of ``Branch`` and
 
567
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
568
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
569
  changing the API in future easier and permits some cleaner calling code.
 
570
  The lock_read method has also changed from having no defined return
 
571
  value to returning ``LogicalLockResult`` objects.
 
572
  (Robert Collins)
 
573
 
 
574
* ``bzr`` does not try to guess the username as ``username@hostname``
 
575
  and requires it to be explictly set. This can be set using ``bzr
 
576
  whoami``. (Parth Malwankar, #549310)
 
577
 
 
578
* ``bzrlib.commands.Command`` will now raise ValueError during
 
579
  construction if there is no __doc__ set. (Note, this will be reverted in
 
580
  2.2b4) (Robert Collins)
 
581
 
 
582
* The source tree no longer contains a contrib/zsh/_bzr completion
 
583
  script. The new file contrib/zsh/README suggests alternatives.
 
584
  (Martin von Gagern, #560030)
 
585
 
 
586
New Features
 
587
************
 
588
 
 
589
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
 
590
  ``--show-diff``.
 
591
  (Parth Malwankar, #571467)
 
592
  
 
593
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
 
594
  the default ignore rules used by bzr. The flag ``--old-default-rules``
 
595
  is no longer supported by ``ignore``.
 
596
  (Parth Malwankar, #538703)
 
597
 
 
598
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
 
599
  can save disk space by deleting obsolete pack files created during the
 
600
  pack operation.
 
601
  (Parth Malwankar, #304320)
 
602
 
 
603
* New command line option ``--authors`` to ``bzr log`` allows users to
 
604
  select which of the apparent authors and committer should be
 
605
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
606
 
 
607
* Support ``--directory`` option for a number of additional commands:
 
608
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
609
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
610
  re-sign, unbind, unknowns.
 
611
  (Martin von Gagern, #527878)
 
612
 
 
613
* The bash_completion plugin from the bzr-bash-completion project has
 
614
  been merged into the tree. It provides a bash-completion command and
 
615
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
616
  using the plugin. (Martin von Gagern, #560030)
 
617
 
 
618
* A new transport based on GIO (the gnome i/o library) provides access to
 
619
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
620
  use gio for some already existing transport methods as gio+file,
 
621
  gio+sftp, gio+ftp. 
 
622
  (Mattias Eriksson)
 
623
 
 
624
Bug Fixes
 
625
*********
 
626
 
 
627
* Alias information shown by ``bzr help`` is now accurate. This
 
628
  was showing an internal object name for some plugin aliases.
 
629
  (Parth Malwankar, #584650)
 
630
 
 
631
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
 
632
  group ownership from the containing directory. This allow bzr to work
 
633
  better with sudo.
 
634
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
 
635
 
 
636
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
637
  support of bzr-externals and scmproj plugins.
 
638
  (Alexander Belchenko, bug #572098)
 
639
 
 
640
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
641
  (Gordon Tyler, #572092)
 
642
 
 
643
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
 
644
  are part of Y ancestry but not part of X ancestry (aka the graph
 
645
  difference).
 
646
  (Vincent Ladeuil, #320119)
 
647
 
 
648
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
649
  servers a few commits ago has been reverted to use edge: there is a
 
650
  problem with using production which isn't trivially obvious, so we've
 
651
  filed a bug to track it, and until thats fixed will be using edge.
 
652
  (Robert Collins, #583667)
 
653
 
 
654
* ``bzr rm`` should not refuse to delete directories which contained a file
 
655
  which has been moved elsewhere in the tree after the previous commit.
 
656
  (Marius Kruger, Daniel Watkins, #129880)
 
657
 
 
658
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
 
659
  (Vincent Ladeuil, #566670)
 
660
 
 
661
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
 
662
  (Vincent Ladeuil, #563997)
 
663
 
 
664
* CommitBuilder refuses to create revisions whose trees have no root.
 
665
  (Aaron Bentley)
 
666
 
 
667
* Do not register a SIGWINCH signal handler, instead just poll for the
 
668
  terminal width as needed.  This avoids the "Interrupted System Call"
 
669
  problems that occur on POSIX with all currently released versions of
 
670
  Python.
 
671
  (Andrew Bennetts, #583941)
 
672
 
 
673
* Don't mention --no-strict when we just issue the warning about unclean trees.
 
674
  (Vincent Ladeuil, #401599)
 
675
 
 
676
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
 
677
  versions before 1.6.
 
678
  (Andrew Bennetts, #528041)
 
679
 
 
680
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
681
  estimate of the number of records to be fetched vs actually fetched.
 
682
  (Parth Malwankar, #374740, #538868)
 
683
 
 
684
* Reduce peak memory by one copy of compressed text.
 
685
  (John Arbash Meinel, #566940)
 
686
 
 
687
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
688
  read lock, rather than causing an ``AttributeError``.
 
689
  (Andrew Bennetts, Данило Шеган, #582781)
 
690
 
 
691
* Selftest was failing with testtools 0.9.3, which caused an
 
692
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
693
  Error, breaking on of our test hygiene tests.
 
694
  (Robert Collins, Vincent Ladeuil).
 
695
 
 
696
* ``set_user_option`` with a dict on remote branches no longer fails with
 
697
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
698
  to support this efficiently.
 
699
  (Andrew Bennetts, #430382)
 
700
  
 
701
* Show the filenames when a file rename fails so that the error will be
 
702
  more comprehensible.
 
703
  (Martin Pool, #491763)
 
704
 
 
705
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
706
  (John Arbash Meinel, #582656)
 
707
 
 
708
* Unicode characters in aliases are now handled correctly and do not cause
 
709
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
710
 
 
711
* Unicode commit messages that are the same as a file name no longer cause
 
712
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
713
  messages.
 
714
  (Parth Malwankar, #563646)
 
715
 
 
716
* Using bzr with `lp:` urls behind an http proxy should work.
 
717
  (Robert Collins, #558343)
 
718
 
 
719
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
720
  directory file handle after the chdir fails. Otherwise when passing many
 
721
  filenames into a command line ``bzr status`` we would leak descriptors.
 
722
  (John Arbash Meinel, #583486)
 
723
 
 
724
Improvements
 
725
************
 
726
 
 
727
* ``append_revisions_only`` will now be interpreted as a boolean and a
 
728
  warning emitted if illegal values are used. Note that for projects
 
729
  that needs to maintain compatibility with previsous bzr versions,
 
730
  only 'True' and 'False' strings must be used (previous versions of
 
731
  bzr will interpret all strings differing from 'True'
 
732
  (case-sensitive) as false.
 
733
  (Brian de Alwis, Vincent Ladeuil)
 
734
 
 
735
* ``bzr ls`` now supports short options for existing long options.
 
736
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
737
  (Parth Malwankar, #181124)
 
738
 
 
739
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
 
740
  be interpreted as a boolean.
 
741
  (Vincent Ladeuil)
 
742
 
 
743
* The all-in-one Windows installer will now be built with docstrings stripped
 
744
  from the library zip, reducing the size and slightly improving cold startup
 
745
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
746
  plugins to an all-in-one installation, ensure they are compiled and
 
747
  installed with -O1 or help may not work. (Martin [gz])
 
748
 
 
749
API Changes
 
750
***********
 
751
 
 
752
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
 
753
  some kinds of ``merge_file_content`` hook functions.
 
754
  (Andrew Bennetts)
 
755
  
 
756
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
 
757
  `user_transport`, `control_url` and `control_transport` members pointing
 
758
  respectively to the directory containing the ``.bzr`` control directory, 
 
759
  and to the directory within ``.bzr`` used for the particular component.
 
760
  All of them inherit from `ControlComponent` which provides default
 
761
  implementations.
 
762
  (Martin Pool)
 
763
 
 
764
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
765
  expected to return an object which can be used to unlock them. This reduces
 
766
  duplicate code when using cleanups. The previous 'tokens's returned by
 
767
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
768
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
769
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
770
 
 
771
* ``Repository.refresh_data`` may now be called in a write group on
 
772
  pack-based repositories.  Older repositories will still raise an error
 
773
  in this case.  Subclasses of ``Repository`` can still override
 
774
  ``Repository._refresh_data``, but are now responsible for raising
 
775
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
776
  ``refresh_data`` during a write group.
 
777
  (Andrew Bennetts, #574236)
 
778
 
 
779
Internals
 
780
*********
 
781
 
 
782
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
783
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
784
  potentially shave 5-10% time off during a large fetch. Related to bug
 
785
  #562666. (John Arbash Meinel)
 
786
 
 
787
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
788
  (Robert Collins)
 
789
 
 
790
* ``_remember_remote_is_before`` no longer raises AssertionError when
 
791
  suboptimal network behaviour is noticed; instead it just mutters to the
 
792
  log file (and warns the user if they have set the ``hpss`` debug flag).
 
793
  This was causing unnecessary aborts for performance bugs that are minor
 
794
  at worst.
 
795
  (Andrew Bennetts, #528041)
 
796
 
 
797
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
 
798
  files loaded from disk. To ensure docstrings needed for help are never
 
799
  stripped, the prefix ``__doc__ =`` should now be used.
 
800
  (Martin <gzlist@googlemail.com>)
 
801
 
 
802
* No longer require zlib headers to build extensions, and remove the need
 
803
  for seperate copy of zlib library on windows.
 
804
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #566923)
 
805
 
 
806
Testing
 
807
*******
 
808
 
 
809
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
 
810
  our first in-tree matcher. See the module docstring for details.
 
811
  (Robert Collins)
 
812
 
 
813
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
 
814
   (Gordon Tyler, #551332)
 
815
 
 
816
* Workaround ``Crypto.Random`` check leading to spurious test
 
817
  failures on Lucid, FreeBSD and gentoo.  
 
818
  (Vincent Ladeuil, #528436)
 
819
 
 
820
* New class ``ExecutableFeature`` for checking the availability of
 
821
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
822
  (Martin von Gagern)
 
823
 
 
824
bzr 2.2b2
 
825
#########
 
826
 
 
827
:2.2b2: 2010-04-16
 
828
 
 
829
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
 
830
incompatibility in the 2.2b1 release.  It also includes a swag of
 
831
performance, usability and correctness improvements: test feedback on all
 
832
of these would be welcome.
 
833
 
 
834
 
 
835
New Features
 
836
************
 
837
 
 
838
* ``bzr diff`` now supports a --format option, which can be used to 
 
839
  select alternative diff formats. (Jelmer Vernooij, #555994)
 
840
 
 
841
Bug Fixes
 
842
*********
 
843
 
 
844
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
 
845
  instead of failing when dirty trees are involved. The corresponding
 
846
  ``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
 
847
  True explicitly to get the previous behaviour.  
 
848
  (Vincent Ladeuil, #519319)
 
849
 
 
850
* ``bzr export`` to tar file does not fail if any parent directory
 
851
  contains unicode characters. This works around upstream Python bug
 
852
  http://bugs.python.org/issue8396 .
 
853
  (Parth Malwankar, #413406)
 
854
 
 
855
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
 
856
  (Aaron Bentley, #559436)
 
857
 
 
858
* ``bzr update`` when a pending merge in the working tree has been merged
 
859
  into the master branch will no longer claim that old commits have become
 
860
  pending merges. (Robert Collins, #562079)
 
861
 
 
862
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
 
863
  config as in previous versions of bzrlib. (Robert Collins)
 
864
 
 
865
* Fix glitch in the warning about unclean trees display.
 
866
  (Vincent Ladeuil, #562665)
 
867
 
 
868
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
 
869
  (Martin Pool)
 
870
 
 
871
* Help messages generated by ``RegistryOption.from_kwargs`` list the
 
872
  switches in alphabetical order, rather than in an undefined order.
 
873
  (Martin von Gagern, #559409)
 
874
 
 
875
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
 
876
  Apport crash reports, to avoid "This problem report applies to a program
 
877
  which is not installed any more" error.
 
878
  (Martin Pool, James Westby, #528114)
 
879
 
 
880
* Reset ``siginterrupt`` flag to False every time we handle a signal
 
881
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
 
882
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
 
883
  errors compared to registering ``signal.signal`` directly.
 
884
  (Andrew Bennetts)
 
885
 
 
886
* When invoked with a range revision, ``bzr log`` doesn't show revisions
 
887
  that are not part of the Y revisions ancestry anymore when invoked with
 
888
  -rX..Y.
 
889
  (Vincent Ladeuil, #474807)
 
890
 
 
891
* Properly handle ``param_name`` attribute for ``ListOption``.
 
892
  (Martin von Gagern, #387117)
 
893
 
 
894
Improvements
 
895
************
 
896
 
 
897
* ``bzr commit`` will prompt before using a commit message that was
 
898
  generated by a template and not edited by the user.
 
899
  (Robert Collins, #530265)
 
900
 
 
901
* ``bzr diff`` read-locks the trees and branches only once, saving about
 
902
  10-20ms on ``bzr diff`` in a bzr.dev tree.
 
903
  (Andrew Bennetts)
 
904
 
 
905
* ``bzr missing`` read-locks the branches only once.
 
906
  (Andrew Bennetts)
 
907
  
 
908
* ``bzr pull`` locks the branches and tree only once.
 
909
  (Andrew Bennetts)
 
910
  
 
911
* Index lookups in pack repositories search recently hit pack files first.  
 
912
  In repositories with many pack files this can greatly reduce the
 
913
  number of files accessed, the number of bytes read, and the number of
 
914
  read calls.  An incremental pull via plain HTTP takes half the time and
 
915
  bytes for a moderately large repository.  (Andrew Bennetts)
 
916
 
 
917
* Index lookups only re-order the indexes when the hit files aren't
 
918
  already first. Reduces the cost of reordering
 
919
  (John Arbash Meinel, #562429)
 
920
 
 
921
* Less code is loaded at startup.  (Cold-cache start time is about 10-20%
 
922
  less.)
 
923
  (Martin Pool, #553017)
 
924
 
 
925
API Changes
 
926
***********
 
927
 
 
928
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
 
929
  ``get_trees_and_branches_to_diff_locked`` instead.
 
930
  (Andrew Bennetts)
 
931
 
 
932
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
933
  auto-determines branch nick if not supplied.  (Aaron Bentley)
 
934
  
 
935
Internals
 
936
*********
 
937
 
 
938
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
 
939
  2.1 method of calling run() to perform testing or direct use via the API
 
940
  is now possible again. As part of this, the _operation attribute on
 
941
  Command is now transient and only exists for the duration of ``run()``.
 
942
  (Robert Collins)
 
943
 
 
944
bzr 2.2b1
 
945
#########
 
946
 
 
947
:2.2b1: 2010-04-01
 
948
 
 
949
This is the first beta of the 2.2 series, leading up to a 2.2.0
 
950
release in July or August.  Beta releases are suitable for everyday use
 
951
but may cause some incompatibilities with plugins.  Some plugins may need
 
952
small updates to work with 2.2b1.
 
953
 
 
954
2.2b1 includes some changes to make merge conflicts easier to understand
 
955
and resolve.  It also removes some old unnecessary code, and loads
 
956
somewhat less code at startup.  It starts adding a common infrastructure
 
957
for dealing with colocated named branches, which can be implemented in
 
958
various ways in either bzr native or foreign formats.   On Ubuntu and
 
959
other platforms with the apport bug-reporting library, there's an easier
 
960
path to report problems with bzr.  We plan to continue with these themes
 
961
through the 2.2 series.
 
962
 
 
963
Over thirty bugs have been fixed, including in the log command, exporting
 
964
to tarballs, restarting interrupted system calls, portability of compiled
 
965
extensions, making backups during upgrade, and locking on ftp.
 
966
 
 
967
Compatibility Breaks
 
968
********************
 
969
 
 
970
* BTreeGraphIndex can now take an offset to indicate that the data starts
 
971
  somewhere other than then beginning of the file. (John Arbash Meinel)
 
972
 
 
973
* Deleted very old hidden commands ``versionedfile-list``,
 
974
  ``weave-plan-merge``, ``weave-merge-text``.
 
975
  (Martin Pool)
 
976
 
 
977
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()`` 
 
978
  have been removed. (Jelmer Vernooij)
 
979
 
 
980
* ``Repository.get_revision_inventory()`` has been removed in favor of
 
981
  ``Repository.get_inventory()``. (Jelmer Vernooij)
 
982
 
 
983
* All test servers have been moved out of the bzrlib.transport hierarchy to
 
984
  bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
 
985
  PathFilteringServer. ``bzrlib`` users may encounter test failures that can
 
986
  be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
 
987
  ``bzrlib.tests.test_server``.
 
988
  (Vincent Ladeuil)
 
989
 
 
990
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
 
991
  as its second parameter, for consistency with the initialize() method of
 
992
  other formats. (Jelmer Vernooij)
 
993
 
 
994
New Features
 
995
************
 
996
 
 
997
* Added ``bzr remove-branch`` command that can remove a local or remote 
 
998
  branch. (Jelmer Vernooij, #276295)
 
999
 
 
1000
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
 
1001
  to set file mtimes to the last timestamp of the last revision in which
 
1002
  they were changed rather than the current time. (Jelmer Vernooij)
 
1003
 
 
1004
* If the Apport crash-reporting tool is available, bzr crashes are now
 
1005
  stored into the ``/var/crash`` apport spool directory, and the user is
 
1006
  invited to report them to the developers from there, either
 
1007
  automatically or by running ``apport-bug``.  No information is sent
 
1008
  without specific permission from the user.  (Martin Pool, #515052)
 
1009
 
 
1010
* Parsing of command lines, for example in ``diff --using``, no longer
 
1011
  treats backslash as an escape character on Windows.   (Gordon Tyler,
 
1012
  #392428)
 
1013
 
 
1014
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
 
1015
  a list of plugin names separated by ':' (';' on windows).
 
1016
  (Vincent Ladeuil, #411413)
 
1017
 
 
1018
* Plugins can be loaded from arbitrary locations by defining
 
1019
  ``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
 
1020
  windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
 
1021
  specified plugins. This is targeted at plugin developers for punctual
 
1022
  needs and *not* intended to replace ``BZR_PLUGIN_PATH``.  
 
1023
  (Vincent Ladeuil, #82693)
 
1024
 
 
1025
* Tag names can now be determined automatically by ``automatic_tag_name`` 
 
1026
  hooks on ``Branch`` if they are not specified on the command line.
 
1027
  (Jelmer Vernooij)
 
1028
 
 
1029
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
 
1030
  ``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
 
1031
  as resolved is still accessible via the ``--done`` default action.
 
1032
  (Vincent Ladeuil)
 
1033
 
 
1034
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
 
1035
  (Aaron Bentley, Jonathan Lange)
 
1036
 
 
1037
Bug Fixes
 
1038
*********
 
1039
 
 
1040
* Added docstring for ``Tree.iter_changes``
 
1041
  (John Arbash Meinel, #304182)
 
1042
 
 
1043
* Allow additional arguments to
 
1044
  ``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
 
1045
 
 
1046
* Allow exporting a single file using ``bzr export``.
 
1047
  (Michal Junák, #511987)
 
1048
 
 
1049
* Allow syscalls to automatically restart when ``TextUIFactory``'s
 
1050
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
 
1051
  IO, which are often poorly handled by Python's libraries and parts of
 
1052
  bzrlib.  (Andrew Bennetts, #496813)
 
1053
 
 
1054
* Avoid infinite recursion when probing for apport.
 
1055
  (Vincent Ladeuil, #516934)
 
1056
 
 
1057
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
1058
  (Martin Pool, #331095)
 
1059
 
 
1060
* Avoid truncating svn URLs.
 
1061
  (Martin Pool, Martin von Gagern, #545185)
 
1062
 
 
1063
* ``bzr add`` will not add conflict related files unless explicitly required.
 
1064
  (Vincent Ladeuil, #322767, #414589)
 
1065
 
 
1066
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files.  Those
 
1067
  indices do not have reference lists, so ``dump-btree`` will simply show
 
1068
  ``None`` instead.  (Andrew Bennetts, #488607)
 
1069
 
 
1070
* ``bzr help`` will no longer trigger the get_missing_command hook when
 
1071
  doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
 
1072
  did you mean log?') when getting help. In future we may trigger the hook 
 
1073
  deliberately when no help topics match from any help index.
 
1074
  (Robert Collins, #396261)
 
1075
 
 
1076
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
 
1077
  revspec as representing the first revision of the branch.
 
1078
  (Vincent Ladeuil, #519862)
 
1079
 
 
1080
* ``bzr remove-tree`` can now remove multiple working trees.
 
1081
  (Jared Hance, Andrew Bennetts, #253137)
 
1082
 
 
1083
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
 
1084
  the kept file on content conflicts where one side deleted the file.
 
1085
  (Vincent Ladeuil, #529968)
 
1086
 
 
1087
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
1088
  permissions as ``.bzr`` directory on a POSIX OS.
 
1089
  (Parth Malwankar, #262450)
 
1090
 
 
1091
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
 
1092
  of ``backup.bzr``. This directory is ignored by bzr commands such as
 
1093
  ``add``.
 
1094
  (Parth Malwankar, #335033, #300001)
 
1095
 
 
1096
* Cope with non-utf8 characters inside ``.bzrignore``.
 
1097
  (Jason Spashett, #183504)
 
1098
 
 
1099
* Correctly interpret "451 Rename/move failure: Directory not empty" from
 
1100
  ftp servers while trying to take a lock.
 
1101
  (Martin Pool, #528722)
 
1102
 
 
1103
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
 
1104
  changes occured between the workingtree and one of its parents.
 
1105
  (Vincent Ladeuil, #535547)
 
1106
 
 
1107
* Fix ``log`` to better check ancestors even if merged revisions are involved.
 
1108
  (Vincent Ladeuil, #476293)
 
1109
 
 
1110
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
 
1111
  on os.lisdir() order and is now reliable.
 
1112
  (Vincent Ladeuil, #552922).
 
1113
 
 
1114
* Many IO operations that returned ``EINTR`` were retried even if it
 
1115
  wasn't safe to do so via careless use of ``until_no_eintr``.  Bazaar now
 
1116
  only retries operations that are safe to retry, and in some cases has
 
1117
  switched to operations that can be retried (e.g. ``sock.send`` rather than
 
1118
  ``sock.sendall``).
 
1119
  (Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
 
1120
 
 
1121
* Path conflicts now support --take-this and --take-other even when a
 
1122
  deletion is involved.
 
1123
  (Vincent Ladeuil, #531967)
 
1124
 
 
1125
* Network transfer amounts and rates are now displayed in SI units according
 
1126
  to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
 
1127
  (Gordon Tyler, #514399)
 
1128
 
 
1129
* Support kind markers for socket and fifo filesystem objects. This
 
1130
  prevents ``bzr status --short`` from crashing when those files are
 
1131
  present.  (John Arbash Meinel, #303275)
 
1132
 
 
1133
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
 
1134
   directory. (Parth Malwankar, #138600)
 
1135
 
 
1136
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
 
1137
  the debugger won't kill the session.
 
1138
  (Martin <gzlist@googlemail.com>, #162502)
 
1139
 
 
1140
* Tolerate patches with leading noise in ``bzr-handle-patch``.
 
1141
  (Toshio Kuratomi, Martin Pool, #502076)
 
1142
 
 
1143
* ``update -r`` now supports updating to revisions that are not on
 
1144
  mainline (i.e. it supports dotted revisions).
 
1145
  (Parth Malwankar, #517800)
 
1146
 
 
1147
* Use first apparent author not committer in GNU Changelog format.
 
1148
  (Martin von Gagern, #513322)
 
1149
 
 
1150
API Changes
 
1151
***********
 
1152
 
 
1153
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to 
 
1154
  ``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
 
1155
  (Jelmer Vernooij)
 
1156
 
 
1157
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated 
 
1158
  branch to create. (Jelmer Vernooij)
 
1159
 
 
1160
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the 
 
1161
  colocated branch to open. (Jelmer Vernooij)
 
1162
 
 
1163
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
 
1164
  can set a signal handler and call ``signal.siginterrupt(signum,
 
1165
  False)`` for it, if the platform and Python version supports it.
 
1166
  (Andrew Bennetts, #496813)
 
1167
 
 
1168
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to 
 
1169
  run when starting up; it sets up several things that previously needed
 
1170
  to be done separately.
 
1171
  (Martin Pool, #507710)
 
1172
 
 
1173
* Exporters now support a ``per_file_timestamps`` argument to write out the 
 
1174
  timestamp of the commit in which a file revision was introduced.
 
1175
  (Jelmer Vernooij)
 
1176
 
 
1177
* New method ``BzrDir.list_branches()`` that returns a sequence of branches 
 
1178
  present in a control directory. (Jelmer Vernooij)
 
1179
 
 
1180
* New method ``Repository.get_known_graph_ancestry()``. 
 
1181
  (Jelmer Vernooij, #495502)
 
1182
 
 
1183
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
 
1184
  (Neil Santos)
 
1185
 
 
1186
* Remove unused ``CommandFailed`` exception.
 
1187
  (Martin Pool)
 
1188
 
 
1189
Internals
 
1190
*********
 
1191
 
 
1192
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
 
1193
  ``message_callback`` in the same way that commit does. (Robert Collins)
 
1194
 
 
1195
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
 
1196
  rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
 
1197
  of date. (Gary van der Merwe)
 
1198
 
 
1199
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
 
1200
  functions to load or disable plugins if they wish to use a different
 
1201
  plugin mechanism; the --help, --version and no-command name code paths
 
1202
  now use the generic pluggable command lookup infrastructure.
 
1203
  (Robert Collins)
 
1204
 
 
1205
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
 
1206
  which can be set to add extra help to the error. (Gary van der Merwe)
 
1207
 
 
1208
* New method ``Branch.automatic_tag_name`` that can be used to find the
 
1209
  tag name for a particular revision automatically. (Jelmer Vernooij)
 
1210
 
 
1211
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and 
 
1212
  ``BzrDir.open_branch()`` now take an optional ``name`` argument. 
 
1213
  (Jelmer Vernooij)
 
1214
 
 
1215
Testing
 
1216
*******
 
1217
 
 
1218
* bzr now has a ``.testr.conf`` file in its source tree configured
 
1219
  appropriately for running tests with Testrepository
 
1220
  (``https://launchpad.net/testrepository``). (Robert Collins)
 
1221
 
 
1222
* Documentation about testing with ``subunit`` has been tweaked.
 
1223
  (Robert Collins)
 
1224
 
 
1225
* Known failures has been added for resolve --take-other on ParentLoop
 
1226
  conflicts. This reflects bug #537956 without fixing it.
 
1227
  (Vincent Ladeuil)
 
1228
 
 
1229
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
 
1230
  Python modules are loaded, to guard against startup time or library
 
1231
  dependency regressions.
 
1232
  (Martin Pool)
 
1233
 
 
1234
* PQM will now run with subunit output. To analyze a PQM error use
 
1235
  tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
 
1236
 
 
1237
* Stop sending apport crash files to ``.cache`` in the directory from
 
1238
  which ``bzr selftest`` was run.  (Martin Pool, #422350)
 
1239
 
 
1240
* Tests no longer fail if "close() called during concurrent
 
1241
  operation on the same file object" occurs when closing the log file
 
1242
  (which can happen if a thread tries to write to the log file at the
 
1243
  wrong moment).  An warning will be written to ``stderr`` when this
 
1244
  happens, and another warning will be written if the log file could not
 
1245
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
 
1246
 
 
1247
bzr 2.1.3
 
1248
#########
 
1249
 
 
1250
:Codename: Do run run
 
1251
:2.1.3: NOT RELEASED YET
 
1252
 
 
1253
Compatibility Breaks
 
1254
********************
 
1255
 
 
1256
New Features
 
1257
************
 
1258
 
 
1259
Bug Fixes
 
1260
*********
 
1261
 
 
1262
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
1263
  previously-unversioned directory within the tree: the directory is
 
1264
  marked versioned too.  
 
1265
  (Martin Pool, #192859)
 
1266
 
 
1267
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
1268
  way which should help avoid problems with concurrent writers.
 
1269
  (Vincent Ladeuil, #525571)
 
1270
 
 
1271
* Don't traceback trying to unversion children files of an already
 
1272
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1273
 
 
1274
* Fix ``AttributeError on parent.children`` when adding a file under a 
 
1275
  directory that was a symlink in the previous commit.
 
1276
  (Martin Pool, #192859)
 
1277
 
 
1278
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
1279
  which can result in "missing referenced chk root keys" errors when
 
1280
  fetching from repositories with affected revisions.
 
1281
  (Andrew Bennetts, #522637)
 
1282
 
 
1283
* Progress bars prefer to truncate the text message rather than the
 
1284
  counters.  The spinner is shown between the network transfer indicator
 
1285
  and the progress message.  (Martin Pool)
 
1286
 
 
1287
* Raise ValueError instead of a string exception.
 
1288
  (John Arbash Meinel, #586926)
 
1289
 
 
1290
* Recursive binding for checkouts is now detected by bzr. A clear error
 
1291
  message is shown to the user. (Parth Malwankar, #405192)
 
1292
 
 
1293
Improvements
 
1294
************
 
1295
 
 
1296
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
 
1297
  tree, and works with unrelated branches.  (Andrew Bennetts)
 
1298
 
 
1299
Documentation
 
1300
*************
 
1301
 
 
1302
* ``bzr help patterns`` now explains case insensitive patterns and
 
1303
  points to Python regular expression documentation.
 
1304
  (Parth Malwankar, #594386)
 
1305
 
 
1306
API Changes
 
1307
***********
 
1308
 
 
1309
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
 
1310
 
 
1311
Internals
 
1312
*********
 
1313
 
 
1314
Testing
 
1315
*******
 
1316
 
 
1317
* Unit test added to ensure that "message" is not uses as a format variable
 
1318
  name in BzrError subclasses as this conflicts with some Python versions.
 
1319
  (Parth Malwankar, #603461)
 
1320
 
 
1321
bzr 2.1.2
 
1322
#########
 
1323
 
 
1324
:2.1.2: 2010-05-28
 
1325
 
 
1326
This release fixes two critical networking issues with older servers and
 
1327
with interrupted system call errors when pushing or pulling.  We recommend
 
1328
upgrading to anyone running a 2.1.x version of bzr.
 
1329
 
 
1330
Bug Fixes
 
1331
*********
 
1332
 
 
1333
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
1334
  support of bzr-externals and scmproj plugins.
 
1335
  (Alexander Belchenko, bug #572098)
 
1336
 
 
1337
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
 
1338
  (Aaron Bentley, #559436)
 
1339
 
 
1340
* Do not register a SIGWINCH signal handler, instead just poll for the
 
1341
  terminal width as needed.  This avoids the "Interrupted System Call"
 
1342
  problems that occur on POSIX with all currently released versions of
 
1343
  Python.
 
1344
  (Andrew Bennetts, #583941)
 
1345
 
 
1346
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
 
1347
  versions before 1.6.
 
1348
  (Andrew Bennetts, #528041)
 
1349
 
 
1350
* Reset ``siginterrupt`` flag to False every time we handle a signal
 
1351
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
 
1352
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
 
1353
  errors compared to registering ``signal.signal`` directly.
 
1354
  (Andrew Bennetts)
 
1355
 
 
1356
* Reduce peak memory by one copy of compressed text.
 
1357
  (John Arbash Meinel, #566940)
 
1358
 
 
1359
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
1360
  (John Arbash Meinel, #582656)
 
1361
 
 
1362
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1363
  directory file handle after the chdir fails. Otherwise when passing many
 
1364
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1365
  (John Arbash Meinel, #583486)
 
1366
 
 
1367
Internals
 
1368
*********
 
1369
 
 
1370
* ``_remember_remote_is_before`` no longer raises AssertionError when
 
1371
  suboptimal network behaviour is noticed; instead it just mutters to the
 
1372
  log file (and warns the user if they have set the ``hpss`` debug flag).
 
1373
  This was causing unnecessary aborts for performance bugs that are minor
 
1374
  at worst.
 
1375
  (Andrew Bennetts, #528041)
 
1376
 
 
1377
 
 
1378
bzr 2.1.1
 
1379
#########
 
1380
 
 
1381
:2.1.1: 2010-03-24
 
1382
 
 
1383
This is a small bugfix release.  Upgrading is recommended for anyone
 
1384
running 2.1.0 or earlier.
 
1385
 
 
1386
Bug Fixes
 
1387
*********
 
1388
 
 
1389
* Allow syscalls to automatically restart when ``TextUIFactory``'s
 
1390
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
 
1391
  IO, which are often poorly handled by Python's libraries and parts of
 
1392
  bzrlib.  (Andrew Bennetts, #496813)
 
1393
 
 
1394
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
1395
  (Martin Pool, #331095)
 
1396
 
 
1397
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
 
1398
 
 
1399
* Fix stub sftp test server to call os.getcwdu().
 
1400
  (Vincent Ladeuil, #526221, #526353)
 
1401
 
 
1402
* Fixed CHM generation by moving the NEWS section template into
 
1403
  a separate file. (Ian Clatworthy, #524184)
 
1404
 
 
1405
* Merge correctly when this_tree is not a WorkingTree.  (Aaron Bentley)
 
1406
 
 
1407
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
 
1408
  problems importing bzrlib from a non-main thread.
 
1409
  (Elliot Murphy, #521989)
 
1410
 
 
1411
* Repositories accessed via a smart server now reject being stacked on a
 
1412
  repository in an incompatible format, as is the case when accessing them
 
1413
  via other methods.  This was causing fetches from those repositories via
 
1414
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
1415
  (Andrew Bennetts, #562380)
 
1416
 
 
1417
* Standardize the error handling when creating a new ``StaticTuple``
 
1418
  (problems will raise TypeError). (Matt Nordhoff, #457979)
 
1419
 
 
1420
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
 
1421
  ``StaticTuple`` extensions, rather than having the build fail randomly.
 
1422
  (John Arbash Meinel, #449776)
 
1423
 
 
1424
Documentation
 
1425
*************
 
1426
 
 
1427
* Added a link to the Desktop Guide. (Ian Clatworthy)
 
1428
 
 
1429
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
 
1430
 
 
1431
* Drop Google Analytics from the core docs as they caused problems
 
1432
  in the CHM files. (Ian Clatworthy, #502010)
 
1433
 
 
1434
API Changes
 
1435
***********
 
1436
 
 
1437
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
 
1438
  can set a signal handler and call ``signal.siginterrupt(signum,
 
1439
  False)`` for it, if the platform and Python version supports it.
 
1440
  (Andrew Bennetts, #496813)
 
1441
 
 
1442
 
 
1443
bzr 2.1.0
 
1444
#########
 
1445
 
 
1446
:Codename: Strasbourg
 
1447
:2.1.0: 2010-02-11
 
1448
 
 
1449
This release marks our second long-term-stable series. The Bazaar team
 
1450
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
 
1451
releases, along with 2.2 development releases. 
 
1452
 
 
1453
This is a fairly incremental update, focusing on polish and bugfixing.
 
1454
There are no changes for supported disk formats. Key updates include
 
1455
reduced memory consumption for many operations, a new per-file merge
 
1456
hook, ignore patterns can now include '!' to exclude files, globbing
 
1457
support for all commands on Windows, and support for addressing home
 
1458
directories via ``bzr+ssh://host/~/`` syntax.
 
1459
 
 
1460
Users are encouraged to upgrade from the 2.0 stable series.
 
1461
 
 
1462
Bug Fixes
 
1463
*********
 
1464
 
 
1465
* Don't require testtools to use sftp.
 
1466
  (Vincent Ladeuil, #516183)
 
1467
 
 
1468
* Fix "AttributeError in Inter1and2Helper" during fetch.
 
1469
  (Martin Pool, #513432)
 
1470
 
 
1471
* ``bzr update`` performs the two merges in a more logical order and will stop
 
1472
  when it encounters conflicts.  
 
1473
  (Gerard Krol, #113809)
 
1474
 
 
1475
* Give a better error message when doing ``bzr bind`` in an already bound
 
1476
  branch.  (Neil Martinsen-Burrell, #513063)
 
1477
 
 
1478
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
 
1479
  in a pack repository, which can happen harmlessly if the abort occurs during
 
1480
  finishing the write group.  Also use ``bzrlib.cleanup`` so that any
 
1481
  other errors that occur while aborting the individual packs won't be
 
1482
  hidden by secondary failures when removing the corresponding indices.
 
1483
  (Andrew Bennetts, #423015)
 
1484
 
 
1485
* Set the mtime of files exported to a directory by ``bzr export`` all to
 
1486
  the same value to avoid confusing ``make`` and other date-based build
 
1487
  systems. (Robert Collins, #515631)
 
1488
 
 
1489
Improvements
 
1490
************
 
1491
 
 
1492
* Fetching into experimental formats will now print a warning. (Jelmer
 
1493
  Vernooij)
 
1494
 
 
1495
API Changes
 
1496
***********
 
1497
 
 
1498
* ``Repository.deserialise_inventory`` has been renamed to 
 
1499
  ``Repository._deserialise_inventory`` to indicate it is private.
 
1500
  (Jelmer Vernooij)
 
1501
 
 
1502
* ``Repository.get_inventory_xml`` has been renamed to 
 
1503
  ``Repository._get_inventory_xml`` to indicate it is private. 
 
1504
  (Jelmer Vernooij)
 
1505
 
 
1506
* ``Repository.serialise_inventory`` has been renamed to 
 
1507
  ``Repository._serialise_inventory`` to indicate it is private.
 
1508
 
 
1509
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
 
1510
  same time was broken due to race conditions with a module level page
 
1511
  cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
 
1512
  ``bzrlib.chk_map`` in the backtrace, and can be triggered without using
 
1513
  the same high level objects such as ``bzrlib.repository.Repository``
 
1514
  from different threads. chk_map now uses a thread local cache which may
 
1515
  increase memory pressure on processes using threads.
 
1516
  (Robert Collins, John Arbash Meinel, #514090)
 
1517
 
 
1518
* The new ``merge_file_content`` should now be ok with tests to avoid
 
1519
  regressions.
 
1520
  (Vincent Ladeuil, #515597)
 
1521
 
 
1522
Internals
 
1523
*********
 
1524
 
 
1525
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
 
1526
  blocks in several places in ``bzrlib.merge``.  This avoids masking prior
 
1527
  errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
 
1528
  in ``do_merge``.
 
1529
  (Andrew Bennetts, #517275)
 
1530
 
 
1531
API Changes
 
1532
***********
 
1533
 
 
1534
* The ``remove_index`` method of
 
1535
  ``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
 
1536
  argument.  This argument was always ignored.
 
1537
  (Andrew Bennetts, #423015)
 
1538
 
 
1539
bzr 2.1.0rc2
 
1540
############
 
1541
 
 
1542
:Codename: after the bubbles
 
1543
:2.1.0rc2: 2010-01-29
 
1544
 
 
1545
This is a quick-turn-around to update a small issue with our new per-file
 
1546
merge hook. We expect no major changes from this to the final 2.1.0.
 
1547
 
 
1548
API Changes
 
1549
***********
 
1550
 
 
1551
* The new ``merge_file_content`` hook point has been altered to provide a
 
1552
  better API where state for extensions can be stored rather than the
 
1553
  too-simple function based approach. This fixes a performance regression
 
1554
  where branch configuration would be parsed per-file during merge. As
 
1555
  part of this the included news_merger has been refactored into a base
 
1556
  helper class ``bzrlib.merge.ConfigurableFileMerger``.
 
1557
  (Robert Collins, John Arbash Meinel, #513822)
 
1558
 
 
1559
 
 
1560
bzr 2.1.0rc1
 
1561
############
 
1562
 
 
1563
:Codename: the 'new' stable
 
1564
:2.1.0rc1: 2009-01-21
 
1565
 
 
1566
This is the first stable release candidate for Bazaar's 2.1 series. From
 
1567
this point onwards, the 2.1 series will be considered stable (as the 2.0
 
1568
series) and only bugfixes are expected to be incorporated. The dozen or so
 
1569
bugfixes in the 2.0.4 release are also included in this release (along
 
1570
with more than 15 more bugfixes). Some of the interesting features are
 
1571
support for per-file merge hooks, ``bzr unshelve --preview``, support
 
1572
for using ! in ignore files to exclude files from being ignored, a small
 
1573
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
 
1574
This looks to be a very good start for a new stable series.
 
1575
 
 
1576
 
 
1577
New Features
 
1578
************
 
1579
 
 
1580
* Add bug information to log output when available.
 
1581
  (Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
 
1582
 
 
1583
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
 
1584
  to register custom merge logic, e.g. to provide smarter merging for
 
1585
  particular files.
 
1586
 
 
1587
* Bazaar now includes the ``news_merge`` plugin.  It is disabled by
 
1588
  default, to enable it add a ``news_merge_files`` option to your
 
1589
  configuration.  Consult ``bzr help news_merge`` for more information.
 
1590
  (Andrew Bennetts)
 
1591
  
 
1592
* ``bzr branch`` now takes a ``--bind`` option. This lets you
 
1593
  branch and bind all in one command. (Ian Clatworthy)
 
1594
 
 
1595
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
 
1596
  a specific revision of a branch. (Daniel Watkins, #183559)
 
1597
 
 
1598
* ``bzr unshelve --preview`` can now be used to show how a patch on the
 
1599
  shelf would be applied to the working tree.
 
1600
  (Guilherme Salgado, #308122)
 
1601
 
 
1602
* ``bzr update`` now takes a ``--revision`` argument. This lets you
 
1603
  change the revision of the working tree to any revision in the
 
1604
  ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
 
1605
  Martin Pool, #45719)
 
1606
 
 
1607
* ``-Dbytes`` can now be used to display the total number of bytes
 
1608
  transferred for the current command. This information is always logged
 
1609
  to ``.bzr.log`` for later inspection. (John Arbash Meinel)
 
1610
 
 
1611
* New ignore patterns.  Patterns prefixed with '!' are exceptions to 
 
1612
  ignore patterns and take precedence over regular ignores.  Such 
 
1613
  exceptions are used to specify files that should be versioned which 
 
1614
  would otherwise be ignored.  Patterns prefixed with '!!' act as regular 
 
1615
  ignore patterns, but have highest precedence, even over the '!' 
 
1616
  exception patterns. (John Whitley, #428031)
 
1617
 
 
1618
* The ``supress_warnings`` configuration option has been introduced to disable
 
1619
  various warnings (it currently only supports the ``format_deprecation``
 
1620
  warning). The new option can be set in any of the following locations:
 
1621
  ``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
 
1622
  (Ted Gould, Matthew Fuller, Vincent Ladeuil)
 
1623
 
 
1624
Bug Fixes
 
1625
*********
 
1626
 
 
1627
* Always show a message if an OS error occurs while trying to run a
 
1628
  user-specified commit message editor.
 
1629
  (Martin Pool, #504842)
 
1630
 
 
1631
* ``bzr diff`` will now use the epoch when it is unable to determine 
 
1632
  the timestamp of a file, if the revision it was introduced in is a
 
1633
  ghost. (Jelmer Vernooij, #295611)
 
1634
 
 
1635
* ``bzr switch -b`` can now create branches that are located using directory
 
1636
  services such as ``lp:``, even when the branch name doesn't contain a
 
1637
  '/'.  (Neil Martinsen-Burrell, #495263)
 
1638
 
 
1639
* ``bzr unshelve`` has improved messages about what it is doing.
 
1640
  (Neil Martinsen-Burrell, #496917)
 
1641
 
 
1642
* Concurrent autopacking is more resilient to already-renamed pack files.
 
1643
  If we find that a file we are about to obsolete is already obsoleted, we
 
1644
  do not try to rename it, and we leave the file in ``obsolete_packs``.
 
1645
  The code is also fault tolerant if a file goes missing, assuming that
 
1646
  another process already removed the file.
 
1647
  (John Arbash Meinel, Gareth White, #507557)
 
1648
 
 
1649
* Fix "Too many concurrent requests" in reconcile when network connection
 
1650
  fails.  (Andrew Bennetts, #503878)
 
1651
 
 
1652
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
 
1653
  that caused some tests to fail when run in a non-default order.
 
1654
  Probably no user impact.  (Martin Pool, #504102)
 
1655
 
 
1656
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
 
1657
  (Andrew Bennetts, #506274)
 
1658
 
 
1659
* FTP transports support Unicode paths by encoding/decoding them as utf8.
 
1660
  (Vincent Ladeuil, #472161)
 
1661
 
 
1662
* Listen to the SIGWINCH signal to update the terminal width.
 
1663
  (Vincent Ladeuil, #316357)
 
1664
 
 
1665
* Progress bars are now hidden when ``--quiet`` is given.
 
1666
  (Martin Pool, #320035)
 
1667
 
 
1668
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
 
1669
  whatever is written to it.  This un-breaks some plugin tests that
 
1670
  depended on this behaviour.
 
1671
  (Martin Pool, #499757)
 
1672
 
 
1673
* When operations update the working tree, all affected files should end
 
1674
  up with the same mtime. (eg. when versioning a generated file, if you
 
1675
  update the source and the generated file together, the generated file
 
1676
  should appear up-to-date.)
 
1677
  (John Arbash Meinel, Martin <gzlist>, #488724)
 
1678
 
 
1679
Improvements
 
1680
************
 
1681
 
 
1682
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
 
1683
  All the builtin commands now use ``add_cleanup`` rather than
 
1684
  ``try``/``finally`` blocks where applicable as it is simpler and more
 
1685
  robust.  (Andrew Bennetts)
 
1686
 
 
1687
* All except a small number of storage formats are now hidden, making
 
1688
  the help for numerous commands far more digestible. (Ian Clatworthy)
 
1689
 
 
1690
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
 
1691
  path/to/repo``) will now include "location is a repository" as a hint in
 
1692
  the error message.  (Brian de Alwis, Andrew Bennetts, #440952)
 
1693
 
 
1694
* Push will now inform the user when they are trying to push to a foreign 
 
1695
  VCS for which roundtripping is not supported, and will suggest them to 
 
1696
  use dpush. (Jelmer Vernooij)
 
1697
 
 
1698
* The version of bzr being run is now written to the log file.
 
1699
  (__monty__, #257170)
 
1700
 
 
1701
* Transport network activity indicator is shown more of the time when
 
1702
  Bazaar is doing network IO.
 
1703
  (Martin Pool)
 
1704
 
 
1705
Documentation
 
1706
*************
 
1707
 
 
1708
* Add documentation on creating merges with more than one parent.
 
1709
  (Neil Martinsen-Burrell, #481526)
 
1710
 
 
1711
* Better explain the --uncommitted option of merge.
 
1712
  (Neil Martinsen-Burrell, #505088)
 
1713
 
 
1714
* Improve discussion of pending merges in the documentation for
 
1715
  ``revert``.  (Neil Martinsen-Burrell, #505093)
 
1716
 
 
1717
* Improved help for ``bzr send``. 
 
1718
  (Martin Pool, Bojan Nikolic)
 
1719
 
 
1720
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
 
1721
  including discussions of installation, relevant plugins, security and 
 
1722
  backup. (Neil Martinsen-Burrell)
 
1723
 
 
1724
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
 
1725
  (Ian Clatworthy)
 
1726
 
 
1727
* The User Reference is now presented as a series of topics.
 
1728
  Many of the included topics have link and format tweaks applied.
 
1729
  (Ian Clatworthy)
 
1730
 
 
1731
API Changes
 
1732
***********
 
1733
 
 
1734
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
 
1735
  (Andrew Bennetts)
 
1736
 
 
1737
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
 
1738
  to be consistent with instances being lower case and classes being
 
1739
  CamelCase. For the features that were more likely to be used, we added a
 
1740
  deprecation thunk, but not all. (John Arbash Meinel)
 
1741
 
 
1742
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
 
1743
  parameter in their constructors, and provide ``this_branch`` as an
 
1744
  attribute. (Andrew Bennetts)
 
1745
  
 
1746
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
 
1747
  by plugins - the original exceptions are now preserved. (Robert Collins)
 
1748
 
 
1749
* The Transport ``Server.tearDown`` method is now renamed to
 
1750
  ``stop_server`` and ``setUp`` to ``start_server`` for consistency with
 
1751
  our normal naming pattern, and to avoid confusion with Python's
 
1752
  ``TestCase.tearDown``.  (Martin Pool)
 
1753
 
 
1754
* ``WorkingTree.update`` implementations must now accept a ``revision``
 
1755
  parameter.
 
1756
 
 
1757
Internals
 
1758
*********
 
1759
 
 
1760
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
 
1761
  a string of details (such as "location is a repository") as part of a
 
1762
  ``nobranch`` response.  (Andrew Bennetts, #440952)
 
1763
  
 
1764
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
 
1765
  objects but passes str objects straight through. This is used for
 
1766
  selftest but may be useful for diff and other operations that generate
 
1767
  mixed output. (Robert Collins)
 
1768
 
 
1769
* New exception ``NoRoundtrippingSupport``, for use by foreign branch 
 
1770
  plugins. (Jelmer Vernooij)
 
1771
 
 
1772
Testing
 
1773
*******
 
1774
 
 
1775
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
 
1776
  running all tests in the current module, once against a pure python
 
1777
  implementation, and once against an extension (pyrex/C) implementation.
 
1778
  It can be used to dramatically simplify the implementation of
 
1779
  ``load_tests``.  (John Arbash Meinel)
 
1780
 
 
1781
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
 
1782
  This permits features in testtools such as getUniqueInteger and
 
1783
  getUniqueString to be used. Because of this, testtools version 0.9.2 or
 
1784
  newer is now a dependency to run bzr selftest. Running with versions of
 
1785
  testtools less than 0.9.2 will cause bzr to error while loading the test
 
1786
  suite. (Robert Collins)
 
1787
 
 
1788
* Shell-like tests now support the command "mv" for moving files.  The
 
1789
  syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
 
1790
  supported.  (Neil Martinsen-Burrell)
 
1791
 
 
1792
* The test progress bar no longer distinguishes tests that 'errored' from
 
1793
  tests that 'failed' - they're all just failures.
 
1794
  (Martin Pool)
 
1795
 
 
1796
bzr 2.0.6
 
1797
#########
 
1798
 
 
1799
:2.0.6: NOT RELEASED YET
 
1800
 
 
1801
Bug Fixes
 
1802
*********
 
1803
 
 
1804
* Additional merges after an unrelated branch has been merged with its
 
1805
  history no longer crash when deleted files are involved.
 
1806
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
1807
 
 
1808
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
 
1809
  previously-unversioned directory within the tree: the directory is
 
1810
  marked versioned too.  
 
1811
  (Martin Pool, #192859)
 
1812
 
 
1813
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
1814
  target of the symlink.
 
1815
  (Martin Pool, John Arbash Meinel, #128562)
 
1816
 
 
1817
* ``bzr revert`` now only takes write lock on working tree, instead of on 
 
1818
  both working tree and branch.
 
1819
  (Danny van Heumen, #498409)
 
1820
 
 
1821
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
1822
  permissions as ``.bzr`` directory on a POSIX OS.
 
1823
  (Parth Malwankar, #262450)
 
1824
 
 
1825
* Don't traceback trying to unversion children files of an already
 
1826
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1827
 
 
1828
* Fix ``AttributeError on parent.children`` when adding a file under a 
 
1829
  directory that was a symlink in the previous commit.
 
1830
  (Martin Pool, #192859)
 
1831
 
 
1832
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
1833
  which can result in "missing referenced chk root keys" errors when
 
1834
  fetching from repositories with affected revisions.
 
1835
  (Andrew Bennetts, #522637)
 
1836
 
 
1837
* Raise ValueError instead of a string exception.
 
1838
  (John Arbash Meinel, #586926)
 
1839
 
 
1840
* Reduce peak memory by one copy of compressed text.
 
1841
  (John Arbash Meinel, #566940)
 
1842
 
 
1843
* Repositories accessed via a smart server now reject being stacked on a
 
1844
  repository in an incompatible format, as is the case when accessing them
 
1845
  via other methods.  This was causing fetches from those repositories via
 
1846
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
1847
  (Andrew Bennetts, #562380)
 
1848
 
 
1849
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1850
  error. This error was caused by 2.0 not being updated when upstream
 
1851
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1852
  ``done``. (Robert Collins, #571437)
 
1853
 
 
1854
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1855
  directory file handle after the chdir fails. Otherwise when passing many
 
1856
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1857
  (John Arbash Meinel, #583486)
 
1858
 
 
1859
 
 
1860
Testing
 
1861
*******
 
1862
 
 
1863
* ``build_tree_contents`` can create symlinks.
 
1864
  (Martin Pool, John Arbash Meinel)
 
1865
 
 
1866
 
 
1867
bzr 2.0.5
 
1868
#########
 
1869
 
 
1870
:2.0.5: 2010-03-23
 
1871
 
 
1872
This fifth release in our 2.0 series addresses several user-inconvenience
 
1873
bugs.  None are critical, but upgrading is recommended for all users on
 
1874
earlier 2.0 releases.
 
1875
 
 
1876
Bug Fixes
 
1877
*********
 
1878
 
 
1879
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
1880
  (Martin Pool, #331095)
 
1881
 
 
1882
* Concurrent autopacking is more resilient to already-renamed pack files.
 
1883
  If we find that a file we are about to obsolete is already obsoleted, we
 
1884
  do not try to rename it, and we leave the file in ``obsolete_packs``.
 
1885
  The code is also fault tolerant if a file goes missing, assuming that
 
1886
  another process already removed the file.
 
1887
  (John Arbash Meinel, Gareth White, #507557)
 
1888
 
 
1889
* Cope with the lockdir ``held/info`` file being empty, which seems to
 
1890
  happen fairly often if the process is suddenly interrupted while taking
 
1891
  a lock.
 
1892
  (Martin Pool, #185103)
 
1893
 
 
1894
* Give the warning about potentially slow cross-format fetches much
 
1895
  earlier on in the fetch operation.  Don't show this message during
 
1896
  upgrades, and show the correct format indication for remote
 
1897
  repositories.
 
1898
  (Martin Pool, #456077, #515356, #513157)
 
1899
 
 
1900
* Handle renames correctly when there are files or directories that 
 
1901
  differ only in case.  (Chris Jones, Martin Pool, #368931)
 
1902
 
 
1903
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
 
1904
  error, report that error rather than failing with an unhelpful
 
1905
  ``UnboundLocalError``.
 
1906
  (Andrew Bennetts, #423563)
 
1907
 
 
1908
* Running ``bzr`` command without any arguments now shows bzr
 
1909
  version number along with rest of the help text.
 
1910
  (Parth Malwankar, #369501)
 
1911
 
 
1912
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
 
1913
  errors.
 
1914
  (Inada Naoki, #524560)
 
1915
 
 
1916
Documentation
 
1917
*************
 
1918
 
 
1919
* Added ``location-alias`` help topic.
 
1920
  (Andrew Bennetts, #337834)
 
1921
 
 
1922
* Fixed CHM generation by moving the NEWS section template into
 
1923
  a separate file. (Ian Clatworthy, #524184)
 
1924
 
 
1925
 
 
1926
bzr 2.0.4
 
1927
#########
 
1928
 
 
1929
:Codename: smooth sailing
 
1930
:2.0.4: 2010-01-21
 
1931
 
 
1932
The fourth bugfix-only release in the 2.0 series contains more than a
 
1933
dozen bugfixes relative to 2.0.3. The primary focus is on handling
 
1934
interruptions and concurrent operations more cleanly, there is also a fair
 
1935
improvement to ``bzr export`` when exporting a remote branch.
 
1936
 
 
1937
 
 
1938
Bug Fixes
 
1939
*********
 
1940
 
 
1941
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
 
1942
  fails with an ``ObjectNotLocked`` error.  (Andrew Bennetts, #496590)
 
1943
 
 
1944
* ``bzr export dir`` now requests all file content as a record stream,
 
1945
  rather than requsting the file content one file-at-a-time. This can make
 
1946
  exporting over the network significantly faster (54min => 9min in one
 
1947
  case). (John Arbash Meinel, #343218)
 
1948
 
 
1949
* ``bzr serve`` no longer slowly leaks memory. The compiled
 
1950
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
 
1951
  free resources, and it should have been using ``__dealloc__``.
 
1952
  This will likely have an impact on any other process that is serving for
 
1953
  an extended period of time.  (John Arbash Meinel, #494406)
 
1954
 
 
1955
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
 
1956
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
 
1957
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
 
1958
 
 
1959
* Concurrent autopacks will no longer lose a newly created pack file.
 
1960
  There was a race condition, where if the reload happened at the right
 
1961
  time, the second packer would forget the name of the newly added pack
 
1962
  file. (John Arbash Meinel, Gareth White, #507566)
 
1963
 
 
1964
* Give a clearer message if the lockdir disappears after being apparently
 
1965
  successfully taken.  (Martin Pool, #498378)
 
1966
 
 
1967
* Give a warning when fetching between repositories (local or remote) with
 
1968
  sufficiently different formats that the content will need to be
 
1969
  serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
 
1970
  the user has a clue that upgrading could make it faster.
 
1971
  (Martin Pool, #456077)
 
1972
 
 
1973
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
 
1974
  than using ``warning()``. The log file is opened before logging is set
 
1975
  up, and it leads to very confusing: 'no handlers for "bzr"' messages for
 
1976
  users, rather than something nicer.
 
1977
  (John Arbash Meinel, Barry Warsaw, #503886)
 
1978
 
 
1979
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
 
1980
  (Martin Pool, John Arbash Meinel, #449372)
 
1981
 
 
1982
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
 
1983
  build. (there is still the distutils bug
 
1984
  http://bugs.python.org/issue644744) (Joe Julian, #175839)
 
1985
 
 
1986
* The 2a format wasn't properly restarting autopacks when something
 
1987
  changed underneath it (like another autopack). Now concurrent
 
1988
  autopackers will properly succeed. (John Arbash Meinel, #495000)
 
1989
 
 
1990
* ``TreeTransform`` can now handle when a delta says that the file id for
 
1991
  the tree root changes. Rather than trying to rename your working
 
1992
  directory, or failing early saying that you can't have multiple
 
1993
  tree roots. This also fixes revert, update, and pull when the root id
 
1994
  changes.  (John Arbash Meinel, #494269, #504390)
 
1995
 
 
1996
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
 
1997
  the right time will get propagated, rather than silently failing to move
 
1998
  the block pointer. (John Arbash Meinel, Gareth White, #495023)
 
1999
 
 
2000
Testing
 
2001
*******
 
2002
 
 
2003
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
 
2004
  handle exceptions somehow. (Possibly by setting ``# cannot_raise``
 
2005
  rather than an ``except ?:`` clause.) This should help prevent bugs like
 
2006
  bug #495023. (John Arbash Meinel)
 
2007
 
 
2008
 
 
2009
bzr 2.1.0b4
 
2010
###########
 
2011
 
 
2012
:Codename: san francisco airport
 
2013
:2.1.0b4: 2009-12-14
 
2014
 
 
2015
The fourth beta release in the 2.1 series brings with it a significant
 
2016
number of bugfixes (~20). The test suite is once again (finally) "green"
 
2017
on Windows, and should remain that way for future releases. There are a
 
2018
few performance related updates (faster upgrade and log), and several UI
 
2019
tweaks. There has also been a significant number of tweaks to the runtime
 
2020
documentation. 2.1.0b4 include everything from the 2.0.3 release.
 
2021
 
 
2022
 
 
2023
Compatibility Breaks
 
2024
********************
 
2025
 
 
2026
* The BZR_SSH environmental variable may now be set to the path of a secure
 
2027
  shell client. If currently set to the value ``ssh`` it will now guess the
 
2028
  vendor of the program with that name, to restore the old behaviour that
 
2029
  indicated the SSH Corporation client use ``sshcorp`` instead as the magic
 
2030
  string. (Martin <gzlist@googlemail.com>, #176292)
 
2031
 
 
2032
New Features
 
2033
************
 
2034
 
 
2035
* ``bzr commit`` now has a ``--commit-time`` option.
 
2036
  (Alexander Sack, #459276)
 
2037
 
 
2038
* ``-Dhpss`` now increases logging done when run on the bzr server,
 
2039
  similarly to how it works on the client. (John Arbash Meinel)
 
2040
 
 
2041
* New option ``bzr unshelve --keep`` applies the changes and leaves them
 
2042
  on the shelf.  (Martin Pool, Oscar Fuentes, #492091)
 
2043
 
 
2044
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
 
2045
  respect a given terminal width. This can be useful when output is
 
2046
  redirected or in obscure cases where the default value is not
 
2047
  appropriate. Pagers can use it to get a better control of the line
 
2048
  lengths. 
 
2049
  (Vincent Ladeuil)
 
2050
 
 
2051
* The new command ``bzr lp-mirror`` will request that Launchpad update its
 
2052
  mirror of a local branch. This command will only function if launchpadlib
 
2053
  is installed.
 
2054
  (Jonathan Lange)
 
2055
 
 
2056
 
 
2057
Bug Fixes
 
2058
*********
 
2059
 
 
2060
* After renaming a file, the dirstate could accidentally reference
 
2061
  ``source\\path`` rather than ``source/path`` on Windows. This might be a
 
2062
  source of some dirstate-related failures. (John Arbash Meinel)
 
2063
 
 
2064
* ``bzr commit`` now detects commit messages that looks like file names
 
2065
  and issues a warning.
 
2066
  (Gioele Barabucci, #73073)
 
2067
 
 
2068
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
 
2069
 
 
2070
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
 
2071
  (#325618, #484109, Marius Kruger)
 
2072
 
 
2073
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
 
2074
  files with conflicts (similar to ``--merge3``). The contents of the file
 
2075
  is a synthesis of all bases used for the merge.
 
2076
  (John Arbash Meinel, #40412)
 
2077
 
 
2078
* ``bzr mv --quiet`` really is quiet now.  (Gordon Tyler, #271790)
 
2079
 
 
2080
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
 
2081
  (Robert Collins, #84659)
 
2082
 
 
2083
* ``bzr serve --quiet`` really is quiet now.  (Gordon Tyler, #252834)
 
2084
 
 
2085
* Fix bug with redirected URLs over authenticated HTTP.
 
2086
  (Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
 
2087
 
 
2088
* Interactive merge doesn't leave branch locks behind.  (Aaron Bentley)
 
2089
 
 
2090
* Lots of bugfixes for the test suite on Windows. We should once again
 
2091
  have a test suite with no failures on Windows. (John Arbash Meinel)
 
2092
 
 
2093
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
 
2094
  variable but returns None if the terminal is not a tty (when output is
 
2095
  redirected for example). Also fixes its usage under OSes that doesn't
 
2096
  provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
 
2097
  windows too.
 
2098
  (Joke de Buhr, Vincent Ladeuil, #353370, #62539)
 
2099
  (John Arbash Meinel, Vincent Ladeuil, #492561)
 
2100
 
 
2101
* Terminate ssh subprocesses when no references to them remain, fixing
 
2102
  subprocess and file descriptor leaks.  (Andrew Bennetts, #426662)
 
2103
  
 
2104
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
 
2105
  works for 2a format trees.  Only files unaffected by content filters
 
2106
  will be hardlinked.  (Andrew Bennetts, #408193)
 
2107
 
 
2108
* The new glob expansion on Windows would replace all ``\`` characters
 
2109
  with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
 
2110
  etc. Now only change slashes if there is something being glob expanded.
 
2111
  (John Arbash Meinel, #485771)
 
2112
 
 
2113
* Use our faster ``KnownGraph.heads()`` functionality when computing the
 
2114
  new rich-root heads. This can cut a conversion time in half (mysql from
 
2115
  13.5h => 6.2h) (John Arbash Meinel, #487632)
 
2116
 
 
2117
* When launching a external diff tool via bzr diff --using, temporary files
 
2118
  are no longer created, rather, the path to the file in the working tree is
 
2119
  passed to the external diff tool. This allows the file to be edited if the
 
2120
  diff tool provides for this. (Gary van der Merwe, #490738)
 
2121
  
 
2122
* The launchpad-open command can now be used from a subdirectory of a
 
2123
  branch, not just from the root of the branch. 
 
2124
  (Neil Martinsen-Burrell, #489102)
 
2125
 
 
2126
 
 
2127
Improvements
 
2128
************
 
2129
 
 
2130
* ``bzr log`` is now faster. (Ian Clatworthy)
 
2131
 
 
2132
* ``bzr update`` provides feedback on which branch it is up to date with.
 
2133
  (Neil Martinsen-Burrell)
 
2134
 
 
2135
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
 
2136
  For details see the xml8 patch and heads() improvements.
 
2137
  (John Arbash Meinel)
 
2138
 
 
2139
* ``bzrlib.urlutils.local_path_from_url`` now accepts
 
2140
  'file://localhost/' as well as 'file:///' URLs on POSIX.  (Michael
 
2141
  Hudson)
 
2142
 
 
2143
* The progress bar now shows only a spinner and per-operation counts,
 
2144
  not an overall progress bar.  The previous bar was often not correlated
 
2145
  with real overall operation progress, either because the operations take
 
2146
  nonlinear time, or because at the start of the operation Bazaar couldn't
 
2147
  estimate how much work there was to do.  (Martin Pool)
 
2148
 
 
2149
Documentation
 
2150
*************
 
2151
 
 
2152
* Lots of documentation tweaks for inline help topics and command help
 
2153
  information.
 
2154
 
 
2155
API Changes
 
2156
***********
 
2157
 
 
2158
* ``bzrlib.textui`` (vestigial module) removed.  (Martin Pool)
 
2159
 
 
2160
* The Launchpad plugin now has a function ``login`` which will log in to
 
2161
  Launchpad with launchpadlib, and ``load_branch`` which will return the
 
2162
  Launchpad Branch object corresponding to a given Bazaar Branch object.
 
2163
  (Jonathan Lange)
 
2164
 
 
2165
Internals
 
2166
*********
 
2167
 
 
2168
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
 
2169
  easier to handle what tests you want to run based on what modules can be
 
2170
  imported. (Rather than lots of custom-implemented features that were
 
2171
  basically copy-and-pasted.) (John Arbash Meinel)
 
2172
 
 
2173
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
 
2174
  ``time.clock()`` when you want to do performance timing.
 
2175
  ``time.time()`` is limited to 15ms resolution on Windows, but
 
2176
  ``time.clock()`` gives CPU and not wall-clock time on other platforms.
 
2177
  (John Arbash Meinel)
 
2178
 
 
2179
* Several code paths that were calling ``Transport.get().read()`` have
 
2180
  been changed to the equalivent ``Transport.get_bytes()``. The main
 
2181
  difference is that the latter will explicitly call ``file.close()``,
 
2182
  rather than expecting the garbage collector to handle it. This helps
 
2183
  with some race conditions on Windows during the test suite and sftp
 
2184
  tests. (John Arbash Meinel)
 
2185
 
 
2186
Testing
 
2187
*******
 
2188
 
 
2189
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
 
2190
  unicode strings. (Michael Hudson, #464174)
 
2191
 
 
2192
 
 
2193
bzr 2.0.3
 
2194
#########
 
2195
 
 
2196
:Codename: little italy
 
2197
:2.0.3: 2009-12-14
 
2198
 
 
2199
 
 
2200
The third stable release of Bazaar has a small handful of bugfixes. As
 
2201
expected, this has no internal or external compatibility changes versus
 
2202
2.0.2 (or 2.0.0).
 
2203
 
 
2204
Bug Fixes
 
2205
*********
 
2206
 
 
2207
* ``bzr push --use-existing-dir`` no longer crashes if the directory
 
2208
  exists but contains an invalid ``.bzr`` directory.
 
2209
  (Andrew Bennetts, #423563)
 
2210
 
 
2211
* Content filters are now applied correctly after pull, merge and switch.
 
2212
  (Ian Clatworthy, #385879)
 
2213
 
 
2214
* Fix a potential segfault in the groupcompress hash map handling code.
 
2215
  When inserting new entries, if the final hash bucket was empty, we could
 
2216
  end up trying to access if ``(last_entry+1)->ptr == NULL``.
 
2217
  (John Arbash Meinel, #490228)
 
2218
 
 
2219
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
 
2220
 
 
2221
 
 
2222
bzr 2.1.0b3
 
2223
###########
 
2224
 
 
2225
:Codename: after sprint recovery
 
2226
:2.1.0b3: 2009-11-16
 
2227
 
 
2228
This release was pushed up from its normal release cycle due to a
 
2229
regression in python 2.4 compatibility in 2.1.0b2.  Since this regression
 
2230
was caught before 2.1.0b2 was officially announced, the full changelog
 
2231
includes both 2.1.0b3 and 2.1.0b2 changes.
 
2232
 
 
2233
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
 
2234
the test suite now conforms to python's trunk enhanced semantics (skip,
 
2235
etc.), and ``bzr info -v`` will now report the correct branch and repo
 
2236
formats for Remote objects.
 
2237
 
 
2238
 
 
2239
New Features
 
2240
************
 
2241
 
 
2242
* Users can define a shelve editor to provide shelf functionality at a
 
2243
  granularity finer than per-patch-hunk. (Aaron Bentley)
 
2244
 
 
2245
Bug Fixes
 
2246
*********
 
2247
 
 
2248
* Fix for shell completion and short options.  (Benoît PIERRE)
 
2249
 
 
2250
* Fix ``bzr --profile-imports`` with Python 2.6.  (Martin Pool)
 
2251
 
 
2252
* Hooks daughter classes should always call the base constructor.
 
2253
  (Alexander Belchenko, Vincent Ladeuil, #389648) 
 
2254
 
 
2255
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
 
2256
 
 
2257
* On Windows, do glob expansion at the command-line level (as is usually
 
2258
  done in bash, etc.) This means that *all* commands get glob expansion
 
2259
  (bzr status, bzr add, bzr mv, etc). It uses a custom command line
 
2260
  parser, which allows us to know if a given section was quoted. It means
 
2261
  you can now do ``bzr ignore "*.py"``.
 
2262
  (John Arbash Meinel, #425510, #426410, #194450)
 
2263
 
 
2264
* Sanitize commit messages that come in from the '-m' flag. We translate
 
2265
  '\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
 
2266
  allow those because XML store silently translate it anyway. (The parser
 
2267
  auto-translates \r\n => \n in ways that are hard for us to catch.)
 
2268
 
 
2269
* Show correct branch and repository format descriptions in 
 
2270
  ``bzr info -v`` on a smart server location.  (Andrew Bennetts, #196080)
 
2271
 
 
2272
* The fix for bug #186920 accidentally broke compatibility with python
 
2273
  2.4.  (Vincent Ladeuil, #475585)
 
2274
 
 
2275
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
 
2276
  correctly sets ``self.inv_sha1`` to a sha1 string and
 
2277
  ``self.new_inventory`` to an Inventory instance after calling
 
2278
  ``self.finish_inventory()``. (Previously it accidently set both values
 
2279
  as a tuple on ``self.inv_sha1``. This was missed because
 
2280
  ``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
 
2281
  the sha1 from the repo directly. (John Arbash Meinel)
 
2282
 
 
2283
* Shelve command refuse to run if there is no real terminal.
 
2284
  (Alexander Belchenko)
 
2285
 
 
2286
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
 
2287
  Python level.  (Martin Pool)
 
2288
 
 
2289
Documentation
 
2290
*************
 
2291
 
 
2292
* Include Japanese translations for documentation (Inada Naoki)
 
2293
 
 
2294
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
 
2295
  (rather than user-interaction) data to stdout.  This automatically
 
2296
  coordinates with progress bars or other terminal activity, and can be
 
2297
  overridden by GUIs.
 
2298
  (Martin Pool, 493944)
 
2299
 
 
2300
Internals
 
2301
*********
 
2302
 
 
2303
* Some of the core groupcompress functionality now releases the GIL before
 
2304
  operation. Similar to how zlib and bz2 operate without the GIL in the
 
2305
  core compression and decompression routines. (John Arbash Meinel)
 
2306
 
 
2307
Testing
 
2308
*******
 
2309
 
 
2310
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
 
2311
  more debugging of VFS access triggers. (Robert Collins)
 
2312
 
 
2313
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
 
2314
  method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
 
2315
 
 
2316
* ``--parallel=fork`` is now compatible with --subunit.
 
2317
  (Robert Collins, Vincent Ladeuil, #419776)
 
2318
 
 
2319
* Reporting of failures shows test ids not descriptions and thus shows
 
2320
  parameterised tests correctly. (Robert Collins)
 
2321
 
 
2322
* TestNotApplicable is now handled within the TestCase.run method rather
 
2323
  than being looked for within ``ExtendedTestResult.addError``. This
 
2324
  provides better handling with other ``TestResult`` objects, degrading to
 
2325
  sucess rather than error. (Robert Collins)
 
2326
 
 
2327
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
 
2328
  removed - it was empty and unused. (Robert Collins)
 
2329
 
 
2330
* UnavailableFeature is now handled within the TestCase.run method rather
 
2331
  than being looked for within addError. If the Result object does not
 
2332
  have an addNotSupported method, addSkip is attempted instead, and
 
2333
  failing that addSuccess. (Robert Collins)
 
2334
 
 
2335
* When a TestResult does not have an addSkip method, skipped tests are now
 
2336
  reported as successful tests, rather than as errors. This change is
 
2337
  to make it possible to get a clean test run with a less capable
 
2338
  TestResult. (Robert Collins)
 
2339
 
 
2340
 
 
2341
 
 
2342
bzr 2.1.0b2
 
2343
###########
 
2344
 
 
2345
:Codename: a load off my mind
 
2346
:2.1.0b2: 2009-11-02
 
2347
 
 
2348
This is our second feature-filled release since 2.0, pushing us down the
 
2349
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
 
2350
 
 
2351
Key highlights in this release are: improved handling of
 
2352
failures-during-cleanup for commit, fixing a long-standing bug with
 
2353
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
 
2354
behind proxies, and a new StaticTuple datatype, allowing us to reduce
 
2355
memory consumption (50%) and garbage collector overhead (40% faster) for
 
2356
many operations.
 
2357
 
 
2358
* A new ``--concurrency`` option has been added as well as an associated
 
2359
  BZR_CONCURRENCY environment variable to specify the number of
 
2360
  processes that can be run concurrently when running ``bzr selftest``. The
 
2361
  command-line option overrides the environment variable if both are
 
2362
  specified. If none is specified. the number of processes is obtained
 
2363
  from the OS as before.  (Matt Nordhoff, Vincent Ladeuil)
 
2364
 
 
2365
Bug Fixes
 
2366
*********
 
2367
 
 
2368
* ``bzr+http`` servers no longer give spurious jail break errors when
 
2369
  serving branches inside a shared repository.  (Andrew Bennetts, #348308)
 
2370
 
 
2371
* Errors during commit are handled more robustly so that knock-on errors
 
2372
  are less likely to occur, and will not obscure the original error if
 
2373
  they do occur.  This fixes some causes of ``TooManyConcurrentRequests``
 
2374
  and similar errors.  (Andrew Bennetts, #429747, #243391)
 
2375
 
 
2376
* Launchpad urls can now be resolved from behind proxies.
 
2377
  (Gordon Tyler, Vincent Ladeuil, #186920)
 
2378
 
 
2379
* Reduce the strictness for StaticTuple, instead add a debug flag
 
2380
  ``-Dstatic_tuple`` which will change apis to be strict and raise errors.
 
2381
  This way, most users won't see failures, but developers can improve
 
2382
  internals. (John Arbash Meinel, #471193)
 
2383
 
 
2384
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
 
2385
  files.  (Aaron Bentley)
 
2386
 
 
2387
* Unicode paths are now handled correctly and consistently by the smart
 
2388
  server.  (Andrew Bennetts, Michael Hudson, #458762)
 
2389
 
 
2390
Improvements
 
2391
************
 
2392
 
 
2393
* When reading index files, we now use a ``StaticTuple`` rather than a
 
2394
  plain ``tuple`` object. This generally gives a 20% decrease in peak
 
2395
  memory, and can give a performance boost up to 40% on large projects.
 
2396
  (John Arbash Meinel)
 
2397
 
 
2398
* Peak memory under certain operations has been reduced significantly.
 
2399
  (eg, 'bzr branch launchpad standalone' is cut in half)
 
2400
  (John Arbash Meinel)
 
2401
 
 
2402
Documentation
 
2403
*************
 
2404
 
 
2405
* Filtered views user documentation upgraded to refer to format 2a
 
2406
  instead of pre-2.0 formats. (Ian Clatworthy)
 
2407
 
 
2408
API Changes
 
2409
***********
 
2410
 
 
2411
* Remove deprecated ``CLIUIFactory``.  (Martin Pool)
 
2412
 
 
2413
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
 
2414
  ``show_warning`` methods, which can be hooked by non-text UIs.  
 
2415
  (Martin Pool)
 
2416
 
 
2417
Internals
 
2418
*********
 
2419
 
 
2420
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
 
2421
  Dict (it only holds keys, but you can lookup the object located at a
 
2422
  given key). It has significantly reduced memory consumption versus the
 
2423
  builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
 
2424
  used as the interning structure for StaticTuple objects.
 
2425
  (John Arbash Meinel)
 
2426
 
 
2427
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
 
2428
  the btree index parser and the chk map parser. This class functions
 
2429
  similarly to ``tuple`` objects. However, it can only point to a limited
 
2430
  collection of types.  (Currently StaticTuple, str, unicode, None, bool,
 
2431
  int, long, float, but not subclasses).  This allows us to remove it from
 
2432
  the garbage collector (it cannot be in a cycle), it also allows us to
 
2433
  intern the objects. In testing, this can reduce peak memory by 20-40%,
 
2434
  and significantly improve performance by removing objects from being
 
2435
  inspected by the garbage collector.  (John Arbash Meinel)
 
2436
 
 
2437
* ``GroupCompressBlock._ensure_content()`` will now release the
 
2438
  ``zlib.decompressobj()`` when the first request is for all of the
 
2439
  content. (Previously it would only be released if you made a request for
 
2440
  part of the content, and then all of it later.) This turns out to be a
 
2441
  significant memory savings, as a ``zstream`` carries around approx 260kB
 
2442
  of internal state and buffers. (For branching bzr.dev this drops peak
 
2443
  memory from 382MB => 345MB.) (John Arbash Meinel)
 
2444
 
 
2445
* When streaming content between ``2a`` format repositories, we now clear
 
2446
  caches from earlier versioned files. (So 'revisions' is cleared when we
 
2447
  start reading 'inventories', etc.) This can have a significant impact on
 
2448
  peak memory for initial copies (~200MB). (John Arbash Meinel)
 
2449
 
 
2450
 
 
2451
bzr 2.0.2
 
2452
#########
 
2453
 
 
2454
:Codename: after the scare
 
2455
:2.0.2: 2009-11-02
 
2456
 
 
2457
The second in our "let's keep the stable bugfixes flowing" series. As
 
2458
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
 
2459
changes or features.
 
2460
 
 
2461
Bug Fixes
 
2462
*********
 
2463
 
 
2464
* Avoid "NoneType has no attribute st_mode" error when files disappear
 
2465
  from a directory while it's being read.  (Martin Pool, #446033)
 
2466
 
 
2467
* Content filters are now applied correctly after revert.
 
2468
  (Ian Clatworthy)
 
2469
 
 
2470
* Diff parsing handles "Binary files differ" hunks.  (Aaron Bentley, #436325)
 
2471
 
 
2472
* Fetching from stacked pre-2a repository via a smart server no longer
 
2473
  fails intermittently with "second push failed to complete".
 
2474
  (Andrew Bennetts, #437626)
 
2475
 
 
2476
* Fix typos left after test_selftest refactoring.
 
2477
  (Vincent Ladeuil, Matt Nordhoff, #461149)
 
2478
 
 
2479
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
 
2480
  (Andrew Bennetts, #445171)
 
2481
  
 
2482
* PreviewTree file names are not limited by the encoding of the temp
 
2483
  directory's filesystem. (Aaron Bentley, #436794)
 
2484
 
 
2485
Improvements
 
2486
************
 
2487
 
 
2488
* ``bzr log`` now read-locks branches exactly once, so makes better use of
 
2489
  data caches.  (Andrew Bennetts)
 
2490
 
 
2491
Documentation
 
2492
*************
 
2493
 
 
2494
* Filtered views user documentation upgraded to refer to format 2a
 
2495
  instead of pre-2.0 formats. (Ian Clatworthy)
 
2496
 
 
2497
 
 
2498
bzr 2.1.0b1
 
2499
###########
 
2500
 
 
2501
:Codename: While the cat is away
 
2502
:2.1.0b1: 2009-10-14
 
2503
 
 
2504
This is the first development release in the new split "stable" and
 
2505
"development" series. As such, the release is a snapshot of bzr.dev
 
2506
without creating a release candidate first. This release includes a
 
2507
fair amount of internal changes, with deprecated code being removed,
 
2508
and several new feature developments. People looking for a stable code
 
2509
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
 
2510
present in 2.0.1 are present in 2.1.0b1.
 
2511
 
 
2512
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
 
2513
finer control over the plugin search path via extended BZR_PLUGIN_PATH
 
2514
syntax, visible warnings when extension modules fail to load, and improved
 
2515
error handling during unlocking.
 
2516
 
 
2517
 
 
2518
New Features
 
2519
************
 
2520
 
 
2521
* Bazaar can now send mail through Apple OS X Mail.app. 
 
2522
  (Brian de Alwis)
 
2523
 
 
2524
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
 
2525
  specified in the URL.  Paths starting with a path segment of ``~`` are
 
2526
  relative to the home directory of the user running the server, and paths
 
2527
  starting with ``~user`` are relative to the home directory of the named
 
2528
  user.  For example, for a user "bob" with a home directory of
 
2529
  ``/home/bob``, these URLs are all equivalent:
 
2530
 
 
2531
  * ``bzr+ssh://bob@host/~/repo``
 
2532
  * ``bzr+ssh://bob@host/~bob/repo``
 
2533
  * ``bzr+ssh://bob@host/home/bob/repo``
 
2534
 
 
2535
  If ``bzr serve`` was invoked with a ``--directory`` argument, then no
 
2536
  home directories outside that directory will be accessible via this
 
2537
  method.
 
2538
 
 
2539
  This is a feature of ``bzr serve``, so pre-2.1 clients will
 
2540
  automatically benefit from this feature when ``bzr`` on the server is
 
2541
  upgraded.  (Andrew Bennetts, #109143)
 
2542
 
 
2543
* Extensions can now be compiled if either Cython or Pyrex is available.
 
2544
  Currently Pyrex is preferred, but that may change in the future.
 
2545
  (Arkanes)
 
2546
 
 
2547
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
 
2548
  disable the user, site and core plugin directories.
 
2549
  (Vincent Ladeuil, #412930, #316192, #145612)
 
2550
 
 
2551
Bug Fixes
 
2552
*********
 
2553
 
 
2554
* Bazaar's native protocol code now correctly handles EINTR, which most
 
2555
  noticeably occurs if you break in to the debugger while connected to a
 
2556
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
2557
  'c') and the process continues.  However, note that pressing C-\ in the
 
2558
  shell may still kill the SSH process, which is bug 162509, so you must
 
2559
  sent a signal to the bzr process specifically, for example by typing
 
2560
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
2561
 
 
2562
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
 
2563
  filename will issue a warning and skip over those files.
 
2564
  (Robert Collins, #3918)
 
2565
 
 
2566
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
 
2567
  are present in the working tree. The configuration option ``dpush_strict``
 
2568
  can be used to set the default for this behavior.
 
2569
  (Vincent Ladeuil, #438158)
 
2570
 
 
2571
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
 
2572
  merges are present in the working tree.
 
2573
  (Vincent Ladeuil, #426344)
 
2574
 
 
2575
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
2576
  traceback.  (Martin Pool, #109115)
 
2577
 
 
2578
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
 
2579
  as it is never built. (John Arbash Meinel, #430645)
 
2580
 
 
2581
* Don't restrict the command name used to run the test suite.
 
2582
  (Vincent Ladeuil, #419950)
 
2583
 
 
2584
* ftp transports were built differently when the kerberos python module was
 
2585
  present leading to obscure failures related to ASCII/BINARY modes.
 
2586
  (Vincent Ladeuil, #443041)
 
2587
 
 
2588
* Network streams now decode adjacent records of the same type into a
 
2589
  single stream, reducing layering churn. (Robert Collins)
 
2590
 
 
2591
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
 
2592
  file. (Aaron Bentley, #251532)
 
2593
 
 
2594
* Registry objects should not use iteritems() when asked to use items().
 
2595
  (Vincent Ladeuil, #430510)
 
2596
 
 
2597
* Weave based repositories couldn't be cloned when committers were using
 
2598
  domains or user ids embedding '.sig'. Now they can.
 
2599
  (Matthew Fuller, Vincent Ladeuil, #430868)
 
2600
 
 
2601
Improvements
 
2602
************
 
2603
 
 
2604
* Revision specifiers can now be given in a more DWIM form, without
 
2605
  needing explicit prefixes for specifiers like tags or revision id's.
 
2606
  See ``bzr help revisionspec`` for full details.  (Matthew Fuller)
 
2607
 
 
2608
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if 
 
2609
  compiled extensions can't be loaded.  This typically indicates a
 
2610
  packaging or installation problem.  In this case Bazaar will keep
 
2611
  running using pure-Python versions, but this may be substantially
 
2612
  slower.  The warning can be disabled by setting
 
2613
  ``ignore_missing_extensions = True`` in ``bazaar.conf``.
 
2614
  See also <https://answers.launchpad.net/bzr/+faq/703>.
 
2615
  (Martin Pool, #406113, #430529)
 
2616
 
 
2617
* Secondary errors that occur during Branch.unlock and Repository.unlock
 
2618
  no longer obscure the original error.  These methods now use a new
 
2619
  decorator, ``only_raises``.  This fixes many causes of
 
2620
  ``TooManyConcurrentRequests`` and similar errors.
 
2621
  (Andrew Bennetts, #429747)
 
2622
 
 
2623
Documentation
 
2624
*************
 
2625
 
 
2626
* Describe the new shell-like test feature. (Vincent Ladeuil)
 
2627
 
 
2628
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
2629
  currently supported. (Ian Clatworthy, #422415)
 
2630
 
 
2631
API Changes
 
2632
***********
 
2633
 
 
2634
* ``bzrlib.user_encoding`` has been removed; use
 
2635
  ``bzrlib.osutils.get_user_encoding`` instead.  (Martin Pool)
 
2636
 
 
2637
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
 
2638
  subclasses - the same as python's unittest module. (Robert Collins)
 
2639
  
 
2640
* ``diff._get_trees_to_diff`` has been renamed to 
 
2641
  ``diff.get_trees_and_branches_to_diff``. It is now a public API, and it 
 
2642
  returns the old and new branches. (Gary van der Merwe)
 
2643
 
 
2644
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
 
2645
  (Martin Pool)
 
2646
 
 
2647
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
 
2648
  now defaults to comparing to the basis tree. It now checks for pending
 
2649
  merges too.  ``Merger.check_basis`` has been deprecated and replaced by the
 
2650
  corresponding has_changes() calls. ``Merge.compare_basis``,
 
2651
  ``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
 
2652
  been deprecated.
 
2653
  (Vincent Ladeuil, #440631)
 
2654
 
 
2655
* ``ProgressTask.note`` is deprecated.
 
2656
  (Martin Pool)
 
2657
 
 
2658
Internals
 
2659
*********
 
2660
 
 
2661
* Added ``-Drelock`` debug flag.  It will ``note`` a message every time a
 
2662
  repository or branch object is unlocked then relocked the same way.
 
2663
  (Andrew Bennetts)
 
2664
  
 
2665
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
 
2666
  mallocs while parsing the index (approx 3=>1 mallocs per key read).
 
2667
  This results in a 10% speedup while reading an index.
 
2668
  (John Arbash Meinel)
 
2669
 
 
2670
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
 
2671
  profiling in some situations like callbacks and generators easier.
 
2672
  (Robert Collins)
 
2673
 
 
2674
Testing
 
2675
*******
 
2676
 
 
2677
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
 
2678
  be output for every test. Note that this is very verbose! (Robert Collins)
 
2679
 
 
2680
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
 
2681
  post_mortem to be triggered when a test failure occurs. (Robert Collins)
 
2682
 
 
2683
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
 
2684
  documentation in ``developers/testing.txt`` for details.
 
2685
  (Vincent Ladeuil)
 
2686
 
 
2687
* Some tests could end up with the same id, that was dormant for
 
2688
  a long time.
 
2689
  (Vincent Ladeuil, #442980)
 
2690
 
 
2691
* Stop showing the number of tests due to missing features in the test
 
2692
  progress bar.  (Martin Pool)
 
2693
 
 
2694
* Test parameterisation now does a shallow copy, not a deep copy of the test
 
2695
  to be parameterised. This is not expected to break external use of test
 
2696
  parameterisation, and is substantially faster. (Robert Collins)
 
2697
 
 
2698
* Tests that try to open a bzr dir on an arbitrary transport will now
 
2699
  fail unless they have explicitly permitted the transport via
 
2700
  ``self.permit_url``. The standard test factories such as ``self.get_url``
 
2701
  will permit the urls they provide automatically, so only exceptional
 
2702
  tests should need to do this. (Robert Collins)
 
2703
 
 
2704
* The break-in test no longer cares about clean shutdown of the child,
 
2705
  instead it is happy if the debugger starts up. (Robert  Collins)
 
2706
 
 
2707
* The full test suite is expected to pass when the C extensions are not
 
2708
  present. (Vincent Ladeuil, #430749)
 
2709
 
 
2710
 
 
2711
bzr 2.0.1
 
2712
#########
 
2713
 
 
2714
:Codename: Stability First
 
2715
:2.0.1: 2009-10-14
 
2716
 
 
2717
The first of our new ongoing bugfix-only stable releases has arrived. It
 
2718
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
 
2719
include any of the feature development in the 2.1.0 series.
 
2720
 
 
2721
 
 
2722
Bug Fixes
 
2723
*********
 
2724
 
 
2725
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
 
2726
  filename will issue a warning and skip over those files.
 
2727
  (Robert Collins, #3918)
 
2728
 
 
2729
* bzr will attempt to authenticate with SSH servers that support
 
2730
  ``keyboard-interactive`` auth but not ``password`` auth when using
 
2731
  Paramiko.   (Andrew Bennetts, #433846)
 
2732
 
 
2733
* Fixed fetches from a stacked branch on a smart server that were failing
 
2734
  with some combinations of remote and local formats.  This was causing
 
2735
  "unknown object type identifier 60" errors.  (Andrew Bennetts, #427736)
 
2736
 
 
2737
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
 
2738
  on branches via a smart server.  (Andrew Bennetts, #389413)
 
2739
 
 
2740
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
 
2741
  at the root of a drive. ``osutils._cicp_canonical_relpath`` always
 
2742
  assumed that ``abspath()`` returned a path that did not have a trailing
 
2743
  ``/``, but that is not true when working at the root of the filesystem.
 
2744
  (John Arbash Meinel, Jason Spashett, #322807)
 
2745
 
 
2746
* Hide deprecation warnings for 'final' releases for python2.6.
 
2747
  (John Arbash Meinel, #440062)
 
2748
 
 
2749
* Improve the time for ``bzr log DIR`` for 2a format repositories.
 
2750
  We had been using the same code path as for <2a formats, which required
 
2751
  iterating over all objects in all revisions.
 
2752
  (John Arbash Meinel, #374730)
 
2753
 
 
2754
* Make sure that we unlock the tree if we fail to create a TreeTransform
 
2755
  object when doing a merge, and there is limbo, or pending-deletions
 
2756
  directory.  (Gary van der Merwe, #427773)
 
2757
 
 
2758
* Occasional IndexError on renamed files have been fixed. Operations that
 
2759
  set a full inventory in the working tree will now go via the
 
2760
  apply_inventory_delta code path which is simpler and easier to
 
2761
  understand than dirstates set_state_from_inventory method. This may
 
2762
  have a small performance impact on operations built on _write_inventory,
 
2763
  but such operations are already doing full tree scans, so no radical
 
2764
  performance change should be observed. (Robert Collins, #403322)
 
2765
 
 
2766
* Retrieving file text or mtime from a _PreviewTree has good performance when
 
2767
  there are many changes.  (Aaron Bentley)
 
2768
 
 
2769
* The CHK index pages now use an unlimited cache size. With a limited
 
2770
  cache and a large project, the random access of chk pages could cause us
 
2771
  to download the entire cix file many times.
 
2772
  (John Arbash Meinel, #402623)
 
2773
 
 
2774
* When a file kind becomes unversionable after being added, a sensible
 
2775
  error will be shown instead of a traceback. (Robert Collins, #438569)
 
2776
 
 
2777
Documentation
 
2778
*************
 
2779
 
 
2780
* Improved README. (Ian Clatworthy)
 
2781
 
 
2782
* Improved upgrade documentation for Launchpad branches.
 
2783
  (Barry Warsaw)
 
2784
 
 
2785
 
 
2786
bzr 2.0.0
 
2787
#########
 
2788
 
 
2789
:2.0.0: 2009-09-22
 
2790
:Codename: Instant Karma
 
2791
 
 
2792
This release of Bazaar makes the 2a (previously 'brisbane-core') format
 
2793
the default when new branches or repositories are created.  This format is
 
2794
substantially smaller and faster for many operations.  Most of the work in
 
2795
this release focuses on bug fixes and stabilization, covering both 2a and
 
2796
previous formats.  (See the Upgrade Guide for information on migrating
 
2797
existing projects.)
 
2798
 
 
2799
This release also improves the documentation content and presentation,
 
2800
including adding Windows HtmlHelp manuals.
 
2801
 
 
2802
The Bazaar team decided that 2.0 will be a long-term supported release,
 
2803
with bugfix-only 2.0.x releases based on it, continuing for at least six
 
2804
months or until the following stable release.
 
2805
 
 
2806
Changes from 2.0.0rc2 to final
 
2807
******************************
 
2808
 
 
2809
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
 
2810
  that "want to happen on the 2.0.x stable series" versus things that want
 
2811
  to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
 
2812
  micro = 0.) (John Arbash Meinel)
 
2813
 
 
2814
 
 
2815
bzr 2.0.0rc2
 
2816
############
 
2817
 
 
2818
:2.0.0rc2: 2009-09-10
 
2819
 
 
2820
New Features
 
2821
************
 
2822
 
 
2823
* Added post_commit hook for mutable trees. This allows the keywords
 
2824
  plugin to expand keywords on files changed by the commit.
 
2825
  (Ian Clatworthy, #408841)
 
2826
 
 
2827
Bug Fixes
 
2828
*********
 
2829
 
 
2830
* Bazaar's native protocol code now correctly handles EINTR, which most
 
2831
  noticeably occurs if you break in to the debugger while connected to a
 
2832
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
2833
  'c') and the process continues.  However, note that pressing C-\ in the
 
2834
  shell may still kill the SSH process, which is bug 162509, so you must
 
2835
  sent a signal to the bzr process specifically, for example by typing
 
2836
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
2837
 
 
2838
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
 
2839
  longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
 
2840
  (Robert Collins, #416732)
 
2841
 
 
2842
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
 
2843
  format" (John Arbash Meinel, #424392)
 
2844
 
 
2845
* ``bzr log stacked-branch`` shows the full log including
 
2846
  revisions that are in the fallback repository. (Regressed in 2.0rc1).
 
2847
  (John Arbash Meinel, #419241)
 
2848
 
 
2849
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
2850
  traceback.  (Martin Pool, #109115)
 
2851
 
 
2852
* Conversion to 2a will create a single pack for all the new revisions (as
 
2853
  long as it ran without interruption). This improves both ``bzr upgrade``
 
2854
  and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
 
2855
  The autopack logic that occurs every 100 revisions during local
 
2856
  conversions was not returning that pack's identifier, which resulted in
 
2857
  the partial packs created during the conversion not being consolidated
 
2858
  at the end of the conversion process. (Robert Collins, #423818)
 
2859
 
 
2860
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
 
2861
  Groups that are seen as 'underutilized' will be repacked on-the-fly.
 
2862
  This means that when the source is fully packed, there is minimal
 
2863
  overhead during the fetch, but if the source is poorly packed the result
 
2864
  is a fairly well packed repository (not as good as 'bzr pack' but
 
2865
  good-enough.) (Robert Collins, John Arbash Meinel, #402652)
 
2866
 
 
2867
* Fix a potential segmentation fault when doing 'log' of a branch that had
 
2868
  ghosts in its mainline.  (Evaluating None as a tuple is bad.)
 
2869
  (John Arbash Meinel, #419241)
 
2870
 
 
2871
* ``groupcompress`` sort order is now more stable, rather than relying on
 
2872
  ``topo_sort`` ordering. The implementation is now
 
2873
  ``KnownGraph.gc_sort``. (John Arbash Meinel)
 
2874
 
 
2875
* Local data conversion will generate correct deltas. This is a critical
 
2876
  bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
 
2877
  converting repositories. (Robert Collins, #422849)
 
2878
 
 
2879
* Network streams now decode adjacent records of the same type into a
 
2880
  single stream, reducing layering churn. (Robert Collins)
 
2881
 
 
2882
* Prevent some kinds of incomplete data from being committed to a 2a
 
2883
  repository, such as revisions without inventories, a missing chk_bytes
 
2884
  record for an inventory, or a missing text referenced by an inventory.
 
2885
  (Andrew Bennetts, #423506, #406687)
 
2886
  
 
2887
Documentation
 
2888
*************
 
2889
 
 
2890
* Fix assertion error about "_remember_remote_is_before" when pushing to
 
2891
  older smart servers.
 
2892
  (Andrew Bennetts, #418931)
 
2893
 
 
2894
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
2895
  currently supported. (Ian Clatworthy, #422415)
 
2896
 
 
2897
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
 
2898
  user documentation. The HTML documentation is better broken up into
 
2899
  topics. (Ian Clatworthy)
 
2900
 
 
2901
* The developer and foreign language documents are now separated
 
2902
  out so that searching in the HTML and CHM files produces more
 
2903
  useful results. (Ian Clatworthy)
 
2904
 
 
2905
* The main table of contents now provides links to the new Migration Docs
 
2906
  and Plugins Guide. (Ian Clatworthy)
 
2907
 
 
2908
 
 
2909
bzr 2.0.0rc1
 
2910
############
 
2911
 
 
2912
:Codename: no worries
 
2913
:2.0.0rc1: 2009-08-26
 
2914
 
 
2915
Compatibility Breaks
 
2916
********************
 
2917
 
 
2918
* The default format for bzr is now ``2a``. This format brings many
 
2919
  significant performance and size improvements. bzr can pull from
 
2920
  any existing repository into a ``2a`` one, but can only transfer
 
2921
  from ``2a`` into ``rich-root`` repositories. The Upgrade guide
 
2922
  has more information about this change. (Robert Collins)
 
2923
 
 
2924
* On Windows auto-detection of Putty's plink.exe is disabled.
 
2925
  Default SSH client for Windows is paramiko. User still can force
 
2926
  usage of plink if explicitly set environment variable BZR_SSH=plink.
 
2927
  (#414743, Alexander Belchenko)
 
2928
 
 
2929
New Features
 
2930
************
 
2931
 
 
2932
* ``bzr branch --switch`` can now switch the checkout in the current directory
 
2933
  to the newly created branch. (Lukáš Lalinský)
 
2934
 
 
2935
Bug Fixes
 
2936
*********
 
2937
 
 
2938
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
2939
  (Jason Spashett, #76616)
 
2940
 
 
2941
* Fetches were being requested in 'groupcompress' order, but weren't
 
2942
  recombining the groups. Thus they would 'fragment' to get the correct
 
2943
  order, but not 'recombine' to actually benefit from it. Until we get
 
2944
  recombining to work, switching to 'unordered' fetches avoids the
 
2945
  fragmentation. (John Arbash Meinel, #402645)
 
2946
 
 
2947
* Fix a pycurl related test failure on karmic by recognizing an error
 
2948
  raised by newer versions of pycurl.
 
2949
  (Vincent Ladeuil, #306264)
 
2950
 
 
2951
* Fix a test failure on karmic by making a locale test more robust.
 
2952
  (Vincent Ladeuil, #413514)
 
2953
 
 
2954
* Fix IndexError printing CannotBindAddress errors.
 
2955
  (Martin Pool, #286871)
 
2956
 
 
2957
* Fix "Revision ... not present" errors when upgrading stacked branches,
 
2958
  or when doing fetches from a stacked source to a stacked target.
 
2959
  (Andrew Bennetts, #399140)
 
2960
 
 
2961
* ``bzr branch`` of 2a repositories over HTTP is much faster.  bzr now
 
2962
  batches together small fetches from 2a repositories, rather than
 
2963
  fetching only a few hundred bytes at a time.
 
2964
  (Andrew Bennetts, #402657)
 
2965
 
 
2966
Improvements
 
2967
************
 
2968
 
 
2969
* A better description of the platform is shown in crash tracebacks, ``bzr
 
2970
  --version`` and ``bzr selftest``.
 
2971
  (Martin Pool, #409137)
 
2972
 
 
2973
* bzr can now (again) capture crash data through the apport library, 
 
2974
  so that a single human-readable file can be attached to bug reports.
 
2975
  This can be disabled by using ``-Dno_apport`` on the command line, or by
 
2976
  putting ``no_apport`` into the ``debug_flags`` section of
 
2977
  ``bazaar.conf``.
 
2978
  (Martin Pool, Robert Collins, #389328)
 
2979
 
 
2980
* ``bzr push`` locally on windows will no longer give a locking error with
 
2981
  dirstate based formats. (Robert Collins)
 
2982
 
 
2983
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
 
2984
  (Robert Collins, #305006)
 
2985
 
 
2986
* Commit of specific files no longer prevents using the iter_changes
 
2987
  codepath. On 2a repositories, commit of specific files should now be as
 
2988
  fast, or slightly faster, than a full commit. (Robert Collins)
 
2989
 
 
2990
* The internal core code that handles specific file operations like
 
2991
  ``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
 
2992
  include the parent directories if they have altered, and when a
 
2993
  directory stops being a directory its children are always included. This
 
2994
  fixes a number of causes for ``InconsistentDelta`` errors, and permits
 
2995
  faster commit of specific paths. (Robert Collins, #347649)
 
2996
 
 
2997
Documentation
 
2998
*************
 
2999
 
 
3000
* New developer documentation for content filtering.
 
3001
  (Martin Pool)
 
3002
 
 
3003
API Changes
 
3004
***********
 
3005
 
 
3006
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
3007
  classes changed to manage lock lifetime of the trees they open in a way
 
3008
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
3009
 
 
3010
Testing
 
3011
*******
 
3012
 
 
3013
bzr 1.18.1
 
3014
##########
 
3015
 
 
3016
:Codename:     nein nein nein!
 
3017
:1.18.1:       2009-09-09
 
3018
 
 
3019
This release fixes two small but worthwhile bugs relevant to users on
 
3020
Microsoft Windows: some commands that failed on with locking errors will
 
3021
now work, and a bug that caused poor performance after committing a file
 
3022
with line-ending conversion has now been fixed.  It also fixes a bug in
 
3023
pushing to older servers.
 
3024
 
 
3025
Bug Fixes
 
3026
*********
 
3027
 
 
3028
* Fixed a problem where using content filtering and especially end-of-line
 
3029
  conversion will commit too many copies a file.
 
3030
  (Martin Pool, #415508)
 
3031
 
 
3032
* Fix assertion error about ``_remember_remote_is_before`` in
 
3033
  ``set_tags_bytes`` when pushing to older smart servers.  
 
3034
  (Andrew Bennetts, Alexander Belchenko, #418931)
 
3035
 
 
3036
Improvements
 
3037
************
 
3038
 
 
3039
* ``bzr push`` locally on Windows will no longer give a locking error with
 
3040
  dirstate based formats. (Robert Collins)
 
3041
 
 
3042
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
 
3043
  (Robert Collins, #305006)
 
3044
 
 
3045
API Changes
 
3046
***********
 
3047
 
 
3048
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
3049
  classes changed to manage lock lifetime of the trees they open in a way
 
3050
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
3051
 
 
3052
* ``Tree.path_content_summary`` may return a size of None, when called on
 
3053
  a tree with content filtering where the size of the canonical form
 
3054
  cannot be cheaply determined.  (Martin Pool)
 
3055
 
 
3056
* When manually creating transport servers in test cases, a new helper
 
3057
  ``TestCase.start_server`` that registers a cleanup and starts the server
 
3058
  should be used. (Robert Collins)
 
3059
 
 
3060
bzr 1.18
 
3061
########
 
3062
 
 
3063
Compatibility Breaks
 
3064
********************
 
3065
 
 
3066
* Committing directly to a stacked branch from a lightweight checkout will
 
3067
  no longer work. In previous versions this would appear to work but would
 
3068
  generate repositories with insufficient data to create deltas, leading
 
3069
  to later errors when branching or reading from the repository.
 
3070
  (Robert Collins, bug #375013)
 
3071
 
 
3072
New Features
 
3073
************
 
3074
 
 
3075
Bug Fixes
 
3076
*********
 
3077
 
 
3078
* Fetching from 2a branches from a version-2 bzr protocol would fail to
 
3079
  copy the internal inventory pages from the CHK store. This cannot happen
 
3080
  in normal use as all 2a compatible clients and servers support the
 
3081
  version-3 protocol, but it does cause test suite failures when testing
 
3082
  downlevel protocol behaviour. (Robert Collins)
 
3083
 
 
3084
* Fix a test failure on karmic by making a locale test more robust.
 
3085
  (Vincent Ladeuil, #413514)
 
3086
 
 
3087
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
 
3088
  fully packed 2a repository.  (Andrew Bennetts, #382463)
 
3089
 
 
3090
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
3091
  (Jason Spashett, #76616)
 
3092
 
 
3093
* Properly handle fetching into a stacked branch while converting the
 
3094
  data, especially when there are also ghosts. The code was filling in
 
3095
  parent inventories incorrectly, and also not handling when one of the
 
3096
  parents was a ghost. (John Arbash Meinel, #402778, #412198)
 
3097
 
 
3098
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
 
3099
  inventory pages when appropriate (by falling back to the vfs stream
 
3100
  source).  (Andrew Bennetts, #406686)
 
3101
 
 
3102
* StreamSource generates rich roots from non-rich root sources correctly
 
3103
  now.  (Andrew Bennetts, #368921)
 
3104
 
 
3105
* When deciding whether a repository was compatible for upgrading or
 
3106
  fetching, we previously incorrectly checked the default repository
 
3107
  format for the bzrdir format, rather than the format that was actually
 
3108
  present on disk.  (Martin Pool, #408824)
 
3109
 
 
3110
Improvements
 
3111
************
 
3112
 
 
3113
* A better description of the platform is shown in crash tracebacks, ``bzr
 
3114
  --version`` and ``bzr selftest``.
 
3115
  (Martin Pool, #409137)
 
3116
 
 
3117
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
 
3118
  smart server are more efficient now.  They send inventory deltas rather
 
3119
  than full inventories.  The smart server has two new requests,
 
3120
  ``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
 
3121
  support this.  (Andrew Bennetts, #374738, #385826)
 
3122
 
 
3123
* Extracting the full ancestry and computing the ``merge_sort`` is now
 
3124
  significantly faster. This effects things like ``bzr log -n0``. (For
 
3125
  example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
 
3126
  (John Arbash Meinel)
 
3127
 
 
3128
Documentation
 
3129
*************
 
3130
 
 
3131
API Changes
 
3132
***********
 
3133
 
 
3134
Internals
 
3135
*********
 
3136
 
 
3137
* ``-Dstrict_locks`` can now be used to check that read and write locks
 
3138
  are treated properly w.r.t. exclusivity. (We don't try to take an OS
 
3139
  read lock on a file that we already have an OS write lock on.) This is
 
3140
  now set by default for all tests, if you have a test which cannot be
 
3141
  fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
 
3142
  compatibility knob. (John Arbash Meinel)
 
3143
 
 
3144
* InterDifferingSerializer is now only used locally.  Other fetches that
 
3145
  would have used InterDifferingSerializer now use the more network
 
3146
  friendly StreamSource, which now automatically does the same
 
3147
  transformations as InterDifferingSerializer.  (Andrew Bennetts)
 
3148
 
 
3149
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
 
3150
  are implemented in pyrex and significantly faster. This is exposed along
 
3151
  with ``CombinedGraphIndex.find_ancestry()`` as
 
3152
  ``VersionedFiles.get_known_graph_ancestry(keys)``.
 
3153
  (John Arbash Meinel)
 
3154
 
 
3155
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
 
3156
  protocols. (Robert Collins)
 
3157
 
 
3158
* The index code now has some specialized routines to extract the full
 
3159
  ancestry of a key in a more efficient manner.
 
3160
  ``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
 
3161
  bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
 
3162
  Arbash Meinel)
 
3163
 
 
3164
Testing
 
3165
*******
 
3166
 
 
3167
* Install the test ssl certificate and key so that installed bzr
 
3168
  can run the https tests. (Denys Duchier, #392401)
 
3169
  
 
3170
 
 
3171
bzr 1.18rc1
 
3172
###########
 
3173
 
 
3174
:Codename: little traveller
 
3175
:1.18:    2009-08-20
 
3176
:1.18rc1: 2009-08-10
 
3177
 
 
3178
This release of Bazaar marches on towards the 2.0 release in which the 2a
 
3179
'brisbane-core' format becomes generally recommended.  Most of the work in
 
3180
this release now focusses on bug fixes and stabilization, covering both 2a
 
3181
and previous formats.  There is a new text-mode interactive merge feature,
 
3182
a new guide to migration to 2a format in the user documentation, and
 
3183
pushing branches to a smart server is now much faster.  
 
3184
 
 
3185
The Bazaar team decided that 2.0 will be a long-term supported release,
 
3186
with bugfix-only releases based on it continuing for at least six months
 
3187
or until the following stable release.
 
3188
 
 
3189
There are no changes from 1.18rc1 to 1.18.
 
3190
 
 
3191
New Features
 
3192
************
 
3193
 
 
3194
* ``bzr merge --interactive`` applies a user-selected portion of the
 
3195
  merge.  The UI is similar to ``shelve``.  (Aaron Bentley)
 
3196
 
 
3197
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
 
3198
  ``--unstacked`` to change stacking of a branch.
 
3199
  (Martin Pool, #391411)
 
3200
 
 
3201
Bug Fixes
 
3202
*********
 
3203
 
 
3204
* Annotating on a stacked branch will now succeed in simple scenarios.
 
3205
  There are still some complex scenarios where it will fail (bug #399884)
 
3206
  (John Arbash Meinel, #393366)
 
3207
 
 
3208
* A progress bar is no longer left dangling when ``bzr selftest``
 
3209
  completes, and the progress bar updates with zero latency so the
 
3210
  displayed test name is always the one that's actually running.
 
3211
  (Martin Pool, #123688)
 
3212
 
 
3213
* Authenticating against an ssh server now uses ``auth_none`` to determine
 
3214
  if password authentication is even supported. This fixes a bug where
 
3215
  users would be prompted for a launchpad password, even though launchpad
 
3216
  only supports publickey authentication. (John Arbash Meinel, #375867)
 
3217
 
 
3218
* BranchBuilder now accepts timezone to avoid test failures in countries far
 
3219
  from GMT. (Vincent Ladeuil, #397716)
 
3220
 
 
3221
* ``bzr commit`` no longer saves the unversioning of missing files until
 
3222
  the commit has completed on the branch. This means that aborting a
 
3223
  commit that found a missing file will leave the tree unedited.
 
3224
  (Robert Collins, #282402)
 
3225
 
 
3226
* ``bzr mv`` no longer takes out branch locks, which allows it to work
 
3227
  when the branch is readonly. (Robert Collins, #216541)
 
3228
 
 
3229
* ``bzr revert .`` no longer generates an InconsistentDelta error when
 
3230
  there are missing subtrees. (Robert Collins, #367632)
 
3231
 
 
3232
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
 
3233
  do to internal changes necessary to support this, older clients will
 
3234
  fail when trying to insert them. For newer clients, the bundle can be
 
3235
  used to apply the changes to any rich-root compatible format.
 
3236
  (John Arbash Meinel, #393349)
 
3237
 
 
3238
* Cope with FTP servers that don't support restart/append by falling back
 
3239
  to reading and then rewriting the whole file, such as TahoeLAFS.  (This
 
3240
  fallback may be slow for some access patterns.)  (Nils Durner, #294709)
 
3241
 
 
3242
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
 
3243
  external diff client. This at least allows supporting filenames that are
 
3244
  not ascii, but are present in the current locale. Ideally we would be
 
3245
  able to pass the Unicode path, but that would be client dependent.
 
3246
  (John Arbash Meinel, #382709)
 
3247
 
 
3248
* Fix a compile bug on Solaris having to do with const and
 
3249
  pointer-to-pointers. (John Arbash Meinel, #408441)
 
3250
 
 
3251
* Fixed a NameError that occurs when merging or pulling from a URL that
 
3252
  causes a redirection loop when bzr tries to read a URL as a bundle.
 
3253
  (Andrew Bennetts, #400847)
 
3254
 
 
3255
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
 
3256
  running send and similar commands on 2a formats.
 
3257
  (Martin Pool, #408201)
 
3258
  
 
3259
* Fix crash in some invocations of ``bzr status`` in format 2a.
 
3260
  (Martin Pool, #403523)
 
3261
 
 
3262
* Fixed export to existing directory: if directory is empty then export 
 
3263
  will succeed, otherwise it fails with error.
 
3264
  (Alexander Belchenko, #406174)
 
3265
 
 
3266
* Fixed spurious "Source branch does not support stacking" warning when
 
3267
  pushing. (Andrew Bennetts, #388908)
 
3268
 
 
3269
* Fixed spurious transport activity indicator appearing while tests are
 
3270
  running.  (Martin Pool, #343532)
 
3271
 
 
3272
* Merge now correctly handles empty right-hand revision specs.
 
3273
  (Aaron Bentley, #333961)
 
3274
 
 
3275
* Renames to lexographically lower basenames in trees that have never been
 
3276
  committed to will no longer corrupt the dirstate. This was caused by an
 
3277
  bug in the dirstate update_minimal method. (Robert Collins, #395556)
 
3278
 
 
3279
* Requests for unknown methods no longer cause the smart server to log
 
3280
  lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
 
3281
  ``do_end``.  (Andrew Bennetts, #338561)
 
3282
 
 
3283
* Shelve will not shelve the initial add of the tree root.  (Aaron Bentley)
 
3284
 
 
3285
* Streaming from bzr servers where there is a chain of stacked branches
 
3286
  (A stacked on B stacked on C) will now work. (Robert Collins, #406597)
 
3287
 
 
3288
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
 
3289
  always forces progress bars either on or off respectively.  Otherwise,
 
3290
  they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
 
3291
  bzr always uses the 'text' user interface when run as a command, so
 
3292
  ``BZR_USE_TEXT_UI`` is no longer needed.
 
3293
  (Martin Pool, #339385, #387717)
 
3294
 
 
3295
* The optional ``_knit_load_data_pyx`` C extension was never being
 
3296
  imported.  This caused significant slowdowns when reading data from
 
3297
  repositories.  (Andrew Bennetts, #405653)
 
3298
  
 
3299
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
 
3300
  supported at the moment on workingtree formats that can do content
 
3301
  filtering.  (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
 
3302
  bzr now says so, rather than just ignoring the option.  (Martin Pool)
 
3303
 
 
3304
* There was a bug in ``osutils.relpath`` that was only triggered on
 
3305
  Windows. Essentially if you were at the root of a drive, and did
 
3306
  something to a branch/repo on another drive, we would go into an
 
3307
  infinite loop while trying to find a 'relative path'.
 
3308
  (John Arbash Meinel, #394227)
 
3309
 
 
3310
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
 
3311
  were present in a parent tree but renamed in the working tree.
 
3312
  (Robert Collins, #187207)
 
3313
 
 
3314
Improvements
 
3315
************
 
3316
 
 
3317
* Can now rename/move files even if they have been removed from the inventory.
 
3318
  (Marius Kruger)
 
3319
 
 
3320
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
 
3321
  faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
 
3322
  than VFS methods.  For example, pushes of small branches with tags take
 
3323
  11 rather than 18 smart server requests.  (Andrew Bennetts, #398608)
 
3324
 
 
3325
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
 
3326
  the same way that sending Ctrl-\\ does on other platforms.
 
3327
  (John Arbash Meinel)
 
3328
 
 
3329
Documentation
 
3330
*************
 
3331
 
 
3332
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
 
3333
 
 
3334
API Changes
 
3335
***********
 
3336
 
 
3337
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
 
3338
  need to subclass or create a specific class, or better yet the existing
 
3339
  ``make_ui_for_terminal``.  ``SilentUIFactory`` is clarified to do no
 
3340
  user interaction at all, rather than trying to read from stdin but not
 
3341
  writing any output, which would be strange if reading prompts or
 
3342
  passwords.  (Martin Pool)
 
3343
 
 
3344
* New TransformPreview.commit() allows committing without a working tree.
 
3345
  (Aaron Bentley)
 
3346
 
 
3347
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
 
3348
  (Martin Pool)
 
3349
 
 
3350
* ProgressTasks now prefer to talk direct to their ProgressView not to the
 
3351
  UIFactory. 
 
3352
  (Martin Pool)
 
3353
 
 
3354
* ``WorkingTree._check`` now requires a references dict with keys matching
 
3355
  those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
 
3356
 
 
3357
Internals
 
3358
*********
 
3359
 
 
3360
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
 
3361
  reading the entries along the path, reducing work to lookup ids from
 
3362
  paths. (Robert Collins)
 
3363
 
 
3364
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
 
3365
  as new a key which was already mapped. (Robert Collins)
 
3366
 
 
3367
* Inventory delta application catches more cases of corruption and can
 
3368
  prevent corrupt deltas from affecting consistency of data structures on
 
3369
  disk. (Robert Collins)
 
3370
 
 
3371
* --subunit support now adds timestamps if the subunit version supports
 
3372
  it. (Robert Collins)
 
3373
 
 
3374
* The Windows all-in-one installer now bundles the PyQt image format
 
3375
  plugins, which allows previewing more images as part of 'qdiff'.
 
3376
  (Alexander Belchenko)
 
3377
 
 
3378
 
 
3379
Testing
 
3380
*******
 
3381
 
 
3382
* Merge directive cherrypick tests must use the same root id.
 
3383
  (Martin Pool, #409684)
 
3384
 
 
3385
* Spurious failure in ``check`` tests on rich-root formats fixed.
 
3386
  (Martin Pool, #408199)
 
3387
 
 
3388
* The ``bzrlib.tests.TextTestRunner`` will no longer call
 
3389
  ``countTestsCases`` on the test being run. Progress information is
 
3390
  instead handled by having the test passed in call ``result.progress``
 
3391
  before running its contents. This improves the behaviour when using
 
3392
  ``TextTestRunner`` with test suites that don't support
 
3393
  ``countTestsCases``. (Robert Collins)
 
3394
 
 
3395
 
 
3396
bzr 1.17.1 (unreleased)
 
3397
#######################
 
3398
 
 
3399
Bug Fixes
 
3400
*********
 
3401
 
 
3402
* The optional ``_knit_load_data_pyx`` C extension was never being
 
3403
  imported.  This caused significant slowdowns when reading data from
 
3404
  knit format repositories.  (Andrew Bennetts, #405653)
 
3405
  
 
3406
 
 
3407
bzr 1.17
 
3408
########
 
3409
:Codename: so-late-its-brunch
 
3410
:1.17rc1: 2009-07-13
 
3411
:1.17: 2009-07-20
 
3412
 
 
3413
 
 
3414
Bazaar continues to blaze a straight and shining path to the 2.0 release and
 
3415
the elevation of the ``2a`` beta format to the full glory of "supported and
 
3416
stable".
 
3417
 
 
3418
Highlights in this release include greatly reduced memory consumption during
 
3419
commits, faster ``ls``, faster ``annotate``, faster network operations if
 
3420
you're specifying a revision number and the final destruction of those
 
3421
annoying progress bar artifacts.
 
3422
 
 
3423
 
 
3424
Changes from 1.17rc1 to 1.17final
 
3425
*********************************
 
3426
 
 
3427
* Change an extension to call the python ``frozenset()`` rather than the C
 
3428
  api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
 
3429
  C api. (John Arbash Meinel, #399366)
 
3430
 
 
3431
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
 
3432
  ``tools/generate_docs.py`` to allow everything to be built on Windows.
 
3433
  (John Arbash Meinel, #399356)
 
3434
 
 
3435
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
 
3436
  directory before serving it. (Andrew Bennetts, #400535)
 
3437
 
 
3438
 
 
3439
Compatibility Breaks
 
3440
********************
 
3441
 
 
3442
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
 
3443
  instead of "product" which is the correct Launchpad terminology.  The
 
3444
  --product option is deprecated and users should switch to using --project.
 
3445
  (Neil Martinsen-Burrell, #238764)
 
3446
 
 
3447
 
 
3448
New Features
 
3449
************
 
3450
 
 
3451
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
 
3452
  are present in the working tree (if one is present) and no revision is
 
3453
  specified. The configuration option ``push_strict`` can be used to set the
 
3454
  default for this behavior.  (Vincent Ladeuil, #284038, #322808, #65286)
 
3455
 
 
3456
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
 
3457
  show revision info for the working tree instead of the branch.
 
3458
  (Matthew Fuller, John Arbash Meinel)
 
3459
 
 
3460
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
 
3461
  are present in the working tree and no revision is specified. The
 
3462
  configuration option ``send_strict`` can be used to set the default for this
 
3463
  behavior.
 
3464
  (Vincent Ladeuil, #206577)
 
3465
 
 
3466
* ``bzr switch --create-branch/-b`` can now be used to create and switch
 
3467
  to a new branch. Supplying a name without a ``/`` will create the branch
 
3468
  relative to the existing branch. (similar to how ``bzr switch name``
 
3469
  works when the branch already exists.) (John Arbash Meinel)
 
3470
 
 
3471
 
 
3472
Bug Fixes
 
3473
*********
 
3474
 
 
3475
* Accept uppercase "Y/N" to prompts such as from break lock. 
 
3476
  (#335182, Tim Powell, Martin Pool)
 
3477
 
 
3478
* Add documentation about diverged branches and how to fix them in the
 
3479
  centralized workflow with local commits.  Mention ``bzr help
 
3480
  diverged-branches`` when a push fails because the branches have
 
3481
  diverged.  (Neil Martinsen-Burrell, #269477)
 
3482
 
 
3483
* Annotate would sometimes 'latch on' to trivial lines, causing important
 
3484
  lines to be incorrectly annotated. (John Arbash Meinel, #387952)
 
3485
 
 
3486
* Automatic format upgrades triggered by default stacking policies on a
 
3487
  1.16rc1 (or later) smart server work again.
 
3488
  (Andrew Bennetts, #388675)
 
3489
 
 
3490
* Avoid progress bar artifacts being left behind on the screen.
 
3491
  (Martin Pool, #321935)
 
3492
 
 
3493
* Better message in ``bzr split`` error suggesting a rich root format.
 
3494
  (Neil Martinsen-Burrell, #220067)
 
3495
 
 
3496
* ``Branch.set_append_revisions_only`` now works with branches on a smart
 
3497
  server. (Andrew Bennetts, #365865)
 
3498
 
 
3499
* By default, ``bzr branch`` will fail if the target directory exists, but
 
3500
  does not already have a control directory.  The flag ``--use-existing-dir``
 
3501
  will allow operation to proceed.  (Alexander Belchenko, #307554)
 
3502
 
 
3503
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
 
3504
  (Ian Clatworthy)
 
3505
 
 
3506
* Fetch between repositories does not error if they have inconsistent data
 
3507
  that should be irrelevant to the fetch operation. (Aaron Bentley)
 
3508
 
 
3509
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout 
 
3510
  of a remote repository.
 
3511
  (Jelmer Vernooij, #332194)
 
3512
 
 
3513
* Fix bug in decoding v3 smart server messages when receiving multiple
 
3514
  lots of excess bytes after an end-of-message.
 
3515
  (Andrew Bennetts)
 
3516
 
 
3517
* Force deletion of readonly files during merge, update and other tree
 
3518
  transforms.
 
3519
  (Craig Hewetson, Martin Pool, #218206)
 
3520
 
 
3521
* Force socket shutdown in threaded http test servers to avoid client hangs
 
3522
  (pycurl).  (Vincent Ladeuil, #383920).
 
3523
 
 
3524
* ``LRUCache`` will maintain the linked list pointers even if a nodes
 
3525
  cleanup function raises an exception. (John Arbash Meinel, #396838)
 
3526
 
 
3527
* Progress bars are now suppressed again when the environment variable
 
3528
  ``BZR_PROGRESS_BAR`` is set to ``none``.
 
3529
  (Martin Pool, #339385)
 
3530
 
 
3531
* Reduced memory consumption during ``bzr commit`` of large files. For
 
3532
  pre 2a formats, should be down to ~3x the size of a file.
 
3533
  For ``--2a`` format repositories, it is down to the size of the file
 
3534
  content plus the size of the compressed text.  Related to bug #109114.
 
3535
  (John Arbash Meinel)
 
3536
 
 
3537
* Set hidden attribute on .bzr directory below unicode path should never
 
3538
  fail with error. The operation should succeed even if bzr unable to set 
 
3539
  the attribute.  (Alexander Belchenko, related to bug #335362).
 
3540
  
 
3541
* Stacking will no longer accept requests to stack on the same
 
3542
  branch/repository. Existing branches that incorrectly reference the same
 
3543
  repository in a stacking configuration will now raise
 
3544
  UnstackableLocationError when the branch is opened. This can be fixed by
 
3545
  removing the stacking location inside ``.bzr/branch``.
 
3546
  (Robert Collins, #376243)
 
3547
 
 
3548
* The ``log+`` decorator, useful in debugging or profiling, could cause
 
3549
  "AttributeError: 'list' object has no attribute 'next'".  This is now
 
3550
  fixed.  The log decorator no longer shows the elapsed time or transfer
 
3551
  rate because they're available in the log prefixes and the transport
 
3552
  activity display respectively.
 
3553
  (Martin Pool, #340347)
 
3554
 
 
3555
* Unshelve works correctly when multiple zero-length files are present on
 
3556
  the shelf. (Aaron Bentley, #363444)
 
3557
 
 
3558
* Progress bars no longer show the network transport scheme or direction.
 
3559
  (Martin Pool)
 
3560
 
 
3561
* launchpad-login now respects the 'verbose' option.
 
3562
  (Jonathan Lange, #217031)
 
3563
 
 
3564
 
 
3565
Internals
 
3566
*********
 
3567
 
 
3568
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
 
3569
  possible to write a deprecation wrapper, but the variable will be
 
3570
  removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
 
3571
  instead. (Alexander Belchenko)
 
3572
 
 
3573
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
 
3574
  three new hook points: ``get_command``, ``get_missing_command`` and
 
3575
  ``list_commands``, which allow just-in-time command name provision
 
3576
  rather than requiring all command names be known a-priori.
 
3577
  (Robert Collins)
 
3578
 
 
3579
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
 
3580
  and can read path to wordpad.exe. (Alexander Belchenko, #392046)
 
3581
 
 
3582
* ``graph.KnownGraph`` has been added. This is a class that can give
 
3583
  answers to ``heads()`` very quickly. However, it has the assumption that
 
3584
  the whole graph has already been loaded. This is true during
 
3585
  ``annotate`` so it is used there with good success (as much as 2x faster
 
3586
  for files with long ancestry and 'cherrypicked' changes.)
 
3587
  (John Arbash Meinel, Vincent Ladeuil)
 
3588
 
 
3589
* OS file locks are now taken out using ``CreateFile`` rather than
 
3590
  ``LockFileEx`` on Windows. The locking remains exclusive with
 
3591
  ``LockFileEx`` but now it also works on older versions of Windows (such
 
3592
  as Win98). (Martin <gzlist>)
 
3593
 
 
3594
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
 
3595
  than the ``Packer`` code. The user visible change is that we now
 
3596
  properly fetch the minimum number of texts for non-smart fetching.
 
3597
  (John Arbash Meinel)
 
3598
 
 
3599
 
 
3600
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
 
3601
  the repository as a single string, rather than a list of lines. This can
 
3602
  improve memory overhead and performance of committing large files.
 
3603
  (Currently a private api, used only by commit). (John Arbash Meinel)
 
3604
 
 
3605
 
 
3606
Improvements
 
3607
************
 
3608
 
 
3609
* ``bzr annotate`` can now be significantly faster. The time for
 
3610
  ``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
 
3611
  histories and lots of 'duplicate insertions' will be improved more than
 
3612
  others. (John Arbash Meinel, Vincent Ladeuil)
 
3613
 
 
3614
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
 
3615
  to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
 
3616
  substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
 
3617
 
 
3618
* Improve "Path(s) are not versioned" error reporting for some commands.
 
3619
  (Benoît PIERRE)
 
3620
 
 
3621
* Initial commit performance in ``--2a`` repositories has been improved by
 
3622
  making it cheaper to build the initial CHKMap. (John Arbash Meinel)
 
3623
 
 
3624
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
 
3625
  or ``bzr+ssh://`` is now much faster and involves no VFS operations.
 
3626
  This speeds up commands like ``bzr pull -r 123``.  (Andrew Bennetts)
 
3627
 
 
3628
* ``revision-info`` now properly aligns the revnos/revids in the output
 
3629
  and doesn't traceback when given revisions not in the current branch.
 
3630
  Performance is also significantly improved when requesting multiple revs
 
3631
  at once.  (Matthew Fuller, John Arbash Meinel)
 
3632
 
 
3633
* Tildes are no longer escaped by Transports. (Andy Kilner)
 
3634
 
 
3635
 
 
3636
Documentation
 
3637
*************
 
3638
 
 
3639
* Avoid bad text wrapping in generated documentation.  Slightly better
 
3640
  formatting in the user reference.
 
3641
  (Martin Pool, #249908)
 
3642
 
 
3643
* Minor clarifications to the help for End-Of-Line conversions.
 
3644
  (Ian Clatworthy)
 
3645
 
 
3646
API Changes
 
3647
***********
 
3648
 
 
3649
* Removed overspecific error class ``InvalidProgressBarType``.
 
3650
  (Martin Pool)
 
3651
 
 
3652
* The method ``ProgressView._show_transport_activity`` is now
 
3653
  ``show_transport_activity`` because it's part of the contract between
 
3654
  this class and the UI.  (Martin Pool)
 
3655
 
 
3656
 
 
3657
bzr 1.16.1
 
3658
##########
 
3659
 
 
3660
:Released: 2009-06-26
 
3661
 
 
3662
End user testing of the 2a format revealed two serious bugs. The first,
 
3663
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
 
3664
This meant that commits or pushes to 2a-format repositories failed
 
3665
intermittently.
 
3666
 
 
3667
The second bug, #390563, caused the smart server to raise AbsentContentFactory
 
3668
when streaming 2a stacked 2a-format branches. This particularly affected
 
3669
branches stored on Launchpad in the 2a format.
 
3670
 
 
3671
Both of these bugs cause command failures only, neither of them cause data
 
3672
corruption or data loss. And, of course, both of these bugs are now fixed.
 
3673
 
 
3674
Bug Fixes
 
3675
*********
 
3676
 
 
3677
* We now properly request a more minimal set of file texts when fetching
 
3678
  multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
 
3679
 
 
3680
* Repositories using CHK pages (which includes the new 2a format) will no
 
3681
  longer error during commit or push operations when an autopack operation
 
3682
  is triggered. (Robert Collins, #365615)
 
3683
 
 
3684
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
 
3685
  of referenced nodes rather than the *union* to determine what
 
3686
  uninteresting pages we still need to look at. Prior to this,
 
3687
  incrementally pushing to stacked branch would push the minimal data, but
 
3688
  fetching everything would request extra texts. There are some unhandled
 
3689
  cases wrt trees of different depths, but this fixes the common cases.
 
3690
  (Robert Collins, John Arbash Meinel, #390563)
 
3691
 
 
3692
* ``GroupCompress`` repositories now take advantage of the pack hints
 
3693
  parameter to permit cross-format fetching to incrementally pack the
 
3694
  converted data. (Robert Collins)
 
3695
 
 
3696
* ``Repository.commit_write_group`` now returns opaque data about what
 
3697
  was committed, for passing to the ``Repository.pack``. Repositories
 
3698
  without atomic commits will still return None. (Robert Collins)
 
3699
 
 
3700
* ``Repository.pack`` now takes an optional ``hint`` parameter
 
3701
  which will support doing partial packs for repositories that can do
 
3702
  that. (Robert Collins)
 
3703
 
 
3704
* RepositoryFormat has a new attribute 'pack_compresses' which is True
 
3705
  when doing a pack operation changes the compression of content in the
 
3706
  repository. (Robert Collins)
 
3707
 
 
3708
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
 
3709
  ``Repository.pack`` with the hint returned by
 
3710
  ``Repository.commit_write_group`` if the formats were different and the
 
3711
  repository can increase compression by doing a pack operation.
 
3712
  (Robert Collins, #376748)
 
3713
 
 
3714
 
 
3715
bzr 1.16
 
3716
########
 
3717
:Codename: yesterday-in-california
 
3718
:1.16rc1: 2009-06-11
 
3719
:1.16: 2009-06-18
 
3720
 
 
3721
This version of Bazaar contains the beta release of the new ``2a`` repository
 
3722
format, suitable for testing by fearless, advanced users. This format or an
 
3723
updated version of it will become the default format in Bazaar 2.0. Please
 
3724
read the NEWS entry before even thinking about upgrading to the new format.
 
3725
 
 
3726
Also included are speedups for many operations on huge projects, a bug fix for
 
3727
pushing stacked new stacked branches to smart servers and the usual bevy of
 
3728
bug fixes and improvements.
 
3729
 
 
3730
 
 
3731
Changes from 1.16rc1 to 1.16final
 
3732
*********************************
 
3733
 
 
3734
* Fix the nested tree flag check so that upgrade from development formats to
 
3735
  2a can work correctly.
 
3736
  (Jelmer Vernooij, #388727)
 
3737
 
 
3738
* Automatic format upgrades triggered by default stacking policies on a
 
3739
  1.16rc1 (or later) smart server work again.
 
3740
  (Andrew Bennetts, #388675)
 
3741
 
 
3742
 
 
3743
Compatibility Breaks
 
3744
********************
 
3745
 
 
3746
* Display prompt on stderr (instead of stdout) when querying users so
 
3747
  that the output of commands can be safely redirected.
 
3748
  (Vincent Ladeuil, #376582)
 
3749
 
 
3750
 
 
3751
New Features
 
3752
************
 
3753
 
 
3754
* A new repository format ``2a`` has been added.  This is a beta release
 
3755
  of the brisbane-core (aka group-compress) project.  This format now
 
3756
  suitable for wider testing by advanced users willing to deal with some
 
3757
  bugs.  We would appreciate test reports, either positive or negative.
 
3758
  Format 2a is substantially smaller and faster for many operations on
 
3759
  many trees.  This format or an updated version will become the default
 
3760
  in bzr 2.0.
 
3761
 
 
3762
  This is a rich-root format, so this repository format can be used with
 
3763
  bzr-svn.  Bazaar branches in previous non-rich-root formats can be
 
3764
  converted (including by merge, push and pull) to format 2a, but not vice
 
3765
  versa.  We recommend upgrading previous development formats to 2a.
 
3766
 
 
3767
  Upgrading to this format can take considerable time because it expands
 
3768
  and more concisely repacks the full history.
 
3769
 
 
3770
  If you use stacked branches, you must upgrade the stacked branches
 
3771
  before the stacked-on branches.  (See <https://bugs.launchpad.net/bugs/374735>)
 
3772
 
 
3773
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
 
3774
  but using a Revision serializer using bencode rather than XML.
 
3775
  (Jelmer Vernooij, John Arbash Meinel)
 
3776
 
 
3777
* mail_client=claws now supports --body (and message body hooks).  Also uses
 
3778
  configured from address.  (Barry Warsaw)
 
3779
 
 
3780
Improvements
 
3781
************
 
3782
 
 
3783
 
 
3784
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
 
3785
  bugs with stacking and non default formats.)
 
3786
  (John Arbash Meinel, #373455)
 
3787
 
 
3788
* ``--development6-rich-root`` delays generating a delta index for the
 
3789
  first object inserted into a group. This has a beneficial impact on
 
3790
  ``bzr commit`` since each committed texts goes to its own group. For
 
3791
  committing a 90MB file, it drops peak memory by about 200MB, and speeds
 
3792
  up commit from 7s => 4s. (John Arbash Meinel)
 
3793
 
 
3794
* Numerous operations are now faster for huge projects, i.e. those
 
3795
  with a large number of files and/or a large number of revisions,
 
3796
  particularly when the latest development format is used. These
 
3797
  operations (and improvements on OpenOffice.org) include:
 
3798
 
 
3799
  * branch in a shared repository (2X faster)
 
3800
  * branch --no-tree (100X faster)
 
3801
  * diff (2X faster)
 
3802
  * tags (70X faster)
 
3803
 
 
3804
  (Ian Clatworthy)
 
3805
 
 
3806
* Pyrex version of ``bencode`` support. This provides optimized support
 
3807
  for both encoding and decoding, and is now found at ``bzrlib.bencode``.
 
3808
  ``bzrlib.utils.bencode`` is now deprecated.
 
3809
  (Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
 
3810
 
 
3811
 
 
3812
Bug Fixes
 
3813
*********
 
3814
 
 
3815
* Bazaar can now pass attachment files to the mutt email client.
 
3816
  (Edwin Grubbs, #384158)
 
3817
 
 
3818
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
 
3819
  see which files can also be added.  (Jason Spashett, #76616)
 
3820
 
 
3821
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
 
3822
  Also, the ``Branch.revision_history()`` API now works in the same
 
3823
  situation.  (Andrew Bennetts, #380314)
 
3824
  
 
3825
* ``bzr serve`` on Windows no longer displays a traceback simply because a
 
3826
  TCP client disconnected. (Andrew Bennetts)
 
3827
 
 
3828
* Clarify the rules for locking and fallback repositories. Fix bugs in how
 
3829
  ``RemoteRepository`` was handling fallbacks along with the
 
3830
  ``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
 
3831
 
 
3832
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
 
3833
  branch. Not often triggered, because it required ghosts to be part of
 
3834
  the fetched revisions, not in the stacked-on ancestry.
 
3835
  (John Arbash Meinel)
 
3836
 
 
3837
* Fix status and commit to work with content filtered trees, addressing
 
3838
  numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
 
3839
 
 
3840
* Fix problem of "directory not empty" when contending for a lock over
 
3841
  sftp.  (Martin Pool, #340352)
 
3842
 
 
3843
* Fix rule handling so that eol is optional, not mandatory.
 
3844
  (Ian Clatworthy, #379370)
 
3845
 
 
3846
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
 
3847
  bug in the ``BzrDirFormat.initialize_ex`` smart verb.  This is fixed in
 
3848
  1.16, but required changes to the network protocol, so the
 
3849
  ``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
 
3850
  corrected ``BzrDirFormat.initialize_ex_1.16`` verb.  1.15 clients will
 
3851
  still work with a 1.16 server as they will fallback to slower (and
 
3852
  bug-free) methods.
 
3853
  (Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
 
3854
 
 
3855
* Reconcile can now deal with text revisions that originated in revisions 
 
3856
  that are ghosts. (Jelmer Vernooij, #336749)
 
3857
 
 
3858
* Support cloning of branches with ghosts in the left hand side history.
 
3859
  (Jelmer Vernooij, #248540)
 
3860
 
 
3861
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
 
3862
  helpful message to the trace file, unless the temp directory really was
 
3863
  removed (which would be very strange).  Since the diff operation has
 
3864
  succeeded from the user's perspective, no output is written to stderr 
 
3865
  or stdout.  (Maritza Mendez, #363837)
 
3866
 
 
3867
* Translate errors received from a smart server in response to a
 
3868
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
3869
  This was causing tracebacks even for mundane errors like
 
3870
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
3871
 
 
3872
Documentation
 
3873
*************
 
3874
 
 
3875
* Added directory structure and started translation of docs in Russian.
 
3876
  (Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
 
3877
  Volodymyr Kotulskyi)
 
3878
 
 
3879
API Changes
 
3880
***********
 
3881
 
 
3882
* Added osutils.parent_directories(). (Ian Clatworthy)
 
3883
 
 
3884
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
 
3885
  ``TTYProgressBar`` and ``child_progress`` are now deprecated; use
 
3886
  ``ui_factory.nested_progress_bar`` instead.  (Martin Pool)
 
3887
 
 
3888
* ``graph.StackedParentsProvider`` is now a public API, replacing
 
3889
  ``graph._StackedParentsProvider``. The api is now considered stable and ready
 
3890
  for external users. (Gary van der Merwe)
 
3891
 
 
3892
* ``bzrlib.user_encoding`` is deprecated in favor of
 
3893
  ``get_user_encoding``.  (Alexander Belchenko)
 
3894
 
 
3895
* TreeTransformBase no longer assumes that limbo is provided via disk.
 
3896
  DiskTreeTransform now provides disk functionality.  (Aaron Bentley)
 
3897
 
 
3898
Internals
 
3899
*********
 
3900
 
 
3901
* Remove ``weave.py`` script for accessing internals of old weave-format
 
3902
  repositories.  (Martin Pool)
 
3903
 
 
3904
Testing
 
3905
*******
 
3906
 
 
3907
* ``make check`` no longer repeats the test run in ``LANG=C``.
 
3908
  (Martin Pool, #386180)
 
3909
 
 
3910
* The number of cores is now correctly detected on OSX. (John Szakmeister)
 
3911
 
 
3912
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
 
3913
 
 
3914
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
 
3915
 
 
3916
 
 
3917
bzr 1.15
 
3918
########
 
3919
:1.15rc1: 2009-05-16
 
3920
:1.15: 2009-05-22
 
3921
:1.15.1: 2009-06-09
 
3922
 
 
3923
The smart server will no longer raise 'NoSuchRevision' when streaming content
 
3924
with a size mismatch in a reconstructed graph search. New command ``bzr
 
3925
dpush``. Plugins can now define their own annotation tie-breaker when two
 
3926
revisions introduce the exact same line.
 
3927
 
 
3928
Changes from 1.15.1 to 1.15.2
 
3929
*****************************
 
3930
 
 
3931
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
 
3932
  (Alexander Belchenko)
 
3933
 
 
3934
Changes from 1.15final to 1.15.1
 
3935
*********************************
 
3936
 
 
3937
* Translate errors received from a smart server in response to a
 
3938
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
3939
  This was causing tracebacks even for mundane errors like
 
3940
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
3941
 
 
3942
Changes from 1.15rc1 to 1.15final
 
3943
*********************************
 
3944
 
 
3945
* No changes
 
3946
 
 
3947
Compatibility Breaks
 
3948
********************
 
3949
 
 
3950
* ``bzr ls`` is no longer recursive by default. To recurse, use the
 
3951
  new ``-R`` option. The old ``--non-recursive`` option has been removed.
 
3952
  If you alias ``ls`` to ``ls -R``, you can disable recursion using
 
3953
  ``--no-recursive`` instead.  (Ian Clatworthy)
 
3954
 
 
3955
New Features
 
3956
************
 
3957
 
 
3958
* New command ``bzr dpush`` that can push changes to foreign 
 
3959
  branches (svn, git) without setting custom bzr-specific metadata.
 
3960
  (Jelmer Vernooij)
 
3961
 
 
3962
* The new development format ``--development6-rich-root`` now supports
 
3963
  stacking. We chose not to use a new format marker, since old clients
 
3964
  will just fail to open stacked branches, the same as if we used a new
 
3965
  format flag. (John Arbash Meinel, #373455)
 
3966
 
 
3967
* Plugins can now define their own annotation tie-breaker when two revisions
 
3968
  introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
 
3969
  Be aware though that this is temporary, private (as indicated by the leading
 
3970
  '_') and a first step to address the problem. (Vincent Ladeuil, #348459)
 
3971
 
 
3972
* New command ``bzr dpush`` that can push changes to foreign 
 
3973
  branches (svn, git) without setting custom bzr-specific metadata.
 
3974
  (Jelmer Vernooij)
 
3975
 
 
3976
* ``bzr send`` will now check the ``child_submit_format`` setting in
 
3977
  the submit branch to determine what format to use, if none was 
 
3978
  specified on the command-line.  (Jelmer Vernooij)
 
3979
 
 
3980
Improvements
 
3981
************
 
3982
 
 
3983
* -Dhpss output now includes the number of VFS calls made to the remote
 
3984
  server. (Jonathan Lange)
 
3985
 
 
3986
* ``--coverage`` works for code running in threads too.
 
3987
  (Andrew Bennets, Vincent Ladeuil)
 
3988
 
 
3989
* ``bzr pull`` now has a ``--local`` option to only make changes to the
 
3990
  local branch, and not the bound master branch.
 
3991
  (Gary van der Merwe, #194716)
 
3992
 
 
3993
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
 
3994
 
 
3995
Bug Fixes
 
3996
*********
 
3997
 
 
3998
* Adding now works properly when path contains a symbolic link.
 
3999
  (Geoff Bache, #183831)
 
4000
 
 
4001
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
 
4002
 
 
4003
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
 
4004
  line, and the other side modifies the line. (John Arbash Meinel, #328171)
 
4005
 
 
4006
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
 
4007
  (Martin von Gagern, #248932)
 
4008
 
 
4009
* ``bzr send`` works to send emails again using MAPI.
 
4010
  (Neil Martinsen-Burrell, #346998)
 
4011
 
 
4012
* Check for missing parent inventories in StreamSink.  This prevents
 
4013
  incomplete stacked branches being created by 1.13 bzr:// and
 
4014
  bzr+ssh:// clients (which have bug #354036).  Instead, the server now
 
4015
  causes those clients to send the missing records.  (Andrew Bennetts)
 
4016
 
 
4017
* Correctly handle http servers proposing multiple authentication schemes.
 
4018
  (Vincent Ladeuil, #366107)
 
4019
 
 
4020
* End-Of-Line content filters are now loaded correctly.
 
4021
  (Ian Clatworthy, Brian de Alwis, #355280)
 
4022
 
 
4023
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
4024
  longer than 64KiB. (John Arbash Meinel, #364900)
 
4025
 
 
4026
* Fix TypeError in running ``bzr break-lock`` on some URLs.
 
4027
  (Alexander Belchenko, Martin Pool, #365891)
 
4028
 
 
4029
* Non-recursive ``bzr ls`` now works properly when a path is specified.
 
4030
  (Jelmer Vernooij, #357863)
 
4031
 
 
4032
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
 
4033
  (Vincent Ladeuil, #367726)
 
4034
 
 
4035
* Several bugs related to unicode symlinks have been fixed and the test suite
 
4036
  enhanced to better catch regressions for them. (Vincent Ladeuil)
 
4037
 
 
4038
* The smart server will no longer raise 'NoSuchRevision' when streaming
 
4039
  content with a size mismatch in a reconstructed graph search: it assumes
 
4040
  that the client will make sure it is happy with what it got, and this
 
4041
  sort of mismatch is normal for stacked environments.
 
4042
  bzr 1.13.0/1 will stream from unstacked branches only - in that case not
 
4043
  getting all the content expected would be a bug. However the graph
 
4044
  search is how we figured out what we wanted, so a mismatch is both odd
 
4045
  and unrecoverable without starting over, and starting over will end up
 
4046
  with the same data as if we just permitted the mismatch. If data is
 
4047
  gc'd, doing a new search will find only the truncated data, so sending
 
4048
  only the truncated data seems reasonable. bzr versions newer than this
 
4049
  will stream from stacked branches and check the stream to find missing
 
4050
  content in the stacked-on branch, and thus will handle the situation
 
4051
  implicitly.  (Robert Collins, #360791)
 
4052
 
 
4053
* Upgrading to, or fetching into a 'rich-root' format will now correctly
 
4054
  set the root data the same way that reconcile does.
 
4055
  (Robert Collins, #368921)
 
4056
 
 
4057
* Using unicode Windows API to obtain command-line arguments.
 
4058
  (Alexander Belchenko, #375934)
 
4059
 
 
4060
Documentation
 
4061
*************
 
4062
 
 
4063
API Changes
 
4064
***********
 
4065
 
 
4066
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
 
4067
  instead of ``InstallFailed`` when they detect a missing revision.
 
4068
  ``InstallFailed`` itself has been deleted. (Jonathan Lange)
 
4069
 
 
4070
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
 
4071
  arguments from ``osutils.get_unicode_argv()`` which has proper support
 
4072
  for unicode arguments on windows. Further, the supplied arguments are now 
 
4073
  required to be unicode strings, rather than user_encoded strings.
 
4074
  (Alexander Belchenko)
 
4075
 
 
4076
Internals
 
4077
*********
 
4078
 
 
4079
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
 
4080
  class and will call ``_set_parent_location`` after doing unicode 
 
4081
  encoding. (Robert Collins)
 
4082
 
 
4083
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
 
4084
  ``Branch.set_parent_location`` removing further VFS operations.
 
4085
  (Robert Collins)
 
4086
 
 
4087
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
 
4088
  or similar when the dir supports configuration settings. The base class
 
4089
  defaults to None. There is a matching new server verb
 
4090
  ``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
 
4091
  configuration. (Robert Collins)
 
4092
 
 
4093
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
 
4094
  called before the first test is started, ``done`` called after the last
 
4095
  test completes, and a new parameter ``strict``. (Robert Collins)
 
4096
 
 
4097
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
 
4098
  VFS operations are started on a smart server repository. This should not
 
4099
  occur on regular push and pull operations, and is a key indicator for
 
4100
  performance regressions. (Robert Collins)
 
4101
 
 
4102
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
 
4103
  cause mismatched physical locks to cause test errors rather than just
 
4104
  reporting to the screen. (Robert Collins)
 
4105
 
 
4106
* -Dprogress will cause pdb to start up if a progress view jumps
 
4107
  backwards. (Robert Collins)
 
4108
 
 
4109
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
 
4110
  are now be able to provide credentials if obtaining credentials 
 
4111
  via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij, 
 
4112
  Vincent Ladeuil, #321918)
 
4113
 
 
4114
* New hook ``Lock.lock_broken`` which runs when a lock is
 
4115
  broken. This is mainly for testing that lock/unlock are
 
4116
  balanced in tests. (Vincent Ladeuil)
 
4117
 
 
4118
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
 
4119
  alter a body for the message produced by ``bzr send``.
 
4120
 
 
4121
* New smart server verb ``BzrDir.initialize_ex`` which implements a
 
4122
  refactoring to the core of clone allowing less round trips on new
 
4123
  branches. (Robert Collins)
 
4124
 
 
4125
* New method ``Tags.rename_revisions`` that can rename revision ids tags
 
4126
  are pointing at. (Jelmer Vernooij)
 
4127
 
 
4128
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
 
4129
 
 
4130
Testing
 
4131
*******
 
4132
 
 
4133
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
 
4134
  tests. Using ``-Dlock`` will turn the related failures into warnings.
 
4135
  (Vincent Ladeuil, Robert Collins)
 
4136
 
 
4137
bzr 1.14
 
4138
########
 
4139
:Codename: brisbane-core
 
4140
:1.14rc1: 2009-04-06
 
4141
:1.14rc2: 2009-04-19
 
4142
:1.14: 2009-04-28
 
4143
:1.14.1: 2009-05-01
 
4144
 
 
4145
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
 
4146
keyword templating (via the bzr-keywords plugin) and generic content filtering.
 
4147
End-of-line conversion is now supported for formats supporting content
 
4148
filtering.
 
4149
 
 
4150
Changes from 1.14final to 1.14.1
 
4151
********************************
 
4152
 
 
4153
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
 
4154
 
 
4155
Changes from 1.14rc2 to 1.14final
 
4156
*********************************
 
4157
 
 
4158
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
4159
  longer than 64KiB. (John Arbash Meinel, #364900)
 
4160
 
 
4161
Changes from 1.14rc1 to 1.14rc2
 
4162
*******************************
 
4163
 
 
4164
* Fix for bug 358037 Revision not in
 
4165
  bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis, 
 
4166
  John A Meinel)
 
4167
 
 
4168
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
4169
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
4170
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
4171
 
 
4172
* Fix for bug 355280 eol content filters are never loaded and thus never
 
4173
  applied (Brian de Alwis, Ian Clatworthy)
 
4174
 
 
4175
* bzr.dev -r4280  Change _fetch_uses_deltas = False for CHK repos until we can
 
4176
  write a better fix. (John Arbash Meinel, Robert Collins)
 
4177
 
 
4178
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
 
4179
  (Marius Kruger, Ian Clatworthy)
 
4180
 
 
4181
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14 
 
4182
  (Andrew Bennetts, Robert Collins)
 
4183
 
 
4184
Compatibility Breaks
 
4185
********************
 
4186
 
 
4187
* A previously disabled code path to accelerate getting configuration
 
4188
  settings from a smart server has been reinstated. We think this *may*
 
4189
  cause a incompatibility with servers older than bzr 0.15. We intend
 
4190
  to issue a point release to address this if it turns out to be a
 
4191
  problem. (Robert Collins, Andrew Bennetts)
14
4192
 
15
4193
* bzr no longer autodetects nested trees as 'tree-references'.  They
16
4194
  must now be explicitly added tree references.  At the commandline, use
17
4195
  join --reference instead of add.  (Aaron Bentley)
18
4196
 
 
4197
* The ``--long`` log format (the default) no longer shows merged
 
4198
  revisions implicitly, making it consistent with the ``short`` and
 
4199
  ``line`` log formats.  To see merged revisions for just a given
 
4200
  revision, use ``bzr log -n0 -rX``. To see every merged revision,
 
4201
  use ``bzr log -n0``.  (Ian Clatworthy)
 
4202
 
19
4203
New Features
20
4204
************
21
4205
 
22
 
* New ``guess-renames`` command recognizes renames after they occur.
 
4206
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
 
4207
  (EOL) conversions, keyword templating (via the bzr-keywords plugin)
 
4208
  and generic content filtering. These formats replace the experimental
 
4209
  ``development-wt5`` and ``development-wt5-rich-root`` formats
 
4210
  respectively, but have support for filtered views disabled.
 
4211
  (Ian Clatworthy)
 
4212
 
 
4213
* New ``mv --auto`` option recognizes renames after they occur.
23
4214
  (Aaron Bentley)
24
4215
 
 
4216
* ``bzr`` can now get passwords from stdin without requiring a controlling
 
4217
  terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
 
4218
 
25
4219
* ``bzr log`` now supports filtering of multiple files and directories
26
4220
  and will show changes that touch any of them. Furthermore,
27
4221
  directory filtering now shows the changes to any children of that
46
4240
  trees). See ``bzr help content-filters`` for further details.
47
4241
  (Ian Clatworthy, Alexander Belchenko)
48
4242
 
 
4243
* End-of-line conversion is now supported for formats supporting
 
4244
  content filtering. See ``bzr help eol`` for details.
 
4245
  (Ian Clatworthy)
 
4246
 
 
4247
* Newly-blessed `join` command allows combining two trees into one.
 
4248
  (Aaron Bentley)
 
4249
 
49
4250
Improvements
50
4251
************
51
4252
 
67
4268
  version controlled files match the ignore pattern. (Neil
68
4269
  Martinsen-Burrell, #248895)
69
4270
 
 
4271
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
 
4272
  (Ian Clatworthy)
 
4273
 
70
4274
* ``bzr send`` is faster on repositories with deep histories.
71
4275
  (Ian Clatworthy)
72
4276
 
 
4277
* IPv6 literals are accepted in URLs.
 
4278
  (stlman, Martin Pool, Jelmer Vernooij, #165014)
 
4279
 
73
4280
* Progress bars now show the rate of network activity for
74
4281
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
75
4282
 
 
4283
* Prompt for user names if they are not in the configuration. 
 
4284
  (Jelmer Vernooij, #256612)
 
4285
 
76
4286
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
77
4287
  now takes many less round trips.  (Andrew Bennetts, Robert Collins,
78
4288
  #294479)
81
4291
  implemented using a new ``Repository.insert_stream_locked`` RPC.
82
4292
  (Andrew Bennetts, Robert Collins)
83
4293
 
 
4294
* The "ignoring files outside view: .." message has been re-worded
 
4295
  to "Ignoring files outside view. View is .." to reduce confusion
 
4296
  about what was being considered and what was being ignored.
 
4297
  (Ian Clatworthy)
 
4298
 
 
4299
* The ``long`` log formatter now shows [merge] indicators. If
 
4300
  only one level of revisions is displayed and merges are found,
 
4301
  the ``long`` and ``short`` log formatters now tell the user
 
4302
  how to see the hidden merged revisions.  (Ian Clatworthy)
 
4303
 
 
4304
* The ``brisbane-core`` project has delivered its beta format
 
4305
  ``development6-rich-root``. This format is suitable for judicious
 
4306
  testing by early adopters. In particular if you are benchmarking bzr
 
4307
  performance please be sure to test using this format. At this stage
 
4308
  more information is best obtained by contacting the Bazaar mailing list
 
4309
  or IRC channel if you are interested in using this format. We will make
 
4310
  end user documentation available closer to blessing the format as
 
4311
  production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
 
4312
  Vincent Ladeuil, Andrew Bennetts, Martin Pool)
 
4313
 
84
4314
* Tildes are no longer escaped. No more %7Euser/project/branch!
85
4315
  (Jonathan Lange)
86
4316
 
87
4317
Bug Fixes
88
4318
*********
89
4319
 
 
4320
* Pushing a new stacked branch will also push the parent inventories for
 
4321
  revisions at the stacking boundary.  This makes sure that the stacked
 
4322
  branch has enough data to calculate inventory deltas for all of its
 
4323
  revisions (without requiring the fallback branch).  This avoids
 
4324
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
4325
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
4326
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
4327
 
 
4328
* End-Of-Line content filters are now loaded correctly.
 
4329
  (Ian Clatworthy, Brian de Alwis, #355280)
 
4330
 
90
4331
* Authentication plugins now receive all the parameters from the request
91
4332
  itself (aka host, port, realm, path, etc). Previously, only the 
92
4333
  authentication section name, username and encoded password were 
95
4336
* bzr gives a better message if an invalid regexp is passed to ``bzr log
96
4337
  -m``.  (Anne Mohsen, Martin Pool)
97
4338
 
 
4339
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
 
4340
 
 
4341
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
 
4342
  #313028)
 
4343
 
98
4344
* Fix "is not a stackable format" error when pushing a
99
4345
  stackable-format branch with an unstackable-format repository to a
100
4346
  destination with a default stacking policy.  (Andrew Bennetts)
102
4348
* Fixed incorrect "Source format does not support stacking" warning
103
4349
  when pushing to a smart server.  (Andrew Bennetts, #334114)
104
4350
 
 
4351
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
 
4352
  needed. (Vincent Ladeuil, #355454)
 
4353
 
105
4354
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
106
 
  on ``bzr add x/y/z`` in WorkingTree5 formats (e.g. ``development-wt5``)
107
 
  when no view is defined.  (Ian Clatworthy, #344708)
 
4355
  on ``bzr add x/y/z`` in formats supporting views when no view is
 
4356
  defined.  (Ian Clatworthy, #344708)
108
4357
 
109
4358
* It is no longer possible to fetch between repositories while the
110
4359
  target repository is in a write group. This prevents race conditions
122
4371
  both branches, we know that the trunk for the project can be read too,
123
4372
  so the upgrade will not inconvenience users. (Robert Collins, #345169)
124
4373
 
 
4374
* Pushing a new stacked branch will also push the parent inventories for
 
4375
  revisions at the stacking boundary.  This makes sure that the stacked
 
4376
  branch has enough data to calculate inventory deltas for all of its
 
4377
  revisions (without requiring the fallback branch).  This avoids
 
4378
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
4379
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
4380
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
4381
 
 
4382
* The full test suite is passing again on OSX. Several minor issues (mostly
 
4383
  test related) have been fixed. (Vincent Ladeuil, #355273).
 
4384
 
125
4385
* The GNU Changelog formatter is slightly improved in the case where
126
4386
  the delta is empty, and now correctly claims not to support tags.
127
4387
  (Andrea Bolognani)
129
4389
* Shelve can now shelve changes to a symlink target.
130
4390
  (James Westby, #341558)
131
4391
 
 
4392
* The help for the ``info`` command has been corrected.
 
4393
  (Ian Clatworthy, #351931)
 
4394
 
 
4395
* Upgrade will now use a sensible default format if the source repository
 
4396
  uses rich roots.  (Jelmer Vernooij, #252908)
 
4397
 
132
4398
Documentation
133
4399
*************
134
4400
 
142
4408
API Changes
143
4409
***********
144
4410
 
145
 
* APIs deprecated in 1.6 and previous verisons of bzr are now removed.
 
4411
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
146
4412
  (Martin Pool)
147
4413
 
 
4414
* ``CommitReporter`` is no longer called with ``unchanged`` status during
 
4415
  commit - this was a full-tree overhead that bzr no longer performs.
 
4416
  (Robert Collins)
 
4417
 
 
4418
* New abstract ``UIFactory`` method ``get_username`` which will be called to 
 
4419
  obtain the username to use when connecting to remote machines. 
 
4420
  (Jelmer Vernooij)
 
4421
 
148
4422
* New API ``Inventory.filter()`` added that filters an inventory by
149
4423
  a set of file-ids so that only those fileids, their parents and
150
4424
  their children are included.  (Ian Clatworthy)
166
4440
* The ``pb`` argument to ``fetch()`` is deprecated.
167
4441
  (Martin Pool)
168
4442
 
 
4443
* The ``Serializer`` class and the serializer ``format registry`` have moved
 
4444
  from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
 
4445
 
169
4446
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
170
4447
  that is not inside the backing transport from being opened.  See the
171
4448
  module documentation for ``bzrlib.smart.request`` for details.
172
4449
  (Andrew Bennetts, Robert Collins)
173
4450
 
 
4451
* ``Tree.get_symlink_target`` now always returns a unicode string result
 
4452
  or None. Previously it would return the bytes from reading the link
 
4453
  which could be in any arbitrary encoding. (Robert Collins)
 
4454
 
174
4455
Testing
175
4456
*******
176
4457
 
192
4473
Internals
193
4474
*********
194
4475
 
 
4476
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
 
4477
  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
4478
 
 
4479
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
 
4480
  maps.  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
4481
 
 
4482
* Added ``bzrlib.inventory_delta`` module.  This will be used for
 
4483
  serializing and deserializing inventory deltas for more efficient
 
4484
  streaming on the network.  (Robert Collins, Andrew Bennetts)
 
4485
 
 
4486
* ``Branch._get_config`` has been added, which splits out access to the
 
4487
  specific config file from the branch. This is used to let RemoteBranch
 
4488
  avoid constructing real branch objects to access configuration settings.
 
4489
  (Robert Collins, Andrew Bennetts)
 
4490
 
 
4491
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
 
4492
  the implementation is generic and should impact foreign formats. This
 
4493
  helps performance for ``RemoteBranch`` push operations to new stacked
 
4494
  branches. (Robert Collins, Andrew Bennetts)
 
4495
 
195
4496
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
196
4497
  optmizations turned off. This only has effect when processing > 100,000
197
4498
  keys during something like ``bzr pack``. (John Arbash Meinel)
219
4520
  objects, allowing better enforcement of the smart server jail when
220
4521
  dealing with stacked branches. (Robert Collins, Andrew Bennetts)
221
4522
 
 
4523
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries 
 
4524
  to be added to the stanza that is printed for a particular revision.
 
4525
  (Jelmer Vernooij)
 
4526
 
222
4527
* New repository method ``refresh_data`` to cause any repository to
223
4528
  make visible data inserted into the repository by a smart server
224
4529
  fetch operation. (Robert Collins, Andrew Bennetts)
225
4530
 
 
4531
* ``register_filter_stack_map`` now takes an optional fallback parameter,
 
4532
  a callable to invoke if a preference has a value not in the map
 
4533
  of filter stacks. This enhancement allows, for example,  bzr-svn to
 
4534
  handle existing svn properties that define a list of keywords to be
 
4535
  expanded.  (Ian Clatworthy)
 
4536
 
 
4537
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
 
4538
  to write config settings to smart servers that support this, saving
 
4539
  5 round trips on the stacked streaming acceptance test.
 
4540
  (Robert Collins, Andrew Bennetts)
 
4541
 
 
4542
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
 
4543
  branch specific configuration from a remote server, which uses the 
 
4544
  already existing ``Branch.get_config_file`` smart verb.
 
4545
  (Robert Collins, Andrew Bennetts)
 
4546
 
226
4547
* ``RemoteRepository`` will now negatively cache missing revisions during
227
4548
  ``get_parent_map`` while read-locked. Write-locks are unaffected.
228
4549
  (Robert Collins, Andrew Bennetts)
241
4562
  building a working tree (file.writelines(str) is very inefficient). This
242
4563
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
243
4564
 
 
4565
* selftest now supports a --parallel option, with values of 'fork' or
 
4566
  'subprocess' to run the test suite in parallel. Currently only Linux
 
4567
  machines work, other platforms need patches submitted. (Robert Collins,
 
4568
  Vincent Ladeuil)
 
4569
 
244
4570
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
245
4571
  callables to use to decorate the test suite. Such decorators can add or
246
4572
  remove tests, or even remote the test suite to another machine if
263
4589
:1.13: 2009-03-14
264
4590
:1.13rc1: 2009-03-10
265
4591
:1.13.1: 2009-03-23
 
4592
:1.13.2: 2009-04-27
266
4593
 
267
4594
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.  Debug
268
4595
flags can now be set in ``~/.bazaar/bazaar.conf``.  Lightweight checkouts and
269
4596
stacked branches should both be much faster over remote connections.  
270
4597
 
271
 
Changes From 1.13 to 1.13.1
272
 
***************************
 
4598
Changes From 1.13.1 to 1.13.2
 
4599
*****************************
 
4600
 
 
4601
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
 
4602
a stacked branch they do not take care to push all the parent inventories for
 
4603
the transferred revisions. This means that a smart server serving that branch
 
4604
often cannot calculate inventory deltas for the branch (because smart server
 
4605
does not/cannot open fallback repositories). Prior to 1.13 the server did not
 
4606
have a verb to stream revisions out of a repository, so that's why this bug has
 
4607
appeared now.
 
4608
 
 
4609
Bug Fixes
 
4610
*********
 
4611
 
 
4612
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
4613
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
4614
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
4615
 
 
4616
Changes From 1.13final to 1.13.1
 
4617
********************************
 
4618
 
273
4619
A couple regessions where found in the 1.13 release. The pyrex-generated C
274
4620
extensions are missing from the .tar.gz and .zip files.  Documentation on how
275
4621
to generate GNU ChangeLogs is wrong.
288
4634
 
289
4635
* ``merge --force`` works again. (Robert Collins, #342105)
290
4636
 
291
 
Changes From RC1 to Final
292
 
*************************
 
4637
Changes From 1.13rc1 to 1.13final
 
4638
*********************************
293
4639
 
294
4640
* Fix "is not a stackable format" error when pushing a
295
4641
  stackable-format branch with an unstackable-format repository to a
330
4676
* Multiple authors for a commit can now be recorded by using the "--author"
331
4677
  option multiple times. (James Westby, #185772)
332
4678
 
333
 
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernoij)
 
4679
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernooij)
334
4680
 
335
4681
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
336
4682
  branch in your web browser, as long as the branch is on Launchpad at all.
441
4787
  reoccuring. (Robert Collins, Andrew Bennetts)
442
4788
 
443
4789
* Restore the progress bar on Windows. We were disabling it when TERM
444
 
  wasn't set, but Windows doesn't set TERM. (Alexander Belchenko)
 
4790
  wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
 
4791
  #334808)
445
4792
 
446
4793
* ``setup.py build_ext`` now gives a proper error when an extension
447
4794
  fails to build. (John Arbash Meinel)
843
5190
  (Vincent Ladeuil)
844
5191
 
845
5192
 
846
 
bzr 1.11 "Eyes up!" 2009-01-19
847
 
##############################
 
5193
bzr 1.11
 
5194
########
 
5195
 
 
5196
:Codename: "Eyes up!"
 
5197
:Released: 2009-01-19
848
5198
 
849
5199
This first monthly release of Bazaar for 2009 improves Bazaar's operation
850
5200
in Windows, Mac OS X, and other situations where file names are matched
870
5220
 
871
5221
 
872
5222
 
873
 
bzr 1.11rc1 "Eyes up!" 2009-01-09
874
 
#################################
 
5223
bzr 1.11rc1
 
5224
###########
 
5225
 
 
5226
:Codename: "Eyes up!"
 
5227
:Released: 2009-01-09
875
5228
 
876
5229
Changes
877
5230
*******
1107
5460
 
1108
5461
 
1109
5462
 
1110
 
bzr 1.10 2008-12-05
1111
 
###################
 
5463
bzr 1.10
 
5464
########
 
5465
 
 
5466
:Released: 2008-12-05
1112
5467
 
1113
5468
Bazaar 1.10 has several performance improvements for copying revisions
1114
5469
(especially for small updates to large projects).  There has also been a
1133
5488
  topologically. (John Arbash Meinel, #304841)
1134
5489
 
1135
5490
 
1136
 
bzr 1.10rc1 2008-11-28
1137
 
######################
 
5491
bzr 1.10rc1
 
5492
###########
 
5493
 
 
5494
:Released: 2008-11-28
1138
5495
 
1139
5496
This release of Bazaar focuses on performance improvements when pushing
1140
5497
and pulling revisions, both locally and to remote networks.  The popular
1254
5611
* Doctests now only report the first failure.  (Martin Pool)
1255
5612
 
1256
5613
 
1257
 
bzr 1.9 2008-11-07
1258
 
##################
 
5614
bzr 1.9
 
5615
#######
 
5616
 
 
5617
:Released: 2008-11-07
1259
5618
 
1260
5619
This release of Bazaar adds a new repository format, ``1.9``, with smaller
1261
5620
and more efficient index files.  This format can be specified when
1277
5636
  (John Arbash Meinel, #293746)
1278
5637
 
1279
5638
 
1280
 
bzr 1.9rc1 2008-10-31
1281
 
#####################
 
5639
bzr 1.9rc1
 
5640
##########
 
5641
 
 
5642
:Released: 2008-10-31
1282
5643
 
1283
5644
New Features
1284
5645
************
1395
5756
  configuration of authetication credentials.
1396
5757
 
1397
5758
 
1398
 
bzr 1.8 2008-10-16
1399
 
##################
 
5759
bzr 1.8
 
5760
#######
 
5761
 
 
5762
:Released: 2008-10-16
1400
5763
 
1401
5764
Bazaar 1.8 includes several fixes that improve working tree performance,
1402
5765
display of revision logs, and merges.  The bzr testsuite now passes on OS
1417
5780
  that platform.  (Alexander Belchenko, Martin Pool, #277481)
1418
5781
 
1419
5782
 
1420
 
bzr 1.8rc1 2008-10-07
1421
 
#####################
 
5783
bzr 1.8rc1
 
5784
##########
 
5785
 
 
5786
:Released: 2008-10-07
1422
5787
 
1423
5788
Changes
1424
5789
*******
1616
5981
  (Vincent Ladeuil)
1617
5982
 
1618
5983
 
1619
 
bzr 1.7.1 2008-10-01
1620
 
####################
 
5984
bzr 1.7.1
 
5985
#########
 
5986
 
 
5987
:Released:  2008-10-01
1621
5988
 
1622
5989
No changes from 1.7.1rc1.
1623
5990
 
1624
5991
 
1625
 
bzr 1.7.1rc1 2008-09-24
1626
 
#######################
 
5992
bzr 1.7.1rc1
 
5993
############
 
5994
 
 
5995
:Released: 2008-09-24
1627
5996
 
1628
5997
This release just includes an update to how the merge algorithm handles
1629
5998
file paths when we encounter complex history.
1638
6007
  (John Arbash Meinel)
1639
6008
 
1640
6009
 
1641
 
bzr 1.7 2008-09-23
1642
 
##################
 
6010
bzr 1.7
 
6011
#######
 
6012
 
 
6013
:Released: 2008-09-23
1643
6014
 
1644
6015
This release includes many bug fixes and a few performance and feature
1645
6016
improvements.  ``bzr rm`` will now scan for missing files and remove them,
1656
6027
  packaging qbzr. (Mark Hammond)
1657
6028
 
1658
6029
 
1659
 
bzr 1.7rc2 2008-09-17
1660
 
#####################
 
6030
bzr 1.7rc2
 
6031
##########
 
6032
 
 
6033
:Released: 2008-09-17
1661
6034
 
1662
6035
A few bug fixes from 1.7rc1. The biggest change is a new
1663
6036
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
1681
6054
  (Andrew Bennetts)
1682
6055
 
1683
6056
 
1684
 
bzr 1.7rc1 2008-09-09
1685
 
#####################
 
6057
bzr 1.7rc1
 
6058
##########
 
6059
 
 
6060
:Released: 2008-09-09
1686
6061
 
1687
6062
This release candidate for bzr 1.7 has several bug fixes and a few
1688
6063
performance and feature improvements.  ``bzr rm`` will now scan for
1879
6254
  clients now use this mechanism.  (Neil Martinsen-Burrell)
1880
6255
 
1881
6256
 
1882
 
bzr 1.6.1 2008-09-05
1883
 
####################
 
6257
bzr 1.6.1
 
6258
#########
 
6259
 
 
6260
:Released: 2008-09-05
1884
6261
 
1885
6262
A couple regressions were found in the 1.6 release. There was a
1886
6263
performance issue when using ``bzr+ssh`` to branch large repositories,
1887
6264
and some problems with stacking and ``rich-root`` capable repositories.
1888
6265
 
1889
6266
 
1890
 
bzr 1.6.1rc2 2008-09-03
1891
 
#######################
 
6267
bzr 1.6.1rc2
 
6268
############
 
6269
 
 
6270
:Released: 2008-09-03
1892
6271
 
1893
6272
Bug Fixes
1894
6273
*********
1899
6278
  (John Arbash Meinel, #264321)
1900
6279
 
1901
6280
 
1902
 
bzr 1.6.1rc1 2008-08-29
1903
 
#######################
 
6281
bzr 1.6.1rc1
 
6282
############
 
6283
 
 
6284
:Released: 2008-08-29
1904
6285
 
1905
6286
This release fixes a few regressions found in the 1.6 client. Fetching
1906
6287
changes was using an O(N^2) buffering algorithm, so for large projects it
1940
6321
  (John Arbash Meinel, #262333)
1941
6322
 
1942
6323
 
1943
 
bzr 1.6 2008-08-25
1944
 
##################
 
6324
bzr 1.6
 
6325
#######
 
6326
 
 
6327
:Released: 2008-08-25
1945
6328
 
1946
6329
Finally, the long awaited bzr 1.6 has been released. This release includes
1947
6330
new features like Stacked Branches, improved weave merge, and an updated
1954
6337
TortoiseBzr in the standalone Windows installer.
1955
6338
 
1956
6339
 
1957
 
bzr 1.6rc5 2008-08-19
1958
 
#####################
 
6340
bzr 1.6rc5
 
6341
##########
 
6342
 
 
6343
:Released: 2008-08-19
1959
6344
 
1960
6345
Bug Fixes
1961
6346
*********
1967
6352
  (This change was reverted when merged to bzr.dev)
1968
6353
 
1969
6354
 
1970
 
bzr 1.6rc4 2008-08-18
1971
 
#####################
 
6355
bzr 1.6rc4
 
6356
##########
 
6357
 
 
6358
:Released: 2008-08-18
1972
6359
 
1973
6360
Bug Fixes
1974
6361
*********
1978
6365
  rather than preserving deltas.  (John Arbash Meinel, #256757)
1979
6366
 
1980
6367
 
1981
 
bzr 1.6rc3 2008-08-14
1982
 
#####################
 
6368
bzr 1.6rc3
 
6369
##########
 
6370
 
 
6371
:Released: 2008-08-14
1983
6372
 
1984
6373
Changes
1985
6374
*******
2012
6401
  development which is substantially faster. (Robert Collins)
2013
6402
 
2014
6403
 
2015
 
bzr 1.6rc2 2008-08-13
2016
 
#####################
 
6404
bzr 1.6rc2
 
6405
##########
 
6406
 
 
6407
:Released: 2008-08-13
2017
6408
 
2018
6409
This release candidate has a few minor bug fixes, and some regression
2019
6410
fixes for Windows.
2051
6442
  will get the same results.  (John Arbash Meinel, #232188)
2052
6443
 
2053
6444
 
2054
 
bzr 1.6rc1 2008-08-06
2055
 
#####################
 
6445
bzr 1.6rc1
 
6446
##########
 
6447
 
 
6448
:Released: 2008-08-06
2056
6449
 
2057
6450
This release candidate for bzr 1.6 solidifies the new branch stacking
2058
6451
feature.  Bazaar now recommends that users upgrade all knit repositories,
2188
6581
  (Ian Clatworthy)
2189
6582
 
2190
6583
 
2191
 
bzr 1.6beta3 2008-07-17
2192
 
#######################
 
6584
bzr 1.6beta3
 
6585
############
 
6586
 
 
6587
:Released: 2008-07-17
2193
6588
 
2194
6589
This release adds a new 'stacked branches' feature allowing branches to
2195
6590
share storage without being in the same repository or on the same machine.
2361
6756
  (Robert Collins)
2362
6757
 
2363
6758
 
2364
 
bzr 1.6beta2 2008-06-10
2365
 
#######################
 
6759
bzr 1.6beta2
 
6760
############
 
6761
 
 
6762
:Released: 2008-06-10
2366
6763
 
2367
6764
This release contains further progress towards our 1.6 goals of shallow
2368
6765
repositories, and contains a fix for some user-affecting bugs in the
2445
6842
* Knit record serialisation is now stricter on what it will accept, to
2446
6843
  guard against potential internal bugs, or broken input. (Robert Collins)
2447
6844
 
2448
 
bzr 1.6beta1 2008-06-02
2449
 
#######################
 
6845
bzr 1.6beta1
 
6846
############
2450
6847
 
 
6848
:Released: 2008-06-02
2451
6849
 
2452
6850
Commands that work on the revision history such as push, pull, missing,
2453
6851
uncommit and log are now substantially faster.  This release adds a
2665
7063
  (Martin Pool)
2666
7064
 
2667
7065
 
2668
 
bzr 1.5 2008-05-16
2669
 
##################
 
7066
bzr 1.5
 
7067
#######
 
7068
 
 
7069
:Released: 2008-05-16
2670
7070
 
2671
7071
This release of Bazaar includes several updates to the documentation, and fixes
2672
7072
to prepare for making rich root support the default format. Many bugs have been
2687
7087
  (Ian Clatworthy)
2688
7088
 
2689
7089
 
2690
 
bzr 1.5rc1 2008-05-09
2691
 
#####################
 
7090
bzr 1.5rc1
 
7091
##########
 
7092
 
 
7093
:Released: 2008-05-09
2692
7094
 
2693
7095
Changes
2694
7096
*******
2803
7205
  exception. (Andrew Bennetts)
2804
7206
 
2805
7207
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
2806
 
  options for debugging tests, these are complementary to the the -D
 
7208
  options for debugging tests, these are complementary to the -D
2807
7209
  options.  The ``-Dselftest_debug`` global option has been replaced by the
2808
7210
  ``-E=allow_debug`` option for selftest. (Andrew Bennetts)
2809
7211
 
2858
7260
  (Martin Pool)
2859
7261
 
2860
7262
 
2861
 
bzr 1.4 2008-04-28
2862
 
##################
 
7263
bzr 1.4 
 
7264
#######
 
7265
 
 
7266
:Released: 2008-04-28
2863
7267
 
2864
7268
This release of Bazaar includes handy improvements to the speed of log and
2865
7269
status, new options for several commands, improved documentation, and better
2878
7282
  (John Arbash Meinel, Andrew Bennetts, #214894)
2879
7283
 
2880
7284
 
2881
 
bzr 1.4rc2 2008-04-21
2882
 
#####################
 
7285
bzr 1.4rc2
 
7286
##########
 
7287
 
 
7288
:Released: 2008-04-21
2883
7289
 
2884
7290
Bug Fixes
2885
7291
*********
2902
7308
  (Robert Collins, John Arbash Meinel)
2903
7309
 
2904
7310
 
2905
 
bzr 1.4rc1 2008-04-11
2906
 
#####################
 
7311
bzr 1.4rc1
 
7312
##########
 
7313
 
 
7314
:Released: 2008-04-11
2907
7315
 
2908
7316
Changes
2909
7317
*******
2910
7318
 
2911
7319
* bzr main script cannot be imported (Benjamin Peterson)
2912
7320
 
2913
 
* On Linux bzr additionally looks for plugins in arch-independent site
 
7321
* On GNU/Linux bzr additionally looks for plugins in arch-independent site
2914
7322
  directory. (Toshio Kuratomi)
2915
7323
 
2916
7324
* The ``set_rh`` branch hook is now deprecated. Please migrate
3190
7598
  ``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
3191
7599
 
3192
7600
 
3193
 
bzr 1.3.1 2008-04-09
3194
 
####################
 
7601
bzr 1.3.1
 
7602
#########
 
7603
 
 
7604
:Released: 2008-04-09
3195
7605
 
3196
7606
No changes from 1.3.1rc1.
3197
7607
 
3198
7608
 
3199
 
bzr 1.3.1rc1 2008-04-04
3200
 
#######################
 
7609
bzr 1.3.1rc1
 
7610
############
 
7611
 
 
7612
:Released: 2008-04-04
3201
7613
 
3202
7614
Bug Fixes
3203
7615
*********
3208
7620
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
3209
7621
 
3210
7622
 
3211
 
bzr 1.3 2008-03-20
3212
 
##################
 
7623
bzr 1.3
 
7624
#######
 
7625
 
 
7626
:Released: 2008-03-20
3213
7627
 
3214
7628
Bazaar has become part of the GNU project <http://www.gnu.org>
3215
7629
 
3225
7639
  (#202778, Martin Pool)
3226
7640
 
3227
7641
 
3228
 
bzr 1.3rc1 2008-03-16
3229
 
#####################
 
7642
bzr 1.3rc1
 
7643
##########
 
7644
 
 
7645
:Released: 2008-03-16
3230
7646
 
3231
7647
Notes When Upgrading
3232
7648
********************
3245
7661
 
3246
7662
* BZR_LOG environment variable controls location of .bzr.log trace file.
3247
7663
  User can suppress writing messages to .bzr.log by using '/dev/null'
3248
 
  filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
 
7664
  filename (on Unix) or 'NUL' (on Windows). If BZR_LOG variable
3249
7665
  is not defined but BZR_HOME is defined then default location
3250
7666
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
3251
7667
  (Alexander Belchenko, #106117)
3412
7828
  format. (Robert Collins)
3413
7829
 
3414
7830
 
3415
 
bzr 1.2 2008-02-15
3416
 
##################
 
7831
bzr 1.2
 
7832
#######
 
7833
 
 
7834
:Released: 2008-02-15
3417
7835
 
3418
7836
Bug Fixes
3419
7837
*********
3421
7839
* Fix failing test in Launchpad plugin. (Martin Pool)
3422
7840
 
3423
7841
 
3424
 
bzr 1.2rc1 2008-02-13
3425
 
#####################
 
7842
bzr 1.2rc1
 
7843
##########
 
7844
 
 
7845
:Released: 2008-02-13
3426
7846
 
3427
7847
Notes When Upgrading
3428
7848
********************
3540
7960
  checkouts.  (Aaron Bentley, #182040)
3541
7961
 
3542
7962
* Stop polluting /tmp when running selftest.
3543
 
  (Vincent Ladeuil, #123623)
 
7963
  (Vincent Ladeuil, #123363)
3544
7964
 
3545
7965
* Switch from NFKC => NFC for normalization checks. NFC allows a few
3546
7966
  more characters which should be considered valid.
3623
8043
  revision names etc. (Robert Collins)
3624
8044
 
3625
8045
 
3626
 
bzr 1.1 2008-01-15
3627
 
##################
 
8046
bzr 1.1
 
8047
#######
 
8048
 
 
8049
:Released: 2008-01-15
3628
8050
 
3629
8051
(no changes from 1.1rc1)
3630
8052
 
3631
 
bzr 1.1rc1 2008-01-05
3632
 
#####################
 
8053
bzr 1.1rc1
 
8054
##########
 
8055
 
 
8056
:Released: 2008-01-05
3633
8057
 
3634
8058
Changes
3635
8059
*******
3839
8263
  replaced by the new helper methods added in this release. (Robert Collins)
3840
8264
 
3841
8265
 
3842
 
bzr 1.0 2007-12-14
3843
 
##################
 
8266
bzr 1.0
 
8267
#######
 
8268
 
 
8269
:Released: 2007-12-14
3844
8270
 
3845
8271
Documentation
3846
8272
*************
3857
8283
  (Ian Clatworthy)
3858
8284
 
3859
8285
 
3860
 
bzr 1.0rc3 2007-12-11
3861
 
#####################
 
8286
bzr 1.0rc3
 
8287
##########
 
8288
 
 
8289
:Released: 2007-12-11
3862
8290
 
3863
8291
Changes
3864
8292
*******
3899
8327
  (Vincent Ladeuil)
3900
8328
 
3901
8329
 
3902
 
bzr 1.0rc2 2007-12-07
3903
 
#####################
 
8330
bzr 1.0rc2
 
8331
##########
 
8332
 
 
8333
:Released: 2007-12-07
3904
8334
 
3905
8335
Improvements
3906
8336
************
3974
8404
  ``started`` methods. (Matt Nordhoff)
3975
8405
 
3976
8406
 
3977
 
bzr 1.0rc1 2007-11-30
3978
 
#####################
 
8407
bzr 1.0rc1
 
8408
##########
 
8409
 
 
8410
:Released: 2007-11-30
3979
8411
 
3980
8412
Notes When Upgrading
3981
8413
********************
4251
8683
* InventoryEntry.diff is now deprecated.  Please use diff.DiffTree instead.
4252
8684
 
4253
8685
 
4254
 
bzr 0.92 2007-11-05
4255
 
###################
 
8686
bzr 0.92
 
8687
########
 
8688
 
 
8689
:Released: 2007-11-05
4256
8690
 
4257
8691
Changes
4258
8692
*******
4260
8694
  * New uninstaller on Win32.  (Alexander Belchenko)
4261
8695
 
4262
8696
 
4263
 
bzr 0.92rc1 2007-10-29
4264
 
######################
 
8697
bzr 0.92rc1
 
8698
###########
 
8699
 
 
8700
:Released: 2007-10-29
4265
8701
 
4266
8702
Changes
4267
8703
*******
4580
9016
  raises a Python warning.  (Martin Pool)
4581
9017
 
4582
9018
 
4583
 
bzr 0.91 2007-09-26
4584
 
###################
 
9019
bzr 0.91
 
9020
########
 
9021
 
 
9022
:Released: 2007-09-26
4585
9023
 
4586
9024
Bug Fixes
4587
9025
*********
4602
9040
  (Andrew Bennetts)
4603
9041
 
4604
9042
 
4605
 
bzr 0.91rc2 2007-09-11
4606
 
######################
 
9043
bzr 0.91rc2
 
9044
###########
 
9045
 
 
9046
:Released: 2007-09-11
4607
9047
 
4608
9048
* Replaced incorrect tarball for previous release; a debug statement was left
4609
9049
  in bzrlib/remote.py.
4610
9050
 
4611
9051
 
4612
 
bzr 0.91rc1 2007-09-11
4613
 
######################
 
9052
bzr 0.91rc1
 
9053
###########
 
9054
 
 
9055
:Released: 2007-09-11
4614
9056
 
4615
9057
Changes
4616
9058
*******
4937
9379
  [] to revert all files is deprecated.  (Aaron Bentley)
4938
9380
 
4939
9381
 
4940
 
bzr 0.90 2007-08-28
4941
 
###################
 
9382
bzr 0.90
 
9383
########
 
9384
 
 
9385
:Released: 2007-08-28
4942
9386
 
4943
9387
Improvements
4944
9388
************
4961
9405
  and call ``create_repository`` on that.  (Martin Pool)
4962
9406
 
4963
9407
 
4964
 
bzr 0.90rc1 2007-08-14
4965
 
######################
 
9408
bzr 0.90rc1
 
9409
###########
 
9410
 
 
9411
:Released: 2007-08-14
4966
9412
 
4967
9413
Bugfixes
4968
9414
********
5234
9680
  parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
5235
9681
 
5236
9682
 
5237
 
bzr 0.18  2007-07-17
5238
 
####################
 
9683
bzr 0.18
 
9684
########
 
9685
 
 
9686
:Released:  2007-07-17
5239
9687
 
5240
9688
Bugfixes
5241
9689
********
5243
9691
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
5244
9692
 
5245
9693
 
5246
 
bzr 0.18rc1  2007-07-10
5247
 
#######################
 
9694
bzr 0.18rc1
 
9695
###########
 
9696
 
 
9697
:Released:  2007-07-10
5248
9698
 
5249
9699
Bugfixes
5250
9700
********
5495
9945
  (Vincent Ladeuil, #110448)
5496
9946
 
5497
9947
 
5498
 
bzr 0.17  2007-06-18
5499
 
####################
 
9948
bzr 0.17
 
9949
########
 
9950
 
 
9951
:Released:  2007-06-18
5500
9952
 
5501
9953
Bugfixes
5502
9954
********
5508
9960
  (Aaron Bentley, Ian Clatworthy, #120930)
5509
9961
 
5510
9962
 
5511
 
bzr 0.17rc1  2007-06-12
5512
 
#######################
 
9963
bzr 0.17rc1
 
9964
###########
 
9965
 
 
9966
:Released:  2007-06-12
5513
9967
 
5514
9968
Notes When Upgrading
5515
9969
********************
5610
10064
  your repository. (Previously Branch6 only supported revisions in your
5611
10065
  mainline). (John Arbash Meinel, #115343)
5612
10066
 
5613
 
bzr 0.16  2007-05-07
5614
 
####################
 
10067
bzr 0.16
 
10068
########
 
10069
 
 
10070
:Released:  2007-05-07
5615
10071
 
5616
10072
Bugfixes
5617
10073
********
5641
10097
  diff`` and ``bzr status`` significantly improving the speed of
5642
10098
  both. (John Arbash Meinel)
5643
10099
 
5644
 
bzr 0.16rc2  2007-04-30
5645
 
#######################
 
10100
bzr 0.16rc2
 
10101
###########
 
10102
 
 
10103
:Released:  2007-04-30
5646
10104
 
5647
10105
Bugfixes
5648
10106
********
5665
10123
* ``WorkingTree4._iter_changes`` should not descend into unversioned
5666
10124
  directories. (John Arbash Meinel, #110399)
5667
10125
 
5668
 
bzr 0.16rc1  2007-04-26
5669
 
#######################
 
10126
bzr 0.16rc1
 
10127
###########
 
10128
 
 
10129
:Released:  2007-04-26
5670
10130
 
5671
10131
Notes When Upgrading
5672
10132
********************
5973
10433
  implementation of new auth schemes for both http and proxy.
5974
10434
  (Vincent Ladeuil)
5975
10435
 
5976
 
bzr 0.15 2007-04-01
5977
 
###################
 
10436
bzr 0.15
 
10437
########
 
10438
 
 
10439
:Released: 2007-04-01
5978
10440
 
5979
10441
Bugfixes
5980
10442
********
5986
10448
  checking out a branch that contains an old-format working tree.
5987
10449
  (Martin Pool)
5988
10450
 
5989
 
bzr 0.15rc3  2007-03-26
5990
 
#######################
 
10451
bzr 0.15rc3
 
10452
###########
 
10453
 
 
10454
:Released:  2007-03-26
5991
10455
 
5992
10456
Changes
5993
10457
*******
6062
10526
* Correctly handles mutiple permanent http redirections.
6063
10527
  (vila, #88780)
6064
10528
 
6065
 
bzr 0.15rc2  2007-03-14
6066
 
#######################
 
10529
bzr 0.15rc2
 
10530
###########
 
10531
 
 
10532
:Released:  2007-03-14
6067
10533
 
6068
10534
Notes When Upgrading
6069
10535
********************
6116
10582
  (Wouter van Heyst, #53483)
6117
10583
 
6118
10584
 
6119
 
bzr 0.15rc1  2007-03-07
6120
 
#######################
 
10585
bzr 0.15rc1
 
10586
###########
 
10587
 
 
10588
:Released:  2007-03-07
6121
10589
 
6122
10590
Surprises
6123
10591
*********
6347
10815
  before the rest of the suite.  (Martin Pool)
6348
10816
 
6349
10817
 
6350
 
bzr 0.14  2007-01-23
6351
 
####################
 
10818
bzr 0.14
 
10819
########
 
10820
 
 
10821
:Released:  2007-01-23
6352
10822
 
6353
10823
Improvements
6354
10824
************
6367
10837
  it is in is below a repository. (James Westby, #77306)
6368
10838
 
6369
10839
 
6370
 
bzr 0.14rc1  2007-01-16
6371
 
#######################
 
10840
bzr 0.14rc1
 
10841
###########
 
10842
 
 
10843
:Released:  2007-01-16
6372
10844
 
6373
10845
Improvements
6374
10846
************
6502
10974
  (Alexander Belchenko, #68124)
6503
10975
 
6504
10976
 
6505
 
bzr 0.13  2006-12-05
6506
 
####################
 
10977
bzr 0.13
 
10978
########
 
10979
 
 
10980
:Released:  2006-12-05
6507
10981
 
6508
10982
No changes from 0.13rc
6509
10983
 
6510
10984
 
6511
 
bzr 0.13rc1  2006-11-27
6512
 
#######################
 
10985
bzr 0.13rc1
 
10986
###########
 
10987
 
 
10988
:Released:  2006-11-27
6513
10989
 
6514
10990
Improvements
6515
10991
************
6634
11110
* TestingHTTPRequestHandler really handles the Range header
6635
11111
  (previously it was ignoring it and returning the whole file,).
6636
11112
 
6637
 
bzr 0.12  2006-10-30
6638
 
####################
 
11113
bzr 0.12
 
11114
########
 
11115
 
 
11116
:Released:  2006-10-30
6639
11117
 
6640
11118
Internals
6641
11119
*********
6644
11122
  and remove benchmarks that take longer than 10min to run.
6645
11123
  (John Arbash Meinel)
6646
11124
 
6647
 
bzr 0.12rc1  2006-10-23
6648
 
#######################
 
11125
bzr 0.12rc1
 
11126
###########
 
11127
 
 
11128
:Released:  2006-10-23
6649
11129
 
6650
11130
Improvements
6651
11131
************
6721
11201
* Avoid circular imports by creating a deprecated function for
6722
11202
  ``bzrlib.tree.RevisionTree``. Callers should have been using
6723
11203
  ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
6724
 
  #63360, #66349)
 
11204
  #66349)
6725
11205
 
6726
11206
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
6727
11207
  platforms. (Martin Pool, #66356)
6766
11246
  option to set the BzrDir, Repository and Branch formats of the
6767
11247
  created objects. (Robert Collins, John Arbash Meinel)
6768
11248
 
6769
 
bzr 0.11  2006-10-02
6770
 
####################
 
11249
bzr 0.11
 
11250
########
 
11251
 
 
11252
:Released:  2006-10-02
6771
11253
 
6772
11254
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
6773
11255
 
6774
 
bzr 0.11rc2  2006-09-27
6775
 
#######################
 
11256
bzr 0.11rc2
 
11257
###########
 
11258
 
 
11259
:Released:  2006-09-27
6776
11260
 
6777
11261
Bug Fixes
6778
11262
*********
6782
11266
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
6783
11267
  Arbash Meinel).
6784
11268
 
6785
 
bzr 0.11rc1  2006-09-25
6786
 
#######################
 
11269
bzr 0.11rc1
 
11270
###########
 
11271
 
 
11272
:Released:  2006-09-25
6787
11273
 
6788
11274
Improvements
6789
11275
************
6976
11462
  allow upgrades to a richer interface than the VFS one provided by
6977
11463
  Transport. (Andrew Bennetts, Martin Pool)
6978
11464
 
6979
 
bzr 0.10  2006-08-29
6980
 
####################
 
11465
bzr 0.10
 
11466
########
 
11467
 
 
11468
:Released:  2006-08-29
6981
11469
 
6982
11470
Improvements
6983
11471
************
7054
11542
  need to be installed. This should help make the life of packagers
7055
11543
  easier. (John Arbash Meinel)
7056
11544
 
7057
 
bzr 0.9.0  2006-08-11
7058
 
#####################
 
11545
bzr 0.9.0
 
11546
#########
 
11547
 
 
11548
:Released:  2006-08-11
7059
11549
 
7060
11550
Surprises
7061
11551
*********
7322
11812
 
7323
11813
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
7324
11814
 
7325
 
bzr 0.8.2  2006-05-17
7326
 
#####################
 
11815
bzr 0.8.2
 
11816
#########
 
11817
 
 
11818
:Released:  2006-05-17
7327
11819
 
7328
11820
Bug Fixes
7329
11821
*********
7330
11822
 
7331
11823
* setup.py failed to install launchpad plugin.  (Martin Pool)
7332
11824
 
7333
 
bzr 0.8.1  2006-05-16
7334
 
#####################
 
11825
bzr 0.8.1
 
11826
#########
 
11827
 
 
11828
:Released:  2006-05-16
7335
11829
 
7336
11830
Bug Fixes
7337
11831
*********
7384
11878
* Fix test case for bzr info in upgrading a standalone branch to metadir,
7385
11879
  uses bzrlib api now. (Olaf Conradi)
7386
11880
 
7387
 
bzr 0.8  2006-05-08
7388
 
###################
 
11881
bzr 0.8
 
11882
#######
 
11883
 
 
11884
:Released:  2006-05-08
7389
11885
 
7390
11886
Notes When Upgrading
7391
11887
********************
7646
12142
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
7647
12143
  parameter which will provide String("foo") to the command as its stdin.
7648
12144
 
7649
 
bzr 0.7 2006-01-09
7650
 
##################
 
12145
bzr 0.7
 
12146
#######
 
12147
 
 
12148
:Released: 2006-01-09
7651
12149
 
7652
12150
Changes
7653
12151
*******
7942
12440
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
7943
12441
  for functions that need unicode strings. (Robert Collins)
7944
12442
 
7945
 
bzr 0.6 2005-10-28
7946
 
##################
 
12443
bzr 0.6
 
12444
#######
 
12445
 
 
12446
:Released: 2005-10-28
7947
12447
 
7948
12448
Improvements
7949
12449
************
8119
12619
  about future directions. (Robert Collins/Martin Pool)
8120
12620
 
8121
12621
* bzrlib.transport.http has been modified so that only 404 urllib errors
8122
 
  are returned as NoSuchFile. Other exceptions will propogate as normal.
 
12622
  are returned as NoSuchFile. Other exceptions will propagate as normal.
8123
12623
  This allows debuging of actual errors. (Robert Collins)
8124
12624
 
8125
12625
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
8158
12658
  [-1] in the revision-history. (Andres Salomon)
8159
12659
 
8160
12660
 
8161
 
bzr 0.1.1 2005-10-12
8162
 
####################
 
12661
bzr 0.1.1
 
12662
#########
 
12663
 
 
12664
:Released: 2005-10-12
8163
12665
 
8164
12666
Bug Fixes
8165
12667
*********
8176
12678
* Avoid some unnecessary http operations in branch and pull.
8177
12679
 
8178
12680
 
8179
 
bzr 0.1 2005-10-11
8180
 
##################
 
12681
bzr 0.1
 
12682
#######
 
12683
 
 
12684
:Released: 2005-10-11
8181
12685
 
8182
12686
Notes
8183
12687
*****
8306
12810
  of tests to run, e.g. ``bzr selftest test_weave``
8307
12811
 
8308
12812
 
8309
 
bzr 0.0.9 2005-09-23
8310
 
####################
 
12813
bzr 0.0.9
 
12814
#########
 
12815
 
 
12816
:Released: 2005-09-23
8311
12817
 
8312
12818
Bug Fixes
8313
12819
*********
8348
12854
  another (used by pull, merged, etc.)
8349
12855
 
8350
12856
 
8351
 
bzr 0.0.8 2005-09-20
8352
 
####################
 
12857
bzr 0.0.8
 
12858
#########
 
12859
 
 
12860
:Released: 2005-09-20
 
12861
 
8353
12862
 
8354
12863
Improvements
8355
12864
************
8399
12908
* Quieten warnings about locking; patch from Matt Lavin.
8400
12909
 
8401
12910
 
8402
 
bzr-0.0.7 2005-09-02
8403
 
####################
 
12911
bzr-0.0.7
 
12912
#########
 
12913
 
 
12914
:Released: 2005-09-02
8404
12915
 
8405
12916
New Features
8406
12917
************
8454
12965
 
8455
12966
 
8456
12967
 
8457
 
bzr-0.0.6 2005-08-18
8458
 
####################
 
12968
bzr-0.0.6
 
12969
#########
 
12970
 
 
12971
:Released: 2005-08-18
8459
12972
 
8460
12973
New Features
8461
12974
************
8540
13053
* Fix bugs in committing only selected files or within a subdirectory.
8541
13054
 
8542
13055
 
8543
 
bzr-0.0.5  2005-06-15
8544
 
#####################
 
13056
bzr-0.0.5
 
13057
#########
 
13058
 
 
13059
:Released:  2005-06-15
8545
13060
 
8546
13061
Changes
8547
13062
*******
8682
13197
  2.4 is now only recommended.
8683
13198
 
8684
13199
 
8685
 
bzr-0.0.4  2005-04-22
8686
 
#####################
 
13200
bzr-0.0.4
 
13201
#########
 
13202
 
 
13203
:Released:  2005-04-22
8687
13204
 
8688
13205
Enhancements
8689
13206
************
8751
13268
  from QuantumG.
8752
13269
 
8753
13270
 
8754
 
bzr-0.0.3  2005-04-06
8755
 
#####################
 
13271
bzr-0.0.3
 
13272
#########
 
13273
 
 
13274
:Released:  2005-04-06
8756
13275
 
8757
13276
Enhancements
8758
13277
************
8806
13325
* Win32 fixes from Steve Brown.
8807
13326
 
8808
13327
 
8809
 
bzr-0.0.2  "black cube"  2005-03-31
8810
 
###################################
 
13328
bzr-0.0.2
 
13329
#########
 
13330
 
 
13331
:Codename: "black cube"
 
13332
:Released: 2005-03-31
8811
13333
 
8812
13334
Enhancements
8813
13335
************
8835
13357
  the root directory only.
8836
13358
 
8837
13359
 
8838
 
bzr-0.0.1  2005-03-26
8839
 
#####################
 
13360
bzr-0.0.1
 
13361
#########
 
13362
 
 
13363
:Released:  2005-03-26
8840
13364
 
8841
13365
Enhancements
8842
13366
************
8865
13389
  supported).
8866
13390
 
8867
13391
 
8868
 
bzr-0.0.0.69  2005-03-22
8869
 
########################
 
13392
bzr-0.0.0.69
 
13393
############
 
13394
 
 
13395
:Released:  2005-03-22
8870
13396
 
8871
13397
Enhancements
8872
13398
************
8876
13402
* Storage of local versions: init, add, remove, rm, info, log,
8877
13403
  diff, status, etc.
8878
13404
 
 
13405
 
8879
13406
..
8880
 
   vim: tw=74 ft=rst ff=unix
 
13407
   vim: tw=74 ft=rst ff=unix encoding=utf-8