/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Parth Malwankar
  • Date: 2010-07-21 03:14:56 UTC
  • mto: (5050.3.14 2.2)
  • mto: This revision was merged to the branch mainline in revision 5365.
  • Revision ID: parth.malwankar@gmail.com-20100721031456-tpte0wnmyyvzm3mn
copy ownership for config file unconditionally

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
####################
 
2
Bazaar Release Notes
 
3
####################
 
4
 
 
5
.. contents:: List of Releases
 
6
   :depth: 1
 
7
 
 
8
bzr 2.2rc1
 
9
##########
 
10
 
 
11
:Codename: ???
 
12
:2.2rc1: NOT RELEASED YET
 
13
 
 
14
Compatibility Breaks
 
15
********************
 
16
 
 
17
New Features
 
18
************
 
19
 
 
20
Bug Fixes
 
21
*********
 
22
 
 
23
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
24
  way which should help avoid problems with concurrent writers.
 
25
  (Vincent Ladeuil, #525571)
 
26
 
 
27
* Don't traceback trying to unversion children files of an already
 
28
  unversioned directory.  (Vincent Ladeuil, #494221)
 
29
 
 
30
* Recursive binding for checkouts is now detected by bzr. A clear error
 
31
  message is shown to the user. (Parth Malwankar, #405192)
 
32
 
 
33
Improvements
 
34
************
 
35
 
 
36
Documentation
 
37
*************
 
38
 
 
39
API Changes
 
40
***********
 
41
 
 
42
Internals
 
43
*********
 
44
 
 
45
Testing
 
46
*******
 
47
 
 
48
 
 
49
bzr 2.2b4
 
50
#########
 
51
 
 
52
:Codename: Monkey Magic
 
53
:2.2b4: 2004-07-09
 
54
 
 
55
 
 
56
This fourth and final beta in the 2.2 series now stabilizes the internal
 
57
APIs. Plugin authors are recommended to ensure their releases are
 
58
compatible, so that 2.2rc1 can be a true release candidate, containing
 
59
stable and compatible plugin versions. 
 
60
 
 
61
For users of bzrlib as a library, one of the primary changes is to request
 
62
that they call ``bzrlib.initialize`` and use the returned context manager
 
63
appropriately.
 
64
 
 
65
Better interaction with ``bzr-loom`` to make sure branching from a loom
 
66
even over a smart server still yields a local loom. Not to mention lots of
 
67
bugfixes over 2.2b3.
 
68
 
 
69
Compatibility Breaks
 
70
********************
 
71
 
 
72
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
 
73
  the result of ``bzrlib.initialize``. This change was made when fixing
 
74
  the bad habit recent bzr versions have had of leaving progress bars 
 
75
  behind on the screen. That required calling another function before
 
76
  exiting the program, and it made sense to provide a full context
 
77
  manager at the same time. (Robert Collins)
 
78
 
 
79
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
 
80
  context manager in the Python 2.5 and above sense. The bzrlib base class
 
81
  is such a manager, but third party UI factories which do not derive from
 
82
  ``bzrlib.ui.UIFactory`` will be incompatible with the command line front
 
83
  end.
 
84
 
 
85
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
 
86
  and path "bar/baz", even if bzr does not recognize "foo" as a known URL
 
87
  scheme.  Previously these URLs would be treated as local paths.
 
88
  (Gordon Tyler)
 
89
 
 
90
 
 
91
New Features
 
92
************
 
93
 
 
94
* Support ``--directory`` option for a number of additional commands:
 
95
  conflicts, merge-directive, missing, resolve, shelve, switch,
 
96
  unshelve, whoami. (Martin von Gagern, #527878)
 
97
 
 
98
Bug Fixes
 
99
*********
 
100
 
 
101
* ``bzr branch`` to a new repository with a default stacking policy no
 
102
  longer transfers the full history unnecessarily.
 
103
  (Andrew Bennetts, #597942)
 
104
 
 
105
* ``bzr init`` does not recursively scan directory contents anymore
 
106
  leading to faster init for directories with existing content.
 
107
  (Martin [gz], Parth Malwankar, #501307)
 
108
 
 
109
* ``bzr log --exclude-common-ancestry`` is now taken into account for
 
110
  linear ancetries. (Vincent Ladeuil, #575631)
 
111
 
 
112
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
 
113
  rather than trying to fetch the data locally and failing because of a
 
114
  readonly error. (Martin von Gagern, #149270)
 
115
 
 
116
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
 
117
  or pull location in locations.conf or branch.conf.
 
118
  (Gordon Tyler, #534787)
 
119
 
 
120
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
 
121
  smart server. (Andrew Bennetts, #551525)
 
122
 
 
123
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
 
124
  (Marius Kruger, Robert Collins)
 
125
 
 
126
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
 
127
  (Marius Kruger, Robert Collins)
 
128
 
 
129
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
 
130
  proper error messages. (Vincent Ladeuil, #591215)
 
131
 
 
132
* Explicitly removing ``--profile-imports`` option from parsed command-line
 
133
  arguments on Windows, because bzr script does the same.
 
134
  (Alexander Belchenko, #588277)
 
135
 
 
136
* Fetching was slightly confused about the best code to use and was
 
137
  using a new code path for all branches, resulting in more lookups than
 
138
  necessary on old branches. (Robert Collins, #593515)
 
139
 
 
140
* Final fix for 'no help for command' issue. We now show a clean message
 
141
  when a command has no help, document how to set help more clearly, and
 
142
  test that all commands available to the test suite have help.
 
143
  (Robert Collins, #177500)
 
144
 
 
145
* Invalid patterns supplied to ``Globster`` or ``lazy_regex`` now raise
 
146
  ``InvalidPattern`` exception showing clear error message to the user.
 
147
  (Parth Malwankar #300062)
 
148
 
 
149
* Progress output is cleaned up when exiting.  (Aaron Bentley)
 
150
 
 
151
* Raise ValueError instead of a string exception.
 
152
  (John Arbash Meinel, #586926)
 
153
 
 
154
* Relative imports in plugins are now handled correctly when using
 
155
  BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
 
156
 
 
157
* ``ScriptRunner`` now strips off leading indentation from test scripts,
 
158
  which previously caused "SyntaxError: No command for line".
 
159
  (Martin Pool)
 
160
 
 
161
* Show unicode filenames in diff headers using terminal encoding. 
 
162
  (Alexander Belchenko, Bug #382699)
 
163
  NOTE for Windows users: If user need to save diff to file then user need to
 
164
  change encoding of the terminal to ANSI encoding with command ``chcp XXX``
 
165
  (e.g. ``chcp 1251`` for Russian Windows).
 
166
 
 
167
* URL displayed for use with ``break-lock`` when smart server sees lock
 
168
  contention are now valid. Default timeout for lock contention retry is
 
169
  now 30 seconds instead of 300 seconds.
 
170
  (Parth Malwankar, #250451)
 
171
 
 
172
* ``walkdirs`` now raises a useful message when the filenames are not using
 
173
  the filesystem encoding. (Eric Moritz, #488519)
 
174
 
 
175
* Enable debugging of bzr on windows with pdb and other tools. This was 
 
176
  broken because we call GetCommandLineW on windows. The fix adjusts the 
 
177
  command line we get to be the same length as sys.argv.
 
178
  (Jason Spashett, Alexander Belchenko, #587868)
 
179
 
 
180
Improvements
 
181
************
 
182
 
 
183
* Bazaar now reads data from SSH connections more efficiently on platforms
 
184
  that provide the ``socketpair`` function, and when using paramiko.
 
185
  (Andrew Bennetts, #590637)
 
186
 
 
187
* ``Branch.copy_content_into`` is now a convenience method dispatching to
 
188
  a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
 
189
  plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
 
190
  (Robert Collins, #201613)
 
191
 
 
192
* ``Branch`` formats can now be loaded lazily by registering a
 
193
  ``MetaDirBranchFormatFactory`` rather than an actual format. This will
 
194
  cause the named format class to be loaded only when an enumeration of
 
195
  formats is needed or when the format string for the object is
 
196
  encountered. (Robert Collins, Jelmer Vernooij)
 
197
 
 
198
* The encoding that bzr uses to output things other than file content can
 
199
  now be overridden via the output_encoding configuration option.
 
200
  (Martin Pool, #340394)
 
201
 
 
202
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
 
203
  do not cause modules to be loaded unnecessarily just because the plugin
 
204
  registers a merge hook.  This improves ``bzr rocks`` time by about 25%
 
205
  in a default installation (with just the core plugins).
 
206
  (Andrew Bennetts)
 
207
 
 
208
Documentation
 
209
*************
 
210
 
 
211
* Added ``regression`` tag to our tags list. (Robert Collins)
 
212
 
 
213
* Improved our release checklist to have a bit less churn and leave things
 
214
  ready-to-go for the next action (including other people doing
 
215
  development). (Robert Collins)
 
216
 
 
217
* Remove obsolete discussion of PQM in documentation about how to
 
218
  contribute to Bazaar.  (Martin Pool, #588444)
 
219
 
 
220
API Changes
 
221
***********
 
222
 
 
223
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
 
224
  an iterable of format pairs, rather than just a single pair, permitting
 
225
  InterBranch objects that work with multiple permutations to be
 
226
  comprehensively tested. (Robert Collins)
 
227
 
 
228
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
 
229
  profiles when concurrent profile requests are made. Instead the profile
 
230
  requests will be serialised. Reentrant requests will now deadlock.
 
231
  (Robert Collins)
 
232
 
 
233
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
 
234
  2007, has been deleted.  Use ``PatienceSequenceMatcher`` from
 
235
  ``bzrlib.patiencediff`` instead. (Andrew Bennetts)
 
236
 
 
237
* ``bzrlib.re_compile_checked`` is now deprecated. Caller should handle
 
238
  ``bzrlib.errors.InvalidPattern`` exception thrown by ``re.match`` in
 
239
  case the default error message not suitable for the use case.
 
240
  (Parth Malwankar)
 
241
 
 
242
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated.  It provided only
 
243
  one method ``check_output``, and we now recommend checking command
 
244
  output using ``run_script``. (Martin Pool)
 
245
 
 
246
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
 
247
  that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
 
248
  Third-party implementations of ``SSHVendor`` may need to be updated
 
249
  accordingly.  Similarly, any code using ``SSHConnection`` directly will
 
250
  need to be updated.  (Andrew Bennetts)
 
251
 
 
252
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
 
253
  changed to take an ``SSHParams`` instance (replacing many individual
 
254
  values).  (Andrew Bennetts)
 
255
 
 
256
Internals
 
257
*********
 
258
 
 
259
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
 
260
  selection when explicitly requested; this avoids many duplicate calls
 
261
  being logged when helpers, wrappers and older code that manually calls
 
262
  it are executed it is now logged deliberately by the ui setup code.
 
263
  (Robert Collins)
 
264
 
 
265
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
 
266
 
 
267
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
 
268
  that ``sys.getsizeof`` and other memory analysis tools will report more
 
269
  accurate results. (Andrew Bennetts)
 
270
 
 
271
* The symbol_versioning module can now cleanup after itself -
 
272
  ``suppress_deprecation_warnings`` now returns a cleanup function.
 
273
  (Robert Collins)
 
274
 
 
275
Testing
 
276
*******
 
277
 
 
278
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
 
279
  to test.  (Martin Pool)
 
280
 
 
281
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
 
282
  (Vincent Ladeuil, #595587)
 
283
 
 
284
bzr 2.2b3
 
285
#########
 
286
 
 
287
:2.2b3: 2010-05-28
 
288
 
 
289
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
290
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
291
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
292
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
293
bash completion script and bzr will no longer guess at identity details -
 
294
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
295
For developers we have some API changes which may impact plugins as well
 
296
as a bunch of our regular improvements to internal clarity and test
 
297
support.
 
298
 
 
299
Compatibility Breaks
 
300
********************
 
301
 
 
302
* An API break has been made to the lock_write method of ``Branch`` and
 
303
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
304
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
305
  changing the API in future easier and permits some cleaner calling code.
 
306
  The lock_read method has also changed from having no defined return
 
307
  value to returning ``LogicalLockResult`` objects.
 
308
  (Robert Collins)
 
309
 
 
310
* ``bzr`` does not try to guess the username as ``username@hostname``
 
311
  and requires it to be explictly set. This can be set using ``bzr
 
312
  whoami``. (Parth Malwankar, #549310)
 
313
 
 
314
* ``bzrlib.commands.Command`` will now raise ValueError during
 
315
  construction if there is no __doc__ set. (Note, this will be reverted in
 
316
  2.2b4) (Robert Collins)
 
317
 
 
318
* The source tree no longer contains a contrib/zsh/_bzr completion
 
319
  script. The new file contrib/zsh/README suggests alternatives.
 
320
  (Martin von Gagern, #560030)
 
321
 
 
322
New Features
 
323
************
 
324
 
 
325
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
 
326
  ``--show-diff``.
 
327
  (Parth Malwankar, #571467)
 
328
  
 
329
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
 
330
  the default ignore rules used by bzr. The flag ``--old-default-rules``
 
331
  is no longer supported by ``ignore``.
 
332
  (Parth Malwankar, #538703)
 
333
 
 
334
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
 
335
  can save disk space by deleting obsolete pack files created during the
 
336
  pack operation.
 
337
  (Parth Malwankar, #304320)
 
338
 
 
339
* New command line option ``--authors`` to ``bzr log`` allows users to
 
340
  select which of the apparent authors and committer should be
 
341
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
342
 
 
343
* Support ``--directory`` option for a number of additional commands:
 
344
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
345
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
346
  re-sign, unbind, unknowns.
 
347
  (Martin von Gagern, #527878)
 
348
 
 
349
* The bash_completion plugin from the bzr-bash-completion project has
 
350
  been merged into the tree. It provides a bash-completion command and
 
351
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
352
  using the plugin. (Martin von Gagern, #560030)
 
353
 
 
354
* A new transport based on GIO (the gnome i/o library) provides access to
 
355
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
356
  use gio for some already existing transport methods as gio+file,
 
357
  gio+sftp, gio+ftp. 
 
358
  (Mattias Eriksson)
 
359
 
 
360
Bug Fixes
 
361
*********
 
362
 
 
363
* Alias information shown by ``bzr help`` is now accurate. This
 
364
  was showing an internal object name for some plugin aliases.
 
365
  (Parth Malwankar, #584650)
 
366
 
 
367
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
 
368
  group ownership from the containing directory. This allow bzr to work
 
369
  better with sudo.
 
370
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
 
371
 
 
372
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
373
  support of bzr-externals and scmproj plugins.
 
374
  (Alexander Belchenko, bug #572098)
 
375
 
 
376
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
377
  (Gordon Tyler, #572092)
 
378
 
 
379
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
 
380
  are part of Y ancestry but not part of X ancestry (aka the graph
 
381
  difference).
 
382
  (Vincent Ladeuil, #320119)
 
383
 
 
384
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
385
  servers a few commits ago has been reverted to use edge: there is a
 
386
  problem with using production which isn't trivially obvious, so we've
 
387
  filed a bug to track it, and until thats fixed will be using edge.
 
388
  (Robert Collins, #583667)
 
389
 
 
390
* ``bzr rm`` should not refuse to delete directories which contained a file
 
391
  which has been moved elsewhere in the tree after the previous commit.
 
392
  (Marius Kruger, Daniel Watkins, #129880)
 
393
 
 
394
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
 
395
  (Vincent Ladeuil, #566670)
 
396
 
 
397
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
 
398
  (Vincent Ladeuil, #563997)
 
399
 
 
400
* CommitBuilder refuses to create revisions whose trees have no root.
 
401
  (Aaron Bentley)
 
402
 
 
403
* Do not register a SIGWINCH signal handler, instead just poll for the
 
404
  terminal width as needed.  This avoids the "Interrupted System Call"
 
405
  problems that occur on POSIX with all currently released versions of
 
406
  Python.
 
407
  (Andrew Bennetts, #583941)
 
408
 
 
409
* Don't mention --no-strict when we just issue the warning about unclean trees.
 
410
  (Vincent Ladeuil, #401599)
 
411
 
 
412
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
 
413
  versions before 1.6.
 
414
  (Andrew Bennetts, #528041)
 
415
 
 
416
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
417
  estimate of the number of records to be fetched vs actually fetched.
 
418
  (Parth Malwankar, #374740, #538868)
 
419
 
 
420
* Reduce peak memory by one copy of compressed text.
 
421
  (John Arbash Meinel, #566940)
 
422
 
 
423
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
424
  read lock, rather than causing an ``AttributeError``.
 
425
  (Andrew Bennetts, Данило Шеган, #582781)
 
426
 
 
427
* Selftest was failing with testtools 0.9.3, which caused an
 
428
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
429
  Error, breaking on of our test hygiene tests.
 
430
  (Robert Collins, Vincent Ladeuil).
 
431
 
 
432
* ``set_user_option`` with a dict on remote branches no longer fails with
 
433
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
434
  to support this efficiently.
 
435
  (Andrew Bennetts, #430382)
 
436
  
 
437
* Show the filenames when a file rename fails so that the error will be
 
438
  more comprehensible.
 
439
  (Martin Pool, #491763)
 
440
 
 
441
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
442
  (John Arbash Meinel, #582656)
 
443
 
 
444
* Unicode characters in aliases are now handled correctly and do not cause
 
445
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
446
 
 
447
* Unicode commit messages that are the same as a file name no longer cause
 
448
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
449
  messages.
 
450
  (Parth Malwankar, #563646)
 
451
 
 
452
* Using bzr with `lp:` urls behind an http proxy should work.
 
453
  (Robert Collins, #558343)
 
454
 
 
455
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
456
  directory file handle after the chdir fails. Otherwise when passing many
 
457
  filenames into a command line ``bzr status`` we would leak descriptors.
 
458
  (John Arbash Meinel, #583486)
 
459
 
 
460
Improvements
 
461
************
 
462
 
 
463
* ``append_revisions_only`` will now be interpreted as a boolean and a
 
464
  warning emitted if illegal values are used. Note that for projects
 
465
  that needs to maintain compatibility with previsous bzr versions,
 
466
  only 'True' and 'False' strings must be used (previous versions of
 
467
  bzr will interpret all strings differing from 'True'
 
468
  (case-sensitive) as false.
 
469
  (Brian de Alwis, Vincent Ladeuil)
 
470
 
 
471
* ``bzr ls`` now supports short options for existing long options.
 
472
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
473
  (Parth Malwankar, #181124)
 
474
 
 
475
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
 
476
  be interpreted as a boolean.
 
477
  (Vincent Ladeuil)
 
478
 
 
479
* The all-in-one Windows installer will now be built with docstrings stripped
 
480
  from the library zip, reducing the size and slightly improving cold startup
 
481
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
482
  plugins to an all-in-one installation, ensure they are compiled and
 
483
  installed with -O1 or help may not work. (Martin [gz])
 
484
 
 
485
Documentation
 
486
*************
 
487
 
 
488
API Changes
 
489
***********
 
490
 
 
491
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
 
492
  some kinds of ``merge_file_content`` hook functions.
 
493
  (Andrew Bennetts)
 
494
  
 
495
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
 
496
  `user_transport`, `control_url` and `control_transport` members pointing
 
497
  respectively to the directory containing the ``.bzr`` control directory, 
 
498
  and to the directory within ``.bzr`` used for the particular component.
 
499
  All of them inherit from `ControlComponent` which provides default
 
500
  implementations.
 
501
  (Martin Pool)
 
502
 
 
503
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
504
  expected to return an object which can be used to unlock them. This reduces
 
505
  duplicate code when using cleanups. The previous 'tokens's returned by
 
506
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
507
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
508
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
509
 
 
510
* ``Repository.refresh_data`` may now be called in a write group on
 
511
  pack-based repositories.  Older repositories will still raise an error
 
512
  in this case.  Subclasses of ``Repository`` can still override
 
513
  ``Repository._refresh_data``, but are now responsible for raising
 
514
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
515
  ``refresh_data`` during a write group.
 
516
  (Andrew Bennetts, #574236)
 
517
 
 
518
Internals
 
519
*********
 
520
 
 
521
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
522
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
523
  potentially shave 5-10% time off during a large fetch. Related to bug
 
524
  #562666. (John Arbash Meinel)
 
525
 
 
526
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
527
  (Robert Collins)
 
528
 
 
529
* ``_remember_remote_is_before`` no longer raises AssertionError when
 
530
  suboptimal network behaviour is noticed; instead it just mutters to the
 
531
  log file (and warns the user if they have set the ``hpss`` debug flag).
 
532
  This was causing unnecessary aborts for performance bugs that are minor
 
533
  at worst.
 
534
  (Andrew Bennetts, #528041)
 
535
 
 
536
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
 
537
  files loaded from disk. To ensure docstrings needed for help are never
 
538
  stripped, the prefix ``__doc__ =`` should now be used.
 
539
  (Martin <gzlist@googlemail.com>)
 
540
 
 
541
* No longer require zlib headers to build extensions, and remove the need
 
542
  for seperate copy of zlib library on windows.
 
543
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
 
544
 
 
545
Testing
 
546
*******
 
547
 
 
548
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
 
549
  our first in-tree matcher. See the module docstring for details.
 
550
  (Robert Collins)
 
551
 
 
552
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
 
553
   (Gordon Tyler, #551332)
 
554
 
 
555
* Workaround ``Crypto.Random`` check leading to spurious test
 
556
  failures on Lucid, FreeBSD and gentoo.  
 
557
  (Vincent Ladeuil, #528436)
 
558
 
 
559
* New class ``ExecutableFeature`` for checking the availability of
 
560
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
561
  (Martin von Gagern)
 
562
 
 
563
bzr 2.2b2
 
564
#########
 
565
 
 
566
:2.2b2: 2010-04-16
 
567
 
 
568
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
 
569
incompatibility in the 2.2b1 release.  It also includes a swag of
 
570
performance, usability and correctness improvements: test feedback on all
 
571
of these would be welcome.
 
572
 
 
573
 
 
574
New Features
 
575
************
 
576
 
 
577
* ``bzr diff`` now supports a --format option, which can be used to 
 
578
  select alternative diff formats. (Jelmer Vernooij, #555994)
 
579
 
 
580
Bug Fixes
 
581
*********
 
582
 
 
583
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
 
584
  instead of failing when dirty trees are involved. The corresponding
 
585
  ``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
 
586
  True explicitly to get the previous behaviour.  
 
587
  (Vincent Ladeuil, #519319)
 
588
 
 
589
* ``bzr export`` to tar file does not fail if any parent directory
 
590
  contains unicode characters. This works around upstream Python bug
 
591
  http://bugs.python.org/issue8396 .
 
592
  (Parth Malwankar, #413406)
 
593
 
 
594
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
 
595
  (Aaron Bentley, #559436)
 
596
 
 
597
* ``bzr update`` when a pending merge in the working tree has been merged
 
598
  into the master branch will no longer claim that old commits have become
 
599
  pending merges. (Robert Collins, #562079)
 
600
 
 
601
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
 
602
  config as in previous versions of bzrlib. (Robert Collins)
 
603
 
 
604
* Fix glitch in the warning about unclean trees display.
 
605
  (Vincent Ladeuil, #562665)
 
606
 
 
607
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
 
608
  (Martin Pool)
 
609
 
 
610
* Help messages generated by ``RegistryOption.from_kwargs`` list the
 
611
  switches in alphabetical order, rather than in an undefined order.
 
612
  (Martin von Gagern, #559409)
 
613
 
 
614
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
 
615
  Apport crash reports, to avoid "This problem report applies to a program
 
616
  which is not installed any more" error.
 
617
  (Martin Pool, James Westby, #528114)
 
618
 
 
619
* Reset ``siginterrupt`` flag to False every time we handle a signal
 
620
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
 
621
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
 
622
  errors compared to registering ``signal.signal`` directly.
 
623
  (Andrew Bennetts)
 
624
 
 
625
* When invoked with a range revision, ``bzr log`` doesn't show revisions
 
626
  that are not part of the Y revisions ancestry anymore when invoked with
 
627
  -rX..Y.
 
628
  (Vincent Ladeuil, #474807)
 
629
 
 
630
* Properly handle ``param_name`` attribute for ``ListOption``.
 
631
  (Martin von Gagern, 387117)
 
632
 
 
633
Improvements
 
634
************
 
635
 
 
636
* ``bzr commit`` will prompt before using a commit message that was
 
637
  generated by a template and not edited by the user.
 
638
  (Robert Collins, #530265)
 
639
 
 
640
* ``bzr diff`` read-locks the trees and branches only once, saving about
 
641
  10-20ms on ``bzr diff`` in a bzr.dev tree.
 
642
  (Andrew Bennetts)
 
643
 
 
644
* ``bzr missing`` read-locks the branches only once.
 
645
  (Andrew Bennetts)
 
646
  
 
647
* ``bzr pull`` locks the branches and tree only once.
 
648
  (Andrew Bennetts)
 
649
  
 
650
* Index lookups in pack repositories search recently hit pack files first.  
 
651
  In repositories with many pack files this can greatly reduce the
 
652
  number of files accessed, the number of bytes read, and the number of
 
653
  read calls.  An incremental pull via plain HTTP takes half the time and
 
654
  bytes for a moderately large repository.  (Andrew Bennetts)
 
655
 
 
656
* Index lookups only re-order the indexes when the hit files aren't
 
657
  already first. Reduces the cost of reordering
 
658
  (John Arbash Meinel, #562429)
 
659
 
 
660
* Less code is loaded at startup.  (Cold-cache start time is about 10-20%
 
661
  less.)
 
662
  (Martin Pool, #553017)
 
663
 
 
664
API Changes
 
665
***********
 
666
 
 
667
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
 
668
  ``get_trees_and_branches_to_diff_locked`` instead.
 
669
  (Andrew Bennetts)
 
670
 
 
671
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
672
  auto-determines branch nick if not supplied.  (Aaron Bentley)
 
673
  
 
674
Internals
 
675
*********
 
676
 
 
677
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
 
678
  2.1 method of calling run() to perform testing or direct use via the API
 
679
  is now possible again. As part of this, the _operation attribute on
 
680
  Command is now transient and only exists for the duration of ``run()``.
 
681
  (Robert Collins)
 
682
 
 
683
bzr 2.2b1
 
684
#########
 
685
 
 
686
:2.2b1: 2010-04-01
 
687
 
 
688
This is the first beta of the 2.2 series, leading up to a 2.2.0
 
689
release in July or August.  Beta releases are suitable for everyday use
 
690
but may cause some incompatibilities with plugins.  Some plugins may need
 
691
small updates to work with 2.2b1.
 
692
 
 
693
2.2b1 includes some changes to make merge conflicts easier to understand
 
694
and resolve.  It also removes some old unnecessary code, and loads
 
695
somewhat less code at startup.  It starts adding a common infrastructure
 
696
for dealing with colocated named branches, which can be implemented in
 
697
various ways in either bzr native or foreign formats.   On Ubuntu and
 
698
other platforms with the apport bug-reporting library, there's an easier
 
699
path to report problems with bzr.  We plan to continue with these themes
 
700
through the 2.2 series.
 
701
 
 
702
Over thirty bugs have been fixed, including in the log command, exporting
 
703
to tarballs, restarting interrupted system calls, portability of compiled
 
704
extensions, making backups during upgrade, and locking on ftp.
 
705
 
 
706
Compatibility Breaks
 
707
********************
 
708
 
 
709
* BTreeGraphIndex can now take an offset to indicate that the data starts
 
710
  somewhere other than then beginning of the file. (John Arbash Meinel)
 
711
 
 
712
* Deleted very old hidden commands ``versionedfile-list``,
 
713
  ``weave-plan-merge``, ``weave-merge-text``.
 
714
  (Martin Pool)
 
715
 
 
716
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()`` 
 
717
  have been removed. (Jelmer Vernooij)
 
718
 
 
719
* ``Repository.get_revision_inventory()`` has been removed in favor of
 
720
  ``Repository.get_inventory()``. (Jelmer Vernooij)
 
721
 
 
722
* All test servers have been moved out of the bzrlib.transport hierarchy to
 
723
  bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
 
724
  PathFilteringServer. ``bzrlib`` users may encounter test failures that can
 
725
  be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
 
726
  ``bzrlib.tests.test_server``.
 
727
  (Vincent Ladeuil)
 
728
 
 
729
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
 
730
  as its second parameter, for consistency with the initialize() method of
 
731
  other formats. (Jelmer Vernooij)
 
732
 
 
733
New Features
 
734
************
 
735
 
 
736
* Added ``bzr remove-branch`` command that can remove a local or remote 
 
737
  branch. (Jelmer Vernooij, #276295)
 
738
 
 
739
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
 
740
  to set file mtimes to the last timestamp of the last revision in which
 
741
  they were changed rather than the current time. (Jelmer Vernooij)
 
742
 
 
743
* If the Apport crash-reporting tool is available, bzr crashes are now
 
744
  stored into the ``/var/crash`` apport spool directory, and the user is
 
745
  invited to report them to the developers from there, either
 
746
  automatically or by running ``apport-bug``.  No information is sent
 
747
  without specific permission from the user.  (Martin Pool, #515052)
 
748
 
 
749
* Parsing of command lines, for example in ``diff --using``, no longer
 
750
  treats backslash as an escape character on Windows.   (Gordon Tyler,
 
751
  #392248)
 
752
 
 
753
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
 
754
  a list of plugin names separated by ':' (';' on windows).
 
755
  (Vincent Ladeuil, #411413)
 
756
 
 
757
* Plugins can be loaded from arbitrary locations by defining
 
758
  ``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
 
759
  windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
 
760
  specified plugins. This is targeted at plugin developers for punctual
 
761
  needs and *not* intended to replace ``BZR_PLUGIN_PATH``.  
 
762
  (Vincent Ladeuil, #82693)
 
763
 
 
764
* Tag names can now be determined automatically by ``automatic_tag_name`` 
 
765
  hooks on ``Branch`` if they are not specified on the command line.
 
766
  (Jelmer Vernooij)
 
767
 
 
768
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
 
769
  ``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
 
770
  as resolved is still accessible via the ``--done`` default action.
 
771
  (Vincent Ladeuil)
 
772
 
 
773
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
 
774
  (Aaron Bentley, Jonathan Lange)
 
775
 
 
776
Bug Fixes
 
777
*********
 
778
 
 
779
* Added docstring for ``Tree.iter_changes``
 
780
  (John Arbash Meinel, #304182)
 
781
 
 
782
* Allow additional arguments to
 
783
  ``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
 
784
 
 
785
* Allow exporting a single file using ``bzr export``.
 
786
  (Michal Junák, #511987)
 
787
 
 
788
* Allow syscalls to automatically restart when ``TextUIFactory``'s
 
789
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
 
790
  IO, which are often poorly handled by Python's libraries and parts of
 
791
  bzrlib.  (Andrew Bennetts, #496813)
 
792
 
 
793
* Avoid infinite recursion when probing for apport.
 
794
  (Vincent Ladeuil, #516934)
 
795
 
 
796
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
797
  (Martin Pool, #331095)
 
798
 
 
799
* Avoid truncating svn URLs.
 
800
  (Martin Pool, Martin von Gagern, #545185)
 
801
 
 
802
* ``bzr add`` will not add conflict related files unless explicitly required.
 
803
  (Vincent Ladeuil, #322767, #414589)
 
804
 
 
805
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files.  Those
 
806
  indices do not have reference lists, so ``dump-btree`` will simply show
 
807
  ``None`` instead.  (Andrew Bennetts, #488607)
 
808
 
 
809
* ``bzr help`` will no longer trigger the get_missing_command hook when
 
810
  doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
 
811
  did you mean log?') when getting help. In future we may trigger the hook 
 
812
  deliberately when no help topics match from any help index.
 
813
  (Robert Collins, #396261)
 
814
 
 
815
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
 
816
  revspec as representing the first revision of the branch.
 
817
  (Vincent Ladeuil, #519862)
 
818
 
 
819
* ``bzr remove-tree`` can now remove multiple working trees.
 
820
  (Jared Hance, Andrew Bennetts, #253137)
 
821
 
 
822
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
 
823
  the kept file on content conflicts where one side deleted the file.
 
824
  (Vincent Ladeuil, #529968)
 
825
 
 
826
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
827
  permissions as ``.bzr`` directory on a POSIX OS.
 
828
  (Parth Malwankar, #262450)
 
829
 
 
830
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
 
831
  of ``backup.bzr``. This directory is ignored by bzr commands such as
 
832
  ``add``.
 
833
  (Parth Malwankar, #335033, #300001)
 
834
 
 
835
* Cope with non-utf8 characters inside ``.bzrignore``.
 
836
  (Jason Spashett, #183504)
 
837
 
 
838
* Correctly interpret "451 Rename/move failure: Directory not empty" from
 
839
  ftp servers while trying to take a lock.
 
840
  (Martin Pool, #528722)
 
841
 
 
842
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
 
843
  changes occured between the workingtree and one of its parents.
 
844
  (Vincent Ladeuil, #535547)
 
845
 
 
846
* Fix ``log`` to better check ancestors even if merged revisions are involved.
 
847
  (Vincent Ladeuil, #476293)
 
848
 
 
849
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
 
850
  on os.lisdir() order and is now reliable.
 
851
  (Vincent Ladeuil, #552922).
 
852
 
 
853
* Many IO operations that returned ``EINTR`` were retried even if it
 
854
  wasn't safe to do so via careless use of ``until_no_eintr``.  Bazaar now
 
855
  only retries operations that are safe to retry, and in some cases has
 
856
  switched to operations that can be retried (e.g. ``sock.send`` rather than
 
857
  ``sock.sendall``).
 
858
  (Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
 
859
 
 
860
* Path conflicts now support --take-this and --take-other even when a
 
861
  deletion is involved.
 
862
  (Vincent Ladeuil, #531967)
 
863
 
 
864
* Network transfer amounts and rates are now displayed in SI units according
 
865
  to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
 
866
  (Gordon Tyler, #514399)
 
867
 
 
868
* Support kind markers for socket and fifo filesystem objects. This
 
869
  prevents ``bzr status --short`` from crashing when those files are
 
870
  present.  (John Arbash Meinel, #303275)
 
871
 
 
872
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
 
873
   directory. (Parth Malwankar, #138600)
 
874
 
 
875
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
 
876
  the debugger won't kill the session.
 
877
  (Martin <gzlist@googlemail.com>, #162502)
 
878
 
 
879
* Tolerate patches with leading noise in ``bzr-handle-patch``.
 
880
  (Toshio Kuratomi, Martin Pool, #502076)
 
881
 
 
882
* ``update -r`` now supports updating to revisions that are not on
 
883
  mainline (i.e. it supports dotted revisions).
 
884
  (Parth Malwankar, #517800)
 
885
 
 
886
* Use first apparent author not committer in GNU Changelog format.
 
887
  (Martin von Gagern, #513322)
 
888
 
 
889
API Changes
 
890
***********
 
891
 
 
892
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to 
 
893
  ``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
 
894
  (Jelmer Vernooij)
 
895
 
 
896
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated 
 
897
  branch to create. (Jelmer Vernooij)
 
898
 
 
899
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the 
 
900
  colocated branch to open. (Jelmer Vernooij)
 
901
 
 
902
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
 
903
  can set a signal handler and call ``signal.siginterrupt(signum,
 
904
  False)`` for it, if the platform and Python version supports it.
 
905
  (Andrew Bennetts, #496813)
 
906
 
 
907
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to 
 
908
  run when starting up; it sets up several things that previously needed
 
909
  to be done separately.
 
910
  (Martin Pool, #507710)
 
911
 
 
912
* Exporters now support a ``per_file_timestamps`` argument to write out the 
 
913
  timestamp of the commit in which a file revision was introduced.
 
914
  (Jelmer Vernooij)
 
915
 
 
916
* New method ``BzrDir.list_branches()`` that returns a sequence of branches 
 
917
  present in a control directory. (Jelmer Vernooij)
 
918
 
 
919
* New method ``Repository.get_known_graph_ancestry()``. 
 
920
  (Jelmer Vernooij, #495502)
 
921
 
 
922
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
 
923
  (Neil Santos)
 
924
 
 
925
* Remove unused ``CommandFailed`` exception.
 
926
  (Martin Pool)
 
927
 
 
928
Internals
 
929
*********
 
930
 
 
931
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
 
932
  ``message_callback`` in the same way that commit does. (Robert Collins)
 
933
 
 
934
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
 
935
  rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
 
936
  of date. (Gary van der Merwe)
 
937
 
 
938
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
 
939
  functions to load or disable plugins if they wish to use a different
 
940
  plugin mechanism; the --help, --version and no-command name code paths
 
941
  now use the generic pluggable command lookup infrastructure.
 
942
  (Robert Collins)
 
943
 
 
944
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
 
945
  which can be set to add extra help to the error. (Gary van der Merwe)
 
946
 
 
947
* New method ``Branch.automatic_tag_name`` that can be used to find the
 
948
  tag name for a particular revision automatically. (Jelmer Vernooij)
 
949
 
 
950
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and 
 
951
  ``BzrDir.open_branch()`` now take an optional ``name`` argument. 
 
952
  (Jelmer Vernooij)
 
953
 
 
954
Testing
 
955
*******
 
956
 
 
957
* bzr now has a ``.testr.conf`` file in its source tree configured
 
958
  appropriately for running tests with Testrepository
 
959
  (``https://launchpad.net/testrepository``). (Robert Collins)
 
960
 
 
961
* Documentation about testing with ``subunit`` has been tweaked.
 
962
  (Robert Collins)
 
963
 
 
964
* Known failures has been added for resolve --take-other on ParentLoop
 
965
  conflicts. This reflects bug #537956 without fixing it.
 
966
  (Vincent Ladeuil)
 
967
 
 
968
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
 
969
  Python modules are loaded, to guard against startup time or library
 
970
  dependency regressions.
 
971
  (Martin Pool)
 
972
 
 
973
* PQM will now run with subunit output. To analyze a PQM error use
 
974
  tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
 
975
 
 
976
* Stop sending apport crash files to ``.cache`` in the directory from
 
977
  which ``bzr selftest`` was run.  (Martin Pool, #422350)
 
978
 
 
979
* Tests no longer fail if "close() called during concurrent
 
980
  operation on the same file object" occurs when closing the log file
 
981
  (which can happen if a thread tries to write to the log file at the
 
982
  wrong moment).  An warning will be written to ``stderr`` when this
 
983
  happens, and another warning will be written if the log file could not
 
984
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
 
985
 
 
986
bzr 2.1.3
 
987
#########
 
988
 
 
989
:Codename: Do run run
 
990
:2.1.3: NOT RELEASED YET
 
991
 
 
992
Compatibility Breaks
 
993
********************
 
994
 
 
995
New Features
 
996
************
 
997
 
 
998
Bug Fixes
 
999
*********
 
1000
 
 
1001
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
1002
  way which should help avoid problems with concurrent writers.
 
1003
  (Vincent Ladeuil, #525571)
 
1004
 
 
1005
* Don't traceback trying to unversion children files of an already
 
1006
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1007
 
 
1008
* Raise ValueError instead of a string exception.
 
1009
  (John Arbash Meinel, #586926)
 
1010
 
 
1011
Improvements
 
1012
************
 
1013
 
 
1014
Documentation
 
1015
*************
 
1016
 
 
1017
API Changes
 
1018
***********
 
1019
 
 
1020
Internals
 
1021
*********
 
1022
 
 
1023
Testing
 
1024
*******
 
1025
 
 
1026
bzr 2.1.2
 
1027
#########
 
1028
 
 
1029
:2.1.2: 2010-05-28
 
1030
 
 
1031
This release fixes two critical networking issues with older servers and
 
1032
with interrupted system call errors when pushing or pulling.  We recommend
 
1033
upgrading to anyone running a 2.1.x version of bzr.
 
1034
 
 
1035
Bug Fixes
 
1036
*********
 
1037
 
 
1038
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
1039
  support of bzr-externals and scmproj plugins.
 
1040
  (Alexander Belchenko, bug #572098)
 
1041
 
 
1042
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
 
1043
  (Aaron Bentley, #559436)
 
1044
 
 
1045
* Do not register a SIGWINCH signal handler, instead just poll for the
 
1046
  terminal width as needed.  This avoids the "Interrupted System Call"
 
1047
  problems that occur on POSIX with all currently released versions of
 
1048
  Python.
 
1049
  (Andrew Bennetts, #583941)
 
1050
 
 
1051
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
 
1052
  versions before 1.6.
 
1053
  (Andrew Bennetts, #528041)
 
1054
 
 
1055
* Reset ``siginterrupt`` flag to False every time we handle a signal
 
1056
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
 
1057
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
 
1058
  errors compared to registering ``signal.signal`` directly.
 
1059
  (Andrew Bennetts)
 
1060
 
 
1061
* Reduce peak memory by one copy of compressed text.
 
1062
  (John Arbash Meinel, #566940)
 
1063
 
 
1064
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
1065
  (John Arbash Meinel, #582656)
 
1066
 
 
1067
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1068
  directory file handle after the chdir fails. Otherwise when passing many
 
1069
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1070
  (John Arbash Meinel, #583486)
 
1071
 
 
1072
Internals
 
1073
*********
 
1074
 
 
1075
* ``_remember_remote_is_before`` no longer raises AssertionError when
 
1076
  suboptimal network behaviour is noticed; instead it just mutters to the
 
1077
  log file (and warns the user if they have set the ``hpss`` debug flag).
 
1078
  This was causing unnecessary aborts for performance bugs that are minor
 
1079
  at worst.
 
1080
  (Andrew Bennetts, #528041)
 
1081
 
 
1082
 
 
1083
bzr 2.1.1
 
1084
#########
 
1085
 
 
1086
:2.1.1: 2010-03-24
 
1087
 
 
1088
This is a small bugfix release.  Upgrading is recommended for anyone
 
1089
running 2.1.0 or earlier.
 
1090
 
 
1091
Bug Fixes
 
1092
*********
 
1093
 
 
1094
* Allow syscalls to automatically restart when ``TextUIFactory``'s
 
1095
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
 
1096
  IO, which are often poorly handled by Python's libraries and parts of
 
1097
  bzrlib.  (Andrew Bennetts, #496813)
 
1098
 
 
1099
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
1100
  (Martin Pool, #331095)
 
1101
 
 
1102
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
 
1103
 
 
1104
* Fix stub sftp test server to call os.getcwdu().
 
1105
  (Vincent Ladeuil, #526221, #526353)
 
1106
 
 
1107
* Fixed CHM generation by moving the NEWS section template into
 
1108
  a separate file. (Ian Clatworthy, #524184)
 
1109
 
 
1110
* Merge correctly when this_tree is not a WorkingTree.  (Aaron Bentley)
 
1111
 
 
1112
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
 
1113
  problems importing bzrlib from a non-main thread.
 
1114
  (Elliot Murphy, #521989)
 
1115
 
 
1116
* Repositories accessed via a smart server now reject being stacked on a
 
1117
  repository in an incompatible format, as is the case when accessing them
 
1118
  via other methods.  This was causing fetches from those repositories via
 
1119
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
1120
  (Andrew Bennetts, #562380)
 
1121
 
 
1122
* Standardize the error handling when creating a new ``StaticTuple``
 
1123
  (problems will raise TypeError). (Matt Nordhoff, #457979)
 
1124
 
 
1125
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
 
1126
  ``StaticTuple`` extensions, rather than having the build fail randomly.
 
1127
  (John Arbash Meinel, #449776)
 
1128
 
 
1129
Documentation
 
1130
*************
 
1131
 
 
1132
* Added a link to the Desktop Guide. (Ian Clatworthy)
 
1133
 
 
1134
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
 
1135
 
 
1136
* Drop Google Analytics from the core docs as they caused problems
 
1137
  in the CHM files. (Ian Clatworthy, #502010)
 
1138
 
 
1139
API Changes
 
1140
***********
 
1141
 
 
1142
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
 
1143
  can set a signal handler and call ``signal.siginterrupt(signum,
 
1144
  False)`` for it, if the platform and Python version supports it.
 
1145
  (Andrew Bennetts, #496813)
 
1146
 
 
1147
 
 
1148
bzr 2.1.0
 
1149
#########
 
1150
 
 
1151
:Codename: Strasbourg
 
1152
:2.1.0: 2010-02-11
 
1153
 
 
1154
This release marks our second long-term-stable series. The Bazaar team
 
1155
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
 
1156
releases, along with 2.2 development releases. 
 
1157
 
 
1158
This is a fairly incremental update, focusing on polish and bugfixing.
 
1159
There are no changes for supported disk formats. Key updates include
 
1160
reduced memory consumption for many operations, a new per-file merge
 
1161
hook, ignore patterns can now include '!' to exclude files, globbing
 
1162
support for all commands on Windows, and support for addressing home
 
1163
directories via ``bzr+ssh://host/~/`` syntax.
 
1164
 
 
1165
Users are encouraged to upgrade from the 2.0 stable series.
 
1166
 
 
1167
Bug Fixes
 
1168
*********
 
1169
 
 
1170
* Don't require testtools to use sftp.
 
1171
  (Vincent Ladeuil, #516183)
 
1172
 
 
1173
* Fix "AttributeError in Inter1and2Helper" during fetch.
 
1174
  (Martin Pool, #513432)
 
1175
 
 
1176
* ``bzr update`` performs the two merges in a more logical order and will stop
 
1177
  when it encounters conflicts.  
 
1178
  (Gerard Krol, #113809)
 
1179
 
 
1180
* Give a better error message when doing ``bzr bind`` in an already bound
 
1181
  branch.  (Neil Martinsen-Burrell, #513063)
 
1182
 
 
1183
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
 
1184
  in a pack repository, which can happen harmlessly if the abort occurs during
 
1185
  finishing the write group.  Also use ``bzrlib.cleanup`` so that any
 
1186
  other errors that occur while aborting the individual packs won't be
 
1187
  hidden by secondary failures when removing the corresponding indices.
 
1188
  (Andrew Bennetts, #423015)
 
1189
 
 
1190
* Set the mtime of files exported to a directory by ``bzr export`` all to
 
1191
  the same value to avoid confusing ``make`` and other date-based build
 
1192
  systems. (Robert Collins, #515631)
 
1193
 
 
1194
Improvements
 
1195
************
 
1196
 
 
1197
* Fetching into experimental formats will now print a warning. (Jelmer
 
1198
  Vernooij)
 
1199
 
 
1200
API Changes
 
1201
***********
 
1202
 
 
1203
* ``Repository.deserialise_inventory`` has been renamed to 
 
1204
  ``Repository._deserialise_inventory`` to indicate it is private.
 
1205
  (Jelmer Vernooij)
 
1206
 
 
1207
* ``Repository.get_inventory_xml`` has been renamed to 
 
1208
  ``Repository._get_inventory_xml`` to indicate it is private. 
 
1209
  (Jelmer Vernooij)
 
1210
 
 
1211
* ``Repository.serialise_inventory`` has been renamed to 
 
1212
  ``Repository._serialise_inventory`` to indicate it is private.
 
1213
 
 
1214
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
 
1215
  same time was broken due to race conditions with a module level page
 
1216
  cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
 
1217
  ``bzrlib.chk_map`` in the backtrace, and can be triggered without using
 
1218
  the same high level objects such as ``bzrlib.repository.Repository``
 
1219
  from different threads. chk_map now uses a thread local cache which may
 
1220
  increase memory pressure on processes using threads.
 
1221
  (Robert Collins, John Arbash Meinel, #514090)
 
1222
 
 
1223
* The new ``merge_file_content`` should now be ok with tests to avoid
 
1224
  regressions.
 
1225
  (Vincent Ladeuil, #515597)
 
1226
 
 
1227
Internals
 
1228
*********
 
1229
 
 
1230
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
 
1231
  blocks in several places in ``bzrlib.merge``.  This avoids masking prior
 
1232
  errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
 
1233
  in ``do_merge``.
 
1234
  (Andrew Bennetts, #517275)
 
1235
 
 
1236
API Changes
 
1237
***********
 
1238
 
 
1239
* The ``remove_index`` method of
 
1240
  ``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
 
1241
  argument.  This argument was always ignored.
 
1242
  (Andrew Bennetts, #423015)
 
1243
 
 
1244
bzr 2.1.0rc2
 
1245
############
 
1246
 
 
1247
:Codename: after the bubbles
 
1248
:2.1.0rc2: 2010-01-29
 
1249
 
 
1250
This is a quick-turn-around to update a small issue with our new per-file
 
1251
merge hook. We expect no major changes from this to the final 2.1.0.
 
1252
 
 
1253
API Changes
 
1254
***********
 
1255
 
 
1256
* The new ``merge_file_content`` hook point has been altered to provide a
 
1257
  better API where state for extensions can be stored rather than the
 
1258
  too-simple function based approach. This fixes a performance regression
 
1259
  where branch configuration would be parsed per-file during merge. As
 
1260
  part of this the included news_merger has been refactored into a base
 
1261
  helper class ``bzrlib.merge.ConfigurableFileMerger``.
 
1262
  (Robert Collins, John Arbash Meinel, #513822)
 
1263
 
 
1264
 
 
1265
bzr 2.1.0rc1
 
1266
############
 
1267
 
 
1268
:Codename: the 'new' stable
 
1269
:2.1.0rc1: 2009-01-21
 
1270
 
 
1271
This is the first stable release candidate for Bazaar's 2.1 series. From
 
1272
this point onwards, the 2.1 series will be considered stable (as the 2.0
 
1273
series) and only bugfixes are expected to be incorporated. The dozen or so
 
1274
bugfixes in the 2.0.4 release are also included in this release (along
 
1275
with more than 15 more bugfixes). Some of the interesting features are
 
1276
support for per-file merge hooks, ``bzr unshelve --preview``, support
 
1277
for using ! in ignore files to exclude files from being ignored, a small
 
1278
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
 
1279
This looks to be a very good start for a new stable series.
 
1280
 
 
1281
 
 
1282
New Features
 
1283
************
 
1284
 
 
1285
* Add bug information to log output when available.
 
1286
  (Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
 
1287
 
 
1288
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
 
1289
  to register custom merge logic, e.g. to provide smarter merging for
 
1290
  particular files.
 
1291
 
 
1292
* Bazaar now includes the ``news_merge`` plugin.  It is disabled by
 
1293
  default, to enable it add a ``news_merge_files`` option to your
 
1294
  configuration.  Consult ``bzr help news_merge`` for more information.
 
1295
  (Andrew Bennetts)
 
1296
  
 
1297
* ``bzr branch`` now takes a ``--bind`` option. This lets you
 
1298
  branch and bind all in one command. (Ian Clatworthy)
 
1299
 
 
1300
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
 
1301
  a specific revision of a branch. (Daniel Watkins, #183559)
 
1302
 
 
1303
* ``bzr unshelve --preview`` can now be used to show how a patch on the
 
1304
  shelf would be applied to the working tree.
 
1305
  (Guilherme Salgado, #308122)
 
1306
 
 
1307
* ``bzr update`` now takes a ``--revision`` argument. This lets you
 
1308
  change the revision of the working tree to any revision in the
 
1309
  ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
 
1310
  Martin Pool, #45719)
 
1311
 
 
1312
* ``-Dbytes`` can now be used to display the total number of bytes
 
1313
  transferred for the current command. This information is always logged
 
1314
  to ``.bzr.log`` for later inspection. (John Arbash Meinel)
 
1315
 
 
1316
* New ignore patterns.  Patterns prefixed with '!' are exceptions to 
 
1317
  ignore patterns and take precedence over regular ignores.  Such 
 
1318
  exceptions are used to specify files that should be versioned which 
 
1319
  would otherwise be ignored.  Patterns prefixed with '!!' act as regular 
 
1320
  ignore patterns, but have highest precedence, even over the '!' 
 
1321
  exception patterns. (John Whitley, #428031)
 
1322
 
 
1323
* The ``supress_warnings`` configuration option has been introduced to disable
 
1324
  various warnings (it currently only supports the ``format_deprecation``
 
1325
  warning). The new option can be set in any of the following locations:
 
1326
  ``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
 
1327
  (Ted Gould, Matthew Fuller, Vincent Ladeuil)
 
1328
 
 
1329
Bug Fixes
 
1330
*********
 
1331
 
 
1332
* Always show a message if an OS error occurs while trying to run a
 
1333
  user-specified commit message editor.
 
1334
  (Martin Pool, #504842)
 
1335
 
 
1336
* ``bzr diff`` will now use the epoch when it is unable to determine 
 
1337
  the timestamp of a file, if the revision it was introduced in is a
 
1338
  ghost. (Jelmer Vernooij, #295611)
 
1339
 
 
1340
* ``bzr switch -b`` can now create branches that are located using directory
 
1341
  services such as ``lp:``, even when the branch name doesn't contain a
 
1342
  '/'.  (Neil Martinsen-Burrell, #495263)
 
1343
 
 
1344
* ``bzr unshelve`` has improved messages about what it is doing.
 
1345
  (Neil Martinsen-Burrell, #496917)
 
1346
 
 
1347
* Concurrent autopacking is more resilient to already-renamed pack files.
 
1348
  If we find that a file we are about to obsolete is already obsoleted, we
 
1349
  do not try to rename it, and we leave the file in ``obsolete_packs``.
 
1350
  The code is also fault tolerant if a file goes missing, assuming that
 
1351
  another process already removed the file.
 
1352
  (John Arbash Meinel, Gareth White, #507557)
 
1353
 
 
1354
* Fix "Too many concurrent requests" in reconcile when network connection
 
1355
  fails.  (Andrew Bennetts, #503878)
 
1356
 
 
1357
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
 
1358
  that caused some tests to fail when run in a non-default order.
 
1359
  Probably no user impact.  (Martin Pool, #504102)
 
1360
 
 
1361
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
 
1362
  (Andrew Bennetts, #506274)
 
1363
 
 
1364
* FTP transports support Unicode paths by encoding/decoding them as utf8.
 
1365
  (Vincent Ladeuil, #472161)
 
1366
 
 
1367
* Listen to the SIGWINCH signal to update the terminal width.
 
1368
  (Vincent Ladeuil, #316357)
 
1369
 
 
1370
* Progress bars are now hidden when ``--quiet`` is given.
 
1371
  (Martin Pool, #320035)
 
1372
 
 
1373
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
 
1374
  whatever is written to it.  This un-breaks some plugin tests that
 
1375
  depended on this behaviour.
 
1376
  (Martin Pool, #499757)
 
1377
 
 
1378
* When operations update the working tree, all affected files should end
 
1379
  up with the same mtime. (eg. when versioning a generated file, if you
 
1380
  update the source and the generated file together, the generated file
 
1381
  should appear up-to-date.)
 
1382
  (John Arbash Meinel, Martin <gzlist>, #488724)
 
1383
 
 
1384
Improvements
 
1385
************
 
1386
 
 
1387
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
 
1388
  All the builtin commands now use ``add_cleanup`` rather than
 
1389
  ``try``/``finally`` blocks where applicable as it is simpler and more
 
1390
  robust.  (Andrew Bennetts)
 
1391
 
 
1392
* All except a small number of storage formats are now hidden, making
 
1393
  the help for numerous commands far more digestible. (Ian Clatworthy)
 
1394
 
 
1395
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
 
1396
  path/to/repo``) will now include "location is a repository" as a hint in
 
1397
  the error message.  (Brian de Alwis, Andrew Bennetts, #440952)
 
1398
 
 
1399
* Push will now inform the user when they are trying to push to a foreign 
 
1400
  VCS for which roundtripping is not supported, and will suggest them to 
 
1401
  use dpush. (Jelmer Vernooij)
 
1402
 
 
1403
* The version of bzr being run is now written to the log file.
 
1404
  (__monty__, #257170)
 
1405
 
 
1406
* Transport network activity indicator is shown more of the time when
 
1407
  Bazaar is doing network IO.
 
1408
  (Martin Pool)
 
1409
 
 
1410
Documentation
 
1411
*************
 
1412
 
 
1413
* Add documentation on creating merges with more than one parent.
 
1414
  (Neil Martinsen-Burrell, #481526)
 
1415
 
 
1416
* Better explain the --uncommitted option of merge.
 
1417
  (Neil Martinsen-Burrell, #505088)
 
1418
 
 
1419
* Improve discussion of pending merges in the documentation for
 
1420
  ``revert``.  (Neil Martinsen-Burrell, #505093)
 
1421
 
 
1422
* Improved help for ``bzr send``. 
 
1423
  (Martin Pool, Bojan Nikolic)
 
1424
 
 
1425
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
 
1426
  including discussions of installation, relevant plugins, security and 
 
1427
  backup. (Neil Martinsen-Burrell)
 
1428
 
 
1429
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
 
1430
  (Ian Clatworthy)
 
1431
 
 
1432
* The User Reference is now presented as a series of topics.
 
1433
  Many of the included topics have link and format tweaks applied.
 
1434
  (Ian Clatworthy)
 
1435
 
 
1436
API Changes
 
1437
***********
 
1438
 
 
1439
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
 
1440
  (Andrew Bennetts)
 
1441
 
 
1442
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
 
1443
  to be consistent with instances being lower case and classes being
 
1444
  CamelCase. For the features that were more likely to be used, we added a
 
1445
  deprecation thunk, but not all. (John Arbash Meinel)
 
1446
 
 
1447
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
 
1448
  parameter in their constructors, and provide ``this_branch`` as an
 
1449
  attribute. (Andrew Bennetts)
 
1450
  
 
1451
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
 
1452
  by plugins - the original exceptions are now preserved. (Robert Collins)
 
1453
 
 
1454
* The Transport ``Server.tearDown`` method is now renamed to
 
1455
  ``stop_server`` and ``setUp`` to ``start_server`` for consistency with
 
1456
  our normal naming pattern, and to avoid confusion with Python's
 
1457
  ``TestCase.tearDown``.  (Martin Pool)
 
1458
 
 
1459
* ``WorkingTree.update`` implementations must now accept a ``revision``
 
1460
  parameter.
 
1461
 
 
1462
Internals
 
1463
*********
 
1464
 
 
1465
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
 
1466
  a string of details (such as "location is a repository") as part of a
 
1467
  ``nobranch`` response.  (Andrew Bennetts, #440952)
 
1468
  
 
1469
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
 
1470
  objects but passes str objects straight through. This is used for
 
1471
  selftest but may be useful for diff and other operations that generate
 
1472
  mixed output. (Robert Collins)
 
1473
 
 
1474
* New exception ``NoRoundtrippingSupport``, for use by foreign branch 
 
1475
  plugins. (Jelmer Vernooij)
 
1476
 
 
1477
Testing
 
1478
*******
 
1479
 
 
1480
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
 
1481
  running all tests in the current module, once against a pure python
 
1482
  implementation, and once against an extension (pyrex/C) implementation.
 
1483
  It can be used to dramatically simplify the implementation of
 
1484
  ``load_tests``.  (John Arbash Meinel)
 
1485
 
 
1486
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
 
1487
  This permits features in testtools such as getUniqueInteger and
 
1488
  getUniqueString to be used. Because of this, testtools version 0.9.2 or
 
1489
  newer is now a dependency to run bzr selftest. Running with versions of
 
1490
  testtools less than 0.9.2 will cause bzr to error while loading the test
 
1491
  suite. (Robert Collins)
 
1492
 
 
1493
* Shell-like tests now support the command "mv" for moving files.  The
 
1494
  syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
 
1495
  supported.  (Neil Martinsen-Burrell)
 
1496
 
 
1497
* The test progress bar no longer distinguishes tests that 'errored' from
 
1498
  tests that 'failed' - they're all just failures.
 
1499
  (Martin Pool)
 
1500
 
 
1501
bzr 2.0.6
 
1502
#########
 
1503
 
 
1504
:2.0.6: NOT RELEASED YET
 
1505
 
 
1506
Bug Fixes
 
1507
*********
 
1508
 
 
1509
* Additional merges after an unrelated branch has been merged with its
 
1510
  history no longer crash when deleted files are involved.
 
1511
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
1512
 
 
1513
* ``bzr revert`` now only takes write lock on working tree, instead of on 
 
1514
  both working tree and branch.
 
1515
  (Danny van Heumen, #498409)
 
1516
 
 
1517
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
1518
  permissions as ``.bzr`` directory on a POSIX OS.
 
1519
  (Parth Malwankar, #262450)
 
1520
 
 
1521
* Don't traceback trying to unversion children files of an already
 
1522
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1523
 
 
1524
* Raise ValueError instead of a string exception.
 
1525
  (John Arbash Meinel, #586926)
 
1526
 
 
1527
* Reduce peak memory by one copy of compressed text.
 
1528
  (John Arbash Meinel, #566940)
 
1529
 
 
1530
* Repositories accessed via a smart server now reject being stacked on a
 
1531
  repository in an incompatible format, as is the case when accessing them
 
1532
  via other methods.  This was causing fetches from those repositories via
 
1533
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
1534
  (Andrew Bennetts, #562380)
 
1535
 
 
1536
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1537
  error. This error was caused by 2.0 not being updated when upstream
 
1538
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1539
  ``done``. (Robert Collins, #571437)
 
1540
 
 
1541
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1542
  directory file handle after the chdir fails. Otherwise when passing many
 
1543
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1544
  (John Arbash Meinel, #583486)
 
1545
 
 
1546
 
 
1547
bzr 2.0.5
 
1548
#########
 
1549
 
 
1550
:2.0.5: 2010-03-23
 
1551
 
 
1552
This fifth release in our 2.0 series addresses several user-inconvenience
 
1553
bugs.  None are critical, but upgrading is recommended for all users on
 
1554
earlier 2.0 releases.
 
1555
 
 
1556
Bug Fixes
 
1557
*********
 
1558
 
 
1559
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
1560
  (Martin Pool, #331095)
 
1561
 
 
1562
* Concurrent autopacking is more resilient to already-renamed pack files.
 
1563
  If we find that a file we are about to obsolete is already obsoleted, we
 
1564
  do not try to rename it, and we leave the file in ``obsolete_packs``.
 
1565
  The code is also fault tolerant if a file goes missing, assuming that
 
1566
  another process already removed the file.
 
1567
  (John Arbash Meinel, Gareth White, #507557)
 
1568
 
 
1569
* Cope with the lockdir ``held/info`` file being empty, which seems to
 
1570
  happen fairly often if the process is suddenly interrupted while taking
 
1571
  a lock.
 
1572
  (Martin Pool, #185103)
 
1573
 
 
1574
* Give the warning about potentially slow cross-format fetches much
 
1575
  earlier on in the fetch operation.  Don't show this message during
 
1576
  upgrades, and show the correct format indication for remote
 
1577
  repositories.
 
1578
  (Martin Pool, #456077, #515356, #513157)
 
1579
 
 
1580
* Handle renames correctly when there are files or directories that 
 
1581
  differ only in case.  (Chris Jones, Martin Pool, #368931)
 
1582
 
 
1583
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
 
1584
  error, report that error rather than failing with an unhelpful
 
1585
  ``UnboundLocalError``.
 
1586
  (Andrew Bennetts, #423563)
 
1587
 
 
1588
* Running ``bzr`` command without any arguments now shows bzr
 
1589
  version number along with rest of the help text.
 
1590
  (Parth Malwankar, #369501)
 
1591
 
 
1592
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
 
1593
  errors.
 
1594
  (Inada Naoki, #524560)
 
1595
 
 
1596
Documentation
 
1597
*************
 
1598
 
 
1599
* Added ``location-alias`` help topic.
 
1600
  (Andrew Bennetts, #337834)
 
1601
 
 
1602
* Fixed CHM generation by moving the NEWS section template into
 
1603
  a separate file. (Ian Clatworthy, #524184)
 
1604
 
 
1605
 
 
1606
bzr 2.0.4
 
1607
#########
 
1608
 
 
1609
:Codename: smooth sailing
 
1610
:2.0.4: 2010-01-21
 
1611
 
 
1612
The fourth bugfix-only release in the 2.0 series contains more than a
 
1613
dozen bugfixes relative to 2.0.3. The primary focus is on handling
 
1614
interruptions and concurrent operations more cleanly, there is also a fair
 
1615
improvement to ``bzr export`` when exporting a remote branch.
 
1616
 
 
1617
 
 
1618
Bug Fixes
 
1619
*********
 
1620
 
 
1621
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
 
1622
  fails with an ``ObjectNotLocked`` error.  (Andrew Bennetts, #496590)
 
1623
 
 
1624
* ``bzr export dir`` now requests all file content as a record stream,
 
1625
  rather than requsting the file content one file-at-a-time. This can make
 
1626
  exporting over the network significantly faster (54min => 9min in one
 
1627
  case). (John Arbash Meinel, #343218)
 
1628
 
 
1629
* ``bzr serve`` no longer slowly leaks memory. The compiled
 
1630
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
 
1631
  free resources, and it should have been using ``__dealloc__``.
 
1632
  This will likely have an impact on any other process that is serving for
 
1633
  an extended period of time.  (John Arbash Meinel, #494406)
 
1634
 
 
1635
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
 
1636
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
 
1637
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
 
1638
 
 
1639
* Concurrent autopacks will no longer lose a newly created pack file.
 
1640
  There was a race condition, where if the reload happened at the right
 
1641
  time, the second packer would forget the name of the newly added pack
 
1642
  file. (John Arbash Meinel, Gareth White, #507566)
 
1643
 
 
1644
* Give a clearer message if the lockdir disappears after being apparently
 
1645
  successfully taken.  (Martin Pool, #498378)
 
1646
 
 
1647
* Give a warning when fetching between repositories (local or remote) with
 
1648
  sufficiently different formats that the content will need to be
 
1649
  serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
 
1650
  the user has a clue that upgrading could make it faster.
 
1651
  (Martin Pool, #456077)
 
1652
 
 
1653
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
 
1654
  than using ``warning()``. The log file is opened before logging is set
 
1655
  up, and it leads to very confusing: 'no handlers for "bzr"' messages for
 
1656
  users, rather than something nicer.
 
1657
  (John Arbash Meinel, Barry Warsaw, #503886)
 
1658
 
 
1659
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
 
1660
  (Martin Pool, John Arbash Meinel, #449372)
 
1661
 
 
1662
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
 
1663
  build. (there is still the distutils bug
 
1664
  http://bugs.python.org/issue644744) (Joe Julian, #175839)
 
1665
 
 
1666
* The 2a format wasn't properly restarting autopacks when something
 
1667
  changed underneath it (like another autopack). Now concurrent
 
1668
  autopackers will properly succeed. (John Arbash Meinel, #495000)
 
1669
 
 
1670
* ``TreeTransform`` can now handle when a delta says that the file id for
 
1671
  the tree root changes. Rather than trying to rename your working
 
1672
  directory, or failing early saying that you can't have multiple
 
1673
  tree roots. This also fixes revert, update, and pull when the root id
 
1674
  changes.  (John Arbash Meinel, #494269, #504390)
 
1675
 
 
1676
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
 
1677
  the right time will get propagated, rather than silently failing to move
 
1678
  the block pointer. (John Arbash Meinel, Gareth White, #495023)
 
1679
 
 
1680
Testing
 
1681
*******
 
1682
 
 
1683
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
 
1684
  handle exceptions somehow. (Possibly by setting ``# cannot_raise``
 
1685
  rather than an ``except ?:`` clause.) This should help prevent bugs like
 
1686
  bug #495023. (John Arbash Meinel)
 
1687
 
 
1688
 
 
1689
bzr 2.1.0b4
 
1690
###########
 
1691
 
 
1692
:Codename: san francisco airport
 
1693
:2.1.0b4: 2009-12-14
 
1694
 
 
1695
The fourth beta release in the 2.1 series brings with it a significant
 
1696
number of bugfixes (~20). The test suite is once again (finally) "green"
 
1697
on Windows, and should remain that way for future releases. There are a
 
1698
few performance related updates (faster upgrade and log), and several UI
 
1699
tweaks. There has also been a significant number of tweaks to the runtime
 
1700
documentation. 2.1.0b4 include everything from the 2.0.3 release.
 
1701
 
 
1702
 
 
1703
Compatibility Breaks
 
1704
********************
 
1705
 
 
1706
* The BZR_SSH environmental variable may now be set to the path of a secure
 
1707
  shell client. If currently set to the value ``ssh`` it will now guess the
 
1708
  vendor of the program with that name, to restore the old behaviour that
 
1709
  indicated the SSH Corporation client use ``sshcorp`` instead as the magic
 
1710
  string. (Martin <gzlist@googlemail.com>, #176292)
 
1711
 
 
1712
New Features
 
1713
************
 
1714
 
 
1715
* ``bzr commit`` now has a ``--commit-time`` option.
 
1716
  (Alexander Sack, #459276)
 
1717
 
 
1718
* ``-Dhpss`` now increases logging done when run on the bzr server,
 
1719
  similarly to how it works on the client. (John Arbash Meinel)
 
1720
 
 
1721
* New option ``bzr unshelve --keep`` applies the changes and leaves them
 
1722
  on the shelf.  (Martin Pool, Oscar Fuentes, #492091)
 
1723
 
 
1724
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
 
1725
  respect a given terminal width. This can be useful when output is
 
1726
  redirected or in obscure cases where the default value is not
 
1727
  appropriate. Pagers can use it to get a better control of the line
 
1728
  lengths. 
 
1729
  (Vincent Ladeuil)
 
1730
 
 
1731
* The new command ``bzr lp-mirror`` will request that Launchpad update its
 
1732
  mirror of a local branch. This command will only function if launchpadlib
 
1733
  is installed.
 
1734
  (Jonathan Lange)
 
1735
 
 
1736
 
 
1737
Bug Fixes
 
1738
*********
 
1739
 
 
1740
* After renaming a file, the dirstate could accidentally reference
 
1741
  ``source\\path`` rather than ``source/path`` on Windows. This might be a
 
1742
  source of some dirstate-related failures. (John Arbash Meinel)
 
1743
 
 
1744
* ``bzr commit`` now detects commit messages that looks like file names
 
1745
  and issues a warning.
 
1746
  (Gioele Barabucci, #73073)
 
1747
 
 
1748
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
 
1749
 
 
1750
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
 
1751
  (#325618, #484109, Marius Kruger)
 
1752
 
 
1753
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
 
1754
  files with conflicts (similar to ``--merge3``). The contents of the file
 
1755
  is a synthesis of all bases used for the merge.
 
1756
  (John Arbash Meinel, #40412)
 
1757
 
 
1758
* ``bzr mv --quiet`` really is quiet now.  (Gordon Tyler, #271790)
 
1759
 
 
1760
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
 
1761
  (Robert Collins, #84659)
 
1762
 
 
1763
* ``bzr serve --quiet`` really is quiet now.  (Gordon Tyler, #252834)
 
1764
 
 
1765
* Fix bug with redirected URLs over authenticated HTTP.
 
1766
  (Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
 
1767
 
 
1768
* Interactive merge doesn't leave branch locks behind.  (Aaron Bentley)
 
1769
 
 
1770
* Lots of bugfixes for the test suite on Windows. We should once again
 
1771
  have a test suite with no failures on Windows. (John Arbash Meinel)
 
1772
 
 
1773
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
 
1774
  variable but returns None if the terminal is not a tty (when output is
 
1775
  redirected for example). Also fixes its usage under OSes that doesn't
 
1776
  provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
 
1777
  windows too.
 
1778
  (Joke de Buhr, Vincent Ladeuil, #353370, #62539)
 
1779
  (John Arbash Meinel, Vincent Ladeuil, #492561)
 
1780
 
 
1781
* Terminate ssh subprocesses when no references to them remain, fixing
 
1782
  subprocess and file descriptor leaks.  (Andrew Bennetts, #426662)
 
1783
  
 
1784
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
 
1785
  works for 2a format trees.  Only files unaffected by content filters
 
1786
  will be hardlinked.  (Andrew Bennetts, #408193)
 
1787
 
 
1788
* The new glob expansion on Windows would replace all ``\`` characters
 
1789
  with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
 
1790
  etc. Now only change slashes if there is something being glob expanded.
 
1791
  (John Arbash Meinel, #485771)
 
1792
 
 
1793
* Use our faster ``KnownGraph.heads()`` functionality when computing the
 
1794
  new rich-root heads. This can cut a conversion time in half (mysql from
 
1795
  13.5h => 6.2h) (John Arbash Meinel, #487632)
 
1796
 
 
1797
* When launching a external diff tool via bzr diff --using, temporary files
 
1798
  are no longer created, rather, the path to the file in the working tree is
 
1799
  passed to the external diff tool. This allows the file to be edited if the
 
1800
  diff tool provides for this. (Gary van der Merwe, #490738)
 
1801
  
 
1802
* The launchpad-open command can now be used from a subdirectory of a
 
1803
  branch, not just from the root of the branch. 
 
1804
  (Neil Martinsen-Burrell, #489102)
 
1805
 
 
1806
 
 
1807
Improvements
 
1808
************
 
1809
 
 
1810
* ``bzr log`` is now faster. (Ian Clatworthy)
 
1811
 
 
1812
* ``bzr update`` provides feedback on which branch it is up to date with.
 
1813
  (Neil Martinsen-Burrell)
 
1814
 
 
1815
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
 
1816
  For details see the xml8 patch and heads() improvements.
 
1817
  (John Arbash Meinel)
 
1818
 
 
1819
* ``bzrlib.urlutils.local_path_from_url`` now accepts
 
1820
  'file://localhost/' as well as 'file:///' URLs on POSIX.  (Michael
 
1821
  Hudson)
 
1822
 
 
1823
* The progress bar now shows only a spinner and per-operation counts,
 
1824
  not an overall progress bar.  The previous bar was often not correlated
 
1825
  with real overall operation progress, either because the operations take
 
1826
  nonlinear time, or because at the start of the operation Bazaar couldn't
 
1827
  estimate how much work there was to do.  (Martin Pool)
 
1828
 
 
1829
Documentation
 
1830
*************
 
1831
 
 
1832
* Lots of documentation tweaks for inline help topics and command help
 
1833
  information.
 
1834
 
 
1835
API Changes
 
1836
***********
 
1837
 
 
1838
* ``bzrlib.textui`` (vestigial module) removed.  (Martin Pool)
 
1839
 
 
1840
* The Launchpad plugin now has a function ``login`` which will log in to
 
1841
  Launchpad with launchpadlib, and ``load_branch`` which will return the
 
1842
  Launchpad Branch object corresponding to a given Bazaar Branch object.
 
1843
  (Jonathan Lange)
 
1844
 
 
1845
Internals
 
1846
*********
 
1847
 
 
1848
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
 
1849
  easier to handle what tests you want to run based on what modules can be
 
1850
  imported. (Rather than lots of custom-implemented features that were
 
1851
  basically copy-and-pasted.) (John Arbash Meinel)
 
1852
 
 
1853
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
 
1854
  ``time.clock()`` when you want to do performance timing.
 
1855
  ``time.time()`` is limited to 15ms resolution on Windows, but
 
1856
  ``time.clock()`` gives CPU and not wall-clock time on other platforms.
 
1857
  (John Arbash Meinel)
 
1858
 
 
1859
* Several code paths that were calling ``Transport.get().read()`` have
 
1860
  been changed to the equalivent ``Transport.get_bytes()``. The main
 
1861
  difference is that the latter will explicitly call ``file.close()``,
 
1862
  rather than expecting the garbage collector to handle it. This helps
 
1863
  with some race conditions on Windows during the test suite and sftp
 
1864
  tests. (John Arbash Meinel)
 
1865
 
 
1866
Testing
 
1867
*******
 
1868
 
 
1869
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
 
1870
  unicode strings. (Michael Hudson, #464174)
 
1871
 
 
1872
 
 
1873
bzr 2.0.3
 
1874
#########
 
1875
 
 
1876
:Codename: little italy
 
1877
:2.0.3: 2009-12-14
 
1878
 
 
1879
 
 
1880
The third stable release of Bazaar has a small handful of bugfixes. As
 
1881
expected, this has no internal or external compatibility changes versus
 
1882
2.0.2 (or 2.0.0).
 
1883
 
 
1884
Bug Fixes
 
1885
*********
 
1886
 
 
1887
* ``bzr push --use-existing-dir`` no longer crashes if the directory
 
1888
  exists but contains an invalid ``.bzr`` directory.
 
1889
  (Andrew Bennetts, #423563)
 
1890
 
 
1891
* Content filters are now applied correctly after pull, merge and switch.
 
1892
  (Ian Clatworthy, #385879)
 
1893
 
 
1894
* Fix a potential segfault in the groupcompress hash map handling code.
 
1895
  When inserting new entries, if the final hash bucket was empty, we could
 
1896
  end up trying to access if ``(last_entry+1)->ptr == NULL``.
 
1897
  (John Arbash Meinel, #490228)
 
1898
 
 
1899
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
 
1900
 
 
1901
 
 
1902
bzr 2.1.0b3
 
1903
###########
 
1904
 
 
1905
:Codename: after sprint recovery
 
1906
:2.1.0b3: 2009-11-16
 
1907
 
 
1908
This release was pushed up from its normal release cycle due to a
 
1909
regression in python 2.4 compatibility in 2.1.0b2.  Since this regression
 
1910
was caught before 2.1.0b2 was officially announced, the full changelog
 
1911
includes both 2.1.0b3 and 2.1.0b2 changes.
 
1912
 
 
1913
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
 
1914
the test suite now conforms to python's trunk enhanced semantics (skip,
 
1915
etc.), and ``bzr info -v`` will now report the correct branch and repo
 
1916
formats for Remote objects.
 
1917
 
 
1918
 
 
1919
New Features
 
1920
************
 
1921
 
 
1922
* Users can define a shelve editor to provide shelf functionality at a
 
1923
  granularity finer than per-patch-hunk. (Aaron Bentley)
 
1924
 
 
1925
Bug Fixes
 
1926
*********
 
1927
 
 
1928
* Fix for shell completion and short options.  (Benoît PIERRE)
 
1929
 
 
1930
* Fix ``bzr --profile-imports`` with Python 2.6.  (Martin Pool)
 
1931
 
 
1932
* Hooks daughter classes should always call the base constructor.
 
1933
  (Alexander Belchenko, Vincent Ladeuil, #389648) 
 
1934
 
 
1935
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
 
1936
 
 
1937
* On Windows, do glob expansion at the command-line level (as is usually
 
1938
  done in bash, etc.) This means that *all* commands get glob expansion
 
1939
  (bzr status, bzr add, bzr mv, etc). It uses a custom command line
 
1940
  parser, which allows us to know if a given section was quoted. It means
 
1941
  you can now do ``bzr ignore "*.py"``.
 
1942
  (John Arbash Meinel, #425510, #426410, #194450)
 
1943
 
 
1944
* Sanitize commit messages that come in from the '-m' flag. We translate
 
1945
  '\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
 
1946
  allow those because XML store silently translate it anyway. (The parser
 
1947
  auto-translates \r\n => \n in ways that are hard for us to catch.)
 
1948
 
 
1949
* Show correct branch and repository format descriptions in 
 
1950
  ``bzr info -v`` on a smart server location.  (Andrew Bennetts, #196080)
 
1951
 
 
1952
* The fix for bug #186920 accidentally broke compatibility with python
 
1953
  2.4.  (Vincent Ladeuil, #475585)
 
1954
 
 
1955
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
 
1956
  correctly sets ``self.inv_sha1`` to a sha1 string and
 
1957
  ``self.new_inventory`` to an Inventory instance after calling
 
1958
  ``self.finish_inventory()``. (Previously it accidently set both values
 
1959
  as a tuple on ``self.inv_sha1``. This was missed because
 
1960
  ``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
 
1961
  the sha1 from the repo directly. (John Arbash Meinel)
 
1962
 
 
1963
* Shelve command refuse to run if there is no real terminal.
 
1964
  (Alexander Belchenko)
 
1965
 
 
1966
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
 
1967
  Python level.  (Martin Pool)
 
1968
 
 
1969
Documentation
 
1970
*************
 
1971
 
 
1972
* Include Japanese translations for documentation (Inada Naoki)
 
1973
 
 
1974
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
 
1975
  (rather than user-interaction) data to stdout.  This automatically
 
1976
  coordinates with progress bars or other terminal activity, and can be
 
1977
  overridden by GUIs.
 
1978
  (Martin Pool, 493944)
 
1979
 
 
1980
Internals
 
1981
*********
 
1982
 
 
1983
* Some of the core groupcompress functionality now releases the GIL before
 
1984
  operation. Similar to how zlib and bz2 operate without the GIL in the
 
1985
  core compression and decompression routines. (John Arbash Meinel)
 
1986
 
 
1987
Testing
 
1988
*******
 
1989
 
 
1990
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
 
1991
  more debugging of VFS access triggers. (Robert Collins)
 
1992
 
 
1993
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
 
1994
  method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
 
1995
 
 
1996
* ``--parallel=fork`` is now compatible with --subunit.
 
1997
  (Robert Collins, Vincent Ladeuil, #419776)
 
1998
 
 
1999
* Reporting of failures shows test ids not descriptions and thus shows
 
2000
  parameterised tests correctly. (Robert Collins)
 
2001
 
 
2002
* TestNotApplicable is now handled within the TestCase.run method rather
 
2003
  than being looked for within ``ExtendedTestResult.addError``. This
 
2004
  provides better handling with other ``TestResult`` objects, degrading to
 
2005
  sucess rather than error. (Robert Collins)
 
2006
 
 
2007
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
 
2008
  removed - it was empty and unused. (Robert Collins)
 
2009
 
 
2010
* UnavailableFeature is now handled within the TestCase.run method rather
 
2011
  than being looked for within addError. If the Result object does not
 
2012
  have an addNotSupported method, addSkip is attempted instead, and
 
2013
  failing that addSuccess. (Robert Collins)
 
2014
 
 
2015
* When a TestResult does not have an addSkip method, skipped tests are now
 
2016
  reported as successful tests, rather than as errors. This change is
 
2017
  to make it possible to get a clean test run with a less capable
 
2018
  TestResult. (Robert Collins)
 
2019
 
 
2020
 
 
2021
 
 
2022
bzr 2.1.0b2
 
2023
###########
 
2024
 
 
2025
:Codename: a load off my mind
 
2026
:2.1.0b2: 2009-11-02
 
2027
 
 
2028
This is our second feature-filled release since 2.0, pushing us down the
 
2029
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
 
2030
 
 
2031
Key highlights in this release are: improved handling of
 
2032
failures-during-cleanup for commit, fixing a long-standing bug with
 
2033
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
 
2034
behind proxies, and a new StaticTuple datatype, allowing us to reduce
 
2035
memory consumption (50%) and garbage collector overhead (40% faster) for
 
2036
many operations.
 
2037
 
 
2038
* A new ``--concurrency`` option has been added as well as an associated
 
2039
  BZR_CONCURRENCY environment variable to specify the number of
 
2040
  processes that can be run concurrently when running ``bzr selftest``. The
 
2041
  command-line option overrides the environment variable if both are
 
2042
  specified. If none is specified. the number of processes is obtained
 
2043
  from the OS as before.  (Matt Nordhoff, Vincent Ladeuil)
 
2044
 
 
2045
Bug Fixes
 
2046
*********
 
2047
 
 
2048
* ``bzr+http`` servers no longer give spurious jail break errors when
 
2049
  serving branches inside a shared repository.  (Andrew Bennetts, #348308)
 
2050
 
 
2051
* Errors during commit are handled more robustly so that knock-on errors
 
2052
  are less likely to occur, and will not obscure the original error if
 
2053
  they do occur.  This fixes some causes of ``TooManyConcurrentRequests``
 
2054
  and similar errors.  (Andrew Bennetts, #429747, #243391)
 
2055
 
 
2056
* Launchpad urls can now be resolved from behind proxies.
 
2057
  (Gordon Tyler, Vincent Ladeuil, #186920)
 
2058
 
 
2059
* Reduce the strictness for StaticTuple, instead add a debug flag
 
2060
  ``-Dstatic_tuple`` which will change apis to be strict and raise errors.
 
2061
  This way, most users won't see failures, but developers can improve
 
2062
  internals. (John Arbash Meinel, #471193)
 
2063
 
 
2064
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
 
2065
  files.  (Aaron Bentley)
 
2066
 
 
2067
* Unicode paths are now handled correctly and consistently by the smart
 
2068
  server.  (Andrew Bennetts, Michael Hudson, #458762)
 
2069
 
 
2070
Improvements
 
2071
************
 
2072
 
 
2073
* When reading index files, we now use a ``StaticTuple`` rather than a
 
2074
  plain ``tuple`` object. This generally gives a 20% decrease in peak
 
2075
  memory, and can give a performance boost up to 40% on large projects.
 
2076
  (John Arbash Meinel)
 
2077
 
 
2078
* Peak memory under certain operations has been reduced significantly.
 
2079
  (eg, 'bzr branch launchpad standalone' is cut in half)
 
2080
  (John Arbash Meinel)
 
2081
 
 
2082
Documentation
 
2083
*************
 
2084
 
 
2085
* Filtered views user documentation upgraded to refer to format 2a
 
2086
  instead of pre-2.0 formats. (Ian Clatworthy)
 
2087
 
 
2088
API Changes
 
2089
***********
 
2090
 
 
2091
* Remove deprecated ``CLIUIFactory``.  (Martin Pool)
 
2092
 
 
2093
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
 
2094
  ``show_warning`` methods, which can be hooked by non-text UIs.  
 
2095
  (Martin Pool)
 
2096
 
 
2097
Internals
 
2098
*********
 
2099
 
 
2100
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
 
2101
  Dict (it only holds keys, but you can lookup the object located at a
 
2102
  given key). It has significantly reduced memory consumption versus the
 
2103
  builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
 
2104
  used as the interning structure for StaticTuple objects.
 
2105
  (John Arbash Meinel)
 
2106
 
 
2107
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
 
2108
  the btree index parser and the chk map parser. This class functions
 
2109
  similarly to ``tuple`` objects. However, it can only point to a limited
 
2110
  collection of types.  (Currently StaticTuple, str, unicode, None, bool,
 
2111
  int, long, float, but not subclasses).  This allows us to remove it from
 
2112
  the garbage collector (it cannot be in a cycle), it also allows us to
 
2113
  intern the objects. In testing, this can reduce peak memory by 20-40%,
 
2114
  and significantly improve performance by removing objects from being
 
2115
  inspected by the garbage collector.  (John Arbash Meinel)
 
2116
 
 
2117
* ``GroupCompressBlock._ensure_content()`` will now release the
 
2118
  ``zlib.decompressobj()`` when the first request is for all of the
 
2119
  content. (Previously it would only be released if you made a request for
 
2120
  part of the content, and then all of it later.) This turns out to be a
 
2121
  significant memory savings, as a ``zstream`` carries around approx 260kB
 
2122
  of internal state and buffers. (For branching bzr.dev this drops peak
 
2123
  memory from 382MB => 345MB.) (John Arbash Meinel)
 
2124
 
 
2125
* When streaming content between ``2a`` format repositories, we now clear
 
2126
  caches from earlier versioned files. (So 'revisions' is cleared when we
 
2127
  start reading 'inventories', etc.) This can have a significant impact on
 
2128
  peak memory for initial copies (~200MB). (John Arbash Meinel)
 
2129
 
 
2130
 
 
2131
bzr 2.0.2
 
2132
#########
 
2133
 
 
2134
:Codename: after the scare
 
2135
:2.0.2: 2009-11-02
 
2136
 
 
2137
The second in our "let's keep the stable bugfixes flowing" series. As
 
2138
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
 
2139
changes or features.
 
2140
 
 
2141
Bug Fixes
 
2142
*********
 
2143
 
 
2144
* Avoid "NoneType has no attribute st_mode" error when files disappear
 
2145
  from a directory while it's being read.  (Martin Pool, #446033)
 
2146
 
 
2147
* Content filters are now applied correctly after revert.
 
2148
  (Ian Clatworthy)
 
2149
 
 
2150
* Diff parsing handles "Binary files differ" hunks.  (Aaron Bentley, #436325)
 
2151
 
 
2152
* Fetching from stacked pre-2a repository via a smart server no longer
 
2153
  fails intermittently with "second push failed to complete".
 
2154
  (Andrew Bennetts, #437626)
 
2155
 
 
2156
* Fix typos left after test_selftest refactoring.
 
2157
  (Vincent Ladeuil, Matt Nordhoff, #461149)
 
2158
 
 
2159
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
 
2160
  (Andrew Bennetts, #445171)
 
2161
  
 
2162
* PreviewTree file names are not limited by the encoding of the temp
 
2163
  directory's filesystem. (Aaron Bentley, #436794)
 
2164
 
 
2165
Improvements
 
2166
************
 
2167
 
 
2168
* ``bzr log`` now read-locks branches exactly once, so makes better use of
 
2169
  data caches.  (Andrew Bennetts)
 
2170
 
 
2171
Documentation
 
2172
*************
 
2173
 
 
2174
* Filtered views user documentation upgraded to refer to format 2a
 
2175
  instead of pre-2.0 formats. (Ian Clatworthy)
 
2176
 
 
2177
 
 
2178
bzr 2.1.0b1
 
2179
###########
 
2180
 
 
2181
:Codename: While the cat is away
 
2182
:2.1.0b1: 2009-10-14
 
2183
 
 
2184
This is the first development release in the new split "stable" and
 
2185
"development" series. As such, the release is a snapshot of bzr.dev
 
2186
without creating a release candidate first. This release includes a
 
2187
fair amount of internal changes, with deprecated code being removed,
 
2188
and several new feature developments. People looking for a stable code
 
2189
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
 
2190
present in 2.0.1 are present in 2.1.0b1.
 
2191
 
 
2192
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
 
2193
finer control over the plugin search path via extended BZR_PLUGIN_PATH
 
2194
syntax, visible warnings when extension modules fail to load, and improved
 
2195
error handling during unlocking.
 
2196
 
 
2197
 
 
2198
New Features
 
2199
************
 
2200
 
 
2201
* Bazaar can now send mail through Apple OS X Mail.app. 
 
2202
  (Brian de Alwis)
 
2203
 
 
2204
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
 
2205
  specified in the URL.  Paths starting with a path segment of ``~`` are
 
2206
  relative to the home directory of the user running the server, and paths
 
2207
  starting with ``~user`` are relative to the home directory of the named
 
2208
  user.  For example, for a user "bob" with a home directory of
 
2209
  ``/home/bob``, these URLs are all equivalent:
 
2210
 
 
2211
  * ``bzr+ssh://bob@host/~/repo``
 
2212
  * ``bzr+ssh://bob@host/~bob/repo``
 
2213
  * ``bzr+ssh://bob@host/home/bob/repo``
 
2214
 
 
2215
  If ``bzr serve`` was invoked with a ``--directory`` argument, then no
 
2216
  home directories outside that directory will be accessible via this
 
2217
  method.
 
2218
 
 
2219
  This is a feature of ``bzr serve``, so pre-2.1 clients will
 
2220
  automatically benefit from this feature when ``bzr`` on the server is
 
2221
  upgraded.  (Andrew Bennetts, #109143)
 
2222
 
 
2223
* Extensions can now be compiled if either Cython or Pyrex is available.
 
2224
  Currently Pyrex is preferred, but that may change in the future.
 
2225
  (Arkanes)
 
2226
 
 
2227
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
 
2228
  disable the user, site and core plugin directories.
 
2229
  (Vincent Ladeuil, #412930, #316192, #145612)
 
2230
 
 
2231
Bug Fixes
 
2232
*********
 
2233
 
 
2234
* Bazaar's native protocol code now correctly handles EINTR, which most
 
2235
  noticeably occurs if you break in to the debugger while connected to a
 
2236
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
2237
  'c') and the process continues.  However, note that pressing C-\ in the
 
2238
  shell may still kill the SSH process, which is bug 162509, so you must
 
2239
  sent a signal to the bzr process specifically, for example by typing
 
2240
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
2241
 
 
2242
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
 
2243
  filename will issue a warning and skip over those files.
 
2244
  (Robert Collins, #3918)
 
2245
 
 
2246
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
 
2247
  are present in the working tree. The configuration option ``dpush_strict``
 
2248
  can be used to set the default for this behavior.
 
2249
  (Vincent Ladeuil, #438158)
 
2250
 
 
2251
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
 
2252
  merges are present in the working tree.
 
2253
  (Vincent Ladeuil, #426344)
 
2254
 
 
2255
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
2256
  traceback.  (Martin Pool, #109115)
 
2257
 
 
2258
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
 
2259
  as it is never built. (John Arbash Meinel, #430645)
 
2260
 
 
2261
* Don't restrict the command name used to run the test suite.
 
2262
  (Vincent Ladeuil, #419950)
 
2263
 
 
2264
* ftp transports were built differently when the kerberos python module was
 
2265
  present leading to obscure failures related to ASCII/BINARY modes.
 
2266
  (Vincent Ladeuil, #443041)
 
2267
 
 
2268
* Network streams now decode adjacent records of the same type into a
 
2269
  single stream, reducing layering churn. (Robert Collins)
 
2270
 
 
2271
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
 
2272
  file. (Aaron Bentley, #251532)
 
2273
 
 
2274
* Registry objects should not use iteritems() when asked to use items().
 
2275
  (Vincent Ladeuil, #430510)
 
2276
 
 
2277
* Weave based repositories couldn't be cloned when committers were using
 
2278
  domains or user ids embedding '.sig'. Now they can.
 
2279
  (Matthew Fuller, Vincent Ladeuil, #430868)
 
2280
 
 
2281
Improvements
 
2282
************
 
2283
 
 
2284
* Revision specifiers can now be given in a more DWIM form, without
 
2285
  needing explicit prefixes for specifiers like tags or revision id's.
 
2286
  See ``bzr help revisionspec`` for full details.  (Matthew Fuller)
 
2287
 
 
2288
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if 
 
2289
  compiled extensions can't be loaded.  This typically indicates a
 
2290
  packaging or installation problem.  In this case Bazaar will keep
 
2291
  running using pure-Python versions, but this may be substantially
 
2292
  slower.  The warning can be disabled by setting
 
2293
  ``ignore_missing_extensions = True`` in ``bazaar.conf``.
 
2294
  See also <https://answers.launchpad.net/bzr/+faq/703>.
 
2295
  (Martin Pool, #406113, #430529)
 
2296
 
 
2297
* Secondary errors that occur during Branch.unlock and Repository.unlock
 
2298
  no longer obscure the original error.  These methods now use a new
 
2299
  decorator, ``only_raises``.  This fixes many causes of
 
2300
  ``TooManyConcurrentRequests`` and similar errors.
 
2301
  (Andrew Bennetts, #429747)
 
2302
 
 
2303
Documentation
 
2304
*************
 
2305
 
 
2306
* Describe the new shell-like test feature. (Vincent Ladeuil)
 
2307
 
 
2308
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
2309
  currently supported. (Ian Clatworthy, #422415)
 
2310
 
 
2311
API Changes
 
2312
***********
 
2313
 
 
2314
* ``bzrlib.user_encoding`` has been removed; use
 
2315
  ``bzrlib.osutils.get_user_encoding`` instead.  (Martin Pool)
 
2316
 
 
2317
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
 
2318
  subclasses - the same as python's unittest module. (Robert Collins)
 
2319
  
 
2320
* ``diff._get_trees_to_diff`` has been renamed to 
 
2321
  ``diff.get_trees_and_branches_to_diff``. It is now a public API, and it 
 
2322
  returns the old and new branches. (Gary van der Merwe)
 
2323
 
 
2324
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
 
2325
  (Martin Pool)
 
2326
 
 
2327
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
 
2328
  now defaults to comparing to the basis tree. It now checks for pending
 
2329
  merges too.  ``Merger.check_basis`` has been deprecated and replaced by the
 
2330
  corresponding has_changes() calls. ``Merge.compare_basis``,
 
2331
  ``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
 
2332
  been deprecated.
 
2333
  (Vincent Ladeuil, #440631)
 
2334
 
 
2335
* ``ProgressTask.note`` is deprecated.
 
2336
  (Martin Pool)
 
2337
 
 
2338
Internals
 
2339
*********
 
2340
 
 
2341
* Added ``-Drelock`` debug flag.  It will ``note`` a message every time a
 
2342
  repository or branch object is unlocked then relocked the same way.
 
2343
  (Andrew Bennetts)
 
2344
  
 
2345
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
 
2346
  mallocs while parsing the index (approx 3=>1 mallocs per key read).
 
2347
  This results in a 10% speedup while reading an index.
 
2348
  (John Arbash Meinel)
 
2349
 
 
2350
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
 
2351
  profiling in some situations like callbacks and generators easier.
 
2352
  (Robert Collins)
 
2353
 
 
2354
Testing
 
2355
*******
 
2356
 
 
2357
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
 
2358
  be output for every test. Note that this is very verbose! (Robert Collins)
 
2359
 
 
2360
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
 
2361
  post_mortem to be triggered when a test failure occurs. (Robert Collins)
 
2362
 
 
2363
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
 
2364
  documentation in ``developers/testing.txt`` for details.
 
2365
  (Vincent Ladeuil)
 
2366
 
 
2367
* Some tests could end up with the same id, that was dormant for
 
2368
  a long time.
 
2369
  (Vincent Ladeuil, #442980)
 
2370
 
 
2371
* Stop showing the number of tests due to missing features in the test
 
2372
  progress bar.  (Martin Pool)
 
2373
 
 
2374
* Test parameterisation now does a shallow copy, not a deep copy of the test
 
2375
  to be parameterised. This is not expected to break external use of test
 
2376
  parameterisation, and is substantially faster. (Robert Collins)
 
2377
 
 
2378
* Tests that try to open a bzr dir on an arbitrary transport will now
 
2379
  fail unless they have explicitly permitted the transport via
 
2380
  ``self.permit_url``. The standard test factories such as ``self.get_url``
 
2381
  will permit the urls they provide automatically, so only exceptional
 
2382
  tests should need to do this. (Robert Collins)
 
2383
 
 
2384
* The break-in test no longer cares about clean shutdown of the child,
 
2385
  instead it is happy if the debugger starts up. (Robert  Collins)
 
2386
 
 
2387
* The full test suite is expected to pass when the C extensions are not
 
2388
  present. (Vincent Ladeuil, #430749)
 
2389
 
 
2390
 
 
2391
bzr 2.0.1
 
2392
#########
 
2393
 
 
2394
:Codename: Stability First
 
2395
:2.0.1: 2009-10-14
 
2396
 
 
2397
The first of our new ongoing bugfix-only stable releases has arrived. It
 
2398
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
 
2399
include any of the feature development in the 2.1.0 series.
 
2400
 
 
2401
 
 
2402
Bug Fixes
 
2403
*********
 
2404
 
 
2405
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
 
2406
  filename will issue a warning and skip over those files.
 
2407
  (Robert Collins, #3918)
 
2408
 
 
2409
* bzr will attempt to authenticate with SSH servers that support
 
2410
  ``keyboard-interactive`` auth but not ``password`` auth when using
 
2411
  Paramiko.   (Andrew Bennetts, #433846)
 
2412
 
 
2413
* Fixed fetches from a stacked branch on a smart server that were failing
 
2414
  with some combinations of remote and local formats.  This was causing
 
2415
  "unknown object type identifier 60" errors.  (Andrew Bennetts, #427736)
 
2416
 
 
2417
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
 
2418
  on branches via a smart server.  (Andrew Bennetts, #389413)
 
2419
 
 
2420
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
 
2421
  at the root of a drive. ``osutils._cicp_canonical_relpath`` always
 
2422
  assumed that ``abspath()`` returned a path that did not have a trailing
 
2423
  ``/``, but that is not true when working at the root of the filesystem.
 
2424
  (John Arbash Meinel, Jason Spashett, #322807)
 
2425
 
 
2426
* Hide deprecation warnings for 'final' releases for python2.6.
 
2427
  (John Arbash Meinel, #440062)
 
2428
 
 
2429
* Improve the time for ``bzr log DIR`` for 2a format repositories.
 
2430
  We had been using the same code path as for <2a formats, which required
 
2431
  iterating over all objects in all revisions.
 
2432
  (John Arbash Meinel, #374730)
 
2433
 
 
2434
* Make sure that we unlock the tree if we fail to create a TreeTransform
 
2435
  object when doing a merge, and there is limbo, or pending-deletions
 
2436
  directory.  (Gary van der Merwe, #427773)
 
2437
 
 
2438
* Occasional IndexError on renamed files have been fixed. Operations that
 
2439
  set a full inventory in the working tree will now go via the
 
2440
  apply_inventory_delta code path which is simpler and easier to
 
2441
  understand than dirstates set_state_from_inventory method. This may
 
2442
  have a small performance impact on operations built on _write_inventory,
 
2443
  but such operations are already doing full tree scans, so no radical
 
2444
  performance change should be observed. (Robert Collins, #403322)
 
2445
 
 
2446
* Retrieving file text or mtime from a _PreviewTree has good performance when
 
2447
  there are many changes.  (Aaron Bentley)
 
2448
 
 
2449
* The CHK index pages now use an unlimited cache size. With a limited
 
2450
  cache and a large project, the random access of chk pages could cause us
 
2451
  to download the entire cix file many times.
 
2452
  (John Arbash Meinel, #402623)
 
2453
 
 
2454
* When a file kind becomes unversionable after being added, a sensible
 
2455
  error will be shown instead of a traceback. (Robert Collins, #438569)
 
2456
 
 
2457
Documentation
 
2458
*************
 
2459
 
 
2460
* Improved README. (Ian Clatworthy)
 
2461
 
 
2462
* Improved upgrade documentation for Launchpad branches.
 
2463
  (Barry Warsaw)
 
2464
 
 
2465
 
 
2466
bzr 2.0.0
 
2467
#########
 
2468
 
 
2469
:2.0.0: 2009-09-22
 
2470
:Codename: Instant Karma
 
2471
 
 
2472
This release of Bazaar makes the 2a (previously 'brisbane-core') format
 
2473
the default when new branches or repositories are created.  This format is
 
2474
substantially smaller and faster for many operations.  Most of the work in
 
2475
this release focuses on bug fixes and stabilization, covering both 2a and
 
2476
previous formats.  (See the Upgrade Guide for information on migrating
 
2477
existing projects.)
 
2478
 
 
2479
This release also improves the documentation content and presentation,
 
2480
including adding Windows HtmlHelp manuals.
 
2481
 
 
2482
The Bazaar team decided that 2.0 will be a long-term supported release,
 
2483
with bugfix-only 2.0.x releases based on it, continuing for at least six
 
2484
months or until the following stable release.
 
2485
 
 
2486
Changes from 2.0.0rc2 to final
 
2487
******************************
 
2488
 
 
2489
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
 
2490
  that "want to happen on the 2.0.x stable series" versus things that want
 
2491
  to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
 
2492
  micro = 0.) (John Arbash Meinel)
 
2493
 
 
2494
 
 
2495
bzr 2.0.0rc2
 
2496
############
 
2497
 
 
2498
:2.0.0rc2: 2009-09-10
 
2499
 
 
2500
New Features
 
2501
************
 
2502
 
 
2503
* Added post_commit hook for mutable trees. This allows the keywords
 
2504
  plugin to expand keywords on files changed by the commit.
 
2505
  (Ian Clatworthy, #408841)
 
2506
 
 
2507
Bug Fixes
 
2508
*********
 
2509
 
 
2510
* Bazaar's native protocol code now correctly handles EINTR, which most
 
2511
  noticeably occurs if you break in to the debugger while connected to a
 
2512
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
2513
  'c') and the process continues.  However, note that pressing C-\ in the
 
2514
  shell may still kill the SSH process, which is bug 162509, so you must
 
2515
  sent a signal to the bzr process specifically, for example by typing
 
2516
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
2517
 
 
2518
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
 
2519
  longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
 
2520
  (Robert Collins, #416732)
 
2521
 
 
2522
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
 
2523
  format" (John Arbash Meinel, #424392)
 
2524
 
 
2525
* ``bzr log stacked-branch`` shows the full log including
 
2526
  revisions that are in the fallback repository. (Regressed in 2.0rc1).
 
2527
  (John Arbash Meinel, #419241)
 
2528
 
 
2529
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
2530
  traceback.  (Martin Pool, #109115)
 
2531
 
 
2532
* Conversion to 2a will create a single pack for all the new revisions (as
 
2533
  long as it ran without interruption). This improves both ``bzr upgrade``
 
2534
  and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
 
2535
  The autopack logic that occurs every 100 revisions during local
 
2536
  conversions was not returning that pack's identifier, which resulted in
 
2537
  the partial packs created during the conversion not being consolidated
 
2538
  at the end of the conversion process. (Robert Collins, #423818)
 
2539
 
 
2540
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
 
2541
  Groups that are seen as 'underutilized' will be repacked on-the-fly.
 
2542
  This means that when the source is fully packed, there is minimal
 
2543
  overhead during the fetch, but if the source is poorly packed the result
 
2544
  is a fairly well packed repository (not as good as 'bzr pack' but
 
2545
  good-enough.) (Robert Collins, John Arbash Meinel, #402652)
 
2546
 
 
2547
* Fix a potential segmentation fault when doing 'log' of a branch that had
 
2548
  ghosts in its mainline.  (Evaluating None as a tuple is bad.)
 
2549
  (John Arbash Meinel, #419241)
 
2550
 
 
2551
* ``groupcompress`` sort order is now more stable, rather than relying on
 
2552
  ``topo_sort`` ordering. The implementation is now
 
2553
  ``KnownGraph.gc_sort``. (John Arbash Meinel)
 
2554
 
 
2555
* Local data conversion will generate correct deltas. This is a critical
 
2556
  bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
 
2557
  converting repositories. (Robert Collins, #422849)
 
2558
 
 
2559
* Network streams now decode adjacent records of the same type into a
 
2560
  single stream, reducing layering churn. (Robert Collins)
 
2561
 
 
2562
* Prevent some kinds of incomplete data from being committed to a 2a
 
2563
  repository, such as revisions without inventories, a missing chk_bytes
 
2564
  record for an inventory, or a missing text referenced by an inventory.
 
2565
  (Andrew Bennetts, #423506, #406687)
 
2566
  
 
2567
Documentation
 
2568
*************
 
2569
 
 
2570
* Fix assertion error about "_remember_remote_is_before" when pushing to
 
2571
  older smart servers.
 
2572
  (Andrew Bennetts, #418931)
 
2573
 
 
2574
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
2575
  currently supported. (Ian Clatworthy, #422415)
 
2576
 
 
2577
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
 
2578
  user documentation. The HTML documentation is better broken up into
 
2579
  topics. (Ian Clatworthy)
 
2580
 
 
2581
* The developer and foreign language documents are now separated
 
2582
  out so that searching in the HTML and CHM files produces more
 
2583
  useful results. (Ian Clatworthy)
 
2584
 
 
2585
* The main table of contents now provides links to the new Migration Docs
 
2586
  and Plugins Guide. (Ian Clatworthy)
 
2587
 
 
2588
 
 
2589
bzr 2.0.0rc1
 
2590
############
 
2591
 
 
2592
:Codename: no worries
 
2593
:2.0.0rc1: 2009-08-26
 
2594
 
 
2595
Compatibility Breaks
 
2596
********************
 
2597
 
 
2598
* The default format for bzr is now ``2a``. This format brings many
 
2599
  significant performance and size improvements. bzr can pull from
 
2600
  any existing repository into a ``2a`` one, but can only transfer
 
2601
  from ``2a`` into ``rich-root`` repositories. The Upgrade guide
 
2602
  has more information about this change. (Robert Collins)
 
2603
 
 
2604
* On Windows auto-detection of Putty's plink.exe is disabled.
 
2605
  Default SSH client for Windows is paramiko. User still can force
 
2606
  usage of plink if explicitly set environment variable BZR_SSH=plink.
 
2607
  (#414743, Alexander Belchenko)
 
2608
 
 
2609
New Features
 
2610
************
 
2611
 
 
2612
* ``bzr branch --switch`` can now switch the checkout in the current directory
 
2613
  to the newly created branch. (Lukáš Lalinský)
 
2614
 
 
2615
Bug Fixes
 
2616
*********
 
2617
 
 
2618
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
2619
  (Jason Spashett, #76616)
 
2620
 
 
2621
* Fetches were being requested in 'groupcompress' order, but weren't
 
2622
  recombining the groups. Thus they would 'fragment' to get the correct
 
2623
  order, but not 'recombine' to actually benefit from it. Until we get
 
2624
  recombining to work, switching to 'unordered' fetches avoids the
 
2625
  fragmentation. (John Arbash Meinel, #402645)
 
2626
 
 
2627
* Fix a pycurl related test failure on karmic by recognizing an error
 
2628
  raised by newer versions of pycurl.
 
2629
  (Vincent Ladeuil, #306264)
 
2630
 
 
2631
* Fix a test failure on karmic by making a locale test more robust.
 
2632
  (Vincent Ladeuil, #413514)
 
2633
 
 
2634
* Fix IndexError printing CannotBindAddress errors.
 
2635
  (Martin Pool, #286871)
 
2636
 
 
2637
* Fix "Revision ... not present" errors when upgrading stacked branches,
 
2638
  or when doing fetches from a stacked source to a stacked target.
 
2639
  (Andrew Bennetts, #399140)
 
2640
 
 
2641
* ``bzr branch`` of 2a repositories over HTTP is much faster.  bzr now
 
2642
  batches together small fetches from 2a repositories, rather than
 
2643
  fetching only a few hundred bytes at a time.
 
2644
  (Andrew Bennetts, #402657)
 
2645
 
 
2646
Improvements
 
2647
************
 
2648
 
 
2649
* A better description of the platform is shown in crash tracebacks, ``bzr
 
2650
  --version`` and ``bzr selftest``.
 
2651
  (Martin Pool, #409137)
 
2652
 
 
2653
* bzr can now (again) capture crash data through the apport library, 
 
2654
  so that a single human-readable file can be attached to bug reports.
 
2655
  This can be disabled by using ``-Dno_apport`` on the command line, or by
 
2656
  putting ``no_apport`` into the ``debug_flags`` section of
 
2657
  ``bazaar.conf``.
 
2658
  (Martin Pool, Robert Collins, #389328)
 
2659
 
 
2660
* ``bzr push`` locally on windows will no longer give a locking error with
 
2661
  dirstate based formats. (Robert Collins)
 
2662
 
 
2663
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
 
2664
  (Robert Collins, #305006)
 
2665
 
 
2666
* Commit of specific files no longer prevents using the iter_changes
 
2667
  codepath. On 2a repositories, commit of specific files should now be as
 
2668
  fast, or slightly faster, than a full commit. (Robert Collins)
 
2669
 
 
2670
* The internal core code that handles specific file operations like
 
2671
  ``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
 
2672
  include the parent directories if they have altered, and when a
 
2673
  directory stops being a directory its children are always included. This
 
2674
  fixes a number of causes for ``InconsistentDelta`` errors, and permits
 
2675
  faster commit of specific paths. (Robert Collins, #347649)
 
2676
 
 
2677
Documentation
 
2678
*************
 
2679
 
 
2680
* New developer documentation for content filtering.
 
2681
  (Martin Pool)
 
2682
 
 
2683
API Changes
 
2684
***********
 
2685
 
 
2686
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
2687
  classes changed to manage lock lifetime of the trees they open in a way
 
2688
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
2689
 
 
2690
Testing
 
2691
*******
 
2692
 
 
2693
bzr 1.18.1
 
2694
##########
 
2695
 
 
2696
:Codename:     nein nein nein!
 
2697
:1.18.1:       2009-09-09
 
2698
 
 
2699
This release fixes two small but worthwhile bugs relevant to users on
 
2700
Microsoft Windows: some commands that failed on with locking errors will
 
2701
now work, and a bug that caused poor performance after committing a file
 
2702
with line-ending conversion has now been fixed.  It also fixes a bug in
 
2703
pushing to older servers.
 
2704
 
 
2705
Bug Fixes
 
2706
*********
 
2707
 
 
2708
* Fixed a problem where using content filtering and especially end-of-line
 
2709
  conversion will commit too many copies a file.
 
2710
  (Martin Pool, #415508)
 
2711
 
 
2712
* Fix assertion error about ``_remember_remote_is_before`` in
 
2713
  ``set_tags_bytes`` when pushing to older smart servers.  
 
2714
  (Andrew Bennetts, Alexander Belchenko, #418931)
 
2715
 
 
2716
Improvements
 
2717
************
 
2718
 
 
2719
* ``bzr push`` locally on Windows will no longer give a locking error with
 
2720
  dirstate based formats. (Robert Collins)
 
2721
 
 
2722
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
 
2723
  (Robert Collins, #305006)
 
2724
 
 
2725
API Changes
 
2726
***********
 
2727
 
 
2728
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
2729
  classes changed to manage lock lifetime of the trees they open in a way
 
2730
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
2731
 
 
2732
* ``Tree.path_content_summary`` may return a size of None, when called on
 
2733
  a tree with content filtering where the size of the canonical form
 
2734
  cannot be cheaply determined.  (Martin Pool)
 
2735
 
 
2736
* When manually creating transport servers in test cases, a new helper
 
2737
  ``TestCase.start_server`` that registers a cleanup and starts the server
 
2738
  should be used. (Robert Collins)
 
2739
 
 
2740
bzr 1.18
 
2741
########
 
2742
 
 
2743
Compatibility Breaks
 
2744
********************
 
2745
 
 
2746
* Committing directly to a stacked branch from a lightweight checkout will
 
2747
  no longer work. In previous versions this would appear to work but would
 
2748
  generate repositories with insufficient data to create deltas, leading
 
2749
  to later errors when branching or reading from the repository.
 
2750
  (Robert Collins, bug #375013)
 
2751
 
 
2752
New Features
 
2753
************
 
2754
 
 
2755
Bug Fixes
 
2756
*********
 
2757
 
 
2758
* Fetching from 2a branches from a version-2 bzr protocol would fail to
 
2759
  copy the internal inventory pages from the CHK store. This cannot happen
 
2760
  in normal use as all 2a compatible clients and servers support the
 
2761
  version-3 protocol, but it does cause test suite failures when testing
 
2762
  downlevel protocol behaviour. (Robert Collins)
 
2763
 
 
2764
* Fix a test failure on karmic by making a locale test more robust.
 
2765
  (Vincent Ladeuil, #413514)
 
2766
 
 
2767
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
 
2768
  fully packed 2a repository.  (Andrew Bennetts, #382463)
 
2769
 
 
2770
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
2771
  (Jason Spashett, #76616)
 
2772
 
 
2773
* Properly handle fetching into a stacked branch while converting the
 
2774
  data, especially when there are also ghosts. The code was filling in
 
2775
  parent inventories incorrectly, and also not handling when one of the
 
2776
  parents was a ghost. (John Arbash Meinel, #402778, #412198)
 
2777
 
 
2778
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
 
2779
  inventory pages when appropriate (by falling back to the vfs stream
 
2780
  source).  (Andrew Bennetts, #406686)
 
2781
 
 
2782
* StreamSource generates rich roots from non-rich root sources correctly
 
2783
  now.  (Andrew Bennetts, #368921)
 
2784
 
 
2785
* When deciding whether a repository was compatible for upgrading or
 
2786
  fetching, we previously incorrectly checked the default repository
 
2787
  format for the bzrdir format, rather than the format that was actually
 
2788
  present on disk.  (Martin Pool, #408824)
 
2789
 
 
2790
Improvements
 
2791
************
 
2792
 
 
2793
* A better description of the platform is shown in crash tracebacks, ``bzr
 
2794
  --version`` and ``bzr selftest``.
 
2795
  (Martin Pool, #409137)
 
2796
 
 
2797
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
 
2798
  smart server are more efficient now.  They send inventory deltas rather
 
2799
  than full inventories.  The smart server has two new requests,
 
2800
  ``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
 
2801
  support this.  (Andrew Bennetts, #374738, #385826)
 
2802
 
 
2803
* Extracting the full ancestry and computing the ``merge_sort`` is now
 
2804
  significantly faster. This effects things like ``bzr log -n0``. (For
 
2805
  example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
 
2806
  (John Arbash Meinel)
 
2807
 
 
2808
Documentation
 
2809
*************
 
2810
 
 
2811
API Changes
 
2812
***********
 
2813
 
 
2814
Internals
 
2815
*********
 
2816
 
 
2817
* ``-Dstrict_locks`` can now be used to check that read and write locks
 
2818
  are treated properly w.r.t. exclusivity. (We don't try to take an OS
 
2819
  read lock on a file that we already have an OS write lock on.) This is
 
2820
  now set by default for all tests, if you have a test which cannot be
 
2821
  fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
 
2822
  compatibility knob. (John Arbash Meinel)
 
2823
 
 
2824
* InterDifferingSerializer is now only used locally.  Other fetches that
 
2825
  would have used InterDifferingSerializer now use the more network
 
2826
  friendly StreamSource, which now automatically does the same
 
2827
  transformations as InterDifferingSerializer.  (Andrew Bennetts)
 
2828
 
 
2829
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
 
2830
  are implemented in pyrex and significantly faster. This is exposed along
 
2831
  with ``CombinedGraphIndex.find_ancestry()`` as
 
2832
  ``VersionedFiles.get_known_graph_ancestry(keys)``.
 
2833
  (John Arbash Meinel)
 
2834
 
 
2835
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
 
2836
  protocols. (Robert Collins)
 
2837
 
 
2838
* The index code now has some specialized routines to extract the full
 
2839
  ancestry of a key in a more efficient manner.
 
2840
  ``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
 
2841
  bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
 
2842
  Arbash Meinel)
 
2843
 
 
2844
Testing
 
2845
*******
 
2846
 
 
2847
* Install the test ssl certificate and key so that installed bzr
 
2848
  can run the https tests. (Denys Duchier, #392401)
 
2849
  
 
2850
 
 
2851
bzr 1.18rc1
 
2852
###########
 
2853
 
 
2854
:Codename: little traveller
 
2855
:1.18:    2009-08-20
 
2856
:1.18rc1: 2009-08-10
 
2857
 
 
2858
This release of Bazaar marches on towards the 2.0 release in which the 2a
 
2859
'brisbane-core' format becomes generally recommended.  Most of the work in
 
2860
this release now focusses on bug fixes and stabilization, covering both 2a
 
2861
and previous formats.  There is a new text-mode interactive merge feature,
 
2862
a new guide to migration to 2a format in the user documentation, and
 
2863
pushing branches to a smart server is now much faster.  
 
2864
 
 
2865
The Bazaar team decided that 2.0 will be a long-term supported release,
 
2866
with bugfix-only releases based on it continuing for at least six months
 
2867
or until the following stable release.
 
2868
 
 
2869
There are no changes from 1.18rc1 to 1.18.
 
2870
 
 
2871
New Features
 
2872
************
 
2873
 
 
2874
* ``bzr merge --interactive`` applies a user-selected portion of the
 
2875
  merge.  The UI is similar to ``shelve``.  (Aaron Bentley)
 
2876
 
 
2877
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
 
2878
  ``--unstacked`` to change stacking of a branch.
 
2879
  (Martin Pool, #391411)
 
2880
 
 
2881
Bug Fixes
 
2882
*********
 
2883
 
 
2884
* Annotating on a stacked branch will now succeed in simple scenarios.
 
2885
  There are still some complex scenarios where it will fail (bug #399884)
 
2886
  (John Arbash Meinel, #393366)
 
2887
 
 
2888
* A progress bar is no longer left dangling when ``bzr selftest``
 
2889
  completes, and the progress bar updates with zero latency so the
 
2890
  displayed test name is always the one that's actually running.
 
2891
  (Martin Pool, #123688)
 
2892
 
 
2893
* Authenticating against an ssh server now uses ``auth_none`` to determine
 
2894
  if password authentication is even supported. This fixes a bug where
 
2895
  users would be prompted for a launchpad password, even though launchpad
 
2896
  only supports publickey authentication. (John Arbash Meinel, #375867)
 
2897
 
 
2898
* BranchBuilder now accepts timezone to avoid test failures in countries far
 
2899
  from GMT. (Vincent Ladeuil, #397716)
 
2900
 
 
2901
* ``bzr commit`` no longer saves the unversioning of missing files until
 
2902
  the commit has completed on the branch. This means that aborting a
 
2903
  commit that found a missing file will leave the tree unedited.
 
2904
  (Robert Collins, #282402)
 
2905
 
 
2906
* ``bzr mv`` no longer takes out branch locks, which allows it to work
 
2907
  when the branch is readonly. (Robert Collins, #216541)
 
2908
 
 
2909
* ``bzr revert .`` no longer generates an InconsistentDelta error when
 
2910
  there are missing subtrees. (Robert Collins, #367632)
 
2911
 
 
2912
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
 
2913
  do to internal changes necessary to support this, older clients will
 
2914
  fail when trying to insert them. For newer clients, the bundle can be
 
2915
  used to apply the changes to any rich-root compatible format.
 
2916
  (John Arbash Meinel, #393349)
 
2917
 
 
2918
* Cope with FTP servers that don't support restart/append by falling back
 
2919
  to reading and then rewriting the whole file, such as TahoeLAFS.  (This
 
2920
  fallback may be slow for some access patterns.)  (Nils Durner, #294709)
 
2921
 
 
2922
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
 
2923
  external diff client. This at least allows supporting filenames that are
 
2924
  not ascii, but are present in the current locale. Ideally we would be
 
2925
  able to pass the Unicode path, but that would be client dependent.
 
2926
  (John Arbash Meinel, #382709)
 
2927
 
 
2928
* Fix a compile bug on Solaris having to do with const and
 
2929
  pointer-to-pointers. (John Arbash Meinel, #408441)
 
2930
 
 
2931
* Fixed a NameError that occurs when merging or pulling from a URL that
 
2932
  causes a redirection loop when bzr tries to read a URL as a bundle.
 
2933
  (Andrew Bennetts, #400847)
 
2934
 
 
2935
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
 
2936
  running send and similar commands on 2a formats.
 
2937
  (Martin Pool, #408201)
 
2938
  
 
2939
* Fix crash in some invocations of ``bzr status`` in format 2a.
 
2940
  (Martin Pool, #403523)
 
2941
 
 
2942
* Fixed export to existing directory: if directory is empty then export 
 
2943
  will succeed, otherwise it fails with error.
 
2944
  (Alexander Belchenko, #406174)
 
2945
 
 
2946
* Fixed spurious "Source branch does not support stacking" warning when
 
2947
  pushing. (Andrew Bennetts, #388908)
 
2948
 
 
2949
* Fixed spurious transport activity indicator appearing while tests are
 
2950
  running.  (Martin Pool, #343532)
 
2951
 
 
2952
* Merge now correctly handles empty right-hand revision specs.
 
2953
  (Aaron Bentley, #333961)
 
2954
 
 
2955
* Renames to lexographically lower basenames in trees that have never been
 
2956
  committed to will no longer corrupt the dirstate. This was caused by an
 
2957
  bug in the dirstate update_minimal method. (Robert Collins, #395556)
 
2958
 
 
2959
* Requests for unknown methods no longer cause the smart server to log
 
2960
  lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
 
2961
  ``do_end``.  (Andrew Bennetts, #338561)
 
2962
 
 
2963
* Shelve will not shelve the initial add of the tree root.  (Aaron Bentley)
 
2964
 
 
2965
* Streaming from bzr servers where there is a chain of stacked branches
 
2966
  (A stacked on B stacked on C) will now work. (Robert Collins, #406597)
 
2967
 
 
2968
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
 
2969
  always forces progress bars either on or off respectively.  Otherwise,
 
2970
  they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
 
2971
  bzr always uses the 'text' user interface when run as a command, so
 
2972
  ``BZR_USE_TEXT_UI`` is no longer needed.
 
2973
  (Martin Pool, #339385, #387717)
 
2974
 
 
2975
* The optional ``_knit_load_data_pyx`` C extension was never being
 
2976
  imported.  This caused significant slowdowns when reading data from
 
2977
  repositories.  (Andrew Bennetts, #405653)
 
2978
  
 
2979
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
 
2980
  supported at the moment on workingtree formats that can do content
 
2981
  filtering.  (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
 
2982
  bzr now says so, rather than just ignoring the option.  (Martin Pool)
 
2983
 
 
2984
* There was a bug in ``osutils.relpath`` that was only triggered on
 
2985
  Windows. Essentially if you were at the root of a drive, and did
 
2986
  something to a branch/repo on another drive, we would go into an
 
2987
  infinite loop while trying to find a 'relative path'.
 
2988
  (John Arbash Meinel, #394227)
 
2989
 
 
2990
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
 
2991
  were present in a parent tree but renamed in the working tree.
 
2992
  (Robert Collins, #187207)
 
2993
 
 
2994
Improvements
 
2995
************
 
2996
 
 
2997
* Can now rename/move files even if they have been removed from the inventory.
 
2998
  (Marius Kruger)
 
2999
 
 
3000
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
 
3001
  faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
 
3002
  than VFS methods.  For example, pushes of small branches with tags take
 
3003
  11 rather than 18 smart server requests.  (Andrew Bennetts, #398608)
 
3004
 
 
3005
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
 
3006
  the same way that sending Ctrl-\\ does on other platforms.
 
3007
  (John Arbash Meinel)
 
3008
 
 
3009
Documentation
 
3010
*************
 
3011
 
 
3012
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
 
3013
 
 
3014
API Changes
 
3015
***********
 
3016
 
 
3017
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
 
3018
  need to subclass or create a specific class, or better yet the existing
 
3019
  ``make_ui_for_terminal``.  ``SilentUIFactory`` is clarified to do no
 
3020
  user interaction at all, rather than trying to read from stdin but not
 
3021
  writing any output, which would be strange if reading prompts or
 
3022
  passwords.  (Martin Pool)
 
3023
 
 
3024
* New TransformPreview.commit() allows committing without a working tree.
 
3025
  (Aaron Bentley)
 
3026
 
 
3027
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
 
3028
  (Martin Pool)
 
3029
 
 
3030
* ProgressTasks now prefer to talk direct to their ProgressView not to the
 
3031
  UIFactory. 
 
3032
  (Martin Pool)
 
3033
 
 
3034
* ``WorkingTree._check`` now requires a references dict with keys matching
 
3035
  those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
 
3036
 
 
3037
Internals
 
3038
*********
 
3039
 
 
3040
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
 
3041
  reading the entries along the path, reducing work to lookup ids from
 
3042
  paths. (Robert Collins)
 
3043
 
 
3044
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
 
3045
  as new a key which was already mapped. (Robert Collins)
 
3046
 
 
3047
* Inventory delta application catches more cases of corruption and can
 
3048
  prevent corrupt deltas from affecting consistency of data structures on
 
3049
  disk. (Robert Collins)
 
3050
 
 
3051
* --subunit support now adds timestamps if the subunit version supports
 
3052
  it. (Robert Collins)
 
3053
 
 
3054
* The Windows all-in-one installer now bundles the PyQt image format
 
3055
  plugins, which allows previewing more images as part of 'qdiff'.
 
3056
  (Alexander Belchenko)
 
3057
 
 
3058
 
 
3059
Testing
 
3060
*******
 
3061
 
 
3062
* Merge directive cherrypick tests must use the same root id.
 
3063
  (Martin Pool, #409684)
 
3064
 
 
3065
* Spurious failure in ``check`` tests on rich-root formats fixed.
 
3066
  (Martin Pool, #408199)
 
3067
 
 
3068
* The ``bzrlib.tests.TextTestRunner`` will no longer call
 
3069
  ``countTestsCases`` on the test being run. Progress information is
 
3070
  instead handled by having the test passed in call ``result.progress``
 
3071
  before running its contents. This improves the behaviour when using
 
3072
  ``TextTestRunner`` with test suites that don't support
 
3073
  ``countTestsCases``. (Robert Collins)
 
3074
 
 
3075
 
 
3076
bzr 1.17.1 (unreleased)
 
3077
#######################
 
3078
 
 
3079
Bug Fixes
 
3080
*********
 
3081
 
 
3082
* The optional ``_knit_load_data_pyx`` C extension was never being
 
3083
  imported.  This caused significant slowdowns when reading data from
 
3084
  knit format repositories.  (Andrew Bennetts, #405653)
 
3085
  
 
3086
 
 
3087
bzr 1.17
 
3088
########
 
3089
:Codename: so-late-its-brunch
 
3090
:1.17rc1: 2009-07-13
 
3091
:1.17: 2009-07-20
 
3092
 
 
3093
 
 
3094
Bazaar continues to blaze a straight and shining path to the 2.0 release and
 
3095
the elevation of the ``2a`` beta format to the full glory of "supported and
 
3096
stable".
 
3097
 
 
3098
Highlights in this release include greatly reduced memory consumption during
 
3099
commits, faster ``ls``, faster ``annotate``, faster network operations if
 
3100
you're specifying a revision number and the final destruction of those
 
3101
annoying progress bar artifacts.
 
3102
 
 
3103
 
 
3104
Changes from 1.17rc1 to 1.17final
 
3105
*********************************
 
3106
 
 
3107
* Change an extension to call the python ``frozenset()`` rather than the C
 
3108
  api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
 
3109
  C api. (John Arbash Meinel, #399366)
 
3110
 
 
3111
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
 
3112
  ``tools/generate_docs.py`` to allow everything to be built on Windows.
 
3113
  (John Arbash Meinel, #399356)
 
3114
 
 
3115
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
 
3116
  directory before serving it. (Andrew Bennetts, #400535)
 
3117
 
 
3118
 
 
3119
Compatibility Breaks
 
3120
********************
 
3121
 
 
3122
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
 
3123
  instead of "product" which is the correct Launchpad terminology.  The
 
3124
  --product option is deprecated and users should switch to using --project.
 
3125
  (Neil Martinsen-Burrell, #238764)
 
3126
 
 
3127
 
 
3128
New Features
 
3129
************
 
3130
 
 
3131
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
 
3132
  are present in the working tree (if one is present) and no revision is
 
3133
  specified. The configuration option ``push_strict`` can be used to set the
 
3134
  default for this behavior.  (Vincent Ladeuil, #284038, #322808, #65286)
 
3135
 
 
3136
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
 
3137
  show revision info for the working tree instead of the branch.
 
3138
  (Matthew Fuller, John Arbash Meinel)
 
3139
 
 
3140
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
 
3141
  are present in the working tree and no revision is specified. The
 
3142
  configuration option ``send_strict`` can be used to set the default for this
 
3143
  behavior.
 
3144
  (Vincent Ladeuil, #206577)
 
3145
 
 
3146
* ``bzr switch --create-branch/-b`` can now be used to create and switch
 
3147
  to a new branch. Supplying a name without a ``/`` will create the branch
 
3148
  relative to the existing branch. (similar to how ``bzr switch name``
 
3149
  works when the branch already exists.) (John Arbash Meinel)
 
3150
 
 
3151
 
 
3152
Bug Fixes
 
3153
*********
 
3154
 
 
3155
* Accept uppercase "Y/N" to prompts such as from break lock. 
 
3156
  (#335182, Tim Powell, Martin Pool)
 
3157
 
 
3158
* Add documentation about diverged branches and how to fix them in the
 
3159
  centralized workflow with local commits.  Mention ``bzr help
 
3160
  diverged-branches`` when a push fails because the branches have
 
3161
  diverged.  (Neil Martinsen-Burrell, #269477)
 
3162
 
 
3163
* Annotate would sometimes 'latch on' to trivial lines, causing important
 
3164
  lines to be incorrectly annotated. (John Arbash Meinel, #387952)
 
3165
 
 
3166
* Automatic format upgrades triggered by default stacking policies on a
 
3167
  1.16rc1 (or later) smart server work again.
 
3168
  (Andrew Bennetts, #388675)
 
3169
 
 
3170
* Avoid progress bar artifacts being left behind on the screen.
 
3171
  (Martin Pool, #321935)
 
3172
 
 
3173
* Better message in ``bzr split`` error suggesting a rich root format.
 
3174
  (Neil Martinsen-Burrell, #220067)
 
3175
 
 
3176
* ``Branch.set_append_revisions_only`` now works with branches on a smart
 
3177
  server. (Andrew Bennetts, #365865)
 
3178
 
 
3179
* By default, ``bzr branch`` will fail if the target directory exists, but
 
3180
  does not already have a control directory.  The flag ``--use-existing-dir``
 
3181
  will allow operation to proceed.  (Alexander Belchenko, #307554)
 
3182
 
 
3183
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
 
3184
  (Ian Clatworthy)
 
3185
 
 
3186
* Fetch between repositories does not error if they have inconsistent data
 
3187
  that should be irrelevant to the fetch operation. (Aaron Bentley)
 
3188
 
 
3189
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout 
 
3190
  of a remote repository.
 
3191
  (Jelmer Vernooij, #332194)
 
3192
 
 
3193
* Fix bug in decoding v3 smart server messages when receiving multiple
 
3194
  lots of excess bytes after an end-of-message.
 
3195
  (Andrew Bennetts)
 
3196
 
 
3197
* Force deletion of readonly files during merge, update and other tree
 
3198
  transforms.
 
3199
  (Craig Hewetson, Martin Pool, #218206)
 
3200
 
 
3201
* Force socket shutdown in threaded http test servers to avoid client hangs
 
3202
  (pycurl).  (Vincent Ladeuil, #383920).
 
3203
 
 
3204
* ``LRUCache`` will maintain the linked list pointers even if a nodes
 
3205
  cleanup function raises an exception. (John Arbash Meinel, #396838)
 
3206
 
 
3207
* Progress bars are now suppressed again when the environment variable
 
3208
  ``BZR_PROGRESS_BAR`` is set to ``none``.
 
3209
  (Martin Pool, #339385)
 
3210
 
 
3211
* Reduced memory consumption during ``bzr commit`` of large files. For
 
3212
  pre 2a formats, should be down to ~3x the size of a file.
 
3213
  For ``--2a`` format repositories, it is down to the size of the file
 
3214
  content plus the size of the compressed text.  Related to bug #109114.
 
3215
  (John Arbash Meinel)
 
3216
 
 
3217
* Set hidden attribute on .bzr directory below unicode path should never
 
3218
  fail with error. The operation should succeed even if bzr unable to set 
 
3219
  the attribute.  (Alexander Belchenko, related to bug #335362).
 
3220
  
 
3221
* Stacking will no longer accept requests to stack on the same
 
3222
  branch/repository. Existing branches that incorrectly reference the same
 
3223
  repository in a stacking configuration will now raise
 
3224
  UnstackableLocationError when the branch is opened. This can be fixed by
 
3225
  removing the stacking location inside ``.bzr/branch``.
 
3226
  (Robert Collins, #376243)
 
3227
 
 
3228
* The ``log+`` decorator, useful in debugging or profiling, could cause
 
3229
  "AttributeError: 'list' object has no attribute 'next'".  This is now
 
3230
  fixed.  The log decorator no longer shows the elapsed time or transfer
 
3231
  rate because they're available in the log prefixes and the transport
 
3232
  activity display respectively.
 
3233
  (Martin Pool, #340347)
 
3234
 
 
3235
* Unshelve works correctly when multiple zero-length files are present on
 
3236
  the shelf. (Aaron Bentley, #363444)
 
3237
 
 
3238
* Progress bars no longer show the network transport scheme or direction.
 
3239
  (Martin Pool)
 
3240
 
 
3241
* launchpad-login now respects the 'verbose' option.
 
3242
  (Jonathan Lange, #217031)
 
3243
 
 
3244
 
 
3245
Internals
 
3246
*********
 
3247
 
 
3248
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
 
3249
  possible to write a deprecation wrapper, but the variable will be
 
3250
  removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
 
3251
  instead. (Alexander Belchenko)
 
3252
 
 
3253
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
 
3254
  three new hook points: ``get_command``, ``get_missing_command`` and
 
3255
  ``list_commands``, which allow just-in-time command name provision
 
3256
  rather than requiring all command names be known a-priori.
 
3257
  (Robert Collins)
 
3258
 
 
3259
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
 
3260
  and can read path to wordpad.exe. (Alexander Belchenko, #392046)
 
3261
 
 
3262
* ``graph.KnownGraph`` has been added. This is a class that can give
 
3263
  answers to ``heads()`` very quickly. However, it has the assumption that
 
3264
  the whole graph has already been loaded. This is true during
 
3265
  ``annotate`` so it is used there with good success (as much as 2x faster
 
3266
  for files with long ancestry and 'cherrypicked' changes.)
 
3267
  (John Arbash Meinel, Vincent Ladeuil)
 
3268
 
 
3269
* OS file locks are now taken out using ``CreateFile`` rather than
 
3270
  ``LockFileEx`` on Windows. The locking remains exclusive with
 
3271
  ``LockFileEx`` but now it also works on older versions of Windows (such
 
3272
  as Win98). (Martin <gzlist>)
 
3273
 
 
3274
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
 
3275
  than the ``Packer`` code. The user visible change is that we now
 
3276
  properly fetch the minimum number of texts for non-smart fetching.
 
3277
  (John Arbash Meinel)
 
3278
 
 
3279
 
 
3280
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
 
3281
  the repository as a single string, rather than a list of lines. This can
 
3282
  improve memory overhead and performance of committing large files.
 
3283
  (Currently a private api, used only by commit). (John Arbash Meinel)
 
3284
 
 
3285
 
 
3286
Improvements
 
3287
************
 
3288
 
 
3289
* ``bzr annotate`` can now be significantly faster. The time for
 
3290
  ``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
 
3291
  histories and lots of 'duplicate insertions' will be improved more than
 
3292
  others. (John Arbash Meinel, Vincent Ladeuil)
 
3293
 
 
3294
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
 
3295
  to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
 
3296
  substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
 
3297
 
 
3298
* Improve "Path(s) are not versioned" error reporting for some commands.
 
3299
  (Benoît PIERRE)
 
3300
 
 
3301
* Initial commit performance in ``--2a`` repositories has been improved by
 
3302
  making it cheaper to build the initial CHKMap. (John Arbash Meinel)
 
3303
 
 
3304
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
 
3305
  or ``bzr+ssh://`` is now much faster and involves no VFS operations.
 
3306
  This speeds up commands like ``bzr pull -r 123``.  (Andrew Bennetts)
 
3307
 
 
3308
* ``revision-info`` now properly aligns the revnos/revids in the output
 
3309
  and doesn't traceback when given revisions not in the current branch.
 
3310
  Performance is also significantly improved when requesting multiple revs
 
3311
  at once.  (Matthew Fuller, John Arbash Meinel)
 
3312
 
 
3313
* Tildes are no longer escaped by Transports. (Andy Kilner)
 
3314
 
 
3315
 
 
3316
Documentation
 
3317
*************
 
3318
 
 
3319
* Avoid bad text wrapping in generated documentation.  Slightly better
 
3320
  formatting in the user reference.
 
3321
  (Martin Pool, #249908)
 
3322
 
 
3323
* Minor clarifications to the help for End-Of-Line conversions.
 
3324
  (Ian Clatworthy)
 
3325
 
 
3326
API Changes
 
3327
***********
 
3328
 
 
3329
* Removed overspecific error class ``InvalidProgressBarType``.
 
3330
  (Martin Pool)
 
3331
 
 
3332
* The method ``ProgressView._show_transport_activity`` is now
 
3333
  ``show_transport_activity`` because it's part of the contract between
 
3334
  this class and the UI.  (Martin Pool)
 
3335
 
 
3336
 
 
3337
bzr 1.16.1
 
3338
##########
 
3339
 
 
3340
:Released: 2009-06-26
 
3341
 
 
3342
End user testing of the 2a format revealed two serious bugs. The first,
 
3343
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
 
3344
This meant that commits or pushes to 2a-format repositories failed
 
3345
intermittently.
 
3346
 
 
3347
The second bug, #390563, caused the smart server to raise AbsentContentFactory
 
3348
when streaming 2a stacked 2a-format branches. This particularly affected
 
3349
branches stored on Launchpad in the 2a format.
 
3350
 
 
3351
Both of these bugs cause command failures only, neither of them cause data
 
3352
corruption or data loss. And, of course, both of these bugs are now fixed.
 
3353
 
 
3354
Bug Fixes
 
3355
*********
 
3356
 
 
3357
* We now properly request a more minimal set of file texts when fetching
 
3358
  multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
 
3359
 
 
3360
* Repositories using CHK pages (which includes the new 2a format) will no
 
3361
  longer error during commit or push operations when an autopack operation
 
3362
  is triggered. (Robert Collins, #365615)
 
3363
 
 
3364
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
 
3365
  of referenced nodes rather than the *union* to determine what
 
3366
  uninteresting pages we still need to look at. Prior to this,
 
3367
  incrementally pushing to stacked branch would push the minimal data, but
 
3368
  fetching everything would request extra texts. There are some unhandled
 
3369
  cases wrt trees of different depths, but this fixes the common cases.
 
3370
  (Robert Collins, John Arbash Meinel, #390563)
 
3371
 
 
3372
* ``GroupCompress`` repositories now take advantage of the pack hints
 
3373
  parameter to permit cross-format fetching to incrementally pack the
 
3374
  converted data. (Robert Collins)
 
3375
 
 
3376
* ``Repository.commit_write_group`` now returns opaque data about what
 
3377
  was committed, for passing to the ``Repository.pack``. Repositories
 
3378
  without atomic commits will still return None. (Robert Collins)
 
3379
 
 
3380
* ``Repository.pack`` now takes an optional ``hint`` parameter
 
3381
  which will support doing partial packs for repositories that can do
 
3382
  that. (Robert Collins)
 
3383
 
 
3384
* RepositoryFormat has a new attribute 'pack_compresses' which is True
 
3385
  when doing a pack operation changes the compression of content in the
 
3386
  repository. (Robert Collins)
 
3387
 
 
3388
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
 
3389
  ``Repository.pack`` with the hint returned by
 
3390
  ``Repository.commit_write_group`` if the formats were different and the
 
3391
  repository can increase compression by doing a pack operation.
 
3392
  (Robert Collins, #376748)
 
3393
 
 
3394
 
 
3395
bzr 1.16
 
3396
########
 
3397
:Codename: yesterday-in-california
 
3398
:1.16rc1: 2009-06-11
 
3399
:1.16: 2009-06-18
 
3400
 
 
3401
This version of Bazaar contains the beta release of the new ``2a`` repository
 
3402
format, suitable for testing by fearless, advanced users. This format or an
 
3403
updated version of it will become the default format in Bazaar 2.0. Please
 
3404
read the NEWS entry before even thinking about upgrading to the new format.
 
3405
 
 
3406
Also included are speedups for many operations on huge projects, a bug fix for
 
3407
pushing stacked new stacked branches to smart servers and the usual bevy of
 
3408
bug fixes and improvements.
 
3409
 
 
3410
 
 
3411
Changes from 1.16rc1 to 1.16final
 
3412
*********************************
 
3413
 
 
3414
* Fix the nested tree flag check so that upgrade from development formats to
 
3415
  2a can work correctly.
 
3416
  (Jelmer Vernooij, #388727)
 
3417
 
 
3418
* Automatic format upgrades triggered by default stacking policies on a
 
3419
  1.16rc1 (or later) smart server work again.
 
3420
  (Andrew Bennetts, #388675)
 
3421
 
 
3422
 
 
3423
Compatibility Breaks
 
3424
********************
 
3425
 
 
3426
* Display prompt on stderr (instead of stdout) when querying users so
 
3427
  that the output of commands can be safely redirected.
 
3428
  (Vincent Ladeuil, #376582)
 
3429
 
 
3430
 
 
3431
New Features
 
3432
************
 
3433
 
 
3434
* A new repository format ``2a`` has been added.  This is a beta release
 
3435
  of the brisbane-core (aka group-compress) project.  This format now
 
3436
  suitable for wider testing by advanced users willing to deal with some
 
3437
  bugs.  We would appreciate test reports, either positive or negative.
 
3438
  Format 2a is substantially smaller and faster for many operations on
 
3439
  many trees.  This format or an updated version will become the default
 
3440
  in bzr 2.0.
 
3441
 
 
3442
  This is a rich-root format, so this repository format can be used with
 
3443
  bzr-svn.  Bazaar branches in previous non-rich-root formats can be
 
3444
  converted (including by merge, push and pull) to format 2a, but not vice
 
3445
  versa.  We recommend upgrading previous development formats to 2a.
 
3446
 
 
3447
  Upgrading to this format can take considerable time because it expands
 
3448
  and more concisely repacks the full history.
 
3449
 
 
3450
  If you use stacked branches, you must upgrade the stacked branches
 
3451
  before the stacked-on branches.  (See <https://bugs.launchpad.net/bugs/374735>)
 
3452
 
 
3453
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
 
3454
  but using a Revision serializer using bencode rather than XML.
 
3455
  (Jelmer Vernooij, John Arbash Meinel)
 
3456
 
 
3457
* mail_client=claws now supports --body (and message body hooks).  Also uses
 
3458
  configured from address.  (Barry Warsaw)
 
3459
 
 
3460
Improvements
 
3461
************
 
3462
 
 
3463
 
 
3464
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
 
3465
  bugs with stacking and non default formats.)
 
3466
  (John Arbash Meinel, #373455)
 
3467
 
 
3468
* ``--development6-rich-root`` delays generating a delta index for the
 
3469
  first object inserted into a group. This has a beneficial impact on
 
3470
  ``bzr commit`` since each committed texts goes to its own group. For
 
3471
  committing a 90MB file, it drops peak memory by about 200MB, and speeds
 
3472
  up commit from 7s => 4s. (John Arbash Meinel)
 
3473
 
 
3474
* Numerous operations are now faster for huge projects, i.e. those
 
3475
  with a large number of files and/or a large number of revisions,
 
3476
  particularly when the latest development format is used. These
 
3477
  operations (and improvements on OpenOffice.org) include:
 
3478
 
 
3479
  * branch in a shared repository (2X faster)
 
3480
  * branch --no-tree (100X faster)
 
3481
  * diff (2X faster)
 
3482
  * tags (70X faster)
 
3483
 
 
3484
  (Ian Clatworthy)
 
3485
 
 
3486
* Pyrex version of ``bencode`` support. This provides optimized support
 
3487
  for both encoding and decoding, and is now found at ``bzrlib.bencode``.
 
3488
  ``bzrlib.utils.bencode`` is now deprecated.
 
3489
  (Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
 
3490
 
 
3491
 
 
3492
Bug Fixes
 
3493
*********
 
3494
 
 
3495
* Bazaar can now pass attachment files to the mutt email client.
 
3496
  (Edwin Grubbs, #384158)
 
3497
 
 
3498
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
 
3499
  see which files can also be added.  (Jason Spashett, #76616)
 
3500
 
 
3501
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
 
3502
  Also, the ``Branch.revision_history()`` API now works in the same
 
3503
  situation.  (Andrew Bennetts, #380314)
 
3504
  
 
3505
* ``bzr serve`` on Windows no longer displays a traceback simply because a
 
3506
  TCP client disconnected. (Andrew Bennetts)
 
3507
 
 
3508
* Clarify the rules for locking and fallback repositories. Fix bugs in how
 
3509
  ``RemoteRepository`` was handling fallbacks along with the
 
3510
  ``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
 
3511
 
 
3512
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
 
3513
  branch. Not often triggered, because it required ghosts to be part of
 
3514
  the fetched revisions, not in the stacked-on ancestry.
 
3515
  (John Arbash Meinel)
 
3516
 
 
3517
* Fix status and commit to work with content filtered trees, addressing
 
3518
  numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
 
3519
 
 
3520
* Fix problem of "directory not empty" when contending for a lock over
 
3521
  sftp.  (Martin Pool, #340352)
 
3522
 
 
3523
* Fix rule handling so that eol is optional, not mandatory.
 
3524
  (Ian Clatworthy, #379370)
 
3525
 
 
3526
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
 
3527
  bug in the ``BzrDirFormat.initialize_ex`` smart verb.  This is fixed in
 
3528
  1.16, but required changes to the network protocol, so the
 
3529
  ``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
 
3530
  corrected ``BzrDirFormat.initialize_ex_1.16`` verb.  1.15 clients will
 
3531
  still work with a 1.16 server as they will fallback to slower (and
 
3532
  bug-free) methods.
 
3533
  (Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
 
3534
 
 
3535
* Reconcile can now deal with text revisions that originated in revisions 
 
3536
  that are ghosts. (Jelmer Vernooij, #336749)
 
3537
 
 
3538
* Support cloning of branches with ghosts in the left hand side history.
 
3539
  (Jelmer Vernooij, #248540)
 
3540
 
 
3541
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
 
3542
  helpful message to the trace file, unless the temp directory really was
 
3543
  removed (which would be very strange).  Since the diff operation has
 
3544
  succeeded from the user's perspective, no output is written to stderr 
 
3545
  or stdout.  (Maritza Mendez, #363837)
 
3546
 
 
3547
* Translate errors received from a smart server in response to a
 
3548
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
3549
  This was causing tracebacks even for mundane errors like
 
3550
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
3551
 
 
3552
Documentation
 
3553
*************
 
3554
 
 
3555
* Added directory structure and started translation of docs in Russian.
 
3556
  (Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
 
3557
  Volodymyr Kotulskyi)
 
3558
 
 
3559
API Changes
 
3560
***********
 
3561
 
 
3562
* Added osutils.parent_directories(). (Ian Clatworthy)
 
3563
 
 
3564
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
 
3565
  ``TTYProgressBar`` and ``child_progress`` are now deprecated; use
 
3566
  ``ui_factory.nested_progress_bar`` instead.  (Martin Pool)
 
3567
 
 
3568
* ``graph.StackedParentsProvider`` is now a public API, replacing
 
3569
  ``graph._StackedParentsProvider``. The api is now considered stable and ready
 
3570
  for external users. (Gary van der Merwe)
 
3571
 
 
3572
* ``bzrlib.user_encoding`` is deprecated in favor of
 
3573
  ``get_user_encoding``.  (Alexander Belchenko)
 
3574
 
 
3575
* TreeTransformBase no longer assumes that limbo is provided via disk.
 
3576
  DiskTreeTransform now provides disk functionality.  (Aaron Bentley)
 
3577
 
 
3578
Internals
 
3579
*********
 
3580
 
 
3581
* Remove ``weave.py`` script for accessing internals of old weave-format
 
3582
  repositories.  (Martin Pool)
 
3583
 
 
3584
Testing
 
3585
*******
 
3586
 
 
3587
* ``make check`` no longer repeats the test run in ``LANG=C``.
 
3588
  (Martin Pool, #386180)
 
3589
 
 
3590
* The number of cores is now correctly detected on OSX. (John Szakmeister)
 
3591
 
 
3592
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
 
3593
 
 
3594
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
 
3595
 
 
3596
 
 
3597
bzr 1.15
 
3598
########
 
3599
:1.15rc1: 2009-05-16
 
3600
:1.15: 2009-05-22
 
3601
:1.15.1: 2009-06-09
 
3602
 
 
3603
The smart server will no longer raise 'NoSuchRevision' when streaming content
 
3604
with a size mismatch in a reconstructed graph search. New command ``bzr
 
3605
dpush``. Plugins can now define their own annotation tie-breaker when two
 
3606
revisions introduce the exact same line.
 
3607
 
 
3608
Changes from 1.15.1 to 1.15.2
 
3609
*****************************
 
3610
 
 
3611
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
 
3612
  (Alexander Belchenko)
 
3613
 
 
3614
Changes from 1.15final to 1.15.1
 
3615
*********************************
 
3616
 
 
3617
* Translate errors received from a smart server in response to a
 
3618
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
3619
  This was causing tracebacks even for mundane errors like
 
3620
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
3621
 
 
3622
Changes from 1.15rc1 to 1.15final
 
3623
*********************************
 
3624
 
 
3625
* No changes
 
3626
 
 
3627
Compatibility Breaks
 
3628
********************
 
3629
 
 
3630
* ``bzr ls`` is no longer recursive by default. To recurse, use the
 
3631
  new ``-R`` option. The old ``--non-recursive`` option has been removed.
 
3632
  If you alias ``ls`` to ``ls -R``, you can disable recursion using
 
3633
  ``--no-recursive`` instead.  (Ian Clatworthy)
 
3634
 
 
3635
New Features
 
3636
************
 
3637
 
 
3638
* New command ``bzr dpush`` that can push changes to foreign 
 
3639
  branches (svn, git) without setting custom bzr-specific metadata.
 
3640
  (Jelmer Vernooij)
 
3641
 
 
3642
* The new development format ``--development6-rich-root`` now supports
 
3643
  stacking. We chose not to use a new format marker, since old clients
 
3644
  will just fail to open stacked branches, the same as if we used a new
 
3645
  format flag. (John Arbash Meinel, #373455)
 
3646
 
 
3647
* Plugins can now define their own annotation tie-breaker when two revisions
 
3648
  introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
 
3649
  Be aware though that this is temporary, private (as indicated by the leading
 
3650
  '_') and a first step to address the problem. (Vincent Ladeuil, #348459)
 
3651
 
 
3652
* New command ``bzr dpush`` that can push changes to foreign 
 
3653
  branches (svn, git) without setting custom bzr-specific metadata.
 
3654
  (Jelmer Vernooij)
 
3655
 
 
3656
* ``bzr send`` will now check the ``child_submit_format`` setting in
 
3657
  the submit branch to determine what format to use, if none was 
 
3658
  specified on the command-line.  (Jelmer Vernooij)
 
3659
 
 
3660
Improvements
 
3661
************
 
3662
 
 
3663
* -Dhpss output now includes the number of VFS calls made to the remote
 
3664
  server. (Jonathan Lange)
 
3665
 
 
3666
* ``--coverage`` works for code running in threads too.
 
3667
  (Andrew Bennets, Vincent Ladeuil)
 
3668
 
 
3669
* ``bzr pull`` now has a ``--local`` option to only make changes to the
 
3670
  local branch, and not the bound master branch.
 
3671
  (Gary van der Merwe, #194716)
 
3672
 
 
3673
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
 
3674
 
 
3675
Bug Fixes
 
3676
*********
 
3677
 
 
3678
* Adding now works properly when path contains a symbolic link.
 
3679
  (Geoff Bache, #183831)
 
3680
 
 
3681
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
 
3682
 
 
3683
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
 
3684
  line, and the other side modifies the line. (John Arbash Meinel, #328171)
 
3685
 
 
3686
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
 
3687
  (Martin von Gagern, #248932)
 
3688
 
 
3689
* ``bzr send`` works to send emails again using MAPI.
 
3690
  (Neil Martinsen-Burrell, #346998)
 
3691
 
 
3692
* Check for missing parent inventories in StreamSink.  This prevents
 
3693
  incomplete stacked branches being created by 1.13 bzr:// and
 
3694
  bzr+ssh:// clients (which have bug #354036).  Instead, the server now
 
3695
  causes those clients to send the missing records.  (Andrew Bennetts)
 
3696
 
 
3697
* Correctly handle http servers proposing multiple authentication schemes.
 
3698
  (Vincent Ladeuil, #366107)
 
3699
 
 
3700
* End-Of-Line content filters are now loaded correctly.
 
3701
  (Ian Clatworthy, Brian de Alwis, #355280)
 
3702
 
 
3703
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
3704
  longer than 64KiB. (John Arbash Meinel, #364900)
 
3705
 
 
3706
* Fix TypeError in running ``bzr break-lock`` on some URLs.
 
3707
  (Alexander Belchenko, Martin Pool, #365891)
 
3708
 
 
3709
* Non-recursive ``bzr ls`` now works properly when a path is specified.
 
3710
  (Jelmer Vernooij, #357863)
 
3711
 
 
3712
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
 
3713
  (Vincent Ladeuil, #367726)
 
3714
 
 
3715
* Several bugs related to unicode symlinks have been fixed and the test suite
 
3716
  enhanced to better catch regressions for them. (Vincent Ladeuil)
 
3717
 
 
3718
* The smart server will no longer raise 'NoSuchRevision' when streaming
 
3719
  content with a size mismatch in a reconstructed graph search: it assumes
 
3720
  that the client will make sure it is happy with what it got, and this
 
3721
  sort of mismatch is normal for stacked environments.
 
3722
  bzr 1.13.0/1 will stream from unstacked branches only - in that case not
 
3723
  getting all the content expected would be a bug. However the graph
 
3724
  search is how we figured out what we wanted, so a mismatch is both odd
 
3725
  and unrecoverable without starting over, and starting over will end up
 
3726
  with the same data as if we just permitted the mismatch. If data is
 
3727
  gc'd, doing a new search will find only the truncated data, so sending
 
3728
  only the truncated data seems reasonable. bzr versions newer than this
 
3729
  will stream from stacked branches and check the stream to find missing
 
3730
  content in the stacked-on branch, and thus will handle the situation
 
3731
  implicitly.  (Robert Collins, #360791)
 
3732
 
 
3733
* Upgrading to, or fetching into a 'rich-root' format will now correctly
 
3734
  set the root data the same way that reconcile does.
 
3735
  (Robert Collins, #368921)
 
3736
 
 
3737
* Using unicode Windows API to obtain command-line arguments.
 
3738
  (Alexander Belchenko, #375934)
 
3739
 
 
3740
Documentation
 
3741
*************
 
3742
 
 
3743
API Changes
 
3744
***********
 
3745
 
 
3746
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
 
3747
  instead of ``InstallFailed`` when they detect a missing revision.
 
3748
  ``InstallFailed`` itself has been deleted. (Jonathan Lange)
 
3749
 
 
3750
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
 
3751
  arguments from ``osutils.get_unicode_argv()`` which has proper support
 
3752
  for unicode arguments on windows. Further, the supplied arguments are now 
 
3753
  required to be unicode strings, rather than user_encoded strings.
 
3754
  (Alexander Belchenko)
 
3755
 
 
3756
Internals
 
3757
*********
 
3758
 
 
3759
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
 
3760
  class and will call ``_set_parent_location`` after doing unicode 
 
3761
  encoding. (Robert Collins)
 
3762
 
 
3763
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
 
3764
  ``Branch.set_parent_location`` removing further VFS operations.
 
3765
  (Robert Collins)
 
3766
 
 
3767
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
 
3768
  or similar when the dir supports configuration settings. The base class
 
3769
  defaults to None. There is a matching new server verb
 
3770
  ``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
 
3771
  configuration. (Robert Collins)
 
3772
 
 
3773
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
 
3774
  called before the first test is started, ``done`` called after the last
 
3775
  test completes, and a new parameter ``strict``. (Robert Collins)
 
3776
 
 
3777
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
 
3778
  VFS operations are started on a smart server repository. This should not
 
3779
  occur on regular push and pull operations, and is a key indicator for
 
3780
  performance regressions. (Robert Collins)
 
3781
 
 
3782
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
 
3783
  cause mismatched physical locks to cause test errors rather than just
 
3784
  reporting to the screen. (Robert Collins)
 
3785
 
 
3786
* -Dprogress will cause pdb to start up if a progress view jumps
 
3787
  backwards. (Robert Collins)
 
3788
 
 
3789
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
 
3790
  are now be able to provide credentials if obtaining credentials 
 
3791
  via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij, 
 
3792
  Vincent Ladeuil, #321918)
 
3793
 
 
3794
* New hook ``Lock.lock_broken`` which runs when a lock is
 
3795
  broken. This is mainly for testing that lock/unlock are
 
3796
  balanced in tests. (Vincent Ladeuil)
 
3797
 
 
3798
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
 
3799
  alter a body for the message produced by ``bzr send``.
 
3800
 
 
3801
* New smart server verb ``BzrDir.initialize_ex`` which implements a
 
3802
  refactoring to the core of clone allowing less round trips on new
 
3803
  branches. (Robert Collins)
 
3804
 
 
3805
* New method ``Tags.rename_revisions`` that can rename revision ids tags
 
3806
  are pointing at. (Jelmer Vernooij)
 
3807
 
 
3808
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
 
3809
 
 
3810
Testing
 
3811
*******
 
3812
 
 
3813
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
 
3814
  tests. Using ``-Dlock`` will turn the related failures into warnings.
 
3815
  (Vincent Ladeuil, Robert Collins)
 
3816
 
 
3817
bzr 1.14
 
3818
########
 
3819
:Codename: brisbane-core
 
3820
:1.14rc1: 2009-04-06
 
3821
:1.14rc2: 2009-04-19
 
3822
:1.14: 2009-04-28
 
3823
:1.14.1: 2009-05-01
 
3824
 
 
3825
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
 
3826
keyword templating (via the bzr-keywords plugin) and generic content filtering.
 
3827
End-of-line conversion is now supported for formats supporting content
 
3828
filtering.
 
3829
 
 
3830
Changes from 1.14final to 1.14.1
 
3831
********************************
 
3832
 
 
3833
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
 
3834
 
 
3835
Changes from 1.14rc2 to 1.14final
 
3836
*********************************
 
3837
 
 
3838
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
3839
  longer than 64KiB. (John Arbash Meinel, #364900)
 
3840
 
 
3841
Changes from 1.14rc1 to 1.14rc2
 
3842
*******************************
 
3843
 
 
3844
* Fix for bug 358037 Revision not in
 
3845
  bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis, 
 
3846
  John A Meinel)
 
3847
 
 
3848
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
3849
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
3850
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
3851
 
 
3852
* Fix for bug 355280 eol content filters are never loaded and thus never
 
3853
  applied (Brian de Alwis, Ian Clatworthy)
 
3854
 
 
3855
* bzr.dev -r4280  Change _fetch_uses_deltas = False for CHK repos until we can
 
3856
  write a better fix. (John Arbash Meinel, Robert Collins)
 
3857
 
 
3858
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
 
3859
  (Marius Kruger, Ian Clatworthy)
 
3860
 
 
3861
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14 
 
3862
  (Andrew Bennetts, Robert Collins)
 
3863
 
 
3864
Compatibility Breaks
 
3865
********************
 
3866
 
 
3867
* A previously disabled code path to accelerate getting configuration
 
3868
  settings from a smart server has been reinstated. We think this *may*
 
3869
  cause a incompatibility with servers older than bzr 0.15. We intend
 
3870
  to issue a point release to address this if it turns out to be a
 
3871
  problem. (Robert Collins, Andrew Bennetts)
 
3872
 
 
3873
* bzr no longer autodetects nested trees as 'tree-references'.  They
 
3874
  must now be explicitly added tree references.  At the commandline, use
 
3875
  join --reference instead of add.  (Aaron Bentley)
 
3876
 
 
3877
* The ``--long`` log format (the default) no longer shows merged
 
3878
  revisions implicitly, making it consistent with the ``short`` and
 
3879
  ``line`` log formats.  To see merged revisions for just a given
 
3880
  revision, use ``bzr log -n0 -rX``. To see every merged revision,
 
3881
  use ``bzr log -n0``.  (Ian Clatworthy)
 
3882
 
 
3883
New Features
 
3884
************
 
3885
 
 
3886
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
 
3887
  (EOL) conversions, keyword templating (via the bzr-keywords plugin)
 
3888
  and generic content filtering. These formats replace the experimental
 
3889
  ``development-wt5`` and ``development-wt5-rich-root`` formats
 
3890
  respectively, but have support for filtered views disabled.
 
3891
  (Ian Clatworthy)
 
3892
 
 
3893
* New ``mv --auto`` option recognizes renames after they occur.
 
3894
  (Aaron Bentley)
 
3895
 
 
3896
* ``bzr`` can now get passwords from stdin without requiring a controlling
 
3897
  terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
 
3898
 
 
3899
* ``bzr log`` now supports filtering of multiple files and directories
 
3900
  and will show changes that touch any of them. Furthermore,
 
3901
  directory filtering now shows the changes to any children of that
 
3902
  directory, not just the directory object itself.
 
3903
  (Ian Clatworthy, #97715)
 
3904
 
 
3905
* ``bzr shelve`` can now apply changes without storing anything on the
 
3906
  shelf, via the new --destroy option.  (Aaron Bentley)
 
3907
 
 
3908
* ``bzr send`` now accepts --body to specify an initial message body.
 
3909
  (Aaron bentley)
 
3910
 
 
3911
* ``bzr xxx --usage`` where xxx is a command now shows a usage
 
3912
  message and the options without the descriptive help sections
 
3913
  (like Description and Examples). A message is also given
 
3914
  explaining how to see the complete help, i.e. ``bzr help xxx``.
 
3915
  (Ian Clatworthy)
 
3916
 
 
3917
* Content filters can now be used to provide custom conversion
 
3918
  between the canonical format of content (i.e. as stored) and
 
3919
  the convenience format of content (i.e. as created in working
 
3920
  trees). See ``bzr help content-filters`` for further details.
 
3921
  (Ian Clatworthy, Alexander Belchenko)
 
3922
 
 
3923
* End-of-line conversion is now supported for formats supporting
 
3924
  content filtering. See ``bzr help eol`` for details.
 
3925
  (Ian Clatworthy)
 
3926
 
 
3927
* Newly-blessed `join` command allows combining two trees into one.
 
3928
  (Aaron Bentley)
 
3929
 
 
3930
Improvements
 
3931
************
 
3932
 
 
3933
* A new format name alias ``default-rich-root`` has been added and
 
3934
  points at the closest relative of the default format that supports 
 
3935
  rich roots. (Jelmer Vernooij, #338061)
 
3936
 
 
3937
* Branching from a stacked branch using ``bzr*://`` will now stream
 
3938
  the data when the target repository does not need topological
 
3939
  ordering, reducing round trips and network overhead. This uses the
 
3940
  existing smart server methods added in 1.13, so will work on any
 
3941
  1.13 or newer server. (Robert Collins, Andrew Bennetts)
 
3942
 
 
3943
* ``bzr cat`` and ``bzr export`` now supports a ``--filters`` option
 
3944
  that displays/saves the content after content filters are applied.
 
3945
  (Ian Clatworthy)
 
3946
 
 
3947
* ``bzr ignore`` gives a more informative message when existing
 
3948
  version controlled files match the ignore pattern. (Neil
 
3949
  Martinsen-Burrell, #248895)
 
3950
 
 
3951
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
 
3952
  (Ian Clatworthy)
 
3953
 
 
3954
* ``bzr send`` is faster on repositories with deep histories.
 
3955
  (Ian Clatworthy)
 
3956
 
 
3957
* IPv6 literals are accepted in URLs.
 
3958
  (stlman, Martin Pool, Jelmer Vernooij, #165014)
 
3959
 
 
3960
* Progress bars now show the rate of network activity for
 
3961
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
3962
 
 
3963
* Prompt for user names if they are not in the configuration. 
 
3964
  (Jelmer Vernooij, #256612)
 
3965
 
 
3966
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
 
3967
  now takes many less round trips.  (Andrew Bennetts, Robert Collins,
 
3968
  #294479)
 
3969
  
 
3970
* Streaming push can be done to older repository formats.  This is
 
3971
  implemented using a new ``Repository.insert_stream_locked`` RPC.
 
3972
  (Andrew Bennetts, Robert Collins)
 
3973
 
 
3974
* The "ignoring files outside view: .." message has been re-worded
 
3975
  to "Ignoring files outside view. View is .." to reduce confusion
 
3976
  about what was being considered and what was being ignored.
 
3977
  (Ian Clatworthy)
 
3978
 
 
3979
* The ``long`` log formatter now shows [merge] indicators. If
 
3980
  only one level of revisions is displayed and merges are found,
 
3981
  the ``long`` and ``short`` log formatters now tell the user
 
3982
  how to see the hidden merged revisions.  (Ian Clatworthy)
 
3983
 
 
3984
* The ``brisbane-core`` project has delivered its beta format
 
3985
  ``development6-rich-root``. This format is suitable for judicious
 
3986
  testing by early adopters. In particular if you are benchmarking bzr
 
3987
  performance please be sure to test using this format. At this stage
 
3988
  more information is best obtained by contacting the Bazaar mailing list
 
3989
  or IRC channel if you are interested in using this format. We will make
 
3990
  end user documentation available closer to blessing the format as
 
3991
  production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
 
3992
  Vincent Ladeuil, Andrew Bennetts, Martin Pool)
 
3993
 
 
3994
* Tildes are no longer escaped. No more %7Euser/project/branch!
 
3995
  (Jonathan Lange)
 
3996
 
 
3997
Bug Fixes
 
3998
*********
 
3999
 
 
4000
* Pushing a new stacked branch will also push the parent inventories for
 
4001
  revisions at the stacking boundary.  This makes sure that the stacked
 
4002
  branch has enough data to calculate inventory deltas for all of its
 
4003
  revisions (without requiring the fallback branch).  This avoids
 
4004
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
4005
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
4006
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
4007
 
 
4008
* End-Of-Line content filters are now loaded correctly.
 
4009
  (Ian Clatworthy, Brian de Alwis, #355280)
 
4010
 
 
4011
* Authentication plugins now receive all the parameters from the request
 
4012
  itself (aka host, port, realm, path, etc). Previously, only the 
 
4013
  authentication section name, username and encoded password were 
 
4014
  provided. (Jean-Francois Roy)
 
4015
 
 
4016
* bzr gives a better message if an invalid regexp is passed to ``bzr log
 
4017
  -m``.  (Anne Mohsen, Martin Pool)
 
4018
 
 
4019
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
 
4020
 
 
4021
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
 
4022
  #313028)
 
4023
 
 
4024
* Fix "is not a stackable format" error when pushing a
 
4025
  stackable-format branch with an unstackable-format repository to a
 
4026
  destination with a default stacking policy.  (Andrew Bennetts)
 
4027
 
 
4028
* Fixed incorrect "Source format does not support stacking" warning
 
4029
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
4030
 
 
4031
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
 
4032
  needed. (Vincent Ladeuil, #355454)
 
4033
 
 
4034
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
 
4035
  on ``bzr add x/y/z`` in formats supporting views when no view is
 
4036
  defined.  (Ian Clatworthy, #344708)
 
4037
 
 
4038
* It is no longer possible to fetch between repositories while the
 
4039
  target repository is in a write group. This prevents race conditions
 
4040
  that prevent the use of RPC's to perform fetch, and thus allows
 
4041
  optimising more operations. (Robert Collins, Andrew Bennetts)
 
4042
 
 
4043
* ``merge --force`` works again. (Robert Collins, #342105)
 
4044
 
 
4045
* No more warnings are issued about ``sha`` being deprecated under python-2.6.
 
4046
  (Vincent Ladeuil, #346593)
 
4047
 
 
4048
* Pushing a new branch to a server that has a stacking policy will now
 
4049
  upgrade from the local branch format when the stacking policy points at
 
4050
  a branch which is itself stackable, because we know the client can read
 
4051
  both branches, we know that the trunk for the project can be read too,
 
4052
  so the upgrade will not inconvenience users. (Robert Collins, #345169)
 
4053
 
 
4054
* Pushing a new stacked branch will also push the parent inventories for
 
4055
  revisions at the stacking boundary.  This makes sure that the stacked
 
4056
  branch has enough data to calculate inventory deltas for all of its
 
4057
  revisions (without requiring the fallback branch).  This avoids
 
4058
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
4059
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
4060
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
4061
 
 
4062
* The full test suite is passing again on OSX. Several minor issues (mostly
 
4063
  test related) have been fixed. (Vincent Ladeuil, #355273).
 
4064
 
 
4065
* The GNU Changelog formatter is slightly improved in the case where
 
4066
  the delta is empty, and now correctly claims not to support tags.
 
4067
  (Andrea Bolognani)
 
4068
 
 
4069
* Shelve can now shelve changes to a symlink target.
 
4070
  (James Westby, #341558)
 
4071
 
 
4072
* The help for the ``info`` command has been corrected.
 
4073
  (Ian Clatworthy, #351931)
 
4074
 
 
4075
* Upgrade will now use a sensible default format if the source repository
 
4076
  uses rich roots.  (Jelmer Vernooij, #252908)
 
4077
 
 
4078
Documentation
 
4079
*************
 
4080
 
 
4081
* Expanded the index of the developer documentation. (Eric Siegerman)
 
4082
 
 
4083
* New topic `bzr help debug-flags`.  (Martin Pool)
 
4084
 
 
4085
* The generated manpage now explicitly lists aliases as commands.
 
4086
  (James Westby, #336998)
 
4087
 
 
4088
API Changes
 
4089
***********
 
4090
 
 
4091
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
 
4092
  (Martin Pool)
 
4093
 
 
4094
* ``CommitReporter`` is no longer called with ``unchanged`` status during
 
4095
  commit - this was a full-tree overhead that bzr no longer performs.
 
4096
  (Robert Collins)
 
4097
 
 
4098
* New abstract ``UIFactory`` method ``get_username`` which will be called to 
 
4099
  obtain the username to use when connecting to remote machines. 
 
4100
  (Jelmer Vernooij)
 
4101
 
 
4102
* New API ``Inventory.filter()`` added that filters an inventory by
 
4103
  a set of file-ids so that only those fileids, their parents and
 
4104
  their children are included.  (Ian Clatworthy)
 
4105
 
 
4106
* New sort order for ``get_record_stream`` ``groupcompress`` which
 
4107
  sorts optimally for use with groupcompress compressors. (John Arbash
 
4108
  Meinel, Robert Collins)
 
4109
 
 
4110
* Repository APIs ``get_deltas_for_revisions()`` and
 
4111
  ``get_revision_delta()`` now support an optional ``specific_fileids``
 
4112
  parameter. If provided, the deltas are filtered so that only those
 
4113
  file-ids, their parents and their children are included.
 
4114
  (Ian Clatworthy)
 
4115
 
 
4116
* The ``get_credentials`` and ``set_credentials`` methods of 
 
4117
  ``AuthenticationConfig`` now accept an optional realm argument.
 
4118
  (Jean-Francois Roy)
 
4119
 
 
4120
* The ``pb`` argument to ``fetch()`` is deprecated.
 
4121
  (Martin Pool)
 
4122
 
 
4123
* The ``Serializer`` class and the serializer ``format registry`` have moved
 
4124
  from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
 
4125
 
 
4126
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
 
4127
  that is not inside the backing transport from being opened.  See the
 
4128
  module documentation for ``bzrlib.smart.request`` for details.
 
4129
  (Andrew Bennetts, Robert Collins)
 
4130
 
 
4131
* ``Tree.get_symlink_target`` now always returns a unicode string result
 
4132
  or None. Previously it would return the bytes from reading the link
 
4133
  which could be in any arbitrary encoding. (Robert Collins)
 
4134
 
 
4135
Testing
 
4136
*******
 
4137
 
 
4138
* ``bzrlib.tests.TestCase`` now fails the test if its own ``setUp``
 
4139
  and ``tearDown`` weren't called.  This catches faulty tests that
 
4140
  forget to upcall when overriding ``setUp`` and ``tearDown``.  Those
 
4141
  faulty tests were not properly isolated.
 
4142
  (Andrew Bennetts, Robert Collins)
 
4143
 
 
4144
* Fix test_msgeditor.MsgEditorTest test isolation.
 
4145
  (Vincent Ladeuil, #347130)
 
4146
 
 
4147
* ``medusa`` is not used anymore as an FTP test server starting with
 
4148
  python2.6. A new FTP test server based on ``pyftplib`` can be used
 
4149
  instead. This new server is a soft dependency as medusa which is still
 
4150
  preferred if both are available (modulo python version).
 
4151
  (Vincent Ladeuil)
 
4152
 
 
4153
Internals
 
4154
*********
 
4155
 
 
4156
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
 
4157
  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
4158
 
 
4159
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
 
4160
  maps.  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
4161
 
 
4162
* Added ``bzrlib.inventory_delta`` module.  This will be used for
 
4163
  serializing and deserializing inventory deltas for more efficient
 
4164
  streaming on the network.  (Robert Collins, Andrew Bennetts)
 
4165
 
 
4166
* ``Branch._get_config`` has been added, which splits out access to the
 
4167
  specific config file from the branch. This is used to let RemoteBranch
 
4168
  avoid constructing real branch objects to access configuration settings.
 
4169
  (Robert Collins, Andrew Bennetts)
 
4170
 
 
4171
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
 
4172
  the implementation is generic and should impact foreign formats. This
 
4173
  helps performance for ``RemoteBranch`` push operations to new stacked
 
4174
  branches. (Robert Collins, Andrew Bennetts)
 
4175
 
 
4176
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
 
4177
  optmizations turned off. This only has effect when processing > 100,000
 
4178
  keys during something like ``bzr pack``. (John Arbash Meinel)
 
4179
 
 
4180
* ``bzr selftest`` now accepts ``--subunit`` to run in subunit output
 
4181
  mode. Requires ``lp:subunit`` installed to work, but is not a hard
 
4182
  dependency. (Robert Collins)
 
4183
 
 
4184
* ``BzrDir.open_branch`` now takes an optional ``ignore_fallbacks``
 
4185
  parameter for controlling opening of stacked branches.
 
4186
  (Andrew Bennetts, Robert Collins)
 
4187
  
 
4188
* ``CommitBuilder`` has a new method, ``record_iter_changes`` which works
 
4189
  in terms of an iter_changes iterator rather than full tree scanning.
 
4190
  (Robert Collins)
 
4191
 
 
4192
* ``DirState`` can now be passed a custom ``SHA1Provider`` object
 
4193
  enabling it to store the SHA1 and stat of the canonical (post
 
4194
  content filtered) form. (Ian Clatworthy)
 
4195
 
 
4196
* New ``assertLength`` method based on one Martin has squirreled away
 
4197
  somewhere. (Robert Collins, Martin Pool)
 
4198
 
 
4199
* New hook ``BzrDir.pre_open`` which runs before opening ``BzrDir``
 
4200
  objects, allowing better enforcement of the smart server jail when
 
4201
  dealing with stacked branches. (Robert Collins, Andrew Bennetts)
 
4202
 
 
4203
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries 
 
4204
  to be added to the stanza that is printed for a particular revision.
 
4205
  (Jelmer Vernooij)
 
4206
 
 
4207
* New repository method ``refresh_data`` to cause any repository to
 
4208
  make visible data inserted into the repository by a smart server
 
4209
  fetch operation. (Robert Collins, Andrew Bennetts)
 
4210
 
 
4211
* ``register_filter_stack_map`` now takes an optional fallback parameter,
 
4212
  a callable to invoke if a preference has a value not in the map
 
4213
  of filter stacks. This enhancement allows, for example,  bzr-svn to
 
4214
  handle existing svn properties that define a list of keywords to be
 
4215
  expanded.  (Ian Clatworthy)
 
4216
 
 
4217
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
 
4218
  to write config settings to smart servers that support this, saving
 
4219
  5 round trips on the stacked streaming acceptance test.
 
4220
  (Robert Collins, Andrew Bennetts)
 
4221
 
 
4222
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
 
4223
  branch specific configuration from a remote server, which uses the 
 
4224
  already existing ``Branch.get_config_file`` smart verb.
 
4225
  (Robert Collins, Andrew Bennetts)
 
4226
 
 
4227
* ``RemoteRepository`` will now negatively cache missing revisions during
 
4228
  ``get_parent_map`` while read-locked. Write-locks are unaffected.
 
4229
  (Robert Collins, Andrew Bennetts)
 
4230
 
 
4231
* Removed ``InterRemoteToOther``, ``InterOtherToRemote`` and
 
4232
  ``InterPackToRemotePack`` classes, as they are now unnecessary.
 
4233
  (Andrew Bennetts)
 
4234
 
 
4235
* ``RepositoryFormat`` as a new attribute ``fast_deltas`` to indicate
 
4236
  whether the repository can efficiently generate deltas between trees
 
4237
  regardless of tree size. (Robert Collins)
 
4238
 
 
4239
* ``Repository.iter_files_bytes()`` now properly returns an "iterable of
 
4240
  byte strings" (aka 'chunked') for the content. It previously was
 
4241
  returning a plain string, which worked, but performed very poorly when
 
4242
  building a working tree (file.writelines(str) is very inefficient). This
 
4243
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
 
4244
 
 
4245
* selftest now supports a --parallel option, with values of 'fork' or
 
4246
  'subprocess' to run the test suite in parallel. Currently only Linux
 
4247
  machines work, other platforms need patches submitted. (Robert Collins,
 
4248
  Vincent Ladeuil)
 
4249
 
 
4250
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
 
4251
  callables to use to decorate the test suite. Such decorators can add or
 
4252
  remove tests, or even remote the test suite to another machine if
 
4253
  desired. (Robert Collins)
 
4254
 
 
4255
* The smart server verb ``Repository.get_parent_map`` can now include
 
4256
  information about ghosts when the special revision ``include-missing:``
 
4257
  is in the requested parents map list. With this flag, ghosts are
 
4258
  included as ``missing:REVISION_ID``. (Robert Collins, Andrew Bennetts)
 
4259
 
 
4260
* ``_walk_to_common_revisions`` will now batch up at least 50
 
4261
  revisions before calling ``get_parent_map`` on the target,
 
4262
  regardless of ``InterRepository``.
 
4263
  (Andrew Bennetts, Robert Collins)
 
4264
 
 
4265
bzr 1.13
 
4266
########
 
4267
 
 
4268
:Codename: paraskavedekatriaphobia
 
4269
:1.13: 2009-03-14
 
4270
:1.13rc1: 2009-03-10
 
4271
:1.13.1: 2009-03-23
 
4272
:1.13.2: 2009-04-27
 
4273
 
 
4274
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.  Debug
 
4275
flags can now be set in ``~/.bazaar/bazaar.conf``.  Lightweight checkouts and
 
4276
stacked branches should both be much faster over remote connections.  
 
4277
 
 
4278
Changes From 1.13.1 to 1.13.2
 
4279
*****************************
 
4280
 
 
4281
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
 
4282
a stacked branch they do not take care to push all the parent inventories for
 
4283
the transferred revisions. This means that a smart server serving that branch
 
4284
often cannot calculate inventory deltas for the branch (because smart server
 
4285
does not/cannot open fallback repositories). Prior to 1.13 the server did not
 
4286
have a verb to stream revisions out of a repository, so that's why this bug has
 
4287
appeared now.
 
4288
 
 
4289
Bug Fixes
 
4290
*********
 
4291
 
 
4292
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
4293
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
4294
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
4295
 
 
4296
Changes From 1.13final to 1.13.1
 
4297
********************************
 
4298
 
 
4299
A couple regessions where found in the 1.13 release. The pyrex-generated C
 
4300
extensions are missing from the .tar.gz and .zip files.  Documentation on how
 
4301
to generate GNU ChangeLogs is wrong.
 
4302
 
 
4303
Bug Fixes
 
4304
*********
 
4305
 
 
4306
* Change ``./bzr``'s ``_script_version`` to match ./bzrlib/__init__.py
 
4307
  version_info. (Bob Tanner, Martin Pool, #345232)
 
4308
 
 
4309
* Distribution archives for 1.13 do not contain generated C extension modules
 
4310
  (Jean-Francois Roy, Bob Tanner, #344465)
 
4311
 
 
4312
* GNU ChangeLog output can now be produced by bzr log --format gnu-changelog is
 
4313
  incorrect (Deejay, Bob Tanner, Martin Pool, Robert Collins, #343928)
 
4314
 
 
4315
* ``merge --force`` works again. (Robert Collins, #342105)
 
4316
 
 
4317
Changes From 1.13rc1 to 1.13final
 
4318
*********************************
 
4319
 
 
4320
* Fix "is not a stackable format" error when pushing a
 
4321
  stackable-format branch with an unstackable-format repository to a
 
4322
  destination with a default stacking policy.  (Andrew Bennetts)
 
4323
 
 
4324
* Progress bars now show the rate of network activity for
 
4325
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
4326
 
 
4327
Compatibility Breaks
 
4328
********************
 
4329
 
 
4330
* ``bzr log --line`` now indicates which revisions are merges with
 
4331
  `[merge]` after the date.  Scripts which parse the output of this
 
4332
  command may need to be adjusted.
 
4333
  (Neil Martinsen-Burrell)
 
4334
 
 
4335
New Features
 
4336
************
 
4337
 
 
4338
* ``bzr reconfigure`` now supports --with-trees and --with-no-trees
 
4339
  options to change the default tree-creation policy of shared
 
4340
  repositories.  (Matthew Fuller, Marius Kruger, #145033)
 
4341
 
 
4342
* Debug flags can now be set in ``~/.bazaar/bazaar.conf``.
 
4343
  (Martin Pool)
 
4344
 
 
4345
* Filtered views provide a mask over the tree so that users can focus
 
4346
  on a subset of a tree when doing their work. See ``Filtered views``
 
4347
  in chapter 7 of the User Guide and ``bzr help view`` for details.
 
4348
  (Ian Clatworthy)
 
4349
 
 
4350
* GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.
 
4351
  (Andrea Bolognani, Martin Pool)
 
4352
 
 
4353
* The ``-Dmemory`` flag now gives memory information on Windows.
 
4354
  (John Arbash Meinel)
 
4355
 
 
4356
* Multiple authors for a commit can now be recorded by using the "--author"
 
4357
  option multiple times. (James Westby, #185772)
 
4358
 
 
4359
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernooij)
 
4360
 
 
4361
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
 
4362
  branch in your web browser, as long as the branch is on Launchpad at all.
 
4363
  (Jonathan Lange)
 
4364
 
 
4365
* New API for getting bugs fixed by a revision: Revision.iter_bugs().
 
4366
  (Jonathan Lange)
 
4367
 
 
4368
Improvements
 
4369
************
 
4370
 
 
4371
* All bzr ``Hooks`` classes are now registered in
 
4372
  ``bzrlib.hooks.known_hooks``. This removes the separate list from
 
4373
  ``bzrlib.tests`` and ensures that all hooks registered there are
 
4374
  correctly isolated by the test suite (previously
 
4375
  ``MutableTreeHooks`` were not being isolated correctly). Further, 
 
4376
  documentation for hooks is now dynamically generated from the
 
4377
  present HookPoints. ``bzr hooks`` will now also report on all the
 
4378
  hooks present in the ``bzrlib.hooks.known_hooks`` registry.
 
4379
  (Robert Collins)
 
4380
 
 
4381
* ``bzr add`` no longer prints ``add completed`` on success. Failure
 
4382
  still prints an error message. (Robert Collins)
 
4383
 
 
4384
* ``bzr branch`` now has a ``--no-tree`` option which turns off the
 
4385
  generation of a working tree in the new branch.
 
4386
  (Daniel Watkins, John Klinger, #273993)
 
4387
 
 
4388
* Bazaar will now point out ``bzr+ssh://`` to the user when they 
 
4389
  use ssh://. (Jelmer Vernooij, #330535)
 
4390
 
 
4391
* ``bzr -v info`` now omits the number of committers branch statistic,
 
4392
  making it many times faster for large projects. To include that
 
4393
  statistic in the output, use ``bzr -vv info``.
 
4394
  (Ian Clatworthy)
 
4395
 
 
4396
* ``bzr push`` to a ``bzr`` url (``bzr://``, ``bzr+ssh://`` etc) will
 
4397
  stream if the server is version 1.13 or greater, reducing roundtrips
 
4398
  significantly. (Andrew Bennetts, Robert Collins)
 
4399
 
 
4400
* Lightweight Checkouts and Stacked Branches should both be much
 
4401
  faster over remote connections. Building the working tree now
 
4402
  batches up requests into approx 5MB requests, rather than a separate
 
4403
  request for each file. (John Arbash Meinel)
 
4404
 
 
4405
* Support for GSSAPI authentication when using HTTP or HTTPS. 
 
4406
  (Jelmer Vernooij)
 
4407
 
 
4408
* The ``bzr shelve`` prompt now includes a '?' help option to explain the
 
4409
  short options better. (Daniel Watkins, #327429)
 
4410
 
 
4411
* ``bzr lp-open`` now falls back to the push location if it cannot find a
 
4412
  public location. (Jonathan Lange, #332372)
 
4413
 
 
4414
* ``bzr lp-open`` will try to find the Launchpad URL for the location
 
4415
  passed on the command line. This makes ``bzr lp-open lp:foo`` work as
 
4416
  expected. (Jonathan Lange, #332705)
 
4417
 
 
4418
* ``bzr send`` now supports MH-E via ``emacsclient``. (Eric Gillespie)
 
4419
 
 
4420
Bug Fixes
 
4421
*********
 
4422
 
 
4423
* Allows ``bzr log <FILE>`` to be called in an empty branch without
 
4424
  backtracing. (Vincent Ladeuil, #346431)
 
4425
 
 
4426
* Bazaar now gives a better message including the filename if it's
 
4427
  unable to read a file in the working directory, for example because
 
4428
  of a permission error.  (Martin Pool, #338653)
 
4429
 
 
4430
* ``bzr cat -r<old> <path>`` doesn't traceback anymore when <path> has a
 
4431
  file id in the working tree different from the one in revision <old>.
 
4432
  (Vincent Ladeuil, #341517, #253806)
 
4433
 
 
4434
* ``bzr send`` help is more specific about how to apply merge
 
4435
  directives.  (Neil Martinsen-Burrell, #253470)
 
4436
 
 
4437
* ``bzr missing`` now uses ``Repository.get_revision_delta()`` rather
 
4438
  than fetching trees and determining a delta itself. (Jelmer
 
4439
  Vernooij, #315048)
 
4440
 
 
4441
* ``bzr push`` to a smart server no longer causes "Revision
 
4442
  {set([('null:',)])} not present ..." errors when the branch has
 
4443
  multiple root revisions. (Andrew Bennetts, #317654)
 
4444
 
 
4445
* ``bzr shelve`` now properly handle patches with no terminating newline.
 
4446
  (Benoît PIERRE, #303569)
 
4447
 
 
4448
* ``bzr unshelve`` gives a more palatable error if passed a non-integer
 
4449
  shelf id. (Daniel Watkins)
 
4450
 
 
4451
* Export now handles files that are not present in the tree.
 
4452
  (James Westby, #174539)
 
4453
 
 
4454
* Fixed incorrect "Source format does not support stacking" warning
 
4455
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
4456
  
 
4457
* Fixed "sprout() got an unexpected keyword argument 'source_branch'"
 
4458
  error branching from old repositories.
 
4459
  (Martin Pool, #321695)
 
4460
 
 
4461
* Make ``bzr push --quiet <non-local location>`` less chatty.
 
4462
  (Kent Gibson, #221461)
 
4463
 
 
4464
* Many Branch hooks would not fire with ``bzr://`` and ``bzr+ssh://``
 
4465
  branches, and this was not noticed due to a bug in the test logic
 
4466
  for branches. This is now fixed and a test added to prevent it
 
4467
  reoccuring. (Robert Collins, Andrew Bennetts)
 
4468
 
 
4469
* Restore the progress bar on Windows. We were disabling it when TERM
 
4470
  wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
 
4471
  #334808)
 
4472
 
 
4473
* ``setup.py build_ext`` now gives a proper error when an extension
 
4474
  fails to build. (John Arbash Meinel)
 
4475
 
 
4476
* Symlinks to non ascii file names are now supported.
 
4477
  (Robert Collins, Vincent Ladeuil, #339055, #272444)    
 
4478
 
 
4479
* Under rare circumstances (aka nobody reported a bug about it), the ftp
 
4480
  transport could revert to ascii mode. It now stays in binary mode except
 
4481
  when needed.  (Vincent Ladeuil)
 
4482
 
 
4483
* Unshelve does not generate warnings about progress bars.
 
4484
  (Aaron Bentley, #328148)
 
4485
 
 
4486
* shelve cleans up properly when unversioned files are specified.
 
4487
  (Benoît Pierre, Aaron Bentley)
 
4488
 
 
4489
Documentation
 
4490
*************
 
4491
 
 
4492
* Added ``Organizing your workspace`` to the User Guide appendices,
 
4493
  summarizing some common ways of organizing trees, branches and
 
4494
  repositories and the processes/workflows implied/enabled by each.
 
4495
  (Ian Clatworthy)
 
4496
 
 
4497
* Hooks can now be self documenting. ``bzrlib.hooks.Hooks.create_hook``
 
4498
  is the entry point for this feature. (Robert Collins)
 
4499
 
 
4500
* The documentation for ``shelve`` and ``unshelve`` has been clarified.
 
4501
  (Daniel Watkins, #327421, #327425)
 
4502
 
 
4503
API Changes
 
4504
***********
 
4505
 
 
4506
* ``bzr selftest`` now fails if the bazaar sources contain trailing
 
4507
  whitespace, non-unix style line endings and files not ending in a
 
4508
  newline. About 372 files and 3243 lines with trailing whitespace was
 
4509
  updated to comply with this. The code already complied with the other
 
4510
  criteria, but now it is enforced. (Marius Kruger)
 
4511
 
 
4512
* ``bzrlib.branch.PushResult`` was renamed to 
 
4513
  ``bzrlib.branch.BranchPushResult``. (Jelmer Vernooij)
 
4514
 
 
4515
* ``Branch.fetch`` and ``Repository.fetch`` now return None rather
 
4516
  than a count of copied revisions and failed revisions. A while back
 
4517
  we stopped ever reporting failed revisions because we started
 
4518
  erroring instead, and the copied revisions count is not used in the
 
4519
  UI at all - indeed it only reflects the repository status not
 
4520
  changes to the branch itself. (Robert Collins)
 
4521
 
 
4522
* ``Inventory.apply_delta`` now raises an AssertionError if a file-id
 
4523
  appears multiple times within the delta. (Ian Clatworthy)
 
4524
 
 
4525
* MutableTree.commit now favours the "authors" argument, with the old
 
4526
  "author" argument being deprecated.
 
4527
 
 
4528
* Remove deprecated EmptyTree.  (Martin Pool)
 
4529
 
 
4530
* ``Repository.fetch`` now accepts an optional ``fetch_spec``
 
4531
  parameter.  A ``SearchResult`` or ``MiniSearchResult`` may be passed
 
4532
  to ``fetch_spec`` instead of a ``last_revision`` to specify exactly
 
4533
  which revisions to fetch. (Andrew Bennetts)
 
4534
 
 
4535
* ``RepositoryAcquisitionPolicy.acquire_repository`` now returns a
 
4536
  tuple of ``(repository, is_new_flag)``, rather than just the
 
4537
  repository.  (Andrew Bennetts)
 
4538
 
 
4539
* Revision.get_apparent_author() is now deprecated, replaced by
 
4540
  Revision.get_apparent_authors(), which returns a list. The former
 
4541
  now returns the first item that would be returned from the second.
 
4542
 
 
4543
* The ``BranchBuilder`` test helper now accepts a ``timestamp``
 
4544
  parameter to ``build_commit`` and ``build_snapshot``.  (Martin Pool)
 
4545
 
 
4546
* The ``_fetch_*`` attributes on ``Repository`` are now on
 
4547
  ``RepositoryFormat``, more accurately reflecting their intent (they
 
4548
  describe a disk format capability, not state of a particular
 
4549
  repository of that format). (Robert Collins)
 
4550
 
 
4551
Internals
 
4552
*********
 
4553
 
 
4554
* Branching from a non-stacked branch on a smart protocol is now
 
4555
  free of virtual file system methods.
 
4556
  (Robert Collins, Andrew Bennetts)
 
4557
 
 
4558
* Branch and Repository creation on a bzr+ssh://server are now done
 
4559
  via RPC calls rather than VFS calls, reducing round trips for
 
4560
  pushing new branches substantially. (Robert Collins)
 
4561
 
 
4562
* ``Branch.clone`` now takes the ``repository_policy`` formerly used
 
4563
  inside ``BzrDir.clone_on_transport``, allowing stacking to be
 
4564
  configured before the branch tags and revision tip are set. This
 
4565
  fixes a race condition cloning stacked branches that would cause
 
4566
  plugins to have hooks called on non-stacked instances.
 
4567
  (Robert Collins, #334187)
 
4568
 
 
4569
* ``BzrDir.cloning_metadir`` now has a RPC call. (Robert Collins)
 
4570
 
 
4571
* ``BzrDirFormat.__str__`` now uses the human readable description
 
4572
  rather than the sometimes-absent disk label. (Robert Collins)
 
4573
 
 
4574
* ``bzrlib.fetch`` is now composed of a sender and a sink component
 
4575
  allowing for decoupling over a network connection. Fetching from
 
4576
  or into a RemoteRepository with a 1.13 server will use this to
 
4577
  stream the operation.
 
4578
  (Andrew Bennetts, Robert Collins)
 
4579
 
 
4580
* ``bzrlib.tests.run_suite`` accepts a runner_class parameter
 
4581
  supporting the use of different runners. (Robert Collins)
 
4582
 
 
4583
* Change how file_ids and revision_ids are interned as part of
 
4584
  inventory deserialization. Now we use the real ``intern()``, rather
 
4585
  than our own workaround that would also cache a Unicode copy of the
 
4586
  string, and never emptied the cache. This should slightly reduce
 
4587
  memory consumption. (John Arbash Meinel)
 
4588
 
 
4589
* New branch method ``create_clone_on_transport`` that returns a
 
4590
  branch object. (Robert Collins)
 
4591
 
 
4592
* New hook Commands['extend_command'] to allow plugins to access a
 
4593
  command object before the command is run (or help generated from
 
4594
  it), without overriding the command. (Robert Collins)
 
4595
 
 
4596
* New version of the ``BzrDir.find_repository`` verb supporting
 
4597
  ``_network_name`` to support removing more _ensure_real calls.
 
4598
  (Robert Collins)
 
4599
 
 
4600
* ``RemoteBranchFormat`` no longer claims to have a disk format string.
 
4601
  (Robert Collins)
 
4602
 
 
4603
* ``Repository`` objects now have ``suspend_write_group`` and
 
4604
  ``resume_write_group`` methods.  These are currently only useful
 
4605
  with pack repositories. (Andrew Bennetts, Robert Collins)
 
4606
 
 
4607
* ``BzrDirFormat``, ``BranchFormat`` and ``RepositoryFormat`` objects
 
4608
  now have a ``network_name`` for passing the format across RPC calls.
 
4609
  (Robert Collins, Andrew Bennetts)
 
4610
 
 
4611
* ``RepositoryFormat`` objects now all have a new attribute
 
4612
  ``_serializer`` used by fetch when reserialising is required.
 
4613
  (Robert Collins, Andrew Bennetts)
 
4614
 
 
4615
* Some methods have been pulled up from ``BzrBranch`` to ``Branch``
 
4616
  to aid branch types that are not bzr branch objects (like
 
4617
  RemoteBranch). (Robert Collins, Andrew Bennetts)
 
4618
 
 
4619
* Test adaptation has been made consistent throughout the built in
 
4620
  tests. ``TestScenarioApplier``, ``multiply_tests_from_modules``,
 
4621
  ``adapt_tests``, ``adapt_modules`` have all been deleted. Please
 
4622
  use ``multiply_tests``, or for lower level needs ``apply_scenarios``
 
4623
  and ``apply_scenario``. (Robert Collins)
 
4624
 
 
4625
* ``TestSkipped`` is now detected by TestCase and passed to the
 
4626
  ``TestResult`` by calling ``addSkip``. For older TestResult objects,
 
4627
  where ``addSkip`` is not available, ``addError`` is still called.
 
4628
  This permits test filtering in subunit to strip out skipped tests
 
4629
  resulting in a faster fix-shrink-list-run cycle. This is compatible
 
4630
  with the testtools protocol for skips. (Robert Collins)
 
4631
 
 
4632
* The ``_index`` of ``KnitVersionedFiles`` now supports the ability
 
4633
  to scan an underlying index that is going to be incorporated into
 
4634
  the ``KnitVersionedFiles`` object, to determine if it has missing
 
4635
  delta references. The method is ``scan_unvalidated_index``.
 
4636
  (Andrew Bennetts, Robert Collins)
 
4637
 
 
4638
* There is a RemoteSink object which handles pushing to smart servers.
 
4639
  (Andrew Bennetts, Robert Collins)
 
4640
 
 
4641
* ``TransportTraceDecorator`` now logs ``put_bytes_non_atomic`` and
 
4642
  ``rmdir`` calls. (Robert Collins)
 
4643
 
 
4644
* ``VersionedFiles`` record adapters have had their signature change
 
4645
  from ``(record, record.get_bytes_as(record.storage_kind))`` to
 
4646
  ``(record)`` reducing excess duplication and allowing adapters
 
4647
  to access private data in record to obtain content more
 
4648
  efficiently. (Robert Collins)
 
4649
 
 
4650
* We no longer probe to see if we should create a working tree during
 
4651
  clone if we cannot get a local_abspath for the new bzrdir.
 
4652
  (Robert Collins)
 
4653
 
 
4654
 
 
4655
bzr 1.12
 
4656
########
 
4657
 
 
4658
:Codename: 1234567890
 
4659
:1.12: 2009-02-13
 
4660
:1.12rc1: 2009-02-10
 
4661
 
 
4662
This release of Bazaar contains many improvements to the speed,
 
4663
documentation and functionality of ``bzr log`` and the display of logged
 
4664
revisions by ``bzr status``.  bzr now also gives a better indication of
 
4665
progress, both in the way operations are drawn onto a text terminal, and
 
4666
by showing the rate of network IO.
 
4667
 
 
4668
Changes from RC1 to Final
 
4669
*************************
 
4670
 
 
4671
* ``bzr init --development-wt5[-rich-root]`` would fail because of
 
4672
  circular import errors. (John Arbash Meinel, #328135)
 
4673
 
 
4674
* Expanded the help for log and added a new help topic called
 
4675
  ``log-formats``.  (Ian Clatworthy)
 
4676
 
 
4677
Compatibility Breaks
 
4678
********************
 
4679
 
 
4680
* By default, ``bzr status`` after a merge now shows just the pending
 
4681
  merge tip revisions. This improves the signal-to-noise ratio after
 
4682
  merging from trunk and completes much faster. To see all merged
 
4683
  revisions, use the new ``-v`` flag.  (Ian Clatworthy)
 
4684
 
 
4685
* ``bzr log --line`` now shows any tags after the date and before
 
4686
  the commit message. If you have scripts which parse the output
 
4687
  from this command, you may need to adjust them accordingly.
 
4688
  (Ian Clatworthy)
 
4689
 
 
4690
* ``bzr log --short`` now shows any additional revision properties
 
4691
  after the date and before the commit message.  Scripts that parse 
 
4692
  output of the log command in this situation may need to adjust.
 
4693
  (Neil Martinsen-Burrell)
 
4694
 
 
4695
* The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root``
 
4696
  have been renamed ``development-wt5`` and ``development-wt5-rich-root``
 
4697
  respectively, given they are not ready for release in 1.12.
 
4698
  (Ian Clatworthy)
 
4699
 
 
4700
* ``read_bundle_from_url`` has been deprecated. (Vincent Ladeuil)
 
4701
 
 
4702
New Features
 
4703
************
 
4704
 
 
4705
* Add support for filtering ``bzr missing`` on revisions.  Remote revisions
 
4706
  can be filtered using ``bzr missing -r -20..-10`` and local revisions can
 
4707
  be filtered using ``bzr missing --my-revision -20..-10``.
 
4708
  (Marius Kruger)
 
4709
 
 
4710
* ``bzr log -p`` displays the patch diff for each revision.
 
4711
  When logging a file, the diff only includes changes to that file.
 
4712
  (Ian Clatworthy, #202331, #227335)
 
4713
 
 
4714
* ``bzr log`` supports a new option called ``-n N`` or ``--level N``.
 
4715
  A value of 0 (zero) means "show all nested merge revisions" while
 
4716
  a value of 1 (one) means "show just the top level". Values above
 
4717
  1 can be used to see a limited amount of nesting. That can be
 
4718
  useful for seeing the level or two below PQM submits for example.
 
4719
  To force the ``--short`` and ``--line`` formats to display all nested
 
4720
  merge revisions just like ``--long`` does by default, use a command
 
4721
  like ``bzr log --short -n0``. To display just the mainline using
 
4722
  ``--long`` format, ``bzr log --long -n1``.
 
4723
  (Ian Clatworthy)
 
4724
 
 
4725
Improvements
 
4726
************
 
4727
 
 
4728
* ``bzr add`` more clearly communicates success vs failure.
 
4729
  (Daniel Watkins)
 
4730
 
 
4731
* ``bzr init`` will now print a little less verbose output.
 
4732
  (Marius Kruger)
 
4733
 
 
4734
* ``bzr log`` is now much faster in many use cases, particularly
 
4735
  at incrementally displaying results and filtering by a
 
4736
  revision range. (Ian Clatworthy)
 
4737
 
 
4738
* ``bzr log --short`` and ``bzr log --line`` now show tags, if any,
 
4739
  for each revision. The tags are shown comma-separated inside
 
4740
  ``{}``. For short format, the tags appear at the end of line
 
4741
  before the optional ``[merge]`` indicator. For line format,
 
4742
  the tags appear after the date. (Ian Clatworthy)
 
4743
 
 
4744
* Progress bars now show the rate of activity for some sftp 
 
4745
  operations, and they are drawn different.  (Martin Pool, #172741)
 
4746
 
 
4747
* Progress bars now show the rate of activity for urllib and pycurl based
 
4748
  http client implementations. The operations are tracked at the socket
 
4749
  level for better precision.
 
4750
  (Vincent Ladeuil)
 
4751
 
 
4752
* Rule-based preferences can now accept multiple patterns for a set of
 
4753
  rules.  (Marius Kruger)
 
4754
 
 
4755
* The ``ancestor:`` revision spec will now default to referring to the
 
4756
  parent of the branch if no other location is given.
 
4757
  (Daniel Watkins, #198417)
 
4758
 
 
4759
* The debugger started as a result of setting ``$BZR_PDB`` works
 
4760
  around a bug in ``pdb``, http://bugs.python.org/issue4150.  The bug
 
4761
  can cause truncated tracebacks in Python versions before 2.6.
 
4762
  (Andrew Bennetts)
 
4763
 
 
4764
* VirtualVersionedFiles now implements
 
4765
  ``iter_lines_added_or_present_in_keys``. This allows the creation of 
 
4766
  new branches based on stacked bzr-svn branches. (#311997)
 
4767
 
 
4768
Bug Fixes
 
4769
*********
 
4770
 
 
4771
* ``bzr annotate --show-ids`` doesn't give a backtrace on empty files
 
4772
  anymore.
 
4773
  (Anne Mohsen, Vincent Ladeuil, #314525)
 
4774
 
 
4775
* ``bzr log FILE`` now correctly shows mainline revisions merging
 
4776
  a change to FILE when the ``--short`` and ``--line`` log formats
 
4777
  are used. (Ian Clatworthy, #317417)
 
4778
 
 
4779
* ``bzr log -rX..Y FILE`` now shows the history of FILE provided
 
4780
  it existed in Y or X, even if the file has since been deleted or
 
4781
  renamed. If no range is given, the current/basis tree and
 
4782
  initial tree are searched in that order. More generally, log
 
4783
  now interprets filenames in their historical context.
 
4784
  (Ian Clatworthy, #175520)
 
4785
 
 
4786
* ``bzr status`` now reports nonexistent files and continues, then
 
4787
  errors (with code 3) at the end.  (Karl Fogel, #306394)
 
4788
 
 
4789
* Don't require the present compression base in knits to be the same
 
4790
  when adding records in knits. (Jelmer Vernooij, #307394)
 
4791
 
 
4792
* Fix a problem with CIFS client/server lag on Windows colliding with
 
4793
  an invariant-per-process algorithm for generating AtomicFile names
 
4794
  (Adrian Wilkins, #304023)
 
4795
 
 
4796
* Many socket operations now handle EINTR by retrying the operation.
 
4797
  Previously EINTR was treated as an unrecoverable failure.  There is
 
4798
  a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
 
4799
  (Andrew Bennetts)
 
4800
 
 
4801
* Support symlinks with non-ascii characters in the symlink filename.
 
4802
  (Jelmer Vernooij, #319323)
 
4803
 
 
4804
* There was a bug in how we handled resolving when a file is deleted
 
4805
  in one branch, and modified in the other. If there was a criss-cross
 
4806
  merge, we would cause the deletion to conflict a second time.
 
4807
  (Vincent Ladeuil, John Arbash Meinel)
 
4808
 
 
4809
* There was another bug in how we chose the correct intermediate LCA in
 
4810
  criss-cross merges leading to several kind of changes be incorrectly
 
4811
  handled.
 
4812
  (John Arbash Meinel, Vincent Ladeuil)
 
4813
 
 
4814
* Unshelve now handles deleted paths without crashing. (Robert Collins)
 
4815
 
 
4816
Documentation
 
4817
*************
 
4818
 
 
4819
* Improved plugin developer documentation.  (Martin Pool)
 
4820
 
 
4821
API Changes
 
4822
***********
 
4823
 
 
4824
* ``ProgressBarStack`` is deprecated; instead use
 
4825
  ``ui_factory.nested_progress_bar`` to create new progress bars.
 
4826
  (Martin Pool)
 
4827
 
 
4828
* ForeignVcsMapping() now requires a ForeignVcs object as first
 
4829
  argument. (Jelmer Vernooij)
 
4830
 
 
4831
* ForeignVcsMapping.show_foreign_revid() has been moved to
 
4832
  ForeignVcs. (Jelmer Vernooij)
 
4833
 
 
4834
* ``read_bundle_from_url`` is deprecated in favor of
 
4835
  ``read_mergeable_from_url``.  (Vincent Ladeuil)
 
4836
 
 
4837
* Revision specifiers are now registered in
 
4838
  ``bzrlib.revisionspec.revspec_registry``, and the old list of 
 
4839
  revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been
 
4840
  deprecated. (Jelmer Vernooij, #321183)
 
4841
 
 
4842
* The progress and UI classes have changed; the main APIs remain the
 
4843
  same but code that provides a new UI or progress bar class may
 
4844
  need to be updated.  (Martin Pool)
 
4845
 
 
4846
Internals
 
4847
*********
 
4848
 
 
4849
* Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb
 
4850
  terminal. It is sometimes desirable do override this default by forcing
 
4851
  bzr to use TextUIFactory. This can be achieved by setting the
 
4852
  BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to
 
4853
  compile buffers, are such an example).
 
4854
  (Vincent Ladeuil)
 
4855
 
 
4856
* New API ``Branch.iter_merge_sorted_revisions()`` that iterates over
 
4857
  ``(revision_id, depth, revno, end_of_merge)`` tuples.
 
4858
  (Ian Clatworthy)
 
4859
 
 
4860
* New ``Branch.dotted_revno_to_revision_id()`` and
 
4861
  ``Branch.revision_id_to_dotted_revno()`` APIs that pick the most
 
4862
  efficient way of doing the mapping.
 
4863
  (Ian Clatworthy)
 
4864
 
 
4865
* Refactor cmd_serve so that it's a little easier to build commands that
 
4866
  extend it, and perhaps even a bit easier to read.  (Jonathan Lange)
 
4867
 
 
4868
* ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
 
4869
  formatters to retrict the output.
 
4870
  (Vincent Ladeuil)
 
4871
 
 
4872
 
 
4873
bzr 1.11
 
4874
########
 
4875
 
 
4876
:Codename: "Eyes up!"
 
4877
:Released: 2009-01-19
 
4878
 
 
4879
This first monthly release of Bazaar for 2009 improves Bazaar's operation
 
4880
in Windows, Mac OS X, and other situations where file names are matched
 
4881
without regard to capitalization: Bazaar tries to match the case of an
 
4882
existing file.  This release of Bazaar also improves the efficiency of
 
4883
Tortoise Windows Shell integration and lets it work on 64-bit platforms.
 
4884
 
 
4885
The UI through which Bazaar supports historic formats has been improved,
 
4886
so 'bzr help formats' now gives a simpler and shorter list, with clear
 
4887
advice.
 
4888
 
 
4889
This release also fixes a number of bugs, particularly a glitch that can
 
4890
occur when there are concurrent writes to a pack repository.
 
4891
 
 
4892
Bug Fixes
 
4893
*********
 
4894
 
 
4895
* Fix failing test when CompiledChunksToLines is not available.
 
4896
  (Vincent Ladeuil)
 
4897
 
 
4898
* Stacked branches don't repeatedly open their transport connection.
 
4899
  (John Arbash Meinel)
 
4900
 
 
4901
 
 
4902
 
 
4903
bzr 1.11rc1
 
4904
###########
 
4905
 
 
4906
:Codename: "Eyes up!"
 
4907
:Released: 2009-01-09
 
4908
 
 
4909
Changes
 
4910
*******
 
4911
 
 
4912
* Formats using Knit-based repository formats are now explicitly
 
4913
  marked as deprecated. (Ian Clatworthy)
 
4914
 
 
4915
New Features
 
4916
************
 
4917
 
 
4918
* Add support for `bzr tags -r 1..2`, that is we now support showing
 
4919
  tags applicable for a specified revision range. (Marius Kruger)
 
4920
 
 
4921
* ``authentication.conf`` now accepts pluggable read-only credential
 
4922
  stores. Such a plugin (``netrc_credential_store``) is now included,
 
4923
  handles the ``$HOME/.netrc`` file and can server as an example to
 
4924
  implement other plugins.
 
4925
  (Vincent Ladeuil)
 
4926
 
 
4927
* ``shelve --list`` can now be used to list shelved changes.
 
4928
  (Aaron Bentley)
 
4929
 
 
4930
Improvements
 
4931
************
 
4932
 
 
4933
* Add trailing slash to directories in all output of ``bzr ls``, except
 
4934
  ``bzr ls --null``. (Gordon P. Hemsley, #306424)
 
4935
 
 
4936
* ``bzr revision-info`` now supports a -d option to specify an
 
4937
  alternative branch. (Michael Hudson)
 
4938
 
 
4939
* Add connection to a C++ implementation of the Windows Shell Extension
 
4940
  which is able to fully replace the current Python implemented one.
 
4941
  Advantages include 64bit support and reduction in overhead for
 
4942
  processes which drag in shell extensions.
 
4943
  (Mark Hammond)
 
4944
 
 
4945
* Support the Claws mail client directly, rather than via
 
4946
  xdg-email. This prevents the display of an unnecessary modal
 
4947
  dialog in Claws, informing the user that a file has been
 
4948
  attached to the message, and works around bug #291847 in
 
4949
  xdg-utils which corrupts the destination address.
 
4950
 
 
4951
* When working on a case-insensitive case-preserving file-system, as
 
4952
  commonly found with Windows, bzr will often ignore the case of the
 
4953
  arguments specified by the user in preference to the case of an existing
 
4954
  item on the file-system or in the inventory to help prevent
 
4955
  counter-intuitive behaviour on Windows. (Mark Hammond)
 
4956
 
 
4957
Bug Fixes
 
4958
*********
 
4959
  
 
4960
* Allow BzrDir implementation to implement backing up of 
 
4961
  control directory. (#139691)
 
4962
 
 
4963
* ``bzr push`` creating a new stacked branch will now only open a
 
4964
  single connection to the target machine. (John Arbash Meinel)
 
4965
 
 
4966
* Don't call iteritems on transport_list_registry, because it may
 
4967
  change during iteration.  (Martin Pool, #277048)
 
4968
 
 
4969
* Don't make a broken branch when pushing an unstackable-format branch
 
4970
  that's in a stackable shared repository to a location with default
 
4971
  stack-on location.  (Andrew Bennetts, #291046)
 
4972
 
 
4973
* Don't require embedding user in HTTP(S) URLs do use authentication.conf.
 
4974
  (Ben Jansen, Vincent Ladeuil, #300347)
 
4975
 
 
4976
* Fix a problem with CIFS client/server lag on windows colliding with
 
4977
  an invariant-per-process algorithm for generating AtomicFile names
 
4978
  (Adrian Wilkins, #304023)
 
4979
 
 
4980
* Fix bogus setUp signature in UnavailableFTPServer.
 
4981
  (Gary van der Merwe, #313498)
 
4982
 
 
4983
* Fix compilation error in ``_dirstate_helpers_c`` on SunOS/Solaris.
 
4984
  (Jari Aalto)
 
4985
 
 
4986
* Fix SystemError in ``_patiencediff_c`` module by calling
 
4987
  PyErr_NoMemory() before returning NULL in PatienceSequenceMatcher_new.
 
4988
  (Andrew Bennetts, #303206)
 
4989
 
 
4990
* Give proper error message for diff with non-existent dotted revno.
 
4991
  (Marius Kruger, #301969)
 
4992
 
 
4993
* Handle EACCES (permission denied) errors when launching a message
 
4994
  editor, and emit warnings when a configured editor cannot be
 
4995
  started. (Andrew Bennetts)
 
4996
 
 
4997
* ``$HOME/.netrc`` file is now recognized as a read-only credential store
 
4998
  if configured in ``authentication.conf`` with 'password_encoding=netrc'
 
4999
  in the appropriate sections.
 
5000
  (Vincent Ladeuil, #103029)
 
5001
 
 
5002
* Opening a stacked branch now properly shares the connection, rather
 
5003
  than opening a new connection for the stacked-on branch.
 
5004
  (John Arbash meinel)
 
5005
 
 
5006
* Preserve transport decorators while following redirections.
 
5007
  (Vincent Ladeuil, #245964, #270863)
 
5008
 
 
5009
* Provides a finer and more robust filter for accepted redirections.
 
5010
  (Vincent Ladeuil, #303959, #265070)
 
5011
 
 
5012
* ``shelve`` paths are now interpreted relative to the current working
 
5013
  tree.  (Aaron Bentley)
 
5014
 
 
5015
* ``Transport.readv()`` defaults to not reading more than 100MB in a
 
5016
  single array. Further ``RemoteTransport.readv`` sets this to 5MB to
 
5017
  work better with how it splits its requests.
 
5018
  (John Arbash Meinel, #303538)
 
5019
 
 
5020
* Pack repositories are now able to reload the pack listing and retry
 
5021
  the current operation if another action causes the data to be
 
5022
  repacked.  (John Arbash Meinel, #153786)
 
5023
 
 
5024
* ``pull -v`` now respects the log_format configuration variable.
 
5025
  (Aaron Bentley)
 
5026
 
 
5027
* ``push -v`` now works on non-initial pushes.  (Aaron Bentley)
 
5028
 
 
5029
* Use the short status format when the short format is used for log.
 
5030
  (Vincent Ladeuil, #87179)
 
5031
 
 
5032
* Allow files to be renamed or moved via remove + add-by-id. (Charles
 
5033
  Duffy, #314251)
 
5034
 
 
5035
Documentation
 
5036
*************
 
5037
 
 
5038
* Improved the formats help topic to explain why multiple formats
 
5039
  exist and to provide guidelines in selecting one. Introduced
 
5040
  two new supporting help topics: current-formats and other-formats.
 
5041
  (Ian Clatworthy)
 
5042
 
 
5043
API Changes
 
5044
***********
 
5045
 
 
5046
* ``LRUCache(after_cleanup_size)`` was renamed to
 
5047
  ``after_cleanup_count`` and the old name deprecated. The new name is
 
5048
  used for clarity, and to avoid confusion with
 
5049
  ``LRUSizeCache(after_cleanup_size)``. (John Arbash Meinel)
 
5050
 
 
5051
* New ``ForeignRepository`` base class, to help with foreign branch 
 
5052
  support (e.g. svn).  (Jelmer Vernooij)
 
5053
 
 
5054
* ``node_distances`` and ``select_farthest`` can no longer be imported
 
5055
  from ``bzrlib.graph``.  They can still be imported from
 
5056
  ``bzrlib.deprecated_graph``, which has been the preferred way to
 
5057
  import them since before 1.0.  (Andrew Bennetts)
 
5058
  
 
5059
* The logic in commit now delegates inventory basis calculations to
 
5060
  the ``CommitBuilder`` object; this requires that the commit builder
 
5061
  in use has been updated to support the new ``recording_deletes`` and
 
5062
  ``record_delete`` methods. (Robert Collins)
 
5063
 
 
5064
Testing
 
5065
*******
 
5066
 
 
5067
* An HTTPS server is now available (it requires python-2.6). Future bzr
 
5068
  versions will allow the use of the python-2.6 ssl module that can be
 
5069
  installed for 2.5 and 2.4.
 
5070
 
 
5071
* ``bzr selftest`` now fails if new trailing white space is added to
 
5072
  the bazaar sources. It only checks changes not committed yet. This
 
5073
  means that PQM will now reject changes that introduce new trailing
 
5074
  whitespace. (Marius Kruger)
 
5075
 
 
5076
* Introduced new experimental formats called ``1.12-preview`` and
 
5077
  ``1.12-preview-rich-root`` to enable testing of related pending
 
5078
  features, namely content filtering and filtered views.
 
5079
  (Ian Clatworthy)
 
5080
 
 
5081
Internals
 
5082
*********
 
5083
 
 
5084
* Added an ``InventoryEntry`` cache when deserializing inventories.
 
5085
  Can cut the time to iterate over multiple RevisionsTrees in half.
 
5086
  (John Arbash Meinel)
 
5087
 
 
5088
* Added ``bzrlib.fifo_cache.FIFOCache`` which is designed to have
 
5089
  minimal overhead versus using a plain dict for cache hits, at the
 
5090
  cost of not preserving the 'active' set as well as an ``LRUCache``.
 
5091
  (John Arbash Meinel)
 
5092
 
 
5093
* ``bzrlib.patience_diff.unified_diff`` now properly uses a tab
 
5094
  character to separate the filename from the date stamp, and doesn't
 
5095
  add trailing whitespace when a date stamp is not supplied.
 
5096
  (Adeodato Simó, John Arbash Meinel)
 
5097
 
 
5098
* ``DirStateWorkingTree`` and ``DirStateWorkingTreeFormat`` added
 
5099
  as base classes of ``WorkingTree4`` and ``WorkingTreeFormat4``
 
5100
  respectively. (Ian Clatworthy)
 
5101
 
 
5102
* ``KnitVersionedFiles._check_should_delta()`` now uses the
 
5103
  ``get_build_details`` api to avoid multiple hits to the index, and
 
5104
  to properly follow the ``compression_parent`` rather than assuming
 
5105
  it is the left-hand parent. (John Arbash Meinel)
 
5106
 
 
5107
* ``KnitVersionedFiles.get_record_stream()`` will now chose a
 
5108
  more optimal ordering when the keys are requested 'unordered'.
 
5109
  Previously the order was fully random, now the records should be
 
5110
  returned from each pack in turn, in forward I/O order.
 
5111
  (John Arbash Meinel)
 
5112
    
 
5113
* ``mutter()`` will now flush the ``~/.bzr.log`` if it has been more
 
5114
  than 2s since the last time it flushed. (John Arbash Meinel)
 
5115
 
 
5116
* New method ``bzrlib.repository.Repository.add_inventory_by_delta``
 
5117
  allows adding an inventory via an inventory delta, which can be
 
5118
  more efficient for some repository types. (Robert Collins)
 
5119
 
 
5120
* Repository ``CommitBuilder`` objects can now accumulate an inventory
 
5121
  delta. To enable this functionality call ``builder.recording_deletes``
 
5122
  and additionally call ``builder.record_delete`` when a delete
 
5123
  against the basis occurs. (Robert Collins)
 
5124
 
 
5125
* The default http handler has been changed from pycurl to urllib.
 
5126
  The default is still pycurl for https connections. (The only
 
5127
  advantage of pycurl is that it checks ssl certificates.)
 
5128
  (John Arbash Meinel)
 
5129
 
 
5130
* ``VersionedFiles.get_record_stream()`` can now return objects with a
 
5131
  storage_kind of ``chunked``. This is a collection (list/tuple) of
 
5132
  strings. You can use ``osutils.chunks_to_lines()`` to turn them into
 
5133
  guaranteed 'lines' or you can use ``''.join(chunks)`` to turn it
 
5134
  into a fulltext. This allows for some very good memory savings when
 
5135
  asking for many texts that share ancestry, as the individual chunks
 
5136
  can be shared between versions of the file. (John Arbash Meinel)
 
5137
 
 
5138
* ``pull -v`` and ``push -v`` use new function
 
5139
  ``bzrlib.log.show_branch_change`` (Aaron Bentley)
 
5140
 
 
5141
 
 
5142
 
 
5143
bzr 1.10
 
5144
########
 
5145
 
 
5146
:Released: 2008-12-05
 
5147
 
 
5148
Bazaar 1.10 has several performance improvements for copying revisions
 
5149
(especially for small updates to large projects).  There has also been a
 
5150
significant amount of effort in polishing stacked branches.  The commands
 
5151
``shelve`` and ``unshelve`` have become core commands, with an improved
 
5152
implementation.
 
5153
 
 
5154
The only changes versus bzr-1.10rc1 are bugfixes for stacked branches.
 
5155
 
 
5156
bug Fixes
 
5157
*********
 
5158
 
 
5159
* Don't set a pack write cache size from RepoFetcher, because the
 
5160
  cache is not coherent with reads and causes ShortReadvErrors.
 
5161
  This reverses the change that fixed #294479.
 
5162
  (Martin Pool, #303856)
 
5163
 
 
5164
* Properly handle when a revision can be inserted as a delta versus
 
5165
  when it needs to be expanded to a fulltext for stacked branches.
 
5166
  There was a bug involving merge revisions. As a method to help
 
5167
  prevent future difficulties, also make stacked fetches sort
 
5168
  topologically. (John Arbash Meinel, #304841)
 
5169
 
 
5170
 
 
5171
bzr 1.10rc1
 
5172
###########
 
5173
 
 
5174
:Released: 2008-11-28
 
5175
 
 
5176
This release of Bazaar focuses on performance improvements when pushing
 
5177
and pulling revisions, both locally and to remote networks.  The popular
 
5178
``shelve`` and ``unshelve`` commands, used to interactively revert and
 
5179
restore work in progress, have been merged from bzrtools into the bzr
 
5180
core.  There are also bug fixes for portability, and for stacked branches.
 
5181
 
 
5182
New Features
 
5183
************
 
5184
 
 
5185
* New ``commit_message_template`` hook that is called by the commit
 
5186
  code to generate a template commit message. (Jelmer Vernooij)
 
5187
 
 
5188
* New `shelve` and `unshelve` commands allow undoing and redoing changes.
 
5189
  (Aaron Bentley)
 
5190
 
 
5191
Improvements
 
5192
************
 
5193
 
 
5194
* ``(Remote)Branch.copy_content_into`` no longer generates the full revision
 
5195
  history just to set the last revision info.
 
5196
  (Andrew Bennetts, John Arbash Meinel)
 
5197
 
 
5198
* Fetches between formats with different serializers (such as
 
5199
  pack-0.92-subtree and 1.9-rich-root) are faster now.  This is due to
 
5200
  operating on batches of 100 revisions at time rather than
 
5201
  one-by-one.  (Andrew Bennetts, John Arbash Meinel)
 
5202
 
 
5203
* Search index files corresponding to pack files we've already used
 
5204
  before searching others, because they are more likely to have the
 
5205
  keys we're looking for.  This reduces the number of iix and tix
 
5206
  files accessed when pushing 1 new revision, for instance.
 
5207
  (John Arbash Meinel)
 
5208
 
 
5209
* Signatures to transfer are calculated more efficiently in
 
5210
  ``item_keys_introduced_by``.  (Andrew Bennetts, John Arbash Meinel)
 
5211
 
 
5212
* The generic fetch code can once again copy revisions and signatures
 
5213
  without extracting them completely to fulltexts and then serializing
 
5214
  them back down into byte strings. This is a significant performance
 
5215
  improvement when fetching from a stacked branch.
 
5216
  (John Arbash Meinel, #300289)
 
5217
 
 
5218
* When making a large readv() request over ``bzr+ssh``, break up the
 
5219
  request into more manageable chunks. Because the RPC is not yet able
 
5220
  to stream, this helps keep us from buffering too much information at
 
5221
  once. (John Arbash Meinel)
 
5222
 
 
5223
Bug Fixes
 
5224
*********
 
5225
 
 
5226
* Better message when the user needs to set their Launchpad ID.
 
5227
  (Martin Pool, #289148)
 
5228
 
 
5229
* ``bzr commit --local`` doesn't access the master branch anymore.
 
5230
  This fixes a regression introduced in 1.9.  (Marius Kruger, #299313)
 
5231
 
 
5232
* Don't call the system ``chdir()`` with an empty path. Sun OS seems
 
5233
  to give an error in that case.  Also, don't count on ``getcwd()``
 
5234
  being able to allocate a new buffer, which is a gnu extension.
 
5235
  (John Arbash Meinel, Martin Pool, Harry Hirsch, #297831)
 
5236
 
 
5237
* Don't crash when requesting log --forward <file> for a revision range
 
5238
  starting with a dotted revno.
 
5239
  (Vincent Ladeuil, #300055)
 
5240
 
 
5241
* Don't create text deltas spanning stacked repositories; this could
 
5242
  cause "Revision X not present in Y" when later accessing them.
 
5243
  (Martin Pool, #288751)
 
5244
 
 
5245
* Pack repositories are now able to reload the pack listing and retry
 
5246
  the current operation if another action causes the data to be
 
5247
  repacked.  (John Arbash Meinel, #153786)
 
5248
 
 
5249
* PermissionDenied errors from smart servers no longer cause
 
5250
  "PermissionDenied: "None"" on the client.
 
5251
  (Andrew Bennetts, #299254)
 
5252
 
 
5253
* Pushing to a stacked pack repository now batches writes, the same
 
5254
  way writes are batched to ordinary pack repository.  This makes
 
5255
  pushing to a stacked branch over the network much faster.
 
5256
  (Andrew Bennetts, #294479)
 
5257
 
 
5258
* TooManyConcurrentRequests no longer occur when a fetch fails and
 
5259
  tries to abort a write group.  This allows the root cause (e.g. a
 
5260
  network interruption) to be reported.  (Andrew Bennetts, #297014)
 
5261
 
 
5262
* RemoteRepository.get_parent_map now uses fallback repositories.
 
5263
  (Aaron Bentley, #297991?, #293679?)
 
5264
 
 
5265
API Changes
 
5266
***********
 
5267
 
 
5268
* ``CommitBuilder`` now validates the strings it will be committing,
 
5269
  to ensure that they do not have characters that will not be properly
 
5270
  round-tripped. For now, it just checks for characters that are
 
5271
  invalid in the XML form. (John Arbash Meinel, #295161)
 
5272
 
 
5273
* Constructor parameters for NewPack (internal to pack repositories)
 
5274
  have changed incompatibly.
 
5275
 
 
5276
* ``Repository.abort_write_group`` now accepts an optional
 
5277
  ``suppress_errors`` flag.  Repository implementations that override
 
5278
  ``abort_write_group`` will need to be updated to accept the new
 
5279
  argument.  Subclasses that only override ``_abort_write_group``
 
5280
  don't need to change.
 
5281
 
 
5282
* Transport implementations must provide copy_tree_to_transport.  A default
 
5283
  implementation is provided for Transport subclasses.
 
5284
 
 
5285
Testing
 
5286
*******
 
5287
 
 
5288
* ``bzr selftest`` now fails if no doctests are found in a module
 
5289
  that's expected to have them.  (Martin Pool)
 
5290
 
 
5291
* Doctests now only report the first failure.  (Martin Pool)
 
5292
 
 
5293
 
 
5294
bzr 1.9
 
5295
#######
 
5296
 
 
5297
:Released: 2008-11-07
 
5298
 
 
5299
This release of Bazaar adds a new repository format, ``1.9``, with smaller
 
5300
and more efficient index files.  This format can be specified when
 
5301
creating a new repository, or used to losslessly upgrade an existing
 
5302
repository.  bzr 1.9 also speeds most operations over the smart server
 
5303
protocol, makes annotate faster, and uses less memory when making
 
5304
checkouts or pulling large amounts of data.
 
5305
 
 
5306
Bug Fixes
 
5307
*********
 
5308
 
 
5309
* Fix "invalid property value 'branch-nick' for None" regression with
 
5310
  branches bound to svn branches.  (Martin Pool, #293440)
 
5311
 
 
5312
* Fix SSL/https on Python2.6.  (Vincent Ladeuil, #293054)
 
5313
 
 
5314
* ``SFTPTransport.readv()`` had a bug when requests were out-of-order.
 
5315
  This only triggers some-of-the-time on Knit format repositories.
 
5316
  (John Arbash Meinel, #293746)
 
5317
 
 
5318
 
 
5319
bzr 1.9rc1
 
5320
##########
 
5321
 
 
5322
:Released: 2008-10-31
 
5323
 
 
5324
New Features
 
5325
************
 
5326
 
 
5327
* New Branch hook ``transform_fallback_location`` allows a function to
 
5328
  be called when looking up the stacked source. (Michael Hudson)
 
5329
 
 
5330
* New repository formats ``1.9`` and ``1.9-rich-root``. These have all
 
5331
  the functionality of ``1.6``, but use the new btree indexes.
 
5332
  These indexes are both smaller and faster for access to historical
 
5333
  information.  (John Arbash Meinel)
 
5334
 
 
5335
Improvements
 
5336
************
 
5337
 
 
5338
* ``BTreeIndex`` code now is able to prefetch extra pages to help tune
 
5339
  the tradeoff between bandwidth and latency. Should be tuned
 
5340
  appropriately to not impact commands which need minimal information,
 
5341
  but provide a significant boost to ones that need more context. Only
 
5342
  has a direct impact on the ``--development2`` format which uses
 
5343
  btree's for the indexes. (John Arbash Meinel)
 
5344
 
 
5345
* ``bzr dump-btree`` is a hidden command introduced to allow dumping
 
5346
  the contents of a compressed btree file.  (John Arbash Meinel)
 
5347
 
 
5348
* ``bzr pack`` now tells the index builders to optimize for size. For
 
5349
  btree index repositories, this can save 25% of the index size
 
5350
  (mostly in the text indexes). (John Arbash Meinel)
 
5351
 
 
5352
* ``bzr push`` to an existing branch or repository on a smart server
 
5353
  is faster, due to Bazaar making more use of the ``get_parent_map``
 
5354
  RPC when querying the remote branch's revision graph.
 
5355
  (Andrew Bennetts)
 
5356
 
 
5357
* default username for bzr+ssh and sftp can be configured in
 
5358
  authentication.conf. (Aaron Bentley)
 
5359
 
 
5360
* launchpad-login now provides a default username for bzr+ssh and sftp
 
5361
  URLs, allowing username-free URLs to work for everyone. (Aaron Bentley)
 
5362
 
 
5363
* ``lp:`` lookups no longer include usernames, making them shareable and
 
5364
  shorter. (Aaron Bentley)
 
5365
 
 
5366
* New ``PackRepository.autopack`` smart server RPC, which does
 
5367
  autopacking entirely on the server.  This is much faster than
 
5368
  autopacking via plain file methods, which downloads a large amount
 
5369
  of pack data and then re-uploads the same pack data into a single
 
5370
  file.  This fixes a major (although infrequent) cause of lengthy
 
5371
  delays when using a smart server.  For example, pushing the 10th
 
5372
  revision to a repository with 9 packs now takes 44 RPCs rather than
 
5373
  179, and much less bandwidth too.  This requires Bazaar 1.9 on both
 
5374
  the client and the server, otherwise the client will fallback to the
 
5375
  slower method.  (Andrew Bennetts)
 
5376
 
 
5377
Bug Fixes
 
5378
*********
 
5379
 
 
5380
* A failure to load a plugin due to an IncompatibleAPI exception is
 
5381
  now correctly reported. (Robert Collins, #279451)
 
5382
 
 
5383
* API versioning support now has a multiple-version checking api
 
5384
  ``require_any_api``. (Robert Collins, #279447)
 
5385
 
 
5386
* ``bzr branch --stacked`` from a smart server to a standalone branch
 
5387
  works again.  This fixes a regression in 1.7 and 1.8.
 
5388
  (Andrew Bennetts, #270397)
 
5389
 
 
5390
* ``bzr co`` uses less memory. It used to unpack the entire WT into
 
5391
  memory before writing it to disk. This was a little bit faster, but
 
5392
  consumed lots of memory. (John Arbash Meinel, #269456)
 
5393
 
 
5394
* ``bzr missing --quiet`` no longer prints messages about whether
 
5395
  there are missing revisions.  The exit code indicates whether there
 
5396
  were or not.  (Martin Pool, #284748)
 
5397
 
 
5398
* Fixes to the ``annotate`` code. The fast-path which re-used the
 
5399
  stored deltas was accidentally disabled all the time, instead of
 
5400
  only when a branch was stacked. Second, the code would accidentally
 
5401
  re-use a delta even if it wasn't against the left-parent, this
 
5402
  could only happen if ``bzr reconcile`` decided that the parent
 
5403
  ordering was incorrect in the file graph.  (John Arbash Meinel)
 
5404
 
 
5405
* "Permission denied" errors that occur when pushing a new branch to a
 
5406
  smart server no longer cause tracebacks.  (Andrew Bennetts, #278673)
 
5407
 
 
5408
* Some compatibility fixes for building the extensions with MSVC and
 
5409
  for python2.4. (John Arbash Meinel, #277484)
 
5410
 
 
5411
* The index logic is now able to reload the list of pack files if and
 
5412
  index ends up disappearing. We still don't reload if the pack data
 
5413
  itself goes missing after checking the index. This bug appears as a
 
5414
  transient failure (file not found) when another process is writing
 
5415
  to the repository.  (John Arbash Meinel, #153786)
 
5416
 
 
5417
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
5418
  it was previously set. All checkouts will now refer to the bound branch
 
5419
  for a nickname if one was not explicitly set.
 
5420
  (Marius Kruger, #230903)
 
5421
 
 
5422
Documentation
 
5423
*************
 
5424
 
 
5425
* Improved hook documentation. (Michael Ernst)
 
5426
 
 
5427
API Changes
 
5428
***********
 
5429
 
 
5430
* commands.plugins_cmds is now a CommandRegistry, not a dict.
 
5431
 
 
5432
Internals
 
5433
*********
 
5434
 
 
5435
* New AuthenticationConfig.set_credentials method allows easy programmatic
 
5436
  configuration of authetication credentials.
 
5437
 
 
5438
 
 
5439
bzr 1.8
 
5440
#######
 
5441
 
 
5442
:Released: 2008-10-16
 
5443
 
 
5444
Bazaar 1.8 includes several fixes that improve working tree performance,
 
5445
display of revision logs, and merges.  The bzr testsuite now passes on OS
 
5446
X and Python 2.6, and almost completely passes on Windows.  The
 
5447
smartserver code has gained several bug fixes and performance
 
5448
improvements, and can now run server-side hooks within an http server.
 
5449
 
 
5450
Bug Fixes
 
5451
*********
 
5452
 
 
5453
* Fix "Must end write group" error when another error occurs during
 
5454
  ``bzr push``.  (Andrew Bennetts, #230902)
 
5455
 
 
5456
Portability
 
5457
***********
 
5458
 
 
5459
* Some Pyrex versions require the WIN32 macro defined to compile on
 
5460
  that platform.  (Alexander Belchenko, Martin Pool, #277481)
 
5461
 
 
5462
 
 
5463
bzr 1.8rc1
 
5464
##########
 
5465
 
 
5466
:Released: 2008-10-07
 
5467
 
 
5468
Changes
 
5469
*******
 
5470
 
 
5471
* ``bzr log file`` has been changed. It now uses a different method
 
5472
  for determining which revisions to show as merging the changes to
 
5473
  the file. It now only shows revisions which merged the change
 
5474
  towards your mainline. This simplifies the output, makes it faster,
 
5475
  and reduces memory consumption.  (John Arbash Meinel)
 
5476
 
 
5477
* ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
 
5478
  ``--show-base`` is not supplied.  (John Arbash Meinel)
 
5479
 
 
5480
* ``bzr+http//`` will now optionally load plugins and write logs on the
 
5481
  server. (Marius Kruger)
 
5482
 
 
5483
* ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
 
5484
  Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
 
5485
  explicitly blacklist that version of the compiler for that
 
5486
  extension. Packaged versions will include .c files created with
 
5487
  pyrex >= 0.9.6 so it doesn't effect releases, only users running
 
5488
  from the source tree. (John Arbash Meinel, #276868)
 
5489
 
 
5490
Features
 
5491
********
 
5492
 
 
5493
* bzr is now compatible with python-2.6. python-2.6 is not yet officially
 
5494
  supported (nor released, tests were conducted with the dev version of
 
5495
  python-2.6rc2), but all known problems have been fixed.  Feedback
 
5496
  welcome.
 
5497
  (Vincent Ladeuil, #269535)
 
5498
 
 
5499
Improvements
 
5500
************
 
5501
 
 
5502
* ``bzr annotate`` will now include uncommitted changes from the local
 
5503
  working tree by default. Such uncommitted changes are given the
 
5504
  revision number they would get if a commit was done, followed with a
 
5505
  ? to indicate that its not actually known. (Robert Collins, #3439)
 
5506
 
 
5507
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
 
5508
  standalone branch regardless of the presence of shared repositories.
 
5509
  (Daniel Watkins)
 
5510
 
 
5511
* ``bzr push`` is faster in the case there are no new revisions to
 
5512
  push.  It is also faster if there are no tags in the local branch.
 
5513
  (Andrew Bennetts)
 
5514
 
 
5515
* File changes during a commit will update the tree stat cache.
 
5516
  (Robert Collins)
 
5517
 
 
5518
* Location aliases can now accept a trailing path.  (Micheal Hudson)
 
5519
 
 
5520
* New hooks ``Lock.hooks`` when LockDirs are acquired and released.
 
5521
  (Robert Collins, MartinPool)
 
5522
 
 
5523
* Switching in heavyweight checkouts uses the master branch's context, not
 
5524
  the checkout's context.  (Adrian Wilkins)
 
5525
 
 
5526
* ``status`` on large trees is now faster, due to optimisations in the
 
5527
  walkdirs code. Of particular note, the walkdirs code now performs
 
5528
  a temporary ``chdir()`` while reading a single directory; if your
 
5529
  platform has non thread-local current working directories (and is
 
5530
  not windows which has its own implementation), this may introduce a
 
5531
  race condition during concurrent uses of bzrlib. The bzrlib CLI
 
5532
  will not encounter this as it is single threaded for working tree
 
5533
  operations. (Robert Collins)
 
5534
 
 
5535
* The C extensions now build on python 2.4 (Robert Collins, #271939)
 
5536
 
 
5537
* The ``-Dhpss`` debug flag now reports the number of smart server
 
5538
  calls per medium to stderr.  This is in addition to the existing
 
5539
  detailed logging to the .bzr.log trace file.  (Andrew Bennetts)
 
5540
 
 
5541
Bug Fixes
 
5542
*********
 
5543
 
 
5544
* Avoid random failures arising from misinterpreted ``errno`` values
 
5545
  in ``_readdir_pyx.read_dir``.
 
5546
  (Martin Pool, #279381)
 
5547
 
 
5548
* Branching from a shared repository on a smart server into a new
 
5549
  repository now preserves the repository format.
 
5550
  (Andrew Bennetts, #269214)
 
5551
 
 
5552
* ``bzr log`` now accepts a ``--change`` option.
 
5553
  (Vincent Ladeuil, #248427)
 
5554
 
 
5555
* ``bzr missing`` now accepts an ``--include-merges`` option.
 
5556
  (Vincent Ladeuil, #233817)
 
5557
 
 
5558
* Don't try to filter (internally) '.bzr' from the files to be deleted if
 
5559
  it's not there.
 
5560
  (Vincent Ladeuil, #272648)
 
5561
 
 
5562
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
5563
  (Andrew Bennetts)
 
5564
 
 
5565
* Fix TooManyConcurrentRequests errors caused by a connection failure
 
5566
  when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
 
5567
  (Andrew Bennetts, #246233)
 
5568
 
 
5569
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
 
5570
  is in a different repository than the current one.
 
5571
  (Lukáš Lalinský, #144421)
 
5572
 
 
5573
* Make the first line of the manpage preamble a comment again.
 
5574
  (David Futcher, #242106)
 
5575
 
 
5576
* Remove use of optional parameter in GSSAPI FTP support, since
 
5577
  it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
 
5578
 
 
5579
* The autopacking logic will now always create a single new pack from
 
5580
  all of the content which it deems is worth moving. This avoids the
 
5581
  'repack a single pack' bug and should result in better packing
 
5582
  overall.  (John Arbash Meinel, #242510, #172644)
 
5583
 
 
5584
* Trivial documentation fix.
 
5585
  (John Arbash Meinel, #270471)
 
5586
 
 
5587
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
5588
  it was previously set. All checkouts will now refer to the bound branch
 
5589
  for a nickname if one was not explicitly set.
 
5590
  (Marius Kruger, #230903)
 
5591
 
 
5592
Documentation
 
5593
*************
 
5594
 
 
5595
* Explain revision/range identifiers. (Daniel Clemente)
 
5596
 
 
5597
API Changes
 
5598
***********
 
5599
 
 
5600
* ``CommitBuilder.record_entry_contents`` returns one more element in
 
5601
  its result tuple - an optional file system hash for the hash cache
 
5602
  to use. (Robert Collins)
 
5603
 
 
5604
* ``dirstate.DirState.update_entry`` will now only calculate the sha1
 
5605
  of a file if it is likely to be needed in determining the output
 
5606
  of iter_changes. (Robert Collins)
 
5607
 
 
5608
* The PackRepository, RepositoryPackCollection, NewPack classes have a
 
5609
  slightly changed interface to support different index types; as a
 
5610
  result other users of these classes need to supply the index types
 
5611
  they want. (Robert Collins)
 
5612
 
 
5613
Testing
 
5614
*******
 
5615
 
 
5616
* ``bzrlib.tests.repository_implementations`` has been renamed to
 
5617
  ``bzrlib.tests.per_repository`` so that we have a common structure
 
5618
  (and it is shorter). (John Arbash Meinel, #239343)
 
5619
 
 
5620
* ``LocalTransport.abspath()`` now returns a drive letter if the
 
5621
  transport has one, fixing numerous tests on Windows.
 
5622
  (Mark Hammond)
 
5623
 
 
5624
* PreviewTree is now tested via intertree_implementations.
 
5625
  (Aaron Bentley)
 
5626
 
 
5627
* The full test suite is passing again on OSX.
 
5628
  (Guillermo Gonzalez, Vincent Ladeuil)
 
5629
 
 
5630
* The full test suite passes when run with ``-Eallow_debug``.
 
5631
  (Andrew Bennetts)
 
5632
 
 
5633
Internals
 
5634
*********
 
5635
 
 
5636
* A new hook, ``Branch.open``, has been added, which is called when
 
5637
  branch objects are opened. (Robert Collins)
 
5638
 
 
5639
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
 
5640
  tree walking, and modular directory listing code to aid future
 
5641
  performance optimisations and refactoring. (Robert Collins)
 
5642
 
 
5643
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
 
5644
  in the middle of processing. It only reports memory if
 
5645
  ``/proc/PID/status`` is available. (John Arbash Meinel)
 
5646
 
 
5647
* New method ``RevisionSpec.as_tree`` for representing the revision
 
5648
  specifier as a revision tree object. (Lukáš Lalinský)
 
5649
 
 
5650
* New race-free method on MutableTree ``get_file_with_stat`` for use
 
5651
  when generating stat cache results. (Robert Collins)
 
5652
 
 
5653
* New win32utils.get_local_appdata_location() provides access to a local
 
5654
  directory for storing data.  (Mark Hammond)
 
5655
 
 
5656
* To be compatible with python-2.6 a few new rules should be
 
5657
  observed. 'message' attribute can't be used anymore in exception
 
5658
  classes, 'sha' and 'md5' modules have been deprecated (use
 
5659
  osutils.[md5|sha]), object__init__ and object.__new__ don't accept
 
5660
  parameters anymore.
 
5661
  (Vincent Ladeuil)
 
5662
 
 
5663
 
 
5664
bzr 1.7.1
 
5665
#########
 
5666
 
 
5667
:Released:  2008-10-01
 
5668
 
 
5669
No changes from 1.7.1rc1.
 
5670
 
 
5671
 
 
5672
bzr 1.7.1rc1
 
5673
############
 
5674
 
 
5675
:Released: 2008-09-24
 
5676
 
 
5677
This release just includes an update to how the merge algorithm handles
 
5678
file paths when we encounter complex history.
 
5679
 
 
5680
Features
 
5681
********
 
5682
 
 
5683
* If we encounter a criss-cross in history, use information from
 
5684
  direct Least Common Ancestors to resolve inventory shape (locations
 
5685
  of files, adds, deletes, etc). This is similar in concept to using
 
5686
  ``--lca`` for merging file texts, only applied to paths.
 
5687
  (John Arbash Meinel)
 
5688
 
 
5689
 
 
5690
bzr 1.7
 
5691
#######
 
5692
 
 
5693
:Released: 2008-09-23
 
5694
 
 
5695
This release includes many bug fixes and a few performance and feature
 
5696
improvements.  ``bzr rm`` will now scan for missing files and remove them,
 
5697
like how ``bzr add`` scans for unknown files and adds them. A bit more
 
5698
polish has been applied to the stacking code. The b-tree indexing code has
 
5699
been brought in, with an eye on using it in a future repository format.
 
5700
There are only minor installer changes since bzr-1.7rc2.
 
5701
 
 
5702
Features
 
5703
********
 
5704
 
 
5705
* Some small updates to the win32 installer. Include localization
 
5706
  files found in plugins, and include the builtin distutils as part of
 
5707
  packaging qbzr. (Mark Hammond)
 
5708
 
 
5709
 
 
5710
bzr 1.7rc2
 
5711
##########
 
5712
 
 
5713
:Released: 2008-09-17
 
5714
 
 
5715
A few bug fixes from 1.7rc1. The biggest change is a new
 
5716
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
 
5717
trying to access a Stacked branch over the smart protocol, to properly
 
5718
connect to the stacked-on location.
 
5719
 
 
5720
Bug Fixes
 
5721
*********
 
5722
 
 
5723
* Branching from a shared repository on a smart server into a new
 
5724
  repository now preserves the repository format.
 
5725
  (Andrew Bennetts, #269214)
 
5726
 
 
5727
* Branching from a stacked branch via ``bzr+ssh`` can properly connect
 
5728
  to the stacked-on branch.  (Martin Pool, #261315)
 
5729
 
 
5730
* ``bzr init`` no longer re-opens the BzrDir multiple times.
 
5731
  (Vincent Ladeuil)
 
5732
 
 
5733
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
5734
  (Andrew Bennetts)
 
5735
 
 
5736
 
 
5737
bzr 1.7rc1
 
5738
##########
 
5739
 
 
5740
:Released: 2008-09-09
 
5741
 
 
5742
This release candidate for bzr 1.7 has several bug fixes and a few
 
5743
performance and feature improvements.  ``bzr rm`` will now scan for
 
5744
missing files and remove them, like how ``bzr add`` scans for unknown
 
5745
files and adds them. A bit more polish has been applied to the stacking
 
5746
code. The b-tree indexing code has been brought in, with an eye on using
 
5747
it in a future repository format.
 
5748
 
 
5749
 
 
5750
Changes
 
5751
*******
 
5752
 
 
5753
* ``bzr export`` can now export a subdirectory of a project.
 
5754
  (Robert Collins)
 
5755
 
 
5756
* ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
 
5757
  changes, unless the ``--force`` option is specified.
 
5758
  (Lukáš Lalinský, #74101)
 
5759
 
 
5760
* ``bzr rm`` will now scan for files that are missing and remove just
 
5761
  them automatically, much as ``bzr add`` scans for new files that
 
5762
  are not ignored and adds them automatically. (Robert Collins)
 
5763
 
 
5764
Features
 
5765
********
 
5766
 
 
5767
* Support for GSSAPI authentication when using FTP as documented in
 
5768
  RFC2228. (Jelmer Vernooij, #49623)
 
5769
 
 
5770
* Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
 
5771
 
 
5772
Improvements
 
5773
************
 
5774
 
 
5775
* A url like ``log+file:///tmp`` will log all access to that Transport
 
5776
  to ``.bzr.log``, which may help in debugging or profiling.
 
5777
  (Martin Pool)
 
5778
 
 
5779
* ``bzr branch`` and ``bzr push`` use the default stacking policy if the
 
5780
  branch format supports it. (Aaron Bentley)
 
5781
 
 
5782
* ``bzr init`` and ``bzr init-repo`` will now print out the same as
 
5783
  ``bzr info`` if it completed successfully.
 
5784
  (Marius Kruger)
 
5785
 
 
5786
* ``bzr uncommit`` logs the old tip revision id, and displays how to
 
5787
  restore the branch to that tip using ``bzr pull``.  This allows you
 
5788
  to recover if you realize you uncommitted the wrong thing.
 
5789
  (John Arbash Meinel)
 
5790
 
 
5791
* Fix problems in accessing stacked repositories over ``bzr://``.
 
5792
  (Martin Pool, #261315)
 
5793
 
 
5794
* ``SFTPTransport.readv()`` was accidentally using ``list += string``,
 
5795
  which 'works', but adds each character separately to the list,
 
5796
  rather than using ``list.append(string)``. Fixing this makes the
 
5797
  SFTP transport a little bit faster (~20%) and use a bit less memory.
 
5798
  (John Arbash Meinel)
 
5799
 
 
5800
* When reading index files, if we happen to read the whole file in a
 
5801
  single request treat it as a ``_buffer_all`` request. This happens
 
5802
  most often on small indexes over remote transports, where we default
 
5803
  to reading 64kB. It saves a round trip for each small index during
 
5804
  fetch operations. Also, if we have read more than 50% of an index
 
5805
  file, trigger a ``_buffer_all`` on the next request. This works
 
5806
  around some inefficiencies because reads don't fall neatly on page
 
5807
  boundaries, so we would ignore those bytes, but request them again
 
5808
  later. This could trigger a total read size of more than the whole
 
5809
  file. (John Arbash Meinel)
 
5810
 
 
5811
Bug Fixes
 
5812
*********
 
5813
 
 
5814
* ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
 
5815
  users. (Robert Collins, #205416)
 
5816
 
 
5817
* Catch the infamous "select/poll returned error" which occurs when
 
5818
  pycurl try to send a body request to an HTTP/1.0 server which has
 
5819
  already refused to handle the request. (Vincent Ladeuil, #225020)
 
5820
 
 
5821
* Fix ``ObjectNotLocked`` errors when using various commands
 
5822
  (including ``bzr cat`` and ``bzr annotate``) in combination with a
 
5823
  smart server URL.  (Andrew Bennetts, #237067)
 
5824
 
 
5825
* ``FTPTransport.stat()`` would return ``0000`` as the permission bits
 
5826
  for the containing ``.bzr/`` directory (it does not implement
 
5827
  permissions). This would cause us to set all subdirectories to
 
5828
  ``0700`` and files to ``0600`` rather than leaving them unmodified.
 
5829
  Now we ignore ``0000`` as the permissions and assume they are
 
5830
  invalid. (John Arbash Meinel, #259855)
 
5831
 
 
5832
* Merging from a previously joined branch will no longer cause
 
5833
  a traceback. (Jelmer Vernooij, #203376)
 
5834
 
 
5835
* Pack operations on windows network shares will work even with large
 
5836
  files. (Robert Collins, #255656)
 
5837
 
 
5838
* Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
 
5839
  status. Status is also about 7% faster on mozilla sized trees
 
5840
  when the path to the root of the tree has been given. Users of
 
5841
  the internal ``show_tree_status`` function should be aware that
 
5842
  the show_pending flag is now authoritative for showing pending
 
5843
  merges, as it was originally. (Robert Collins, #225204)
 
5844
 
 
5845
* Set valid default _param_name for Option so that ListOption can embed
 
5846
  '-' in names. (Vincent Ladeuil, #263249)
 
5847
 
 
5848
* Show proper error rather than traceback when an unknown revision
 
5849
  id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
 
5850
 
 
5851
* Trailing text in the dirstate file could cause the C dirstate parser
 
5852
  to try to allocate an invalid amount of memory. We now properly
 
5853
  check and test for parsing a dirstate with invalid trailing data.
 
5854
  (John Arbash Meinel, #186014)
 
5855
 
 
5856
* Unexpected error responses from a smart server no longer cause the
 
5857
  client to traceback.  (Andrew Bennetts, #263527)
 
5858
 
 
5859
* Use a Windows api function to get a Unicode host name, rather than
 
5860
  assuming the host name is ascii.
 
5861
  (Mark Hammond, John Arbash Meinel, #256550)
 
5862
 
 
5863
* ``WorkingTree4`` trees will now correctly report missing-and-new
 
5864
  paths in the output of ``iter_changes``. (Robert Collins)
 
5865
 
 
5866
Documentation
 
5867
*************
 
5868
 
 
5869
* Updated developer documentation.  (Martin Pool)
 
5870
 
 
5871
API Changes
 
5872
***********
 
5873
 
 
5874
* Exporters now take 4 parameters. (Robert Collins)
 
5875
 
 
5876
* ``Tree.iter_changes`` will now return False for the content change
 
5877
  field when a file is missing in the basis tree and not present in
 
5878
  the target tree. Previously it returned True unconditionally.
 
5879
  (Robert Collins)
 
5880
 
 
5881
* The deprecated ``Branch.abspath`` and unimplemented
 
5882
  ``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
 
5883
 
 
5884
* BzrDir.clone_on_transport implementations must now accept a stacked_on
 
5885
  parameter.  (Aaron Bentley)
 
5886
 
 
5887
* BzrDir.cloning_metadir implementations must now take a require_stacking
 
5888
  parameter.  (Aaron Bentley)
 
5889
 
 
5890
Testing
 
5891
*******
 
5892
 
 
5893
* ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
 
5894
  which are then passed to the cleanup callable as it is run. In
 
5895
  addition, addCleanup no longer requires that the callables passed to
 
5896
  it be unique. (Jonathan Lange)
 
5897
 
 
5898
* Fix some tests that fail on Windows because files are deleted while
 
5899
  still in use.
 
5900
  (Mark Hammond)
 
5901
 
 
5902
* ``selftest``'s ``--starting-with`` option can now use predefined
 
5903
  prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
 
5904
  ``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
 
5905
 
 
5906
* ``selftest``'s ``--starting-with`` option now accepts multiple values.
 
5907
  (Vincent Ladeuil)
 
5908
 
 
5909
Internals
 
5910
*********
 
5911
 
 
5912
* A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
 
5913
  This allows dynamic log output filtering by plugins.
 
5914
  (Robert Collins)
 
5915
 
 
5916
* ``bzrlib.btree_index`` is now available, providing a b-tree index
 
5917
  layer. The design is memory conservative (limited memory cache),
 
5918
  faster to seek (approx 100 nodes per page, gives 100-way fan out),
 
5919
  and stores compressed pages allowing more keys per page.
 
5920
  (Robert Collins, John Arbash Meinel)
 
5921
 
 
5922
* ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
 
5923
  is unknown in both source and target.
 
5924
  (Robert Collins, Aaron Bentley)
 
5925
 
 
5926
* ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
 
5927
  streamlined a bit. This should make creating large indexes faster.
 
5928
  (In benchmarking, it now takes less time to create a BTree index than
 
5929
  it takes to read the GraphIndex one.) (John Arbash Meinel)
 
5930
 
 
5931
* Mail clients for `bzr send` are now listed in a registry.  This
 
5932
  allows plugins to add new clients by registering them with
 
5933
  ``bzrlib.mail_client.mail_client_registry``.  All of the built-in
 
5934
  clients now use this mechanism.  (Neil Martinsen-Burrell)
 
5935
 
 
5936
 
 
5937
bzr 1.6.1
 
5938
#########
 
5939
 
 
5940
:Released: 2008-09-05
 
5941
 
 
5942
A couple regressions were found in the 1.6 release. There was a
 
5943
performance issue when using ``bzr+ssh`` to branch large repositories,
 
5944
and some problems with stacking and ``rich-root`` capable repositories.
 
5945
 
 
5946
 
 
5947
bzr 1.6.1rc2
 
5948
############
 
5949
 
 
5950
:Released: 2008-09-03
 
5951
 
 
5952
Bug Fixes
 
5953
*********
 
5954
 
 
5955
* Copying between ``rich-root`` and ``rich-root-pack`` (and vice
 
5956
  versa) was accidentally using the inter-model fetcher, instead of
 
5957
  recognizing that both were 'rich root' formats.
 
5958
  (John Arbash Meinel, #264321)
 
5959
 
 
5960
 
 
5961
bzr 1.6.1rc1
 
5962
############
 
5963
 
 
5964
:Released: 2008-08-29
 
5965
 
 
5966
This release fixes a few regressions found in the 1.6 client. Fetching
 
5967
changes was using an O(N^2) buffering algorithm, so for large projects it
 
5968
would cause memory thrashing. There is also a specific problem with the
 
5969
``--1.6-rich-root`` format, which prevented stacking on top of
 
5970
``--rich-root-pack`` repositories, and could allow users to accidentally
 
5971
fetch experimental data (``-subtree``) without representing it properly.
 
5972
The ``--1.6-rich-root`` format has been deprecated and users are
 
5973
recommended to upgrade to ``--1.6.1-rich-root`` immediately.  Also we
 
5974
re-introduced a workaround for users who have repositories with incorrect
 
5975
nodes (not possible if you only used official releases).
 
5976
I should also clarify that none of this is data loss level issues, but
 
5977
still sufficient enough to warrant an updated release.
 
5978
 
 
5979
Bug Fixes
 
5980
*********
 
5981
 
 
5982
* ``RemoteTransport.readv()`` was being inefficient about how it
 
5983
  buffered the readv data and processed it. It would keep appending to
 
5984
  the same string (causing many copies) and then pop bytes out of the
 
5985
  start of the string (causing more copies).
 
5986
  With this patch "bzr+ssh://local" can improve dramatically,
 
5987
  especially for projects with large files.
 
5988
  (John Arbash Meinel)
 
5989
 
 
5990
* Revision texts were always meant to be stored as fulltexts. There
 
5991
  was a bug in a bzr.dev version that would accidentally create deltas
 
5992
  when copying from a Pack repo to a Knit repo. This has been fixed,
 
5993
  but to support those repositories, we know always request full texts
 
5994
  for Revision texts. (John Arbash Meinel, #261339)
 
5995
 
 
5996
* The previous ``--1.6-rich-root`` format used an incorrect xml
 
5997
  serializer, which would accidentally support fetching from a
 
5998
  repository that supported subtrees, even though the local one would
 
5999
  not. We deprecated that format, and introduced a new one that uses
 
6000
  the correct serializer ``--1.6.1-rich-root``.
 
6001
  (John Arbash Meinel, #262333)
 
6002
 
 
6003
 
 
6004
bzr 1.6
 
6005
#######
 
6006
 
 
6007
:Released: 2008-08-25
 
6008
 
 
6009
Finally, the long awaited bzr 1.6 has been released. This release includes
 
6010
new features like Stacked Branches, improved weave merge, and an updated
 
6011
server protocol (now on v3) which will allow for better cross version
 
6012
compatibility. With this release we have deprecated Knit format
 
6013
repositories, and recommend that users upgrade them, we will continue to
 
6014
support reading and writing them for the forseeable future, but we will
 
6015
not be tuning them for performance as pack repositories have proven to be
 
6016
better at scaling. This will also be the first release to bundle
 
6017
TortoiseBzr in the standalone Windows installer.
 
6018
 
 
6019
 
 
6020
bzr 1.6rc5
 
6021
##########
 
6022
 
 
6023
:Released: 2008-08-19
 
6024
 
 
6025
Bug Fixes
 
6026
*********
 
6027
 
 
6028
* Disable automatic detection of stacking based on a containing
 
6029
  directory of the target. It interacted badly with push, and needs a
 
6030
  bit more work to get the edges polished before it should happen
 
6031
  automatically. (John Arbash Meinel, #259275)
 
6032
  (This change was reverted when merged to bzr.dev)
 
6033
 
 
6034
 
 
6035
bzr 1.6rc4
 
6036
##########
 
6037
 
 
6038
:Released: 2008-08-18
 
6039
 
 
6040
Bug Fixes
 
6041
*********
 
6042
 
 
6043
* Fix a regression in knit => pack fetching.  We had a logic
 
6044
  inversion, causing the fetch to insert fulltexts in random order,
 
6045
  rather than preserving deltas.  (John Arbash Meinel, #256757)
 
6046
 
 
6047
 
 
6048
bzr 1.6rc3
 
6049
##########
 
6050
 
 
6051
:Released: 2008-08-14
 
6052
 
 
6053
Changes
 
6054
*******
 
6055
 
 
6056
* Disable reading ``.bzrrules`` as a per-branch rule preferences
 
6057
  file. The feature was not quite ready for a full release.
 
6058
  (Robert Collins)
 
6059
 
 
6060
Improvements
 
6061
************
 
6062
 
 
6063
* Update the windows installer to bundle TortoiseBzr and ``qbzr``
 
6064
  into the standalone installer. This will be the first official
 
6065
  windows release that installs Tortoise by default.
 
6066
  (Mark Hammond)
 
6067
 
 
6068
Bug Fixes
 
6069
*********
 
6070
 
 
6071
* Fix a regression in ``bzr+http`` support. There was a missing
 
6072
  function (``_read_line``) that needed to be carried over from
 
6073
  ``bzr+ssh`` support. (Andrew Bennetts)
 
6074
 
 
6075
* ``GraphIndex`` objects will internally read an entire index if more
 
6076
  than 1/20th of their keyspace is requested in a single operation.
 
6077
  This largely mitigates a performance regression in ``bzr log FILE``
 
6078
  and completely corrects the performance regression in ``bzr log``.
 
6079
  The regression was caused by removing an accomodation which had been
 
6080
  supporting the index format in use. A newer index format is in
 
6081
  development which is substantially faster. (Robert Collins)
 
6082
 
 
6083
 
 
6084
bzr 1.6rc2
 
6085
##########
 
6086
 
 
6087
:Released: 2008-08-13
 
6088
 
 
6089
This release candidate has a few minor bug fixes, and some regression
 
6090
fixes for Windows.
 
6091
 
 
6092
Bug Fixes
 
6093
*********
 
6094
 
 
6095
* ``bzr upgrade`` on remote branches accessed via bzr:// and
 
6096
  bzr+ssh:// now works.  (Andrew Bennetts)
 
6097
 
 
6098
* Change the ``get_format_description()`` strings for
 
6099
  ``RepositoryFormatKnitPack5`` et al to be single line messages.
 
6100
  (Aaron Bentley)
 
6101
 
 
6102
* Fix for a regression on Win32 where we would try to call
 
6103
  ``os.listdir()`` on a file and not catch the exception properly.
 
6104
  (Windows raises a different exception.) This would manifest in
 
6105
  places like ``bzr rm file`` or ``bzr switch``.
 
6106
  (Mark Hammond, John Arbash Meinel)
 
6107
 
 
6108
* ``Inventory.copy()`` was failing to set the revision property for
 
6109
  the root entry. (Jelmer Vernooij)
 
6110
 
 
6111
* sftp transport: added missing ``FileExists`` case to
 
6112
  ``_translate_io_exception`` (Christophe Troestler, #123475)
 
6113
 
 
6114
* The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for
 
6115
  scripting use. (Robert Collins, #3834)
 
6116
 
 
6117
* The default ``annotate`` logic will now always assign the
 
6118
  last-modified value of a line to one of the revisions that modified
 
6119
  it, rather than a merge revision. This would happen when both sides
 
6120
  claimed to have modified the line resulting in the same text. The
 
6121
  choice is arbitrary but stable, so merges in different directions
 
6122
  will get the same results.  (John Arbash Meinel, #232188)
 
6123
 
 
6124
 
 
6125
bzr 1.6rc1
 
6126
##########
 
6127
 
 
6128
:Released: 2008-08-06
 
6129
 
 
6130
This release candidate for bzr 1.6 solidifies the new branch stacking
 
6131
feature.  Bazaar now recommends that users upgrade all knit repositories,
 
6132
because later formats are much faster.  However, we plan to continue read/write and
 
6133
upgrade support for knit repostories for the forseeable future.  Several
 
6134
other bugs and performance issues were fixed.
 
6135
 
 
6136
Changes
 
6137
*******
 
6138
 
 
6139
* Knit format repositories are deprecated and bzr will now emit
 
6140
  warnings whenever it encounters one.  Use ``bzr upgrade`` to upgrade
 
6141
  knit repositories to pack format.  (Andrew Bennetts)
 
6142
 
 
6143
Improvements
 
6144
************
 
6145
 
 
6146
* ``bzr check`` can now be told which elements at a location it should
 
6147
  check.  (Daniel Watkins)
 
6148
 
 
6149
* Commit now supports ``--exclude`` (or ``-x``) to exclude some files
 
6150
  from the commit. (Robert Collins, #3117)
 
6151
 
 
6152
* Fetching data between repositories that have the same model but no
 
6153
  optimised fetcher will not reserialise all the revisions, increasing
 
6154
  performance. (Robert Collins, John Arbash Meinel)
 
6155
 
 
6156
* Give a more specific error when target branch is not reachable.
 
6157
  (James Westby)
 
6158
 
 
6159
* Implemented a custom ``walkdirs_utf8`` implementation for win32.
 
6160
  This uses a pyrex extension to get direct access to the
 
6161
  ``FindFirstFileW`` style apis, rather than using ``listdir`` +
 
6162
  ``lstat``. Shows a very strong improvement in commands like
 
6163
  ``status`` and ``diff`` which have to iterate the working tree.
 
6164
  Anywhere from 2x-6x faster depending on the size of the tree (bigger
 
6165
  trees, bigger benefit.) (John Arbash Meinel)
 
6166
 
 
6167
* New registry for log properties handles  and the method in
 
6168
  LongLogFormatter to display the custom properties returned by the
 
6169
  registered handlers. (Guillermo Gonzalez, #162469)
 
6170
 
 
6171
Bug Fixes
 
6172
*********
 
6173
 
 
6174
* Add more tests that stacking does not create deltas spanning
 
6175
  physical repository boundaries.
 
6176
  (Martin Pool, #252428)
 
6177
 
 
6178
* Better message about incompatible repositories.
 
6179
  (Martin Pool, #206258)
 
6180
 
 
6181
* ``bzr branch --stacked`` ensures the destination branch format can
 
6182
  support stacking, even if the origin does not.
 
6183
  (Martin Pool)
 
6184
 
 
6185
* ``bzr export`` no longer exports ``.bzrrules``.
 
6186
  (Ian Clatworthy)
 
6187
 
 
6188
* ``bzr serve --directory=/`` now correctly allows the whole
 
6189
  filesystem to be accessed on Windows, not just the root of the drive
 
6190
  that Python is running from.
 
6191
  (Adrian Wilkins, #240910)
 
6192
 
 
6193
* Deleting directories by hand before running ``bzr rm`` will not
 
6194
  cause subsequent errors in ``bzr st`` and ``bzr commit``.
 
6195
  (Robert Collins, #150438)
 
6196
 
 
6197
* Fix a test case that was failing if encoding wasn't UTF-8.
 
6198
  (John Arbash Meinel, #247585)
 
6199
 
 
6200
* Fix "no buffer space available" error when branching with the new
 
6201
  smart server protocol to or from Windows.
 
6202
  (Andrew Bennetts, #246180)
 
6203
 
 
6204
* Fixed problem in branching from smart server.
 
6205
  (#249256, Michael Hudson, Martin Pool)
 
6206
 
 
6207
* Handle a file turning in to a directory in TreeTransform.
 
6208
  (James Westby, #248448)
 
6209
 
 
6210
API Changes
 
6211
***********
 
6212
 
 
6213
* ``MutableTree.commit`` has an extra optional keywork parameter
 
6214
  ``exclude`` that will be unconditionally supplied by the command
 
6215
  line UI - plugins that add tree formats may need an update.
 
6216
  (Robert Collins)
 
6217
 
 
6218
* The API minimum version for plugin compatibility has been raised to
 
6219
  1.6 - there are significant changes throughout the code base.
 
6220
  (Robert Collins)
 
6221
 
 
6222
* The generic fetch code now uses three attributes on Repository objects
 
6223
  to control fetch. The streams requested are controlled via :
 
6224
  ``_fetch_order`` and ``_fetch_uses_deltas``. Setting these
 
6225
  appropriately allows different repository implementations to recieve
 
6226
  data in their optimial form. If the ``_fetch_reconcile`` is set then
 
6227
  a reconcile operation is triggered at the end of the fetch.
 
6228
  (Robert Collins)
 
6229
 
 
6230
* The ``put_on_disk`` and ``get_tar_item`` methods in
 
6231
  ``InventoryEntry`` were deprecated. (Ian Clatworthy)
 
6232
 
 
6233
* ``Repository.is_shared`` doesn't take a read lock. It didn't
 
6234
  need one in the first place (nobody cached the value, and
 
6235
  ``RemoteRepository`` wasn't taking one either). This saves a round
 
6236
  trip when probing Pack repositories, as they read the ``pack-names``
 
6237
  file when locked. And during probe, locking the repo isn't very
 
6238
  useful. (John Arbash Meinel)
 
6239
 
 
6240
Internals
 
6241
*********
 
6242
 
 
6243
* ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of
 
6244
  putting together a real history without having to create a full
 
6245
  WorkingTree. It is recommended that tests that are not directly
 
6246
  testing the WorkingTree use BranchBuilder instead.  See
 
6247
  ``BranchBuilder.build_snapshot`` or
 
6248
  ``TestCaseWithMemoryTree.make_branch_builder``.  (John Arbash Meinel)
 
6249
 
 
6250
* ``bzrlib.builtins.internal_tree_files`` broken into two giving a new
 
6251
  helper ``safe_relpath_files`` - used by the new ``exclude``
 
6252
  parameter to commit. (Robert Collins)
 
6253
 
 
6254
* Make it easier to introduce new WorkingTree formats.
 
6255
  (Ian Clatworthy)
 
6256
 
 
6257
* The code for exporting trees was refactored not to use the
 
6258
  deprecated ``InventoryEntry`` methods. (Ian Clatworthy)
 
6259
 
 
6260
* RuleSearchers return () instead of [] now when there are no matches.
 
6261
  (Ian Clatworthy)
 
6262
 
 
6263
 
 
6264
bzr 1.6beta3
 
6265
############
 
6266
 
 
6267
:Released: 2008-07-17
 
6268
 
 
6269
This release adds a new 'stacked branches' feature allowing branches to
 
6270
share storage without being in the same repository or on the same machine.
 
6271
(See the user guide for more details.)  It also adds a new hook, improved
 
6272
weaves, aliases for related locations, faster bzr+ssh push, and several
 
6273
bug fixes.
 
6274
 
 
6275
Features
 
6276
********
 
6277
 
 
6278
* New ``pre_change_branch_tip`` hook that is called before the
 
6279
  branch tip is moved, while the branch is write-locked.  See the User
 
6280
  Reference for signature details.  (Andrew Bennetts)
 
6281
 
 
6282
* Rule-based preferences can now be defined for selected files in
 
6283
  selected branches, allowing commands and plugins to provide
 
6284
  custom behaviour for files matching defined patterns.
 
6285
  See ``Rule-based preferences`` (part of ``Configuring Bazaar``)
 
6286
  in the User Guide and ``bzr help rules`` for more information.
 
6287
  (Ian Clatworthy)
 
6288
 
 
6289
* Sites may suggest a branch to stack new branches on.  (Aaron Bentley)
 
6290
 
 
6291
* Stacked branches are now supported. See ``bzr help branch`` and
 
6292
  ``bzr help push``.  Branches must be in the ``development1`` format
 
6293
  to stack, though the stacked-on branch can be of any format.
 
6294
  (Robert Collins)
 
6295
 
 
6296
Improvements
 
6297
************
 
6298
 
 
6299
* ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball
 
6300
  to stdout; also ``tar`` and ``tbz2``.
 
6301
  (Martin Pool)
 
6302
 
 
6303
* ``bzr (re)merge --weave`` will now use a standard Weave algorithm,
 
6304
  rather than the annotation-based merge it was using. It does so by
 
6305
  building up a Weave of the important texts, without needing to build
 
6306
  the full ancestry. (John Arbash Meinel, #238895)
 
6307
 
 
6308
* ``bzr send`` documents and better supports ``emacsclient`` (proper
 
6309
  escaping of mail headers and handling of the MUA Mew).
 
6310
  (Christophe Troestler)
 
6311
 
 
6312
* Remembered locations can be specified by aliases, e.g. :parent, :public,
 
6313
  :submit.  (Aaron Bentley)
 
6314
 
 
6315
* The smart protocol now has improved support for setting branches'
 
6316
  revision info directly.  This makes operations like push
 
6317
  faster.  The new request method name is
 
6318
  ``Branch.set_last_revision_ex``.  (Andrew Bennetts)
 
6319
 
 
6320
Bug Fixes
 
6321
*********
 
6322
 
 
6323
* Bazaar is now able to be a client to the web server of IIS 6 and 7.
 
6324
  The broken implementations of RFC822 in Python and RFC2046 in IIS
 
6325
  combined with boundary-line checking in Bazaar previously made this
 
6326
  impossible. (NB, IIS 5 does not suffer from this problem).
 
6327
  (Adrian Wilkins, #247585)
 
6328
 
 
6329
* ``bzr log --long`` with a ghost in your mainline now handles that
 
6330
  ghost properly. (John Arbash Meinel, #243536)
 
6331
 
 
6332
* ``check`` handles the split-up .bzr layout correctly, so no longer
 
6333
  requires a branch to be present.
 
6334
  (Daniel Watkins, #64783)
 
6335
 
 
6336
* Clearer message about how to set the PYTHONPATH if bzrlib can't be
 
6337
  loaded.
 
6338
  (Martin Pool, #205230)
 
6339
 
 
6340
* Errors about missing libraries are now shown without a traceback,
 
6341
  and with a suggestion to install the library.  The full traceback is
 
6342
  still in ``.bzr.log`` and can be shown with ``-Derror``.
 
6343
  (Martin Pool, #240161)
 
6344
 
 
6345
* Fetch from a stacked branch copies all required data.
 
6346
  (Aaron Bentley, #248506)
 
6347
 
 
6348
* Handle urls such as ftp://user@host.com@www.host.com where the user
 
6349
  name contains an @.
 
6350
  (Neil Martinsen-Burrell, #228058)
 
6351
 
 
6352
* ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during
 
6353
  ``unlock`` if there was an error in the original function. This helps
 
6354
  most when there is a failure with a smart server action, since often the
 
6355
  connection closes and we cannot unlock.
 
6356
  (Andrew Bennetts, John Arbash Meinel, #125784)
 
6357
 
 
6358
* Obsolete hidden command ``bzr fetch`` removed.
 
6359
  (Martin Pool, #172870)
 
6360
 
 
6361
* Raise the correct exception when doing ``-rbefore:0`` or ``-c0``.
 
6362
  (John Arbash Meinel, #239933)
 
6363
 
 
6364
* You can now compare file revisions in Windows diff programs from
 
6365
  Cygwin Bazaar.
 
6366
  (Matt McClure, #209281)
 
6367
 
 
6368
* revision_history now tolerates mainline ghosts for Branch format 6.
 
6369
  (Aaron Bentley, #235055)
 
6370
 
 
6371
* Set locale from environment for third party libs.
 
6372
  (Martin von Gagern, #128496)
 
6373
 
 
6374
Documentation
 
6375
*************
 
6376
 
 
6377
* Added *Using stacked branches* to the User Guide.
 
6378
  (Ian Clatworthy)
 
6379
 
 
6380
* Updated developer documentation.
 
6381
  (Martin Pool)
 
6382
 
 
6383
Testing
 
6384
*******
 
6385
 
 
6386
* ``-Dmemory`` will cause /proc/PID/status to be catted before bzr
 
6387
  exits, allowing low-key analysis of peak memory use. (Robert Collins)
 
6388
 
 
6389
* ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return
 
6390
  a tree with a ``branch`` attribute of the right format.  This was
 
6391
  preventing some ``RemoteBranch`` tests from actually running with
 
6392
  ``RemoteBranch`` instances.  (Andrew Bennetts)
 
6393
 
 
6394
API Changes
 
6395
***********
 
6396
 
 
6397
* Removed ``Repository.text_store``, ``control_store``, etc.  Instead,
 
6398
  there are new attributes ``texts, inventories, revisions,
 
6399
  signatures``, each of which is a ``VersionedFiles``.  See the
 
6400
  Repository docstring for more details.
 
6401
  (Robert Collins)
 
6402
 
 
6403
* ``Branch.pull`` now accepts an ``_override_hook_target`` optional
 
6404
  parameter.  If you have a subclass of ``Branch`` that overrides
 
6405
  ``pull`` then you should add this parameter.  (Andrew Bennetts)
 
6406
 
 
6407
* ``bzrlib.check.check()`` has been deprecated in favour of the more
 
6408
  aptly-named ``bzrlib.check.check_branch()``.
 
6409
  (Daniel Watkins)
 
6410
 
 
6411
* ``Tree.print_file`` and ``Repository.print_file`` are deprecated.
 
6412
  These methods are bad APIs because they write directly to sys.stdout.
 
6413
  bzrlib does not use them internally, and there are no direct tests
 
6414
  for them. (Alexander Belchenko)
 
6415
 
 
6416
Internals
 
6417
*********
 
6418
 
 
6419
* ``cat`` command no longer uses ``Tree.print_file()`` internally.
 
6420
  (Alexander Belchenko)
 
6421
 
 
6422
* New class method ``BzrDir.open_containing_tree_branch_or_repository``
 
6423
  which eases the discovery of the tree, the branch and the repository
 
6424
  containing a given location.
 
6425
  (Daniel Watkins)
 
6426
 
 
6427
* New ``versionedfile.KeyMapper`` interface to abstract out the access to
 
6428
  underlying .knit/.kndx etc files in repositories with partitioned
 
6429
  storage. (Robert Collins)
 
6430
 
 
6431
* Obsolete developer-use command ``weave-join`` has been removed.
 
6432
  (Robert Collins)
 
6433
 
 
6434
* ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed,
 
6435
  to support new ``VersionedFiles`` layering.
 
6436
  (Robert Collins)
 
6437
 
 
6438
 
 
6439
bzr 1.6beta2
 
6440
############
 
6441
 
 
6442
:Released: 2008-06-10
 
6443
 
 
6444
This release contains further progress towards our 1.6 goals of shallow
 
6445
repositories, and contains a fix for some user-affecting bugs in the
 
6446
repository layer.  Building working trees during checkout and branch is
 
6447
now faster.
 
6448
 
 
6449
Bug Fixes
 
6450
*********
 
6451
 
 
6452
* Avoid KnitCorrupt error extracting inventories from some repositories.
 
6453
  (The data is not corrupt; an internal check is detecting a problem
 
6454
  reading from the repository.)
 
6455
  (Martin Pool, Andrew Bennetts, Robert Collins, #234748)
 
6456
 
 
6457
* ``bzr status`` was breaking if you merged the same revision twice.
 
6458
  (John Arbash Meinel, #235407)
 
6459
 
 
6460
* Fix infinite loop consuming 100% CPU when a connection is lost while
 
6461
  reading a response body via the smart protocol v1 or v2.
 
6462
  (Andrew Bennetts)
 
6463
 
 
6464
* Inserting a bundle which changes the contents of a file with no trailing
 
6465
  end of line, causing a knit snapshot in a 'knits' repository will no longer
 
6466
  cause KnitCorrupt. (Robert Collins)
 
6467
 
 
6468
* ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s
 
6469
  pull result. It was instead just returning None, which breaks ``bzr
 
6470
  pull``. (John Arbash Meinel, #238149)
 
6471
 
 
6472
* Sanitize branch nick before using it as an attachment filename in
 
6473
  ``bzr send``. (Lukáš Lalinský, #210218)
 
6474
 
 
6475
* Squash ``inv_entry.symlink_target`` to a plain string when
 
6476
  generating DirState details. This prevents from getting a
 
6477
  ``UnicodeError`` when you have symlinks and non-ascii filenames.
 
6478
  (John Arbash Meinel, #135320)
 
6479
 
 
6480
Improvements
 
6481
************
 
6482
 
 
6483
* Added the 'alias' command to set/unset and display aliases. (Tim Penhey)
 
6484
 
 
6485
* ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three
 
6486
  now quote paths where required). Added ``--null`` option to ``added`` and
 
6487
  ``modified`` (for null-separated unknowns, use ``ls --unknown --null``)
 
6488
  (Adrian Wilkins)
 
6489
 
 
6490
* Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees.
 
6491
  (Ian Clatworthy, Aaron Bentley)
 
6492
 
 
6493
Documentation
 
6494
*************
 
6495
 
 
6496
* Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy)
 
6497
 
 
6498
Testing
 
6499
*******
 
6500
 
 
6501
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
6502
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
6503
 
 
6504
API Changes
 
6505
***********
 
6506
 
 
6507
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
6508
  which are in the ancestry of other revisions. So if you merge the same
 
6509
  tree twice, or merge an ancestor of an existing merge, it will only
 
6510
  record the newest. (If you merge a descendent, it will replace its
 
6511
  ancestor). (John Arbash Meinel, #235407)
 
6512
 
 
6513
* ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd,
 
6514
  through the derived classes do not.  (Aaron Bentley)
 
6515
 
 
6516
Internals
 
6517
*********
 
6518
 
 
6519
* ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control
 
6520
  creating stacked branches. (Robert Collins)
 
6521
 
 
6522
* Knit record serialisation is now stricter on what it will accept, to
 
6523
  guard against potential internal bugs, or broken input. (Robert Collins)
 
6524
 
 
6525
bzr 1.6beta1
 
6526
############
 
6527
 
 
6528
:Released: 2008-06-02
 
6529
 
 
6530
Commands that work on the revision history such as push, pull, missing,
 
6531
uncommit and log are now substantially faster.  This release adds a
 
6532
translation of some of the user documentation into Spanish.  (Contributions of
 
6533
other translations would be very welcome.)  Bazaar 1.6beta1 adds a new network
 
6534
protocol which is used by default and which allows for more efficient transfers
 
6535
and future extensions.
 
6536
 
 
6537
 
 
6538
Notes When Upgrading
 
6539
********************
 
6540
 
 
6541
* There is a new version of the network protocol used for bzr://, bzr+ssh://
 
6542
  and bzr+http:// connections.  This will allow more efficient requests and
 
6543
  responses, and more graceful fallback when a server is too old to
 
6544
  recognise a request from a more recent client.  Bazaar 1.6 will
 
6545
  interoperate with 0.16 and later versions, but servers should be upgraded
 
6546
  when possible.  Bazaar 1.6 no longer interoperates with 0.15 and earlier via
 
6547
  these protocols.  Use alternatives like SFTP or upgrade those servers.
 
6548
  (Andrew Bennetts, #83935)
 
6549
 
 
6550
Changes
 
6551
*******
 
6552
 
 
6553
* Deprecation warnings will not be suppressed when running ``bzr selftest``
 
6554
  so that developers can see if their code is using deprecated functions.
 
6555
  (John Arbash Meinel)
 
6556
 
 
6557
Features
 
6558
********
 
6559
 
 
6560
* Adding ``-Derror`` will now display a traceback when a plugin fails to
 
6561
  load. (James Westby)
 
6562
 
 
6563
Improvements
 
6564
************
 
6565
 
 
6566
* ``bzr branch/push/pull -r XXX`` now have a helper function for finding
 
6567
  the revno of the new revision (``Graph.find_distance_to_null``). This
 
6568
  should make something like ``bzr branch -r -100`` in a shared, no-trees
 
6569
  repository much snappier. (John Arbash Meinel)
 
6570
 
 
6571
* ``bzr log --short -r X..Y`` no longer needs to access the full revision
 
6572
  history. This makes it noticeably faster when logging the last few
 
6573
  revisions. (John Arbash Meinel)
 
6574
 
 
6575
* ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``.
 
6576
  (Jerad Cramp, #165086)
 
6577
 
 
6578
* ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
 
6579
  ``Graph.find_differences`` to determine missing revisions without having
 
6580
  to search the whole ancestry. (John Arbash Meinel, #174625)
 
6581
 
 
6582
* ``bzr uncommit`` now uses partial history access, rather than always
 
6583
  extracting the full revision history for a branch. This makes it
 
6584
  resolve the appropriate revisions much faster (in testing it drops
 
6585
  uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one
 
6586
  step closer to not using full revision history.
 
6587
  (John Arbash Meinel, #172649)
 
6588
 
 
6589
Bugfixes
 
6590
********
 
6591
 
 
6592
* ``bzr merge --lca`` should handle when two revisions have no common
 
6593
  ancestor other than NULL_REVISION. (John Arbash Meinel, #235715)
 
6594
 
 
6595
* ``bzr status`` was breaking if you merged the same revision twice.
 
6596
  (John Arbash Meinel, #235407)
 
6597
 
 
6598
* ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
 
6599
  fails.  (Andrew Bennetts, #234229)
 
6600
 
 
6601
* Correctly track the base URL of a smart medium when using bzr+http://
 
6602
  URLs, which was causing spurious "No repository present" errors with
 
6603
  branches in shared repositories accessed over bzr+http.
 
6604
  (Andrew Bennetts, #230550)
 
6605
 
 
6606
* Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
 
6607
  implementations have the attribute.  Fixes 'PyCurlTransport' object has no
 
6608
  attribute '_remote_is_at_least_1_2' attribute errors.
 
6609
  (Andrew Bennetts, #220806)
 
6610
 
 
6611
* Failure to delete an obsolete pack file should just give a warning
 
6612
  message, not a fatal error.  It may for example fail if the file is still
 
6613
  in use by another process.
 
6614
  (Martin Pool)
 
6615
 
 
6616
* Fix MemoryError during large fetches over HTTP by limiting the amount of
 
6617
  data we try to read per ``recv`` call.  The problem was observed with
 
6618
  Windows and a proxy, but might affect other environments as well.
 
6619
  (Eric Holmberg, #215426)
 
6620
 
 
6621
* Handle old merge directives correctly in Merger.from_mergeable.  Stricter
 
6622
  get_parent_map requirements exposed a latent bug here.  (Aaron Bentley)
 
6623
 
 
6624
* Issue a warning and ignore passwords declared in authentication.conf when
 
6625
  used for an ssh scheme (sftp or bzr+ssh).
 
6626
  (Vincent Ladeuil, #203186)
 
6627
 
 
6628
* Make both http implementations raise appropriate exceptions on 403
 
6629
  Forbidden when POSTing smart requests.
 
6630
  (Vincent Ladeuil, #230223)
 
6631
 
 
6632
* Properly *title* header names in http requests instead of capitalizing
 
6633
  them.
 
6634
  (Vincent Ladeuil, #229076)
 
6635
 
 
6636
* The "Unable to obtain lock" error message now also suggests using
 
6637
  ``bzr break-lock`` to fix it.  (Martin Albisetti, #139202)
 
6638
 
 
6639
* Treat an encoding of '' as ascii; this can happen when bzr is run
 
6640
  under vim on Mac OS X.
 
6641
  (Neil Martinsen-Burrell)
 
6642
 
 
6643
* ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in
 
6644
  scope. (Daniel Fischer #235687)
 
6645
 
 
6646
Documentation
 
6647
*************
 
6648
 
 
6649
* Added directory structure and started translation of docs in spanish.
 
6650
  (Martin Albisetti, Lucio Albenga)
 
6651
 
 
6652
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
6653
  on the plugin and integration chapters of the User Guide.
 
6654
  (Ian Clatworthy)
 
6655
 
 
6656
* More Bazaar developer documentation about packaging and release process,
 
6657
  and about use of Python reprs.
 
6658
  (Martin Pool, Martin Albisetti)
 
6659
 
 
6660
* Updated Tortise strategy document. (Mark Hammond)
 
6661
 
 
6662
Testing
 
6663
*******
 
6664
 
 
6665
* ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed.
 
6666
  (Robert Collins)
 
6667
 
 
6668
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
6669
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
6670
 
 
6671
* New helper function for splitting test suites
 
6672
  ``split_suite_by_condition``. (Robert Collins)
 
6673
 
 
6674
Internals
 
6675
*********
 
6676
 
 
6677
* ``Branch.missing_revisions`` has been deprecated. Similar functionality
 
6678
  can be obtained using ``bzrlib.missing.find_unmerged``. The api was
 
6679
  fairly broken, and the function was unused, so we are getting rid of it.
 
6680
  (John Arbash Meinel)
 
6681
 
 
6682
API Changes
 
6683
***********
 
6684
 
 
6685
* ``Branch.abspath`` is deprecated; use the Tree or Transport
 
6686
  instead.  (Martin Pool)
 
6687
 
 
6688
* ``Branch.update_revisions`` now takes an optional ``Graph``
 
6689
  object. This can be used by ``update_revisions`` when it is
 
6690
  checking ancestry, and allows callers to prefer request to go to a
 
6691
  local branch.  (John Arbash Meinel)
 
6692
 
 
6693
* Branch, Repository, Tree and BzrDir should expose a Transport as an
 
6694
  attribute if they have one, rather than having it indirectly accessible
 
6695
  as ``.control_files._transport``.  This doesn't add a requirement
 
6696
  to support a Transport in cases where it was not needed before;
 
6697
  it just simplifies the way it is reached.  (Martin Pool)
 
6698
 
 
6699
* ``bzr missing --mine-only`` will return status code 0 if you have no
 
6700
  new revisions, but the remote does. Similarly for ``--theirs-only``.
 
6701
  The new code only checks one side, so it doesn't know if the other
 
6702
  side has changes. This seems more accurate with the request anyway.
 
6703
  It also changes the output to print '[This|Other] branch is up to
 
6704
  date.' rather than displaying nothing.  (John Arbash Meinel)
 
6705
 
 
6706
* ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
 
6707
  are now deprecated in favor of using Transport operations.
 
6708
  (Martin Pool)
 
6709
 
 
6710
* Many methods on ``VersionedFile``, ``Repository`` and in
 
6711
  ``bzrlib.revision``  deprecated before bzrlib 1.5 have been removed.
 
6712
  (Robert Collins)
 
6713
 
 
6714
* ``RevisionSpec.wants_revision_history`` can be set to False for a given
 
6715
  ``RevisionSpec``. This will disable the existing behavior of passing in
 
6716
  the full revision history to ``self._match_on``. Useful for specs that
 
6717
  don't actually need access to the full history. (John Arbash Meinel)
 
6718
 
 
6719
* The constructors of ``SmartClientMedium`` and its subclasses now require a
 
6720
  ``base`` parameter.  ``SmartClientMedium`` implementations now also need
 
6721
  to provide a ``remote_path_from_transport`` method.  (Andrew Bennetts)
 
6722
 
 
6723
* The default permissions for creating new files and directories
 
6724
  should now be obtained from ``BzrDir._get_file_mode()`` and
 
6725
  ``_get_dir_mode()``, rather than from LockableFiles.  The ``_set_file_mode``
 
6726
  and ``_set_dir_mode`` variables on LockableFiles which were advertised
 
6727
  as a way for plugins to control this are no longer consulted.
 
6728
  (Martin Pool)
 
6729
 
 
6730
* ``VersionedFile.join`` is deprecated. This method required local
 
6731
  instances of both versioned file objects and was thus hostile to being
 
6732
  used for streaming from a smart server. The new get_record_stream and
 
6733
  insert_record_stream are meant to efficiently replace this method.
 
6734
  (Robert Collins)
 
6735
 
 
6736
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
6737
  which are in the ancestry of other revisions. So if you merge the same
 
6738
  tree twice, or merge an ancestor of an existing merge, it will only
 
6739
  record the newest. (If you merge a descendent, it will replace its
 
6740
  ancestor). (John Arbash Meinel, #235407)
 
6741
 
 
6742
* ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
 
6743
  (Martin Pool)
 
6744
 
 
6745
 
 
6746
bzr 1.5
 
6747
#######
 
6748
 
 
6749
:Released: 2008-05-16
 
6750
 
 
6751
This release of Bazaar includes several updates to the documentation, and fixes
 
6752
to prepare for making rich root support the default format. Many bugs have been
 
6753
squashed, including fixes to log, bzr+ssh inter-operation with older servers.
 
6754
 
 
6755
Changes
 
6756
*******
 
6757
 
 
6758
* Suppress deprecation warnings when bzrlib is a 'final' release. This way
 
6759
  users of packaged software won't be bothered with DeprecationWarnings,
 
6760
  but developers and testers will still see them. (John Arbash Meinel)
 
6761
 
 
6762
Documentation
 
6763
*************
 
6764
 
 
6765
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
6766
  on the plugin and integration chapters of the User Guide.
 
6767
  (Ian Clatworthy)
 
6768
 
 
6769
 
 
6770
bzr 1.5rc1
 
6771
##########
 
6772
 
 
6773
:Released: 2008-05-09
 
6774
 
 
6775
Changes
 
6776
*******
 
6777
 
 
6778
* Broader support of GNU Emacs mail clients. Set
 
6779
  ``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
 
6780
  bundle in a mail buffer according to the value of ``mail-user-agent``
 
6781
  variable. (Xavier Maillard)
 
6782
 
 
6783
Improvements
 
6784
************
 
6785
 
 
6786
* Diff now handles revision specs like "branch:" and "submit:" more
 
6787
  efficiently.  (Aaron Bentley, #202928)
 
6788
 
 
6789
* More friendly error given when attempt to start the smart server
 
6790
  on an address already in use. (Andrea Corbellini, #200575)
 
6791
 
 
6792
* Pull completes much faster when there is nothing to pull.
 
6793
  (Aaron Bentley)
 
6794
 
 
6795
Bugfixes
 
6796
********
 
6797
 
 
6798
* Authentication.conf can define sections without password.
 
6799
  (Vincent Ladeuil, #199440)
 
6800
 
 
6801
* Avoid muttering every time a child update does not cause a progress bar
 
6802
  update. (John Arbash Meinel, #213771)
 
6803
 
 
6804
* ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
 
6805
  to fix when a Branch has a non-canonical mainline history. ``bzr check``
 
6806
  also detects this condition. (John Arbash Meinel, #177855)
 
6807
 
 
6808
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
6809
  for ``revision_id=None`` which was not a string.
 
6810
  (John Arbash Meinel, #211661)
 
6811
 
 
6812
* ``bzr commit`` now works with Microsoft's FTP service.
 
6813
  (Andreas Deininger)
 
6814
 
 
6815
* Catch definitions outside sections in authentication.conf.
 
6816
  (Vincent Ladeuil, #217650)
 
6817
 
 
6818
* Conversion from non-rich-root to rich-root(-pack) updates inventory
 
6819
  sha1s, even when bundles are used.  (Aaron Bentley, #181391)
 
6820
 
 
6821
* Conversion from non-rich-root to rich-root(-pack) works correctly even
 
6822
  though search keys are not topologically sorted.  (Aaron Bentley)
 
6823
 
 
6824
* Conversion from non-rich-root to rich-root(-pack) works even when a
 
6825
  parent revision has a different root id.  (Aaron Bentley, #177874)
 
6826
 
 
6827
* Disable strace testing until strace is fixed (see bug #103133) and emit a
 
6828
  warning when selftest ends to remind us of leaking tests.
 
6829
  (Vincent Ladeuil, #226769)
 
6830
 
 
6831
* Fetching all revisions from a repository does not cause pack collisions.
 
6832
  (Robert Collins, Aaron Bentley, #212908)
 
6833
 
 
6834
* Fix error about "attempt to add line-delta in non-delta knit".
 
6835
  (Andrew Bennetts, #217701)
 
6836
 
 
6837
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
6838
  if the remote server was < version 1.2. This was due to a bug in the
 
6839
  RemoteRepository.get_parent_map() fallback code.
 
6840
  (John Arbash Meinel, #214894)
 
6841
 
 
6842
* Remove leftover code in ``bzr_branch`` that inappropriately creates
 
6843
  a ``branch-name`` file in the branch control directory.
 
6844
  (Martin Pool)
 
6845
 
 
6846
* Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
 
6847
  rebinding the socket when starting the server a second time.
 
6848
  (John Arbash Meinel, Martin Pool, #164288)
 
6849
 
 
6850
* Severe performance degradation in fetching from knit repositories to
 
6851
  knits and packs due to parsing the entire revisions.kndx on every graph
 
6852
  walk iteration fixed by using the Repository.get_graph API.  There was
 
6853
  another regression in knit => knit fetching which re-read the index for
 
6854
  every revision each side had in common.
 
6855
  (Robert Collins, John Arbash Meinel)
 
6856
 
 
6857
* When logging the changes to a particular file, there was a bug if there
 
6858
  were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
 
6859
 
 
6860
* xs4all's ftp server returns a temporary error when trying to list an
 
6861
  empty directory, rather than returning an empty list. Adding a
 
6862
  workaround so that we don't get spurious failures.
 
6863
  (John Arbash Meinel, #215522)
 
6864
 
 
6865
Documentation
 
6866
*************
 
6867
 
 
6868
* Expanded the User Guide to include new chapters on popular plugins and
 
6869
  integrating Bazaar into your environment. The *Best practices* chapter
 
6870
  was renamed to *Miscellaneous topics* as suggested by community
 
6871
  feedback as well. (Ian Clatworthy)
 
6872
 
 
6873
* Document outlining strategies for TortoiseBzr. (Mark Hammond)
 
6874
 
 
6875
* Improved the documentation on hooks. (Ian Clatworthy)
 
6876
 
 
6877
* Update authentication docs regarding ssh agents.
 
6878
  (Vincent Ladeuil, #183705)
 
6879
 
 
6880
Testing
 
6881
*******
 
6882
 
 
6883
* Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
 
6884
  make it easy to identify which test spawned a thread with an unhandled
 
6885
  exception. (Andrew Bennetts)
 
6886
 
 
6887
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
 
6888
  options for debugging tests, these are complementary to the -D
 
6889
  options.  The ``-Dselftest_debug`` global option has been replaced by the
 
6890
  ``-E=allow_debug`` option for selftest. (Andrew Bennetts)
 
6891
 
 
6892
* Parameterised test ids are preserved correctly to aid diagnosis of test
 
6893
  failures. (Robert Collins, Andrew Bennetts)
 
6894
 
 
6895
* selftest now accepts --starting-with <id> to load only the tests whose id
 
6896
  starts with the one specified. This greatly speeds up running the test
 
6897
  suite on a limited set of tests and can be used to run the tests for a
 
6898
  single module, a single class or even a single test.  (Vincent Ladeuil)
 
6899
 
 
6900
* The test suite modules have been modified to define load_tests() instead
 
6901
  of test_suite(). That speeds up selective loading (via --load-list)
 
6902
  significantly and provides many examples on how to migrate (grep for
 
6903
  load_tests).  (Vincent Ladeuil)
 
6904
 
 
6905
Internals
 
6906
*********
 
6907
 
 
6908
* ``Hooks.install_hook`` is now deprecated in favour of
 
6909
  ``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
 
6910
  avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
 
6911
 
 
6912
* Implement xml8 serializer.  (Aaron Bentley)
 
6913
 
 
6914
* New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making
 
6915
  deprecation wrappers.  (Martin Pool)
 
6916
 
 
6917
* ``Repository.revision_parents`` is now deprecated in favour of
 
6918
  ``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
 
6919
 
 
6920
* The Python ``assert`` statement is no longer used in Bazaar source, and
 
6921
  a test checks this.  (Martin Pool)
 
6922
 
 
6923
API Changes
 
6924
***********
 
6925
 
 
6926
* ``bzrlib.status.show_pending_merges`` requires the repository to be
 
6927
  locked by the caller. Callers should have been doing it anyway, but it
 
6928
  will now raise an exception if they do not. (John Arbash Meinel)
 
6929
 
 
6930
* Repository.get_data_stream, Repository.get_data_stream_for_search(),
 
6931
  Repository.get_deltas_for_revsions(), Repository.revision_trees(),
 
6932
  Repository.item_keys_introduced_by() no longer take read locks.
 
6933
  (Aaron Bentley)
 
6934
 
 
6935
* ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
 
6936
  towards removing LockableFiles and ``.control_files`` entirely.
 
6937
  (Martin Pool)
 
6938
 
 
6939
* Methods deprecated prior to 1.1 have been removed.
 
6940
  (Martin Pool)
 
6941
 
 
6942
 
 
6943
bzr 1.4 
 
6944
#######
 
6945
 
 
6946
:Released: 2008-04-28
 
6947
 
 
6948
This release of Bazaar includes handy improvements to the speed of log and
 
6949
status, new options for several commands, improved documentation, and better
 
6950
hooks, including initial code for server-side hooks.  A number of bugs have
 
6951
been fixed, particularly in interoperability between different formats or
 
6952
different releases of Bazaar over there network.  There's been substantial
 
6953
internal work in both the repository and network code to enable new features
 
6954
and faster performance.
 
6955
 
 
6956
Bug Fixes
 
6957
*********
 
6958
 
 
6959
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
6960
  if the remote server was < version 1.2.  This was due to a bug in the
 
6961
  RemoteRepository.get_parent_map() fallback code.
 
6962
  (John Arbash Meinel, Andrew Bennetts, #214894)
 
6963
 
 
6964
 
 
6965
bzr 1.4rc2
 
6966
##########
 
6967
 
 
6968
:Released: 2008-04-21
 
6969
 
 
6970
Bug Fixes
 
6971
*********
 
6972
 
 
6973
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
6974
  for ``revision_id=None`` which was not a string.
 
6975
  (John Arbash Meinel, #211661)
 
6976
 
 
6977
* Fixed a bug in handling ghost revisions when logging changes in a
 
6978
  particular file.  (John Arbash Meinel, #209948)
 
6979
 
 
6980
* Fix error about "attempt to add line-delta in non-delta knit".
 
6981
  (Andrew Bennetts, #205156)
 
6982
 
 
6983
* Fixed performance degradation in fetching from knit repositories to
 
6984
  knits and packs due to parsing the entire revisions.kndx on every graph
 
6985
  walk iteration fixed by using the Repository.get_graph API.  There was
 
6986
  another regression in knit => knit fetching which re-read the index for
 
6987
  every revision each side had in common.
 
6988
  (Robert Collins, John Arbash Meinel)
 
6989
 
 
6990
 
 
6991
bzr 1.4rc1
 
6992
##########
 
6993
 
 
6994
:Released: 2008-04-11
 
6995
 
 
6996
Changes
 
6997
*******
 
6998
 
 
6999
* bzr main script cannot be imported (Benjamin Peterson)
 
7000
 
 
7001
* On GNU/Linux bzr additionally looks for plugins in arch-independent site
 
7002
  directory. (Toshio Kuratomi)
 
7003
 
 
7004
* The ``set_rh`` branch hook is now deprecated. Please migrate
 
7005
  any plugins using this hook to use an alternative, e.g.
 
7006
  ``post_change_branch_tip``. (Ian Clatworthy)
 
7007
 
 
7008
* When a plugin cannot be loaded as the file path is not a valid
 
7009
  python module name bzr will now strip a ``bzr_`` prefix from the
 
7010
  front of the suggested name, as many plugins (e.g. bzr-svn)
 
7011
  want to be installed without this prefix. It is a common mistake
 
7012
  to have a folder named "bzr-svn" for that plugin, especially
 
7013
  as this is what bzr branch lp:bzr-svn will give you. (James Westby,
 
7014
  Andrew Cowie)
 
7015
 
 
7016
* UniqueIntegerBugTracker now appends bug-ids instead of joining
 
7017
  them to the base URL. Plugins that register bug trackers may
 
7018
  need a trailing / added to the base URL if one is not already there.
 
7019
  (James Wesby, Andrew Cowie)
 
7020
 
 
7021
Features
 
7022
********
 
7023
 
 
7024
* Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
 
7025
 
 
7026
* ``status`` now accepts ``--no-pending`` to show the status without
 
7027
  listing pending merges, which speeds up the command a lot on large
 
7028
  histories.  (James Westby, #202830)
 
7029
 
 
7030
* New ``post_change_branch_tip`` hook that is called after the
 
7031
  branch tip is moved but while the branch is still write-locked.
 
7032
  See the User Reference for signature details.
 
7033
  (Ian Clatworthy, James Henstridge)
 
7034
 
 
7035
* Reconfigure can convert a branch to be standalone or to use a shared
 
7036
  repository.  (Aaron Bentley)
 
7037
 
 
7038
Improvements
 
7039
************
 
7040
 
 
7041
* The smart protocol now has support for setting branches' revision info
 
7042
  directly.  This should make operations like push slightly faster, and is a
 
7043
  step towards server-side hooks.  The new request method name is
 
7044
  ``Branch.set_last_revision_info``.  (Andrew Bennetts)
 
7045
 
 
7046
* ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
 
7047
  (James Westby, Andrew Cowie)
 
7048
 
 
7049
* ``bzr switch`` will attempt to find branches to switch to relative to the
 
7050
  current branch. E.g. ``bzr switch branchname`` will look for
 
7051
  ``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
 
7052
  Wouter van Heyst)
 
7053
 
 
7054
* Diff is now more specific about execute-bit changes it describes
 
7055
  (Chad Miller)
 
7056
 
 
7057
* Fetching data over HTTP is a bit faster when urllib is used.  This is done
 
7058
  by forcing it to recv 64k at a time when reading lines in HTTP headers,
 
7059
  rather than just 1 byte at a time.  (Andrew Bennetts)
 
7060
 
 
7061
* Log --short and --line are much faster when -r is not specified.
 
7062
  (Aaron Bentley)
 
7063
 
 
7064
* Merge is faster.  We no longer check a file's existence unnecessarily
 
7065
  when merging the execute bit.  (Aaron Bentley)
 
7066
 
 
7067
* ``bzr status`` on an explicit list of files no longer shows pending
 
7068
  merges, making it much faster on large trees. (John Arbash Meinel)
 
7069
 
 
7070
* The launchpad directory service now warns the user if they have not set
 
7071
  their launchpad login and are trying to resolve a URL using it, just
 
7072
  in case they want to do a write operation with it.  (James Westby)
 
7073
 
 
7074
* The smart protocol client is slightly faster, because it now only queries
 
7075
  the server for the protocol version once per connection.  Also, the HTTP
 
7076
  transport will now automatically probe for and use a smart server if
 
7077
  one is present.  You can use the new ``nosmart+`` transport decorator
 
7078
  to get the old behaviour.  (Andrew Bennetts)
 
7079
 
 
7080
* The ``version`` command takes a ``--short`` option to print just the
 
7081
  version number, for easier use in scripts.  (Martin Pool)
 
7082
 
 
7083
* Various operations with revision specs and commands that calculate
 
7084
  revnos and revision ids are faster.  (John A. Meinel, Aaron Bentley)
 
7085
 
 
7086
Bugfixes
 
7087
********
 
7088
 
 
7089
* Add ``root_client_path`` parameter to SmartWSGIApp and
 
7090
  SmartServerRequest.  This makes it possible to publish filesystem
 
7091
  locations that don't exactly match URL paths. SmartServerRequest
 
7092
  subclasses should use the new ``translate_client_path`` and
 
7093
  ``transport_from_client_path`` methods when dealing with paths received
 
7094
  from a client to take this into account.  (Andrew Bennetts, #124089)
 
7095
 
 
7096
* ``bzr mv a b`` can be now used also to rename previously renamed
 
7097
  directories, not only files. (Lukáš Lalinský, #107967)
 
7098
 
 
7099
* ``bzr uncommit --local`` can now remove revisions from the local
 
7100
  branch to be symmetric with ``bzr commit --local``.
 
7101
  (John Arbash Meinel, #93412)
 
7102
 
 
7103
* Don't ask for a password if there is no real terminal.
 
7104
  (Alexander Belchenko, #69851)
 
7105
 
 
7106
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
7107
  fetching revisions from a knit to pack repository or vice versa using
 
7108
  bzr:// (including over http or ssh).
 
7109
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
7110
 
 
7111
* Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy.  Also
 
7112
  fixed ``_get_bytes`` in the same module to use the push back buffer.
 
7113
  These bugs had no known impact in normal use, but were problematic for
 
7114
  developers working on the code, and were likely to cause real bugs sooner
 
7115
  or later.  (Andrew Bennetts)
 
7116
 
 
7117
* Implement handling of basename parameter for DefaultMail.  (James Westby)
 
7118
 
 
7119
* Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
 
7120
  (Andrew Bennetts, #213425)
 
7121
 
 
7122
* Launchpad locations (lp: URLs) can be pulled.  (Aaron Bentley, #181945)
 
7123
 
 
7124
* Merges that add files to deleted root directories complete.  They
 
7125
  do create conflicts.  (Aaron Bentley, #210092)
 
7126
 
 
7127
* vsftp's return ``550 RNFR command failed.`` supported.
 
7128
  (Marcus Trautwig, #129786)
 
7129
 
 
7130
Documentation
 
7131
*************
 
7132
 
 
7133
* Improved documentation on send/merge relationship. (Peter Schuller)
 
7134
 
 
7135
* Minor fixes to the User Guide. (Matthew Fuller)
 
7136
 
 
7137
* Reduced the evangelism in the User Guide. (Ian Clatworthy)
 
7138
 
 
7139
* Added Integrating with Bazaar document for developers (Martin Albisetti)
 
7140
 
 
7141
API Breaks
 
7142
**********
 
7143
 
 
7144
* Attempting to pull data from a ghost aware repository (e.g. knits) into a
 
7145
  non-ghost aware repository such as weaves will now fail if there are
 
7146
  ghosts.  (Robert Collins)
 
7147
 
 
7148
* ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
 
7149
  now requires the ``index`` and ``access_method`` parameters to be
 
7150
  supplied. A compatible shim has been kept in the new function
 
7151
  ``knit.make_file_knit``. (Robert Collins)
 
7152
 
 
7153
* Log formatters must now provide log_revision instead of show and
 
7154
  show_merge_revno methods. The latter had been deprecated since the 0.17
 
7155
  release. (James Westby)
 
7156
 
 
7157
* ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
 
7158
  (Andrew Bennetts)
 
7159
 
 
7160
* ``osutils.backup_file`` is removed. (Alexander Belchenko)
 
7161
 
 
7162
* ``Repository.get_revision_graph`` is deprecated, with no replacement
 
7163
  method. The method was size(history) and not desirable. (Robert Collins)
 
7164
 
 
7165
* ``revision.revision_graph`` is deprecated, with no replacement function.
 
7166
  The function was size(history) and not desirable. (Robert Collins)
 
7167
 
 
7168
* ``Transport.get_shared_medium`` is deprecated.  Use
 
7169
  ``Transport.get_smart_medium`` instead.  (Andrew Bennetts)
 
7170
 
 
7171
* ``VersionedFile`` factories now accept a get_scope parameter rather
 
7172
  than using a call to ``transaction_finished``, allowing the removal of
 
7173
  the fixed list of versioned files per repository. (Robert Collins)
 
7174
 
 
7175
* ``VersionedFile.annotate_iter`` is deprecated. While in principle this
 
7176
  allowed lower memory use, all users of annotations wanted full file
 
7177
  annotations, and there is no storage format suitable for incremental
 
7178
  line-by-line annotation. (Robert Collins)
 
7179
 
 
7180
* ``VersionedFile.clone_text`` is deprecated. This performance optimisation
 
7181
  is no longer used - reading the content of a file that is undergoing a
 
7182
  file level merge to identical state on two branches is rare enough, and
 
7183
  not expensive enough to special case. (Robert Collins)
 
7184
 
 
7185
* ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
 
7186
  These methods added significant complexity to the ``VersionedFile``
 
7187
  implementation, but were only used for optimising fetches from knits -
 
7188
  which can be done from outside the knit layer, or via a caching
 
7189
  decorator. As knits are not the default format, the complexity is no
 
7190
  longer worth paying. (Robert Collins)
 
7191
 
 
7192
* ``VersionedFile.create_empty`` is removed. This method presupposed a
 
7193
  sensible mapping to a transport for individual files, but pack backed
 
7194
  versioned files have no such mapping. (Robert Collins)
 
7195
 
 
7196
* ``VersionedFile.get_graph`` is deprecated, with no replacement method.
 
7197
  The method was size(history) and not desirable. (Robert Collins)
 
7198
 
 
7199
* ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
 
7200
  replacement method.  The method was size(history) and not desirable.
 
7201
  (Robert Collins)
 
7202
 
 
7203
* ``VersionedFile.get_parents`` is deprecated, please use
 
7204
  ``VersionedFile.get_parent_map``. (Robert Collins)
 
7205
 
 
7206
* ``VersionedFile.get_sha1`` is deprecated, please use
 
7207
  ``VersionedFile.get_sha1s``. (Robert Collins)
 
7208
 
 
7209
* ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
 
7210
  and unused outside of a single test. (Robert Collins)
 
7211
 
 
7212
* ``VersionedFile.iter_parents`` is now deprecated in favour of
 
7213
  ``get_parent_map`` which can be used to instantiate a Graph on a
 
7214
  VersionedFile. (Robert Collins)
 
7215
 
 
7216
* ``VersionedFileStore`` no longer uses the transaction parameter given
 
7217
  to most methods; amongst other things this means that the
 
7218
  get_weave_or_empty method no longer guarantees errors on a missing weave
 
7219
  in a readonly transaction, and no longer caches versioned file instances
 
7220
  which reduces memory pressure (but requires more careful management by
 
7221
  callers to preserve performance). (Robert Collins)
 
7222
 
 
7223
Testing
 
7224
*******
 
7225
 
 
7226
* New -Dselftest_debug flag disables clearing of the debug flags during
 
7227
  tests.  This is useful if you want to use e.g. -Dhpss to help debug a
 
7228
  failing test.  Be aware that using this feature is likely to cause
 
7229
  spurious test failures if used with the full suite. (Andrew Bennetts)
 
7230
 
 
7231
* selftest --load-list now uses a new more agressive test loader that will
 
7232
  avoid loading unneeded modules and building their tests. Plugins can use
 
7233
  this new loader by defining a load_tests function instead of a test_suite
 
7234
  function. (a forthcoming patch will provide many examples on how to
 
7235
  implement this).
 
7236
  (Vincent Ladeuil)
 
7237
 
 
7238
* selftest --load-list now does some sanity checks regarding duplicate test
 
7239
  IDs and tests present in the list but not found in the actual test suite.
 
7240
  (Vincent Ladeuil)
 
7241
 
 
7242
* Slightly more concise format for the selftest progress bar, so there's
 
7243
  more space to show the test name.  (Martin Pool) ::
 
7244
 
 
7245
    [2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
 
7246
 
 
7247
* The test suite takes much less memory to run, and is a bit faster.  This
 
7248
  is done by clearing most attributes of TestCases after running them, if
 
7249
  they succeeded.  (Andrew Bennetts)
 
7250
 
 
7251
Internals
 
7252
*********
 
7253
 
 
7254
* Added ``_build_client_protocol`` to ``_SmartClient``.  (Andrew Bennetts)
 
7255
 
 
7256
* Added basic infrastructure for automatic plugin suggestion.
 
7257
  (Martin Albisetti)
 
7258
 
 
7259
* If a ``LockableFiles`` object is not explicitly unlocked (for example
 
7260
  because of a missing ``try/finally`` block, it will give a warning but
 
7261
  not automatically unlock itself.  (Previously they did.)  This
 
7262
  sometimes caused knock-on errors if for example the network connection
 
7263
  had already failed, and should not be relied upon by code.
 
7264
  (Martin Pool, #109520)
 
7265
 
 
7266
* ``make dist`` target to build a release tarball, and also
 
7267
  ``check-dist-tarball`` and ``dist-upload-escudero``.  (Martin Pool)
 
7268
 
 
7269
* The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
 
7270
  classes will now raise ``UnknownSmartMethod`` when appropriate, so that
 
7271
  callers don't need to try distinguish unknown request errors from other
 
7272
  errors.  (Andrew Bennetts)
 
7273
 
 
7274
* ``set_make_working_trees`` is now implemented provided on all repository
 
7275
  implementations (Aaron Bentley)
 
7276
 
 
7277
* ``VersionedFile`` now has a new method ``get_parent_map`` which, like
 
7278
  ``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
 
7279
 
 
7280
 
 
7281
bzr 1.3.1
 
7282
#########
 
7283
 
 
7284
:Released: 2008-04-09
 
7285
 
 
7286
No changes from 1.3.1rc1.
 
7287
 
 
7288
 
 
7289
bzr 1.3.1rc1
 
7290
############
 
7291
 
 
7292
:Released: 2008-04-04
 
7293
 
 
7294
Bug Fixes
 
7295
*********
 
7296
 
 
7297
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
7298
  fetching revisions from a knit to pack repository or vice versa using
 
7299
  bzr:// (including over http or ssh).
 
7300
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
7301
 
 
7302
 
 
7303
bzr 1.3
 
7304
#######
 
7305
 
 
7306
:Released: 2008-03-20
 
7307
 
 
7308
Bazaar has become part of the GNU project <http://www.gnu.org>
 
7309
 
 
7310
Many operations that act on history, including ``log`` and ``annotate`` are now
 
7311
substantially faster.  Several bugs have been fixed and several new options and
 
7312
features have been added.
 
7313
 
 
7314
Testing
 
7315
*******
 
7316
 
 
7317
* Avoid spurious failure of ``TestVersion.test_version`` matching
 
7318
  directory names.
 
7319
  (#202778, Martin Pool)
 
7320
 
 
7321
 
 
7322
bzr 1.3rc1
 
7323
##########
 
7324
 
 
7325
:Released: 2008-03-16
 
7326
 
 
7327
Notes When Upgrading
 
7328
********************
 
7329
 
 
7330
* The backup directory created by ``upgrade`` is now called
 
7331
  ``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
 
7332
 
 
7333
Changes
 
7334
*******
 
7335
 
 
7336
* A new repository format 'development' has been added. This format will
 
7337
  represent the latest 'in-progress' format that the bzr developers are
 
7338
  interested in getting early-adopter testing and feedback on.
 
7339
  ``doc/developers/development-repo.txt`` has detailed information.
 
7340
  (Robert Collins)
 
7341
 
 
7342
* BZR_LOG environment variable controls location of .bzr.log trace file.
 
7343
  User can suppress writing messages to .bzr.log by using '/dev/null'
 
7344
  filename (on Unix) or 'NUL' (on Windows). If BZR_LOG variable
 
7345
  is not defined but BZR_HOME is defined then default location
 
7346
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
 
7347
  (Alexander Belchenko, #106117)
 
7348
 
 
7349
* ``launchpad`` builtin plugin now shipped as separate part in standalone
 
7350
  bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
 
7351
  and standalone installer allows user to skip installation of this plugin.
 
7352
  (Alexander Belchenko)
 
7353
 
 
7354
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
 
7355
 
 
7356
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
 
7357
  missing final fields.  (Martin Pool)
 
7358
 
 
7359
Features
 
7360
********
 
7361
 
 
7362
* ``branch`` and ``checkout`` can hard-link working tree files, which is
 
7363
  faster and saves space.  (Aaron Bentley)
 
7364
 
 
7365
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
 
7366
  the submit branch to determine the email address to send to.
 
7367
  (Jelmer Vernooij)
 
7368
 
 
7369
Improvements
 
7370
************
 
7371
 
 
7372
* BzrBranch._lefthand_history is faster on pack repos.  (Aaron Bentley)
 
7373
 
 
7374
* Branch6.generate_revision_history is faster.  (Aaron Bentley)
 
7375
 
 
7376
* Directory services can now be registered, allowing special URLs to be
 
7377
  dereferenced into real URLs.  This is a generalization and cleanup of
 
7378
  the lp: transport lookup.  (Aaron Bentley)
 
7379
 
 
7380
* Merge directives that are automatically attached to emails have nicer
 
7381
  filenames, based on branch-nick + revno. (Aaron Bentley)
 
7382
 
 
7383
* ``push`` has a ``--revision`` option, to specify what revision to push up
 
7384
  to.  (Daniel Watkins)
 
7385
 
 
7386
* Significantly reducing execution time and network traffic for trivial
 
7387
  case of running ``bzr missing`` command for two identical branches.
 
7388
  (Alexander Belchenko)
 
7389
 
 
7390
* Speed up operations that look at the revision graph (such as 'bzr log').
 
7391
  ``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
 
7392
  extract the revision history. This allows filtering ghosts while
 
7393
  stepping instead of needing to peek ahead. (John Arbash Meinel)
 
7394
 
 
7395
* The ``hooks`` command lists installed hooks, to assist in debugging.
 
7396
  (Daniel Watkins)
 
7397
 
 
7398
* Updates to how ``annotate`` work. Should see a measurable improvement in
 
7399
  performance and memory consumption for file with a lot of merges.
 
7400
  Also, correctly handle when a line is introduced by both parents (it
 
7401
  should be attributed to the first merge which notices this, and not
 
7402
  to all subsequent merges.) (John Arbash Meinel)
 
7403
 
 
7404
Bugfixes
 
7405
********
 
7406
 
 
7407
* Autopacking no longer holds the full set of inventory lines in
 
7408
  memory while copying. For large repositories, this can amount to
 
7409
  hundreds of MB of ram consumption.
 
7410
  (Ian Clatworthy, John Arbash Meinel)
 
7411
 
 
7412
* Cherrypicking when using ``--format=merge3`` now explictly excludes
 
7413
  BASE lines. (John Arbash Meinel, #151731)
 
7414
 
 
7415
* Disable plink's interactive prompt for password.
 
7416
  (#107593, Dmitry Vasiliev)
 
7417
 
 
7418
* Encode command line arguments from unicode to user_encoding before
 
7419
  invoking external mail client in `bzr send` command.
 
7420
  (#139318, Alexander Belchenko)
 
7421
 
 
7422
* Fixed problem connecting to ``bzr+https://`` servers.
 
7423
  (#198793, John Ferlito)
 
7424
 
 
7425
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
 
7426
  #196618)
 
7427
 
 
7428
* Include quick-start-summary.svg file to python-based installer(s)
 
7429
  for Windows. (#192924, Alexander Belchenko)
 
7430
 
 
7431
* lca merge now respects specified files. (Aaron Bentley)
 
7432
 
 
7433
* Make version-info --custom imply --all. (#195560, James Westby)
 
7434
 
 
7435
* ``merge --preview`` now works for merges that add or modify
 
7436
  symlinks (James Henstridge)
 
7437
 
 
7438
* Redirecting the output from ``bzr merge`` (when the remembered
 
7439
  location is used) now works. (John Arbash Meinel)
 
7440
 
 
7441
* setup.py script explicitly checks for Python version.
 
7442
  (Jari Aalto, Alexander Belchenko, #200569)
 
7443
 
 
7444
* UnknownFormatErrors no longer refer to branches regardless of kind of
 
7445
  unknown format. (Daniel Watkins, #173980)
 
7446
 
 
7447
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
 
7448
  signs, among other small improvements. (Matt Nordhoff, #86838)
 
7449
 
 
7450
* Use correct indices when emitting LCA conflicts.  This fixes IndexError
 
7451
  errors.  (Aaron Bentley, #196780)
 
7452
 
 
7453
Documentation
 
7454
*************
 
7455
 
 
7456
* Explained how to use ``version-info --custom`` in the User Guide.
 
7457
  (Neil Martinsen-Burrell)
 
7458
 
 
7459
API Breaks
 
7460
**********
 
7461
 
 
7462
* Support for loading plugins from zip files and
 
7463
  ``bzrlib.plugin.load_from_zip()`` function are deprecated.
 
7464
  (Alexander Belchenko)
 
7465
 
 
7466
Testing
 
7467
*******
 
7468
 
 
7469
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
 
7470
 
 
7471
* The branch interface tests were invalid for branches using rich-root
 
7472
  repositories because the empty string is not a valid file-id.
 
7473
  (Robert Collins)
 
7474
 
 
7475
Internals
 
7476
*********
 
7477
 
 
7478
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
 
7479
  ``Repository.get_revision_graph()`` except it includes ghosts and you can
 
7480
  stop part-way through. (John Arbash Meinel)
 
7481
 
 
7482
* New module ``tools/package_mf.py`` provide custom module finder for
 
7483
  python packages (improves standard python library's modulefinder.py)
 
7484
  used by ``setup.py`` script while building standalone bzr.exe.
 
7485
  (Alexander Belchenko)
 
7486
 
 
7487
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
 
7488
  detecting external lookup support on remote repositories. This method is
 
7489
  now attempted first when lookup up repositories, leading to an extra
 
7490
  round trip on older bzr smart servers. (Robert Collins)
 
7491
 
 
7492
* Repository formats have a new supported-feature attribute
 
7493
  ``supports_external_lookups`` used to indicate repositories which support
 
7494
  falling back to other repositories when they have partial data.
 
7495
  (Robert Collins)
 
7496
 
 
7497
* ``Repository.get_revision_graph_with_ghosts`` and
 
7498
  ``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
 
7499
  have been deprecated.  (John Arbash Meinel)
 
7500
 
 
7501
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
 
7502
  ``Tree._iter_changes``. The api is now considered stable and ready for
 
7503
  external users.  (Aaron Bentley)
 
7504
 
 
7505
* The bzrdir format registry now accepts an ``alias`` keyword to
 
7506
  register_metadir, used to indicate that a format name is an alias for
 
7507
  some other format and thus should not be reported when describing the
 
7508
  format. (Robert Collins)
 
7509
 
 
7510
 
 
7511
bzr 1.2
 
7512
#######
 
7513
 
 
7514
:Released: 2008-02-15
 
7515
 
 
7516
Bug Fixes
 
7517
*********
 
7518
 
 
7519
* Fix failing test in Launchpad plugin. (Martin Pool)
 
7520
 
 
7521
 
 
7522
bzr 1.2rc1
 
7523
##########
 
7524
 
 
7525
:Released: 2008-02-13
 
7526
 
 
7527
Notes When Upgrading
 
7528
********************
 
7529
 
 
7530
* Fetching via the smart protocol may need to reconnect once during a fetch
 
7531
  if the remote server is running Bazaar 1.1 or earlier, because the client
 
7532
  attempts to use more efficient requests that confuse older servers.  You
 
7533
  may be required to re-enter a password or passphrase when this happens.
 
7534
  This won't happen if the server is upgraded to Bazaar 1.2.
 
7535
  (Andrew Bennetts)
 
7536
 
 
7537
Changes
 
7538
*******
 
7539
 
 
7540
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
 
7541
  consistent with pack-0.92 fetching over SFTP). (Robert Collins)
 
7542
 
 
7543
* Formatting of ``bzr plugins`` output is changed to be more human-
 
7544
  friendly. Full path of plugins locations will be shown only with
 
7545
  ``--verbose`` command-line option. (Alexander Belchenko)
 
7546
 
 
7547
* ``merge`` now prefers to use the submit branch, but will fall back to
 
7548
  parent branch.  For many users, this has no effect.  But some users who
 
7549
  pull and merge on the same branch will notice a change.  This change
 
7550
  makes it easier to work on a branch on two different machines, pulling
 
7551
  between the machines, while merging from the upstream.
 
7552
  ``merge --remember`` can now be used to set the submit_branch.
 
7553
  (Aaron Bentley)
 
7554
 
 
7555
Features
 
7556
********
 
7557
 
 
7558
* ``merge --preview`` produces a diff of the changes merge would make,
 
7559
  but does not actually perform the merge.  (Aaron Bentley)
 
7560
 
 
7561
* New smart method ``Repository.get_parent_map`` for getting revision
 
7562
  parent data. This returns additional parent information topologically
 
7563
  adjacent to the requested data to reduce round trip latency impacts.
 
7564
  (Robert Collins)
 
7565
 
 
7566
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
 
7567
  revision data that streams revision data via a chunked encoding.  This
 
7568
  avoids buffering large amounts of revision data on the server and on the
 
7569
  client, and sends less data to the server to request the revisions.
 
7570
  (Andrew Bennetts, Robert Collins, #178353)
 
7571
 
 
7572
* The launchpad plugin now handles lp urls of the form
 
7573
  ``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
 
7574
  launchpad instance to do the resolution of the branch identities.
 
7575
  This is primarily of use to Launchpad developers, but can also
 
7576
  be used by other users who want to try out Launchpad as
 
7577
  a branch location without messing up their public Launchpad
 
7578
  account.  Branches that are pushed to the staging environment
 
7579
  have an expected lifetime of one day. (Tim Penhey)
 
7580
 
 
7581
Improvements
 
7582
************
 
7583
 
 
7584
* Creating a new branch no longer tries to read the entire revision-history
 
7585
  unnecessarily over smart server operations. (Robert Collins)
 
7586
 
 
7587
* Fetching between different repository formats with compatible models now
 
7588
  takes advantage of the smart method to stream revisions.  (Andrew Bennetts)
 
7589
 
 
7590
* The ``--coverage`` option is now global, rather specific to ``bzr
 
7591
  selftest``.  (Andrew Bennetts)
 
7592
 
 
7593
* The ``register-branch`` command will now use the public url of the branch
 
7594
  containing the current directory, if one has been set and no explicit
 
7595
  branch is provided.  (Robert Collins)
 
7596
 
 
7597
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
 
7598
  Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
 
7599
  (John Arbash Meinel)
 
7600
 
 
7601
Bugfixes
 
7602
********
 
7603
 
 
7604
* Calculate remote path relative to the shared medium in _SmartClient.  This
 
7605
  is related to the problem in bug #124089.  (Andrew Bennetts)
 
7606
 
 
7607
* Cleanly handle connection errors in smart protocol version two, the same
 
7608
  way as they are handled by version one.  (Andrew Bennetts)
 
7609
 
 
7610
* Clearer error when ``version-info --custom`` is used without
 
7611
  ``--template`` (Lukáš Lalinský)
 
7612
 
 
7613
* Don't raise UnavailableFeature during test setup when medusa is not
 
7614
  available or tearDown is never called leading to nasty side effects.
 
7615
  (#137823, Vincent Ladeuil)
 
7616
 
 
7617
* If a plugin's test suite cannot be loaded, for example because of a syntax
 
7618
  error in the tests, then ``selftest`` fails, rather than just printing
 
7619
  a warning.  (Martin Pool, #189771)
 
7620
 
 
7621
* List possible values for BZR_SSH environment variable in env-variables
 
7622
  help topic. (Alexander Belchenko, #181842)
 
7623
 
 
7624
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
 
7625
  popping the log redirection now precisely restores the previous state,
 
7626
  which makes it easier to use bzr log output from other programs.
 
7627
  TestCaseInTempDir no longer depends on a log redirection being established
 
7628
  by the test framework, which lets bzr tests cleanly run from a normal
 
7629
  unittest runner.
 
7630
  (#124153, #124849, Martin Pool, Jonathan Lange)
 
7631
 
 
7632
* ``pull --quiet`` is now more quiet, in particular a message is no longer
 
7633
  printed when the remembered pull location is used. (James Westby,
 
7634
  #185907)
 
7635
 
 
7636
* ``reconfigure`` can safely be interrupted while fetching.
 
7637
  (Aaron Bentley, #179316)
 
7638
 
 
7639
* ``reconfigure`` preserves tags when converting to and from lightweight
 
7640
  checkouts.  (Aaron Bentley, #182040)
 
7641
 
 
7642
* Stop polluting /tmp when running selftest.
 
7643
  (Vincent Ladeuil, #123363)
 
7644
 
 
7645
* Switch from NFKC => NFC for normalization checks. NFC allows a few
 
7646
  more characters which should be considered valid.
 
7647
  (John Arbash Meinel, #185458)
 
7648
 
 
7649
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
 
7650
  interacting badly with a bug on the launchpad side. (Robert Collins)
 
7651
 
 
7652
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
 
7653
  tracebacks.  (Andrew Bennetts, #182849)
 
7654
 
 
7655
API Breaks
 
7656
**********
 
7657
 
 
7658
* Classes implementing Merge types like Merge3Merger must now accept (and
 
7659
  honour) a do_merge flag in their constructor.  (Aaron Bentley)
 
7660
 
 
7661
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
 
7662
  to previously take a write lock (and start a write group.)
 
7663
  (Martin Pool)
 
7664
 
 
7665
Testing
 
7666
*******
 
7667
 
 
7668
* selftest now accepts --load-list <file> to load a test id list. This
 
7669
  speeds up running the test suite on a limited set of tests.
 
7670
  (Vincent Ladeuil)
 
7671
 
 
7672
Internals
 
7673
*********
 
7674
 
 
7675
* Add a new method ``get_result`` to graph search objects. The resulting
 
7676
  ``SearchResult`` can be used to recreate the search later, which will
 
7677
  be useful in reducing network traffic. (Robert Collins)
 
7678
 
 
7679
* Use convenience function to check whether two repository handles
 
7680
  are referring to the same repository in ``Repository.get_graph``.
 
7681
  (Jelmer Vernooij, #187162)
 
7682
 
 
7683
* Fetching now passes the find_ghosts flag through to the
 
7684
  ``InterRepository.missing_revision_ids`` call consistently for all
 
7685
  repository types. This will enable faster missing revision discovery with
 
7686
  bzr+ssh. (Robert Collins)
 
7687
 
 
7688
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
 
7689
 
 
7690
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
 
7691
  ``InterRepository.search_missing_revision_ids`` which returns a
 
7692
  ``bzrlib.graph.SearchResult`` suitable for making requests from the smart
 
7693
  server. (Robert Collins)
 
7694
 
 
7695
* New error ``NoPublicBranch`` for commands that need a public branch to
 
7696
  operate. (Robert Collins)
 
7697
 
 
7698
* New method ``iter_inventories`` on Repository for access to many
 
7699
  inventories. This is primarily used by the ``revision_trees`` method, as
 
7700
  direct access to inventories is discouraged. (Robert Collins)
 
7701
 
 
7702
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
 
7703
  which will split out ghosts and present parents into two separate sets,
 
7704
  useful for code which needs to be aware of ghosts (e.g. fetching data
 
7705
  cares about ghosts during revision selection). (Robert Collins)
 
7706
 
 
7707
* Record a timestamp against each mutter to the trace file, relative to the
 
7708
  first import of bzrlib.  (Andrew Bennetts)
 
7709
 
 
7710
* ``Repository.get_data_stream`` is now deprecated in favour of
 
7711
  ``Repository.get_data_stream_for_search`` which allows less network
 
7712
  traffic when requesting data streams over a smart server. (Robert Collins)
 
7713
 
 
7714
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
 
7715
  removing one round trip on many network operations. (Robert Collins)
 
7716
 
 
7717
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
 
7718
  SFTPTransport and HttpTransportBase.  (Andrew Bennetts)
 
7719
 
 
7720
* Repository has a new method ``has_revisions`` which signals the presence
 
7721
  of many revisions by returning a set of the revisions listed which are
 
7722
  present. This can be done by index queries without reading data for parent
 
7723
  revision names etc. (Robert Collins)
 
7724
 
 
7725
 
 
7726
bzr 1.1
 
7727
#######
 
7728
 
 
7729
:Released: 2008-01-15
 
7730
 
 
7731
(no changes from 1.1rc1)
 
7732
 
 
7733
bzr 1.1rc1
 
7734
##########
 
7735
 
 
7736
:Released: 2008-01-05
 
7737
 
 
7738
Changes
 
7739
*******
 
7740
 
 
7741
* Dotted revision numbers have been revised. Instead of growing longer with
 
7742
  nested branches the branch number just increases. (eg instead of 1.1.1.1.1
 
7743
  we now report 1.2.1.) This helps scale long lived branches which have many
 
7744
  feature branches merged between them. (John Arbash Meinel)
 
7745
 
 
7746
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
 
7747
  Use ``bzr diff branch1 --new branch2`` instead. This change has
 
7748
  been made to remove the ambiguity where ``branch2`` is in fact a
 
7749
  specific file to diff within ``branch1``.
 
7750
 
 
7751
Features
 
7752
********
 
7753
 
 
7754
* New option to use custom template-based formats in  ``bzr version-info``.
 
7755
  (Lukáš Lalinský)
 
7756
 
 
7757
* diff '--using' allows an external diff tool to be used for files.
 
7758
  (Aaron Bentley)
 
7759
 
 
7760
* New "lca" merge-type for fast everyday merging that also supports
 
7761
  criss-cross merges.  (Aaron Bentley)
 
7762
 
 
7763
Improvements
 
7764
************
 
7765
 
 
7766
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
 
7767
  #90049)
 
7768
 
 
7769
* ``branch`` and ``checkout`` can now use files from a working tree to
 
7770
  to speed up the process.  For checkout, this requires the new
 
7771
  --files-from flag.  (Aaron Bentley)
 
7772
 
 
7773
* ``bzr diff`` now sorts files in alphabetical order.  (Aaron Bentley)
 
7774
 
 
7775
* ``bzr diff`` now works on branches without working trees. Tree-less
 
7776
  branches can also be compared to each other and to working trees using
 
7777
  the new diff options ``--old`` and ``--new``. Diffing between branches,
 
7778
  with or without trees, now supports specific file filtering as well.
 
7779
  (Ian Clatworthy, #6700)
 
7780
 
 
7781
* ``bzr pack`` now orders revision texts in topological order, with newest
 
7782
  at the start of the file, promoting linear reads for ``bzr log`` and the
 
7783
  like. This partially fixes #154129. (Robert Collins)
 
7784
 
 
7785
* Merge directives now fetch prerequisites from the target branch if
 
7786
  needed.  (Aaron Bentley)
 
7787
 
 
7788
* pycurl now handles digest authentication.
 
7789
  (Vincent Ladeuil)
 
7790
 
 
7791
* ``reconfigure`` can now convert from repositories.  (Aaron Bentley)
 
7792
 
 
7793
* ``-l`` is now a short form for ``--limit`` in ``log``.  (Matt Nordhoff)
 
7794
 
 
7795
* ``merge`` now warns when merge directives cause cherrypicks.
 
7796
  (Aaron Bentley)
 
7797
 
 
7798
* ``split`` now supported, to enable splitting large trees into smaller
 
7799
  pieces.  (Aaron Bentley)
 
7800
 
 
7801
Bugfixes
 
7802
********
 
7803
 
 
7804
* Avoid AttributeError when unlocking a pack repository when an error occurs.
 
7805
  (Martin Pool, #180208)
 
7806
 
 
7807
* Better handle short reads when processing multiple range requests.
 
7808
  (Vincent Ladeuil, #179368)
 
7809
 
 
7810
* build_tree acceleration uses the correct path when a file has been moved.
 
7811
  (Aaron Bentley)
 
7812
 
 
7813
* ``commit`` now succeeds when a checkout and its master branch share a
 
7814
  repository.  (Aaron Bentley, #177592)
 
7815
 
 
7816
* Fixed error reporting of unsupported timezone format in
 
7817
  ``log --timezone``. (Lukáš Lalinský, #178722)
 
7818
 
 
7819
* Fixed Unicode encoding error in ``ignored`` when the output is
 
7820
  redirected to a pipe. (Lukáš Lalinský)
 
7821
 
 
7822
* Fix traceback when sending large response bodies over the smart protocol
 
7823
  on Windows. (Andrew Bennetts, #115781)
 
7824
 
 
7825
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
 
7826
  pointed to different logical drives on Windows.
 
7827
  (Alexander Belchenko, #90847)
 
7828
 
 
7829
* HTTP test servers are now compatible with the http protocol version 1.1.
 
7830
  (Vincent Ladeuil, #175524)
 
7831
 
 
7832
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
 
7833
  correctly, instead of erroring or attributing incorrect parents to ghosts.
 
7834
  (Aaron Bentley)
 
7835
 
 
7836
* ``merge --weave --uncommitted`` now works.  (Aaron Bentley)
 
7837
 
 
7838
* pycurl authentication handling was broken and incomplete. Fix handling of
 
7839
  user:pass embedded in the urls.
 
7840
  (Vincent Ladeuil, #177643)
 
7841
 
 
7842
* Files inside non-directories are now handled like other conflict types.
 
7843
  (Aaron Bentley, #177390)
 
7844
 
 
7845
* ``reconfigure`` is able to convert trees into lightweight checkouts.
 
7846
  (Aaron Bentley)
 
7847
 
 
7848
* Reduce lockdir timeout to 0 when running ``bzr serve``.  (Andrew Bennetts,
 
7849
  #148087)
 
7850
 
 
7851
* Test that the old ``version_info_format`` functions still work, even
 
7852
  though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
 
7853
 
 
7854
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
 
7855
  #137681)
 
7856
 
 
7857
* ``uncommit`` works even when the commit messages of revisions to be
 
7858
  removed use characters not supported in the terminal encoding.
 
7859
  (Aaron Bentley)
 
7860
 
 
7861
* When dumb http servers return whole files instead of the requested ranges,
 
7862
  read the remaining bytes by chunks to avoid overflowing network buffers.
 
7863
  (Vincent Ladeuil, #175886)
 
7864
 
 
7865
Documentation
 
7866
*************
 
7867
 
 
7868
* Minor tweaks made to the bug tracker integration documentation.
 
7869
  (Ian Clatworthy)
 
7870
 
 
7871
* Reference material has now be moved out of the User Guide and added
 
7872
  to the User Reference. The User Reference has gained 4 sections as
 
7873
  a result: Authenication Settings, Configuration Settings, Conflicts
 
7874
  and Hooks. All help topics are now dumped into text format in the
 
7875
  doc/en/user-reference directory for those who like browsing that
 
7876
  information in their editor. (Ian Clatworthy)
 
7877
 
 
7878
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
 
7879
 
 
7880
Internals
 
7881
*********
 
7882
 
 
7883
* find_* methods available for BzrDirs, Branches and WorkingTrees.
 
7884
  (Aaron Bentley)
 
7885
 
 
7886
* Help topics can now be loaded from files.
 
7887
  (Ian Clatworthy, Alexander Belchenko)
 
7888
 
 
7889
* get_parent_map now always provides tuples as its output.  (Aaron Bentley)
 
7890
 
 
7891
* Parent Providers should now implement ``get_parent_map`` returning a
 
7892
  dictionary instead of ``get_parents`` returning a list.
 
7893
  ``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
 
7894
  Robert Collins)
 
7895
 
 
7896
* Patience Diff now supports arbitrary python objects, as long as they
 
7897
  support ``hash()``. (John Arbash Meinel)
 
7898
 
 
7899
* Reduce selftest overhead to establish test names by memoization.
 
7900
  (Vincent Ladeuil)
 
7901
 
 
7902
API Breaks
 
7903
**********
 
7904
 
 
7905
Testing
 
7906
*******
 
7907
 
 
7908
* Modules can now customise their tests by defining a ``load_tests``
 
7909
  attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
 
7910
  for the documentation on this attribute. (Robert Collins)
 
7911
 
 
7912
* New helper function ``bzrlib.tests.condition_id_re`` which helps
 
7913
  filter tests based on a regular expression search on the tests id.
 
7914
  (Robert Collins)
 
7915
 
 
7916
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
 
7917
  filter tests based on class. (Robert Collins)
 
7918
 
 
7919
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
 
7920
  generalises the ``exclude_suite_by_re`` function. (Robert Collins)
 
7921
 
 
7922
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
 
7923
  generalises the ``filter_suite_by_re`` function. (Robert Collins)
 
7924
 
 
7925
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
 
7926
  TestSuite that does not contain tests from the input that matched a
 
7927
  regular expression. (Robert Collins)
 
7928
 
 
7929
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
 
7930
  randomized copy of the input suite. (Robert Collins)
 
7931
 
 
7932
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
 
7933
  suite into two according to a regular expression. (Robert Collins)
 
7934
 
 
7935
* Parametrize all http tests for the transport implementations, the http
 
7936
  protocol versions (1.0 and 1.1) and the authentication schemes.
 
7937
  (Vincent Ladeuil)
 
7938
 
 
7939
* The ``exclude_pattern`` and ``random_order`` parameters to the function
 
7940
  ``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
 
7941
 
 
7942
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
 
7943
  replaced by the new helper methods added in this release. (Robert Collins)
 
7944
 
 
7945
 
 
7946
bzr 1.0
 
7947
#######
 
7948
 
 
7949
:Released: 2007-12-14
 
7950
 
 
7951
Documentation
 
7952
*************
 
7953
 
 
7954
* More improvements and fixes to the User Guide.  (Ian Clatworthy)
 
7955
 
 
7956
* Add information on cherrypicking/rebasing to the User Guide.
 
7957
  (Ian Clatworthy)
 
7958
 
 
7959
* Improve bug tracker integration documentation. (Ian Clatworthy)
 
7960
 
 
7961
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
 
7962
  to the rebasing section of the User Guide from Aaron Bentley.
 
7963
  (Ian Clatworthy)
 
7964
 
 
7965
 
 
7966
bzr 1.0rc3
 
7967
##########
 
7968
 
 
7969
:Released: 2007-12-11
 
7970
 
 
7971
Changes
 
7972
*******
 
7973
 
 
7974
* If a traceback occurs, users are now asked to report the bug
 
7975
  through Launchpad (https://bugs.launchpad.net/bzr/), rather than
 
7976
  by mail to the mailing list.
 
7977
  (Martin Pool)
 
7978
 
 
7979
Bugfixes
 
7980
********
 
7981
 
 
7982
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
 
7983
 
 
7984
* Give more feedback during long http downloads by making readv deliver data
 
7985
  as it arrives for urllib, and issue more requests for pycurl. High latency
 
7986
  networks are better handled by urllib, the pycurl implementation give more
 
7987
  feedback but also incur more latency.
 
7988
  (Vincent Ladeuil, #173010)
 
7989
 
 
7990
* Implement _make_parents_provider on RemoteRepository, allowing generating
 
7991
  bundles against branches on a smart server.  (Andrew Bennetts, #147836)
 
7992
 
 
7993
Documentation
 
7994
*************
 
7995
 
 
7996
* Improved user guide.  (Ian Clatworthy)
 
7997
 
 
7998
* The single-page quick reference guide is now available as a PDF.
 
7999
  (Ian Clatworthy)
 
8000
 
 
8001
Internals
 
8002
*********
 
8003
 
 
8004
* readv urllib http implementation is now a real iterator above the
 
8005
  underlying socket and deliver data as soon as it arrives. 'get' still
 
8006
  wraps its output in a StringIO.
 
8007
  (Vincent Ladeuil)
 
8008
 
 
8009
 
 
8010
bzr 1.0rc2
 
8011
##########
 
8012
 
 
8013
:Released: 2007-12-07
 
8014
 
 
8015
Improvements
 
8016
************
 
8017
 
 
8018
* Added a --coverage option to selftest. (Andrew Bennetts)
 
8019
 
 
8020
* Annotate merge (merge-type=weave) now supports cherrypicking.
 
8021
  (Aaron Bentley)
 
8022
 
 
8023
* ``bzr commit`` now doesn't print the revision number twice. (Matt
 
8024
  Nordhoff, #172612)
 
8025
 
 
8026
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
 
8027
  define locations of bug trackers that are not directly supported by
 
8028
  bzr or a plugin. The URL will be treated as a template and ``{id}``
 
8029
  placeholders will be replaced by specific bug IDs.  (Lukáš Lalinský)
 
8030
 
 
8031
* Support logging single merge revisions with short and line log formatters.
 
8032
  (Kent Gibson)
 
8033
 
 
8034
* User Guide enhanced with suggested readability improvements from
 
8035
  Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
 
8036
 
 
8037
* Quick Start Guide renamed to Quick Start Card, moved down in
 
8038
  the catalog, provided in pdf and png format and updated to refer
 
8039
  to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
 
8040
 
 
8041
* ``switch`` can now be used on heavyweight checkouts as well as
 
8042
  lightweight ones. After switching a heavyweight checkout, the
 
8043
  local branch is a mirror/cache of the new bound branch and
 
8044
  uncommitted changes in the working tree are merged. As a safety
 
8045
  check, if there are local commits in a checkout which have not
 
8046
  been committed to the previously bound branch, then ``switch``
 
8047
  fails unless the ``--force`` option is given. This option is
 
8048
  now also required if the branch a lightweight checkout is pointing
 
8049
  to has been moved. (Ian Clatworthy)
 
8050
 
 
8051
Internals
 
8052
*********
 
8053
 
 
8054
* New -Dhttp debug option reports http connections, requests and responses.
 
8055
  (Vincent Ladeuil)
 
8056
 
 
8057
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
 
8058
 
 
8059
Bugfixes
 
8060
********
 
8061
 
 
8062
* Better error message when running ``bzr cat`` on a non-existant branch.
 
8063
  (Lukáš Lalinský, #133782)
 
8064
 
 
8065
* Catch OSError 17 (file exists) in final phase of tree transform and show
 
8066
  filename to user.
 
8067
  (Alexander Belchenko, #111758)
 
8068
 
 
8069
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
 
8070
  allowing multiple GET requests to be issued if too many ranges are
 
8071
  required.
 
8072
  (Vincent Ladeuil, #172701)
 
8073
 
 
8074
* Check for missing basis texts when fetching from packs to packs.
 
8075
  (John Arbash Meinel, #165290)
 
8076
 
 
8077
* Fall back to showing e-mail in ``log --short/--line`` if the
 
8078
  committer/author has only e-mail. (Lukáš Lalinský, #157026)
 
8079
 
 
8080
API Breaks
 
8081
**********
 
8082
 
 
8083
* Deprecate not passing a ``location`` argument to commit reporters'
 
8084
  ``started`` methods. (Matt Nordhoff)
 
8085
 
 
8086
 
 
8087
bzr 1.0rc1
 
8088
##########
 
8089
 
 
8090
:Released: 2007-11-30
 
8091
 
 
8092
Notes When Upgrading
 
8093
********************
 
8094
 
 
8095
* The default repository format is now ``pack-0.92``.  This
 
8096
  default is used when creating new repositories with ``init`` and
 
8097
  ``init-repo``, and when branching over bzr+ssh or bzr+hpss.
 
8098
  (See https://bugs.launchpad.net/bugs/164626)
 
8099
 
 
8100
  This format can be read and written by Bazaar 0.92 and later, and
 
8101
  data can be transferred to and from older formats.
 
8102
 
 
8103
  To upgrade, please reconcile your repository (``bzr reconcile``), and then
 
8104
  upgrade (``bzr upgrade``).
 
8105
 
 
8106
  ``pack-0.92`` offers substantially better scaling and performance than the
 
8107
  previous knits format. Some operations are slower where the code already
 
8108
  had bad scaling characteristics under knits, the pack format makes such
 
8109
  operations more visible as part of being more scalable overall. We will
 
8110
  correct such operations over the coming releases and encourage the filing
 
8111
  of bugs on any operation which you observe to be slower in a packs
 
8112
  repository. One particular case that we do not intend to fix is pulling
 
8113
  data from a pack repository into a knit repository over a high latency
 
8114
  link;  downgrading such data requires reinsertion of the file texts, and
 
8115
  this is a classic space/time tradeoff. The current implementation is
 
8116
  conservative on memory usage because we need to support converting data
 
8117
  from any tree without problems.
 
8118
  (Robert Collins, Martin Pool, #164476)
 
8119
 
 
8120
Changes
 
8121
*******
 
8122
 
 
8123
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
 
8124
  still available if user selects it explicitly with BZR_SSH environment
 
8125
  variable. (Alexander Belchenko, workaround for bug #107593)
 
8126
 
 
8127
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
 
8128
  to enable the subtree functions (for example, for bzr-svn).
 
8129
  (Martin Pool)
 
8130
 
 
8131
Features
 
8132
********
 
8133
 
 
8134
* New ``authentication.conf`` file holding the password or other credentials
 
8135
  for remote servers. This can be used for ssh, sftp, smtp and other
 
8136
  supported transports.
 
8137
  (Vincent Ladeuil)
 
8138
 
 
8139
* New rich-root and rich-root-pack formats, recording the same data about
 
8140
  tree roots that's recorded for all other directories.
 
8141
  (Aaron Bentley, #164639)
 
8142
 
 
8143
* ``pack-0.92`` repositories can now be reconciled.
 
8144
  (Robert Collins, #154173)
 
8145
 
 
8146
* ``switch`` command added for changing the branch a lightweight checkout
 
8147
  is associated with and updating the tree to reflect the latest content
 
8148
  accordingly. This command was previously part of the BzrTools plug-in.
 
8149
  (Ian Clatworthy, Aaron Bentley, David Allouche)
 
8150
 
 
8151
* ``reconfigure`` command can now convert branches, trees, or checkouts to
 
8152
  lightweight checkouts.  (Aaron Bentley)
 
8153
 
 
8154
Performance
 
8155
***********
 
8156
 
 
8157
* Commit updates the state of the working tree via a delta rather than
 
8158
  supplying entirely new basis trees. For commit of a single specified file
 
8159
  this reduces the wall clock time for commit by roughly a 30%.
 
8160
  (Robert Collins, Martin Pool)
 
8161
 
 
8162
* Commit with many automatically found deleted paths no longer performs
 
8163
  linear scanning for the children of those paths during inventory
 
8164
  iteration. This should fix commit performance blowing out when many such
 
8165
  paths occur during commit. (Robert Collins, #156491)
 
8166
 
 
8167
* Fetch with pack repositories will no longer read the entire history graph.
 
8168
  (Robert Collins, #88319)
 
8169
 
 
8170
* Revert takes out an appropriate lock when reverting to a basis tree, and
 
8171
  does not read the basis inventory twice. (Robert Collins)
 
8172
 
 
8173
* Diff does not require an inventory to be generated on dirstate trees.
 
8174
  (Aaron Bentley, #149254)
 
8175
 
 
8176
* New annotate merge (--merge-type=weave) implementation is fast on
 
8177
  versionedfiles withough cached annotations, e.g. pack-0.92.
 
8178
  (Aaron Bentley)
 
8179
 
 
8180
Improvements
 
8181
************
 
8182
 
 
8183
* ``bzr merge`` now warns when it encounters a criss-cross merge.
 
8184
  (Aaron Bentley)
 
8185
 
 
8186
* ``bzr send`` now doesn't require the target e-mail address to be
 
8187
  specified on the command line if an interactive e-mail client is used.
 
8188
  (Lukáš Lalinský)
 
8189
 
 
8190
* ``bzr tags`` now prints the revision number for each tag, instead of
 
8191
  the revision id, unless --show-ids is passed. In addition, tags can be
 
8192
  sorted chronologically instead of lexicographically with --sort=time.
 
8193
  (Adeodato Simó, #120231)
 
8194
 
 
8195
* Windows standalone version of bzr is able to load system-wide plugins from
 
8196
  "plugins" subdirectory in installation directory. In addition standalone
 
8197
  installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
 
8198
  about paths and bzr version. (Alexander Belchenko, #129298)
 
8199
 
 
8200
Documentation
 
8201
*************
 
8202
 
 
8203
Bug Fixes
 
8204
*********
 
8205
 
 
8206
* A progress bar has been added for knitpack -> knitpack fetching.
 
8207
  (Robert Collins, #157789, #159147)
 
8208
 
 
8209
* Branching from a branch via smart server now preserves the repository
 
8210
  format. (Andrew Bennetts,  #164626)
 
8211
 
 
8212
* ``commit`` is now able to invoke an external editor in a non-ascii
 
8213
  directory. (Daniel Watkins, #84043)
 
8214
 
 
8215
* Catch connection errors for ftp.
 
8216
  (Vincent Ladeuil, #164567)
 
8217
 
 
8218
* ``check`` no longer reports spurious unreferenced text versions.
 
8219
  (Robert Collins, John A Meinel, #162931, #165071)
 
8220
 
 
8221
* Conflicts are now resolved recursively by ``revert``.
 
8222
  (Aaron Bentley, #102739)
 
8223
 
 
8224
* Detect invalid transport reuse attempts by catching invalid URLs.
 
8225
  (Vincent Ladeuil, #161819)
 
8226
 
 
8227
* Deleting a file without removing it shows a correct diff, not a traceback.
 
8228
  (Aaron Bentley)
 
8229
 
 
8230
* Do no use timeout in HttpServer anymore.
 
8231
  (Vincent Ladeuil, #158972).
 
8232
 
 
8233
* Don't catch the exceptions related to the http pipeline status before
 
8234
  retrying an http request or some programming errors may be masked.
 
8235
  (Vincent Ladeuil, #160012)
 
8236
 
 
8237
* Fix ``bzr rm`` to not delete modified and ignored files.
 
8238
  (Lukáš Lalinský, #172598)
 
8239
 
 
8240
* Fix exception when revisionspec contains merge revisons but log
 
8241
  formatter doesn't support merge revisions. (Kent Gibson, #148908)
 
8242
 
 
8243
* Fix exception when ScopeReplacer is assigned to before any members have
 
8244
  been retrieved.  (Aaron Bentley)
 
8245
 
 
8246
* Fix multiple connections during checkout --lightweight.
 
8247
  (Vincent Ladeuil, #159150)
 
8248
 
 
8249
* Fix possible error in insert_data_stream when copying between
 
8250
  pack repositories over bzr+ssh or bzr+http.
 
8251
  KnitVersionedFile.get_data_stream now makes sure that requested
 
8252
  compression parents are sent before any delta hunks that depend
 
8253
  on them.
 
8254
  (Martin Pool, #164637)
 
8255
 
 
8256
* Fix typo in limiting offsets coalescing for http, leading to
 
8257
  whole files being downloaded instead of parts.
 
8258
  (Vincent Ladeuil, #165061)
 
8259
 
 
8260
* FTP server errors don't error in the error handling code.
 
8261
  (Robert Collins, #161240)
 
8262
 
 
8263
* Give a clearer message when a pull fails because the source needs
 
8264
  to be reconciled.
 
8265
  (Martin Pool, #164443)
 
8266
 
 
8267
* It is clearer when a plugin cannot be loaded because of its name, and a
 
8268
  suggestion for an acceptable name is given. (Daniel Watkins, #103023)
 
8269
 
 
8270
* Leave port as None in transport objects if user doesn't
 
8271
  specify a port in urls.
 
8272
  (vincent Ladeuil, #150860)
 
8273
 
 
8274
* Make sure Repository.fetch(self) is properly a no-op for all
 
8275
  Repository implementations. (John Arbash Meinel, #158333)
 
8276
 
 
8277
* Mark .bzr directories as "hidden" on Windows.
 
8278
  (Alexander Belchenko, #71147)
 
8279
 
 
8280
* ``merge --uncommitted`` can now operate on a single file.
 
8281
  (Aaron Bentley, Lukáš Lalinský, #136890)
 
8282
 
 
8283
* Obsolete packs are now cleaned up by pack and autopack operations.
 
8284
  (Robert Collins, #153789)
 
8285
 
 
8286
* Operations pulling data from a smart server where the underlying
 
8287
  repositories are not both annotated/both unannotated will now work.
 
8288
  (Robert Collins, #165304).
 
8289
 
 
8290
* Reconcile now shows progress bars. (Robert Collins, #159351)
 
8291
 
 
8292
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
 
8293
  properly. (John Arbash Meinel, #162486)
 
8294
 
 
8295
* Removing an already-removed file reports the file does not exist. (Daniel
 
8296
  Watkins, #152811)
 
8297
 
 
8298
* Rename on Windows is able to change filename case.
 
8299
  (Alexander Belchenko, #77740)
 
8300
 
 
8301
* Return error instead of a traceback for ``bzr log -r0``.
 
8302
  (Kent Gibson, #133751)
 
8303
 
 
8304
* Return error instead of a traceback when bzr is unable to create
 
8305
  symlink on some platforms (e.g. on Windows).
 
8306
  (Alexander Belchenko, workaround for #81689)
 
8307
 
 
8308
* Revert doesn't crash when restoring a single file from a deleted
 
8309
  directory. (Aaron Bentley)
 
8310
 
 
8311
* Stderr output via logging mechanism now goes through encoded wrapper
 
8312
  and no more uses utf-8, but terminal encoding instead. So all unicode
 
8313
  strings now should be readable in non-utf-8 terminal.
 
8314
  (Alexander Belchenko, #54173)
 
8315
 
 
8316
* The error message when ``move --after`` should be used makes how to do so
 
8317
  clearer. (Daniel Watkins, #85237)
 
8318
 
 
8319
* Unicode-safe output from ``bzr info``. The output will be encoded
 
8320
  using the terminal encoding and unrepresentable characters will be
 
8321
  replaced by '?'. (Lukáš Lalinský, #151844)
 
8322
 
 
8323
* Working trees are no longer created when pushing into a local no-trees
 
8324
  repo. (Daniel Watkins, #50582)
 
8325
 
 
8326
* Upgrade util/configobj to version 4.4.0.
 
8327
  (Vincent Ladeuil, #151208).
 
8328
 
 
8329
* Wrap medusa ftp test server as an FTPServer feature.
 
8330
  (Vincent Ladeuil, #157752)
 
8331
 
 
8332
API Breaks
 
8333
**********
 
8334
 
 
8335
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
 
8336
  during very long time. (Alexander Belchenko)
 
8337
 
 
8338
* The return value of
 
8339
  ``VersionedFile.iter_lines_added_or_present_in_versions`` has been
 
8340
  changed. Previously it was an iterator of lines, now it is an iterator of
 
8341
  (line, version_id) tuples. This change has been made to aid reconcile and
 
8342
  fetch operations. (Robert Collins)
 
8343
 
 
8344
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
 
8345
  (Robert Collins)
 
8346
 
 
8347
* The Repository format registry default has been removed; it was previously
 
8348
  obsoleted by the bzrdir format default, which implies a default repository
 
8349
  format.
 
8350
  (Martin Pool)
 
8351
 
 
8352
Internals
 
8353
*********
 
8354
 
 
8355
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
 
8356
  ``bzrlib.pack``.  These classes provide more convenient APIs for generating
 
8357
  and parsing containers from streams rather than from files.  (Andrew
 
8358
  Bennetts)
 
8359
 
 
8360
* New module ``lru_cache`` providing a cache for use by tasks that need
 
8361
  semi-random access to large amounts of data. (John A Meinel)
 
8362
 
 
8363
* InventoryEntry.diff is now deprecated.  Please use diff.DiffTree instead.
 
8364
 
 
8365
 
 
8366
bzr 0.92
 
8367
########
 
8368
 
 
8369
:Released: 2007-11-05
 
8370
 
 
8371
Changes
 
8372
*******
 
8373
 
 
8374
  * New uninstaller on Win32.  (Alexander Belchenko)
 
8375
 
 
8376
 
 
8377
bzr 0.92rc1
 
8378
###########
 
8379
 
 
8380
:Released: 2007-10-29
 
8381
 
 
8382
Changes
 
8383
*******
 
8384
 
 
8385
* ``bzr`` now returns exit code 4 if an internal error occurred, and
 
8386
  3 if a normal error occurred.  (Martin Pool)
 
8387
 
 
8388
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
 
8389
  repository index errors that occured as a result of the Weave disk format.
 
8390
  Instead the ``reconcile`` command needs to be run to correct those
 
8391
  problems if they exist (and it has been able to fix most such problems
 
8392
  since bzr 0.8). Some new problems have been identified during this release
 
8393
  and you should run ``bzr check`` once on every repository to see if you
 
8394
  need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
 
8395
  repository due to mismatched parent errors - a symptom of index errors -
 
8396
  you should simply take a full copy of that remote repository to a clean
 
8397
  directory outside any local repositories, then run reconcile on it, and
 
8398
  finally pull from it locally. (And naturally email the repositories owner
 
8399
  to ask them to upgrade and run reconcile).
 
8400
  (Robert Collins)
 
8401
 
 
8402
Features
 
8403
********
 
8404
 
 
8405
* New ``knitpack-experimental`` repository format. This is interoperable with
 
8406
  the ``dirstate-tags`` format but uses a smarter storage design that greatly
 
8407
  speeds up many operations, both local and remote. This new format can be
 
8408
  used as an option to the ``init``, ``init-repository`` and ``upgrade``
 
8409
  commands. (Robert Collins)
 
8410
 
 
8411
* For users of bzr-svn (and those testing the prototype subtree support) that
 
8412
  wish to try packs, a new ``knitpack-subtree-experimental`` format has also
 
8413
  been added. This is interoperable with the ``dirstate-subtrees`` format.
 
8414
  (Robert Collins)
 
8415
 
 
8416
* New ``reconfigure`` command. (Aaron Bentley)
 
8417
 
 
8418
* New ``revert --forget-merges`` command, which removes the record of a pending
 
8419
  merge without affecting the working tree contents.  (Martin Pool)
 
8420
 
 
8421
* New ``bzr_remote_path`` configuration variable allows finer control of
 
8422
  remote bzr locations than BZR_REMOTE_PATH environment variable.
 
8423
  (Aaron Bentley)
 
8424
 
 
8425
* New ``launchpad-login`` command to tell Bazaar your Launchpad
 
8426
  user ID.  This can then be used by other functions of the
 
8427
  Launchpad plugin. (James Henstridge)
 
8428
 
 
8429
Performance
 
8430
***********
 
8431
 
 
8432
* Commit in quiet mode is now slightly faster as the information to
 
8433
  output is no longer calculated. (Ian Clatworthy)
 
8434
 
 
8435
* Commit no longer checks for new text keys during insertion when the
 
8436
  revision id was deterministically unique. (Robert Collins)
 
8437
 
 
8438
* Committing a change which is not a merge and does not change the number of
 
8439
  files in the tree is faster by utilising the data about whether files are
 
8440
  changed to determine if the tree is unchanged rather than recalculating
 
8441
  it at the end of the commit process. (Robert Collins)
 
8442
 
 
8443
* Inventory serialisation no longer double-sha's the content.
 
8444
  (Robert Collins)
 
8445
 
 
8446
* Knit text reconstruction now avoids making copies of the lines list for
 
8447
  interim texts when building a single text. The new ``apply_delta`` method
 
8448
  on ``KnitContent`` aids this by allowing modification of the revision id
 
8449
  such objects represent. (Robert Collins)
 
8450
 
 
8451
* Pack indices are now partially parsed for specific key lookup using a
 
8452
  bisection approach. (Robert Collins)
 
8453
 
 
8454
* Partial commits are now approximately 40% faster by walking over the
 
8455
  unselected current tree more efficiently. (Robert Collins)
 
8456
 
 
8457
* XML inventory serialisation takes 20% less time while being stricter about
 
8458
  the contents. (Robert Collins)
 
8459
 
 
8460
* Graph ``heads()`` queries have been fixed to no longer access all history
 
8461
  unnecessarily. (Robert Collins)
 
8462
 
 
8463
Improvements
 
8464
************
 
8465
 
 
8466
* ``bzr+https://`` smart server across https now supported.
 
8467
  (John Ferlito, Martin Pool, #128456)
 
8468
 
 
8469
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
 
8470
  bazaar.conf and ``send`` will use mutt. (Keir Mierle)
 
8471
 
 
8472
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
 
8473
  changes from one revision. (Alexander Belchenko, #141368)
 
8474
 
 
8475
* Show encodings, locale and list of plugins in the traceback message.
 
8476
  (Martin Pool, #63894)
 
8477
 
 
8478
* Experimental directory formats can now be marked with
 
8479
  ``experimental = True`` during registration. (Ian Clatworthy)
 
8480
 
 
8481
Documentation
 
8482
*************
 
8483
 
 
8484
* New *Bazaar in Five Minutes* guide.  (Matthew Revell)
 
8485
 
 
8486
* The hooks reference documentation is now converted to html as expected.
 
8487
  (Ian Clatworthy)
 
8488
 
 
8489
Bug Fixes
 
8490
*********
 
8491
 
 
8492
* Connection error reporting for the smart server has been fixed to
 
8493
  display a user friendly message instead of a traceback.
 
8494
  (Ian Clatworthy, #115601)
 
8495
 
 
8496
* Make sure to use ``O_BINARY`` when opening files to check their
 
8497
  sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
 
8498
 
 
8499
* Fix a problem with Win32 handling of the executable bit.
 
8500
  (John Arbash Meinel, #149113)
 
8501
 
 
8502
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
 
8503
  no longer assume that means port 22.  This allows people using OpenSSH to
 
8504
  override the default port in their ``~/.ssh/config`` if they wish.  This
 
8505
  fixes a bug introduced in bzr 0.91.  (Andrew Bennetts, #146715)
 
8506
 
 
8507
* Commands reporting exceptions can now be profiled and still have their
 
8508
  data correctly dumped to a file. For example, a ``bzr commit`` with
 
8509
  no changes still reports the operation as pointless but doing so no
 
8510
  longer throws away the profiling data if this command is run with
 
8511
  ``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
 
8512
 
 
8513
* Fallback to ftp when paramiko is not installed and sftp can't be used for
 
8514
  ``tests/commands`` so that the test suite is still usable without
 
8515
  paramiko.
 
8516
  (Vincent Ladeuil, #59150)
 
8517
 
 
8518
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
 
8519
 
 
8520
* Fix long standing bug in partial commit when there are renames
 
8521
  left in tree. (Robert Collins, #140419)
 
8522
 
 
8523
* Fix selftest semi-random noise during http related tests.
 
8524
  (Vincent Ladeuil, #140614)
 
8525
 
 
8526
* Fix typo in ftp.py making the reconnection fail on temporary errors.
 
8527
  (Vincent Ladeuil, #154259)
 
8528
 
 
8529
* Fix failing test by comparing real paths to cover the case where the TMPDIR
 
8530
  contains a symbolic link.
 
8531
  (Vincent Ladeuil, #141382).
 
8532
 
 
8533
* Fix log against smart server branches that don't support tags.
 
8534
  (James Westby, #140615)
 
8535
 
 
8536
* Fix pycurl http implementation by defining error codes from
 
8537
  pycurl instead of relying on an old curl definition.
 
8538
  (Vincent Ladeuil, #147530)
 
8539
 
 
8540
* Fix 'unprintable error' message when displaying BzrCheckError and
 
8541
  some other exceptions on Python 2.5.
 
8542
  (Martin Pool, #144633)
 
8543
 
 
8544
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
 
8545
 
 
8546
* Handles default value for ListOption in cmd_commit.
 
8547
  (Vincent Ladeuil, #140432)
 
8548
 
 
8549
* HttpServer and FtpServer need to be closed properly or a listening socket
 
8550
  will remain opened.
 
8551
  (Vincent Ladeuil, #140055)
 
8552
 
 
8553
* Monitor the .bzr directory created in the top level test
 
8554
  directory to detect leaking tests.
 
8555
  (Vincent Ladeuil, #147986)
 
8556
 
 
8557
* The basename, not the full path, is now used when checking whether
 
8558
  the profiling dump file begins with ``callgrind.out`` or not. This
 
8559
  fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
 
8560
 
 
8561
* Trivial fix for invoking command ``reconfigure`` without arguments.
 
8562
  (Rob Weir, #141629)
 
8563
 
 
8564
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
 
8565
  new path causes bzr to be unable to access the file. (Robert Collins)
 
8566
 
 
8567
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
 
8568
  Merwe)
 
8569
 
 
8570
API Breaks
 
8571
**********
 
8572
 
 
8573
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
 
8574
  constructor, for enabling bisection searches. (Robert Collins)
 
8575
 
 
8576
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
 
8577
  tree be supplied to it, previously failing to do so would trigger a
 
8578
  deprecation warning. (Robert Collins)
 
8579
 
 
8580
* ``KnitVersionedFile.add*`` will no longer cache added records even when
 
8581
  enable_cache() has been called - the caching feature is now exclusively for
 
8582
  reading existing data. (Robert Collins)
 
8583
 
 
8584
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
 
8585
  appropriate.  (Martin Pool)
 
8586
 
 
8587
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
 
8588
  ``trace+`` transport instead. (Robert Collins)
 
8589
 
 
8590
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
 
8591
  deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
 
8592
  (Martin Pool)
 
8593
 
 
8594
* Removed previous deprecated ``basis_knit`` parameter to the
 
8595
  ``KnitVersionedFile`` constructor. (Robert Collins)
 
8596
 
 
8597
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
 
8598
  class that needs it.
 
8599
  (Martin Pool)
 
8600
 
 
8601
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
 
8602
  ``KnitRepository`` by parameters to the constructor. (Robert Collins)
 
8603
 
 
8604
* The ``VersionedFile`` interface now allows content checks to be bypassed
 
8605
  by supplying check_content=False.  This saves nearly 30% of the minimum
 
8606
  cost to store a version of a file. (Robert Collins)
 
8607
 
 
8608
* Tree's with bad state such as files with no length or sha will no longer
 
8609
  be silently accepted by the repository XML serialiser. To serialise
 
8610
  inventories without such data, pass working=True to write_inventory.
 
8611
  (Robert Collins)
 
8612
 
 
8613
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
 
8614
  ``VersionedFile.join`` will no longer accept different parents on either
 
8615
  side of a join - it will either ignore them, or error, depending on the
 
8616
  implementation. See notes when upgrading for more information.
 
8617
  (Robert Collins)
 
8618
 
 
8619
Internals
 
8620
*********
 
8621
 
 
8622
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
 
8623
  put by the method call, to allow avoiding stat-after-write or
 
8624
  housekeeping in callers. (Robert Collins)
 
8625
 
 
8626
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
 
8627
  mandatory attributes are present on serialisation and deserialisation.
 
8628
  This fixes some holes in API usage and allows better separation between
 
8629
  physical storage and object serialisation. (Robert Collins)
 
8630
 
 
8631
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
 
8632
  shorthand for deriving from BzrError and setting internal_error = True.
 
8633
  (Robert Collins)
 
8634
 
 
8635
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
 
8636
  moving the state of a parent tree to a new version via a delta rather than
 
8637
  a complete replacement tree. (Robert Collins)
 
8638
 
 
8639
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
 
8640
  duplication from user input, when a user mentions both a path and an item
 
8641
  contained within that path. (Robert Collins)
 
8642
 
 
8643
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
 
8644
  determining if a repository is write locked. (Robert Collins)
 
8645
 
 
8646
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
 
8647
  tuple containing the key information about a path for commit processing
 
8648
  to complete. (Robert Collins)
 
8649
 
 
8650
* New method on xml serialisers, write_inventory_to_lines, which matches the
 
8651
  API used by knits for adding content. (Robert Collins)
 
8652
 
 
8653
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
 
8654
  logic, currently only available for byte-based lookup
 
8655
  (``bisect_multi_bytes``). (Robert Collins)
 
8656
 
 
8657
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
 
8658
  and returns a gzipped version of the same. This is used to avoid a bunch
 
8659
  of api friction during adding of knit hunks. (Robert Collins)
 
8660
 
 
8661
* New parameter on ``bzrlib.transport.Transport.readv``
 
8662
  ``adjust_for_latency`` which changes readv from returning strictly the
 
8663
  requested data to inserted return larger ranges and in forward read order
 
8664
  to reduce the effect of network latency. (Robert Collins)
 
8665
 
 
8666
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
 
8667
  causes the parents of a selected id to be returned recursively, so all the
 
8668
  paths from the root down to each element of selected_file_ids are
 
8669
  returned. (Robert Collins)
 
8670
 
 
8671
* Knit joining has been enhanced to support plain to annotated conversion
 
8672
  and annotated to plain conversion. (Ian Clatworthy)
 
8673
 
 
8674
* The CommitBuilder method ``record_entry_contents`` now returns summary
 
8675
  information about the effect of the commit on the repository. This tuple
 
8676
  contains an inventory delta item if the entry changed from the basis, and a
 
8677
  boolean indicating whether a new file graph node was recorded.
 
8678
  (Robert Collins)
 
8679
 
 
8680
* The python path used in the Makefile can now be overridden.
 
8681
  (Andrew Bennetts, Ian Clatworthy)
 
8682
 
 
8683
Testing
 
8684
*******
 
8685
 
 
8686
* New transport implementation ``trace+`` which is useful for testing,
 
8687
  logging activity taken to its _activity attribute. (Robert Collins)
 
8688
 
 
8689
* When running bzr commands within the test suite, internal exceptions are
 
8690
  not caught and reported in the usual way, but rather allowed to propagate
 
8691
  up and be visible to the test suite.  A new API ``run_bzr_catch_user_errors``
 
8692
  makes this behavior available to other users.
 
8693
  (Martin Pool)
 
8694
 
 
8695
* New method ``TestCase.call_catch_warnings`` for testing methods that
 
8696
  raises a Python warning.  (Martin Pool)
 
8697
 
 
8698
 
 
8699
bzr 0.91
 
8700
########
 
8701
 
 
8702
:Released: 2007-09-26
 
8703
 
 
8704
Bug Fixes
 
8705
*********
 
8706
 
 
8707
* Print a warning instead of aborting the ``python setup.py install``
 
8708
  process if building of a C extension is not possible.
 
8709
  (Lukáš Lalinský, Alexander Belchenko)
 
8710
 
 
8711
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
8712
 
 
8713
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
 
8714
  an implicit port.  We were incorrectly raising PathNotChild due to
 
8715
  inconsistent treatment of the ''_port'' attribute on the Transport object.
 
8716
  (Andrew Bennetts, #133965)
 
8717
 
 
8718
* Make RemoteRepository.sprout cope gracefully with servers that don't
 
8719
  support the ``Repository.tarball`` request.
 
8720
  (Andrew Bennetts)
 
8721
 
 
8722
 
 
8723
bzr 0.91rc2
 
8724
###########
 
8725
 
 
8726
:Released: 2007-09-11
 
8727
 
 
8728
* Replaced incorrect tarball for previous release; a debug statement was left
 
8729
  in bzrlib/remote.py.
 
8730
 
 
8731
 
 
8732
bzr 0.91rc1
 
8733
###########
 
8734
 
 
8735
:Released: 2007-09-11
 
8736
 
 
8737
Changes
 
8738
*******
 
8739
 
 
8740
* The default branch and repository format has changed to
 
8741
  ``dirstate-tags``, so tag commands are active by default.
 
8742
  This format is compatible with Bazaar 0.15 and later.
 
8743
  This incidentally fixes bug #126141.
 
8744
  (Martin Pool)
 
8745
 
 
8746
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
 
8747
  must now appear after the command name. Scripts doing things like
 
8748
  ``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
 
8749
  (Ian Clatworthy)
 
8750
 
 
8751
Features
 
8752
********
 
8753
 
 
8754
* New option ``--author`` in ``bzr commit`` to specify the author of the
 
8755
  change, if it's different from the committer. ``bzr log`` and
 
8756
  ``bzr annotate`` display the author instead of the committer.
 
8757
  (Lukáš Lalinský)
 
8758
 
 
8759
* In addition to global options and command specific options, a set of
 
8760
  standard options are now supported. Standard options are legal for
 
8761
  all commands. The initial set of standard options are:
 
8762
 
 
8763
  * ``--help`` or ``-h`` - display help message
 
8764
  * ``--verbose`` or ``-v`` - display additional information
 
8765
  * ``--quiet``  or ``-q`` - only output warnings and errors.
 
8766
 
 
8767
  Unlike global options, standard options can be used in aliases and
 
8768
  may have command-specific help. (Ian Clatworthy)
 
8769
 
 
8770
* Verbosity level processing has now been unified. If ``--verbose``
 
8771
  or ``-v`` is specified on the command line multiple times, the
 
8772
  verbosity level is made positive the first time then increased.
 
8773
  If ``--quiet`` or ``-q`` is specified on the command line
 
8774
  multiple times, the verbosity level is made negative the first
 
8775
  time then decreased. To get the default verbosity level of zero,
 
8776
  either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
 
8777
  Note that most commands currently ignore the magnitude of the
 
8778
  verbosity level but do respect *quiet vs normal vs verbose* when
 
8779
  generating output. (Ian Clatworthy)
 
8780
 
 
8781
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
 
8782
  is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
 
8783
 
 
8784
* New ``Repository.stream_knit_data_for_revisions`` request added to the
 
8785
  network protocol for greatly reduced roundtrips when retrieving a set of
 
8786
  revisions. (Andrew Bennetts)
 
8787
 
 
8788
Bug Fixes
 
8789
*********
 
8790
 
 
8791
* ``bzr plugins`` now lists the version number for each plugin in square
 
8792
  brackets after the path. (Robert Collins, #125421)
 
8793
 
 
8794
* Pushing, pulling and branching branches with subtree references was not
 
8795
  copying the subtree weave, preventing the file graph from being accessed
 
8796
  and causing errors in commits in clones. (Robert Collins)
 
8797
 
 
8798
* Suppress warning "integer argument expected, got float" from Paramiko,
 
8799
  which sometimes caused false test failures.  (Martin Pool)
 
8800
 
 
8801
* Fix bug in bundle 4 that could cause attempts to write data to wrong
 
8802
  versionedfile.  (Aaron Bentley)
 
8803
 
 
8804
* Diffs generated using "diff -p" no longer break the patch parser.
 
8805
  (Aaron Bentley)
 
8806
 
 
8807
* get_transport treats an empty possible_transports list the same as a non-
 
8808
  empty one.  (Aaron Bentley)
 
8809
 
 
8810
* patch verification for merge directives is reactivated, and works with
 
8811
  CRLF and CR files.  (Aaron Bentley)
 
8812
 
 
8813
* Accept ..\ as a path in revision specifiers. This fixes for example
 
8814
  "-r branch:..\other-branch" on Windows.  (Lukáš Lalinský)
 
8815
 
 
8816
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
 
8817
  (Blake Winton, #129299)
 
8818
 
 
8819
* man page no longer lists hidden options (#131667, Aaron Bentley)
 
8820
 
 
8821
* ``uncommit --help`` now explains the -r option adequately.  (Daniel
 
8822
  Watkins, #106726)
 
8823
 
 
8824
* Error messages are now better formatted with parameters (such as
 
8825
  filenames) quoted when necessary. This avoids confusion when directory
 
8826
  names ending in a '.' at the end of messages were confused with a
 
8827
  full stop that may or not have been there. (Daniel Watkins, #129791)
 
8828
 
 
8829
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
 
8830
 
 
8831
* If a particular command is an alias, ``help`` will show the alias
 
8832
  instead of claiming there is no help for said alias. (Daniel Watkins,
 
8833
  #133548)
 
8834
 
 
8835
* TreeTransform-based operations, like pull, merge, revert, and branch,
 
8836
  now roll back if they encounter an error.  (Aaron Bentley, #67699)
 
8837
 
 
8838
* ``bzr commit`` now exits cleanly if a character unsupported by the
 
8839
  current encoding is used in the commit message.  (Daniel Watkins,
 
8840
  #116143)
 
8841
 
 
8842
* bzr send uses default values for ranges when only half of an elipsis
 
8843
  is specified ("-r..5" or "-r5..").  (#61685, Aaron Bentley)
 
8844
 
 
8845
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
 
8846
  binary is present.  (Martin Albisetti, #107155)
 
8847
 
 
8848
* ``bzr remove`` should remove clean subtrees.  Now it will remove (without
 
8849
  needing ``--force``) subtrees that contain no files with text changes or
 
8850
  modified files.  With ``--force`` it removes the subtree regardless of
 
8851
  text changes or unknown files. Directories with renames in or out (but
 
8852
  not changed otherwise) will now be removed without needing ``--force``.
 
8853
  Unknown ignored files will be deleted without needing ``--force``.
 
8854
  (Marius Kruger, #111665)
 
8855
 
 
8856
* When two plugins conflict, the source of both the losing and now the
 
8857
  winning definition is shown.  (Konstantin Mikhaylov, #5454)
 
8858
 
 
8859
* When committing to a branch, the location being committed to is
 
8860
  displayed.  (Daniel Watkins, #52479)
 
8861
 
 
8862
* ``bzr --version`` takes care about encoding of stdout, especially
 
8863
  when output is redirected. (Alexander Belchenko, #131100)
 
8864
 
 
8865
* Prompt for an ftp password if none is provided.
 
8866
  (Vincent Ladeuil, #137044)
 
8867
 
 
8868
* Reuse bound branch associated transport to avoid multiple
 
8869
  connections.
 
8870
  (Vincent Ladeuil, #128076, #131396)
 
8871
 
 
8872
* Overwrite conflicting tags by ``push`` and ``pull`` if the
 
8873
  ``--overwrite`` option is specified.  (Lukáš Lalinský, #93947)
 
8874
 
 
8875
* In checkouts, tags are copied into the master branch when created,
 
8876
  changed or deleted, and are copied into the checkout when it is
 
8877
  updated.  (Martin Pool, #93856, #93860)
 
8878
 
 
8879
* Print a warning instead of aborting the ``python setup.py install``
 
8880
  process if building of a C extension is not possible.
 
8881
  (Lukáš Lalinský, Alexander Belchenko)
 
8882
 
 
8883
Improvements
 
8884
************
 
8885
 
 
8886
* Add the option "--show-diff" to the commit command in order to display
 
8887
  the diff during the commit log creation. (Goffredo Baroncelli)
 
8888
 
 
8889
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
 
8890
  (Aaron Bentley)
 
8891
 
 
8892
* ``pull -v`` no longer includes deltas, making it much faster.
 
8893
  (Aaron Bentley)
 
8894
 
 
8895
* ``send`` now sends the directive as an attachment by default.
 
8896
  (Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
 
8897
 
 
8898
* Documentation updates (Martin Albisetti)
 
8899
 
 
8900
* Help on debug flags is now included in ``help global-options``.
 
8901
  (Daniel Watkins, #124853)
 
8902
 
 
8903
* Parameters passed on the command line are checked to ensure they are
 
8904
  supported by the encoding in use. (Daniel Watkins)
 
8905
 
 
8906
* The compression used within the bzr repository has changed from zlib
 
8907
  level 9 to the zlib default level. This improves commit performance with
 
8908
  only a small increase in space used (and in some cases a reduction in
 
8909
  space). (Robert Collins)
 
8910
 
 
8911
* Initial commit no longer SHAs files twice and now reuses the path
 
8912
  rather than looking it up again, making it faster.
 
8913
  (Ian Clatworthy)
 
8914
 
 
8915
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
 
8916
  changes in one revision.  (Lukáš Lalinský)
 
8917
 
 
8918
* If versioned files match a given ignore pattern, a warning is now
 
8919
  given. (Daniel Watkins, #48623)
 
8920
 
 
8921
* ``bzr status`` now has -S as a short name for --short and -V as a
 
8922
  short name for --versioned. These have been added to assist users
 
8923
  migrating from Subversion: ``bzr status -SV`` is now like
 
8924
  ``svn status -q``.  (Daniel Watkins, #115990)
 
8925
 
 
8926
* Added C implementation of  ``PatienceSequenceMatcher``, which is about
 
8927
  10x faster than the Python version. This speeds up commands that
 
8928
  need file diffing, such as ``bzr commit`` or ``bzr diff``.
 
8929
  (Lukáš Lalinský)
 
8930
 
 
8931
* HACKING has been extended with a large section on core developer tasks.
 
8932
  (Ian Clatworthy)
 
8933
 
 
8934
* Add ``branches`` and ``standalone-trees`` as online help topics and
 
8935
  include them as Concepts within the User Reference.
 
8936
  (Paul Moore, Ian Clatworthy)
 
8937
 
 
8938
* ``check`` can detect versionedfile parent references that are
 
8939
  inconsistent with revision and inventory info, and ``reconcile`` can fix
 
8940
  them.  These faulty references were generated by 0.8-era releases,
 
8941
  so repositories which were manipulated by old bzrs should be
 
8942
  checked, and possibly reconciled ASAP.  (Aaron Bentley, Andrew Bennetts)
 
8943
 
 
8944
API Breaks
 
8945
**********
 
8946
 
 
8947
* ``Branch.append_revision`` is removed altogether; please use
 
8948
  ``Branch.set_last_revision_info`` instead.  (Martin Pool)
 
8949
 
 
8950
* CommitBuilder now advertises itself as requiring the root entry to be
 
8951
  supplied. This only affects foreign repository implementations which reuse
 
8952
  CommitBuilder directly and have changed record_entry_contents to require
 
8953
  that the root not be supplied. This should be precisely zero plugins
 
8954
  affected. (Robert Collins)
 
8955
 
 
8956
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
 
8957
  its return value to include the sha1 and length of the inserted text. This
 
8958
  allows the avoidance of double-sha1 calculations during commit.
 
8959
  (Robert Collins)
 
8960
 
 
8961
* ``Transport.should_cache`` has been removed.  It was not called in the
 
8962
  previous release.  (Martin Pool)
 
8963
 
 
8964
Testing
 
8965
*******
 
8966
 
 
8967
* Tests may now raise TestNotApplicable to indicate they shouldn't be
 
8968
  run in a particular scenario.  (Martin Pool)
 
8969
 
 
8970
* New function multiply_tests_from_modules to give a simpler interface
 
8971
  to test parameterization.  (Martin Pool, Robert Collins)
 
8972
 
 
8973
* ``Transport.should_cache`` has been removed.  It was not called in the
 
8974
  previous release.  (Martin Pool)
 
8975
 
 
8976
* NULL_REVISION is returned to indicate the null revision, not None.
 
8977
  (Aaron Bentley)
 
8978
 
 
8979
* Use UTF-8 encoded StringIO for log tests to avoid failures on
 
8980
  non-ASCII committer names.  (Lukáš Lalinský)
 
8981
 
 
8982
Internals
 
8983
*********
 
8984
 
 
8985
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
 
8986
  ``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
 
8987
  useful functionality for determining the path of a plugin, its tests, and
 
8988
  its version information. (Robert Collins)
 
8989
 
 
8990
* Add the option user_encoding to the function 'show_diff_trees()'
 
8991
  in order to move the user encoding at the UI level. (Goffredo Baroncelli)
 
8992
 
 
8993
* Add the function make_commit_message_template_encoded() and the function
 
8994
  edit_commit_message_encoded() which handle encoded strings.
 
8995
  This is done in order to mix the commit messages (which is a unicode
 
8996
  string), and the diff which is a raw string. (Goffredo Baroncelli)
 
8997
 
 
8998
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
 
8999
  overhead on non-weave repositories which don't require all parents to be
 
9000
  present. (Robert Collins)
 
9001
 
 
9002
* Deprecated method ``find_previous_heads`` on
 
9003
  ``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
 
9004
  of ``parent_candidates`` and a separate heads check via the repository
 
9005
  API. (Robert Collins)
 
9006
 
 
9007
* New trace function ``mutter_callsite`` will print out a subset of the
 
9008
  stack to the log, which can be useful for gathering debug details.
 
9009
  (Robert Collins)
 
9010
 
 
9011
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
 
9012
  added via a public attribute records_written. (Robert Collins)
 
9013
 
 
9014
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
 
9015
  This provides a hint to users of transports as to the reasonable
 
9016
  minimum data to read. In principle this can take latency and
 
9017
  bandwidth into account on a per-connection basis, but for now it
 
9018
  just has hard coded values based on the url. (e.g. http:// has a large
 
9019
  page size, file:// has a small one.) (Robert Collins)
 
9020
 
 
9021
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
 
9022
  incremental addition of data to a file without requiring that all the
 
9023
  data be buffered in memory. (Robert Collins)
 
9024
 
 
9025
* New methods on ``bzrlib.knit.KnitVersionedFile``:
 
9026
  ``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
 
9027
  ``get_format_signature()``.  These provide some infrastructure for
 
9028
  efficiently streaming the knit data for a set of versions over the smart
 
9029
  protocol.
 
9030
 
 
9031
* Knits with no annotation cache still produce correct annotations.
 
9032
  (Aaron Bentley)
 
9033
 
 
9034
* Three new methods have been added to ``bzrlib.trace``:
 
9035
  ``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
 
9036
  ``set_verbosity_level`` expects a numeric value: negative for quiet,
 
9037
  zero for normal, positive for verbose. The size of the number can be
 
9038
  used to determine just how quiet or verbose the application should be.
 
9039
  The existing ``be_quiet`` and ``is_quiet`` routines have been
 
9040
  integrated into this new scheme. (Ian Clatworthy)
 
9041
 
 
9042
* Options can now be delcared with a ``custom_callback`` parameter. If
 
9043
  set, this routine is called after the option is processed. This feature
 
9044
  is now used by the standard options ``verbose`` and ``quiet`` so that
 
9045
  setting one implicitly resets the other. (Ian Clatworthy)
 
9046
 
 
9047
* Rather than declaring a new option from scratch in order to provide
 
9048
  custom help, a centrally registered option can be decorated using the
 
9049
  new ``bzrlib.Option.custom_help`` routine. In particular, this routine
 
9050
  is useful when declaring better help for the ``verbose`` and ``quiet``
 
9051
  standard options as the base definition of these is now more complex
 
9052
  than before thanks to their use of a custom callback. (Ian Clatworthy)
 
9053
 
 
9054
* Tree._iter_changes(specific_file=[]) now iterates through no files,
 
9055
  instead of iterating through all files.  None is used to iterate through
 
9056
  all files.  (Aaron Bentley)
 
9057
 
 
9058
* WorkingTree.revert() now accepts None to revert all files.  The use of
 
9059
  [] to revert all files is deprecated.  (Aaron Bentley)
 
9060
 
 
9061
 
 
9062
bzr 0.90
 
9063
########
 
9064
 
 
9065
:Released: 2007-08-28
 
9066
 
 
9067
Improvements
 
9068
************
 
9069
 
 
9070
* Documentation is now organized into multiple directories with a level
 
9071
  added for different languages or locales. Added the Mini Tutorial
 
9072
  and Quick Start Summary (en) documents from the Wiki, improving the
 
9073
  content and readability of the former. Formatted NEWS as Release Notes
 
9074
  complete with a Table of Conents, one heading per release. Moved the
 
9075
  Developer Guide into the main document catalog and provided a link
 
9076
  from the developer document catalog back to the main one.
 
9077
  (Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
 
9078
 
 
9079
 
 
9080
API Changes
 
9081
***********
 
9082
 
 
9083
* The static convenience method ``BzrDir.create_repository``
 
9084
  is deprecated.  Callers should instead create a ``BzrDir`` instance
 
9085
  and call ``create_repository`` on that.  (Martin Pool)
 
9086
 
 
9087
 
 
9088
bzr 0.90rc1
 
9089
###########
 
9090
 
 
9091
:Released: 2007-08-14
 
9092
 
 
9093
Bugfixes
 
9094
********
 
9095
 
 
9096
* ``bzr init`` should connect to the remote location one time only.  We
 
9097
  have been connecting several times because we forget to pass around the
 
9098
  Transport object. This modifies ``BzrDir.create_branch_convenience``,
 
9099
  so that we can give it the Transport we already have.
 
9100
  (John Arbash Meinel, Vincent Ladeuil, #111702)
 
9101
 
 
9102
* Get rid of sftp connection cache (get rid of the FTP one too).
 
9103
  (Vincent Ladeuil, #43731)
 
9104
 
 
9105
* bzr branch {local|remote} remote don't try to create a working tree
 
9106
  anymore.
 
9107
  (Vincent Ladeuil, #112173)
 
9108
 
 
9109
* All identified multiple connections for a single bzr command have been
 
9110
  fixed. See bzrlib/tests/commands directory.
 
9111
  (Vincent Ladeuil)
 
9112
 
 
9113
* ``bzr rm`` now does not insist on ``--force`` to delete files that
 
9114
  have been renamed but not otherwise modified.  (Marius Kruger,
 
9115
  #111664)
 
9116
 
 
9117
* ``bzr selftest --bench`` no longer emits deprecation warnings
 
9118
  (Lukáš Lalinský)
 
9119
 
 
9120
* ``bzr status`` now honours FILE parameters for conflict lists
 
9121
  (Aaron Bentley, #127606)
 
9122
 
 
9123
* ``bzr checkout`` now honours -r when reconstituting a working tree.
 
9124
  It also honours -r 0.  (Aaron Bentley, #127708)
 
9125
 
 
9126
* ``bzr add *`` no more fails on Windows if working tree contains
 
9127
  non-ascii file names. (Kuno Meyer, #127361)
 
9128
 
 
9129
* allow ``easy_install bzr`` runs without fatal errors.
 
9130
  (Alexander Belchenko, #125521)
 
9131
 
 
9132
* Graph._filter_candidate_lca does not raise KeyError if a candidate
 
9133
  is eliminated just before it would normally be examined.  (Aaron Bentley)
 
9134
 
 
9135
* SMTP connection failures produce a nice message, not a traceback.
 
9136
  (Aaron Bentley)
 
9137
 
 
9138
Improvements
 
9139
************
 
9140
 
 
9141
* Don't show "dots" progress indicators when run non-interactively, such
 
9142
  as from cron.  (Martin Pool)
 
9143
 
 
9144
* ``info`` now formats locations more nicely and lists "submit" and
 
9145
  "public" branches (Aaron Bentley)
 
9146
 
 
9147
* New ``pack`` command that will trigger database compression within
 
9148
  the repository (Robert Collins)
 
9149
 
 
9150
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
 
9151
  version is approximately 2-3x faster at parsing a ``.kndx`` file.
 
9152
  Which yields a measurable improvement for commands which have to
 
9153
  read from the repository, such as a 1s => 0.75s improvement in
 
9154
  ``bzr diff`` when there are changes to be shown.  (John Arbash Meinel)
 
9155
 
 
9156
* Merge is now faster.  Depending on the scenario, it can be more than 2x
 
9157
  faster. (Aaron Bentley)
 
9158
 
 
9159
* Give a clearer warning, and allow ``python setup.py install`` to
 
9160
  succeed even if pyrex is not available.
 
9161
  (John Arbash Meinel)
 
9162
 
 
9163
* ``DirState._read_dirblocks`` now has an optional Pyrex
 
9164
  implementation. This improves the speed of any command that has to
 
9165
  read the entire DirState. (``diff``, ``status``, etc, improve by
 
9166
  about 10%).
 
9167
  ``bisect_dirblocks`` has also been improved, which helps all
 
9168
  ``_get_entry`` type calls (whenever we are searching for a
 
9169
  particular entry in the in-memory DirState).
 
9170
  (John Arbash Meinel)
 
9171
 
 
9172
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
 
9173
  branch revision history for ui display unless -v is supplied.
 
9174
  (Robert Collins)
 
9175
 
 
9176
* ``bzr log -rA..B`` output shifted to the left margin if the log only
 
9177
  contains merge revisions. (Kent Gibson)
 
9178
 
 
9179
* The ``plugins`` command is now public with improved help.
 
9180
  (Ian Clatworthy)
 
9181
 
 
9182
* New bundle and merge directive formats are faster to generate, and
 
9183
 
 
9184
* Annotate merge now works when there are local changes. (Aaron Bentley)
 
9185
 
 
9186
* Commit now only shows the progress in terms of directories instead of
 
9187
  entries. (Ian Clatworthy)
 
9188
 
 
9189
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
 
9190
  times. This makes ``get_revision_graph`` 2x faster. (John Arbash
 
9191
  Meinel)
 
9192
 
 
9193
* Fix ``VersionedFile.get_graph()`` to avoid using
 
9194
  ``set.difference_update(other)``, which has bad scaling when
 
9195
  ``other`` is large. This improves ``VF.get_graph([version_id])`` for
 
9196
  a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
 
9197
 
 
9198
* The ``--lsprof-file`` option now generates output for KCacheGrind if
 
9199
  the file starts with ``callgrind.out``. This matches the default file
 
9200
  filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
 
9201
 
 
9202
* Fix ``bzr update`` to avoid an unnecessary
 
9203
  ``branch.get_master_branch`` call, which avoids 1 extra connection
 
9204
  to the remote server. (Partial fix for #128076, John Arbash Meinel)
 
9205
 
 
9206
* Log errors from the smart server in the trace file, to make debugging
 
9207
  test failures (and live failures!) easier.  (Andrew Bennetts)
 
9208
 
 
9209
* The HTML version of the man page has been superceded by a more
 
9210
  comprehensive manual called the Bazaar User Reference. This manual
 
9211
  is completed generated from the online help topics. As part of this
 
9212
  change, limited reStructuredText is now explicitly supported in help
 
9213
  topics and command help with 'unnatural' markup being removed prior
 
9214
  to display by the online help or inclusion in the man page.
 
9215
  (Ian Clatworthy)
 
9216
 
 
9217
* HTML documentation now use files extension ``*.html``
 
9218
  (Alexander Belchenko)
 
9219
 
 
9220
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
 
9221
  so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
 
9222
 
 
9223
* ``bzr selftest --strict`` fails if there are any missing features or
 
9224
  expected test failures. (Daniel Watkins, #111914)
 
9225
 
 
9226
* Link to registration survey added to README. (Ian Clatworthy)
 
9227
 
 
9228
* Windows standalone installer show link to registration survey
 
9229
  when installation finished. (Alexander Belchenko)
 
9230
 
 
9231
Library API Breaks
 
9232
******************
 
9233
 
 
9234
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
 
9235
  Options are now required to provide a help string and it must
 
9236
  comply with the style guide by being one or more sentences with an
 
9237
  initial capital and final period. (Martin Pool)
 
9238
 
 
9239
* KnitIndex.get_parents now returns tuples. (Robert Collins)
 
9240
 
 
9241
* Ancient unused ``Repository.text_store`` attribute has been removed.
 
9242
  (Robert Collins)
 
9243
 
 
9244
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
 
9245
  rather than just bytestrings, making it easier to represent multiple
 
9246
  element names. As this interface was not used by any internal facilities
 
9247
  since it was introduced in 0.18 no API compatibility is being preserved.
 
9248
  The serialised form of these packs is identical with 0.18 when a single
 
9249
  element tuple is in use. (Robert Collins)
 
9250
 
 
9251
Internals
 
9252
*********
 
9253
 
 
9254
* merge now uses ``iter_changes`` to calculate changes, which makes room for
 
9255
  future performance increases.  It is also more consistent with other
 
9256
  operations that perform comparisons, and reduces reliance on
 
9257
  Tree.inventory.  (Aaron Bentley)
 
9258
 
 
9259
* Refactoring of transport classes connected to a remote server.
 
9260
  ConnectedTransport is a new class that serves as a basis for all
 
9261
  transports needing to connect to a remote server.  transport.split_url
 
9262
  have been deprecated, use the static method on the object instead. URL
 
9263
  tests have been refactored too.
 
9264
  (Vincent Ladeuil)
 
9265
 
 
9266
* Better connection sharing for ConnectedTransport objects.
 
9267
  transport.get_transport() now accepts a 'possible_transports' parameter.
 
9268
  If a newly requested transport can share a connection with one of the
 
9269
  list, it will.
 
9270
  (Vincent Ladeuil)
 
9271
 
 
9272
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
 
9273
  the null revision, and consider using ``None`` for this purpose
 
9274
  deprecated.  (Aaron Bentley)
 
9275
 
 
9276
* New ``index`` module with abstract index functionality. This will be
 
9277
  used during the planned changes in the repository layer. Currently the
 
9278
  index layer provides a graph aware immutable index, a builder for the
 
9279
  same index type to allow creating them, and finally a composer for
 
9280
  such indices to allow the use of many indices in a single query. The
 
9281
  index performance is not optimised, however the API is stable to allow
 
9282
  development on top of the index. (Robert Collins)
 
9283
 
 
9284
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
 
9285
  their directory sections. This is equivalent to comparing
 
9286
  ``path.split('/')``, only without having to split the paths.
 
9287
  This has a Pyrex implementation available.
 
9288
  (John Arbash Meinel)
 
9289
 
 
9290
* New transport decorator 'unlistable+' which disables the list_dir
 
9291
  functionality for testing.
 
9292
 
 
9293
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
 
9294
 
 
9295
* RevisionTree.get_weave is now deprecated.  Tree.plan_merge is now used
 
9296
  for performing annotate-merge.  (Aaron Bentley)
 
9297
 
 
9298
* New EmailMessage class to create email messages. (Adeodato Simó)
 
9299
 
 
9300
* Unused functions on the private interface KnitIndex have been removed.
 
9301
  (Robert Collins)
 
9302
 
 
9303
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
 
9304
  of a ``index.GraphIndex``. (Robert Collins)
 
9305
 
 
9306
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
 
9307
  the parents of many knit nodes at once, reducing round trips to the
 
9308
  underlying index. (Robert Collins)
 
9309
 
 
9310
* Graph now has an is_ancestor method, various bits use it.
 
9311
  (Aaron Bentley)
 
9312
 
 
9313
* The ``-Dhpss`` flag now includes timing information. As well as
 
9314
  logging when a new connection is opened. (John Arbash Meinel)
 
9315
 
 
9316
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
 
9317
  callers when inserting data, allowing generation of readv style access
 
9318
  during pack creation, without needing a separate pass across the output
 
9319
  pack to gather such details. (Robert Collins)
 
9320
 
 
9321
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
 
9322
  files that are stored on a transport. (Robert Collins)
 
9323
 
 
9324
* New ``Repository.has_same_location`` method that reports if two
 
9325
  repository objects refer to the same repository (although with some risk
 
9326
  of false negatives).  (Andrew Bennetts)
 
9327
 
 
9328
* InterTree.compare now passes require_versioned on correctly.
 
9329
  (Marius Kruger)
 
9330
 
 
9331
* New methods on Repository - ``start_write_group``,
 
9332
  ``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
 
9333
  which provide a clean hook point for transactional Repositories - ones
 
9334
  where all the data for a fetch or commit needs to be made atomically
 
9335
  available in one step. This allows the write lock to remain while making
 
9336
  a series of data insertions.  (e.g. data conversion). (Robert Collins)
 
9337
 
 
9338
* In ``bzrlib.knit`` the internal interface has been altered to use
 
9339
  3-tuples (index, pos, length) rather than two-tuples (pos, length) to
 
9340
  describe where data in a knit is, allowing knits to be split into
 
9341
  many files. (Robert Collins)
 
9342
 
 
9343
* ``bzrlib.knit._KnitData`` split into cache management and physical access
 
9344
  with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
 
9345
  The former provides access into a .pack file, and the latter provides the
 
9346
  current production repository form of .knit files. (Robert Collins)
 
9347
 
 
9348
Testing
 
9349
*******
 
9350
 
 
9351
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
 
9352
  ``--keep-output`` options, which are obsolete now that tests
 
9353
  are done within directories in $TMPDIR.  (Martin Pool)
 
9354
 
 
9355
* The SSH_AUTH_SOCK environment variable is now reset to avoid
 
9356
  interaction with any running ssh agents.  (Jelmer Vernooij, #125955)
 
9357
 
 
9358
* run_bzr_subprocess handles parameters the same way as run_bzr:
 
9359
  either a string or a list of strings should be passed as the first
 
9360
  parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
 
9361
 
 
9362
 
 
9363
bzr 0.18
 
9364
########
 
9365
 
 
9366
:Released:  2007-07-17
 
9367
 
 
9368
Bugfixes
 
9369
********
 
9370
 
 
9371
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
 
9372
 
 
9373
 
 
9374
bzr 0.18rc1
 
9375
###########
 
9376
 
 
9377
:Released:  2007-07-10
 
9378
 
 
9379
Bugfixes
 
9380
********
 
9381
 
 
9382
* Do not suppress pipe errors, etc. in non-display commands
 
9383
  (Alexander Belchenko, #87178)
 
9384
 
 
9385
* Display a useful error message when the user requests to annotate
 
9386
  a file that is not present in the specified revision.
 
9387
  (James Westby, #122656)
 
9388
 
 
9389
* Commands that use status flags now have a reference to 'help
 
9390
  status-flags'.  (Daniel Watkins, #113436)
 
9391
 
 
9392
* Work around python-2.4.1 inhability to correctly parse the
 
9393
  authentication header.
 
9394
  (Vincent Ladeuil, #121889)
 
9395
 
 
9396
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
 
9397
 
 
9398
* Fix tempfile permissions error in smart server tar bundling under
 
9399
  Windows. (Martin _, #119330)
 
9400
 
 
9401
* Fix detection of directory entries in the inventory. (James Westby)
 
9402
 
 
9403
* Fix handling of http code 400: Bad Request When issuing too many ranges.
 
9404
  (Vincent Ladeuil, #115209)
 
9405
 
 
9406
* Issue a CONNECT request when connecting to an https server
 
9407
  via a proxy to enable SSL tunneling.
 
9408
  (Vincent Ladeuil, #120678)
 
9409
 
 
9410
* Fix ``bzr log -r`` to support selecting merge revisions, both
 
9411
  individually and as part of revision ranges.
 
9412
  (Kent Gibson, #4663)
 
9413
 
 
9414
* Don't leave cruft behind when failing to acquire a lockdir.
 
9415
  (Martin Pool, #109169)
 
9416
 
 
9417
* Don't use the '-f' strace option during tests.
 
9418
  (Vincent Ladeuil, #102019).
 
9419
 
 
9420
* Warn when setting ``push_location`` to a value that will be masked by
 
9421
  locations.conf.  (Aaron Bentley, #122286)
 
9422
 
 
9423
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
9424
 
 
9425
*  Make annotate behave in a non-ASCII world (Adeodato Simó).
 
9426
 
 
9427
Improvements
 
9428
************
 
9429
 
 
9430
* The --lsprof-file option now dumps a text rendering of the profiling
 
9431
  information if the filename ends in ".txt". It will also convert the
 
9432
  profiling information to a format suitable for KCacheGrind if the
 
9433
  output filename ends in ".callgrind". Fixes to the lsprofcalltree
 
9434
  conversion process by Jean Paul Calderone and Itamar were also merged.
 
9435
  See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
 
9436
 
 
9437
* ``info`` now defaults to non-verbose mode, displaying only paths and
 
9438
  abbreviated format info.  ``info -v`` displays all the information
 
9439
  formerly displayed by ``info``.  (Aaron Bentley, Adeodato Simó)
 
9440
 
 
9441
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
 
9442
  (Elliot Murphy)
 
9443
 
 
9444
* The internal ``weave-list`` command has become ``versionedfile-list``,
 
9445
  and now lists knits as well as weaves.  (Aaron Bentley)
 
9446
 
 
9447
* Automatic merge base selection uses a faster algorithm that chooses
 
9448
  better bases in criss-cross merge situations (Aaron Bentley)
 
9449
 
 
9450
* Progress reporting in ``commit`` has been improved. The various logical
 
9451
  stages are now reported on as follows, namely:
 
9452
 
 
9453
  * Collecting changes [Entry x/y] - Stage n/m
 
9454
  * Saving data locally - Stage n/m
 
9455
  * Uploading data to master branch - Stage n/m
 
9456
  * Updating the working tree - Stage n/m
 
9457
  * Running post commit hooks - Stage n/m
 
9458
 
 
9459
  If there is no master branch, the 3rd stage is omitted and the total
 
9460
  number of stages is adjusted accordingly.
 
9461
 
 
9462
  Each hook that is run after commit is listed with a name (as hooks
 
9463
  can be slow it is useful feedback).
 
9464
  (Ian Clatworthy, Robert Collins)
 
9465
 
 
9466
* Various operations that are now faster due to avoiding unnecessary
 
9467
  topological sorts. (Aaron Bentley)
 
9468
 
 
9469
* Make merge directives robust against broken bundles. (Aaron Bentley)
 
9470
 
 
9471
* The lsprof filename note is emitted via trace.note(), not standard
 
9472
  output.  (Aaron Bentley)
 
9473
 
 
9474
* ``bzrlib`` now exports explicit API compatibility information to assist
 
9475
  library users and plugins. See the ``bzrlib.api`` module for details.
 
9476
  (Robert Collins)
 
9477
 
 
9478
* Remove unnecessary lock probes when acquiring a lockdir.
 
9479
  (Martin Pool)
 
9480
 
 
9481
* ``bzr --version`` now shows the location of the bzr log file, which
 
9482
  is especially useful on Windows.  (Martin Pool)
 
9483
 
 
9484
* -D now supports hooks to get debug tracing of hooks (though its currently
 
9485
  minimal in nature). (Robert Collins)
 
9486
 
 
9487
* Long log format reports deltas on merge revisions.
 
9488
  (John Arbash Meinel, Kent Gibson)
 
9489
 
 
9490
* Make initial push over ftp more resilient. (John Arbash Meinel)
 
9491
 
 
9492
* Print a summary of changes for update just like pull does.
 
9493
  (Daniel Watkins, #113990)
 
9494
 
 
9495
* Add a -Dhpss option to trace smart protocol requests and responses.
 
9496
  (Andrew Bennetts)
 
9497
 
 
9498
Library API Breaks
 
9499
******************
 
9500
 
 
9501
* Testing cleanups -
 
9502
  ``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
 
9503
  to ``bzrlib.tests.repository_implementations``;
 
9504
  ``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
 
9505
  to ``bzrlib.tests.interrepository_implementations``;
 
9506
  ``bzrlib.transport.TransportTestProviderAdapter`` has moved to
 
9507
  ``bzrlib.tests.test_transport_implementations``.
 
9508
  ``bzrlib.branch.BranchTestProviderAdapter`` has moved to
 
9509
  ``bzrlib.tests.branch_implementations``.
 
9510
  ``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
 
9511
  ``bzrlib.tests.bzrdir_implementations``.
 
9512
  ``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
 
9513
  to ``bzrlib.tests.interversionedfile_implementations``.
 
9514
  ``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
 
9515
  ``bzrlib.tests.revisionstore_implementations``.
 
9516
  ``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
 
9517
  ``bzrlib.tests.workingtree_implementations``.
 
9518
  These changes are an API break in the testing infrastructure only.
 
9519
  (Robert Collins)
 
9520
 
 
9521
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
 
9522
 
 
9523
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
 
9524
  win32. Callers of the function should do this and use the new
 
9525
  ``MutableTree.smart_add`` method instead. (Robert Collins)
 
9526
 
 
9527
* ``bzrlib.add.glob_expand_for_win32`` is now
 
9528
  ``bzrlib.win32utils.glob_expand``.  (Robert Collins)
 
9529
 
 
9530
* ``bzrlib.add.FastPath`` is now private and moved to
 
9531
  ``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
 
9532
 
 
9533
* ``LockDir.wait`` removed.  (Martin Pool)
 
9534
 
 
9535
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
 
9536
  ``server_stopped`` hooks. The first parameter is now an iterable of
 
9537
  backing URLs rather than a single URL. This is to reflect that many
 
9538
  URLs may map to the external URL of the server. E.g. the server interally
 
9539
  may have a chrooted URL but also the local file:// URL will be at the
 
9540
  same location. (Robert Collins)
 
9541
 
 
9542
Internals
 
9543
*********
 
9544
 
 
9545
* New SMTPConnection class to unify email handling.  (Adeodato Simó)
 
9546
 
 
9547
* Fix documentation of BzrError. (Adeodato Simó)
 
9548
 
 
9549
* Make BzrBadParameter an internal error. (Adeodato Simó)
 
9550
 
 
9551
* Remove use of 'assert False' to raise an exception unconditionally.
 
9552
  (Martin Pool)
 
9553
 
 
9554
* Give a cleaner error when failing to decode knit index entry.
 
9555
  (Martin Pool)
 
9556
 
 
9557
* TreeConfig would mistakenly search the top level when asked for options
 
9558
  from a section. It now respects the section argument and only
 
9559
  searches the specified section. (James Westby)
 
9560
 
 
9561
* Improve ``make api-docs`` output. (John Arbash Meinel)
 
9562
 
 
9563
* Use os.lstat rather than os.stat for osutils.make_readonly and
 
9564
  osutils.make_writeable. This makes the difftools plugin more
 
9565
  robust when dangling symlinks are found. (Elliot Murphy)
 
9566
 
 
9567
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
 
9568
  lockdirs are taken or released.  (Martin Pool)
 
9569
 
 
9570
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
 
9571
  allows a nicer UI when hooks are running as the current hook can
 
9572
  be displayed. (Robert Collins)
 
9573
 
 
9574
* ``Transport.get`` has had its interface made more clear for ease of use.
 
9575
  Retrieval of a directory must now fail with either 'PathError' at open
 
9576
  time, or raise 'ReadError' on a read. (Robert Collins)
 
9577
 
 
9578
* New method ``_maybe_expand_globs`` on the ``Command`` class for
 
9579
  dealing with unexpanded glob lists - e.g. on the win32 platform. This
 
9580
  was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
 
9581
 
 
9582
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
 
9583
  deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
 
9584
  Martin Pool)
 
9585
 
 
9586
* New method ``external_url`` on Transport for obtaining the url to
 
9587
  hand to external processes. (Robert Collins)
 
9588
 
 
9589
* Teach windows installers to build pyrex/C extensions.
 
9590
  (Alexander Belchenko)
 
9591
 
 
9592
Testing
 
9593
*******
 
9594
 
 
9595
* Removed the ``--keep-output`` option from selftest and clean up test
 
9596
  directories as they're used.  This reduces the IO load from
 
9597
  running the test suite and cuts the time by about half.
 
9598
  (Andrew Bennetts, Martin Pool)
 
9599
 
 
9600
* Add scenarios as a public attribute on the TestAdapter classes to allow
 
9601
  modification of the generated scenarios before adaption and easier
 
9602
  testing. (Robert Collins)
 
9603
 
 
9604
* New testing support class ``TestScenarioApplier`` which multiplies
 
9605
  out a single teste by a list of supplied scenarios. (RobertCollins)
 
9606
 
 
9607
* Setting ``repository_to_test_repository`` on a repository_implementations
 
9608
  test will cause it to be called during repository creation, allowing the
 
9609
  testing of repository classes which are not based around the Format
 
9610
  concept. For example a repository adapter can be tested in this manner,
 
9611
  by altering the repository scenarios to include a scenario that sets this
 
9612
  attribute during the test parameterisation in
 
9613
  ``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
 
9614
 
 
9615
* Clean up many of the APIs for blackbox testing of Bazaar.  The standard
 
9616
  interface is now self.run_bzr.  The command to run can be passed as
 
9617
  either a list of parameters, a string containing the command line, or
 
9618
  (deprecated) varargs parameters.  (Martin Pool)
 
9619
 
 
9620
* The base TestCase now isolates tests from -D parameters by clearing
 
9621
  ``debug.debug_flags`` and restores it afterwards. (Robert Collins)
 
9622
 
 
9623
* Add a relpath parameter to get_transport methods in test framework to
 
9624
  avoid useless cloning.
 
9625
  (Vincent Ladeuil, #110448)
 
9626
 
 
9627
 
 
9628
bzr 0.17
 
9629
########
 
9630
 
 
9631
:Released:  2007-06-18
 
9632
 
 
9633
Bugfixes
 
9634
********
 
9635
 
 
9636
* Fix crash of commit due to wrong lookup of filesystem encoding.
 
9637
  (Colin Watson, #120647)
 
9638
 
 
9639
* Revert logging just to stderr in commit as broke unicode filenames.
 
9640
  (Aaron Bentley, Ian Clatworthy, #120930)
 
9641
 
 
9642
 
 
9643
bzr 0.17rc1
 
9644
###########
 
9645
 
 
9646
:Released:  2007-06-12
 
9647
 
 
9648
Notes When Upgrading
 
9649
********************
 
9650
 
 
9651
* The kind() and is_executable() APIs on the WorkingTree interface no
 
9652
  longer implicitly (read) locks and unlocks the tree. This *might*
 
9653
  impact some plug-ins and tools using this part of the API. If you find
 
9654
  an issue that may be caused by this change, please let us know,
 
9655
  particularly the plug-in/tool maintainer. If encountered, the API
 
9656
  fix is to surround kind() and is_executable() calls with lock_read()
 
9657
  and unlock() like so::
 
9658
 
 
9659
    work_tree.lock_read()
 
9660
    try:
 
9661
        kind = work_tree.kind(...)
 
9662
    finally:
 
9663
        work_tree.unlock()
 
9664
 
 
9665
Internals
 
9666
*********
 
9667
* Rework of LogFormatter API to provide beginning/end of log hooks and to
 
9668
  encapsulate the details of the revision to be logged in a LogRevision
 
9669
  object.
 
9670
  In long log formats, merge revision ids are only shown when --show-ids
 
9671
  is specified, and are labelled "revision-id:", as per mainline
 
9672
  revisions, instead of "merged:". (Kent Gibson)
 
9673
 
 
9674
* New ``BranchBuilder`` API which allows the construction of particular
 
9675
  histories quickly. Useful for testing and potentially other applications
 
9676
  too. (Robert Collins)
 
9677
 
 
9678
Improvements
 
9679
************
 
9680
 
 
9681
* There are two new help topics, working-trees and repositories that
 
9682
  attempt to explain these concepts. (James Westby, John Arbash Meinel,
 
9683
  Aaron Bentley)
 
9684
 
 
9685
* Added ``bzr log --limit`` to report a limited number of revisions.
 
9686
  (Kent Gibson, #3659)
 
9687
 
 
9688
* Revert does not try to preserve file contents that were originally
 
9689
  produced by reverting to a historical revision.  (Aaron Bentley)
 
9690
 
 
9691
* ``bzr log --short`` now includes ``[merge]`` for revisions which
 
9692
  have more than one parent. This is a small improvement to help
 
9693
  understanding what changes have occurred
 
9694
  (John Arbash Meinel, #83887)
 
9695
 
 
9696
* TreeTransform avoids many renames when contructing large trees,
 
9697
  improving speed.  3.25x speedups have been observed for construction of
 
9698
  kernel-sized-trees, and checkouts are 1.28x faster.  (Aaron Bentley)
 
9699
 
 
9700
* Commit on large trees is now faster. In my environment, a commit of
 
9701
  a small change to the Mozilla tree (55k files) has dropped from
 
9702
  66 seconds to 32 seconds. For a small tree of 600 files, commit of a
 
9703
  small change is 33% faster. (Ian Clatworthy)
 
9704
 
 
9705
* New --create-prefix option to bzr init, like for push.  (Daniel Watkins,
 
9706
  #56322)
 
9707
 
 
9708
Bugfixes
 
9709
********
 
9710
 
 
9711
* ``bzr push`` should only connect to the remote location one time.
 
9712
  We have been connecting 3 times because we forget to pass around
 
9713
  the Transport object. This adds ``BzrDir.clone_on_transport()``, so
 
9714
  that we can pass in the Transport that we already have.
 
9715
  (John Arbash Meinel, #75721)
 
9716
 
 
9717
* ``DirState.set_state_from_inventory()`` needs to properly order
 
9718
  based on split paths, not just string paths.
 
9719
  (John Arbash Meinel, #115947)
 
9720
 
 
9721
* Let TestUIFactoy encode the password prompt with its own stdout.
 
9722
  (Vincent Ladeuil, #110204)
 
9723
 
 
9724
* pycurl should take use the range header that takes the range hint
 
9725
  into account.
 
9726
  (Vincent Ladeuil, #112719)
 
9727
 
 
9728
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
 
9729
  on a missing file.  (Aaron Bentley, #118186)
 
9730
 
 
9731
* WorkingTree.remove works correctly with tree references, and when pwd is
 
9732
  not the tree root. (Aaron Bentley)
 
9733
 
 
9734
* Merge no longer fails when a file is renamed in one tree and deleted
 
9735
  in the other. (Aaron Bentley, #110279)
 
9736
 
 
9737
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
 
9738
  and defaults to the last revision (Matthew Fuller, #90048)
 
9739
 
 
9740
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
 
9741
  (Daniel Watkins, #111958)
 
9742
 
 
9743
* ``bzr branch -r revid:foo`` can be used to branch any revision in
 
9744
  your repository. (Previously Branch6 only supported revisions in your
 
9745
  mainline). (John Arbash Meinel, #115343)
 
9746
 
 
9747
bzr 0.16
 
9748
########
 
9749
 
 
9750
:Released:  2007-05-07
 
9751
 
 
9752
Bugfixes
 
9753
********
 
9754
 
 
9755
* Handle when you have 2 directories with similar names, but one has a
 
9756
  hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
 
9757
  iterator was using direct comparison and ``'abc/a'`` sorts after
 
9758
  ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
 
9759
  (John Arbash Meinel, #111227)
 
9760
 
 
9761
* Handle when someone renames a file on disk without telling bzr.
 
9762
  Previously we would report the first file as missing, but not show
 
9763
  the new unknown file. (John Arbash Meinel, #111288)
 
9764
 
 
9765
* Avoid error when running hooks after pulling into or pushing from
 
9766
  a branch bound to a smartserver branch.  (Martin Pool, #111968)
 
9767
 
 
9768
Improvements
 
9769
************
 
9770
 
 
9771
* Move developer documentation to doc/developers/. This reduces clutter in
 
9772
  the root of the source tree and allows HACKING to be split into multiple
 
9773
  files. (Robert Collins, Alexander Belchenko)
 
9774
 
 
9775
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
 
9776
  ``DirState.update_entry()``. This optimizes the core logic for ``bzr
 
9777
  diff`` and ``bzr status`` significantly improving the speed of
 
9778
  both. (John Arbash Meinel)
 
9779
 
 
9780
bzr 0.16rc2
 
9781
###########
 
9782
 
 
9783
:Released:  2007-04-30
 
9784
 
 
9785
Bugfixes
 
9786
********
 
9787
 
 
9788
* Handle the case when you delete a file, and then rename another file
 
9789
  on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
 
9790
  status`` should show the removed file and an unknown file in its
 
9791
  place. (John Arbash Meinel, #109993)
 
9792
 
 
9793
* Bundles properly read and write revision properties that have an
 
9794
  empty value. And when the value is not ASCII.
 
9795
  (John Arbash Meinel, #109613)
 
9796
 
 
9797
* Fix the bzr commit message to be in text mode.
 
9798
  (Alexander Belchenko, #110901)
 
9799
 
 
9800
* Also handle when you rename a file and create a file where it used
 
9801
  to be. (John Arbash Meinel, #110256)
 
9802
 
 
9803
* ``WorkingTree4._iter_changes`` should not descend into unversioned
 
9804
  directories. (John Arbash Meinel, #110399)
 
9805
 
 
9806
bzr 0.16rc1
 
9807
###########
 
9808
 
 
9809
:Released:  2007-04-26
 
9810
 
 
9811
Notes When Upgrading
 
9812
********************
 
9813
 
 
9814
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
 
9815
  it could be recovered again.
 
9816
  This has been done for consistency with svn and the unix rm command.
 
9817
  The old ``remove`` behaviour has been retained in the new option
 
9818
  ``bzr remove --keep``, which will just stop versioning the file,
 
9819
  but not delete it.
 
9820
  ``bzr remove --force`` have been added which will always delete the
 
9821
  files.
 
9822
  ``bzr remove`` is also more verbose.
 
9823
  (Marius Kruger, #82602)
 
9824
 
 
9825
Improvements
 
9826
************
 
9827
 
 
9828
* Merge directives can now be supplied as input to `merge` and `pull`,
 
9829
  like bundles can.  (Aaron Bentley)
 
9830
 
 
9831
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
 
9832
  pressing Control-Backslash, drops bzr into a debugger.  Type ``'c'``
 
9833
  to continue.  This can be disabled by setting the environment variable
 
9834
  ``BZR_SIGQUIT_PDB=0``.  (Martin Pool)
 
9835
 
 
9836
* selftest now supports --list-only to list tests instead of running
 
9837
  them. (Ian Clatworthy)
 
9838
 
 
9839
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
 
9840
  tests with names that match that regular expression.
 
9841
  (Ian Clatworthy, #102679)
 
9842
 
 
9843
* selftest now supports --randomize SEED to run tests in a random order.
 
9844
  SEED is typically the value 'now' meaning 'use the current time'.
 
9845
  (Ian Clatworthy, #102686)
 
9846
 
 
9847
* New option ``--fixes`` to commit, which stores bug fixing annotations as
 
9848
  revision properties. Built-in support for Launchpad, Debian, Trac and
 
9849
  Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
 
9850
 
 
9851
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
 
9852
  other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
 
9853
  Robert Collins)
 
9854
 
 
9855
* ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
 
9856
  Pool)
 
9857
 
 
9858
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
 
9859
  into using local variables instead of going through ``self._var``.
 
9860
  Improves the time to ``merge_sort`` a 10k revision graph by
 
9861
  approximately 40% (~700->400ms).  (John Arbash Meinel)
 
9862
 
 
9863
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
 
9864
  (Robert Collins)
 
9865
 
 
9866
* ``bzr help`` now provides cross references to other help topics using
 
9867
  the _see_also facility on command classes. Likewise the bzr_man
 
9868
  documentation, and the bzr.1 man page also include this information.
 
9869
  (Robert Collins)
 
9870
 
 
9871
* Tags are now included in logs, that use the long log formatter.
 
9872
  (Erik Bågfors, Alexander Belchenko)
 
9873
 
 
9874
* ``bzr help`` provides a clearer message when a help topic cannot be
 
9875
  found. (Robert Collins, #107656)
 
9876
 
 
9877
* ``bzr help`` now accepts optional prefixes for command help. The help
 
9878
  for all commands can now be found at ``bzr help commands/COMMANDNAME``
 
9879
  as well as ``bzr help COMMANDNAME`` (which only works for commands
 
9880
  where the name is not the same as a more general help topic).
 
9881
  (Robert Collins)
 
9882
 
 
9883
* ``bzr help PLUGINNAME`` will now return the module docstring from the
 
9884
  plugin PLUGINNAME. (Robert Collins, #50408)
 
9885
 
 
9886
* New help topic ``urlspec`` which lists the availables transports.
 
9887
  (Goffredo Baroncelli)
 
9888
 
 
9889
* doc/server.txt updated to document the default bzr:// port
 
9890
  and also update the blurb about the hpss' current status.
 
9891
  (Robert Collins, #107125).
 
9892
 
 
9893
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
 
9894
  serve out to the local LAN (and anyone in the world that can reach the
 
9895
  machine running ``bzr serve``. (Robert Collins, #98918)
 
9896
 
 
9897
* A new smart server protocol version has been added.  It prefixes requests
 
9898
  and responses with an explicit version identifier so that future protocol
 
9899
  revisions can be dealt with gracefully.  (Andrew Bennetts, Robert Collins)
 
9900
 
 
9901
* The bzr protocol version 2 indicates success or failure in every response
 
9902
  without depending on particular commands encoding that consistently,
 
9903
  allowing future client refactorings to be much more robust about error
 
9904
  handling. (Robert Collins, Martin Pool, Andrew Bennetts)
 
9905
 
 
9906
* The smart protocol over HTTP client has been changed to always post to the
 
9907
  same ``.bzr/smart`` URL under the original location when it can.  This allows
 
9908
  HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
 
9909
  server handler, and not arbitrary ``.bzr/*/smart`` URLs.  (Andrew Bennetts)
 
9910
 
 
9911
* digest authentication is now supported for proxies and HTTP by the urllib
 
9912
  based http implementation. Tested against Apache 2.0.55 and Squid
 
9913
  2.6.5. Basic and digest authentication are handled coherently for HTTP
 
9914
  and proxy: if the user is provided in the url (bzr command line for HTTP,
 
9915
  proxy environment variables for proxies), the password is prompted for
 
9916
  (only once). If the password is provided, it is taken into account. Once
 
9917
  the first authentication is successful, all further authentication
 
9918
  roundtrips are avoided by preventively setting the right authentication
 
9919
  header(s).
 
9920
  (Vincent Ladeuil).
 
9921
 
 
9922
Internals
 
9923
*********
 
9924
 
 
9925
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
 
9926
  code paths. (Robert Collins)
 
9927
 
 
9928
* Change the format of chroot urls so that they can be safely manipulated
 
9929
  by generic url utilities without causing the resulting urls to have
 
9930
  escaped the chroot. A side effect of this is that creating a chroot
 
9931
  requires an explicit action using a ChrootServer.
 
9932
  (Robert Collins, Andrew Bennetts)
 
9933
 
 
9934
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
 
9935
  rather than fixing bug #96847.  (Aaron Bentley)
 
9936
 
 
9937
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
 
9938
  ``WorkingTree._write_inventory``.  (Aaron Bentley)
 
9939
 
 
9940
* Convenience method ``TestCase.expectFailure`` ensures that known failures
 
9941
  do not silently pass.  (Aaron Bentley)
 
9942
 
 
9943
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
 
9944
  ``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
 
9945
 
 
9946
* New SmartServer hooks facility. There are two initial hooks documented
 
9947
  in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
 
9948
  plugins to execute code upon server startup and shutdown.
 
9949
  (Robert Collins).
 
9950
 
 
9951
* SmartServer in standalone mode will now close its listening socket
 
9952
  when it stops, rather than waiting for garbage collection. This primarily
 
9953
  fixes test suite hangs when a test tries to connect to a shutdown server.
 
9954
  It may also help improve behaviour when dealing with a server running
 
9955
  on a specific port (rather than dynamically assigned ports).
 
9956
  (Robert Collins)
 
9957
 
 
9958
* Move most SmartServer code into a new package, bzrlib/smart.
 
9959
  bzrlib/transport/remote.py contains just the Transport classes that used
 
9960
  to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
 
9961
 
 
9962
* urllib http implementation avoid roundtrips associated with
 
9963
  401 (and 407) errors once the authentication succeeds.
 
9964
  (Vincent Ladeuil).
 
9965
 
 
9966
* urlib http now supports querying the user for a proxy password if
 
9967
  needed. Realm is shown in the prompt for both HTTP and proxy
 
9968
  authentication when the user is required to type a password.
 
9969
  (Vincent Ladeuil).
 
9970
 
 
9971
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
 
9972
  RemoteTransport (and subclasses to RemoteTCPTransport, etc).  This is more
 
9973
  consistent with its new home in ``bzrlib/transport/remote.py``, and because
 
9974
  it's not really a "smart" transport, just one that does file operations
 
9975
  via remote procedure calls.  (Andrew Bennetts)
 
9976
 
 
9977
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
 
9978
  ``Branch`` now accept a ``token`` keyword argument, so that separate
 
9979
  instances of those objects can share a lock if it has the right token.
 
9980
  (Andrew Bennetts, Robert Collins)
 
9981
 
 
9982
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
 
9983
  branch references - which the smart server component needs.
 
9984
 
 
9985
* The Repository API ``make_working_trees`` is now permitted to return
 
9986
  False when ``set_make_working_trees`` is not implemented - previously
 
9987
  an unimplemented ``set_make_working_trees`` implied the result True
 
9988
  from ``make_working_trees``. This has been changed to accomodate the
 
9989
  smart server, where it does not make sense (at this point) to ever
 
9990
  make working trees by default. (Robert Collins)
 
9991
 
 
9992
* Command objects can now declare related help topics by having _see_also
 
9993
  set to a list of related topic. (Robert Collins)
 
9994
 
 
9995
* ``bzrlib.help`` now delegates to the Command class for Command specific
 
9996
  help. (Robert Collins)
 
9997
 
 
9998
* New class ``TransportListRegistry``, derived from the Registry class, which
 
9999
  simplifies tracking the available Transports. (Goffredo Baroncelli)
 
10000
 
 
10001
* New function ``Branch.get_revision_id_to_revno_map`` which will
 
10002
  return a dictionary mapping revision ids to dotted revnos. Since
 
10003
  dotted revnos are defined in the context of the branch tip, it makes
 
10004
  sense to generate them from a ``Branch`` object.
 
10005
  (John Arbash Meinel)
 
10006
 
 
10007
* Fix the 'Unprintable error' message display to use the repr of the
 
10008
  exception that prevented printing the error because the str value
 
10009
  for it is often not useful in debugging (e.g. KeyError('foo') has a
 
10010
  str() of 'foo' but a repr of 'KeyError('foo')' which is much more
 
10011
  useful. (Robert Collins)
 
10012
 
 
10013
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
 
10014
  (Andrew Bennetts)
 
10015
 
 
10016
Bugfixes
 
10017
********
 
10018
 
 
10019
* Don't fail bundle selftest if email has 'two' embedded.
 
10020
  (Ian Clatworthy, #98510)
 
10021
 
 
10022
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
 
10023
  (Robert Widhopf-Fenk, #98591)
 
10024
 
 
10025
* Remove ``--basis`` from the checkout/branch commands - it didn't work
 
10026
  properly and is no longer beneficial.
 
10027
  (Robert Collins, #53675, #43486)
 
10028
 
 
10029
* Don't produce encoding error when adding duplicate files.
 
10030
  (Aaron Bentley)
 
10031
 
 
10032
* Fix ``bzr log <file>`` so it only logs the revisions that changed
 
10033
  the file, and does it faster.
 
10034
  (Kent Gibson, John Arbash Meinel, #51980, #69477)
 
10035
 
 
10036
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
 
10037
  an empty versioned directory, which now has files in it.
 
10038
  (John Arbash Meinel, #104257)
 
10039
 
 
10040
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
 
10041
  inside the ancestry of the other. Saves a lot of graph processing
 
10042
  (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
 
10043
  changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
 
10044
 
 
10045
* Fix ``show_diff_trees`` to handle the case when a file is modified,
 
10046
  and the containing directory is renamed. (The file path is different
 
10047
  in this versus base, but it isn't marked as a rename).
 
10048
  (John Arbash Meinel, #103870)
 
10049
 
 
10050
* FTP now works even when the FTP server does not support atomic rename.
 
10051
  (Aaron Bentley, #89436)
 
10052
 
 
10053
* Correct handling in bundles and merge directives of timezones with
 
10054
  that are not an integer number of hours offset from UTC.  Always
 
10055
  represent the epoch time in UTC to avoid problems with formatting
 
10056
  earlier times on win32.  (Martin Pool, Alexander Belchenko, John
 
10057
  Arbash Meinel)
 
10058
 
 
10059
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
 
10060
 
 
10061
* "dirstate" and "dirstate-tags" formats now produce branches compatible
 
10062
  with old versions of bzr. (Aaron Bentley, #107168))
 
10063
 
 
10064
* Handle moving a directory when children have been added, removed,
 
10065
  and renamed. (John Arbash Meinel, #105479)
 
10066
 
 
10067
* Don't preventively use basic authentication for proxy before receiving a
 
10068
  407 error. Otherwise people willing to use other authentication schemes
 
10069
  may expose their password in the clear (or nearly). This add one
 
10070
  roundtrip in case basic authentication should be used, but plug the
 
10071
  security hole.
 
10072
  (Vincent Ladeuil)
 
10073
 
 
10074
* Handle http and proxy digest authentication.
 
10075
  (Vincent Ladeuil, #94034).
 
10076
 
 
10077
Testing
 
10078
*******
 
10079
 
 
10080
* Added ``bzrlib.strace.strace`` which will strace a single callable and
 
10081
  return a StraceResult object which contains just the syscalls involved
 
10082
  in running it. (Robert Collins)
 
10083
 
 
10084
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
 
10085
  default time down to one suitable for tests. (Andrew Bennetts)
 
10086
 
 
10087
* Add new ``vfs_transport_factory`` attribute on tests which provides the
 
10088
  common vfs backing for both the readonly and readwrite transports.
 
10089
  This allows the RemoteObject tests to back onto local disk or memory,
 
10090
  and use the existing ``transport_server`` attribute all tests know about
 
10091
  to be the smart server transport. This in turn allows tests to
 
10092
  differentiate between 'transport to access the branch', and
 
10093
  'transport which is a VFS' - which matters in Remote* tests.
 
10094
  (Robert Collins, Andrew Bennetts)
 
10095
 
 
10096
* The ``make_branch_and_tree`` method for tests will now create a
 
10097
  lightweight checkout for the tree if the ``vfs_transport_factory`` is not
 
10098
  a LocalURLServer. (Robert Collins, Andrew Bennetts)
 
10099
 
 
10100
* Branch implementation tests have been audited to ensure that all urls
 
10101
  passed to Branch APIs use proper urls, except when local-disk paths
 
10102
  are intended. This is so that tests correctly access the test transport
 
10103
  which is often not equivalent to local disk in Remote* tests. As part
 
10104
  of this many tests were adjusted to remove dependencies on local disk
 
10105
  access.
 
10106
  (Robert Collins, Andrew Bennetts)
 
10107
 
 
10108
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
 
10109
  functions by adding a ``__unittest`` global attribute. (Robert Collins,
 
10110
  Andrew Bennetts, Martin Pool, Jonathan Lange)
 
10111
 
 
10112
* Refactored proxy and authentication handling to simplify the
 
10113
  implementation of new auth schemes for both http and proxy.
 
10114
  (Vincent Ladeuil)
 
10115
 
 
10116
bzr 0.15
 
10117
########
 
10118
 
 
10119
:Released: 2007-04-01
 
10120
 
 
10121
Bugfixes
 
10122
********
 
10123
 
 
10124
* Handle incompatible repositories as a user issue when fetching.
 
10125
  (Aaron Bentley)
 
10126
 
 
10127
* Don't give a recommendation to upgrade when branching or
 
10128
  checking out a branch that contains an old-format working tree.
 
10129
  (Martin Pool)
 
10130
 
 
10131
bzr 0.15rc3
 
10132
###########
 
10133
 
 
10134
:Released:  2007-03-26
 
10135
 
 
10136
Changes
 
10137
*******
 
10138
 
 
10139
* A warning is now displayed when opening working trees in older
 
10140
  formats, to encourage people to upgrade to WorkingTreeFormat4.
 
10141
  (Martin Pool)
 
10142
 
 
10143
Improvements
 
10144
************
 
10145
 
 
10146
* HTTP redirections are now taken into account when a branch (or a
 
10147
  bundle) is accessed for the first time. A message is issued at each
 
10148
  redirection to inform the user. In the past, http redirections were
 
10149
  silently followed for each request which significantly degraded the
 
10150
  performances. The http redirections are not followed anymore by
 
10151
  default, instead a RedirectRequested exception is raised. For bzrlib
 
10152
  users needing to follow http redirections anyway,
 
10153
  ``bzrlib.transport.do_catching_redirections`` provide an easy transition
 
10154
  path.  (vila)
 
10155
 
 
10156
Internals
 
10157
*********
 
10158
 
 
10159
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
 
10160
  lock to an OS write lock. Linux can do this without unlocking, Win32
 
10161
  needs to unlock in between. (John Arbash Meinel)
 
10162
 
 
10163
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
 
10164
  to silence (when false) warnings about opening old formats.
 
10165
  (Martin Pool)
 
10166
 
 
10167
* Fix minor performance regression with bzr-0.15 on pre-dirstate
 
10168
  trees. (We were reading the working inventory too many times).
 
10169
  (John Arbash Meinel)
 
10170
 
 
10171
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
 
10172
  ``revision_history``.  Branch subclasses should override
 
10173
  ``_gen_revision_history`` rather than ``revision_history`` to make use of
 
10174
  this cache, and call ``_clear_revision_history_cache`` and
 
10175
  ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
 
10176
 
 
10177
Bugfixes
 
10178
********
 
10179
 
 
10180
* Take ``smtp_server`` from user config into account.
 
10181
  (vila, #92195)
 
10182
 
 
10183
* Restore Unicode filename handling for versioned and unversioned files.
 
10184
  (John Arbash Meinel, #92608)
 
10185
 
 
10186
* Don't fail during ``bzr commit`` if a file is marked removed, and
 
10187
  the containing directory is auto-removed.  (John Arbash Meinel, #93681)
 
10188
 
 
10189
* ``bzr status FILENAME`` failed on Windows because of an uncommon
 
10190
  errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
 
10191
  (Wouter van Heyst, John Arbash Meinel, #90819)
 
10192
 
 
10193
* ``bzr checkout source`` should create a local branch in the same
 
10194
  format as source. (John Arbash Meinel, #93854)
 
10195
 
 
10196
* ``bzr commit`` with a kind change was failing to update the
 
10197
  last-changed-revision for directories.  The
 
10198
  InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
 
10199
  ignoring the fact that the kind could have changed, too.
 
10200
  (John Arbash Meinel, #90111)
 
10201
 
 
10202
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
 
10203
  the directory. So that there was a chance it would break commit,
 
10204
  etc. (John Arbash Meinel, #94037)
 
10205
 
 
10206
* Correctly handles mutiple permanent http redirections.
 
10207
  (vila, #88780)
 
10208
 
 
10209
bzr 0.15rc2
 
10210
###########
 
10211
 
 
10212
:Released:  2007-03-14
 
10213
 
 
10214
Notes When Upgrading
 
10215
********************
 
10216
 
 
10217
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
 
10218
  default to ``--trees`` instead of ``--no-trees``.
 
10219
  Existing shared repositories are not affected.
 
10220
 
 
10221
Improvements
 
10222
************
 
10223
 
 
10224
* New ``merge-directive`` command to generate machine- and human-readable
 
10225
  merge requests.  (Aaron Bentley)
 
10226
 
 
10227
* New ``submit:`` revision specifier makes it easy to diff against the
 
10228
  common ancestor with the submit location (Aaron Bentley)
 
10229
 
 
10230
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
 
10231
 
 
10232
* Added ``bzr status --versioned`` to report only versioned files,
 
10233
  not unknowns. (Kent Gibson)
 
10234
 
 
10235
* Merge now autodetects the correct line-ending style for its conflict
 
10236
  markers.  (Aaron Bentley)
 
10237
 
 
10238
Internals
 
10239
*********
 
10240
 
 
10241
* Refactored SSH vendor registration into SSHVendorManager class.
 
10242
  (Dmitry Vasiliev)
 
10243
 
 
10244
Bugfixes
 
10245
********
 
10246
 
 
10247
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
 
10248
  numbered dirs for TestCaseInTempDir. This is default behavior
 
10249
  on Windows. Anyone can force named dirs on Windows
 
10250
  with ``--no-numbered-dirs``. (Alexander Belchenko)
 
10251
 
 
10252
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
 
10253
  from the command line. (Marien Zwart, #90501)
 
10254
 
 
10255
* Fix ``TreeTransform._iter_changes`` when both the source and
 
10256
  destination are missing. (Aaron Bentley, #88842)
 
10257
 
 
10258
* Fix commit of merges with symlinks in dirstate trees.
 
10259
  (Marien Zwart)
 
10260
 
 
10261
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
 
10262
  (Wouter van Heyst, #53483)
 
10263
 
 
10264
 
 
10265
bzr 0.15rc1
 
10266
###########
 
10267
 
 
10268
:Released:  2007-03-07
 
10269
 
 
10270
Surprises
 
10271
*********
 
10272
 
 
10273
* The default disk format has changed. Please run 'bzr upgrade' in your
 
10274
  working trees to upgrade. This new default is compatible for network
 
10275
  operations, but not for local operations. That is, if you have two
 
10276
  versions of bzr installed locally, after upgrading you can only use the
 
10277
  bzr 0.15 version. This new default does not enable tags or nested-trees
 
10278
  as they are incompatible with bzr versions before 0.15 over the network.
 
10279
 
 
10280
* For users of bzrlib: Two major changes have been made to the working tree
 
10281
  api in bzrlib. The first is that many methods and attributes, including
 
10282
  the inventory attribute, are no longer valid for use until one of
 
10283
  ``lock_read``/``lock_write``/``lock_tree_write`` has been called,
 
10284
  and become invalid again after unlock is called. This has been done
 
10285
  to improve performance and correctness as part of the dirstate
 
10286
  development.
 
10287
  (Robert Collins, John A Meinel, Martin Pool, and others).
 
10288
 
 
10289
* For users of bzrlib: The attribute 'tree.inventory' should be considered
 
10290
  readonly. Previously it was possible to directly alter this attribute, or
 
10291
  its contents, and have the tree notice this. This has been made
 
10292
  unsupported - it may work in some tree formats, but in the newer dirstate
 
10293
  format such actions will have no effect and will be ignored, or even
 
10294
  cause assertions. All operations possible can still be carried out by a
 
10295
  combination of the tree API, and the bzrlib.transform API. (Robert
 
10296
  Collins, John A Meinel, Martin Pool, and others).
 
10297
 
 
10298
Improvements
 
10299
************
 
10300
 
 
10301
* Support for OS Windows 98. Also .bzr.log on any windows system
 
10302
  saved in My Documents folder. (Alexander Belchenko)
 
10303
 
 
10304
* ``bzr mv`` enhanced to support already moved files.
 
10305
  In the past the mv command would have failed if the source file doesn't
 
10306
  exist. In this situation ``bzr mv`` would now detect that the file has
 
10307
  already moved and update the repository accordingly, if the target file
 
10308
  does exist.
 
10309
  A new option ``--after`` has been added so that if two files already
 
10310
  exist, you could notify Bazaar that you have moved a (versioned) file
 
10311
  and replaced it with another. Thus in this case ``bzr move --after``
 
10312
  will only update the Bazaar identifier.
 
10313
  (Steffen Eichenberg, Marius Kruger)
 
10314
 
 
10315
* ``ls`` now works on treeless branches and remote branches.
 
10316
  (Aaron Bentley)
 
10317
 
 
10318
* ``bzr help global-options`` describes the global options.
 
10319
  (Aaron Bentley)
 
10320
 
 
10321
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
 
10322
  (Robert Collins)
 
10323
 
 
10324
* Files are now allowed to change kind (e.g. from file to symlink).
 
10325
  Supported by ``commit``, ``revert`` and ``status``
 
10326
  (Aaron Bentley)
 
10327
 
 
10328
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
 
10329
  (Aaron Bentley)
 
10330
 
 
10331
* ``bzr help checkouts`` descibes what checkouts are and some possible
 
10332
  uses of them. (James Westby, Aaron Bentley)
 
10333
 
 
10334
* A new ``-d`` option to push, pull and merge overrides the default
 
10335
  directory.  (Martin Pool)
 
10336
 
 
10337
* Branch format 6: smaller, and potentially faster than format 5.  Supports
 
10338
  ``append_history_only`` mode, where the log view and revnos do not change,
 
10339
  except by being added to.  Stores policy settings in
 
10340
  ".bzr/branch/branch.conf".
 
10341
 
 
10342
* ``append_only`` branches:  Format 6 branches may be configured so that log
 
10343
  view and revnos are always consistent.  Either create the branch using
 
10344
  "bzr init --append-revisions-only" or edit the config file as descriped
 
10345
  in docs/configuration.txt.
 
10346
 
 
10347
* rebind: Format 6 branches retain the last-used bind location, so if you
 
10348
  "bzr unbind", you can "bzr bind" to bind to the previously-selected
 
10349
  bind location.
 
10350
 
 
10351
* Builtin tags support, created and deleted by the ``tag`` command and
 
10352
  stored in the branch.  Tags can be accessed with the revisionspec
 
10353
  ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned
 
10354
  at present. Tags require a network incompatible upgrade. To perform this
 
10355
  upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
 
10356
  repositories. (Martin Pool)
 
10357
 
 
10358
* The ``bzr://`` transport now has a well-known port number, 4155,
 
10359
  which it will use by default.  (Andrew Bennetts, Martin Pool)
 
10360
 
 
10361
* Bazaar now looks for user-installed plugins before looking for site-wide
 
10362
  plugins. (Jonathan Lange)
 
10363
 
 
10364
* ``bzr resolve`` now detects and marks resolved text conflicts.
 
10365
  (Aaron Bentley)
 
10366
 
 
10367
Internals
 
10368
*********
 
10369
 
 
10370
* Internally revision ids and file ids are now passed around as utf-8
 
10371
  bytestrings, rather than treating them as Unicode strings. This has
 
10372
  performance benefits for Knits, since we no longer need to decode the
 
10373
  revision id for each line of content, nor for each entry in the index.
 
10374
  This will also help with the future dirstate format.
 
10375
  (John Arbash Meinel)
 
10376
 
 
10377
* Reserved ids (any revision-id ending in a colon) are rejected by
 
10378
  versionedfiles, repositories, branches, and working trees
 
10379
  (Aaron Bentley)
 
10380
 
 
10381
* Minor performance improvement by not creating a ProgressBar for
 
10382
  every KnitIndex we create. (about 90ms for a bzr.dev tree)
 
10383
  (John Arbash Meinel)
 
10384
 
 
10385
* New easier to use Branch hooks facility. There are five initial hooks,
 
10386
  all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
 
10387
  ``'post_push'``, ``'post_pull'``, ``'post_commit'``,
 
10388
  ``'post_uncommit'``. These hooks fire after the matching operation
 
10389
  on a branch has taken place, and were originally added for the
 
10390
  branchrss plugin. (Robert Collins)
 
10391
 
 
10392
* New method ``Branch.push()`` which should be used when pushing from a
 
10393
  branch as it makes performance and policy decisions to match the UI
 
10394
  level command ``push``. (Robert Collins).
 
10395
 
 
10396
* Add a new method ``Tree.revision_tree`` which allows access to cached
 
10397
  trees for arbitrary revisions. This allows the in development dirstate
 
10398
  tree format to provide access to the callers to cached copies of
 
10399
  inventory data which are cheaper to access than inventories from the
 
10400
  repository.
 
10401
  (Robert Collins, Martin Pool)
 
10402
 
 
10403
* New ``Branch.last_revision_info`` method, this is being done to allow
 
10404
  optimization of requests for both the number of revisions and the last
 
10405
  revision of a branch with smartservers and potentially future branch
 
10406
  formats. (Wouter van Heyst, Robert Collins)
 
10407
 
 
10408
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
 
10409
  yet been loaded by ``load_plugins()``. This allows plugins to depend on each
 
10410
  other for code reuse without requiring users to perform file-renaming
 
10411
  gymnastics. (Robert Collins)
 
10412
 
 
10413
* New Repository method ``'gather_stats'`` for statistic data collection.
 
10414
  This is expected to grow to cover a number of related uses mainly
 
10415
  related to bzr info. (Robert Collins)
 
10416
 
 
10417
* Log formatters are now managed with a registry.
 
10418
  ``log.register_formatter`` continues to work, but callers accessing
 
10419
  the FORMATTERS dictionary directly will not.
 
10420
 
 
10421
* Allow a start message to be passed to the ``edit_commit_message``
 
10422
  function.  This will be placed in the message offered to the user
 
10423
  for editing above the separator. It allows a template commit message
 
10424
  to be used more easily. (James Westby)
 
10425
 
 
10426
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
 
10427
  you pass a Unicode string rather than an 8-bit string. Callers need
 
10428
  to be updated to encode first. (John Arbash Meinel)
 
10429
 
 
10430
* Branch.push, pull, merge now return Result objects with information
 
10431
  about what happened, rather than a scattering of various methods.  These
 
10432
  are also passed to the post hooks.  (Martin Pool)
 
10433
 
 
10434
* File formats and architecture is in place for managing a forest of trees
 
10435
  in bzr, and splitting up existing trees into smaller subtrees, and
 
10436
  finally joining trees to make a larger tree. This is the first iteration
 
10437
  of this support, and the user-facing aspects still require substantial
 
10438
  work.  If you wish to experiment with it, use ``bzr upgrade
 
10439
  --dirstate-with-subtree`` in your working trees and repositories.
 
10440
  You can use the hidden commands ``split`` and ``join`` and to create
 
10441
  and manipulate nested trees, but please consider using the nested-trees
 
10442
  branch, which contains substantial UI improvements, instead.
 
10443
  http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
 
10444
  (Aaron Bentley, Martin Pool, Robert Collins).
 
10445
 
 
10446
Bugfixes
 
10447
********
 
10448
 
 
10449
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
 
10450
  branch, rather than the last changed revision of the file.
 
10451
  (John Arbash Meinel, #82158)
 
10452
 
 
10453
* Lock operations no longer hang if they encounter a permission problem.
 
10454
  (Aaron Bentley)
 
10455
 
 
10456
* ``bzr push`` can resume a push that was canceled before it finished.
 
10457
  Also, it can push even if the target directory exists if you supply
 
10458
  the ``--use-existing-dir`` flag.
 
10459
  (John Arbash Meinel, #30576, #45504)
 
10460
 
 
10461
* Fix http proxy authentication when user and an optional
 
10462
  password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
 
10463
  #83954).
 
10464
 
 
10465
* ``bzr log branch/file`` works for local treeless branches
 
10466
  (Aaron Bentley, #84247)
 
10467
 
 
10468
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
 
10469
 
 
10470
* Searching location of CA bundle for PyCurl in env variable
 
10471
  (``CURL_CA_BUNDLE``), and on win32 along the PATH.
 
10472
  (Alexander Belchenko, #82086)
 
10473
 
 
10474
* ``bzr init`` works with unicode argument LOCATION.
 
10475
  (Alexander Belchenko, #85599)
 
10476
 
 
10477
* Raise ``DependencyNotPresent`` if pycurl do not support https.
 
10478
  (Vincent Ladeuil, #85305)
 
10479
 
 
10480
* Invalid proxy env variables should not cause a traceback.
 
10481
  (Vincent Ladeuil, #87765)
 
10482
 
 
10483
* Ignore patterns normalised to use '/' path separator.
 
10484
  (Kent Gibson, #86451)
 
10485
 
 
10486
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
 
10487
 
 
10488
* Fix bzrtools shelve command for removed lines beginning with "--"
 
10489
  (Johan Dahlberg, #75577)
 
10490
 
 
10491
Testing
 
10492
*******
 
10493
 
 
10494
* New ``--first`` option to ``bzr selftest`` to run specified tests
 
10495
  before the rest of the suite.  (Martin Pool)
 
10496
 
 
10497
 
 
10498
bzr 0.14
 
10499
########
 
10500
 
 
10501
:Released:  2007-01-23
 
10502
 
 
10503
Improvements
 
10504
************
 
10505
 
 
10506
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
 
10507
 
 
10508
Bug Fixes
 
10509
*********
 
10510
 
 
10511
* Skip documentation generation tests if the tools to do so are not
 
10512
  available. Fixes running selftest for installled copies of bzr.
 
10513
  (John Arbash Meinel, #80330)
 
10514
 
 
10515
* Fix the code that discovers whether bzr is being run from it's
 
10516
  working tree to handle the case when it isn't but the directory
 
10517
  it is in is below a repository. (James Westby, #77306)
 
10518
 
 
10519
 
 
10520
bzr 0.14rc1
 
10521
###########
 
10522
 
 
10523
:Released:  2007-01-16
 
10524
 
 
10525
Improvements
 
10526
************
 
10527
 
 
10528
* New connection: ``bzr+http://`` which supports tunnelling the smart
 
10529
  protocol over an HTTP connection. If writing is enabled on the bzr
 
10530
  server, then you can write over the http connection.
 
10531
  (Andrew Bennetts, John Arbash Meinel)
 
10532
 
 
10533
* Aliases now support quotation marks, so they can contain whitespace
 
10534
  (Marius Kruger)
 
10535
 
 
10536
* PyCurlTransport now use a single curl object. By specifying explicitly
 
10537
  the 'Range' header, we avoid the need to use two different curl objects
 
10538
  (and two connections to the same server). (Vincent Ladeuil)
 
10539
 
 
10540
* ``bzr commit`` does not prompt for a message until it is very likely to
 
10541
  succeed.  (Aaron Bentley)
 
10542
 
 
10543
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
 
10544
  (Aaron Bentley)
 
10545
 
 
10546
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
 
10547
  of a list while checking if a revision id was requested. Takes 10s
 
10548
  off of the ``fileids_affected_by_revision_ids`` time, which is 10s
 
10549
  of the ``bzr branch`` time. Also improve ``fileids_...`` time by
 
10550
  filtering lines with a regex rather than multiple ``str.find()``
 
10551
  calls. (saves another 300ms) (John Arbash Meinel)
 
10552
 
 
10553
* Policy can be set for each configuration key. This allows keys to be
 
10554
  inherited properly across configuration entries. For example, this
 
10555
  should enable you to do::
 
10556
 
 
10557
    [/home/user/project]
 
10558
    push_location = sftp://host/srv/project/
 
10559
    push_location:policy = appendpath
 
10560
 
 
10561
  And then a branch like ``/home/user/project/mybranch`` should get an
 
10562
  automatic push location of ``sftp://host/srv/project/mybranch``.
 
10563
  (James Henstridge)
 
10564
 
 
10565
* Added ``bzr status --short`` to make status report svn style flags
 
10566
  for each file.  For example::
 
10567
 
 
10568
    $ bzr status --short
 
10569
    A  foo
 
10570
    A  bar
 
10571
    D  baz
 
10572
    ?  wooley
 
10573
 
 
10574
* 'bzr selftest --clean-output' allows easily clean temporary tests
 
10575
  directories without running tests. (Alexander Belchenko)
 
10576
 
 
10577
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
 
10578
 
 
10579
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
 
10580
  local is fully merged into remote. (Jan Hudec)
 
10581
 
 
10582
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
 
10583
 
 
10584
Internals
 
10585
*********
 
10586
 
 
10587
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
 
10588
  help speed up processing, as well allowing to extract unannotated
 
10589
  lines. Between the two ``fileids_affected_by_revision_ids`` is
 
10590
  improved by approx 10%. (John Arbash Meinel)
 
10591
 
 
10592
* Change Revision serialization to only write out millisecond
 
10593
  resolution. Rather than expecting floating point serialization to
 
10594
  preserve more resolution than we need. (Henri Weichers, Martin Pool)
 
10595
 
 
10596
* Test suite ends cleanly on Windows.  (Vincent Ladeuil)
 
10597
 
 
10598
* When ``encoding_type`` attribute of class Command is equal to 'exact',
 
10599
  force sys.stdout to be a binary stream on Windows, and therefore
 
10600
  keep exact line-endings (without LF -> CRLF conversion).
 
10601
  (Alexander Belchenko)
 
10602
 
 
10603
* Single-letter short options are no longer globally declared.  (Martin
 
10604
  Pool)
 
10605
 
 
10606
* Before using detected user/terminal encoding bzr should check
 
10607
  that Python has corresponding codec. (Alexander Belchenko)
 
10608
 
 
10609
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
 
10610
 
 
10611
Bug Fixes
 
10612
*********
 
10613
 
 
10614
* ``bzr missing --verbose`` was showing adds/removals in the wrong
 
10615
  direction. (John Arbash Meinel)
 
10616
 
 
10617
* ``bzr annotate`` now defaults to showing dotted revnos for merged
 
10618
  revisions. It cuts them off at a depth of 12 characters, but you can
 
10619
  supply ``--long`` to see the full number. You can also use
 
10620
  ``--show-ids`` to display the original revision ids, rather than
 
10621
  revision numbers and committer names. (John Arbash Meinel, #75637)
 
10622
 
 
10623
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
 
10624
  (Alexander Belchenko, #57869)
 
10625
 
 
10626
* Win32-specific: output of cat, bundle and diff commands don't mangle
 
10627
  line-endings (Alexander Belchenko, #55276)
 
10628
 
 
10629
* Replace broken fnmatch based ignore pattern matching with custom pattern
 
10630
  matcher.
 
10631
  (Kent Gibson, Jan Hudec #57637)
 
10632
 
 
10633
* pycurl and urllib can detect short reads at different places. Update
 
10634
  the test suite to test more cases. Also detect http error code 416
 
10635
  which was raised for that specific bug. Also enhance the urllib
 
10636
  robustness by detecting invalid ranges (and pycurl's one by detecting
 
10637
  short reads during the initial GET). (Vincent Ladeuil, #73948)
 
10638
 
 
10639
* The urllib connection sharing interacts badly with urllib2
 
10640
  proxy setting (the connections didn't go thru the proxy
 
10641
  anymore). Defining a proper ProxyHandler solves the
 
10642
  problem.  (Vincent Ladeuil, #74759)
 
10643
 
 
10644
* Use urlutils to generate relative URLs, not osutils
 
10645
  (Aaron Bentley, #76229)
 
10646
 
 
10647
* ``bzr status`` in a readonly directory should work without giving
 
10648
  lots of errors. (John Arbash Meinel, #76299)
 
10649
 
 
10650
* Mention the revisionspec topic for the revision option help.
 
10651
  (Wouter van Heyst, #31663)
 
10652
 
 
10653
* Allow plugins import from zip archives.
 
10654
  (Alexander Belchenko, #68124)
 
10655
 
 
10656
 
 
10657
bzr 0.13
 
10658
########
 
10659
 
 
10660
:Released:  2006-12-05
 
10661
 
 
10662
No changes from 0.13rc
 
10663
 
 
10664
 
 
10665
bzr 0.13rc1
 
10666
###########
 
10667
 
 
10668
:Released:  2006-11-27
 
10669
 
 
10670
Improvements
 
10671
************
 
10672
 
 
10673
* New command ``bzr remove-tree`` allows the removal of the working
 
10674
  tree from a branch.
 
10675
  (Daniel Silverstone)
 
10676
 
 
10677
* urllib uses shared keep-alive connections, so http
 
10678
  operations are substantially faster.
 
10679
  (Vincent Ladeuil, #53654)
 
10680
 
 
10681
* ``bzr export`` allows an optional branch parameter, to export a bzr
 
10682
  tree from some other url. For example:
 
10683
  ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
 
10684
  (Daniel Silverstone)
 
10685
 
 
10686
* Added ``bzr help topics`` to the bzr help system. This gives a
 
10687
  location for general information, outside of a specific command.
 
10688
  This includes updates for ``bzr help revisionspec`` the first topic
 
10689
  included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
 
10690
 
 
10691
* WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
 
10692
  (Andrew Bennetts)
 
10693
 
 
10694
* Knit files will now cache full texts only when the size of the
 
10695
  deltas is as large as the size of the fulltext. (Or after 200
 
10696
  deltas, whichever comes first). This has the most benefit on large
 
10697
  files with small changes, such as the inventory for a large project.
 
10698
  (eg For a project with 2500 files, and 7500 revisions, it changes
 
10699
  the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
 
10700
 
 
10701
Internals
 
10702
*********
 
10703
 
 
10704
* New -D option given before the command line turns on debugging output
 
10705
  for particular areas.  -Derror shows tracebacks on all errors.
 
10706
  (Martin Pool)
 
10707
 
 
10708
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
10709
  and remove benchmarks that take longer than 10min to run.
 
10710
  (John Arbash Meinel)
 
10711
 
 
10712
* Use ``time.time()`` instead of ``time.clock()`` to decide on
 
10713
  progress throttling. Because ``time.clock()`` is actually CPU time,
 
10714
  so over a high-latency connection, too many updates get throttled.
 
10715
  (John Arbash Meinel)
 
10716
 
 
10717
* ``MemoryTransport.list_dir()`` would strip the first character for
 
10718
  files or directories in root directory. (John Arbash Meinel)
 
10719
 
 
10720
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
 
10721
  branch references - which the smart server component needs.
 
10722
 
 
10723
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
 
10724
  prefix.  It disallows any access to locations above a set URL.  (Andrew
 
10725
  Bennetts)
 
10726
 
 
10727
Bug Fixes
 
10728
*********
 
10729
 
 
10730
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
 
10731
  And optimize the knit index parsing code.
 
10732
  (Dmitry Vasiliev, John Arbash Meinel)
 
10733
 
 
10734
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
 
10735
  without importing it. This prevented ``bzr upgrade`` from working
 
10736
  unless a plugin already imported ``bzrlib.workingtree``
 
10737
  (John Arbash Meinel, #70716)
 
10738
 
 
10739
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
 
10740
 
 
10741
* Give nicer error message when an http server returns a 403
 
10742
  error code. (Vincent Ladeuil, #57644).
 
10743
 
 
10744
* When a multi-range http GET request fails, try a single
 
10745
  range one. If it fails too, forget about ranges. Remember that until
 
10746
  the death of the transport and propagates that to the clones.
 
10747
  (Vincent Ladeuil, #62276, #62029).
 
10748
 
 
10749
* Handles user/passwords supplied in url from command
 
10750
  line (for the urllib implementation). Don't request already
 
10751
  known passwords (Vincent Ladeuil, #42383, #44647, #48527)
 
10752
 
 
10753
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
 
10754
  are added. This fixes bug where fetching remote revisions records
 
10755
  them as full references rather than integers.
 
10756
  (John Arbash Meinel, #64789)
 
10757
 
 
10758
* ``bzr ignore`` strips trailing slashes in patterns.
 
10759
  Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
 
10760
 
 
10761
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
 
10762
 
 
10763
* mv correctly handles paths that traverse symlinks.
 
10764
  (Aaron Bentley, #66964)
 
10765
 
 
10766
* Give nicer looking error messages when failing to connect over ssh.
 
10767
  (John Arbash Meinel, #49172)
 
10768
 
 
10769
* Pushing to a remote branch does not currently update the remote working
 
10770
  tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
 
10771
  machine now show that the working tree is out of date.
 
10772
  (Cheuksan Edward Wang #48136)
 
10773
 
 
10774
* Use patiencediff instead of difflib for determining deltas to insert
 
10775
  into knits. This avoids the O(N^3) behavior of difflib. Patience
 
10776
  diff should be O(N^2). (Cheuksan Edward Wang, #65714)
 
10777
 
 
10778
* Running ``bzr log`` on nonexistent file gives an error instead of the
 
10779
  entire log history. (Cheuksan Edward Wang #50793)
 
10780
 
 
10781
* ``bzr cat`` can look up contents of removed or renamed files. If the
 
10782
  pathname is ambiguous, i.e. the files in the old and new trees have
 
10783
  different id's, the default is the file in the new tree. The user can
 
10784
  use "--name-from-revision" to select the file in the old tree.
 
10785
  (Cheuksan Edward Wang, #30190)
 
10786
 
 
10787
Testing
 
10788
*******
 
10789
 
 
10790
* TestingHTTPRequestHandler really handles the Range header
 
10791
  (previously it was ignoring it and returning the whole file,).
 
10792
 
 
10793
bzr 0.12
 
10794
########
 
10795
 
 
10796
:Released:  2006-10-30
 
10797
 
 
10798
Internals
 
10799
*********
 
10800
 
 
10801
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
10802
  and remove benchmarks that take longer than 10min to run.
 
10803
  (John Arbash Meinel)
 
10804
 
 
10805
bzr 0.12rc1
 
10806
###########
 
10807
 
 
10808
:Released:  2006-10-23
 
10809
 
 
10810
Improvements
 
10811
************
 
10812
 
 
10813
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
 
10814
  rather than just showing a decimal revision number for revisions on the
 
10815
  mainline. These revision numbers are not yet accepted as input into bzr
 
10816
  commands such as log, diff etc. (Robert Collins)
 
10817
 
 
10818
* revisions can now be specified using dotted-decimal revision numbers.
 
10819
  For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
 
10820
 
 
10821
* ``bzr help commands`` output is now shorter (Aaron Bentley)
 
10822
 
 
10823
* ``bzr`` now uses lazy importing to reduce the startup time. This has
 
10824
  a moderate effect on lots of actions, especially ones that have
 
10825
  little to do. For example ``bzr rocks`` time is down to 116ms from
 
10826
  283ms. (John Arbash Meinel)
 
10827
 
 
10828
* New Registry class to provide name-to-object registry-like support,
 
10829
  for example for schemes where plugins can register new classes to
 
10830
  do certain tasks (e.g. log formatters). Also provides lazy registration
 
10831
  to allow modules to be loaded on request.
 
10832
  (John Arbash Meinel, Adeodato Simó)
 
10833
 
 
10834
API Incompatability
 
10835
*******************
 
10836
 
 
10837
* LogFormatter subclasses show now expect the 'revno' parameter to
 
10838
  show() to be a string rather than an int. (Robert Collins)
 
10839
 
 
10840
Internals
 
10841
*********
 
10842
 
 
10843
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
 
10844
  can take a ``working_dir='foo'`` parameter, which will change directory
 
10845
  for the command. (John Arbash Meinel)
 
10846
 
 
10847
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
 
10848
  around a regex, which defers compilation until first use.
 
10849
  (John Arbash Meinel)
 
10850
 
 
10851
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
 
10852
  ``--no-plugins`` parameter to ensure test reproducability, and avoid
 
10853
  problems with system-wide installed plugins. (John Arbash Meinel)
 
10854
 
 
10855
* Unique tree root ids are now supported. Newly created trees still
 
10856
  use the common root id for compatibility with bzr versions before 0.12.
 
10857
  (Aaron Bentley)
 
10858
 
 
10859
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
 
10860
  pass in ``inventory.ROOT_ID`` if you want the default root id value.
 
10861
  (Robert Collins, John Arbash Meinel)
 
10862
 
 
10863
* New method ``WorkingTree.flush()`` which will write the current memory
 
10864
  inventory out to disk. At the same time, ``read_working_inventory`` will
 
10865
  no longer trash the current tree inventory if it has been modified within
 
10866
  the current lock, and the tree will now ``flush()`` automatically on
 
10867
  ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
 
10868
  advantage of this functionality. (Robert Collins, John Arbash Meinel)
 
10869
 
 
10870
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
 
10871
  parameter will cause it to add another column to its output, which
 
10872
  contains the dotted-decimal revno for each revision, as a tuple.
 
10873
  (Robert Collins)
 
10874
 
 
10875
* ``LogFormatter.show_merge`` is deprecated in favour of
 
10876
  ``LogFormatter.show_merge_revno``. (Robert Collins)
 
10877
 
 
10878
Bug Fixes
 
10879
*********
 
10880
 
 
10881
* Avoid circular imports by creating a deprecated function for
 
10882
  ``bzrlib.tree.RevisionTree``. Callers should have been using
 
10883
  ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
 
10884
  #66349)
 
10885
 
 
10886
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
 
10887
  platforms. (Martin Pool, #66356)
 
10888
 
 
10889
* Don't require ``Content-Type`` in range responses. Assume they are a
 
10890
  single range if ``Content-Type`` does not exist.
 
10891
  (John Arbash Meinel, #62473)
 
10892
 
 
10893
* bzr branch/pull no longer complain about progress bar cleanup when
 
10894
  interrupted during fetch.  (Aaron Bentley, #54000)
 
10895
 
 
10896
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
 
10897
  the basis inventory, rather than going through the repository. This
 
10898
  allows us to have 1 inventory read, and 2 inventory writes when
 
10899
  committing a new tree. (John Arbash Meinel)
 
10900
 
 
10901
* When reverting, files that are not locally modified that do not exist
 
10902
  in the target are deleted, not just unversioned (Aaron Bentley)
 
10903
 
 
10904
* When trying to acquire a lock, don't fail immediately. Instead, try
 
10905
  a few times (up to 1 hour) before timing out. Also, report why the
 
10906
  lock is unavailable (John Arbash Meinel, #43521, #49556)
 
10907
 
 
10908
* Leave HttpTransportBase daughter classes decides how they
 
10909
  implement cloning. (Vincent Ladeuil, #61606)
 
10910
 
 
10911
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
 
10912
 
 
10913
* If a commit fails, the commit message is stored in a file at the root of
 
10914
  the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
 
10915
  #32054)
 
10916
 
 
10917
Testing
 
10918
*******
 
10919
 
 
10920
* New test base class TestCaseWithMemoryTransport offers memory-only
 
10921
  testing facilities: its not suitable for tests that need to mutate disk
 
10922
  state, but most tests should not need that and should be converted to
 
10923
  TestCaseWithMemoryTransport. (Robert Collins)
 
10924
 
 
10925
* ``TestCase.make_branch_and_memory_tree`` now takes a format
 
10926
  option to set the BzrDir, Repository and Branch formats of the
 
10927
  created objects. (Robert Collins, John Arbash Meinel)
 
10928
 
 
10929
bzr 0.11
 
10930
########
 
10931
 
 
10932
:Released:  2006-10-02
 
10933
 
 
10934
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
 
10935
 
 
10936
bzr 0.11rc2
 
10937
###########
 
10938
 
 
10939
:Released:  2006-09-27
 
10940
 
 
10941
Bug Fixes
 
10942
*********
 
10943
 
 
10944
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
 
10945
 
 
10946
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
 
10947
  Arbash Meinel).
 
10948
 
 
10949
bzr 0.11rc1
 
10950
###########
 
10951
 
 
10952
:Released:  2006-09-25
 
10953
 
 
10954
Improvements
 
10955
************
 
10956
 
 
10957
* Knit files now wait to create their contents until the first data is
 
10958
  added. The old code used to create an empty .knit and a .kndx with just
 
10959
  the header. However, this caused a lot of extra round trips over sftp.
 
10960
  This can change the time for ``bzr push`` to create a new remote branch
 
10961
  from 160s down to 100s. This also affects ``bzr commit`` performance when
 
10962
  adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
 
10963
  down to 40s (John Arbash Meinel, #44692)
 
10964
 
 
10965
* When an entire subtree has been deleted, commit will now report that
 
10966
  just the top of the subtree has been deleted, rather than reporting
 
10967
  all the individual items. (Robert Collins)
 
10968
 
 
10969
* Commit performs one less XML parse. (Robert Collins)
 
10970
 
 
10971
* ``bzr checkout`` now operates on readonly branches as well
 
10972
  as readwrite branches. This fixes bug #39542. (Robert Collins)
 
10973
 
 
10974
* ``bzr bind`` no longer synchronises history with the master branch.
 
10975
  Binding should be followed by an update or push to synchronise the
 
10976
  two branches. This is closely related to the fix for bug #39542.
 
10977
  (Robert Collins)
 
10978
 
 
10979
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
 
10980
  objects.  This allows all imports to stay at the global scope, but
 
10981
  modules will not actually be imported if they are not used.
 
10982
  (John Arbash Meinel)
 
10983
 
 
10984
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
 
10985
  transport which will be used with the upcoming high-performance smart
 
10986
  server. The new command ``bzr serve`` will invoke bzr in server mode,
 
10987
  which processes these requests. (Andrew Bennetts, Robert Collins, Martin
 
10988
  Pool)
 
10989
 
 
10990
* New command ``bzr version-info`` which can be used to get a summary
 
10991
  of the current state of the tree. This is especially useful as part
 
10992
  of a build commands. See ``doc/version_info.txt`` for more information
 
10993
  (John Arbash Meinel)
 
10994
 
 
10995
Bug Fixes
 
10996
*********
 
10997
 
 
10998
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
 
10999
  specific set of files. (John Arbash Meinel, #3631)
 
11000
 
 
11001
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
 
11002
 
 
11003
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
 
11004
  when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
 
11005
  reading a nested Stanza. (John Arbash Meinel)
 
11006
 
 
11007
* Transform._set_mode() needs to stat the right file.
 
11008
  (John Arbash Meinel, #56549)
 
11009
 
 
11010
* Raise WeaveFormatError rather than StopIteration when trying to read
 
11011
  an empty Weave file. (John Arbash Meinel, #46871)
 
11012
 
 
11013
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
 
11014
  (Vincent Ladeuil, #59835)
 
11015
 
 
11016
* Handle boundary="" lines properly to allow access through a Squid proxy.
 
11017
  (John Arbash Meinel, #57723)
 
11018
 
 
11019
* revert now removes newly-added directories (Aaron Bentley, #54172)
 
11020
 
 
11021
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
 
11022
  isn't a working tree. (David Allouche, #40679)
 
11023
 
 
11024
* Give nicer error messages when a user supplies an invalid --revision
 
11025
  parameter. (John Arbash Meinel, #55420)
 
11026
 
 
11027
* Handle when LANG is not recognized by python. Emit a warning, but
 
11028
  just revert to using 'ascii'. (John Arbash Meinel, #35392)
 
11029
 
 
11030
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
 
11031
  (John Arbash Meinel)
 
11032
 
 
11033
* Skip specific tests when the dependencies aren't met. This includes
 
11034
  some ``setup.py`` tests when ``python-dev`` is not available, and
 
11035
  some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
 
11036
 
 
11037
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
 
11038
  the system. (Andrew Bennetts, John Arbash Meinel)
 
11039
 
 
11040
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
 
11041
  other branch, and will not push or pull between the two branches.
 
11042
  API users will need to perform a push or pull or update operation if they
 
11043
  require branch synchronisation to take place. (Robert Collins, #47344)
 
11044
 
 
11045
* When creating a tarball or zipfile export, export unicode names as utf-8
 
11046
  paths. This may not work perfectly on all platforms, but has the best
 
11047
  chance of working in the common case. (John Arbash Meinel, #56816)
 
11048
 
 
11049
* When committing, only files that exist in working tree or basis tree
 
11050
  may be specified (Aaron Bentley, #50793)
 
11051
 
 
11052
Portability
 
11053
***********
 
11054
 
 
11055
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
 
11056
 
 
11057
Internals
 
11058
*********
 
11059
 
 
11060
* TestCaseInTempDir now creates a separate directory for HOME, rather
 
11061
  than having HOME set to the same location as the working directory.
 
11062
  (John Arbash Meinel)
 
11063
 
 
11064
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
 
11065
  which will update os.environ inside the spawned child. It also can
 
11066
  take a ``universal_newlines=True``, which helps when checking the output
 
11067
  of the command. (John Arbash Meinel)
 
11068
 
 
11069
* Refactor SFTP vendors to allow easier re-use when ssh is used.
 
11070
  (Andrew Bennetts)
 
11071
 
 
11072
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
 
11073
  return urlescaped paths. This is now tested (there were bugs in a few
 
11074
  of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
 
11075
 
 
11076
* New utility function ``symbol_versioning.deprecation_string``. Returns the
 
11077
  formatted string for a callable, deprecation format pair. (Robert Collins)
 
11078
 
 
11079
* New TestCase helper applyDeprecated. This allows you to call a callable
 
11080
  which is deprecated without it spewing to the screen, just by supplying
 
11081
  the deprecation format string issued for it. (Robert Collins)
 
11082
 
 
11083
* Transport.append and Transport.put have been deprecated in favor of
 
11084
  ``.append_bytes``, ``.append_file``, ``.put_bytes``, and
 
11085
  ``.put_file``. This removes the ambiguity in what type of object the
 
11086
  functions take.  ``Transport.non_atomic_put_{bytes,file}`` has also
 
11087
  been added. Which works similarly to ``Transport.append()`` except for
 
11088
  SFTP, it doesn't have a round trip when opening the file. Also, it
 
11089
  provides functionality for creating a parent directory when trying
 
11090
  to create a file, rather than raise NoSuchFile and forcing the
 
11091
  caller to repeat their request.
 
11092
  (John Arbash Meinel)
 
11093
 
 
11094
* WorkingTree has a new api ``unversion`` which allow the unversioning of
 
11095
  entries by their file id. (Robert Collins)
 
11096
 
 
11097
* ``WorkingTree.pending_merges`` is deprecated.  Please use the
 
11098
  ``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
 
11099
 
 
11100
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
 
11101
  read rather than write. This is appropriate for actions which only need
 
11102
  the branch data for reference rather than mutation. A new decorator
 
11103
  ``needs_tree_write_lock`` is provided in the workingtree module. Like the
 
11104
  ``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
 
11105
  declaration of the locking requirements of a function to ensure that
 
11106
  a lock is taken out for casual scripts. (Robert Collins, #54107)
 
11107
 
 
11108
* All WorkingTree methods which write to the tree, but not to the branch
 
11109
  have been converted to use ``needs_tree_write_lock`` rather than
 
11110
  ``needs_write_lock``. Also converted is the revert, conflicts and tree
 
11111
  transform modules. This provides a modest performance improvement on
 
11112
  metadir style trees, due to the reduce lock-acquisition, and a more
 
11113
  significant performance improvement on lightweight checkouts from
 
11114
  remote branches, where trivial operations used to pay a significant
 
11115
  penalty. It also provides the basis for allowing readonly checkouts.
 
11116
  (Robert Collins)
 
11117
 
 
11118
* Special case importing the standard library 'copy' module. This shaves
 
11119
  off 40ms of startup time, while retaining compatibility. See:
 
11120
  ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
 
11121
 
 
11122
* WorkingTree has a new parent class MutableTree which represents the
 
11123
  specialisations of Tree which are able to be altered. (Robert Collins)
 
11124
 
 
11125
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
 
11126
  mutate the tree and its contents. (Robert Collins)
 
11127
 
 
11128
* Transport behaviour at the root of the URL is now defined and tested.
 
11129
  (Andrew Bennetts, Robert Collins)
 
11130
 
 
11131
Testing
 
11132
*******
 
11133
 
 
11134
* New test helper classs MemoryTree. This is typically accessed via
 
11135
  ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
 
11136
 
 
11137
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
 
11138
  code to continue running concurrently with a subprocess of bzr.
 
11139
  (Andrew Bennetts, Robert Collins)
 
11140
 
 
11141
* Add a new method ``Transport.get_smart_client()``. This is provided to
 
11142
  allow upgrades to a richer interface than the VFS one provided by
 
11143
  Transport. (Andrew Bennetts, Martin Pool)
 
11144
 
 
11145
bzr 0.10
 
11146
########
 
11147
 
 
11148
:Released:  2006-08-29
 
11149
 
 
11150
Improvements
 
11151
************
 
11152
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
 
11153
  tree.  (Aaron Bentley)
 
11154
 
 
11155
* 'bzr add --file-ids-from' can be used to specify another path to use
 
11156
  for creating file ids, rather than generating all new ones. Internally,
 
11157
  the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
 
11158
  will be used, rather than having bzrlib generate new ones.
 
11159
  (John Arbash Meinel, #55781)
 
11160
 
 
11161
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
 
11162
  This will cache some of the intermediate trees, and decrease the
 
11163
  setup time for benchmark tests. (John Arbash Meinel)
 
11164
 
 
11165
* Inverse forms are provided for all boolean options.  For example,
 
11166
  --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
 
11167
 
 
11168
* Serialize out Inventories directly, rather than using ElementTree.
 
11169
  Writing out a kernel sized inventory drops from 2s down to ~350ms.
 
11170
  (Robert Collins, John Arbash Meinel)
 
11171
 
 
11172
Bug Fixes
 
11173
*********
 
11174
 
 
11175
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
 
11176
 
 
11177
* Change LockDir so that if the lock directory doesn't exist when
 
11178
  ``lock_write()`` is called, an attempt will be made to create it.
 
11179
  (John Arbash Meinel, #56974)
 
11180
 
 
11181
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
 
11182
 
 
11183
* Active FTP transport now works as intended. (ghozzy, #56472)
 
11184
 
 
11185
* Really fix mutter() so that it won't ever raise a UnicodeError.
 
11186
  It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
 
11187
  But it is a debugging log, not a real user file.
 
11188
  (John Arbash Meinel, #56947, #53880)
 
11189
 
 
11190
* Change Command handle to allow Unicode command and options.
 
11191
  At present we cannot register Unicode command names, so we will get
 
11192
  BzrCommandError('unknown command'), or BzrCommandError('unknown option')
 
11193
  But that is better than a UnicodeError + a traceback.
 
11194
  (John Arbash Meinel, #57123)
 
11195
 
 
11196
* Handle TZ=UTC properly when reading/writing revisions.
 
11197
  (John Arbash Meinel, #55783, #56290)
 
11198
 
 
11199
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
 
11200
  (passing text to sign in on stdin). (John Arbash Meinel, #54468)
 
11201
 
 
11202
* External diff does the right thing for binaries even in foreign
 
11203
  languages. (John Arbash Meinel, #56307)
 
11204
 
 
11205
* Testament handles more cases when content is unicode. Specific bug was
 
11206
  in handling of revision properties.
 
11207
  (John Arbash Meinel, Holger Krekel, #54723)
 
11208
 
 
11209
* The bzr selftest was failing on installed versions due to a bug in a new
 
11210
  test helper. (John Arbash Meinel, Robert Collins, #58057)
 
11211
 
 
11212
Internals
 
11213
*********
 
11214
 
 
11215
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
 
11216
  which can be used to cache the conversion between utf8 and Unicode.
 
11217
  Especially helpful for some of the knit annotation code, which has to
 
11218
  convert revision ids to utf8 to annotate lines in storage.
 
11219
  (John Arbash Meinel)
 
11220
 
 
11221
* ``setup.py`` now searches the filesystem to find all packages which
 
11222
  need to be installed. This should help make the life of packagers
 
11223
  easier. (John Arbash Meinel)
 
11224
 
 
11225
bzr 0.9.0
 
11226
#########
 
11227
 
 
11228
:Released:  2006-08-11
 
11229
 
 
11230
Surprises
 
11231
*********
 
11232
 
 
11233
* The hard-coded built-in ignore rules have been removed. There are
 
11234
  now two rulesets which are enforced. A user global one in
 
11235
  ``~/.bazaar/ignore`` which will apply to every tree, and the tree
 
11236
  specific one '.bzrignore'.
 
11237
  ``~/.bazaar/ignore`` will be created if it does not exist, but with
 
11238
  a more conservative list than the old default.
 
11239
  This fixes bugs with default rules being enforced no matter what.
 
11240
  The old list of ignore rules from bzr is available by
 
11241
  running 'bzr ignore --old-default-rules'.
 
11242
  (Robert Collins, Martin Pool, John Arbash Meinel)
 
11243
 
 
11244
* 'branches.conf' has been changed to 'locations.conf', since it can apply
 
11245
  to more locations than just branch locations.
 
11246
  (Aaron Bentley)
 
11247
 
 
11248
Improvements
 
11249
************
 
11250
 
 
11251
* The revision specifier "revno:" is extended to accept the syntax
 
11252
  revno:N:branch. For example,
 
11253
  revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
 
11254
  bzr.dev.  (Matthieu Moy)
 
11255
 
 
11256
* Tests updates to ensure proper URL handling, UNICODE support, and
 
11257
  proper printing when the user's terminal encoding cannot display
 
11258
  the path of a file that has been versioned.
 
11259
  ``bzr branch`` can take a target URL rather than only a local directory.
 
11260
  ``Branch.get_parent()/set_parent()`` now save a relative path if possible,
 
11261
  and normalize the parent based on root, allowing access across
 
11262
  different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
 
11263
  (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
 
11264
  #42517, #42514)
 
11265
 
 
11266
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
 
11267
  Use terminal width for single-line logs from ``bzr log --line`` and
 
11268
  pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
 
11269
  (Malone #3507)
 
11270
 
 
11271
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
 
11272
  (Alexander Belchenko)
 
11273
 
 
11274
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
 
11275
 
 
11276
* Show the correct number of revisions pushed when pushing a new branch.
 
11277
  (Robert Collins).
 
11278
 
 
11279
* 'bzr selftest' now shows a progress bar with the number of tests, and
 
11280
  progress made. 'make check' shows tests in -v mode, to be more useful
 
11281
  for the PQM status window. (Robert Collins).
 
11282
  When using a progress bar, failed tests are printed out, rather than
 
11283
  being overwritten by the progress bar until the suite finishes.
 
11284
  (John Arbash Meinel)
 
11285
 
 
11286
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
 
11287
  'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
 
11288
  profile data for the individual profiled calls, allowing for fine
 
11289
  grained analysis of performance.
 
11290
  (Robert Collins, Martin Pool).
 
11291
 
 
11292
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
 
11293
  where commit can take an appreciable time. (Robert Collins)
 
11294
 
 
11295
* 'bzr add' is now less verbose in telling you what ignore globs were
 
11296
  matched by files being ignored. Instead it just tells you how many
 
11297
  were ignored (because you might reasonably be expecting none to be
 
11298
  ignored). 'bzr add -v' is unchanged and will report every ignored
 
11299
  file. (Robert Collins).
 
11300
 
 
11301
* ftp now has a test server if medusa is installed. As part of testing,
 
11302
  ftp support has been improved, including support for supplying a
 
11303
  non-standard port. (John Arbash Meinel).
 
11304
 
 
11305
* 'bzr log --line' shows the revision number, and uses only the
 
11306
  first line of the log message (#5162, Alexander Belchenko;
 
11307
  Matthieu Moy)
 
11308
 
 
11309
* 'bzr status' has had the --all option removed. The 'bzr ls' command
 
11310
  should be used to retrieve all versioned files. (Robert Collins)
 
11311
 
 
11312
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
 
11313
  over email, and applied on the other end, while maintaining ancestry.
 
11314
  This bundle can be applied with either 'bzr merge' or 'bzr pull',
 
11315
  the same way you would apply another branch.
 
11316
  (John Arbash Meinel, Aaron Bentley)
 
11317
 
 
11318
* 'bzr whoami' can now be used to set your identity from the command line,
 
11319
  for a branch or globally.  (Robey Pointer)
 
11320
 
 
11321
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
 
11322
  (Michael Ellerman)
 
11323
 
 
11324
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
 
11325
  (Aaron Bentley)
 
11326
 
 
11327
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
 
11328
  Also updates things like 'http+pycurl://' if pycurl is not present.
 
11329
  (John Arbash Meinel) (Malone #47821, #52204)
 
11330
 
 
11331
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
 
11332
  Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
 
11333
  'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
 
11334
 
 
11335
* Improve the help text for 'bzr diff' to explain what various options do.
 
11336
  (John Arbash Meinel, #6391)
 
11337
 
 
11338
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
 
11339
  revision 10. This makes -r10 more in line with what other commands do.
 
11340
  'bzr uncommit' also now saves the pending merges of the revisions that
 
11341
  were removed. So it is safe to uncommit after a merge, fix something,
 
11342
  and commit again. (John Arbash Meinel, #32526, #31426)
 
11343
 
 
11344
* 'bzr init' now also works on remote locations.
 
11345
  (Wouter van Heyst, #48904)
 
11346
 
 
11347
* HTTP support has been updated. When using pycurl we now support
 
11348
  connection keep-alive, which reduces dns requests and round trips.
 
11349
  And for both urllib and pycurl we support multi-range requests,
 
11350
  which decreases the number of round-trips. Performance results for
 
11351
  ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
 
11352
  http branching is now 2-3x faster, and ``bzr pull`` in an existing
 
11353
  branch is as much as 4x faster.
 
11354
  (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
 
11355
 
 
11356
* Performance improvements for sftp. Branching and pulling are now up to
 
11357
  2x faster. Utilize paramiko.readv() support for async requests if it
 
11358
  is available (paramiko > 1.6) (John Arbash Meinel)
 
11359
 
 
11360
Bug Fixes
 
11361
*********
 
11362
 
 
11363
* Fix shadowed definition of TestLocationConfig that caused some
 
11364
  tests not to run.
 
11365
  (Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
 
11366
 
 
11367
* Fix unnecessary requirement of sign-my-commits that it be run from
 
11368
  a working directory.  (Martin Pool, Robert Collins)
 
11369
 
 
11370
* 'bzr push location' will only remember the push location if it succeeds
 
11371
  in connecting to the remote location. (John Arbash Meinel, #49742)
 
11372
 
 
11373
* 'bzr revert' no longer toggles the executable bit on win32
 
11374
  (John Arbash Meinel, #45010)
 
11375
 
 
11376
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
 
11377
 
 
11378
* sftp tests now work correctly on win32 if you have a newer paramiko
 
11379
  (John Arbash Meinel)
 
11380
 
 
11381
* Cleanup win32 test suite, and general cleanup of places where
 
11382
  file handles were being held open. (John Arbash Meinel)
 
11383
 
 
11384
* When specifying filenames for 'diff -r x..y', the name of the file in the
 
11385
  working directory can be used, even if its name is different in both x
 
11386
  and y.
 
11387
 
 
11388
* File-ids containing single- or double-quotes are handled correctly by
 
11389
  push. (Aaron Bentley, #52227)
 
11390
 
 
11391
* Normalize unicode filenames to ensure cross-platform consistency.
 
11392
  (John Arbash Meinel, #43689)
 
11393
 
 
11394
* The argument parser can now handle '-' as an argument. Currently
 
11395
  no code interprets it specially (it is mostly handled as a file named
 
11396
  '-'). But plugins, and future operations can use it.
 
11397
  (John Arbash meinel, #50984)
 
11398
 
 
11399
* Bundles can properly read binary files with a plain '\r' in them.
 
11400
  (John Arbash Meinel, #51927)
 
11401
 
 
11402
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
 
11403
 
 
11404
* Lots of win32 fixes (the test suite passes again).
 
11405
  (John Arbash Meinel, #50155)
 
11406
 
 
11407
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
 
11408
 
 
11409
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
 
11410
 
 
11411
* Removals are only committed if they match the filespec (or if there is
 
11412
  no filespec).  (#46635, Aaron Bentley)
 
11413
 
 
11414
* smart-add recurses through all supplied directories
 
11415
  (John Arbash Meinel, #52578)
 
11416
 
 
11417
* Make the bundle reader extra lines before and after the bundle text.
 
11418
  This allows you to parse an email with the bundle inline.
 
11419
  (John Arbash Meinel, #49182)
 
11420
 
 
11421
* Change the file id generator to squash a little bit more. Helps when
 
11422
  working with long filenames on windows. (Also helps for unicode filenames
 
11423
  not generating hidden files). (John Arbash Meinel, #43801)
 
11424
 
 
11425
* Restore terminal mode on C-c while reading sftp password.  (#48923,
 
11426
  Nicholas Allen, Martin Pool)
 
11427
 
 
11428
* Timestamps are rounded to 1ms, and revision entries can be recreated
 
11429
  exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
 
11430
 
 
11431
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
 
11432
  use local paths, since it is user visible (John Arbash Meinel, #53653)
 
11433
 
 
11434
* ``bzr status foo`` when foo was unversioned used to cause a full delta
 
11435
  to be generated (John Arbash Meinel, #53638)
 
11436
 
 
11437
* When reading revision properties, an empty value should be considered
 
11438
  the empty string, not None (John Arbash Meinel, #47782)
 
11439
 
 
11440
* ``bzr diff --diff-options`` can now handle binary files being changed.
 
11441
  Also, the output is consistent when --diff-options is not supplied.
 
11442
  (John Arbash Meinel, #54651, #52930)
 
11443
 
 
11444
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
 
11445
 
 
11446
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
 
11447
  accessible (John Arbash Meinel, #52976)
 
11448
 
 
11449
Internals
 
11450
*********
 
11451
 
 
11452
* Combine the ignore rules into a single regex rather than looping over
 
11453
  them to reduce the threshold where  N^2 behaviour occurs in operations
 
11454
  like status. (Jan Hudec, Robert Collins).
 
11455
 
 
11456
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
 
11457
  one of the add functions in bzrlib.ignores. (John Arbash Meinel)
 
11458
 
 
11459
* 'bzr push' should only push the ancestry of the current revision, not
 
11460
  all of the history in the repository. This is especially important for
 
11461
  shared repositories. (John Arbash Meinel)
 
11462
 
 
11463
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
 
11464
  rather than randomly walking the inventories. (John Arbash Meinel)
 
11465
 
 
11466
* Doctests are now run in temporary directories which are cleaned up when
 
11467
  they finish, rather than using special ScratchDir/ScratchBranch objects.
 
11468
  (Martin Pool)
 
11469
 
 
11470
* Split ``check`` into separate methods on the branch and on the repository,
 
11471
  so that it can be specialized in ways that are useful or efficient for
 
11472
  different formats.  (Martin Pool, Robert Collins)
 
11473
 
 
11474
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
 
11475
  the global revision graph but only that part leading up to a particular
 
11476
  revision.  (Martin Pool, Robert Collins)
 
11477
 
 
11478
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
 
11479
  that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
 
11480
  (Robert Collins, Jelmer Vernooij).
 
11481
 
 
11482
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
 
11483
  Uses subprocess instead of spawnvp.
 
11484
  (James Henstridge, John Arbash Meinel, #4047, #48914)
 
11485
 
 
11486
* New command line option '--profile-imports', which will install a custom
 
11487
  importer to log time to import modules and regex compilation time to
 
11488
  sys.stderr (John Arbash Meinel)
 
11489
 
 
11490
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
 
11491
  instead. (Robert Collins)
 
11492
 
 
11493
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
 
11494
 
 
11495
bzr 0.8.2
 
11496
#########
 
11497
 
 
11498
:Released:  2006-05-17
 
11499
 
 
11500
Bug Fixes
 
11501
*********
 
11502
 
 
11503
* setup.py failed to install launchpad plugin.  (Martin Pool)
 
11504
 
 
11505
bzr 0.8.1
 
11506
#########
 
11507
 
 
11508
:Released:  2006-05-16
 
11509
 
 
11510
Bug Fixes
 
11511
*********
 
11512
 
 
11513
* Fix failure to commit a merge in a checkout.  (Martin Pool,
 
11514
  Robert Collins, Erik Bågfors, #43959)
 
11515
 
 
11516
* Nicer messages from 'commit' in the case of renames, and correct
 
11517
  messages when a merge has occured. (Robert Collins, Martin Pool)
 
11518
 
 
11519
* Separate functionality from assert statements as they are skipped in
 
11520
  optimized mode of python. Add the same check to pending merges.
 
11521
  (Olaf Conradi, #44443)
 
11522
 
 
11523
Changes
 
11524
*******
 
11525
 
 
11526
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
 
11527
 
 
11528
* Add info on standalone branches without a working tree.
 
11529
  (Olaf Conradi, #44155)
 
11530
 
 
11531
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
 
11532
 
 
11533
Changes
 
11534
*******
 
11535
 
 
11536
* Make editor invocation comply with Debian Policy. First check
 
11537
  environment variables VISUAL and EDITOR, then try editor from
 
11538
  alternatives system. If that all fails, fall back to the pre-defined
 
11539
  list of editors. (Olaf Conradi, #42904)
 
11540
 
 
11541
New Features
 
11542
************
 
11543
 
 
11544
* New 'register-branch' command registers a public branch into
 
11545
  Launchpad.net, where it can be associated with bugs, etc.
 
11546
  (Martin Pool, Bjorn Tillenius, Robert Collins)
 
11547
 
 
11548
Internals
 
11549
*********
 
11550
 
 
11551
* New public api in InventoryEntry - ``describe_change(old, new)`` which
 
11552
  provides a human description of the changes between two old and
 
11553
  new. (Robert Collins, Martin Pool)
 
11554
 
 
11555
Testing
 
11556
*******
 
11557
 
 
11558
* Fix test case for bzr info in upgrading a standalone branch to metadir,
 
11559
  uses bzrlib api now. (Olaf Conradi)
 
11560
 
 
11561
bzr 0.8
 
11562
#######
 
11563
 
 
11564
:Released:  2006-05-08
 
11565
 
 
11566
Notes When Upgrading
 
11567
********************
 
11568
 
 
11569
Release 0.8 of bzr introduces a new format for history storage, called
 
11570
'knit', as an evolution of to the 'weave' format used in 0.7.  Local
 
11571
and remote operations are faster using knits than weaves.  Several
 
11572
operations including 'init', 'init-repo', and 'upgrade' take a
 
11573
--format option that controls this.  Branching from an existing branch
 
11574
will keep the same format.
 
11575
 
 
11576
It is possible to merge, pull and push between branches of different
 
11577
formats but this is slower than moving data between homogenous
 
11578
branches.  It is therefore recommended (but not required) that you
 
11579
upgrade all branches for a project at the same time.  Information on
 
11580
formats is shown by 'bzr info'.
 
11581
 
 
11582
bzr 0.8 now allows creation of 'repositories', which hold the history
 
11583
of files and revisions for several branches.  Previously bzr kept all
 
11584
the history for a branch within the .bzr directory at the root of the
 
11585
branch, and this is still the default.  To create a repository, use
 
11586
the new 'bzr init-repo' command.  Branches exist as directories under
 
11587
the repository and contain just a small amount of information
 
11588
indicating the current revision of the branch.
 
11589
 
 
11590
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
 
11591
subversion.  Checkouts are associated with a branch (optionally in a
 
11592
repository), which contains all the historical information.  The
 
11593
result is that a checkout can be deleted without losing any
 
11594
already-committed revisions.  A new 'update' command is also available.
 
11595
 
 
11596
Repositories and checkouts are not supported with the 0.7 storage
 
11597
format.  To use them you must upgrad to either knits, or to the
 
11598
'metaweave' format, which uses weaves but changes the .bzr directory
 
11599
arrangement.
 
11600
 
 
11601
 
 
11602
Improvements
 
11603
************
 
11604
 
 
11605
* sftp paths can now be relative, or local, according to the lftp
 
11606
  convention. Paths now take the form::
 
11607
 
 
11608
      sftp://user:pass@host:port/~/relative/path
 
11609
      or
 
11610
      sftp://user:pass@host:port/absolute/path
 
11611
 
 
11612
* The FTP transport now tries to reconnect after a temporary
 
11613
  failure. ftp put is made atomic. (Matthieu Moy)
 
11614
 
 
11615
* The FTP transport now maintains a pool of connections, and
 
11616
  reuses them to avoid multiple connections to the same host (like
 
11617
  sftp did). (Daniel Silverstone)
 
11618
 
 
11619
* The ``bzr_man.py`` file has been removed. To create the man page now,
 
11620
  use ``./generate_docs.py man``. The new program can also create other files.
 
11621
  Run ``python generate_docs.py --help`` for usage information.
 
11622
  (Hans Ulrich Niedermann & James Blackwell).
 
11623
 
 
11624
* Man Page now gives full help (James Blackwell).
 
11625
  Help also updated to reflect user config now being stored in .bazaar
 
11626
  (Hans Ulrich Niedermann)
 
11627
 
 
11628
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
 
11629
 
 
11630
* Pull now accepts a --revision argument (Erik Bågfors)
 
11631
 
 
11632
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
 
11633
  line. You can now use the following command to sign all of your old
 
11634
  commits::
 
11635
 
 
11636
    find .bzr/revision-store// -name my@email-* \
 
11637
      | sed 's/.*\/\/..\///' \
 
11638
      | xargs bzr re-sign
 
11639
 
 
11640
* Upgrade can now upgrade over the network. (Robert Collins)
 
11641
 
 
11642
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
 
11643
  behaviour.  By default they will cache history in the checkout, but
 
11644
  with --lightweight almost all data is kept in the master branch.
 
11645
  (Robert Collins)
 
11646
 
 
11647
* 'revert' unversions newly-versioned files, instead of deleting them.
 
11648
 
 
11649
* 'merge' is more robust.  Conflict messages have changed.
 
11650
 
 
11651
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
 
11652
  '.moved'.
 
11653
 
 
11654
* Default log format can be set in configuration and plugins can register
 
11655
  their own formatters. (Erik Bågfors)
 
11656
 
 
11657
* New 'reconcile' command will check branch consistency and repair indexes
 
11658
  that can become out of sync in pre 0.8 formats. (Robert Collins,
 
11659
  Daniel Silverstone)
 
11660
 
 
11661
* New 'bzr init --format' and 'bzr upgrade --format' option to control
 
11662
  what storage format is created or produced.  (Robert Collins,
 
11663
  Martin Pool)
 
11664
 
 
11665
* Add parent location to 'bzr info', if there is one.  (Olaf Conradi)
 
11666
 
 
11667
* New developer commands 'weave-list' and 'weave-join'.  (Martin Pool)
 
11668
 
 
11669
* New 'init-repository' command, plus support for repositories in 'init'
 
11670
  and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
 
11671
 
 
11672
* Improve output of 'info' command. Show all relevant locations related to
 
11673
  working tree, branch and repository. Use kibibytes for binary quantities.
 
11674
  Fix off-by-one error in missing revisions of working tree.  Make 'info'
 
11675
  work on branches, repositories and remote locations.  Show locations
 
11676
  relative to the shared repository, if applicable.  Show locking status
 
11677
  of locations.  (Olaf Conradi)
 
11678
 
 
11679
* Diff and merge now safely handle binary files. (Aaron Bentley)
 
11680
 
 
11681
* 'pull' and 'push' now normalise the revision history, so that any two
 
11682
  branches with the same tip revision will have the same output from 'log'.
 
11683
  (Robert Collins)
 
11684
 
 
11685
* 'merge' accepts --remember option to store parent location, like 'push'
 
11686
  and 'pull'. (Olaf Conradi)
 
11687
 
 
11688
* bzr status and diff when files given as arguments do not exist
 
11689
  in the relevant trees.  (Martin Pool, #3619)
 
11690
 
 
11691
* Add '.hg' to the default ignore list.  (Martin Pool)
 
11692
 
 
11693
* 'knit' is now the default disk format. This improves disk performance and
 
11694
  utilization, increases incremental pull performance, robustness with SFTP
 
11695
  and allows checkouts over SFTP to perform acceptably.
 
11696
  The initial Knit code was contributed by Johan Rydberg based on a
 
11697
  specification by Martin Pool.
 
11698
  (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
 
11699
 
 
11700
* New tool to generate all-in-one html version of the manual.  (Alexander
 
11701
  Belchenko)
 
11702
 
 
11703
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
 
11704
  to be left in the SFTP repository. (Robert Collins, Martin Pool).
 
11705
 
 
11706
* New option 'diff --prefix' to control how files are named in diff
 
11707
  output, with shortcuts '-p0' and '-p1' corresponding to the options for
 
11708
  GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
 
11709
 
 
11710
* Add --revision option to 'annotate' command.  (Olaf Conradi)
 
11711
 
 
11712
* If bzr shows an unexpected revision-history after pulling (perhaps due
 
11713
  to a reweave) it can now be corrected by 'bzr reconcile'.
 
11714
  (Robert Collins)
 
11715
 
 
11716
Changes
 
11717
*******
 
11718
 
 
11719
* Commit is now verbose by default, and shows changed filenames and the
 
11720
  new revision number.  (Robert Collins, Martin Pool)
 
11721
 
 
11722
* Unify 'mv', 'move', 'rename'.  (Matthew Fuller, #5379)
 
11723
 
 
11724
* 'bzr -h' shows help.  (Martin Pool, Ian Bicking, #35940)
 
11725
 
 
11726
* Make 'pull' and 'push' remember location on failure using --remember.
 
11727
  (Olaf Conradi)
 
11728
 
 
11729
* For compatibility, make old format for using weaves inside metadir
 
11730
  available as 'metaweave' format.  Rename format 'metadir' to 'default'.
 
11731
  Clean up help for option --format in commands 'init', 'init-repo' and
 
11732
  'upgrade'.  (Olaf Conradi)
 
11733
 
 
11734
Internals
 
11735
*********
 
11736
 
 
11737
* The internal storage of history, and logical branch identity have now
 
11738
  been split into Branch, and Repository. The common locking and file
 
11739
  management routines are now in bzrlib.lockablefiles.
 
11740
  (Aaron Bentley, Robert Collins, Martin Pool)
 
11741
 
 
11742
* Transports can now raise DependencyNotPresent if they need a library
 
11743
  which is not installed, and then another implementation will be
 
11744
  tried.  (Martin Pool)
 
11745
 
 
11746
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
 
11747
  (Martin Pool)
 
11748
 
 
11749
* Using Tree Transform for merge, revert, tree-building
 
11750
 
 
11751
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
 
11752
  Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
 
11753
  replacement API's. (Robert Collins)
 
11754
 
 
11755
* New BzrDir class represents the .bzr control directory and manages
 
11756
  formatting issues. (Robert Collins)
 
11757
 
 
11758
* New repository.InterRepository class encapsulates Repository to
 
11759
  Repository actions and allows for clean selection of optimised code
 
11760
  paths. (Robert Collins)
 
11761
 
 
11762
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
 
11763
  deprecated, please use ``branch.fetch`` or ``repository.fetch``
 
11764
  depending on your needs. (Robert Collins)
 
11765
 
 
11766
* deprecated methods now have a ``is_deprecated`` flag on them that can
 
11767
  be checked, if you need to determine whether a given callable is
 
11768
  deprecated at runtime. (Robert Collins)
 
11769
 
 
11770
* Progress bars are now nested - see
 
11771
  ``bzrlib.ui.ui_factory.nested_progress_bar``.
 
11772
  (Robert Collins, Robey Pointer)
 
11773
 
 
11774
* New API call ``get_format_description()`` for each type of format.
 
11775
  (Olaf Conradi)
 
11776
 
 
11777
* Changed ``branch.set_parent()`` to accept None to remove parent.
 
11778
  (Olaf Conradi)
 
11779
 
 
11780
* Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
 
11781
 
 
11782
* WorkingTree.branch is now a read only property.  (Robert Collins)
 
11783
 
 
11784
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
 
11785
  can be None or a factory that will create a progress bar. This is
 
11786
  useful for testing or for overriding the bzrlib.progress heuristic.
 
11787
  (Robert Collins)
 
11788
 
 
11789
* New API method ``get_physical_lock_status()`` to query locks present on a
 
11790
  transport.  (Olaf Conradi)
 
11791
 
 
11792
* Repository.reconcile now takes a thorough keyword parameter to allow
 
11793
  requesting an indepth reconciliation, rather than just a data-loss
 
11794
  check. (Robert Collins)
 
11795
 
 
11796
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
 
11797
  the user for yes/no style input. (Robert Collins)
 
11798
 
 
11799
Testing
 
11800
*******
 
11801
 
 
11802
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
 
11803
  for testing SFTP protocol support. (Robey Pointer)
 
11804
 
 
11805
* Branch formats are now tested once per implementation (see ``bzrlib.
 
11806
  tests.branch_implementations``. This is analagous to the transport
 
11807
  interface tests, and has been followed up with working tree,
 
11808
  repository and BzrDir tests. (Robert Collins)
 
11809
 
 
11810
* New test base class TestCaseWithTransport provides a transport aware
 
11811
  test environment, useful for testing any transport-interface using
 
11812
  code. The test suite option --transport controls the transport used
 
11813
  by this class (when its not being used as part of implementation
 
11814
  contract testing). (Robert Collins)
 
11815
 
 
11816
* Close logging handler on disabling the test log. This will remove the
 
11817
  handler from the internal list inside python's logging module,
 
11818
  preventing shutdown from closing it twice.  (Olaf Conradi)
 
11819
 
 
11820
* Move test case for uncommit to blackbox tests.  (Olaf Conradi)
 
11821
 
 
11822
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
 
11823
  parameter which will provide String("foo") to the command as its stdin.
 
11824
 
 
11825
bzr 0.7
 
11826
#######
 
11827
 
 
11828
:Released: 2006-01-09
 
11829
 
 
11830
Changes
 
11831
*******
 
11832
 
 
11833
* .bzrignore is excluded from exports, on the grounds that it's a bzr
 
11834
  internal-use file and may not be wanted.  (Jamie Wilkinson)
 
11835
 
 
11836
* The "bzr directories" command were removed in favor of the new
 
11837
  --kind option to the "bzr inventory" command.  To list all
 
11838
  versioned directories, now use "bzr inventory --kind directory".
 
11839
  (Johan Rydberg)
 
11840
 
 
11841
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
 
11842
  by default. (John Arbash Meinel)
 
11843
 
 
11844
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
 
11845
  environment variable. Now the path for it is searched in ``BZR_HOME``,
 
11846
  then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
 
11847
  (usually points to ``C:\Documents and Settings\User Name\Application Data``),
 
11848
  ``HOME``. (John Arbash Meinel)
 
11849
 
 
11850
* Plugins with the same name in different directories in the bzr plugin
 
11851
  path are no longer loaded: only the first successfully loaded one is
 
11852
  used. (Robert Collins)
 
11853
 
 
11854
* Use systems' external ssh command to open connections if possible.
 
11855
  This gives better integration with user settings such as ProxyCommand.
 
11856
  (James Henstridge)
 
11857
 
 
11858
* Permissions on files underneath .bzr/ are inherited from the .bzr
 
11859
  directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
 
11860
  will mean that future file will be created with group write permissions.
 
11861
 
 
11862
* configure.in and config.guess are no longer in the builtin default
 
11863
  ignore list.
 
11864
 
 
11865
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
 
11866
  files.  (John Arbash Meinel, Martin Pool)
 
11867
 
 
11868
Improvements
 
11869
************
 
11870
 
 
11871
* "bzr INIT dir" now initializes the specified directory, and creates
 
11872
  it if it does not exist.  (John Arbash Meinel)
 
11873
 
 
11874
* New remerge command (Aaron Bentley)
 
11875
 
 
11876
* Better zsh completion script.  (Steve Borho)
 
11877
 
 
11878
* 'bzr diff' now returns 1 when there are changes in the working
 
11879
  tree. (Robert Collins)
 
11880
 
 
11881
* 'bzr push' now exists and can push changes to a remote location.
 
11882
  This uses the transport infrastructure, and can store the remote
 
11883
  location in the ~/.bazaar/branches.conf configuration file.
 
11884
  (Robert Collins)
 
11885
 
 
11886
* Test directories are only kept if the test fails and the user requests
 
11887
  that they be kept.
 
11888
 
 
11889
* Tweaks to short log printing
 
11890
 
 
11891
* Added branch nicks, new nick command, printing them in log output.
 
11892
  (Aaron Bentley)
 
11893
 
 
11894
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
 
11895
  occurs.  (Martin Pool)
 
11896
 
 
11897
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
 
11898
  the same as Subversion.  (Martin Pool)
 
11899
 
 
11900
* New ftp transport support (on ftplib), for ftp:// and aftp://
 
11901
  URLs.  (Daniel Silverstone)
 
11902
 
 
11903
* Commit editor temporary files now start with ``bzr_log.``, to allow
 
11904
  text editors to match the file name and set up appropriate modes or
 
11905
  settings.  (Magnus Therning)
 
11906
 
 
11907
* Improved performance when integrating changes from a remote weave.
 
11908
  (Goffredo Baroncelli)
 
11909
 
 
11910
* Sftp will attempt to cache the connection, so it is more likely that
 
11911
  a connection will be reused, rather than requiring multiple password
 
11912
  requests.
 
11913
 
 
11914
* bzr revno now takes an optional argument indicating the branch whose
 
11915
  revno should be printed.  (Michael Ellerman)
 
11916
 
 
11917
* bzr cat defaults to printing the last version of the file.
 
11918
  (Matthieu Moy, #3632)
 
11919
 
 
11920
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
 
11921
  profiler.  (Denys Duchier)
 
11922
 
 
11923
* Faster commits by reading only the headers of affected weave files.
 
11924
  (Denys Duchier)
 
11925
 
 
11926
* 'bzr add' now takes a --dry-run parameter which shows you what would be
 
11927
  added, but doesn't actually add anything. (Michael Ellerman)
 
11928
 
 
11929
* 'bzr add' now lists how many files were ignored per glob.  add --verbose
 
11930
  lists the specific files.  (Aaron Bentley)
 
11931
 
 
11932
* 'bzr missing' now supports displaying changes in diverged trees and can
 
11933
  be limited to show what either end of the comparison is missing.
 
11934
  (Aaron Bently, with a little prompting from Daniel Silverstone)
 
11935
 
 
11936
Bug Fixes
 
11937
*********
 
11938
 
 
11939
* SFTP can walk up to the root path without index errors. (Robert Collins)
 
11940
 
 
11941
* Fix bugs in running bzr with 'python -O'.  (Martin Pool)
 
11942
 
 
11943
* Error when run with -OO
 
11944
 
 
11945
* Fix bug in reporting http errors that don't have an http error code.
 
11946
  (Martin Pool)
 
11947
 
 
11948
* Handle more cases of pipe errors in display commands
 
11949
 
 
11950
* Change status to 3 for all errors
 
11951
 
 
11952
* Files that are added and unlinked before committing are completely
 
11953
  ignored by diff and status
 
11954
 
 
11955
* Stores with some compressed texts and some uncompressed texts are now
 
11956
  able to be used. (John A Meinel)
 
11957
 
 
11958
* Fix for bzr pull failing sometimes under windows
 
11959
 
 
11960
* Fix for sftp transport under windows when using interactive auth
 
11961
 
 
11962
* Show files which are both renamed and modified as such in 'bzr
 
11963
  status' output.  (Daniel Silverstone, #4503)
 
11964
 
 
11965
* Make annotate cope better with revisions committed without a valid
 
11966
  email address.  (Marien Zwart)
 
11967
 
 
11968
* Fix representation of tab characters in commit messages.
 
11969
  (Harald Meland)
 
11970
 
 
11971
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
 
11972
  now parsed properly under Windows. (Alexander Belchenko)
 
11973
 
 
11974
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
 
11975
 
 
11976
* Keep a cached copy of the basis inventory to speed up operations
 
11977
  that need to refer to it.  (Johan Rydberg, Martin Pool)
 
11978
 
 
11979
* Fix bugs in bzr status display of non-ascii characters.
 
11980
  (Martin Pool)
 
11981
 
 
11982
* Remove Makefile.in from default ignore list.
 
11983
  (Tollef Fog Heen, Martin Pool, #6413)
 
11984
 
 
11985
* Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
 
11986
 
 
11987
Testing
 
11988
*******
 
11989
 
 
11990
* Fix selftest asking for passwords when there are no SFTP keys.
 
11991
  (Robey Pointer, Jelmer Vernooij)
 
11992
 
 
11993
* Fix selftest run with 'python -O'.  (Martin Pool)
 
11994
 
 
11995
* Fix HTTP tests under Windows. (John Arbash Meinel)
 
11996
 
 
11997
* Make tests work even if HOME is not set (Aaron Bentley)
 
11998
 
 
11999
* Updated ``build_tree`` to use fixed line-endings for tests which read
 
12000
  the file cotents and compare. Make some tests use this to pass under
 
12001
  Windows. (John Arbash Meinel)
 
12002
 
 
12003
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
 
12004
 
 
12005
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
 
12006
  (John Arbash Meinel)
 
12007
 
 
12008
* Use terminal width to align verbose test output.  (Martin Pool)
 
12009
 
 
12010
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
 
12011
  If adding a new test script please add that to
 
12012
  ``bzrlib.tests.blackbox.__init__``. (Robert Collins)
 
12013
 
 
12014
* Much better error message if one of the test suites can't be
 
12015
  imported.  (Martin Pool)
 
12016
 
 
12017
* Make check now runs the test suite twice - once with the default locale,
 
12018
  and once with all locales forced to C, to expose bugs. This is not
 
12019
  trivially done within python, so for now its only triggered by running
 
12020
  Make check. Integrators and packagers who wish to check for full
 
12021
  platform support should run 'make check' to test the source.
 
12022
  (Robert Collins)
 
12023
 
 
12024
* Tests can now run TestSkipped if they can't execute for any reason.
 
12025
  (Martin Pool) (NB: TestSkipped should only be raised for correctable
 
12026
  reasons - see the wiki spec ImprovingBzrTestSuite).
 
12027
 
 
12028
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
 
12029
  paths for the transport tests. Introduce blackbox remote sftp tests that
 
12030
  test the same permutations. (Robert Collins, Robey Pointer)
 
12031
 
 
12032
* Transport implementation tests are now independent of the local file
 
12033
  system, which allows tests for esoteric transports, and for features
 
12034
  not available in the local file system. They also repeat for variations
 
12035
  on the URL scheme that can introduce issues in the transport code,
 
12036
  see bzrlib.transport.TransportTestProviderAdapter() for this.
 
12037
  (Robert Collins).
 
12038
 
 
12039
* ``TestCase.build_tree`` uses the transport interface to build trees,
 
12040
  pass in a transport parameter to give it an existing connection.
 
12041
  (Robert Collins).
 
12042
 
 
12043
Internals
 
12044
*********
 
12045
 
 
12046
* WorkingTree.pull has been split across Branch and WorkingTree,
 
12047
  to allow Branch only pulls. (Robert Collins)
 
12048
 
 
12049
* ``commands.display_command`` now returns the result of the decorated
 
12050
  function. (Robert Collins)
 
12051
 
 
12052
* LocationConfig now has a ``set_user_option(key, value)`` call to save
 
12053
  a setting in its matching location section (a new one is created
 
12054
  if needed). (Robert Collins)
 
12055
 
 
12056
* Branch has two new methods, ``get_push_location`` and
 
12057
  ``set_push_location`` to respectively, get and set the push location.
 
12058
  (Robert Collins)
 
12059
 
 
12060
* ``commands.register_command`` now takes an optional flag to signal that
 
12061
  the registrant is planning to decorate an existing command. When
 
12062
  given multiple plugins registering a command is not an error, and
 
12063
  the original command class (whether built in or a plugin based one) is
 
12064
  returned to the caller. There is a new error 'MustUseDecorated' for
 
12065
  signalling when a wrapping command should switch to the original
 
12066
  version. (Robert Collins)
 
12067
 
 
12068
* Some option parsing errors will raise 'BzrOptionError', allowing
 
12069
  granular detection for decorating commands. (Robert Collins).
 
12070
 
 
12071
* ``Branch.read_working_inventory`` has moved to
 
12072
  ``WorkingTree.read_working_inventory``. This necessitated changes to
 
12073
  ``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
 
12074
  WorkingTree as well. To make it clear that a WorkingTree cannot always
 
12075
  be obtained ``Branch.working_tree()`` will raise
 
12076
  ``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
 
12077
 
 
12078
* All pending merges operations from Branch are now on WorkingTree.
 
12079
  (Robert Collins)
 
12080
 
 
12081
* The follow operations from Branch have moved to WorkingTree::
 
12082
 
 
12083
      add()
 
12084
      commit()
 
12085
      move()
 
12086
      rename_one()
 
12087
      unknowns()
 
12088
 
 
12089
  (Robert Collins)
 
12090
 
 
12091
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
 
12092
 
 
12093
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
 
12094
 
 
12095
* Rename selftests to ``bzrlib.tests.test_foo``.  (John A Meinel, Martin
 
12096
  Pool)
 
12097
 
 
12098
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
 
12099
  query method. (Robert Collins)
 
12100
 
 
12101
* New options to read only the table-of-contents of a weave.
 
12102
  (Denys Duchier)
 
12103
 
 
12104
* Raise NoSuchFile when someone tries to add a non-existant file.
 
12105
  (Michael Ellerman)
 
12106
 
 
12107
* Simplify handling of DivergedBranches in ``cmd_pull()``.
 
12108
  (Michael Ellerman)
 
12109
 
 
12110
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
 
12111
  is exposed as ``Branch().control_files``. Also this has been altered with the
 
12112
  controlfile pre/suffix replaced by simple method names like 'get' and
 
12113
  'put'. (Aaron Bentley, Robert Collins).
 
12114
 
 
12115
* Deprecated functions and methods can now be marked as such using the
 
12116
  ``bzrlib.symbol_versioning`` module. Marked method have their docstring
 
12117
  updated and will issue a DeprecationWarning using the warnings module
 
12118
  when they are used. (Robert Collins)
 
12119
 
 
12120
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
 
12121
  for functions that need unicode strings. (Robert Collins)
 
12122
 
 
12123
bzr 0.6
 
12124
#######
 
12125
 
 
12126
:Released: 2005-10-28
 
12127
 
 
12128
Improvements
 
12129
************
 
12130
 
 
12131
* pull now takes --verbose to show you what revisions are added or removed
 
12132
  (John A Meinel)
 
12133
 
 
12134
* merge now takes a --show-base option to include the base text in
 
12135
  conflicts.
 
12136
  (Aaron Bentley)
 
12137
 
 
12138
* The config files are now read using ConfigObj, so '=' should be used as
 
12139
  a separator, not ':'.
 
12140
  (Aaron Bentley)
 
12141
 
 
12142
* New 'bzr commit --strict' option refuses to commit if there are
 
12143
  any unknown files in the tree.  To commit, make sure all files are
 
12144
  either ignored, added, or deleted.  (Michael Ellerman)
 
12145
 
 
12146
* The config directory is now ~/.bazaar, and there is a single file
 
12147
  ~/.bazaar/bazaar.conf storing email, editor and other preferences.
 
12148
  (Robert Collins)
 
12149
 
 
12150
* 'bzr add' no longer takes a --verbose option, and a --quiet option
 
12151
  has been added that suppresses all output.
 
12152
 
 
12153
* Improved zsh completion support in contrib/zsh, from Clint
 
12154
  Adams.
 
12155
 
 
12156
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
 
12157
  Goffredo Baroncelli.
 
12158
 
 
12159
* 'bzr check' now accepts -v for verbose reporting, and checks for
 
12160
  ghosts in the branch. (Robert Collins)
 
12161
 
 
12162
* New command 're-sign' which will regenerate the gpg signature for
 
12163
  a revision. (Robert Collins)
 
12164
 
 
12165
* If you set ``check_signatures=require`` for a path in
 
12166
  ``~/.bazaar/branches.conf`` then bzr will invoke your
 
12167
  ``gpg_signing_command`` (defaults to gpg) and record a digital signature
 
12168
  of your commit. (Robert Collins)
 
12169
 
 
12170
* New sftp transport, based on Paramiko.  (Robey Pointer)
 
12171
 
 
12172
* 'bzr pull' now accepts '--clobber' which will discard local changes
 
12173
  and make this branch identical to the source branch. (Robert Collins)
 
12174
 
 
12175
* Just give a quieter warning if a plugin can't be loaded, and
 
12176
  put the details in .bzr.log.  (Martin Pool)
 
12177
 
 
12178
* 'bzr branch' will now set the branch-name to the last component of the
 
12179
  output directory, if one was supplied.
 
12180
 
 
12181
* If the option ``post_commit`` is set to one (or more) python function
 
12182
  names (must be in the bzrlib namespace), then they will be invoked
 
12183
  after the commit has completed, with the branch and ``revision_id`` as
 
12184
  parameters. (Robert Collins)
 
12185
 
 
12186
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
 
12187
 
 
12188
* --merge-type weave is now supported for file contents.  Tree-shape
 
12189
  changes are still three-way based.  (Martin Pool, Aaron Bentley)
 
12190
 
 
12191
* 'bzr check' allows the first revision on revision-history to have
 
12192
  parents - something that is expected for cheap checkouts, and occurs
 
12193
  when conversions from baz do not have all history.  (Robert Collins).
 
12194
 
 
12195
* 'bzr merge' can now graft unrelated trees together, if your specify
 
12196
  0 as a base. (Aaron Bentley)
 
12197
 
 
12198
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
 
12199
  (Aaron Bentley)
 
12200
 
 
12201
* Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
 
12202
 
 
12203
* 'bzr merge --reprocess' minimizes conflicts
 
12204
 
 
12205
Testing
 
12206
*******
 
12207
 
 
12208
* The 'bzr selftest --pattern' option for has been removed, now
 
12209
  test specifiers on the command line can be simple strings, or
 
12210
  regexps, or both. (Robert Collins)
 
12211
 
 
12212
* Passing -v to selftest will now show the time each test took to
 
12213
  complete, which will aid in analysing performance regressions and
 
12214
  related questions. (Robert Collins)
 
12215
 
 
12216
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
 
12217
  is given. (Martin Pool)
 
12218
 
 
12219
* There is a new method for TestCaseInTempDir, assertFileEqual, which
 
12220
  will check that a given content is equal to the content of the named
 
12221
  file. (Robert Collins)
 
12222
 
 
12223
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
 
12224
  (Martin Pool)
 
12225
 
 
12226
Internals
 
12227
*********
 
12228
 
 
12229
* New 'testament' command and concept for making gpg-signatures
 
12230
  of revisions that are not tied to a particular internal
 
12231
  representation.  (Martin Pool).
 
12232
 
 
12233
* Per-revision properties ('revprops') as key-value associated
 
12234
  strings on each revision created when the revision is committed.
 
12235
  Intended mainly for the use of external tools.  (Martin Pool).
 
12236
 
 
12237
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
12238
  (Robert Collins)
 
12239
 
 
12240
* Improved command line option definitions allowing explanations
 
12241
  for individual options, among other things.  Contributed by
 
12242
  Magnus Therning.
 
12243
 
 
12244
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
12245
  Configuration is now done via the config.Config interface:
 
12246
  Depending on whether you have a Branch, a Location or no information
 
12247
  available, construct a ``*Config``, and use its ``signature_checking``,
 
12248
  ``username`` and ``user_email`` methods. (Robert Collins)
 
12249
 
 
12250
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
 
12251
  they are made available for other plugins to use. You should not
 
12252
  import other plugins during the ``__init__`` of your plugin though, as
 
12253
  no ordering is guaranteed, and the plugins directory is not on the
 
12254
  python path. (Robert Collins)
 
12255
 
 
12256
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
 
12257
  no longer takes an inventory, rather it takes an option branch
 
12258
  parameter, and if None is given will open the branch at basedir
 
12259
  implicitly. (Robert Collins)
 
12260
 
 
12261
* Cleaner exception structure and error reporting.  Suggested by
 
12262
  Scott James Remnant.  (Martin Pool)
 
12263
 
 
12264
* Branch.remove has been moved to WorkingTree, which has also gained
 
12265
  ``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
 
12266
  (Robert Collins)
 
12267
 
 
12268
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
 
12269
  added to the branch module. Use these to cause a function to run in a
 
12270
  read or write lock respectively. (Robert Collins)
 
12271
 
 
12272
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
 
12273
  which allows direct access to the common case of 'get me this file
 
12274
  from its branch'. (Robert Collins)
 
12275
 
 
12276
* Transports can register using ``register_lazy_transport``, and they
 
12277
  will be loaded when first used.  (Martin Pool)
 
12278
 
 
12279
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
 
12280
  A new option to WorkingTree.pull has been added, clobber, which will
 
12281
  ignore diverged history and pull anyway.
 
12282
  (Robert Collins)
 
12283
 
 
12284
* config.Config has a ``get_user_option`` call that accepts an option name.
 
12285
  This will be looked up in branches.conf and bazaar.conf as normal.
 
12286
  It is intended that this be used by plugins to support options -
 
12287
  options of built in programs should have specific methods on the config.
 
12288
  (Robert Collins)
 
12289
 
 
12290
* ``merge.merge_inner`` now has tempdir as an optional parameter.
 
12291
  (Robert Collins)
 
12292
 
 
12293
* Tree.kind is not recorded at the top level of the hierarchy, as it was
 
12294
  missing on EmptyTree, leading to a bug with merge on EmptyTrees.
 
12295
  (Robert Collins)
 
12296
 
 
12297
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
 
12298
  doing what it was intended to. See ``WorkingTree.__init__`` for a comment
 
12299
  about future directions. (Robert Collins/Martin Pool)
 
12300
 
 
12301
* bzrlib.transport.http has been modified so that only 404 urllib errors
 
12302
  are returned as NoSuchFile. Other exceptions will propagate as normal.
 
12303
  This allows debuging of actual errors. (Robert Collins)
 
12304
 
 
12305
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
 
12306
  to apis like 'put', 'get' and 'has'. This is to provide consistent
 
12307
  behaviour - it operates on url's only. (Robert Collins)
 
12308
 
 
12309
* Transports can register using ``register_lazy_transport``, and they
 
12310
  will be loaded when first used.  (Martin Pool)
 
12311
 
 
12312
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
 
12313
  is called by ``merge_inner``. This is so that the conflict count can be
 
12314
  retrieved (and potentially manipulated) before returning to the caller
 
12315
  of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
 
12316
  caller. (Robert Collins)
 
12317
 
 
12318
* ``revision.revision_graph`` can handle having only partial history for
 
12319
  a revision - that is no revisions in the graph with no parents.
 
12320
  (Robert Collins).
 
12321
 
 
12322
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
 
12323
  produce a branch and a list of paths, relative to that branch
 
12324
  (Aaron Bentley)
 
12325
 
 
12326
* New TestCase.addCleanup facility.
 
12327
 
 
12328
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
 
12329
  which can be used by programs importing bzrlib.
 
12330
 
 
12331
Bug Fixes
 
12332
*********
 
12333
 
 
12334
* Better handling of branches in directories with non-ascii names.
 
12335
  (Joel Rosdahl, Panagiotis Papadakos)
 
12336
 
 
12337
* Upgrades of trees with no commits will not fail due to accessing
 
12338
  [-1] in the revision-history. (Andres Salomon)
 
12339
 
 
12340
 
 
12341
bzr 0.1.1
 
12342
#########
 
12343
 
 
12344
:Released: 2005-10-12
 
12345
 
 
12346
Bug Fixes
 
12347
*********
 
12348
 
 
12349
* Fix problem in pulling over http from machines that do not
 
12350
  allow directories to be listed.
 
12351
 
 
12352
* Avoid harmless warning about invalid hash cache after
 
12353
  upgrading branch format.
 
12354
 
 
12355
Performance
 
12356
***********
 
12357
 
 
12358
* Avoid some unnecessary http operations in branch and pull.
 
12359
 
 
12360
 
 
12361
bzr 0.1
 
12362
#######
 
12363
 
 
12364
:Released: 2005-10-11
 
12365
 
 
12366
Notes
 
12367
*****
 
12368
 
 
12369
* 'bzr branch' over http initially gives a very high estimate
 
12370
  of completion time but it should fall as the first few
 
12371
  revisions are pulled in.  branch is still slow on
 
12372
  high-latency connections.
 
12373
 
 
12374
Bug Fixes
 
12375
*********
 
12376
 
 
12377
* bzr-man.py has been updated to work again. Contributed by
 
12378
  Rob Weir.
 
12379
 
 
12380
* Locking is now done with fcntl.lockf which works with NFS
 
12381
  file systems. Contributed by Harald Meland.
 
12382
 
 
12383
* When a merge encounters a file that has been deleted on
 
12384
  one side and modified on the other, the old contents are
 
12385
  written out to foo.BASE and foo.SIDE, where SIDE is this
 
12386
  or OTHER. Contributed by Aaron Bentley.
 
12387
 
 
12388
* Export was choosing incorrect file paths for the content of
 
12389
  the tarball, this has been fixed by Aaron Bentley.
 
12390
 
 
12391
* Commit will no longer commit without a log message, an
 
12392
  error is returned instead. Contributed by Jelmer Vernooij.
 
12393
 
 
12394
* If you commit a specific file in a sub directory, any of its
 
12395
  parent directories that are added but not listed will be
 
12396
  automatically included. Suggested by Michael Ellerman.
 
12397
 
 
12398
* bzr commit and upgrade did not correctly record new revisions
 
12399
  for files with only a change to their executable status.
 
12400
  bzr will correct this when it encounters it. Fixed by
 
12401
  Robert Collins
 
12402
 
 
12403
* HTTP tests now force off the use of ``http_proxy`` for the duration.
 
12404
  Contributed by Gustavo Niemeyer.
 
12405
 
 
12406
* Fix problems in merging weave-based branches that have
 
12407
  different partial views of history.
 
12408
 
 
12409
* Symlink support: working with symlinks when not in the root of a
 
12410
  bzr tree was broken, patch from Scott James Remnant.
 
12411
 
 
12412
Improvements
 
12413
************
 
12414
 
 
12415
* 'branch' now accepts a --basis parameter which will take advantage
 
12416
  of local history when making a new branch. This allows faster
 
12417
  branching of remote branches. Contributed by Aaron Bentley.
 
12418
 
 
12419
* New tree format based on weave files, called version 5.
 
12420
  Existing branches can be upgraded to this format using
 
12421
  'bzr upgrade'.
 
12422
 
 
12423
* Symlinks are now versionable. Initial patch by
 
12424
  Erik Toubro Nielsen, updated to head by Robert Collins.
 
12425
 
 
12426
* Executable bits are tracked on files. Patch from Gustavo
 
12427
  Niemeyer.
 
12428
 
 
12429
* 'bzr status' now shows unknown files inside a selected directory.
 
12430
  Patch from Heikki Paajanen.
 
12431
 
 
12432
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
 
12433
  and 'resolve' have needed added, which list and remove those
 
12434
  merge conflicts respectively. A conflicted tree cannot be committed
 
12435
  in. Contributed by Aaron Bentley.
 
12436
 
 
12437
* 'rm' is now an alias for 'remove'.
 
12438
 
 
12439
* Stores now split out their content in a single byte prefixed hash,
 
12440
  dropping the density of files per directory by 256. Contributed by
 
12441
  Gustavo Niemeyer.
 
12442
 
 
12443
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
 
12444
  Contributed by Robert Collins.
 
12445
 
 
12446
* 'bzr log' with the default formatter will show merged revisions,
 
12447
  indented to the right. Initial implementation contributed by Gustavo
 
12448
  Niemeyer, made incremental by Robert Collins.
 
12449
 
 
12450
 
 
12451
Internals
 
12452
*********
 
12453
 
 
12454
* Test case failures have the exception printed after the log
 
12455
  for your viewing pleasure.
 
12456
 
 
12457
* InventoryEntry is now an abstract base class, use one of the
 
12458
  concrete InventoryDirectory etc classes instead.
 
12459
 
 
12460
* Branch raises an UnsupportedFormatError when it detects a
 
12461
  bzr branch it cannot understand. This allows for precise
 
12462
  handling of such circumstances.
 
12463
 
 
12464
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
 
12465
  list of their ids and ``parent_sha1s`` is a list of their corresponding
 
12466
  sha1s (for old branches only at the moment.)
 
12467
 
 
12468
* New method-object style interface for Commit() and Fetch().
 
12469
 
 
12470
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
 
12471
  we call them revisions not patches.
 
12472
 
 
12473
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``.  The destination
 
12474
  directory is created if it doesn't exist.
 
12475
 
 
12476
* Inventories now identify the files which were present by
 
12477
  giving the revision *of that file*.
 
12478
 
 
12479
* Inventory and Revision XML contains a version identifier.
 
12480
  This must be consistent with the overall branch version
 
12481
  but allows for more flexibility in future upgrades.
 
12482
 
 
12483
Testing
 
12484
*******
 
12485
 
 
12486
* Removed testsweet module so that tests can be run after
 
12487
  bzr installed by 'bzr selftest'.
 
12488
 
 
12489
* 'bzr selftest' command-line arguments can now be partial ids
 
12490
  of tests to run, e.g. ``bzr selftest test_weave``
 
12491
 
 
12492
 
 
12493
bzr 0.0.9
 
12494
#########
 
12495
 
 
12496
:Released: 2005-09-23
 
12497
 
 
12498
Bug Fixes
 
12499
*********
 
12500
 
 
12501
* Fixed "branch -r" option.
 
12502
 
 
12503
* Fix remote access to branches containing non-compressed history.
 
12504
  (Robert Collins).
 
12505
 
 
12506
* Better reliability of http server tests.  (John Arbash-Meinel)
 
12507
 
 
12508
* Merge graph maximum distance calculation fix.  (Aaron Bentley)
 
12509
 
 
12510
* Various minor bug in windows support have been fixed, largely in the
 
12511
  test suite. Contributed by Alexander Belchenko.
 
12512
 
 
12513
Improvements
 
12514
************
 
12515
 
 
12516
* Status now accepts a -r argument to give status between chosen
 
12517
  revisions. Contributed by Heikki Paajanen.
 
12518
 
 
12519
* Revision arguments no longer use +/-/= to control ranges, instead
 
12520
  there is a 'before' namespace, which limits the successive namespace.
 
12521
  For example '$ bzr log -r date:yesterday..before:date:today' will
 
12522
  select everything from yesterday and before today. Contributed by
 
12523
  Robey Pointer
 
12524
 
 
12525
* There is now a bzr.bat file created by distutils when building on
 
12526
  Windows. Contributed by Alexander Belchenko.
 
12527
 
 
12528
Internals
 
12529
*********
 
12530
 
 
12531
* Removed uuid() as it was unused.
 
12532
 
 
12533
* Improved 'fetch' code for pulling revisions from one branch into
 
12534
  another (used by pull, merged, etc.)
 
12535
 
 
12536
 
 
12537
bzr 0.0.8
 
12538
#########
 
12539
 
 
12540
:Released: 2005-09-20
 
12541
 
 
12542
 
 
12543
Improvements
 
12544
************
 
12545
 
 
12546
* Adding a file whose parent directory is not versioned will
 
12547
  implicitly add the parent, and so on up to the root. This means
 
12548
  you should never need to explictly add a directory, they'll just
 
12549
  get added when you add a file in the directory.  Contributed by
 
12550
  Michael Ellerman.
 
12551
 
 
12552
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
 
12553
  (Nir Soffer)
 
12554
 
 
12555
* If you set ``BZR_EDITOR`` in the environment, it is checked in
 
12556
  preference to EDITOR and the config file for the interactive commit
 
12557
  editing program. Related to this is a bugfix where a missing program
 
12558
  set in EDITOR would cause editing to fail, now the fallback program
 
12559
  for the operating system is still tried.
 
12560
 
 
12561
* Files that are not directories/symlinks/regular files will no longer
 
12562
  cause bzr to fail, it will just ignore them by default. You cannot add
 
12563
  them to the tree though - they are not versionable.
 
12564
 
 
12565
 
 
12566
Internals
 
12567
*********
 
12568
 
 
12569
* Refactor xml packing/unpacking.
 
12570
 
 
12571
Bug Fixes
 
12572
*********
 
12573
 
 
12574
* Fixed 'bzr mv' by Ollie Rutherfurd.
 
12575
 
 
12576
* Fixed strange error when trying to access a nonexistent http
 
12577
  branch.
 
12578
 
 
12579
* Make sure that the hashcache gets written out if it can't be
 
12580
  read.
 
12581
 
 
12582
 
 
12583
Portability
 
12584
***********
 
12585
 
 
12586
* Various Windows fixes from Ollie Rutherfurd.
 
12587
 
 
12588
* Quieten warnings about locking; patch from Matt Lavin.
 
12589
 
 
12590
 
 
12591
bzr-0.0.7
 
12592
#########
 
12593
 
 
12594
:Released: 2005-09-02
 
12595
 
 
12596
New Features
 
12597
************
 
12598
 
 
12599
* ``bzr shell-complete`` command contributed by Clint Adams to
 
12600
  help with intelligent shell completion.
 
12601
 
 
12602
* New expert command ``bzr find-merge-base`` for debugging merges.
 
12603
 
 
12604
 
 
12605
Enhancements
 
12606
************
 
12607
 
 
12608
* Much better merge support.
 
12609
 
 
12610
* merge3 conflicts are now reported with markers like '<<<<<<<'
 
12611
  (seven characters) which is the same as CVS and pleases things
 
12612
  like emacs smerge.
 
12613
 
 
12614
 
 
12615
Bug Fixes
 
12616
*********
 
12617
 
 
12618
* ``bzr upgrade`` no longer fails when trying to fix trees that
 
12619
  mention revisions that are not present.
 
12620
 
 
12621
* Fixed bugs in listing plugins from ``bzr plugins``.
 
12622
 
 
12623
* Fix case of $EDITOR containing options for the editor.
 
12624
 
 
12625
* Fix log -r refusing to show the last revision.
 
12626
  (Patch from Goffredo Baroncelli.)
 
12627
 
 
12628
 
 
12629
Changes
 
12630
*******
 
12631
 
 
12632
* ``bzr log --show-ids`` shows the revision ids of all parents.
 
12633
 
 
12634
* Externally provided commands on your $BZRPATH no longer need
 
12635
  to recognize --bzr-usage to work properly, and can just handle
 
12636
  --help themselves.
 
12637
 
 
12638
 
 
12639
Library
 
12640
*******
 
12641
 
 
12642
* Changed trace messages to go through the standard logging
 
12643
  framework, so that they can more easily be redirected by
 
12644
  libraries.
 
12645
 
 
12646
 
 
12647
 
 
12648
bzr-0.0.6
 
12649
#########
 
12650
 
 
12651
:Released: 2005-08-18
 
12652
 
 
12653
New Features
 
12654
************
 
12655
 
 
12656
* Python plugins, automatically loaded from the directories on
 
12657
  ``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
 
12658
 
 
12659
* New 'bzr mkdir' command.
 
12660
 
 
12661
* Commit mesage is fetched from an editor if not given on the
 
12662
  command line; patch from Torsten Marek.
 
12663
 
 
12664
* ``bzr log -m FOO`` displays commits whose message matches regexp
 
12665
  FOO.
 
12666
 
 
12667
* ``bzr add`` with no arguments adds everything under the current directory.
 
12668
 
 
12669
* ``bzr mv`` does move or rename depending on its arguments, like
 
12670
  the Unix command.
 
12671
 
 
12672
* ``bzr missing`` command shows a summary of the differences
 
12673
  between two trees.  (Merged from John Arbash-Meinel.)
 
12674
 
 
12675
* An email address for commits to a particular tree can be
 
12676
  specified by putting it into .bzr/email within a branch.  (Based
 
12677
  on a patch from Heikki Paajanen.)
 
12678
 
 
12679
 
 
12680
Enhancements
 
12681
************
 
12682
 
 
12683
* Faster working tree operations.
 
12684
 
 
12685
 
 
12686
Changes
 
12687
*******
 
12688
 
 
12689
* 3rd-party modules shipped with bzr are copied within the bzrlib
 
12690
  python package, so that they can be installed by the setup
 
12691
  script without clashing with anything already existing on the
 
12692
  system.  (Contributed by Gustavo Niemeyer.)
 
12693
 
 
12694
* Moved plugins directory to bzrlib/, so that there's a standard
 
12695
  plugin directory which is not only installed with bzr itself but
 
12696
  is also available when using bzr from the development tree.
 
12697
  ``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
 
12698
  standard plugins directory.
 
12699
 
 
12700
* When exporting to a tarball with ``bzr export --format tgz``, put
 
12701
  everything under a top directory rather than dumping it into the
 
12702
  current directory.   This can be overridden with the ``--root``
 
12703
  option.  Patch from William Dodé and John Meinel.
 
12704
 
 
12705
* New ``bzr upgrade`` command to upgrade the format of a branch,
 
12706
  replacing ``bzr check --update``.
 
12707
 
 
12708
* Files within store directories are no longer marked readonly on
 
12709
  disk.
 
12710
 
 
12711
* Changed ``bzr log`` output to a more compact form suggested by
 
12712
  John A Meinel.  Old format is available with the ``--long`` or
 
12713
  ``-l`` option, patched by William Dodé.
 
12714
 
 
12715
* By default the commit command refuses to record a revision with
 
12716
  no changes unless the ``--unchanged`` option is given.
 
12717
 
 
12718
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
 
12719
  line options must come before the command name because they
 
12720
  affect what commands are available; all other options must come
 
12721
  after the command name because their interpretation depends on
 
12722
  it.
 
12723
 
 
12724
* ``branch`` and ``clone`` added as aliases for ``branch``.
 
12725
 
 
12726
* Default log format is back to the long format; the compact one
 
12727
  is available with ``--short``.
 
12728
 
 
12729
 
 
12730
Bug Fixes
 
12731
*********
 
12732
 
 
12733
* Fix bugs in committing only selected files or within a subdirectory.
 
12734
 
 
12735
 
 
12736
bzr-0.0.5
 
12737
#########
 
12738
 
 
12739
:Released:  2005-06-15
 
12740
 
 
12741
Changes
 
12742
*******
 
12743
 
 
12744
* ``bzr`` with no command now shows help rather than giving an
 
12745
  error.  Suggested by Michael Ellerman.
 
12746
 
 
12747
* ``bzr status`` output format changed, because svn-style output
 
12748
  doesn't really match the model of bzr.  Now files are grouped by
 
12749
  status and can be shown with their IDs.  ``bzr status --all``
 
12750
  shows all versioned files and unknown files but not ignored files.
 
12751
 
 
12752
* ``bzr log`` runs from most-recent to least-recent, the reverse
 
12753
  of the previous order.  The previous behaviour can be obtained
 
12754
  with the ``--forward`` option.
 
12755
 
 
12756
* ``bzr inventory`` by default shows only filenames, and also ids
 
12757
  if ``--show-ids`` is given, in which case the id is the second
 
12758
  field.
 
12759
 
 
12760
 
 
12761
Enhancements
 
12762
************
 
12763
 
 
12764
* New 'bzr whoami --email' option shows only the email component
 
12765
  of the user identification, from Jo Vermeulen.
 
12766
 
 
12767
* New ``bzr ignore PATTERN`` command.
 
12768
 
 
12769
* Nicer error message for broken pipe, interrupt and similar
 
12770
  conditions that don't indicate an internal error.
 
12771
 
 
12772
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
 
12773
 
 
12774
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
 
12775
  either read or write mode.
 
12776
 
 
12777
* New option ``bzr log --show-ids`` shows revision and file ids.
 
12778
 
 
12779
* New usage ``bzr log FILENAME`` shows only revisions that
 
12780
  affected that file.
 
12781
 
 
12782
* Changed format for describing changes in ``bzr log -v``.
 
12783
 
 
12784
* New option ``bzr commit --file`` to take a message from a file,
 
12785
  suggested by LarstiQ.
 
12786
 
 
12787
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
 
12788
  Oler.  File may be in a branch other than the working directory.
 
12789
 
 
12790
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
 
12791
  a filename.
 
12792
 
 
12793
* Commands can now be defined by external programs or scripts
 
12794
  in a directory on $BZRPATH.
 
12795
 
 
12796
* New "stat cache" avoids reading the contents of files if they
 
12797
  haven't changed since the previous time.
 
12798
 
 
12799
* If the Python interpreter is too old, try to find a better one
 
12800
  or give an error.  Based on a patch from Fredrik Lundh.
 
12801
 
 
12802
* New optional parameter ``bzr info [BRANCH]``.
 
12803
 
 
12804
* New form ``bzr commit SELECTED`` to commit only selected files.
 
12805
 
 
12806
* New form ``bzr log -r FROM:TO`` shows changes in selected
 
12807
  range; contributed by John A Meinel.
 
12808
 
 
12809
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
 
12810
  options through to an external GNU diff.
 
12811
 
 
12812
* New option ``bzr add --no-recurse`` to add a directory but not
 
12813
  their contents.
 
12814
 
 
12815
* ``bzr --version`` now shows more information if bzr is being run
 
12816
  from a branch.
 
12817
 
 
12818
 
 
12819
Bug Fixes
 
12820
*********
 
12821
 
 
12822
* Fixed diff format so that added and removed files will be
 
12823
  handled properly by patch.  Fix from Lalo Martins.
 
12824
 
 
12825
* Various fixes for files whose names contain spaces or other
 
12826
  metacharacters.
 
12827
 
 
12828
 
 
12829
Testing
 
12830
*******
 
12831
 
 
12832
* Converted black-box test suites from Bourne shell into Python;
 
12833
  now run using ``./testbzr``.  Various structural improvements to
 
12834
  the tests.
 
12835
 
 
12836
* testbzr by default runs the version of bzr found in the same
 
12837
  directory as the tests, or the one given as the first parameter.
 
12838
 
 
12839
* testbzr also runs the internal tests, so the only command
 
12840
  required to check is just ``./testbzr``.
 
12841
 
 
12842
* testbzr requires python2.4, but can be used to test bzr running
 
12843
  under a different version.
 
12844
 
 
12845
* Tests added for many other changes in this release.
 
12846
 
 
12847
 
 
12848
Internal
 
12849
********
 
12850
 
 
12851
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
 
12852
 
 
12853
* Refactor command functions into Command objects based on HCT by
 
12854
  Scott James Remnant.
 
12855
 
 
12856
* Better help messages for many commands.
 
12857
 
 
12858
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
 
12859
  this is called trace messages are just discarded.
 
12860
 
 
12861
* New internal function ``find_touching_revisions()`` and hidden
 
12862
  command touching-revisions trace the changes to a given file.
 
12863
 
 
12864
* Simpler and faster ``compare_inventories()`` function.
 
12865
 
 
12866
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
 
12867
 
 
12868
* New AtomicFile class.
 
12869
 
 
12870
* New developer commands ``added``, ``modified``.
 
12871
 
 
12872
 
 
12873
Portability
 
12874
***********
 
12875
 
 
12876
* Cope on Windows on python2.3 by using the weaker random seed.
 
12877
  2.4 is now only recommended.
 
12878
 
 
12879
 
 
12880
bzr-0.0.4
 
12881
#########
 
12882
 
 
12883
:Released:  2005-04-22
 
12884
 
 
12885
Enhancements
 
12886
************
 
12887
 
 
12888
* 'bzr diff' optionally takes a list of files to diff.  Still a bit
 
12889
  basic.  Patch from QuantumG.
 
12890
 
 
12891
* More default ignore patterns.
 
12892
 
 
12893
* New 'bzr log --verbose' shows a list of files changed in the
 
12894
  changeset.  Patch from Sebastian Cote.
 
12895
 
 
12896
* Roll over ~/.bzr.log if it gets too large.
 
12897
 
 
12898
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
 
12899
  by Jason Diamon.
 
12900
 
 
12901
* New 'bzr help commands' based on a patch from Denys Duchier.
 
12902
 
 
12903
 
 
12904
Changes
 
12905
*******
 
12906
 
 
12907
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
 
12908
  or $EMAIL.  All are decoded by the locale preferred encoding.
 
12909
  If none of these are present user@hostname is used.  The host's
 
12910
  fully-qualified name is not used because that tends to fail when
 
12911
  there are DNS problems.
 
12912
 
 
12913
* New 'bzr whoami' command instead of username user-email.
 
12914
 
 
12915
 
 
12916
Bug Fixes
 
12917
*********
 
12918
 
 
12919
* Make commit safe for hardlinked bzr trees.
 
12920
 
 
12921
* Some Unicode/locale fixes.
 
12922
 
 
12923
* Partial workaround for ``difflib.unified_diff`` not handling
 
12924
  trailing newlines properly.
 
12925
 
 
12926
 
 
12927
Internal
 
12928
********
 
12929
 
 
12930
* Allow docstrings for help to be in PEP0257 format.  Patch from
 
12931
  Matt Brubeck.
 
12932
 
 
12933
* More tests in test.sh.
 
12934
 
 
12935
* Write profile data to a temporary file not into working
 
12936
  directory and delete it when done.
 
12937
 
 
12938
* Smaller .bzr.log with process ids.
 
12939
 
 
12940
 
 
12941
Portability
 
12942
***********
 
12943
 
 
12944
* Fix opening of ~/.bzr.log on Windows.  Patch from Andrew
 
12945
  Bennetts.
 
12946
 
 
12947
* Some improvements in handling paths on Windows, based on a patch
 
12948
  from QuantumG.
 
12949
 
 
12950
 
 
12951
bzr-0.0.3
 
12952
#########
 
12953
 
 
12954
:Released:  2005-04-06
 
12955
 
 
12956
Enhancements
 
12957
************
 
12958
 
 
12959
* New "directories" internal command lists versioned directories
 
12960
  in the tree.
 
12961
 
 
12962
* Can now say "bzr commit --help".
 
12963
 
 
12964
* New "rename" command to rename one file to a different name
 
12965
  and/or directory.
 
12966
 
 
12967
* New "move" command to move one or more files into a different
 
12968
  directory.
 
12969
 
 
12970
* New "renames" command lists files renamed since base revision.
 
12971
 
 
12972
* New cat command contributed by janmar.
 
12973
 
 
12974
Changes
 
12975
*******
 
12976
 
 
12977
* .bzr.log is placed in $HOME (not pwd) and is always written in
 
12978
  UTF-8.  (Probably not a completely good long-term solution, but
 
12979
  will do for now.)
 
12980
 
 
12981
Portability
 
12982
***********
 
12983
 
 
12984
* Workaround for difflib bug in Python 2.3 that causes an
 
12985
  exception when comparing empty files.  Reported by Erik Toubro
 
12986
  Nielsen.
 
12987
 
 
12988
Internal
 
12989
********
 
12990
 
 
12991
* Refactored inventory storage to insert a root entry at the top.
 
12992
 
 
12993
Testing
 
12994
*******
 
12995
 
 
12996
* Start of shell-based black-box testing in test.sh.
 
12997
 
 
12998
 
 
12999
bzr-0.0.2.1
 
13000
###########
 
13001
 
 
13002
Portability
 
13003
***********
 
13004
 
 
13005
* Win32 fixes from Steve Brown.
 
13006
 
 
13007
 
 
13008
bzr-0.0.2
 
13009
#########
 
13010
 
 
13011
:Codename: "black cube"
 
13012
:Released: 2005-03-31
 
13013
 
 
13014
Enhancements
 
13015
************
 
13016
 
 
13017
* Default ignore list extended (see bzrlib/__init__.py).
 
13018
 
 
13019
* Patterns in .bzrignore are now added to the default ignore list,
 
13020
  rather than replacing it.
 
13021
 
 
13022
* Ignore list isn't reread for every file.
 
13023
 
 
13024
* More help topics.
 
13025
 
 
13026
* Reinstate the 'bzr check' command to check invariants of the
 
13027
  branch.
 
13028
 
 
13029
* New 'ignored' command lists which files are ignored and why;
 
13030
  'deleted' lists files deleted in the current working tree.
 
13031
 
 
13032
* Performance improvements.
 
13033
 
 
13034
* New global --profile option.
 
13035
 
 
13036
* Ignore patterns like './config.h' now correctly match files in
 
13037
  the root directory only.
 
13038
 
 
13039
 
 
13040
bzr-0.0.1
 
13041
#########
 
13042
 
 
13043
:Released:  2005-03-26
 
13044
 
 
13045
Enhancements
 
13046
************
 
13047
 
 
13048
* More information from info command.
 
13049
 
 
13050
* Can now say "bzr help COMMAND" for more detailed help.
 
13051
 
 
13052
* Less file flushing and faster performance when writing logs and
 
13053
  committing to stores.
 
13054
 
 
13055
* More useful verbose output from some commands.
 
13056
 
 
13057
Bug Fixes
 
13058
*********
 
13059
 
 
13060
* Fix inverted display of 'R' and 'M' during 'commit -v'.
 
13061
 
 
13062
Portability
 
13063
***********
 
13064
 
 
13065
* Include a subset of ElementTree-1.2.20040618 to make
 
13066
  installation easier.
 
13067
 
 
13068
* Fix time.localtime call to work with Python 2.3 (the minimum
 
13069
  supported).
 
13070
 
 
13071
 
 
13072
bzr-0.0.0.69
 
13073
############
 
13074
 
 
13075
:Released:  2005-03-22
 
13076
 
 
13077
Enhancements
 
13078
************
 
13079
 
 
13080
* First public release.
 
13081
 
 
13082
* Storage of local versions: init, add, remove, rm, info, log,
 
13083
  diff, status, etc.
 
13084
 
 
13085
 
 
13086
..
 
13087
   vim: tw=74 ft=rst ff=unix encoding=utf-8