/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: Robert Collins
  • Date: 2010-07-04 06:22:11 UTC
  • mto: This revision was merged to the branch mainline in revision 5332.
  • Revision ID: robertc@robertcollins.net-20100704062211-tk9hw6bnsn5x47fm
``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
profiles when concurrent profile requests are made. Instead the profile
requests will be serialised. Reentrant requests will now deadlock.
(Robert Collins)

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.2b4
 
9
#########
 
10
 
 
11
:Codename: Monkey Magic
 
12
:2.2b4: NOT RELEASED YET
 
13
 
 
14
Compatibility Breaks
 
15
********************
 
16
 
 
17
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
 
18
  the result of ``bzrlib.initialize``. This change was made when fixing
 
19
  the bad habit recent bzr versions have had of leaving progress bars 
 
20
  behind on the screen. That required calling another function before
 
21
  exiting the program, and it made sense to provide a full context
 
22
  manager at the same time. (Robert Collins)
 
23
 
 
24
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
 
25
  context manager in the Python 2.5 and above sense. The bzrlib base class
 
26
  is such a manager, but third party UI factories which do not derive from
 
27
  ``bzrlib.ui.UIFactory`` will be incompatible with the command line front
 
28
  end.
 
29
  
 
30
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
 
31
  and path "bar/baz", even if bzr does not recognize "foo" as a known URL
 
32
  scheme.  Previously these URLs would be treated as local paths.
 
33
  (Gordon Tyler)
 
34
 
 
35
 
 
36
New Features
 
37
************
 
38
 
 
39
* Support ``--directory`` option for a number of additional commands:
 
40
  conflicts, merge-directive, missing, resolve, shelve, switch,
 
41
  unshelve, whoami. (Martin von Gagern, #527878)
 
42
 
 
43
Bug Fixes
 
44
*********
 
45
 
 
46
* ``bzr branch`` to a new repository with a default stacking policy no
 
47
  longer transfers the full history unnecessarily.
 
48
  (Andrew Bennetts, #597942)
 
49
 
 
50
* ``bzr init`` does not recursively scan directory contents anymore
 
51
  leading to faster init for directories with existing content.
 
52
  (Martin [gz], Parth Malwankar, #501307)
 
53
 
 
54
* ``bzr log --exclude-common-ancestry`` is now taken into account for
 
55
  linear ancetries. (Vincent Ladeuil, #575631)
 
56
 
 
57
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
 
58
  rather than trying to fetch the data locally and failing because of a
 
59
  readonly error. (Martin von Gagern, #149270)
 
60
 
 
61
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
 
62
  or pull location in locations.conf or branch.conf.
 
63
  (Gordon Tyler, #534787)
 
64
 
 
65
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
 
66
  smart server. (Andrew Bennetts, #551525)
 
67
 
 
68
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
 
69
  (Marius Kruger, Robert Collins)
 
70
 
 
71
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
 
72
  (Marius Kruger, Robert Collins)
 
73
 
 
74
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
 
75
  proper error messages. (Vincent Ladeuil, #591215)
 
76
 
 
77
* Explicitly removing ``--profile-imports`` option from parsed command-line
 
78
  arguments on Windows, because bzr script does the same.
 
79
  (Alexander Belchenko, #588277)
 
80
 
 
81
* Fetching was slightly confused about the best code to use and was
 
82
  using a new code path for all branches, resulting in more lookups than
 
83
  necessary on old branches. (Robert Collins, #593515)
 
84
 
 
85
* Final fix for 'no help for command' issue. We now show a clean message
 
86
  when a command has no help, document how to set help more clearly, and
 
87
  test that all commands available to the test suite have help.
 
88
  (Robert Collins, #177500)
 
89
 
 
90
* Progress output is cleaned up when exiting.  (Aaron Bentley)
 
91
 
 
92
* Raise ValueError instead of a string exception.
 
93
  (John Arbash Meinel, #586926)
 
94
 
 
95
* Relative imports in plugins are now handled correctly when using
 
96
  BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
 
97
 
 
98
* ``ScriptRunner`` now strips off leading indentation from test scripts,
 
99
  which previously caused "SyntaxError: No command for line".
 
100
  (Martin Pool)
 
101
 
 
102
* Show unicode filenames in diff headers using terminal encoding. 
 
103
  (Alexander Belchenko, Bug #382699)
 
104
  NOTE for Windows users: If user need to save diff to file then user need to
 
105
  change encoding of the terminal to ANSI encoding with command ``chcp XXX``
 
106
  (e.g. ``chcp 1251`` for Russian Windows).
 
107
 
 
108
* URL displayed for use with ``break-lock`` when smart server sees lock
 
109
  contention are now valid. Default timeout for lock contention retry is
 
110
  now 30 seconds instead of 300 seconds.
 
111
  (Parth Malwankar, #250451)
 
112
 
 
113
* ``walkdirs`` now raises a useful message when the filenames are not using
 
114
  the filesystem encoding. (Eric Moritz, #488519)
 
115
 
 
116
* Enable debugging of bzr on windows with pdb and other tools. This was 
 
117
  broken because we call GetCommandLineW on windows. The fix adjusts the 
 
118
  command line we get to be the same length as sys.argv.
 
119
  (Jason Spashett, Alexander Belchenko, #587868)
 
120
 
 
121
Improvements
 
122
************
 
123
 
 
124
* Bazaar now reads data from SSH connections more efficiently on platforms
 
125
  that provide the ``socketpair`` function, and when using paramiko.
 
126
  (Andrew Bennetts, #590637)
 
127
 
 
128
* ``Branch.copy_content_into`` is now a convenience method dispatching to
 
129
  a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
 
130
  plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
 
131
  (Robert Collins, #201613)
 
132
 
 
133
* ``Branch`` formats can now be loaded lazily by registering a
 
134
  ``MetaDirBranchFormatFactory`` rather than an actual format. This will
 
135
  cause the named format class to be loaded only when an enumeration of
 
136
  formats is needed or when the format string for the object is
 
137
  encountered. (Robert Collins, Jelmer Vernooij)
 
138
 
 
139
* The encoding that bzr uses to output things other than file content can
 
140
  now be overridden via the output_encoding configuration option.
 
141
  (Martin Pool, #340394)
 
142
 
 
143
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
 
144
  do not cause modules to be loaded unnecessarily just because the plugin
 
145
  registers a merge hook.  This improves ``bzr rocks`` time by about 25%
 
146
  in a default installation (with just the core plugins).
 
147
  (Andrew Bennetts)
 
148
 
 
149
Documentation
 
150
*************
 
151
 
 
152
* Added ``regression`` tag to our tags list. (Robert Collins)
 
153
 
 
154
* Improved our release checklist to have a bit less churn and leave things
 
155
  ready-to-go for the next action (including other people doing
 
156
  development). (Robert Collins)
 
157
 
 
158
* Remove obsolete discussion of PQM in documentation about how to
 
159
  contribute to Bazaar.  (Martin Pool, #588444)
 
160
 
 
161
API Changes
 
162
***********
 
163
 
 
164
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
 
165
  an iterable of format pairs, rather than just a single pair, permitting
 
166
  InterBranch objects that work with multiple permutations to be
 
167
  comprehensively tested. (Robert Collins)
 
168
 
 
169
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
 
170
  profiles when concurrent profile requests are made. Instead the profile
 
171
  requests will be serialised. Reentrant requests will now deadlock.
 
172
  (Robert Collins)
 
173
 
 
174
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
 
175
  2007, has been deleted.  Use ``PatienceSequenceMatcher`` from
 
176
  ``bzrlib.patiencediff`` instead. (Andrew Bennetts)
 
177
 
 
178
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated.  It provided only
 
179
  one method ``check_output``, and we now recommend checking command
 
180
  output using ``run_script``. (Martin Pool)
 
181
 
 
182
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
 
183
  that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
 
184
  Third-party implementations of ``SSHVendor`` may need to be updated
 
185
  accordingly.  Similarly, any code using ``SSHConnection`` directly will
 
186
  need to be updated.  (Andrew Bennetts)
 
187
 
 
188
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
 
189
  changed to take an ``SSHParams`` instance (replacing many individual
 
190
  values).  (Andrew Bennetts)
 
191
 
 
192
Internals
 
193
*********
 
194
 
 
195
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
 
196
  selection when explicitly requested; this avoids many duplicate calls
 
197
  being logged when helpers, wrappers and older code that manually calls
 
198
  it are executed it is now logged deliberately by the ui setup code.
 
199
  (Robert Collins)
 
200
 
 
201
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
 
202
 
 
203
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
 
204
  that ``sys.getsizeof`` and other memory analysis tools will report more
 
205
  accurate results. (Andrew Bennetts)
 
206
 
 
207
* The symbol_versioning module can now cleanup after itself -
 
208
  ``suppress_deprecation_warnings`` now returns a cleanup function.
 
209
  (Robert Collins)
 
210
 
 
211
Testing
 
212
*******
 
213
 
 
214
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
 
215
  to test.  (Martin Pool)
 
216
 
 
217
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
 
218
  (Vincent Ladeuil, #595587)
 
219
 
 
220
bzr 2.2b3
 
221
#########
 
222
 
 
223
:2.2b3: 2010-05-28
 
224
 
 
225
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
226
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
227
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
228
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
229
bash completion script and bzr will no longer guess at identity details -
 
230
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
231
For developers we have some API changes which may impact plugins as well
 
232
as a bunch of our regular improvements to internal clarity and test
 
233
support.
 
234
 
 
235
Compatibility Breaks
 
236
********************
 
237
 
 
238
* An API break has been made to the lock_write method of ``Branch`` and
 
239
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
240
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
241
  changing the API in future easier and permits some cleaner calling code.
 
242
  The lock_read method has also changed from having no defined return
 
243
  value to returning ``LogicalLockResult`` objects.
 
244
  (Robert Collins)
 
245
 
 
246
* ``bzr`` does not try to guess the username as ``username@hostname``
 
247
  and requires it to be explictly set. This can be set using ``bzr
 
248
  whoami``. (Parth Malwankar, #549310)
 
249
 
 
250
* ``bzrlib.commands.Command`` will now raise ValueError during
 
251
  construction if there is no __doc__ set. (Note, this will be reverted in
 
252
  2.2b4) (Robert Collins)
 
253
 
 
254
* The source tree no longer contains a contrib/zsh/_bzr completion
 
255
  script. The new file contrib/zsh/README suggests alternatives.
 
256
  (Martin von Gagern, #560030)
 
257
 
 
258
New Features
 
259
************
 
260
 
 
261
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
 
262
  ``--show-diff``.
 
263
  (Parth Malwankar, #571467)
 
264
  
 
265
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
 
266
  the default ignore rules used by bzr. The flag ``--old-default-rules``
 
267
  is no longer supported by ``ignore``.
 
268
  (Parth Malwankar, #538703)
 
269
 
 
270
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
 
271
  can save disk space by deleting obsolete pack files created during the
 
272
  pack operation.
 
273
  (Parth Malwankar, #304320)
 
274
 
 
275
* New command line option ``--authors`` to ``bzr log`` allows users to
 
276
  select which of the apparent authors and committer should be
 
277
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
278
 
 
279
* Support ``--directory`` option for a number of additional commands:
 
280
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
281
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
282
  re-sign, unbind, unknowns.
 
283
  (Martin von Gagern, #527878)
 
284
 
 
285
* The bash_completion plugin from the bzr-bash-completion project has
 
286
  been merged into the tree. It provides a bash-completion command and
 
287
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
288
  using the plugin. (Martin von Gagern, #560030)
 
289
 
 
290
* A new transport based on GIO (the gnome i/o library) provides access to
 
291
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
292
  use gio for some already existing transport methods as gio+file,
 
293
  gio+sftp, gio+ftp. 
 
294
  (Mattias Eriksson)
 
295
 
 
296
Bug Fixes
 
297
*********
 
298
 
 
299
* Alias information shown by ``bzr help`` is now accurate. This
 
300
  was showing an internal object name for some plugin aliases.
 
301
  (Parth Malwankar, #584650)
 
302
 
 
303
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
 
304
  group ownership from the containing directory. This allow bzr to work
 
305
  better with sudo.
 
306
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
 
307
 
 
308
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
309
  support of bzr-externals and scmproj plugins.
 
310
  (Alexander Belchenko, bug #572098)
 
311
 
 
312
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
313
  (Gordon Tyler, #572092)
 
314
 
 
315
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
 
316
  are part of Y ancestry but not part of X ancestry (aka the graph
 
317
  difference).
 
318
  (Vincent Ladeuil, #320119)
 
319
 
 
320
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
321
  servers a few commits ago has been reverted to use edge: there is a
 
322
  problem with using production which isn't trivially obvious, so we've
 
323
  filed a bug to track it, and until thats fixed will be using edge.
 
324
  (Robert Collins, #583667)
 
325
 
 
326
* ``bzr rm`` should not refuse to delete directories which contained a file
 
327
  which has been moved elsewhere in the tree after the previous commit.
 
328
  (Marius Kruger, Daniel Watkins, #129880)
 
329
 
 
330
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
 
331
  (Vincent Ladeuil, #566670)
 
332
 
 
333
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
 
334
  (Vincent Ladeuil, #563997)
 
335
 
 
336
* CommitBuilder refuses to create revisions whose trees have no root.
 
337
  (Aaron Bentley)
 
338
 
 
339
* Do not register a SIGWINCH signal handler, instead just poll for the
 
340
  terminal width as needed.  This avoids the "Interrupted System Call"
 
341
  problems that occur on POSIX with all currently released versions of
 
342
  Python.
 
343
  (Andrew Bennetts, #583941)
 
344
 
 
345
* Don't mention --no-strict when we just issue the warning about unclean trees.
 
346
  (Vincent Ladeuil, #401599)
 
347
 
 
348
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
 
349
  versions before 1.6.
 
350
  (Andrew Bennetts, #528041)
 
351
 
 
352
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
353
  estimate of the number of records to be fetched vs actually fetched.
 
354
  (Parth Malwankar, #374740, #538868)
 
355
 
 
356
* Reduce peak memory by one copy of compressed text.
 
357
  (John Arbash Meinel, #566940)
 
358
 
 
359
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
360
  read lock, rather than causing an ``AttributeError``.
 
361
  (Andrew Bennetts, Данило Шеган, #582781)
 
362
 
 
363
* Selftest was failing with testtools 0.9.3, which caused an
 
364
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
365
  Error, breaking on of our test hygiene tests.
 
366
  (Robert Collins, Vincent Ladeuil).
 
367
 
 
368
* ``set_user_option`` with a dict on remote branches no longer fails with
 
369
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
370
  to support this efficiently.
 
371
  (Andrew Bennetts, #430382)
 
372
  
 
373
* Show the filenames when a file rename fails so that the error will be
 
374
  more comprehensible.
 
375
  (Martin Pool, #491763)
 
376
 
 
377
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
378
  (John Arbash Meinel, #582656)
 
379
 
 
380
* Unicode characters in aliases are now handled correctly and do not cause
 
381
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
382
 
 
383
* Unicode commit messages that are the same as a file name no longer cause
 
384
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
385
  messages.
 
386
  (Parth Malwankar, #563646)
 
387
 
 
388
* Using bzr with `lp:` urls behind an http proxy should work.
 
389
  (Robert Collins, #558343)
 
390
 
 
391
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
392
  directory file handle after the chdir fails. Otherwise when passing many
 
393
  filenames into a command line ``bzr status`` we would leak descriptors.
 
394
  (John Arbash Meinel, #583486)
 
395
 
 
396
Improvements
 
397
************
 
398
 
 
399
* ``append_revisions_only`` will now be interpreted as a boolean and a
 
400
  warning emitted if illegal values are used. Note that for projects
 
401
  that needs to maintain compatibility with previsous bzr versions,
 
402
  only 'True' and 'False' strings must be used (previous versions of
 
403
  bzr will interpret all strings differing from 'True'
 
404
  (case-sensitive) as false.
 
405
  (Brian de Alwis, Vincent Ladeuil)
 
406
 
 
407
* ``bzr ls`` now supports short options for existing long options.
 
408
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
409
  (Parth Malwankar, #181124)
 
410
 
 
411
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
 
412
  be interpreted as a boolean.
 
413
  (Vincent Ladeuil)
 
414
 
 
415
* The all-in-one Windows installer will now be built with docstrings stripped
 
416
  from the library zip, reducing the size and slightly improving cold startup
 
417
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
418
  plugins to an all-in-one installation, ensure they are compiled and
 
419
  installed with -O1 or help may not work. (Martin [gz])
 
420
 
 
421
Documentation
 
422
*************
 
423
 
 
424
API Changes
 
425
***********
 
426
 
 
427
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
 
428
  some kinds of ``merge_file_content`` hook functions.
 
429
  (Andrew Bennetts)
 
430
  
 
431
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
 
432
  `user_transport`, `control_url` and `control_transport` members pointing
 
433
  respectively to the directory containing the ``.bzr`` control directory, 
 
434
  and to the directory within ``.bzr`` used for the particular component.
 
435
  All of them inherit from `ControlComponent` which provides default
 
436
  implementations.
 
437
  (Martin Pool)
 
438
 
 
439
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
440
  expected to return an object which can be used to unlock them. This reduces
 
441
  duplicate code when using cleanups. The previous 'tokens's returned by
 
442
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
443
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
444
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
445
 
 
446
* ``Repository.refresh_data`` may now be called in a write group on
 
447
  pack-based repositories.  Older repositories will still raise an error
 
448
  in this case.  Subclasses of ``Repository`` can still override
 
449
  ``Repository._refresh_data``, but are now responsible for raising
 
450
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
451
  ``refresh_data`` during a write group.
 
452
  (Andrew Bennetts, #574236)
 
453
 
 
454
Internals
 
455
*********
 
456
 
 
457
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
458
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
459
  potentially shave 5-10% time off during a large fetch. Related to bug
 
460
  #562666. (John Arbash Meinel)
 
461
 
 
462
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
463
  (Robert Collins)
 
464
 
 
465
* ``_remember_remote_is_before`` no longer raises AssertionError when
 
466
  suboptimal network behaviour is noticed; instead it just mutters to the
 
467
  log file (and warns the user if they have set the ``hpss`` debug flag).
 
468
  This was causing unnecessary aborts for performance bugs that are minor
 
469
  at worst.
 
470
  (Andrew Bennetts, #528041)
 
471
 
 
472
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
 
473
  files loaded from disk. To ensure docstrings needed for help are never
 
474
  stripped, the prefix ``__doc__ =`` should now be used.
 
475
  (Martin <gzlist@googlemail.com>)
 
476
 
 
477
* No longer require zlib headers to build extensions, and remove the need
 
478
  for seperate copy of zlib library on windows.
 
479
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #66923)
 
480
 
 
481
Testing
 
482
*******
 
483
 
 
484
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
 
485
  our first in-tree matcher. See the module docstring for details.
 
486
  (Robert Collins)
 
487
 
 
488
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
 
489
   (Gordon Tyler, #551332)
 
490
 
 
491
* Workaround ``Crypto.Random`` check leading to spurious test
 
492
  failures on Lucid, FreeBSD and gentoo.  
 
493
  (Vincent Ladeuil, #528436)
 
494
 
 
495
* New class ``ExecutableFeature`` for checking the availability of
 
496
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
497
  (Martin von Gagern)
 
498
 
 
499
bzr 2.2b2
 
500
#########
 
501
 
 
502
:2.2b2: 2010-04-16
 
503
 
 
504
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
 
505
incompatibility in the 2.2b1 release.  It also includes a swag of
 
506
performance, usability and correctness improvements: test feedback on all
 
507
of these would be welcome.
 
508
 
 
509
 
 
510
New Features
 
511
************
 
512
 
 
513
* ``bzr diff`` now supports a --format option, which can be used to 
 
514
  select alternative diff formats. (Jelmer Vernooij, #555994)
 
515
 
 
516
Bug Fixes
 
517
*********
 
518
 
 
519
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
 
520
  instead of failing when dirty trees are involved. The corresponding
 
521
  ``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
 
522
  True explicitly to get the previous behaviour.  
 
523
  (Vincent Ladeuil, #519319)
 
524
 
 
525
* ``bzr export`` to tar file does not fail if any parent directory
 
526
  contains unicode characters. This works around upstream Python bug
 
527
  http://bugs.python.org/issue8396 .
 
528
  (Parth Malwankar, #413406)
 
529
 
 
530
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
 
531
  (Aaron Bentley, #559436)
 
532
 
 
533
* ``bzr update`` when a pending merge in the working tree has been merged
 
534
  into the master branch will no longer claim that old commits have become
 
535
  pending merges. (Robert Collins, #562079)
 
536
 
 
537
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
 
538
  config as in previous versions of bzrlib. (Robert Collins)
 
539
 
 
540
* Fix glitch in the warning about unclean trees display.
 
541
  (Vincent Ladeuil, #562665)
 
542
 
 
543
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
 
544
  (Martin Pool)
 
545
 
 
546
* Help messages generated by ``RegistryOption.from_kwargs`` list the
 
547
  switches in alphabetical order, rather than in an undefined order.
 
548
  (Martin von Gagern, #559409)
 
549
 
 
550
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
 
551
  Apport crash reports, to avoid "This problem report applies to a program
 
552
  which is not installed any more" error.
 
553
  (Martin Pool, James Westby, #528114)
 
554
 
 
555
* Reset ``siginterrupt`` flag to False every time we handle a signal
 
556
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
 
557
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
 
558
  errors compared to registering ``signal.signal`` directly.
 
559
  (Andrew Bennetts)
 
560
 
 
561
* When invoked with a range revision, ``bzr log`` doesn't show revisions
 
562
  that are not part of the Y revisions ancestry anymore when invoked with
 
563
  -rX..Y.
 
564
  (Vincent Ladeuil, #474807)
 
565
 
 
566
* Properly handle ``param_name`` attribute for ``ListOption``.
 
567
  (Martin von Gagern, 387117)
 
568
 
 
569
Improvements
 
570
************
 
571
 
 
572
* ``bzr commit`` will prompt before using a commit message that was
 
573
  generated by a template and not edited by the user.
 
574
  (Robert Collins, #530265)
 
575
 
 
576
* ``bzr diff`` read-locks the trees and branches only once, saving about
 
577
  10-20ms on ``bzr diff`` in a bzr.dev tree.
 
578
  (Andrew Bennetts)
 
579
 
 
580
* ``bzr missing`` read-locks the branches only once.
 
581
  (Andrew Bennetts)
 
582
  
 
583
* ``bzr pull`` locks the branches and tree only once.
 
584
  (Andrew Bennetts)
 
585
  
 
586
* Index lookups in pack repositories search recently hit pack files first.  
 
587
  In repositories with many pack files this can greatly reduce the
 
588
  number of files accessed, the number of bytes read, and the number of
 
589
  read calls.  An incremental pull via plain HTTP takes half the time and
 
590
  bytes for a moderately large repository.  (Andrew Bennetts)
 
591
 
 
592
* Index lookups only re-order the indexes when the hit files aren't
 
593
  already first. Reduces the cost of reordering
 
594
  (John Arbash Meinel, #562429)
 
595
 
 
596
* Less code is loaded at startup.  (Cold-cache start time is about 10-20%
 
597
  less.)
 
598
  (Martin Pool, #553017)
 
599
 
 
600
API Changes
 
601
***********
 
602
 
 
603
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
 
604
  ``get_trees_and_branches_to_diff_locked`` instead.
 
605
  (Andrew Bennetts)
 
606
 
 
607
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
608
  auto-determines branch nick if not supplied.  (Aaron Bentley)
 
609
  
 
610
Internals
 
611
*********
 
612
 
 
613
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
 
614
  2.1 method of calling run() to perform testing or direct use via the API
 
615
  is now possible again. As part of this, the _operation attribute on
 
616
  Command is now transient and only exists for the duration of ``run()``.
 
617
  (Robert Collins)
 
618
 
 
619
bzr 2.2b1
 
620
#########
 
621
 
 
622
:2.2b1: 2010-04-01
 
623
 
 
624
This is the first beta of the 2.2 series, leading up to a 2.2.0
 
625
release in July or August.  Beta releases are suitable for everyday use
 
626
but may cause some incompatibilities with plugins.  Some plugins may need
 
627
small updates to work with 2.2b1.
 
628
 
 
629
2.2b1 includes some changes to make merge conflicts easier to understand
 
630
and resolve.  It also removes some old unnecessary code, and loads
 
631
somewhat less code at startup.  It starts adding a common infrastructure
 
632
for dealing with colocated named branches, which can be implemented in
 
633
various ways in either bzr native or foreign formats.   On Ubuntu and
 
634
other platforms with the apport bug-reporting library, there's an easier
 
635
path to report problems with bzr.  We plan to continue with these themes
 
636
through the 2.2 series.
 
637
 
 
638
Over thirty bugs have been fixed, including in the log command, exporting
 
639
to tarballs, restarting interrupted system calls, portability of compiled
 
640
extensions, making backups during upgrade, and locking on ftp.
 
641
 
 
642
Compatibility Breaks
 
643
********************
 
644
 
 
645
* BTreeGraphIndex can now take an offset to indicate that the data starts
 
646
  somewhere other than then beginning of the file. (John Arbash Meinel)
 
647
 
 
648
* Deleted very old hidden commands ``versionedfile-list``,
 
649
  ``weave-plan-merge``, ``weave-merge-text``.
 
650
  (Martin Pool)
 
651
 
 
652
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()`` 
 
653
  have been removed. (Jelmer Vernooij)
 
654
 
 
655
* ``Repository.get_revision_inventory()`` has been removed in favor of
 
656
  ``Repository.get_inventory()``. (Jelmer Vernooij)
 
657
 
 
658
* All test servers have been moved out of the bzrlib.transport hierarchy to
 
659
  bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
 
660
  PathFilteringServer. ``bzrlib`` users may encounter test failures that can
 
661
  be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
 
662
  ``bzrlib.tests.test_server``.
 
663
  (Vincent Ladeuil)
 
664
 
 
665
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
 
666
  as its second parameter, for consistency with the initialize() method of
 
667
  other formats. (Jelmer Vernooij)
 
668
 
 
669
New Features
 
670
************
 
671
 
 
672
* Added ``bzr remove-branch`` command that can remove a local or remote 
 
673
  branch. (Jelmer Vernooij, #276295)
 
674
 
 
675
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
 
676
  to set file mtimes to the last timestamp of the last revision in which
 
677
  they were changed rather than the current time. (Jelmer Vernooij)
 
678
 
 
679
* If the Apport crash-reporting tool is available, bzr crashes are now
 
680
  stored into the ``/var/crash`` apport spool directory, and the user is
 
681
  invited to report them to the developers from there, either
 
682
  automatically or by running ``apport-bug``.  No information is sent
 
683
  without specific permission from the user.  (Martin Pool, #515052)
 
684
 
 
685
* Parsing of command lines, for example in ``diff --using``, no longer
 
686
  treats backslash as an escape character on Windows.   (Gordon Tyler,
 
687
  #392248)
 
688
 
 
689
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
 
690
  a list of plugin names separated by ':' (';' on windows).
 
691
  (Vincent Ladeuil, #411413)
 
692
 
 
693
* Plugins can be loaded from arbitrary locations by defining
 
694
  ``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
 
695
  windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
 
696
  specified plugins. This is targeted at plugin developers for punctual
 
697
  needs and *not* intended to replace ``BZR_PLUGIN_PATH``.  
 
698
  (Vincent Ladeuil, #82693)
 
699
 
 
700
* Tag names can now be determined automatically by ``automatic_tag_name`` 
 
701
  hooks on ``Branch`` if they are not specified on the command line.
 
702
  (Jelmer Vernooij)
 
703
 
 
704
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
 
705
  ``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
 
706
  as resolved is still accessible via the ``--done`` default action.
 
707
  (Vincent Ladeuil)
 
708
 
 
709
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
 
710
  (Aaron Bentley, Jonathan Lange)
 
711
 
 
712
Bug Fixes
 
713
*********
 
714
 
 
715
* Added docstring for ``Tree.iter_changes``
 
716
  (John Arbash Meinel, #304182)
 
717
 
 
718
* Allow additional arguments to
 
719
  ``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
 
720
 
 
721
* Allow exporting a single file using ``bzr export``.
 
722
  (Michal Junák, #511987)
 
723
 
 
724
* Allow syscalls to automatically restart when ``TextUIFactory``'s
 
725
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
 
726
  IO, which are often poorly handled by Python's libraries and parts of
 
727
  bzrlib.  (Andrew Bennetts, #496813)
 
728
 
 
729
* Avoid infinite recursion when probing for apport.
 
730
  (Vincent Ladeuil, #516934)
 
731
 
 
732
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
733
  (Martin Pool, #331095)
 
734
 
 
735
* Avoid truncating svn URLs.
 
736
  (Martin Pool, Martin von Gagern, #545185)
 
737
 
 
738
* ``bzr add`` will not add conflict related files unless explicitly required.
 
739
  (Vincent Ladeuil, #322767, #414589)
 
740
 
 
741
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files.  Those
 
742
  indices do not have reference lists, so ``dump-btree`` will simply show
 
743
  ``None`` instead.  (Andrew Bennetts, #488607)
 
744
 
 
745
* ``bzr help`` will no longer trigger the get_missing_command hook when
 
746
  doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
 
747
  did you mean log?') when getting help. In future we may trigger the hook 
 
748
  deliberately when no help topics match from any help index.
 
749
  (Robert Collins, #396261)
 
750
 
 
751
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
 
752
  revspec as representing the first revision of the branch.
 
753
  (Vincent Ladeuil, #519862)
 
754
 
 
755
* ``bzr remove-tree`` can now remove multiple working trees.
 
756
  (Jared Hance, Andrew Bennetts, #253137)
 
757
 
 
758
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
 
759
  the kept file on content conflicts where one side deleted the file.
 
760
  (Vincent Ladeuil, #529968)
 
761
 
 
762
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
763
  permissions as ``.bzr`` directory on a POSIX OS.
 
764
  (Parth Malwankar, #262450)
 
765
 
 
766
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
 
767
  of ``backup.bzr``. This directory is ignored by bzr commands such as
 
768
  ``add``.
 
769
  (Parth Malwankar, #335033, #300001)
 
770
 
 
771
* Cope with non-utf8 characters inside ``.bzrignore``.
 
772
  (Jason Spashett, #183504)
 
773
 
 
774
* Correctly interpret "451 Rename/move failure: Directory not empty" from
 
775
  ftp servers while trying to take a lock.
 
776
  (Martin Pool, #528722)
 
777
 
 
778
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
 
779
  changes occured between the workingtree and one of its parents.
 
780
  (Vincent Ladeuil, #535547)
 
781
 
 
782
* Fix ``log`` to better check ancestors even if merged revisions are involved.
 
783
  (Vincent Ladeuil, #476293)
 
784
 
 
785
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
 
786
  on os.lisdir() order and is now reliable.
 
787
  (Vincent Ladeuil, #552922).
 
788
 
 
789
* Many IO operations that returned ``EINTR`` were retried even if it
 
790
  wasn't safe to do so via careless use of ``until_no_eintr``.  Bazaar now
 
791
  only retries operations that are safe to retry, and in some cases has
 
792
  switched to operations that can be retried (e.g. ``sock.send`` rather than
 
793
  ``sock.sendall``).
 
794
  (Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
 
795
 
 
796
* Path conflicts now support --take-this and --take-other even when a
 
797
  deletion is involved.
 
798
  (Vincent Ladeuil, #531967)
 
799
 
 
800
* Network transfer amounts and rates are now displayed in SI units according
 
801
  to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
 
802
  (Gordon Tyler, #514399)
 
803
 
 
804
* Support kind markers for socket and fifo filesystem objects. This
 
805
  prevents ``bzr status --short`` from crashing when those files are
 
806
  present.  (John Arbash Meinel, #303275)
 
807
 
 
808
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
 
809
   directory. (Parth Malwankar, #138600)
 
810
 
 
811
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
 
812
  the debugger won't kill the session.
 
813
  (Martin <gzlist@googlemail.com>, #162502)
 
814
 
 
815
* Tolerate patches with leading noise in ``bzr-handle-patch``.
 
816
  (Toshio Kuratomi, Martin Pool, #502076)
 
817
 
 
818
* ``update -r`` now supports updating to revisions that are not on
 
819
  mainline (i.e. it supports dotted revisions).
 
820
  (Parth Malwankar, #517800)
 
821
 
 
822
* Use first apparent author not committer in GNU Changelog format.
 
823
  (Martin von Gagern, #513322)
 
824
 
 
825
API Changes
 
826
***********
 
827
 
 
828
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to 
 
829
  ``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
 
830
  (Jelmer Vernooij)
 
831
 
 
832
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated 
 
833
  branch to create. (Jelmer Vernooij)
 
834
 
 
835
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the 
 
836
  colocated branch to open. (Jelmer Vernooij)
 
837
 
 
838
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
 
839
  can set a signal handler and call ``signal.siginterrupt(signum,
 
840
  False)`` for it, if the platform and Python version supports it.
 
841
  (Andrew Bennetts, #496813)
 
842
 
 
843
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to 
 
844
  run when starting up; it sets up several things that previously needed
 
845
  to be done separately.
 
846
  (Martin Pool, #507710)
 
847
 
 
848
* Exporters now support a ``per_file_timestamps`` argument to write out the 
 
849
  timestamp of the commit in which a file revision was introduced.
 
850
  (Jelmer Vernooij)
 
851
 
 
852
* New method ``BzrDir.list_branches()`` that returns a sequence of branches 
 
853
  present in a control directory. (Jelmer Vernooij)
 
854
 
 
855
* New method ``Repository.get_known_graph_ancestry()``. 
 
856
  (Jelmer Vernooij, #495502)
 
857
 
 
858
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
 
859
  (Neil Santos)
 
860
 
 
861
* Remove unused ``CommandFailed`` exception.
 
862
  (Martin Pool)
 
863
 
 
864
Internals
 
865
*********
 
866
 
 
867
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
 
868
  ``message_callback`` in the same way that commit does. (Robert Collins)
 
869
 
 
870
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
 
871
  rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
 
872
  of date. (Gary van der Merwe)
 
873
 
 
874
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
 
875
  functions to load or disable plugins if they wish to use a different
 
876
  plugin mechanism; the --help, --version and no-command name code paths
 
877
  now use the generic pluggable command lookup infrastructure.
 
878
  (Robert Collins)
 
879
 
 
880
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
 
881
  which can be set to add extra help to the error. (Gary van der Merwe)
 
882
 
 
883
* New method ``Branch.automatic_tag_name`` that can be used to find the
 
884
  tag name for a particular revision automatically. (Jelmer Vernooij)
 
885
 
 
886
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and 
 
887
  ``BzrDir.open_branch()`` now take an optional ``name`` argument. 
 
888
  (Jelmer Vernooij)
 
889
 
 
890
Testing
 
891
*******
 
892
 
 
893
* bzr now has a ``.testr.conf`` file in its source tree configured
 
894
  appropriately for running tests with Testrepository
 
895
  (``https://launchpad.net/testrepository``). (Robert Collins)
 
896
 
 
897
* Documentation about testing with ``subunit`` has been tweaked.
 
898
  (Robert Collins)
 
899
 
 
900
* Known failures has been added for resolve --take-other on ParentLoop
 
901
  conflicts. This reflects bug #537956 without fixing it.
 
902
  (Vincent Ladeuil)
 
903
 
 
904
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
 
905
  Python modules are loaded, to guard against startup time or library
 
906
  dependency regressions.
 
907
  (Martin Pool)
 
908
 
 
909
* PQM will now run with subunit output. To analyze a PQM error use
 
910
  tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
 
911
 
 
912
* Stop sending apport crash files to ``.cache`` in the directory from
 
913
  which ``bzr selftest`` was run.  (Martin Pool, #422350)
 
914
 
 
915
* Tests no longer fail if "close() called during concurrent
 
916
  operation on the same file object" occurs when closing the log file
 
917
  (which can happen if a thread tries to write to the log file at the
 
918
  wrong moment).  An warning will be written to ``stderr`` when this
 
919
  happens, and another warning will be written if the log file could not
 
920
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
 
921
 
 
922
bzr 2.1.3
 
923
#########
 
924
 
 
925
:Codename: Do run run
 
926
:2.1.3: NOT RELEASED YET
 
927
 
 
928
Compatibility Breaks
 
929
********************
 
930
 
 
931
New Features
 
932
************
 
933
 
 
934
Bug Fixes
 
935
*********
 
936
 
 
937
* Raise ValueError instead of a string exception.
 
938
  (John Arbash Meinel, #586926)
 
939
 
 
940
Improvements
 
941
************
 
942
 
 
943
Documentation
 
944
*************
 
945
 
 
946
API Changes
 
947
***********
 
948
 
 
949
Internals
 
950
*********
 
951
 
 
952
Testing
 
953
*******
 
954
 
 
955
bzr 2.1.2
 
956
#########
 
957
 
 
958
:2.1.2: 2010-05-28
 
959
 
 
960
This release fixes two critical networking issues with older servers and
 
961
with interrupted system call errors when pushing or pulling.  We recommend
 
962
upgrading to anyone running a 2.1.x version of bzr.
 
963
 
 
964
Bug Fixes
 
965
*********
 
966
 
 
967
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
968
  support of bzr-externals and scmproj plugins.
 
969
  (Alexander Belchenko, bug #572098)
 
970
 
 
971
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
 
972
  (Aaron Bentley, #559436)
 
973
 
 
974
* Do not register a SIGWINCH signal handler, instead just poll for the
 
975
  terminal width as needed.  This avoids the "Interrupted System Call"
 
976
  problems that occur on POSIX with all currently released versions of
 
977
  Python.
 
978
  (Andrew Bennetts, #583941)
 
979
 
 
980
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
 
981
  versions before 1.6.
 
982
  (Andrew Bennetts, #528041)
 
983
 
 
984
* Reset ``siginterrupt`` flag to False every time we handle a signal
 
985
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
 
986
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
 
987
  errors compared to registering ``signal.signal`` directly.
 
988
  (Andrew Bennetts)
 
989
 
 
990
* Reduce peak memory by one copy of compressed text.
 
991
  (John Arbash Meinel, #566940)
 
992
 
 
993
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
994
  (John Arbash Meinel, #582656)
 
995
 
 
996
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
997
  directory file handle after the chdir fails. Otherwise when passing many
 
998
  filenames into a command line ``bzr status`` we would leak descriptors.
 
999
  (John Arbash Meinel, #583486)
 
1000
 
 
1001
Internals
 
1002
*********
 
1003
 
 
1004
* ``_remember_remote_is_before`` no longer raises AssertionError when
 
1005
  suboptimal network behaviour is noticed; instead it just mutters to the
 
1006
  log file (and warns the user if they have set the ``hpss`` debug flag).
 
1007
  This was causing unnecessary aborts for performance bugs that are minor
 
1008
  at worst.
 
1009
  (Andrew Bennetts, #528041)
 
1010
 
 
1011
 
 
1012
bzr 2.1.1
 
1013
#########
 
1014
 
 
1015
:2.1.1: 2010-03-24
 
1016
 
 
1017
This is a small bugfix release.  Upgrading is recommended for anyone
 
1018
running 2.1.0 or earlier.
 
1019
 
 
1020
Bug Fixes
 
1021
*********
 
1022
 
 
1023
* Allow syscalls to automatically restart when ``TextUIFactory``'s
 
1024
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
 
1025
  IO, which are often poorly handled by Python's libraries and parts of
 
1026
  bzrlib.  (Andrew Bennetts, #496813)
 
1027
 
 
1028
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
1029
  (Martin Pool, #331095)
 
1030
 
 
1031
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
 
1032
 
 
1033
* Fix stub sftp test server to call os.getcwdu().
 
1034
  (Vincent Ladeuil, #526221, #526353)
 
1035
 
 
1036
* Fixed CHM generation by moving the NEWS section template into
 
1037
  a separate file. (Ian Clatworthy, #524184)
 
1038
 
 
1039
* Merge correctly when this_tree is not a WorkingTree.  (Aaron Bentley)
 
1040
 
 
1041
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
 
1042
  problems importing bzrlib from a non-main thread.
 
1043
  (Elliot Murphy, #521989)
 
1044
 
 
1045
* Repositories accessed via a smart server now reject being stacked on a
 
1046
  repository in an incompatible format, as is the case when accessing them
 
1047
  via other methods.  This was causing fetches from those repositories via
 
1048
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
1049
  (Andrew Bennetts, #562380)
 
1050
 
 
1051
* Standardize the error handling when creating a new ``StaticTuple``
 
1052
  (problems will raise TypeError). (Matt Nordhoff, #457979)
 
1053
 
 
1054
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
 
1055
  ``StaticTuple`` extensions, rather than having the build fail randomly.
 
1056
  (John Arbash Meinel, #449776)
 
1057
 
 
1058
Documentation
 
1059
*************
 
1060
 
 
1061
* Added a link to the Desktop Guide. (Ian Clatworthy)
 
1062
 
 
1063
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
 
1064
 
 
1065
* Drop Google Analytics from the core docs as they caused problems
 
1066
  in the CHM files. (Ian Clatworthy, #502010)
 
1067
 
 
1068
API Changes
 
1069
***********
 
1070
 
 
1071
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
 
1072
  can set a signal handler and call ``signal.siginterrupt(signum,
 
1073
  False)`` for it, if the platform and Python version supports it.
 
1074
  (Andrew Bennetts, #496813)
 
1075
 
 
1076
 
 
1077
bzr 2.1.0
 
1078
#########
 
1079
 
 
1080
:Codename: Strasbourg
 
1081
:2.1.0: 2010-02-11
 
1082
 
 
1083
This release marks our second long-term-stable series. The Bazaar team
 
1084
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
 
1085
releases, along with 2.2 development releases. 
 
1086
 
 
1087
This is a fairly incremental update, focusing on polish and bugfixing.
 
1088
There are no changes for supported disk formats. Key updates include
 
1089
reduced memory consumption for many operations, a new per-file merge
 
1090
hook, ignore patterns can now include '!' to exclude files, globbing
 
1091
support for all commands on Windows, and support for addressing home
 
1092
directories via ``bzr+ssh://host/~/`` syntax.
 
1093
 
 
1094
Users are encouraged to upgrade from the 2.0 stable series.
 
1095
 
 
1096
Bug Fixes
 
1097
*********
 
1098
 
 
1099
* Don't require testtools to use sftp.
 
1100
  (Vincent Ladeuil, #516183)
 
1101
 
 
1102
* Fix "AttributeError in Inter1and2Helper" during fetch.
 
1103
  (Martin Pool, #513432)
 
1104
 
 
1105
* ``bzr update`` performs the two merges in a more logical order and will stop
 
1106
  when it encounters conflicts.  
 
1107
  (Gerard Krol, #113809)
 
1108
 
 
1109
* Give a better error message when doing ``bzr bind`` in an already bound
 
1110
  branch.  (Neil Martinsen-Burrell, #513063)
 
1111
 
 
1112
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
 
1113
  in a pack repository, which can happen harmlessly if the abort occurs during
 
1114
  finishing the write group.  Also use ``bzrlib.cleanup`` so that any
 
1115
  other errors that occur while aborting the individual packs won't be
 
1116
  hidden by secondary failures when removing the corresponding indices.
 
1117
  (Andrew Bennetts, #423015)
 
1118
 
 
1119
* Set the mtime of files exported to a directory by ``bzr export`` all to
 
1120
  the same value to avoid confusing ``make`` and other date-based build
 
1121
  systems. (Robert Collins, #515631)
 
1122
 
 
1123
Improvements
 
1124
************
 
1125
 
 
1126
* Fetching into experimental formats will now print a warning. (Jelmer
 
1127
  Vernooij)
 
1128
 
 
1129
API Changes
 
1130
***********
 
1131
 
 
1132
* ``Repository.deserialise_inventory`` has been renamed to 
 
1133
  ``Repository._deserialise_inventory`` to indicate it is private.
 
1134
  (Jelmer Vernooij)
 
1135
 
 
1136
* ``Repository.get_inventory_xml`` has been renamed to 
 
1137
  ``Repository._get_inventory_xml`` to indicate it is private. 
 
1138
  (Jelmer Vernooij)
 
1139
 
 
1140
* ``Repository.serialise_inventory`` has been renamed to 
 
1141
  ``Repository._serialise_inventory`` to indicate it is private.
 
1142
 
 
1143
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
 
1144
  same time was broken due to race conditions with a module level page
 
1145
  cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
 
1146
  ``bzrlib.chk_map`` in the backtrace, and can be triggered without using
 
1147
  the same high level objects such as ``bzrlib.repository.Repository``
 
1148
  from different threads. chk_map now uses a thread local cache which may
 
1149
  increase memory pressure on processes using threads.
 
1150
  (Robert Collins, John Arbash Meinel, #514090)
 
1151
 
 
1152
* The new ``merge_file_content`` should now be ok with tests to avoid
 
1153
  regressions.
 
1154
  (Vincent Ladeuil, #515597)
 
1155
 
 
1156
Internals
 
1157
*********
 
1158
 
 
1159
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
 
1160
  blocks in several places in ``bzrlib.merge``.  This avoids masking prior
 
1161
  errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
 
1162
  in ``do_merge``.
 
1163
  (Andrew Bennetts, #517275)
 
1164
 
 
1165
API Changes
 
1166
***********
 
1167
 
 
1168
* The ``remove_index`` method of
 
1169
  ``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
 
1170
  argument.  This argument was always ignored.
 
1171
  (Andrew Bennetts, #423015)
 
1172
 
 
1173
bzr 2.1.0rc2
 
1174
############
 
1175
 
 
1176
:Codename: after the bubbles
 
1177
:2.1.0rc2: 2010-01-29
 
1178
 
 
1179
This is a quick-turn-around to update a small issue with our new per-file
 
1180
merge hook. We expect no major changes from this to the final 2.1.0.
 
1181
 
 
1182
API Changes
 
1183
***********
 
1184
 
 
1185
* The new ``merge_file_content`` hook point has been altered to provide a
 
1186
  better API where state for extensions can be stored rather than the
 
1187
  too-simple function based approach. This fixes a performance regression
 
1188
  where branch configuration would be parsed per-file during merge. As
 
1189
  part of this the included news_merger has been refactored into a base
 
1190
  helper class ``bzrlib.merge.ConfigurableFileMerger``.
 
1191
  (Robert Collins, John Arbash Meinel, #513822)
 
1192
 
 
1193
 
 
1194
bzr 2.1.0rc1
 
1195
############
 
1196
 
 
1197
:Codename: the 'new' stable
 
1198
:2.1.0rc1: 2009-01-21
 
1199
 
 
1200
This is the first stable release candidate for Bazaar's 2.1 series. From
 
1201
this point onwards, the 2.1 series will be considered stable (as the 2.0
 
1202
series) and only bugfixes are expected to be incorporated. The dozen or so
 
1203
bugfixes in the 2.0.4 release are also included in this release (along
 
1204
with more than 15 more bugfixes). Some of the interesting features are
 
1205
support for per-file merge hooks, ``bzr unshelve --preview``, support
 
1206
for using ! in ignore files to exclude files from being ignored, a small
 
1207
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
 
1208
This looks to be a very good start for a new stable series.
 
1209
 
 
1210
 
 
1211
New Features
 
1212
************
 
1213
 
 
1214
* Add bug information to log output when available.
 
1215
  (Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
 
1216
 
 
1217
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
 
1218
  to register custom merge logic, e.g. to provide smarter merging for
 
1219
  particular files.
 
1220
 
 
1221
* Bazaar now includes the ``news_merge`` plugin.  It is disabled by
 
1222
  default, to enable it add a ``news_merge_files`` option to your
 
1223
  configuration.  Consult ``bzr help news_merge`` for more information.
 
1224
  (Andrew Bennetts)
 
1225
  
 
1226
* ``bzr branch`` now takes a ``--bind`` option. This lets you
 
1227
  branch and bind all in one command. (Ian Clatworthy)
 
1228
 
 
1229
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
 
1230
  a specific revision of a branch. (Daniel Watkins, #183559)
 
1231
 
 
1232
* ``bzr unshelve --preview`` can now be used to show how a patch on the
 
1233
  shelf would be applied to the working tree.
 
1234
  (Guilherme Salgado, #308122)
 
1235
 
 
1236
* ``bzr update`` now takes a ``--revision`` argument. This lets you
 
1237
  change the revision of the working tree to any revision in the
 
1238
  ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
 
1239
  Martin Pool, #45719)
 
1240
 
 
1241
* ``-Dbytes`` can now be used to display the total number of bytes
 
1242
  transferred for the current command. This information is always logged
 
1243
  to ``.bzr.log`` for later inspection. (John Arbash Meinel)
 
1244
 
 
1245
* New ignore patterns.  Patterns prefixed with '!' are exceptions to 
 
1246
  ignore patterns and take precedence over regular ignores.  Such 
 
1247
  exceptions are used to specify files that should be versioned which 
 
1248
  would otherwise be ignored.  Patterns prefixed with '!!' act as regular 
 
1249
  ignore patterns, but have highest precedence, even over the '!' 
 
1250
  exception patterns. (John Whitley, #428031)
 
1251
 
 
1252
* The ``supress_warnings`` configuration option has been introduced to disable
 
1253
  various warnings (it currently only supports the ``format_deprecation``
 
1254
  warning). The new option can be set in any of the following locations:
 
1255
  ``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
 
1256
  (Ted Gould, Matthew Fuller, Vincent Ladeuil)
 
1257
 
 
1258
Bug Fixes
 
1259
*********
 
1260
 
 
1261
* Always show a message if an OS error occurs while trying to run a
 
1262
  user-specified commit message editor.
 
1263
  (Martin Pool, #504842)
 
1264
 
 
1265
* ``bzr diff`` will now use the epoch when it is unable to determine 
 
1266
  the timestamp of a file, if the revision it was introduced in is a
 
1267
  ghost. (Jelmer Vernooij, #295611)
 
1268
 
 
1269
* ``bzr switch -b`` can now create branches that are located using directory
 
1270
  services such as ``lp:``, even when the branch name doesn't contain a
 
1271
  '/'.  (Neil Martinsen-Burrell, #495263)
 
1272
 
 
1273
* ``bzr unshelve`` has improved messages about what it is doing.
 
1274
  (Neil Martinsen-Burrell, #496917)
 
1275
 
 
1276
* Concurrent autopacking is more resilient to already-renamed pack files.
 
1277
  If we find that a file we are about to obsolete is already obsoleted, we
 
1278
  do not try to rename it, and we leave the file in ``obsolete_packs``.
 
1279
  The code is also fault tolerant if a file goes missing, assuming that
 
1280
  another process already removed the file.
 
1281
  (John Arbash Meinel, Gareth White, #507557)
 
1282
 
 
1283
* Fix "Too many concurrent requests" in reconcile when network connection
 
1284
  fails.  (Andrew Bennetts, #503878)
 
1285
 
 
1286
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
 
1287
  that caused some tests to fail when run in a non-default order.
 
1288
  Probably no user impact.  (Martin Pool, #504102)
 
1289
 
 
1290
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
 
1291
  (Andrew Bennetts, #506274)
 
1292
 
 
1293
* FTP transports support Unicode paths by encoding/decoding them as utf8.
 
1294
  (Vincent Ladeuil, #472161)
 
1295
 
 
1296
* Listen to the SIGWINCH signal to update the terminal width.
 
1297
  (Vincent Ladeuil, #316357)
 
1298
 
 
1299
* Progress bars are now hidden when ``--quiet`` is given.
 
1300
  (Martin Pool, #320035)
 
1301
 
 
1302
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
 
1303
  whatever is written to it.  This un-breaks some plugin tests that
 
1304
  depended on this behaviour.
 
1305
  (Martin Pool, #499757)
 
1306
 
 
1307
* When operations update the working tree, all affected files should end
 
1308
  up with the same mtime. (eg. when versioning a generated file, if you
 
1309
  update the source and the generated file together, the generated file
 
1310
  should appear up-to-date.)
 
1311
  (John Arbash Meinel, Martin <gzlist>, #488724)
 
1312
 
 
1313
Improvements
 
1314
************
 
1315
 
 
1316
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
 
1317
  All the builtin commands now use ``add_cleanup`` rather than
 
1318
  ``try``/``finally`` blocks where applicable as it is simpler and more
 
1319
  robust.  (Andrew Bennetts)
 
1320
 
 
1321
* All except a small number of storage formats are now hidden, making
 
1322
  the help for numerous commands far more digestible. (Ian Clatworthy)
 
1323
 
 
1324
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
 
1325
  path/to/repo``) will now include "location is a repository" as a hint in
 
1326
  the error message.  (Brian de Alwis, Andrew Bennetts, #440952)
 
1327
 
 
1328
* Push will now inform the user when they are trying to push to a foreign 
 
1329
  VCS for which roundtripping is not supported, and will suggest them to 
 
1330
  use dpush. (Jelmer Vernooij)
 
1331
 
 
1332
* The version of bzr being run is now written to the log file.
 
1333
  (__monty__, #257170)
 
1334
 
 
1335
* Transport network activity indicator is shown more of the time when
 
1336
  Bazaar is doing network IO.
 
1337
  (Martin Pool)
 
1338
 
 
1339
Documentation
 
1340
*************
 
1341
 
 
1342
* Add documentation on creating merges with more than one parent.
 
1343
  (Neil Martinsen-Burrell, #481526)
 
1344
 
 
1345
* Better explain the --uncommitted option of merge.
 
1346
  (Neil Martinsen-Burrell, #505088)
 
1347
 
 
1348
* Improve discussion of pending merges in the documentation for
 
1349
  ``revert``.  (Neil Martinsen-Burrell, #505093)
 
1350
 
 
1351
* Improved help for ``bzr send``. 
 
1352
  (Martin Pool, Bojan Nikolic)
 
1353
 
 
1354
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
 
1355
  including discussions of installation, relevant plugins, security and 
 
1356
  backup. (Neil Martinsen-Burrell)
 
1357
 
 
1358
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
 
1359
  (Ian Clatworthy)
 
1360
 
 
1361
* The User Reference is now presented as a series of topics.
 
1362
  Many of the included topics have link and format tweaks applied.
 
1363
  (Ian Clatworthy)
 
1364
 
 
1365
API Changes
 
1366
***********
 
1367
 
 
1368
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
 
1369
  (Andrew Bennetts)
 
1370
 
 
1371
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
 
1372
  to be consistent with instances being lower case and classes being
 
1373
  CamelCase. For the features that were more likely to be used, we added a
 
1374
  deprecation thunk, but not all. (John Arbash Meinel)
 
1375
 
 
1376
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
 
1377
  parameter in their constructors, and provide ``this_branch`` as an
 
1378
  attribute. (Andrew Bennetts)
 
1379
  
 
1380
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
 
1381
  by plugins - the original exceptions are now preserved. (Robert Collins)
 
1382
 
 
1383
* The Transport ``Server.tearDown`` method is now renamed to
 
1384
  ``stop_server`` and ``setUp`` to ``start_server`` for consistency with
 
1385
  our normal naming pattern, and to avoid confusion with Python's
 
1386
  ``TestCase.tearDown``.  (Martin Pool)
 
1387
 
 
1388
* ``WorkingTree.update`` implementations must now accept a ``revision``
 
1389
  parameter.
 
1390
 
 
1391
Internals
 
1392
*********
 
1393
 
 
1394
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
 
1395
  a string of details (such as "location is a repository") as part of a
 
1396
  ``nobranch`` response.  (Andrew Bennetts, #440952)
 
1397
  
 
1398
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
 
1399
  objects but passes str objects straight through. This is used for
 
1400
  selftest but may be useful for diff and other operations that generate
 
1401
  mixed output. (Robert Collins)
 
1402
 
 
1403
* New exception ``NoRoundtrippingSupport``, for use by foreign branch 
 
1404
  plugins. (Jelmer Vernooij)
 
1405
 
 
1406
Testing
 
1407
*******
 
1408
 
 
1409
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
 
1410
  running all tests in the current module, once against a pure python
 
1411
  implementation, and once against an extension (pyrex/C) implementation.
 
1412
  It can be used to dramatically simplify the implementation of
 
1413
  ``load_tests``.  (John Arbash Meinel)
 
1414
 
 
1415
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
 
1416
  This permits features in testtools such as getUniqueInteger and
 
1417
  getUniqueString to be used. Because of this, testtools version 0.9.2 or
 
1418
  newer is now a dependency to run bzr selftest. Running with versions of
 
1419
  testtools less than 0.9.2 will cause bzr to error while loading the test
 
1420
  suite. (Robert Collins)
 
1421
 
 
1422
* Shell-like tests now support the command "mv" for moving files.  The
 
1423
  syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
 
1424
  supported.  (Neil Martinsen-Burrell)
 
1425
 
 
1426
* The test progress bar no longer distinguishes tests that 'errored' from
 
1427
  tests that 'failed' - they're all just failures.
 
1428
  (Martin Pool)
 
1429
 
 
1430
bzr 2.0.6
 
1431
#########
 
1432
 
 
1433
:2.0.6: NOT RELEASED YET
 
1434
 
 
1435
Bug Fixes
 
1436
*********
 
1437
 
 
1438
* Additional merges after an unrelated branch has been merged with its
 
1439
  history no longer crash when deleted files are involved.
 
1440
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
1441
 
 
1442
* ``bzr revert`` now only takes write lock on working tree, instead of on 
 
1443
  both working tree and branch.
 
1444
  (Danny van Heumen, #498409)
 
1445
 
 
1446
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
1447
  permissions as ``.bzr`` directory on a POSIX OS.
 
1448
  (Parth Malwankar, #262450)
 
1449
 
 
1450
* Raise ValueError instead of a string exception.
 
1451
  (John Arbash Meinel, #586926)
 
1452
 
 
1453
* Reduce peak memory by one copy of compressed text.
 
1454
  (John Arbash Meinel, #566940)
 
1455
 
 
1456
* Repositories accessed via a smart server now reject being stacked on a
 
1457
  repository in an incompatible format, as is the case when accessing them
 
1458
  via other methods.  This was causing fetches from those repositories via
 
1459
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
1460
  (Andrew Bennetts, #562380)
 
1461
 
 
1462
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1463
  error. This error was caused by 2.0 not being updated when upstream
 
1464
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1465
  ``done``. (Robert Collins, #571437)
 
1466
 
 
1467
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1468
  directory file handle after the chdir fails. Otherwise when passing many
 
1469
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1470
  (John Arbash Meinel, #583486)
 
1471
 
 
1472
 
 
1473
bzr 2.0.5
 
1474
#########
 
1475
 
 
1476
:2.0.5: 2010-03-23
 
1477
 
 
1478
This fifth release in our 2.0 series addresses several user-inconvenience
 
1479
bugs.  None are critical, but upgrading is recommended for all users on
 
1480
earlier 2.0 releases.
 
1481
 
 
1482
Bug Fixes
 
1483
*********
 
1484
 
 
1485
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
1486
  (Martin Pool, #331095)
 
1487
 
 
1488
* Concurrent autopacking is more resilient to already-renamed pack files.
 
1489
  If we find that a file we are about to obsolete is already obsoleted, we
 
1490
  do not try to rename it, and we leave the file in ``obsolete_packs``.
 
1491
  The code is also fault tolerant if a file goes missing, assuming that
 
1492
  another process already removed the file.
 
1493
  (John Arbash Meinel, Gareth White, #507557)
 
1494
 
 
1495
* Cope with the lockdir ``held/info`` file being empty, which seems to
 
1496
  happen fairly often if the process is suddenly interrupted while taking
 
1497
  a lock.
 
1498
  (Martin Pool, #185103)
 
1499
 
 
1500
* Give the warning about potentially slow cross-format fetches much
 
1501
  earlier on in the fetch operation.  Don't show this message during
 
1502
  upgrades, and show the correct format indication for remote
 
1503
  repositories.
 
1504
  (Martin Pool, #456077, #515356, #513157)
 
1505
 
 
1506
* Handle renames correctly when there are files or directories that 
 
1507
  differ only in case.  (Chris Jones, Martin Pool, #368931)
 
1508
 
 
1509
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
 
1510
  error, report that error rather than failing with an unhelpful
 
1511
  ``UnboundLocalError``.
 
1512
  (Andrew Bennetts, #423563)
 
1513
 
 
1514
* Running ``bzr`` command without any arguments now shows bzr
 
1515
  version number along with rest of the help text.
 
1516
  (Parth Malwankar, #369501)
 
1517
 
 
1518
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
 
1519
  errors.
 
1520
  (Inada Naoki, #524560)
 
1521
 
 
1522
Documentation
 
1523
*************
 
1524
 
 
1525
* Added ``location-alias`` help topic.
 
1526
  (Andrew Bennetts, #337834)
 
1527
 
 
1528
* Fixed CHM generation by moving the NEWS section template into
 
1529
  a separate file. (Ian Clatworthy, #524184)
 
1530
 
 
1531
 
 
1532
bzr 2.0.4
 
1533
#########
 
1534
 
 
1535
:Codename: smooth sailing
 
1536
:2.0.4: 2010-01-21
 
1537
 
 
1538
The fourth bugfix-only release in the 2.0 series contains more than a
 
1539
dozen bugfixes relative to 2.0.3. The primary focus is on handling
 
1540
interruptions and concurrent operations more cleanly, there is also a fair
 
1541
improvement to ``bzr export`` when exporting a remote branch.
 
1542
 
 
1543
 
 
1544
Bug Fixes
 
1545
*********
 
1546
 
 
1547
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
 
1548
  fails with an ``ObjectNotLocked`` error.  (Andrew Bennetts, #496590)
 
1549
 
 
1550
* ``bzr export dir`` now requests all file content as a record stream,
 
1551
  rather than requsting the file content one file-at-a-time. This can make
 
1552
  exporting over the network significantly faster (54min => 9min in one
 
1553
  case). (John Arbash Meinel, #343218)
 
1554
 
 
1555
* ``bzr serve`` no longer slowly leaks memory. The compiled
 
1556
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
 
1557
  free resources, and it should have been using ``__dealloc__``.
 
1558
  This will likely have an impact on any other process that is serving for
 
1559
  an extended period of time.  (John Arbash Meinel, #494406)
 
1560
 
 
1561
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
 
1562
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
 
1563
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
 
1564
 
 
1565
* Concurrent autopacks will no longer lose a newly created pack file.
 
1566
  There was a race condition, where if the reload happened at the right
 
1567
  time, the second packer would forget the name of the newly added pack
 
1568
  file. (John Arbash Meinel, Gareth White, #507566)
 
1569
 
 
1570
* Give a clearer message if the lockdir disappears after being apparently
 
1571
  successfully taken.  (Martin Pool, #498378)
 
1572
 
 
1573
* Give a warning when fetching between repositories (local or remote) with
 
1574
  sufficiently different formats that the content will need to be
 
1575
  serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
 
1576
  the user has a clue that upgrading could make it faster.
 
1577
  (Martin Pool, #456077)
 
1578
 
 
1579
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
 
1580
  than using ``warning()``. The log file is opened before logging is set
 
1581
  up, and it leads to very confusing: 'no handlers for "bzr"' messages for
 
1582
  users, rather than something nicer.
 
1583
  (John Arbash Meinel, Barry Warsaw, #503886)
 
1584
 
 
1585
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
 
1586
  (Martin Pool, John Arbash Meinel, #449372)
 
1587
 
 
1588
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
 
1589
  build. (there is still the distutils bug
 
1590
  http://bugs.python.org/issue644744) (Joe Julian, #175839)
 
1591
 
 
1592
* The 2a format wasn't properly restarting autopacks when something
 
1593
  changed underneath it (like another autopack). Now concurrent
 
1594
  autopackers will properly succeed. (John Arbash Meinel, #495000)
 
1595
 
 
1596
* ``TreeTransform`` can now handle when a delta says that the file id for
 
1597
  the tree root changes. Rather than trying to rename your working
 
1598
  directory, or failing early saying that you can't have multiple
 
1599
  tree roots. This also fixes revert, update, and pull when the root id
 
1600
  changes.  (John Arbash Meinel, #494269, #504390)
 
1601
 
 
1602
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
 
1603
  the right time will get propagated, rather than silently failing to move
 
1604
  the block pointer. (John Arbash Meinel, Gareth White, #495023)
 
1605
 
 
1606
Testing
 
1607
*******
 
1608
 
 
1609
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
 
1610
  handle exceptions somehow. (Possibly by setting ``# cannot_raise``
 
1611
  rather than an ``except ?:`` clause.) This should help prevent bugs like
 
1612
  bug #495023. (John Arbash Meinel)
 
1613
 
 
1614
 
 
1615
bzr 2.1.0b4
 
1616
###########
 
1617
 
 
1618
:Codename: san francisco airport
 
1619
:2.1.0b4: 2009-12-14
 
1620
 
 
1621
The fourth beta release in the 2.1 series brings with it a significant
 
1622
number of bugfixes (~20). The test suite is once again (finally) "green"
 
1623
on Windows, and should remain that way for future releases. There are a
 
1624
few performance related updates (faster upgrade and log), and several UI
 
1625
tweaks. There has also been a significant number of tweaks to the runtime
 
1626
documentation. 2.1.0b4 include everything from the 2.0.3 release.
 
1627
 
 
1628
 
 
1629
Compatibility Breaks
 
1630
********************
 
1631
 
 
1632
* The BZR_SSH environmental variable may now be set to the path of a secure
 
1633
  shell client. If currently set to the value ``ssh`` it will now guess the
 
1634
  vendor of the program with that name, to restore the old behaviour that
 
1635
  indicated the SSH Corporation client use ``sshcorp`` instead as the magic
 
1636
  string. (Martin <gzlist@googlemail.com>, #176292)
 
1637
 
 
1638
New Features
 
1639
************
 
1640
 
 
1641
* ``bzr commit`` now has a ``--commit-time`` option.
 
1642
  (Alexander Sack, #459276)
 
1643
 
 
1644
* ``-Dhpss`` now increases logging done when run on the bzr server,
 
1645
  similarly to how it works on the client. (John Arbash Meinel)
 
1646
 
 
1647
* New option ``bzr unshelve --keep`` applies the changes and leaves them
 
1648
  on the shelf.  (Martin Pool, Oscar Fuentes, #492091)
 
1649
 
 
1650
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
 
1651
  respect a given terminal width. This can be useful when output is
 
1652
  redirected or in obscure cases where the default value is not
 
1653
  appropriate. Pagers can use it to get a better control of the line
 
1654
  lengths. 
 
1655
  (Vincent Ladeuil)
 
1656
 
 
1657
* The new command ``bzr lp-mirror`` will request that Launchpad update its
 
1658
  mirror of a local branch. This command will only function if launchpadlib
 
1659
  is installed.
 
1660
  (Jonathan Lange)
 
1661
 
 
1662
 
 
1663
Bug Fixes
 
1664
*********
 
1665
 
 
1666
* After renaming a file, the dirstate could accidentally reference
 
1667
  ``source\\path`` rather than ``source/path`` on Windows. This might be a
 
1668
  source of some dirstate-related failures. (John Arbash Meinel)
 
1669
 
 
1670
* ``bzr commit`` now detects commit messages that looks like file names
 
1671
  and issues a warning.
 
1672
  (Gioele Barabucci, #73073)
 
1673
 
 
1674
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
 
1675
 
 
1676
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
 
1677
  (#325618, #484109, Marius Kruger)
 
1678
 
 
1679
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
 
1680
  files with conflicts (similar to ``--merge3``). The contents of the file
 
1681
  is a synthesis of all bases used for the merge.
 
1682
  (John Arbash Meinel, #40412)
 
1683
 
 
1684
* ``bzr mv --quiet`` really is quiet now.  (Gordon Tyler, #271790)
 
1685
 
 
1686
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
 
1687
  (Robert Collins, #84659)
 
1688
 
 
1689
* ``bzr serve --quiet`` really is quiet now.  (Gordon Tyler, #252834)
 
1690
 
 
1691
* Fix bug with redirected URLs over authenticated HTTP.
 
1692
  (Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
 
1693
 
 
1694
* Interactive merge doesn't leave branch locks behind.  (Aaron Bentley)
 
1695
 
 
1696
* Lots of bugfixes for the test suite on Windows. We should once again
 
1697
  have a test suite with no failures on Windows. (John Arbash Meinel)
 
1698
 
 
1699
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
 
1700
  variable but returns None if the terminal is not a tty (when output is
 
1701
  redirected for example). Also fixes its usage under OSes that doesn't
 
1702
  provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
 
1703
  windows too.
 
1704
  (Joke de Buhr, Vincent Ladeuil, #353370, #62539)
 
1705
  (John Arbash Meinel, Vincent Ladeuil, #492561)
 
1706
 
 
1707
* Terminate ssh subprocesses when no references to them remain, fixing
 
1708
  subprocess and file descriptor leaks.  (Andrew Bennetts, #426662)
 
1709
  
 
1710
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
 
1711
  works for 2a format trees.  Only files unaffected by content filters
 
1712
  will be hardlinked.  (Andrew Bennetts, #408193)
 
1713
 
 
1714
* The new glob expansion on Windows would replace all ``\`` characters
 
1715
  with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
 
1716
  etc. Now only change slashes if there is something being glob expanded.
 
1717
  (John Arbash Meinel, #485771)
 
1718
 
 
1719
* Use our faster ``KnownGraph.heads()`` functionality when computing the
 
1720
  new rich-root heads. This can cut a conversion time in half (mysql from
 
1721
  13.5h => 6.2h) (John Arbash Meinel, #487632)
 
1722
 
 
1723
* When launching a external diff tool via bzr diff --using, temporary files
 
1724
  are no longer created, rather, the path to the file in the working tree is
 
1725
  passed to the external diff tool. This allows the file to be edited if the
 
1726
  diff tool provides for this. (Gary van der Merwe, #490738)
 
1727
  
 
1728
* The launchpad-open command can now be used from a subdirectory of a
 
1729
  branch, not just from the root of the branch. 
 
1730
  (Neil Martinsen-Burrell, #489102)
 
1731
 
 
1732
 
 
1733
Improvements
 
1734
************
 
1735
 
 
1736
* ``bzr log`` is now faster. (Ian Clatworthy)
 
1737
 
 
1738
* ``bzr update`` provides feedback on which branch it is up to date with.
 
1739
  (Neil Martinsen-Burrell)
 
1740
 
 
1741
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
 
1742
  For details see the xml8 patch and heads() improvements.
 
1743
  (John Arbash Meinel)
 
1744
 
 
1745
* ``bzrlib.urlutils.local_path_from_url`` now accepts
 
1746
  'file://localhost/' as well as 'file:///' URLs on POSIX.  (Michael
 
1747
  Hudson)
 
1748
 
 
1749
* The progress bar now shows only a spinner and per-operation counts,
 
1750
  not an overall progress bar.  The previous bar was often not correlated
 
1751
  with real overall operation progress, either because the operations take
 
1752
  nonlinear time, or because at the start of the operation Bazaar couldn't
 
1753
  estimate how much work there was to do.  (Martin Pool)
 
1754
 
 
1755
Documentation
 
1756
*************
 
1757
 
 
1758
* Lots of documentation tweaks for inline help topics and command help
 
1759
  information.
 
1760
 
 
1761
API Changes
 
1762
***********
 
1763
 
 
1764
* ``bzrlib.textui`` (vestigial module) removed.  (Martin Pool)
 
1765
 
 
1766
* The Launchpad plugin now has a function ``login`` which will log in to
 
1767
  Launchpad with launchpadlib, and ``load_branch`` which will return the
 
1768
  Launchpad Branch object corresponding to a given Bazaar Branch object.
 
1769
  (Jonathan Lange)
 
1770
 
 
1771
Internals
 
1772
*********
 
1773
 
 
1774
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
 
1775
  easier to handle what tests you want to run based on what modules can be
 
1776
  imported. (Rather than lots of custom-implemented features that were
 
1777
  basically copy-and-pasted.) (John Arbash Meinel)
 
1778
 
 
1779
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
 
1780
  ``time.clock()`` when you want to do performance timing.
 
1781
  ``time.time()`` is limited to 15ms resolution on Windows, but
 
1782
  ``time.clock()`` gives CPU and not wall-clock time on other platforms.
 
1783
  (John Arbash Meinel)
 
1784
 
 
1785
* Several code paths that were calling ``Transport.get().read()`` have
 
1786
  been changed to the equalivent ``Transport.get_bytes()``. The main
 
1787
  difference is that the latter will explicitly call ``file.close()``,
 
1788
  rather than expecting the garbage collector to handle it. This helps
 
1789
  with some race conditions on Windows during the test suite and sftp
 
1790
  tests. (John Arbash Meinel)
 
1791
 
 
1792
Testing
 
1793
*******
 
1794
 
 
1795
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
 
1796
  unicode strings. (Michael Hudson, #464174)
 
1797
 
 
1798
 
 
1799
bzr 2.0.3
 
1800
#########
 
1801
 
 
1802
:Codename: little italy
 
1803
:2.0.3: 2009-12-14
 
1804
 
 
1805
 
 
1806
The third stable release of Bazaar has a small handful of bugfixes. As
 
1807
expected, this has no internal or external compatibility changes versus
 
1808
2.0.2 (or 2.0.0).
 
1809
 
 
1810
Bug Fixes
 
1811
*********
 
1812
 
 
1813
* ``bzr push --use-existing-dir`` no longer crashes if the directory
 
1814
  exists but contains an invalid ``.bzr`` directory.
 
1815
  (Andrew Bennetts, #423563)
 
1816
 
 
1817
* Content filters are now applied correctly after pull, merge and switch.
 
1818
  (Ian Clatworthy, #385879)
 
1819
 
 
1820
* Fix a potential segfault in the groupcompress hash map handling code.
 
1821
  When inserting new entries, if the final hash bucket was empty, we could
 
1822
  end up trying to access if ``(last_entry+1)->ptr == NULL``.
 
1823
  (John Arbash Meinel, #490228)
 
1824
 
 
1825
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
 
1826
 
 
1827
 
 
1828
bzr 2.1.0b3
 
1829
###########
 
1830
 
 
1831
:Codename: after sprint recovery
 
1832
:2.1.0b3: 2009-11-16
 
1833
 
 
1834
This release was pushed up from its normal release cycle due to a
 
1835
regression in python 2.4 compatibility in 2.1.0b2.  Since this regression
 
1836
was caught before 2.1.0b2 was officially announced, the full changelog
 
1837
includes both 2.1.0b3 and 2.1.0b2 changes.
 
1838
 
 
1839
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
 
1840
the test suite now conforms to python's trunk enhanced semantics (skip,
 
1841
etc.), and ``bzr info -v`` will now report the correct branch and repo
 
1842
formats for Remote objects.
 
1843
 
 
1844
 
 
1845
New Features
 
1846
************
 
1847
 
 
1848
* Users can define a shelve editor to provide shelf functionality at a
 
1849
  granularity finer than per-patch-hunk. (Aaron Bentley)
 
1850
 
 
1851
Bug Fixes
 
1852
*********
 
1853
 
 
1854
* Fix for shell completion and short options.  (Benoît PIERRE)
 
1855
 
 
1856
* Fix ``bzr --profile-imports`` with Python 2.6.  (Martin Pool)
 
1857
 
 
1858
* Hooks daughter classes should always call the base constructor.
 
1859
  (Alexander Belchenko, Vincent Ladeuil, #389648) 
 
1860
 
 
1861
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
 
1862
 
 
1863
* On Windows, do glob expansion at the command-line level (as is usually
 
1864
  done in bash, etc.) This means that *all* commands get glob expansion
 
1865
  (bzr status, bzr add, bzr mv, etc). It uses a custom command line
 
1866
  parser, which allows us to know if a given section was quoted. It means
 
1867
  you can now do ``bzr ignore "*.py"``.
 
1868
  (John Arbash Meinel, #425510, #426410, #194450)
 
1869
 
 
1870
* Sanitize commit messages that come in from the '-m' flag. We translate
 
1871
  '\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
 
1872
  allow those because XML store silently translate it anyway. (The parser
 
1873
  auto-translates \r\n => \n in ways that are hard for us to catch.)
 
1874
 
 
1875
* Show correct branch and repository format descriptions in 
 
1876
  ``bzr info -v`` on a smart server location.  (Andrew Bennetts, #196080)
 
1877
 
 
1878
* The fix for bug #186920 accidentally broke compatibility with python
 
1879
  2.4.  (Vincent Ladeuil, #475585)
 
1880
 
 
1881
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
 
1882
  correctly sets ``self.inv_sha1`` to a sha1 string and
 
1883
  ``self.new_inventory`` to an Inventory instance after calling
 
1884
  ``self.finish_inventory()``. (Previously it accidently set both values
 
1885
  as a tuple on ``self.inv_sha1``. This was missed because
 
1886
  ``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
 
1887
  the sha1 from the repo directly. (John Arbash Meinel)
 
1888
 
 
1889
* Shelve command refuse to run if there is no real terminal.
 
1890
  (Alexander Belchenko)
 
1891
 
 
1892
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
 
1893
  Python level.  (Martin Pool)
 
1894
 
 
1895
Documentation
 
1896
*************
 
1897
 
 
1898
* Include Japanese translations for documentation (Inada Naoki)
 
1899
 
 
1900
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
 
1901
  (rather than user-interaction) data to stdout.  This automatically
 
1902
  coordinates with progress bars or other terminal activity, and can be
 
1903
  overridden by GUIs.
 
1904
  (Martin Pool, 493944)
 
1905
 
 
1906
Internals
 
1907
*********
 
1908
 
 
1909
* Some of the core groupcompress functionality now releases the GIL before
 
1910
  operation. Similar to how zlib and bz2 operate without the GIL in the
 
1911
  core compression and decompression routines. (John Arbash Meinel)
 
1912
 
 
1913
Testing
 
1914
*******
 
1915
 
 
1916
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
 
1917
  more debugging of VFS access triggers. (Robert Collins)
 
1918
 
 
1919
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
 
1920
  method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
 
1921
 
 
1922
* ``--parallel=fork`` is now compatible with --subunit.
 
1923
  (Robert Collins, Vincent Ladeuil, #419776)
 
1924
 
 
1925
* Reporting of failures shows test ids not descriptions and thus shows
 
1926
  parameterised tests correctly. (Robert Collins)
 
1927
 
 
1928
* TestNotApplicable is now handled within the TestCase.run method rather
 
1929
  than being looked for within ``ExtendedTestResult.addError``. This
 
1930
  provides better handling with other ``TestResult`` objects, degrading to
 
1931
  sucess rather than error. (Robert Collins)
 
1932
 
 
1933
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
 
1934
  removed - it was empty and unused. (Robert Collins)
 
1935
 
 
1936
* UnavailableFeature is now handled within the TestCase.run method rather
 
1937
  than being looked for within addError. If the Result object does not
 
1938
  have an addNotSupported method, addSkip is attempted instead, and
 
1939
  failing that addSuccess. (Robert Collins)
 
1940
 
 
1941
* When a TestResult does not have an addSkip method, skipped tests are now
 
1942
  reported as successful tests, rather than as errors. This change is
 
1943
  to make it possible to get a clean test run with a less capable
 
1944
  TestResult. (Robert Collins)
 
1945
 
 
1946
 
 
1947
 
 
1948
bzr 2.1.0b2
 
1949
###########
 
1950
 
 
1951
:Codename: a load off my mind
 
1952
:2.1.0b2: 2009-11-02
 
1953
 
 
1954
This is our second feature-filled release since 2.0, pushing us down the
 
1955
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
 
1956
 
 
1957
Key highlights in this release are: improved handling of
 
1958
failures-during-cleanup for commit, fixing a long-standing bug with
 
1959
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
 
1960
behind proxies, and a new StaticTuple datatype, allowing us to reduce
 
1961
memory consumption (50%) and garbage collector overhead (40% faster) for
 
1962
many operations.
 
1963
 
 
1964
* A new ``--concurrency`` option has been added as well as an associated
 
1965
  BZR_CONCURRENCY environment variable to specify the number of
 
1966
  processes that can be run concurrently when running ``bzr selftest``. The
 
1967
  command-line option overrides the environment variable if both are
 
1968
  specified. If none is specified. the number of processes is obtained
 
1969
  from the OS as before.  (Matt Nordhoff, Vincent Ladeuil)
 
1970
 
 
1971
Bug Fixes
 
1972
*********
 
1973
 
 
1974
* ``bzr+http`` servers no longer give spurious jail break errors when
 
1975
  serving branches inside a shared repository.  (Andrew Bennetts, #348308)
 
1976
 
 
1977
* Errors during commit are handled more robustly so that knock-on errors
 
1978
  are less likely to occur, and will not obscure the original error if
 
1979
  they do occur.  This fixes some causes of ``TooManyConcurrentRequests``
 
1980
  and similar errors.  (Andrew Bennetts, #429747, #243391)
 
1981
 
 
1982
* Launchpad urls can now be resolved from behind proxies.
 
1983
  (Gordon Tyler, Vincent Ladeuil, #186920)
 
1984
 
 
1985
* Reduce the strictness for StaticTuple, instead add a debug flag
 
1986
  ``-Dstatic_tuple`` which will change apis to be strict and raise errors.
 
1987
  This way, most users won't see failures, but developers can improve
 
1988
  internals. (John Arbash Meinel, #471193)
 
1989
 
 
1990
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
 
1991
  files.  (Aaron Bentley)
 
1992
 
 
1993
* Unicode paths are now handled correctly and consistently by the smart
 
1994
  server.  (Andrew Bennetts, Michael Hudson, #458762)
 
1995
 
 
1996
Improvements
 
1997
************
 
1998
 
 
1999
* When reading index files, we now use a ``StaticTuple`` rather than a
 
2000
  plain ``tuple`` object. This generally gives a 20% decrease in peak
 
2001
  memory, and can give a performance boost up to 40% on large projects.
 
2002
  (John Arbash Meinel)
 
2003
 
 
2004
* Peak memory under certain operations has been reduced significantly.
 
2005
  (eg, 'bzr branch launchpad standalone' is cut in half)
 
2006
  (John Arbash Meinel)
 
2007
 
 
2008
Documentation
 
2009
*************
 
2010
 
 
2011
* Filtered views user documentation upgraded to refer to format 2a
 
2012
  instead of pre-2.0 formats. (Ian Clatworthy)
 
2013
 
 
2014
API Changes
 
2015
***********
 
2016
 
 
2017
* Remove deprecated ``CLIUIFactory``.  (Martin Pool)
 
2018
 
 
2019
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
 
2020
  ``show_warning`` methods, which can be hooked by non-text UIs.  
 
2021
  (Martin Pool)
 
2022
 
 
2023
Internals
 
2024
*********
 
2025
 
 
2026
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
 
2027
  Dict (it only holds keys, but you can lookup the object located at a
 
2028
  given key). It has significantly reduced memory consumption versus the
 
2029
  builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
 
2030
  used as the interning structure for StaticTuple objects.
 
2031
  (John Arbash Meinel)
 
2032
 
 
2033
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
 
2034
  the btree index parser and the chk map parser. This class functions
 
2035
  similarly to ``tuple`` objects. However, it can only point to a limited
 
2036
  collection of types.  (Currently StaticTuple, str, unicode, None, bool,
 
2037
  int, long, float, but not subclasses).  This allows us to remove it from
 
2038
  the garbage collector (it cannot be in a cycle), it also allows us to
 
2039
  intern the objects. In testing, this can reduce peak memory by 20-40%,
 
2040
  and significantly improve performance by removing objects from being
 
2041
  inspected by the garbage collector.  (John Arbash Meinel)
 
2042
 
 
2043
* ``GroupCompressBlock._ensure_content()`` will now release the
 
2044
  ``zlib.decompressobj()`` when the first request is for all of the
 
2045
  content. (Previously it would only be released if you made a request for
 
2046
  part of the content, and then all of it later.) This turns out to be a
 
2047
  significant memory savings, as a ``zstream`` carries around approx 260kB
 
2048
  of internal state and buffers. (For branching bzr.dev this drops peak
 
2049
  memory from 382MB => 345MB.) (John Arbash Meinel)
 
2050
 
 
2051
* When streaming content between ``2a`` format repositories, we now clear
 
2052
  caches from earlier versioned files. (So 'revisions' is cleared when we
 
2053
  start reading 'inventories', etc.) This can have a significant impact on
 
2054
  peak memory for initial copies (~200MB). (John Arbash Meinel)
 
2055
 
 
2056
 
 
2057
bzr 2.0.2
 
2058
#########
 
2059
 
 
2060
:Codename: after the scare
 
2061
:2.0.2: 2009-11-02
 
2062
 
 
2063
The second in our "let's keep the stable bugfixes flowing" series. As
 
2064
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
 
2065
changes or features.
 
2066
 
 
2067
Bug Fixes
 
2068
*********
 
2069
 
 
2070
* Avoid "NoneType has no attribute st_mode" error when files disappear
 
2071
  from a directory while it's being read.  (Martin Pool, #446033)
 
2072
 
 
2073
* Content filters are now applied correctly after revert.
 
2074
  (Ian Clatworthy)
 
2075
 
 
2076
* Diff parsing handles "Binary files differ" hunks.  (Aaron Bentley, #436325)
 
2077
 
 
2078
* Fetching from stacked pre-2a repository via a smart server no longer
 
2079
  fails intermittently with "second push failed to complete".
 
2080
  (Andrew Bennetts, #437626)
 
2081
 
 
2082
* Fix typos left after test_selftest refactoring.
 
2083
  (Vincent Ladeuil, Matt Nordhoff, #461149)
 
2084
 
 
2085
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
 
2086
  (Andrew Bennetts, #445171)
 
2087
  
 
2088
* PreviewTree file names are not limited by the encoding of the temp
 
2089
  directory's filesystem. (Aaron Bentley, #436794)
 
2090
 
 
2091
Improvements
 
2092
************
 
2093
 
 
2094
* ``bzr log`` now read-locks branches exactly once, so makes better use of
 
2095
  data caches.  (Andrew Bennetts)
 
2096
 
 
2097
Documentation
 
2098
*************
 
2099
 
 
2100
* Filtered views user documentation upgraded to refer to format 2a
 
2101
  instead of pre-2.0 formats. (Ian Clatworthy)
 
2102
 
 
2103
 
 
2104
bzr 2.1.0b1
 
2105
###########
 
2106
 
 
2107
:Codename: While the cat is away
 
2108
:2.1.0b1: 2009-10-14
 
2109
 
 
2110
This is the first development release in the new split "stable" and
 
2111
"development" series. As such, the release is a snapshot of bzr.dev
 
2112
without creating a release candidate first. This release includes a
 
2113
fair amount of internal changes, with deprecated code being removed,
 
2114
and several new feature developments. People looking for a stable code
 
2115
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
 
2116
present in 2.0.1 are present in 2.1.0b1.
 
2117
 
 
2118
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
 
2119
finer control over the plugin search path via extended BZR_PLUGIN_PATH
 
2120
syntax, visible warnings when extension modules fail to load, and improved
 
2121
error handling during unlocking.
 
2122
 
 
2123
 
 
2124
New Features
 
2125
************
 
2126
 
 
2127
* Bazaar can now send mail through Apple OS X Mail.app. 
 
2128
  (Brian de Alwis)
 
2129
 
 
2130
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
 
2131
  specified in the URL.  Paths starting with a path segment of ``~`` are
 
2132
  relative to the home directory of the user running the server, and paths
 
2133
  starting with ``~user`` are relative to the home directory of the named
 
2134
  user.  For example, for a user "bob" with a home directory of
 
2135
  ``/home/bob``, these URLs are all equivalent:
 
2136
 
 
2137
  * ``bzr+ssh://bob@host/~/repo``
 
2138
  * ``bzr+ssh://bob@host/~bob/repo``
 
2139
  * ``bzr+ssh://bob@host/home/bob/repo``
 
2140
 
 
2141
  If ``bzr serve`` was invoked with a ``--directory`` argument, then no
 
2142
  home directories outside that directory will be accessible via this
 
2143
  method.
 
2144
 
 
2145
  This is a feature of ``bzr serve``, so pre-2.1 clients will
 
2146
  automatically benefit from this feature when ``bzr`` on the server is
 
2147
  upgraded.  (Andrew Bennetts, #109143)
 
2148
 
 
2149
* Extensions can now be compiled if either Cython or Pyrex is available.
 
2150
  Currently Pyrex is preferred, but that may change in the future.
 
2151
  (Arkanes)
 
2152
 
 
2153
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
 
2154
  disable the user, site and core plugin directories.
 
2155
  (Vincent Ladeuil, #412930, #316192, #145612)
 
2156
 
 
2157
Bug Fixes
 
2158
*********
 
2159
 
 
2160
* Bazaar's native protocol code now correctly handles EINTR, which most
 
2161
  noticeably occurs if you break in to the debugger while connected to a
 
2162
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
2163
  'c') and the process continues.  However, note that pressing C-\ in the
 
2164
  shell may still kill the SSH process, which is bug 162509, so you must
 
2165
  sent a signal to the bzr process specifically, for example by typing
 
2166
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
2167
 
 
2168
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
 
2169
  filename will issue a warning and skip over those files.
 
2170
  (Robert Collins, #3918)
 
2171
 
 
2172
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
 
2173
  are present in the working tree. The configuration option ``dpush_strict``
 
2174
  can be used to set the default for this behavior.
 
2175
  (Vincent Ladeuil, #438158)
 
2176
 
 
2177
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
 
2178
  merges are present in the working tree.
 
2179
  (Vincent Ladeuil, #426344)
 
2180
 
 
2181
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
2182
  traceback.  (Martin Pool, #109115)
 
2183
 
 
2184
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
 
2185
  as it is never built. (John Arbash Meinel, #430645)
 
2186
 
 
2187
* Don't restrict the command name used to run the test suite.
 
2188
  (Vincent Ladeuil, #419950)
 
2189
 
 
2190
* ftp transports were built differently when the kerberos python module was
 
2191
  present leading to obscure failures related to ASCII/BINARY modes.
 
2192
  (Vincent Ladeuil, #443041)
 
2193
 
 
2194
* Network streams now decode adjacent records of the same type into a
 
2195
  single stream, reducing layering churn. (Robert Collins)
 
2196
 
 
2197
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
 
2198
  file. (Aaron Bentley, #251532)
 
2199
 
 
2200
* Registry objects should not use iteritems() when asked to use items().
 
2201
  (Vincent Ladeuil, #430510)
 
2202
 
 
2203
* Weave based repositories couldn't be cloned when committers were using
 
2204
  domains or user ids embedding '.sig'. Now they can.
 
2205
  (Matthew Fuller, Vincent Ladeuil, #430868)
 
2206
 
 
2207
Improvements
 
2208
************
 
2209
 
 
2210
* Revision specifiers can now be given in a more DWIM form, without
 
2211
  needing explicit prefixes for specifiers like tags or revision id's.
 
2212
  See ``bzr help revisionspec`` for full details.  (Matthew Fuller)
 
2213
 
 
2214
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if 
 
2215
  compiled extensions can't be loaded.  This typically indicates a
 
2216
  packaging or installation problem.  In this case Bazaar will keep
 
2217
  running using pure-Python versions, but this may be substantially
 
2218
  slower.  The warning can be disabled by setting
 
2219
  ``ignore_missing_extensions = True`` in ``bazaar.conf``.
 
2220
  See also <https://answers.launchpad.net/bzr/+faq/703>.
 
2221
  (Martin Pool, #406113, #430529)
 
2222
 
 
2223
* Secondary errors that occur during Branch.unlock and Repository.unlock
 
2224
  no longer obscure the original error.  These methods now use a new
 
2225
  decorator, ``only_raises``.  This fixes many causes of
 
2226
  ``TooManyConcurrentRequests`` and similar errors.
 
2227
  (Andrew Bennetts, #429747)
 
2228
 
 
2229
Documentation
 
2230
*************
 
2231
 
 
2232
* Describe the new shell-like test feature. (Vincent Ladeuil)
 
2233
 
 
2234
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
2235
  currently supported. (Ian Clatworthy, #422415)
 
2236
 
 
2237
API Changes
 
2238
***********
 
2239
 
 
2240
* ``bzrlib.user_encoding`` has been removed; use
 
2241
  ``bzrlib.osutils.get_user_encoding`` instead.  (Martin Pool)
 
2242
 
 
2243
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
 
2244
  subclasses - the same as python's unittest module. (Robert Collins)
 
2245
  
 
2246
* ``diff._get_trees_to_diff`` has been renamed to 
 
2247
  ``diff.get_trees_and_branches_to_diff``. It is now a public API, and it 
 
2248
  returns the old and new branches. (Gary van der Merwe)
 
2249
 
 
2250
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
 
2251
  (Martin Pool)
 
2252
 
 
2253
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
 
2254
  now defaults to comparing to the basis tree. It now checks for pending
 
2255
  merges too.  ``Merger.check_basis`` has been deprecated and replaced by the
 
2256
  corresponding has_changes() calls. ``Merge.compare_basis``,
 
2257
  ``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
 
2258
  been deprecated.
 
2259
  (Vincent Ladeuil, #440631)
 
2260
 
 
2261
* ``ProgressTask.note`` is deprecated.
 
2262
  (Martin Pool)
 
2263
 
 
2264
Internals
 
2265
*********
 
2266
 
 
2267
* Added ``-Drelock`` debug flag.  It will ``note`` a message every time a
 
2268
  repository or branch object is unlocked then relocked the same way.
 
2269
  (Andrew Bennetts)
 
2270
  
 
2271
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
 
2272
  mallocs while parsing the index (approx 3=>1 mallocs per key read).
 
2273
  This results in a 10% speedup while reading an index.
 
2274
  (John Arbash Meinel)
 
2275
 
 
2276
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
 
2277
  profiling in some situations like callbacks and generators easier.
 
2278
  (Robert Collins)
 
2279
 
 
2280
Testing
 
2281
*******
 
2282
 
 
2283
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
 
2284
  be output for every test. Note that this is very verbose! (Robert Collins)
 
2285
 
 
2286
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
 
2287
  post_mortem to be triggered when a test failure occurs. (Robert Collins)
 
2288
 
 
2289
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
 
2290
  documentation in ``developers/testing.txt`` for details.
 
2291
  (Vincent Ladeuil)
 
2292
 
 
2293
* Some tests could end up with the same id, that was dormant for
 
2294
  a long time.
 
2295
  (Vincent Ladeuil, #442980)
 
2296
 
 
2297
* Stop showing the number of tests due to missing features in the test
 
2298
  progress bar.  (Martin Pool)
 
2299
 
 
2300
* Test parameterisation now does a shallow copy, not a deep copy of the test
 
2301
  to be parameterised. This is not expected to break external use of test
 
2302
  parameterisation, and is substantially faster. (Robert Collins)
 
2303
 
 
2304
* Tests that try to open a bzr dir on an arbitrary transport will now
 
2305
  fail unless they have explicitly permitted the transport via
 
2306
  ``self.permit_url``. The standard test factories such as ``self.get_url``
 
2307
  will permit the urls they provide automatically, so only exceptional
 
2308
  tests should need to do this. (Robert Collins)
 
2309
 
 
2310
* The break-in test no longer cares about clean shutdown of the child,
 
2311
  instead it is happy if the debugger starts up. (Robert  Collins)
 
2312
 
 
2313
* The full test suite is expected to pass when the C extensions are not
 
2314
  present. (Vincent Ladeuil, #430749)
 
2315
 
 
2316
 
 
2317
bzr 2.0.1
 
2318
#########
 
2319
 
 
2320
:Codename: Stability First
 
2321
:2.0.1: 2009-10-14
 
2322
 
 
2323
The first of our new ongoing bugfix-only stable releases has arrived. It
 
2324
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
 
2325
include any of the feature development in the 2.1.0 series.
 
2326
 
 
2327
 
 
2328
Bug Fixes
 
2329
*********
 
2330
 
 
2331
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
 
2332
  filename will issue a warning and skip over those files.
 
2333
  (Robert Collins, #3918)
 
2334
 
 
2335
* bzr will attempt to authenticate with SSH servers that support
 
2336
  ``keyboard-interactive`` auth but not ``password`` auth when using
 
2337
  Paramiko.   (Andrew Bennetts, #433846)
 
2338
 
 
2339
* Fixed fetches from a stacked branch on a smart server that were failing
 
2340
  with some combinations of remote and local formats.  This was causing
 
2341
  "unknown object type identifier 60" errors.  (Andrew Bennetts, #427736)
 
2342
 
 
2343
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
 
2344
  on branches via a smart server.  (Andrew Bennetts, #389413)
 
2345
 
 
2346
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
 
2347
  at the root of a drive. ``osutils._cicp_canonical_relpath`` always
 
2348
  assumed that ``abspath()`` returned a path that did not have a trailing
 
2349
  ``/``, but that is not true when working at the root of the filesystem.
 
2350
  (John Arbash Meinel, Jason Spashett, #322807)
 
2351
 
 
2352
* Hide deprecation warnings for 'final' releases for python2.6.
 
2353
  (John Arbash Meinel, #440062)
 
2354
 
 
2355
* Improve the time for ``bzr log DIR`` for 2a format repositories.
 
2356
  We had been using the same code path as for <2a formats, which required
 
2357
  iterating over all objects in all revisions.
 
2358
  (John Arbash Meinel, #374730)
 
2359
 
 
2360
* Make sure that we unlock the tree if we fail to create a TreeTransform
 
2361
  object when doing a merge, and there is limbo, or pending-deletions
 
2362
  directory.  (Gary van der Merwe, #427773)
 
2363
 
 
2364
* Occasional IndexError on renamed files have been fixed. Operations that
 
2365
  set a full inventory in the working tree will now go via the
 
2366
  apply_inventory_delta code path which is simpler and easier to
 
2367
  understand than dirstates set_state_from_inventory method. This may
 
2368
  have a small performance impact on operations built on _write_inventory,
 
2369
  but such operations are already doing full tree scans, so no radical
 
2370
  performance change should be observed. (Robert Collins, #403322)
 
2371
 
 
2372
* Retrieving file text or mtime from a _PreviewTree has good performance when
 
2373
  there are many changes.  (Aaron Bentley)
 
2374
 
 
2375
* The CHK index pages now use an unlimited cache size. With a limited
 
2376
  cache and a large project, the random access of chk pages could cause us
 
2377
  to download the entire cix file many times.
 
2378
  (John Arbash Meinel, #402623)
 
2379
 
 
2380
* When a file kind becomes unversionable after being added, a sensible
 
2381
  error will be shown instead of a traceback. (Robert Collins, #438569)
 
2382
 
 
2383
Documentation
 
2384
*************
 
2385
 
 
2386
* Improved README. (Ian Clatworthy)
 
2387
 
 
2388
* Improved upgrade documentation for Launchpad branches.
 
2389
  (Barry Warsaw)
 
2390
 
 
2391
 
 
2392
bzr 2.0.0
 
2393
#########
 
2394
 
 
2395
:2.0.0: 2009-09-22
 
2396
:Codename: Instant Karma
 
2397
 
 
2398
This release of Bazaar makes the 2a (previously 'brisbane-core') format
 
2399
the default when new branches or repositories are created.  This format is
 
2400
substantially smaller and faster for many operations.  Most of the work in
 
2401
this release focuses on bug fixes and stabilization, covering both 2a and
 
2402
previous formats.  (See the Upgrade Guide for information on migrating
 
2403
existing projects.)
 
2404
 
 
2405
This release also improves the documentation content and presentation,
 
2406
including adding Windows HtmlHelp manuals.
 
2407
 
 
2408
The Bazaar team decided that 2.0 will be a long-term supported release,
 
2409
with bugfix-only 2.0.x releases based on it, continuing for at least six
 
2410
months or until the following stable release.
 
2411
 
 
2412
Changes from 2.0.0rc2 to final
 
2413
******************************
 
2414
 
 
2415
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
 
2416
  that "want to happen on the 2.0.x stable series" versus things that want
 
2417
  to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
 
2418
  micro = 0.) (John Arbash Meinel)
 
2419
 
 
2420
 
 
2421
bzr 2.0.0rc2
 
2422
############
 
2423
 
 
2424
:2.0.0rc2: 2009-09-10
 
2425
 
 
2426
New Features
 
2427
************
 
2428
 
 
2429
* Added post_commit hook for mutable trees. This allows the keywords
 
2430
  plugin to expand keywords on files changed by the commit.
 
2431
  (Ian Clatworthy, #408841)
 
2432
 
 
2433
Bug Fixes
 
2434
*********
 
2435
 
 
2436
* Bazaar's native protocol code now correctly handles EINTR, which most
 
2437
  noticeably occurs if you break in to the debugger while connected to a
 
2438
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
2439
  'c') and the process continues.  However, note that pressing C-\ in the
 
2440
  shell may still kill the SSH process, which is bug 162509, so you must
 
2441
  sent a signal to the bzr process specifically, for example by typing
 
2442
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
2443
 
 
2444
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
 
2445
  longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
 
2446
  (Robert Collins, #416732)
 
2447
 
 
2448
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
 
2449
  format" (John Arbash Meinel, #424392)
 
2450
 
 
2451
* ``bzr log stacked-branch`` shows the full log including
 
2452
  revisions that are in the fallback repository. (Regressed in 2.0rc1).
 
2453
  (John Arbash Meinel, #419241)
 
2454
 
 
2455
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
2456
  traceback.  (Martin Pool, #109115)
 
2457
 
 
2458
* Conversion to 2a will create a single pack for all the new revisions (as
 
2459
  long as it ran without interruption). This improves both ``bzr upgrade``
 
2460
  and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
 
2461
  The autopack logic that occurs every 100 revisions during local
 
2462
  conversions was not returning that pack's identifier, which resulted in
 
2463
  the partial packs created during the conversion not being consolidated
 
2464
  at the end of the conversion process. (Robert Collins, #423818)
 
2465
 
 
2466
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
 
2467
  Groups that are seen as 'underutilized' will be repacked on-the-fly.
 
2468
  This means that when the source is fully packed, there is minimal
 
2469
  overhead during the fetch, but if the source is poorly packed the result
 
2470
  is a fairly well packed repository (not as good as 'bzr pack' but
 
2471
  good-enough.) (Robert Collins, John Arbash Meinel, #402652)
 
2472
 
 
2473
* Fix a potential segmentation fault when doing 'log' of a branch that had
 
2474
  ghosts in its mainline.  (Evaluating None as a tuple is bad.)
 
2475
  (John Arbash Meinel, #419241)
 
2476
 
 
2477
* ``groupcompress`` sort order is now more stable, rather than relying on
 
2478
  ``topo_sort`` ordering. The implementation is now
 
2479
  ``KnownGraph.gc_sort``. (John Arbash Meinel)
 
2480
 
 
2481
* Local data conversion will generate correct deltas. This is a critical
 
2482
  bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
 
2483
  converting repositories. (Robert Collins, #422849)
 
2484
 
 
2485
* Network streams now decode adjacent records of the same type into a
 
2486
  single stream, reducing layering churn. (Robert Collins)
 
2487
 
 
2488
* Prevent some kinds of incomplete data from being committed to a 2a
 
2489
  repository, such as revisions without inventories, a missing chk_bytes
 
2490
  record for an inventory, or a missing text referenced by an inventory.
 
2491
  (Andrew Bennetts, #423506, #406687)
 
2492
  
 
2493
Documentation
 
2494
*************
 
2495
 
 
2496
* Fix assertion error about "_remember_remote_is_before" when pushing to
 
2497
  older smart servers.
 
2498
  (Andrew Bennetts, #418931)
 
2499
 
 
2500
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
2501
  currently supported. (Ian Clatworthy, #422415)
 
2502
 
 
2503
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
 
2504
  user documentation. The HTML documentation is better broken up into
 
2505
  topics. (Ian Clatworthy)
 
2506
 
 
2507
* The developer and foreign language documents are now separated
 
2508
  out so that searching in the HTML and CHM files produces more
 
2509
  useful results. (Ian Clatworthy)
 
2510
 
 
2511
* The main table of contents now provides links to the new Migration Docs
 
2512
  and Plugins Guide. (Ian Clatworthy)
 
2513
 
 
2514
 
 
2515
bzr 2.0.0rc1
 
2516
############
 
2517
 
 
2518
:Codename: no worries
 
2519
:2.0.0rc1: 2009-08-26
 
2520
 
 
2521
Compatibility Breaks
 
2522
********************
 
2523
 
 
2524
* The default format for bzr is now ``2a``. This format brings many
 
2525
  significant performance and size improvements. bzr can pull from
 
2526
  any existing repository into a ``2a`` one, but can only transfer
 
2527
  from ``2a`` into ``rich-root`` repositories. The Upgrade guide
 
2528
  has more information about this change. (Robert Collins)
 
2529
 
 
2530
* On Windows auto-detection of Putty's plink.exe is disabled.
 
2531
  Default SSH client for Windows is paramiko. User still can force
 
2532
  usage of plink if explicitly set environment variable BZR_SSH=plink.
 
2533
  (#414743, Alexander Belchenko)
 
2534
 
 
2535
New Features
 
2536
************
 
2537
 
 
2538
* ``bzr branch --switch`` can now switch the checkout in the current directory
 
2539
  to the newly created branch. (Lukáš Lalinský)
 
2540
 
 
2541
Bug Fixes
 
2542
*********
 
2543
 
 
2544
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
2545
  (Jason Spashett, #76616)
 
2546
 
 
2547
* Fetches were being requested in 'groupcompress' order, but weren't
 
2548
  recombining the groups. Thus they would 'fragment' to get the correct
 
2549
  order, but not 'recombine' to actually benefit from it. Until we get
 
2550
  recombining to work, switching to 'unordered' fetches avoids the
 
2551
  fragmentation. (John Arbash Meinel, #402645)
 
2552
 
 
2553
* Fix a pycurl related test failure on karmic by recognizing an error
 
2554
  raised by newer versions of pycurl.
 
2555
  (Vincent Ladeuil, #306264)
 
2556
 
 
2557
* Fix a test failure on karmic by making a locale test more robust.
 
2558
  (Vincent Ladeuil, #413514)
 
2559
 
 
2560
* Fix IndexError printing CannotBindAddress errors.
 
2561
  (Martin Pool, #286871)
 
2562
 
 
2563
* Fix "Revision ... not present" errors when upgrading stacked branches,
 
2564
  or when doing fetches from a stacked source to a stacked target.
 
2565
  (Andrew Bennetts, #399140)
 
2566
 
 
2567
* ``bzr branch`` of 2a repositories over HTTP is much faster.  bzr now
 
2568
  batches together small fetches from 2a repositories, rather than
 
2569
  fetching only a few hundred bytes at a time.
 
2570
  (Andrew Bennetts, #402657)
 
2571
 
 
2572
Improvements
 
2573
************
 
2574
 
 
2575
* A better description of the platform is shown in crash tracebacks, ``bzr
 
2576
  --version`` and ``bzr selftest``.
 
2577
  (Martin Pool, #409137)
 
2578
 
 
2579
* bzr can now (again) capture crash data through the apport library, 
 
2580
  so that a single human-readable file can be attached to bug reports.
 
2581
  This can be disabled by using ``-Dno_apport`` on the command line, or by
 
2582
  putting ``no_apport`` into the ``debug_flags`` section of
 
2583
  ``bazaar.conf``.
 
2584
  (Martin Pool, Robert Collins, #389328)
 
2585
 
 
2586
* ``bzr push`` locally on windows will no longer give a locking error with
 
2587
  dirstate based formats. (Robert Collins)
 
2588
 
 
2589
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
 
2590
  (Robert Collins, #305006)
 
2591
 
 
2592
* Commit of specific files no longer prevents using the iter_changes
 
2593
  codepath. On 2a repositories, commit of specific files should now be as
 
2594
  fast, or slightly faster, than a full commit. (Robert Collins)
 
2595
 
 
2596
* The internal core code that handles specific file operations like
 
2597
  ``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
 
2598
  include the parent directories if they have altered, and when a
 
2599
  directory stops being a directory its children are always included. This
 
2600
  fixes a number of causes for ``InconsistentDelta`` errors, and permits
 
2601
  faster commit of specific paths. (Robert Collins, #347649)
 
2602
 
 
2603
Documentation
 
2604
*************
 
2605
 
 
2606
* New developer documentation for content filtering.
 
2607
  (Martin Pool)
 
2608
 
 
2609
API Changes
 
2610
***********
 
2611
 
 
2612
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
2613
  classes changed to manage lock lifetime of the trees they open in a way
 
2614
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
2615
 
 
2616
Testing
 
2617
*******
 
2618
 
 
2619
bzr 1.18.1
 
2620
##########
 
2621
 
 
2622
:Codename:     nein nein nein!
 
2623
:1.18.1:       2009-09-09
 
2624
 
 
2625
This release fixes two small but worthwhile bugs relevant to users on
 
2626
Microsoft Windows: some commands that failed on with locking errors will
 
2627
now work, and a bug that caused poor performance after committing a file
 
2628
with line-ending conversion has now been fixed.  It also fixes a bug in
 
2629
pushing to older servers.
 
2630
 
 
2631
Bug Fixes
 
2632
*********
 
2633
 
 
2634
* Fixed a problem where using content filtering and especially end-of-line
 
2635
  conversion will commit too many copies a file.
 
2636
  (Martin Pool, #415508)
 
2637
 
 
2638
* Fix assertion error about ``_remember_remote_is_before`` in
 
2639
  ``set_tags_bytes`` when pushing to older smart servers.  
 
2640
  (Andrew Bennetts, Alexander Belchenko, #418931)
 
2641
 
 
2642
Improvements
 
2643
************
 
2644
 
 
2645
* ``bzr push`` locally on Windows will no longer give a locking error with
 
2646
  dirstate based formats. (Robert Collins)
 
2647
 
 
2648
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
 
2649
  (Robert Collins, #305006)
 
2650
 
 
2651
API Changes
 
2652
***********
 
2653
 
 
2654
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
2655
  classes changed to manage lock lifetime of the trees they open in a way
 
2656
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
2657
 
 
2658
* ``Tree.path_content_summary`` may return a size of None, when called on
 
2659
  a tree with content filtering where the size of the canonical form
 
2660
  cannot be cheaply determined.  (Martin Pool)
 
2661
 
 
2662
* When manually creating transport servers in test cases, a new helper
 
2663
  ``TestCase.start_server`` that registers a cleanup and starts the server
 
2664
  should be used. (Robert Collins)
 
2665
 
 
2666
bzr 1.18
 
2667
########
 
2668
 
 
2669
Compatibility Breaks
 
2670
********************
 
2671
 
 
2672
* Committing directly to a stacked branch from a lightweight checkout will
 
2673
  no longer work. In previous versions this would appear to work but would
 
2674
  generate repositories with insufficient data to create deltas, leading
 
2675
  to later errors when branching or reading from the repository.
 
2676
  (Robert Collins, bug #375013)
 
2677
 
 
2678
New Features
 
2679
************
 
2680
 
 
2681
Bug Fixes
 
2682
*********
 
2683
 
 
2684
* Fetching from 2a branches from a version-2 bzr protocol would fail to
 
2685
  copy the internal inventory pages from the CHK store. This cannot happen
 
2686
  in normal use as all 2a compatible clients and servers support the
 
2687
  version-3 protocol, but it does cause test suite failures when testing
 
2688
  downlevel protocol behaviour. (Robert Collins)
 
2689
 
 
2690
* Fix a test failure on karmic by making a locale test more robust.
 
2691
  (Vincent Ladeuil, #413514)
 
2692
 
 
2693
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
 
2694
  fully packed 2a repository.  (Andrew Bennetts, #382463)
 
2695
 
 
2696
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
2697
  (Jason Spashett, #76616)
 
2698
 
 
2699
* Properly handle fetching into a stacked branch while converting the
 
2700
  data, especially when there are also ghosts. The code was filling in
 
2701
  parent inventories incorrectly, and also not handling when one of the
 
2702
  parents was a ghost. (John Arbash Meinel, #402778, #412198)
 
2703
 
 
2704
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
 
2705
  inventory pages when appropriate (by falling back to the vfs stream
 
2706
  source).  (Andrew Bennetts, #406686)
 
2707
 
 
2708
* StreamSource generates rich roots from non-rich root sources correctly
 
2709
  now.  (Andrew Bennetts, #368921)
 
2710
 
 
2711
* When deciding whether a repository was compatible for upgrading or
 
2712
  fetching, we previously incorrectly checked the default repository
 
2713
  format for the bzrdir format, rather than the format that was actually
 
2714
  present on disk.  (Martin Pool, #408824)
 
2715
 
 
2716
Improvements
 
2717
************
 
2718
 
 
2719
* A better description of the platform is shown in crash tracebacks, ``bzr
 
2720
  --version`` and ``bzr selftest``.
 
2721
  (Martin Pool, #409137)
 
2722
 
 
2723
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
 
2724
  smart server are more efficient now.  They send inventory deltas rather
 
2725
  than full inventories.  The smart server has two new requests,
 
2726
  ``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
 
2727
  support this.  (Andrew Bennetts, #374738, #385826)
 
2728
 
 
2729
* Extracting the full ancestry and computing the ``merge_sort`` is now
 
2730
  significantly faster. This effects things like ``bzr log -n0``. (For
 
2731
  example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
 
2732
  (John Arbash Meinel)
 
2733
 
 
2734
Documentation
 
2735
*************
 
2736
 
 
2737
API Changes
 
2738
***********
 
2739
 
 
2740
Internals
 
2741
*********
 
2742
 
 
2743
* ``-Dstrict_locks`` can now be used to check that read and write locks
 
2744
  are treated properly w.r.t. exclusivity. (We don't try to take an OS
 
2745
  read lock on a file that we already have an OS write lock on.) This is
 
2746
  now set by default for all tests, if you have a test which cannot be
 
2747
  fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
 
2748
  compatibility knob. (John Arbash Meinel)
 
2749
 
 
2750
* InterDifferingSerializer is now only used locally.  Other fetches that
 
2751
  would have used InterDifferingSerializer now use the more network
 
2752
  friendly StreamSource, which now automatically does the same
 
2753
  transformations as InterDifferingSerializer.  (Andrew Bennetts)
 
2754
 
 
2755
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
 
2756
  are implemented in pyrex and significantly faster. This is exposed along
 
2757
  with ``CombinedGraphIndex.find_ancestry()`` as
 
2758
  ``VersionedFiles.get_known_graph_ancestry(keys)``.
 
2759
  (John Arbash Meinel)
 
2760
 
 
2761
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
 
2762
  protocols. (Robert Collins)
 
2763
 
 
2764
* The index code now has some specialized routines to extract the full
 
2765
  ancestry of a key in a more efficient manner.
 
2766
  ``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
 
2767
  bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
 
2768
  Arbash Meinel)
 
2769
 
 
2770
Testing
 
2771
*******
 
2772
 
 
2773
* Install the test ssl certificate and key so that installed bzr
 
2774
  can run the https tests. (Denys Duchier, #392401)
 
2775
  
 
2776
 
 
2777
bzr 1.18rc1
 
2778
###########
 
2779
 
 
2780
:Codename: little traveller
 
2781
:1.18:    2009-08-20
 
2782
:1.18rc1: 2009-08-10
 
2783
 
 
2784
This release of Bazaar marches on towards the 2.0 release in which the 2a
 
2785
'brisbane-core' format becomes generally recommended.  Most of the work in
 
2786
this release now focusses on bug fixes and stabilization, covering both 2a
 
2787
and previous formats.  There is a new text-mode interactive merge feature,
 
2788
a new guide to migration to 2a format in the user documentation, and
 
2789
pushing branches to a smart server is now much faster.  
 
2790
 
 
2791
The Bazaar team decided that 2.0 will be a long-term supported release,
 
2792
with bugfix-only releases based on it continuing for at least six months
 
2793
or until the following stable release.
 
2794
 
 
2795
There are no changes from 1.18rc1 to 1.18.
 
2796
 
 
2797
New Features
 
2798
************
 
2799
 
 
2800
* ``bzr merge --interactive`` applies a user-selected portion of the
 
2801
  merge.  The UI is similar to ``shelve``.  (Aaron Bentley)
 
2802
 
 
2803
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
 
2804
  ``--unstacked`` to change stacking of a branch.
 
2805
  (Martin Pool, #391411)
 
2806
 
 
2807
Bug Fixes
 
2808
*********
 
2809
 
 
2810
* Annotating on a stacked branch will now succeed in simple scenarios.
 
2811
  There are still some complex scenarios where it will fail (bug #399884)
 
2812
  (John Arbash Meinel, #393366)
 
2813
 
 
2814
* A progress bar is no longer left dangling when ``bzr selftest``
 
2815
  completes, and the progress bar updates with zero latency so the
 
2816
  displayed test name is always the one that's actually running.
 
2817
  (Martin Pool, #123688)
 
2818
 
 
2819
* Authenticating against an ssh server now uses ``auth_none`` to determine
 
2820
  if password authentication is even supported. This fixes a bug where
 
2821
  users would be prompted for a launchpad password, even though launchpad
 
2822
  only supports publickey authentication. (John Arbash Meinel, #375867)
 
2823
 
 
2824
* BranchBuilder now accepts timezone to avoid test failures in countries far
 
2825
  from GMT. (Vincent Ladeuil, #397716)
 
2826
 
 
2827
* ``bzr commit`` no longer saves the unversioning of missing files until
 
2828
  the commit has completed on the branch. This means that aborting a
 
2829
  commit that found a missing file will leave the tree unedited.
 
2830
  (Robert Collins, #282402)
 
2831
 
 
2832
* ``bzr mv`` no longer takes out branch locks, which allows it to work
 
2833
  when the branch is readonly. (Robert Collins, #216541)
 
2834
 
 
2835
* ``bzr revert .`` no longer generates an InconsistentDelta error when
 
2836
  there are missing subtrees. (Robert Collins, #367632)
 
2837
 
 
2838
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
 
2839
  do to internal changes necessary to support this, older clients will
 
2840
  fail when trying to insert them. For newer clients, the bundle can be
 
2841
  used to apply the changes to any rich-root compatible format.
 
2842
  (John Arbash Meinel, #393349)
 
2843
 
 
2844
* Cope with FTP servers that don't support restart/append by falling back
 
2845
  to reading and then rewriting the whole file, such as TahoeLAFS.  (This
 
2846
  fallback may be slow for some access patterns.)  (Nils Durner, #294709)
 
2847
 
 
2848
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
 
2849
  external diff client. This at least allows supporting filenames that are
 
2850
  not ascii, but are present in the current locale. Ideally we would be
 
2851
  able to pass the Unicode path, but that would be client dependent.
 
2852
  (John Arbash Meinel, #382709)
 
2853
 
 
2854
* Fix a compile bug on Solaris having to do with const and
 
2855
  pointer-to-pointers. (John Arbash Meinel, #408441)
 
2856
 
 
2857
* Fixed a NameError that occurs when merging or pulling from a URL that
 
2858
  causes a redirection loop when bzr tries to read a URL as a bundle.
 
2859
  (Andrew Bennetts, #400847)
 
2860
 
 
2861
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
 
2862
  running send and similar commands on 2a formats.
 
2863
  (Martin Pool, #408201)
 
2864
  
 
2865
* Fix crash in some invocations of ``bzr status`` in format 2a.
 
2866
  (Martin Pool, #403523)
 
2867
 
 
2868
* Fixed export to existing directory: if directory is empty then export 
 
2869
  will succeed, otherwise it fails with error.
 
2870
  (Alexander Belchenko, #406174)
 
2871
 
 
2872
* Fixed spurious "Source branch does not support stacking" warning when
 
2873
  pushing. (Andrew Bennetts, #388908)
 
2874
 
 
2875
* Fixed spurious transport activity indicator appearing while tests are
 
2876
  running.  (Martin Pool, #343532)
 
2877
 
 
2878
* Merge now correctly handles empty right-hand revision specs.
 
2879
  (Aaron Bentley, #333961)
 
2880
 
 
2881
* Renames to lexographically lower basenames in trees that have never been
 
2882
  committed to will no longer corrupt the dirstate. This was caused by an
 
2883
  bug in the dirstate update_minimal method. (Robert Collins, #395556)
 
2884
 
 
2885
* Requests for unknown methods no longer cause the smart server to log
 
2886
  lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
 
2887
  ``do_end``.  (Andrew Bennetts, #338561)
 
2888
 
 
2889
* Shelve will not shelve the initial add of the tree root.  (Aaron Bentley)
 
2890
 
 
2891
* Streaming from bzr servers where there is a chain of stacked branches
 
2892
  (A stacked on B stacked on C) will now work. (Robert Collins, #406597)
 
2893
 
 
2894
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
 
2895
  always forces progress bars either on or off respectively.  Otherwise,
 
2896
  they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
 
2897
  bzr always uses the 'text' user interface when run as a command, so
 
2898
  ``BZR_USE_TEXT_UI`` is no longer needed.
 
2899
  (Martin Pool, #339385, #387717)
 
2900
 
 
2901
* The optional ``_knit_load_data_pyx`` C extension was never being
 
2902
  imported.  This caused significant slowdowns when reading data from
 
2903
  repositories.  (Andrew Bennetts, #405653)
 
2904
  
 
2905
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
 
2906
  supported at the moment on workingtree formats that can do content
 
2907
  filtering.  (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
 
2908
  bzr now says so, rather than just ignoring the option.  (Martin Pool)
 
2909
 
 
2910
* There was a bug in ``osutils.relpath`` that was only triggered on
 
2911
  Windows. Essentially if you were at the root of a drive, and did
 
2912
  something to a branch/repo on another drive, we would go into an
 
2913
  infinite loop while trying to find a 'relative path'.
 
2914
  (John Arbash Meinel, #394227)
 
2915
 
 
2916
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
 
2917
  were present in a parent tree but renamed in the working tree.
 
2918
  (Robert Collins, #187207)
 
2919
 
 
2920
Improvements
 
2921
************
 
2922
 
 
2923
* Can now rename/move files even if they have been removed from the inventory.
 
2924
  (Marius Kruger)
 
2925
 
 
2926
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
 
2927
  faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
 
2928
  than VFS methods.  For example, pushes of small branches with tags take
 
2929
  11 rather than 18 smart server requests.  (Andrew Bennetts, #398608)
 
2930
 
 
2931
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
 
2932
  the same way that sending Ctrl-\\ does on other platforms.
 
2933
  (John Arbash Meinel)
 
2934
 
 
2935
Documentation
 
2936
*************
 
2937
 
 
2938
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
 
2939
 
 
2940
API Changes
 
2941
***********
 
2942
 
 
2943
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
 
2944
  need to subclass or create a specific class, or better yet the existing
 
2945
  ``make_ui_for_terminal``.  ``SilentUIFactory`` is clarified to do no
 
2946
  user interaction at all, rather than trying to read from stdin but not
 
2947
  writing any output, which would be strange if reading prompts or
 
2948
  passwords.  (Martin Pool)
 
2949
 
 
2950
* New TransformPreview.commit() allows committing without a working tree.
 
2951
  (Aaron Bentley)
 
2952
 
 
2953
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
 
2954
  (Martin Pool)
 
2955
 
 
2956
* ProgressTasks now prefer to talk direct to their ProgressView not to the
 
2957
  UIFactory. 
 
2958
  (Martin Pool)
 
2959
 
 
2960
* ``WorkingTree._check`` now requires a references dict with keys matching
 
2961
  those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
 
2962
 
 
2963
Internals
 
2964
*********
 
2965
 
 
2966
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
 
2967
  reading the entries along the path, reducing work to lookup ids from
 
2968
  paths. (Robert Collins)
 
2969
 
 
2970
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
 
2971
  as new a key which was already mapped. (Robert Collins)
 
2972
 
 
2973
* Inventory delta application catches more cases of corruption and can
 
2974
  prevent corrupt deltas from affecting consistency of data structures on
 
2975
  disk. (Robert Collins)
 
2976
 
 
2977
* --subunit support now adds timestamps if the subunit version supports
 
2978
  it. (Robert Collins)
 
2979
 
 
2980
* The Windows all-in-one installer now bundles the PyQt image format
 
2981
  plugins, which allows previewing more images as part of 'qdiff'.
 
2982
  (Alexander Belchenko)
 
2983
 
 
2984
 
 
2985
Testing
 
2986
*******
 
2987
 
 
2988
* Merge directive cherrypick tests must use the same root id.
 
2989
  (Martin Pool, #409684)
 
2990
 
 
2991
* Spurious failure in ``check`` tests on rich-root formats fixed.
 
2992
  (Martin Pool, #408199)
 
2993
 
 
2994
* The ``bzrlib.tests.TextTestRunner`` will no longer call
 
2995
  ``countTestsCases`` on the test being run. Progress information is
 
2996
  instead handled by having the test passed in call ``result.progress``
 
2997
  before running its contents. This improves the behaviour when using
 
2998
  ``TextTestRunner`` with test suites that don't support
 
2999
  ``countTestsCases``. (Robert Collins)
 
3000
 
 
3001
 
 
3002
bzr 1.17.1 (unreleased)
 
3003
#######################
 
3004
 
 
3005
Bug Fixes
 
3006
*********
 
3007
 
 
3008
* The optional ``_knit_load_data_pyx`` C extension was never being
 
3009
  imported.  This caused significant slowdowns when reading data from
 
3010
  knit format repositories.  (Andrew Bennetts, #405653)
 
3011
  
 
3012
 
 
3013
bzr 1.17
 
3014
########
 
3015
:Codename: so-late-its-brunch
 
3016
:1.17rc1: 2009-07-13
 
3017
:1.17: 2009-07-20
 
3018
 
 
3019
 
 
3020
Bazaar continues to blaze a straight and shining path to the 2.0 release and
 
3021
the elevation of the ``2a`` beta format to the full glory of "supported and
 
3022
stable".
 
3023
 
 
3024
Highlights in this release include greatly reduced memory consumption during
 
3025
commits, faster ``ls``, faster ``annotate``, faster network operations if
 
3026
you're specifying a revision number and the final destruction of those
 
3027
annoying progress bar artifacts.
 
3028
 
 
3029
 
 
3030
Changes from 1.17rc1 to 1.17final
 
3031
*********************************
 
3032
 
 
3033
* Change an extension to call the python ``frozenset()`` rather than the C
 
3034
  api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
 
3035
  C api. (John Arbash Meinel, #399366)
 
3036
 
 
3037
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
 
3038
  ``tools/generate_docs.py`` to allow everything to be built on Windows.
 
3039
  (John Arbash Meinel, #399356)
 
3040
 
 
3041
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
 
3042
  directory before serving it. (Andrew Bennetts, #400535)
 
3043
 
 
3044
 
 
3045
Compatibility Breaks
 
3046
********************
 
3047
 
 
3048
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
 
3049
  instead of "product" which is the correct Launchpad terminology.  The
 
3050
  --product option is deprecated and users should switch to using --project.
 
3051
  (Neil Martinsen-Burrell, #238764)
 
3052
 
 
3053
 
 
3054
New Features
 
3055
************
 
3056
 
 
3057
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
 
3058
  are present in the working tree (if one is present) and no revision is
 
3059
  specified. The configuration option ``push_strict`` can be used to set the
 
3060
  default for this behavior.  (Vincent Ladeuil, #284038, #322808, #65286)
 
3061
 
 
3062
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
 
3063
  show revision info for the working tree instead of the branch.
 
3064
  (Matthew Fuller, John Arbash Meinel)
 
3065
 
 
3066
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
 
3067
  are present in the working tree and no revision is specified. The
 
3068
  configuration option ``send_strict`` can be used to set the default for this
 
3069
  behavior.
 
3070
  (Vincent Ladeuil, #206577)
 
3071
 
 
3072
* ``bzr switch --create-branch/-b`` can now be used to create and switch
 
3073
  to a new branch. Supplying a name without a ``/`` will create the branch
 
3074
  relative to the existing branch. (similar to how ``bzr switch name``
 
3075
  works when the branch already exists.) (John Arbash Meinel)
 
3076
 
 
3077
 
 
3078
Bug Fixes
 
3079
*********
 
3080
 
 
3081
* Accept uppercase "Y/N" to prompts such as from break lock. 
 
3082
  (#335182, Tim Powell, Martin Pool)
 
3083
 
 
3084
* Add documentation about diverged branches and how to fix them in the
 
3085
  centralized workflow with local commits.  Mention ``bzr help
 
3086
  diverged-branches`` when a push fails because the branches have
 
3087
  diverged.  (Neil Martinsen-Burrell, #269477)
 
3088
 
 
3089
* Annotate would sometimes 'latch on' to trivial lines, causing important
 
3090
  lines to be incorrectly annotated. (John Arbash Meinel, #387952)
 
3091
 
 
3092
* Automatic format upgrades triggered by default stacking policies on a
 
3093
  1.16rc1 (or later) smart server work again.
 
3094
  (Andrew Bennetts, #388675)
 
3095
 
 
3096
* Avoid progress bar artifacts being left behind on the screen.
 
3097
  (Martin Pool, #321935)
 
3098
 
 
3099
* Better message in ``bzr split`` error suggesting a rich root format.
 
3100
  (Neil Martinsen-Burrell, #220067)
 
3101
 
 
3102
* ``Branch.set_append_revisions_only`` now works with branches on a smart
 
3103
  server. (Andrew Bennetts, #365865)
 
3104
 
 
3105
* By default, ``bzr branch`` will fail if the target directory exists, but
 
3106
  does not already have a control directory.  The flag ``--use-existing-dir``
 
3107
  will allow operation to proceed.  (Alexander Belchenko, #307554)
 
3108
 
 
3109
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
 
3110
  (Ian Clatworthy)
 
3111
 
 
3112
* Fetch between repositories does not error if they have inconsistent data
 
3113
  that should be irrelevant to the fetch operation. (Aaron Bentley)
 
3114
 
 
3115
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout 
 
3116
  of a remote repository.
 
3117
  (Jelmer Vernooij, #332194)
 
3118
 
 
3119
* Fix bug in decoding v3 smart server messages when receiving multiple
 
3120
  lots of excess bytes after an end-of-message.
 
3121
  (Andrew Bennetts)
 
3122
 
 
3123
* Force deletion of readonly files during merge, update and other tree
 
3124
  transforms.
 
3125
  (Craig Hewetson, Martin Pool, #218206)
 
3126
 
 
3127
* Force socket shutdown in threaded http test servers to avoid client hangs
 
3128
  (pycurl).  (Vincent Ladeuil, #383920).
 
3129
 
 
3130
* ``LRUCache`` will maintain the linked list pointers even if a nodes
 
3131
  cleanup function raises an exception. (John Arbash Meinel, #396838)
 
3132
 
 
3133
* Progress bars are now suppressed again when the environment variable
 
3134
  ``BZR_PROGRESS_BAR`` is set to ``none``.
 
3135
  (Martin Pool, #339385)
 
3136
 
 
3137
* Reduced memory consumption during ``bzr commit`` of large files. For
 
3138
  pre 2a formats, should be down to ~3x the size of a file.
 
3139
  For ``--2a`` format repositories, it is down to the size of the file
 
3140
  content plus the size of the compressed text.  Related to bug #109114.
 
3141
  (John Arbash Meinel)
 
3142
 
 
3143
* Set hidden attribute on .bzr directory below unicode path should never
 
3144
  fail with error. The operation should succeed even if bzr unable to set 
 
3145
  the attribute.  (Alexander Belchenko, related to bug #335362).
 
3146
  
 
3147
* Stacking will no longer accept requests to stack on the same
 
3148
  branch/repository. Existing branches that incorrectly reference the same
 
3149
  repository in a stacking configuration will now raise
 
3150
  UnstackableLocationError when the branch is opened. This can be fixed by
 
3151
  removing the stacking location inside ``.bzr/branch``.
 
3152
  (Robert Collins, #376243)
 
3153
 
 
3154
* The ``log+`` decorator, useful in debugging or profiling, could cause
 
3155
  "AttributeError: 'list' object has no attribute 'next'".  This is now
 
3156
  fixed.  The log decorator no longer shows the elapsed time or transfer
 
3157
  rate because they're available in the log prefixes and the transport
 
3158
  activity display respectively.
 
3159
  (Martin Pool, #340347)
 
3160
 
 
3161
* Unshelve works correctly when multiple zero-length files are present on
 
3162
  the shelf. (Aaron Bentley, #363444)
 
3163
 
 
3164
* Progress bars no longer show the network transport scheme or direction.
 
3165
  (Martin Pool)
 
3166
 
 
3167
* launchpad-login now respects the 'verbose' option.
 
3168
  (Jonathan Lange, #217031)
 
3169
 
 
3170
 
 
3171
Internals
 
3172
*********
 
3173
 
 
3174
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
 
3175
  possible to write a deprecation wrapper, but the variable will be
 
3176
  removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
 
3177
  instead. (Alexander Belchenko)
 
3178
 
 
3179
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
 
3180
  three new hook points: ``get_command``, ``get_missing_command`` and
 
3181
  ``list_commands``, which allow just-in-time command name provision
 
3182
  rather than requiring all command names be known a-priori.
 
3183
  (Robert Collins)
 
3184
 
 
3185
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
 
3186
  and can read path to wordpad.exe. (Alexander Belchenko, #392046)
 
3187
 
 
3188
* ``graph.KnownGraph`` has been added. This is a class that can give
 
3189
  answers to ``heads()`` very quickly. However, it has the assumption that
 
3190
  the whole graph has already been loaded. This is true during
 
3191
  ``annotate`` so it is used there with good success (as much as 2x faster
 
3192
  for files with long ancestry and 'cherrypicked' changes.)
 
3193
  (John Arbash Meinel, Vincent Ladeuil)
 
3194
 
 
3195
* OS file locks are now taken out using ``CreateFile`` rather than
 
3196
  ``LockFileEx`` on Windows. The locking remains exclusive with
 
3197
  ``LockFileEx`` but now it also works on older versions of Windows (such
 
3198
  as Win98). (Martin <gzlist>)
 
3199
 
 
3200
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
 
3201
  than the ``Packer`` code. The user visible change is that we now
 
3202
  properly fetch the minimum number of texts for non-smart fetching.
 
3203
  (John Arbash Meinel)
 
3204
 
 
3205
 
 
3206
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
 
3207
  the repository as a single string, rather than a list of lines. This can
 
3208
  improve memory overhead and performance of committing large files.
 
3209
  (Currently a private api, used only by commit). (John Arbash Meinel)
 
3210
 
 
3211
 
 
3212
Improvements
 
3213
************
 
3214
 
 
3215
* ``bzr annotate`` can now be significantly faster. The time for
 
3216
  ``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
 
3217
  histories and lots of 'duplicate insertions' will be improved more than
 
3218
  others. (John Arbash Meinel, Vincent Ladeuil)
 
3219
 
 
3220
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
 
3221
  to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
 
3222
  substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
 
3223
 
 
3224
* Improve "Path(s) are not versioned" error reporting for some commands.
 
3225
  (Benoît PIERRE)
 
3226
 
 
3227
* Initial commit performance in ``--2a`` repositories has been improved by
 
3228
  making it cheaper to build the initial CHKMap. (John Arbash Meinel)
 
3229
 
 
3230
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
 
3231
  or ``bzr+ssh://`` is now much faster and involves no VFS operations.
 
3232
  This speeds up commands like ``bzr pull -r 123``.  (Andrew Bennetts)
 
3233
 
 
3234
* ``revision-info`` now properly aligns the revnos/revids in the output
 
3235
  and doesn't traceback when given revisions not in the current branch.
 
3236
  Performance is also significantly improved when requesting multiple revs
 
3237
  at once.  (Matthew Fuller, John Arbash Meinel)
 
3238
 
 
3239
* Tildes are no longer escaped by Transports. (Andy Kilner)
 
3240
 
 
3241
 
 
3242
Documentation
 
3243
*************
 
3244
 
 
3245
* Avoid bad text wrapping in generated documentation.  Slightly better
 
3246
  formatting in the user reference.
 
3247
  (Martin Pool, #249908)
 
3248
 
 
3249
* Minor clarifications to the help for End-Of-Line conversions.
 
3250
  (Ian Clatworthy)
 
3251
 
 
3252
API Changes
 
3253
***********
 
3254
 
 
3255
* Removed overspecific error class ``InvalidProgressBarType``.
 
3256
  (Martin Pool)
 
3257
 
 
3258
* The method ``ProgressView._show_transport_activity`` is now
 
3259
  ``show_transport_activity`` because it's part of the contract between
 
3260
  this class and the UI.  (Martin Pool)
 
3261
 
 
3262
 
 
3263
bzr 1.16.1
 
3264
##########
 
3265
 
 
3266
:Released: 2009-06-26
 
3267
 
 
3268
End user testing of the 2a format revealed two serious bugs. The first,
 
3269
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
 
3270
This meant that commits or pushes to 2a-format repositories failed
 
3271
intermittently.
 
3272
 
 
3273
The second bug, #390563, caused the smart server to raise AbsentContentFactory
 
3274
when streaming 2a stacked 2a-format branches. This particularly affected
 
3275
branches stored on Launchpad in the 2a format.
 
3276
 
 
3277
Both of these bugs cause command failures only, neither of them cause data
 
3278
corruption or data loss. And, of course, both of these bugs are now fixed.
 
3279
 
 
3280
Bug Fixes
 
3281
*********
 
3282
 
 
3283
* We now properly request a more minimal set of file texts when fetching
 
3284
  multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
 
3285
 
 
3286
* Repositories using CHK pages (which includes the new 2a format) will no
 
3287
  longer error during commit or push operations when an autopack operation
 
3288
  is triggered. (Robert Collins, #365615)
 
3289
 
 
3290
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
 
3291
  of referenced nodes rather than the *union* to determine what
 
3292
  uninteresting pages we still need to look at. Prior to this,
 
3293
  incrementally pushing to stacked branch would push the minimal data, but
 
3294
  fetching everything would request extra texts. There are some unhandled
 
3295
  cases wrt trees of different depths, but this fixes the common cases.
 
3296
  (Robert Collins, John Arbash Meinel, #390563)
 
3297
 
 
3298
* ``GroupCompress`` repositories now take advantage of the pack hints
 
3299
  parameter to permit cross-format fetching to incrementally pack the
 
3300
  converted data. (Robert Collins)
 
3301
 
 
3302
* ``Repository.commit_write_group`` now returns opaque data about what
 
3303
  was committed, for passing to the ``Repository.pack``. Repositories
 
3304
  without atomic commits will still return None. (Robert Collins)
 
3305
 
 
3306
* ``Repository.pack`` now takes an optional ``hint`` parameter
 
3307
  which will support doing partial packs for repositories that can do
 
3308
  that. (Robert Collins)
 
3309
 
 
3310
* RepositoryFormat has a new attribute 'pack_compresses' which is True
 
3311
  when doing a pack operation changes the compression of content in the
 
3312
  repository. (Robert Collins)
 
3313
 
 
3314
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
 
3315
  ``Repository.pack`` with the hint returned by
 
3316
  ``Repository.commit_write_group`` if the formats were different and the
 
3317
  repository can increase compression by doing a pack operation.
 
3318
  (Robert Collins, #376748)
 
3319
 
 
3320
 
 
3321
bzr 1.16
 
3322
########
 
3323
:Codename: yesterday-in-california
 
3324
:1.16rc1: 2009-06-11
 
3325
:1.16: 2009-06-18
 
3326
 
 
3327
This version of Bazaar contains the beta release of the new ``2a`` repository
 
3328
format, suitable for testing by fearless, advanced users. This format or an
 
3329
updated version of it will become the default format in Bazaar 2.0. Please
 
3330
read the NEWS entry before even thinking about upgrading to the new format.
 
3331
 
 
3332
Also included are speedups for many operations on huge projects, a bug fix for
 
3333
pushing stacked new stacked branches to smart servers and the usual bevy of
 
3334
bug fixes and improvements.
 
3335
 
 
3336
 
 
3337
Changes from 1.16rc1 to 1.16final
 
3338
*********************************
 
3339
 
 
3340
* Fix the nested tree flag check so that upgrade from development formats to
 
3341
  2a can work correctly.
 
3342
  (Jelmer Vernooij, #388727)
 
3343
 
 
3344
* Automatic format upgrades triggered by default stacking policies on a
 
3345
  1.16rc1 (or later) smart server work again.
 
3346
  (Andrew Bennetts, #388675)
 
3347
 
 
3348
 
 
3349
Compatibility Breaks
 
3350
********************
 
3351
 
 
3352
* Display prompt on stderr (instead of stdout) when querying users so
 
3353
  that the output of commands can be safely redirected.
 
3354
  (Vincent Ladeuil, #376582)
 
3355
 
 
3356
 
 
3357
New Features
 
3358
************
 
3359
 
 
3360
* A new repository format ``2a`` has been added.  This is a beta release
 
3361
  of the brisbane-core (aka group-compress) project.  This format now
 
3362
  suitable for wider testing by advanced users willing to deal with some
 
3363
  bugs.  We would appreciate test reports, either positive or negative.
 
3364
  Format 2a is substantially smaller and faster for many operations on
 
3365
  many trees.  This format or an updated version will become the default
 
3366
  in bzr 2.0.
 
3367
 
 
3368
  This is a rich-root format, so this repository format can be used with
 
3369
  bzr-svn.  Bazaar branches in previous non-rich-root formats can be
 
3370
  converted (including by merge, push and pull) to format 2a, but not vice
 
3371
  versa.  We recommend upgrading previous development formats to 2a.
 
3372
 
 
3373
  Upgrading to this format can take considerable time because it expands
 
3374
  and more concisely repacks the full history.
 
3375
 
 
3376
  If you use stacked branches, you must upgrade the stacked branches
 
3377
  before the stacked-on branches.  (See <https://bugs.launchpad.net/bugs/374735>)
 
3378
 
 
3379
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
 
3380
  but using a Revision serializer using bencode rather than XML.
 
3381
  (Jelmer Vernooij, John Arbash Meinel)
 
3382
 
 
3383
* mail_client=claws now supports --body (and message body hooks).  Also uses
 
3384
  configured from address.  (Barry Warsaw)
 
3385
 
 
3386
Improvements
 
3387
************
 
3388
 
 
3389
 
 
3390
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
 
3391
  bugs with stacking and non default formats.)
 
3392
  (John Arbash Meinel, #373455)
 
3393
 
 
3394
* ``--development6-rich-root`` delays generating a delta index for the
 
3395
  first object inserted into a group. This has a beneficial impact on
 
3396
  ``bzr commit`` since each committed texts goes to its own group. For
 
3397
  committing a 90MB file, it drops peak memory by about 200MB, and speeds
 
3398
  up commit from 7s => 4s. (John Arbash Meinel)
 
3399
 
 
3400
* Numerous operations are now faster for huge projects, i.e. those
 
3401
  with a large number of files and/or a large number of revisions,
 
3402
  particularly when the latest development format is used. These
 
3403
  operations (and improvements on OpenOffice.org) include:
 
3404
 
 
3405
  * branch in a shared repository (2X faster)
 
3406
  * branch --no-tree (100X faster)
 
3407
  * diff (2X faster)
 
3408
  * tags (70X faster)
 
3409
 
 
3410
  (Ian Clatworthy)
 
3411
 
 
3412
* Pyrex version of ``bencode`` support. This provides optimized support
 
3413
  for both encoding and decoding, and is now found at ``bzrlib.bencode``.
 
3414
  ``bzrlib.utils.bencode`` is now deprecated.
 
3415
  (Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
 
3416
 
 
3417
 
 
3418
Bug Fixes
 
3419
*********
 
3420
 
 
3421
* Bazaar can now pass attachment files to the mutt email client.
 
3422
  (Edwin Grubbs, #384158)
 
3423
 
 
3424
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
 
3425
  see which files can also be added.  (Jason Spashett, #76616)
 
3426
 
 
3427
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
 
3428
  Also, the ``Branch.revision_history()`` API now works in the same
 
3429
  situation.  (Andrew Bennetts, #380314)
 
3430
  
 
3431
* ``bzr serve`` on Windows no longer displays a traceback simply because a
 
3432
  TCP client disconnected. (Andrew Bennetts)
 
3433
 
 
3434
* Clarify the rules for locking and fallback repositories. Fix bugs in how
 
3435
  ``RemoteRepository`` was handling fallbacks along with the
 
3436
  ``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
 
3437
 
 
3438
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
 
3439
  branch. Not often triggered, because it required ghosts to be part of
 
3440
  the fetched revisions, not in the stacked-on ancestry.
 
3441
  (John Arbash Meinel)
 
3442
 
 
3443
* Fix status and commit to work with content filtered trees, addressing
 
3444
  numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
 
3445
 
 
3446
* Fix problem of "directory not empty" when contending for a lock over
 
3447
  sftp.  (Martin Pool, #340352)
 
3448
 
 
3449
* Fix rule handling so that eol is optional, not mandatory.
 
3450
  (Ian Clatworthy, #379370)
 
3451
 
 
3452
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
 
3453
  bug in the ``BzrDirFormat.initialize_ex`` smart verb.  This is fixed in
 
3454
  1.16, but required changes to the network protocol, so the
 
3455
  ``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
 
3456
  corrected ``BzrDirFormat.initialize_ex_1.16`` verb.  1.15 clients will
 
3457
  still work with a 1.16 server as they will fallback to slower (and
 
3458
  bug-free) methods.
 
3459
  (Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
 
3460
 
 
3461
* Reconcile can now deal with text revisions that originated in revisions 
 
3462
  that are ghosts. (Jelmer Vernooij, #336749)
 
3463
 
 
3464
* Support cloning of branches with ghosts in the left hand side history.
 
3465
  (Jelmer Vernooij, #248540)
 
3466
 
 
3467
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
 
3468
  helpful message to the trace file, unless the temp directory really was
 
3469
  removed (which would be very strange).  Since the diff operation has
 
3470
  succeeded from the user's perspective, no output is written to stderr 
 
3471
  or stdout.  (Maritza Mendez, #363837)
 
3472
 
 
3473
* Translate errors received from a smart server in response to a
 
3474
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
3475
  This was causing tracebacks even for mundane errors like
 
3476
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
3477
 
 
3478
Documentation
 
3479
*************
 
3480
 
 
3481
* Added directory structure and started translation of docs in Russian.
 
3482
  (Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
 
3483
  Volodymyr Kotulskyi)
 
3484
 
 
3485
API Changes
 
3486
***********
 
3487
 
 
3488
* Added osutils.parent_directories(). (Ian Clatworthy)
 
3489
 
 
3490
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
 
3491
  ``TTYProgressBar`` and ``child_progress`` are now deprecated; use
 
3492
  ``ui_factory.nested_progress_bar`` instead.  (Martin Pool)
 
3493
 
 
3494
* ``graph.StackedParentsProvider`` is now a public API, replacing
 
3495
  ``graph._StackedParentsProvider``. The api is now considered stable and ready
 
3496
  for external users. (Gary van der Merwe)
 
3497
 
 
3498
* ``bzrlib.user_encoding`` is deprecated in favor of
 
3499
  ``get_user_encoding``.  (Alexander Belchenko)
 
3500
 
 
3501
* TreeTransformBase no longer assumes that limbo is provided via disk.
 
3502
  DiskTreeTransform now provides disk functionality.  (Aaron Bentley)
 
3503
 
 
3504
Internals
 
3505
*********
 
3506
 
 
3507
* Remove ``weave.py`` script for accessing internals of old weave-format
 
3508
  repositories.  (Martin Pool)
 
3509
 
 
3510
Testing
 
3511
*******
 
3512
 
 
3513
* ``make check`` no longer repeats the test run in ``LANG=C``.
 
3514
  (Martin Pool, #386180)
 
3515
 
 
3516
* The number of cores is now correctly detected on OSX. (John Szakmeister)
 
3517
 
 
3518
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
 
3519
 
 
3520
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
 
3521
 
 
3522
 
 
3523
bzr 1.15
 
3524
########
 
3525
:1.15rc1: 2009-05-16
 
3526
:1.15: 2009-05-22
 
3527
:1.15.1: 2009-06-09
 
3528
 
 
3529
The smart server will no longer raise 'NoSuchRevision' when streaming content
 
3530
with a size mismatch in a reconstructed graph search. New command ``bzr
 
3531
dpush``. Plugins can now define their own annotation tie-breaker when two
 
3532
revisions introduce the exact same line.
 
3533
 
 
3534
Changes from 1.15.1 to 1.15.2
 
3535
*****************************
 
3536
 
 
3537
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
 
3538
  (Alexander Belchenko)
 
3539
 
 
3540
Changes from 1.15final to 1.15.1
 
3541
*********************************
 
3542
 
 
3543
* Translate errors received from a smart server in response to a
 
3544
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
3545
  This was causing tracebacks even for mundane errors like
 
3546
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
3547
 
 
3548
Changes from 1.15rc1 to 1.15final
 
3549
*********************************
 
3550
 
 
3551
* No changes
 
3552
 
 
3553
Compatibility Breaks
 
3554
********************
 
3555
 
 
3556
* ``bzr ls`` is no longer recursive by default. To recurse, use the
 
3557
  new ``-R`` option. The old ``--non-recursive`` option has been removed.
 
3558
  If you alias ``ls`` to ``ls -R``, you can disable recursion using
 
3559
  ``--no-recursive`` instead.  (Ian Clatworthy)
 
3560
 
 
3561
New Features
 
3562
************
 
3563
 
 
3564
* New command ``bzr dpush`` that can push changes to foreign 
 
3565
  branches (svn, git) without setting custom bzr-specific metadata.
 
3566
  (Jelmer Vernooij)
 
3567
 
 
3568
* The new development format ``--development6-rich-root`` now supports
 
3569
  stacking. We chose not to use a new format marker, since old clients
 
3570
  will just fail to open stacked branches, the same as if we used a new
 
3571
  format flag. (John Arbash Meinel, #373455)
 
3572
 
 
3573
* Plugins can now define their own annotation tie-breaker when two revisions
 
3574
  introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
 
3575
  Be aware though that this is temporary, private (as indicated by the leading
 
3576
  '_') and a first step to address the problem. (Vincent Ladeuil, #348459)
 
3577
 
 
3578
* New command ``bzr dpush`` that can push changes to foreign 
 
3579
  branches (svn, git) without setting custom bzr-specific metadata.
 
3580
  (Jelmer Vernooij)
 
3581
 
 
3582
* ``bzr send`` will now check the ``child_submit_format`` setting in
 
3583
  the submit branch to determine what format to use, if none was 
 
3584
  specified on the command-line.  (Jelmer Vernooij)
 
3585
 
 
3586
Improvements
 
3587
************
 
3588
 
 
3589
* -Dhpss output now includes the number of VFS calls made to the remote
 
3590
  server. (Jonathan Lange)
 
3591
 
 
3592
* ``--coverage`` works for code running in threads too.
 
3593
  (Andrew Bennets, Vincent Ladeuil)
 
3594
 
 
3595
* ``bzr pull`` now has a ``--local`` option to only make changes to the
 
3596
  local branch, and not the bound master branch.
 
3597
  (Gary van der Merwe, #194716)
 
3598
 
 
3599
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
 
3600
 
 
3601
Bug Fixes
 
3602
*********
 
3603
 
 
3604
* Adding now works properly when path contains a symbolic link.
 
3605
  (Geoff Bache, #183831)
 
3606
 
 
3607
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
 
3608
 
 
3609
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
 
3610
  line, and the other side modifies the line. (John Arbash Meinel, #328171)
 
3611
 
 
3612
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
 
3613
  (Martin von Gagern, #248932)
 
3614
 
 
3615
* ``bzr send`` works to send emails again using MAPI.
 
3616
  (Neil Martinsen-Burrell, #346998)
 
3617
 
 
3618
* Check for missing parent inventories in StreamSink.  This prevents
 
3619
  incomplete stacked branches being created by 1.13 bzr:// and
 
3620
  bzr+ssh:// clients (which have bug #354036).  Instead, the server now
 
3621
  causes those clients to send the missing records.  (Andrew Bennetts)
 
3622
 
 
3623
* Correctly handle http servers proposing multiple authentication schemes.
 
3624
  (Vincent Ladeuil, #366107)
 
3625
 
 
3626
* End-Of-Line content filters are now loaded correctly.
 
3627
  (Ian Clatworthy, Brian de Alwis, #355280)
 
3628
 
 
3629
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
3630
  longer than 64KiB. (John Arbash Meinel, #364900)
 
3631
 
 
3632
* Fix TypeError in running ``bzr break-lock`` on some URLs.
 
3633
  (Alexander Belchenko, Martin Pool, #365891)
 
3634
 
 
3635
* Non-recursive ``bzr ls`` now works properly when a path is specified.
 
3636
  (Jelmer Vernooij, #357863)
 
3637
 
 
3638
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
 
3639
  (Vincent Ladeuil, #367726)
 
3640
 
 
3641
* Several bugs related to unicode symlinks have been fixed and the test suite
 
3642
  enhanced to better catch regressions for them. (Vincent Ladeuil)
 
3643
 
 
3644
* The smart server will no longer raise 'NoSuchRevision' when streaming
 
3645
  content with a size mismatch in a reconstructed graph search: it assumes
 
3646
  that the client will make sure it is happy with what it got, and this
 
3647
  sort of mismatch is normal for stacked environments.
 
3648
  bzr 1.13.0/1 will stream from unstacked branches only - in that case not
 
3649
  getting all the content expected would be a bug. However the graph
 
3650
  search is how we figured out what we wanted, so a mismatch is both odd
 
3651
  and unrecoverable without starting over, and starting over will end up
 
3652
  with the same data as if we just permitted the mismatch. If data is
 
3653
  gc'd, doing a new search will find only the truncated data, so sending
 
3654
  only the truncated data seems reasonable. bzr versions newer than this
 
3655
  will stream from stacked branches and check the stream to find missing
 
3656
  content in the stacked-on branch, and thus will handle the situation
 
3657
  implicitly.  (Robert Collins, #360791)
 
3658
 
 
3659
* Upgrading to, or fetching into a 'rich-root' format will now correctly
 
3660
  set the root data the same way that reconcile does.
 
3661
  (Robert Collins, #368921)
 
3662
 
 
3663
* Using unicode Windows API to obtain command-line arguments.
 
3664
  (Alexander Belchenko, #375934)
 
3665
 
 
3666
Documentation
 
3667
*************
 
3668
 
 
3669
API Changes
 
3670
***********
 
3671
 
 
3672
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
 
3673
  instead of ``InstallFailed`` when they detect a missing revision.
 
3674
  ``InstallFailed`` itself has been deleted. (Jonathan Lange)
 
3675
 
 
3676
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
 
3677
  arguments from ``osutils.get_unicode_argv()`` which has proper support
 
3678
  for unicode arguments on windows. Further, the supplied arguments are now 
 
3679
  required to be unicode strings, rather than user_encoded strings.
 
3680
  (Alexander Belchenko)
 
3681
 
 
3682
Internals
 
3683
*********
 
3684
 
 
3685
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
 
3686
  class and will call ``_set_parent_location`` after doing unicode 
 
3687
  encoding. (Robert Collins)
 
3688
 
 
3689
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
 
3690
  ``Branch.set_parent_location`` removing further VFS operations.
 
3691
  (Robert Collins)
 
3692
 
 
3693
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
 
3694
  or similar when the dir supports configuration settings. The base class
 
3695
  defaults to None. There is a matching new server verb
 
3696
  ``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
 
3697
  configuration. (Robert Collins)
 
3698
 
 
3699
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
 
3700
  called before the first test is started, ``done`` called after the last
 
3701
  test completes, and a new parameter ``strict``. (Robert Collins)
 
3702
 
 
3703
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
 
3704
  VFS operations are started on a smart server repository. This should not
 
3705
  occur on regular push and pull operations, and is a key indicator for
 
3706
  performance regressions. (Robert Collins)
 
3707
 
 
3708
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
 
3709
  cause mismatched physical locks to cause test errors rather than just
 
3710
  reporting to the screen. (Robert Collins)
 
3711
 
 
3712
* -Dprogress will cause pdb to start up if a progress view jumps
 
3713
  backwards. (Robert Collins)
 
3714
 
 
3715
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
 
3716
  are now be able to provide credentials if obtaining credentials 
 
3717
  via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij, 
 
3718
  Vincent Ladeuil, #321918)
 
3719
 
 
3720
* New hook ``Lock.lock_broken`` which runs when a lock is
 
3721
  broken. This is mainly for testing that lock/unlock are
 
3722
  balanced in tests. (Vincent Ladeuil)
 
3723
 
 
3724
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
 
3725
  alter a body for the message produced by ``bzr send``.
 
3726
 
 
3727
* New smart server verb ``BzrDir.initialize_ex`` which implements a
 
3728
  refactoring to the core of clone allowing less round trips on new
 
3729
  branches. (Robert Collins)
 
3730
 
 
3731
* New method ``Tags.rename_revisions`` that can rename revision ids tags
 
3732
  are pointing at. (Jelmer Vernooij)
 
3733
 
 
3734
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
 
3735
 
 
3736
Testing
 
3737
*******
 
3738
 
 
3739
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
 
3740
  tests. Using ``-Dlock`` will turn the related failures into warnings.
 
3741
  (Vincent Ladeuil, Robert Collins)
 
3742
 
 
3743
bzr 1.14
 
3744
########
 
3745
:Codename: brisbane-core
 
3746
:1.14rc1: 2009-04-06
 
3747
:1.14rc2: 2009-04-19
 
3748
:1.14: 2009-04-28
 
3749
:1.14.1: 2009-05-01
 
3750
 
 
3751
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
 
3752
keyword templating (via the bzr-keywords plugin) and generic content filtering.
 
3753
End-of-line conversion is now supported for formats supporting content
 
3754
filtering.
 
3755
 
 
3756
Changes from 1.14final to 1.14.1
 
3757
********************************
 
3758
 
 
3759
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
 
3760
 
 
3761
Changes from 1.14rc2 to 1.14final
 
3762
*********************************
 
3763
 
 
3764
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
3765
  longer than 64KiB. (John Arbash Meinel, #364900)
 
3766
 
 
3767
Changes from 1.14rc1 to 1.14rc2
 
3768
*******************************
 
3769
 
 
3770
* Fix for bug 358037 Revision not in
 
3771
  bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis, 
 
3772
  John A Meinel)
 
3773
 
 
3774
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
3775
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
3776
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
3777
 
 
3778
* Fix for bug 355280 eol content filters are never loaded and thus never
 
3779
  applied (Brian de Alwis, Ian Clatworthy)
 
3780
 
 
3781
* bzr.dev -r4280  Change _fetch_uses_deltas = False for CHK repos until we can
 
3782
  write a better fix. (John Arbash Meinel, Robert Collins)
 
3783
 
 
3784
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
 
3785
  (Marius Kruger, Ian Clatworthy)
 
3786
 
 
3787
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14 
 
3788
  (Andrew Bennetts, Robert Collins)
 
3789
 
 
3790
Compatibility Breaks
 
3791
********************
 
3792
 
 
3793
* A previously disabled code path to accelerate getting configuration
 
3794
  settings from a smart server has been reinstated. We think this *may*
 
3795
  cause a incompatibility with servers older than bzr 0.15. We intend
 
3796
  to issue a point release to address this if it turns out to be a
 
3797
  problem. (Robert Collins, Andrew Bennetts)
 
3798
 
 
3799
* bzr no longer autodetects nested trees as 'tree-references'.  They
 
3800
  must now be explicitly added tree references.  At the commandline, use
 
3801
  join --reference instead of add.  (Aaron Bentley)
 
3802
 
 
3803
* The ``--long`` log format (the default) no longer shows merged
 
3804
  revisions implicitly, making it consistent with the ``short`` and
 
3805
  ``line`` log formats.  To see merged revisions for just a given
 
3806
  revision, use ``bzr log -n0 -rX``. To see every merged revision,
 
3807
  use ``bzr log -n0``.  (Ian Clatworthy)
 
3808
 
 
3809
New Features
 
3810
************
 
3811
 
 
3812
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
 
3813
  (EOL) conversions, keyword templating (via the bzr-keywords plugin)
 
3814
  and generic content filtering. These formats replace the experimental
 
3815
  ``development-wt5`` and ``development-wt5-rich-root`` formats
 
3816
  respectively, but have support for filtered views disabled.
 
3817
  (Ian Clatworthy)
 
3818
 
 
3819
* New ``mv --auto`` option recognizes renames after they occur.
 
3820
  (Aaron Bentley)
 
3821
 
 
3822
* ``bzr`` can now get passwords from stdin without requiring a controlling
 
3823
  terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
 
3824
 
 
3825
* ``bzr log`` now supports filtering of multiple files and directories
 
3826
  and will show changes that touch any of them. Furthermore,
 
3827
  directory filtering now shows the changes to any children of that
 
3828
  directory, not just the directory object itself.
 
3829
  (Ian Clatworthy, #97715)
 
3830
 
 
3831
* ``bzr shelve`` can now apply changes without storing anything on the
 
3832
  shelf, via the new --destroy option.  (Aaron Bentley)
 
3833
 
 
3834
* ``bzr send`` now accepts --body to specify an initial message body.
 
3835
  (Aaron bentley)
 
3836
 
 
3837
* ``bzr xxx --usage`` where xxx is a command now shows a usage
 
3838
  message and the options without the descriptive help sections
 
3839
  (like Description and Examples). A message is also given
 
3840
  explaining how to see the complete help, i.e. ``bzr help xxx``.
 
3841
  (Ian Clatworthy)
 
3842
 
 
3843
* Content filters can now be used to provide custom conversion
 
3844
  between the canonical format of content (i.e. as stored) and
 
3845
  the convenience format of content (i.e. as created in working
 
3846
  trees). See ``bzr help content-filters`` for further details.
 
3847
  (Ian Clatworthy, Alexander Belchenko)
 
3848
 
 
3849
* End-of-line conversion is now supported for formats supporting
 
3850
  content filtering. See ``bzr help eol`` for details.
 
3851
  (Ian Clatworthy)
 
3852
 
 
3853
* Newly-blessed `join` command allows combining two trees into one.
 
3854
  (Aaron Bentley)
 
3855
 
 
3856
Improvements
 
3857
************
 
3858
 
 
3859
* A new format name alias ``default-rich-root`` has been added and
 
3860
  points at the closest relative of the default format that supports 
 
3861
  rich roots. (Jelmer Vernooij, #338061)
 
3862
 
 
3863
* Branching from a stacked branch using ``bzr*://`` will now stream
 
3864
  the data when the target repository does not need topological
 
3865
  ordering, reducing round trips and network overhead. This uses the
 
3866
  existing smart server methods added in 1.13, so will work on any
 
3867
  1.13 or newer server. (Robert Collins, Andrew Bennetts)
 
3868
 
 
3869
* ``bzr cat`` and ``bzr export`` now supports a ``--filters`` option
 
3870
  that displays/saves the content after content filters are applied.
 
3871
  (Ian Clatworthy)
 
3872
 
 
3873
* ``bzr ignore`` gives a more informative message when existing
 
3874
  version controlled files match the ignore pattern. (Neil
 
3875
  Martinsen-Burrell, #248895)
 
3876
 
 
3877
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
 
3878
  (Ian Clatworthy)
 
3879
 
 
3880
* ``bzr send`` is faster on repositories with deep histories.
 
3881
  (Ian Clatworthy)
 
3882
 
 
3883
* IPv6 literals are accepted in URLs.
 
3884
  (stlman, Martin Pool, Jelmer Vernooij, #165014)
 
3885
 
 
3886
* Progress bars now show the rate of network activity for
 
3887
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
3888
 
 
3889
* Prompt for user names if they are not in the configuration. 
 
3890
  (Jelmer Vernooij, #256612)
 
3891
 
 
3892
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
 
3893
  now takes many less round trips.  (Andrew Bennetts, Robert Collins,
 
3894
  #294479)
 
3895
  
 
3896
* Streaming push can be done to older repository formats.  This is
 
3897
  implemented using a new ``Repository.insert_stream_locked`` RPC.
 
3898
  (Andrew Bennetts, Robert Collins)
 
3899
 
 
3900
* The "ignoring files outside view: .." message has been re-worded
 
3901
  to "Ignoring files outside view. View is .." to reduce confusion
 
3902
  about what was being considered and what was being ignored.
 
3903
  (Ian Clatworthy)
 
3904
 
 
3905
* The ``long`` log formatter now shows [merge] indicators. If
 
3906
  only one level of revisions is displayed and merges are found,
 
3907
  the ``long`` and ``short`` log formatters now tell the user
 
3908
  how to see the hidden merged revisions.  (Ian Clatworthy)
 
3909
 
 
3910
* The ``brisbane-core`` project has delivered its beta format
 
3911
  ``development6-rich-root``. This format is suitable for judicious
 
3912
  testing by early adopters. In particular if you are benchmarking bzr
 
3913
  performance please be sure to test using this format. At this stage
 
3914
  more information is best obtained by contacting the Bazaar mailing list
 
3915
  or IRC channel if you are interested in using this format. We will make
 
3916
  end user documentation available closer to blessing the format as
 
3917
  production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
 
3918
  Vincent Ladeuil, Andrew Bennetts, Martin Pool)
 
3919
 
 
3920
* Tildes are no longer escaped. No more %7Euser/project/branch!
 
3921
  (Jonathan Lange)
 
3922
 
 
3923
Bug Fixes
 
3924
*********
 
3925
 
 
3926
* Pushing a new stacked branch will also push the parent inventories for
 
3927
  revisions at the stacking boundary.  This makes sure that the stacked
 
3928
  branch has enough data to calculate inventory deltas for all of its
 
3929
  revisions (without requiring the fallback branch).  This avoids
 
3930
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
3931
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
3932
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
3933
 
 
3934
* End-Of-Line content filters are now loaded correctly.
 
3935
  (Ian Clatworthy, Brian de Alwis, #355280)
 
3936
 
 
3937
* Authentication plugins now receive all the parameters from the request
 
3938
  itself (aka host, port, realm, path, etc). Previously, only the 
 
3939
  authentication section name, username and encoded password were 
 
3940
  provided. (Jean-Francois Roy)
 
3941
 
 
3942
* bzr gives a better message if an invalid regexp is passed to ``bzr log
 
3943
  -m``.  (Anne Mohsen, Martin Pool)
 
3944
 
 
3945
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
 
3946
 
 
3947
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
 
3948
  #313028)
 
3949
 
 
3950
* Fix "is not a stackable format" error when pushing a
 
3951
  stackable-format branch with an unstackable-format repository to a
 
3952
  destination with a default stacking policy.  (Andrew Bennetts)
 
3953
 
 
3954
* Fixed incorrect "Source format does not support stacking" warning
 
3955
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
3956
 
 
3957
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
 
3958
  needed. (Vincent Ladeuil, #355454)
 
3959
 
 
3960
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
 
3961
  on ``bzr add x/y/z`` in formats supporting views when no view is
 
3962
  defined.  (Ian Clatworthy, #344708)
 
3963
 
 
3964
* It is no longer possible to fetch between repositories while the
 
3965
  target repository is in a write group. This prevents race conditions
 
3966
  that prevent the use of RPC's to perform fetch, and thus allows
 
3967
  optimising more operations. (Robert Collins, Andrew Bennetts)
 
3968
 
 
3969
* ``merge --force`` works again. (Robert Collins, #342105)
 
3970
 
 
3971
* No more warnings are issued about ``sha`` being deprecated under python-2.6.
 
3972
  (Vincent Ladeuil, #346593)
 
3973
 
 
3974
* Pushing a new branch to a server that has a stacking policy will now
 
3975
  upgrade from the local branch format when the stacking policy points at
 
3976
  a branch which is itself stackable, because we know the client can read
 
3977
  both branches, we know that the trunk for the project can be read too,
 
3978
  so the upgrade will not inconvenience users. (Robert Collins, #345169)
 
3979
 
 
3980
* Pushing a new stacked branch will also push the parent inventories for
 
3981
  revisions at the stacking boundary.  This makes sure that the stacked
 
3982
  branch has enough data to calculate inventory deltas for all of its
 
3983
  revisions (without requiring the fallback branch).  This avoids
 
3984
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
3985
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
3986
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
3987
 
 
3988
* The full test suite is passing again on OSX. Several minor issues (mostly
 
3989
  test related) have been fixed. (Vincent Ladeuil, #355273).
 
3990
 
 
3991
* The GNU Changelog formatter is slightly improved in the case where
 
3992
  the delta is empty, and now correctly claims not to support tags.
 
3993
  (Andrea Bolognani)
 
3994
 
 
3995
* Shelve can now shelve changes to a symlink target.
 
3996
  (James Westby, #341558)
 
3997
 
 
3998
* The help for the ``info`` command has been corrected.
 
3999
  (Ian Clatworthy, #351931)
 
4000
 
 
4001
* Upgrade will now use a sensible default format if the source repository
 
4002
  uses rich roots.  (Jelmer Vernooij, #252908)
 
4003
 
 
4004
Documentation
 
4005
*************
 
4006
 
 
4007
* Expanded the index of the developer documentation. (Eric Siegerman)
 
4008
 
 
4009
* New topic `bzr help debug-flags`.  (Martin Pool)
 
4010
 
 
4011
* The generated manpage now explicitly lists aliases as commands.
 
4012
  (James Westby, #336998)
 
4013
 
 
4014
API Changes
 
4015
***********
 
4016
 
 
4017
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
 
4018
  (Martin Pool)
 
4019
 
 
4020
* ``CommitReporter`` is no longer called with ``unchanged`` status during
 
4021
  commit - this was a full-tree overhead that bzr no longer performs.
 
4022
  (Robert Collins)
 
4023
 
 
4024
* New abstract ``UIFactory`` method ``get_username`` which will be called to 
 
4025
  obtain the username to use when connecting to remote machines. 
 
4026
  (Jelmer Vernooij)
 
4027
 
 
4028
* New API ``Inventory.filter()`` added that filters an inventory by
 
4029
  a set of file-ids so that only those fileids, their parents and
 
4030
  their children are included.  (Ian Clatworthy)
 
4031
 
 
4032
* New sort order for ``get_record_stream`` ``groupcompress`` which
 
4033
  sorts optimally for use with groupcompress compressors. (John Arbash
 
4034
  Meinel, Robert Collins)
 
4035
 
 
4036
* Repository APIs ``get_deltas_for_revisions()`` and
 
4037
  ``get_revision_delta()`` now support an optional ``specific_fileids``
 
4038
  parameter. If provided, the deltas are filtered so that only those
 
4039
  file-ids, their parents and their children are included.
 
4040
  (Ian Clatworthy)
 
4041
 
 
4042
* The ``get_credentials`` and ``set_credentials`` methods of 
 
4043
  ``AuthenticationConfig`` now accept an optional realm argument.
 
4044
  (Jean-Francois Roy)
 
4045
 
 
4046
* The ``pb`` argument to ``fetch()`` is deprecated.
 
4047
  (Martin Pool)
 
4048
 
 
4049
* The ``Serializer`` class and the serializer ``format registry`` have moved
 
4050
  from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
 
4051
 
 
4052
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
 
4053
  that is not inside the backing transport from being opened.  See the
 
4054
  module documentation for ``bzrlib.smart.request`` for details.
 
4055
  (Andrew Bennetts, Robert Collins)
 
4056
 
 
4057
* ``Tree.get_symlink_target`` now always returns a unicode string result
 
4058
  or None. Previously it would return the bytes from reading the link
 
4059
  which could be in any arbitrary encoding. (Robert Collins)
 
4060
 
 
4061
Testing
 
4062
*******
 
4063
 
 
4064
* ``bzrlib.tests.TestCase`` now fails the test if its own ``setUp``
 
4065
  and ``tearDown`` weren't called.  This catches faulty tests that
 
4066
  forget to upcall when overriding ``setUp`` and ``tearDown``.  Those
 
4067
  faulty tests were not properly isolated.
 
4068
  (Andrew Bennetts, Robert Collins)
 
4069
 
 
4070
* Fix test_msgeditor.MsgEditorTest test isolation.
 
4071
  (Vincent Ladeuil, #347130)
 
4072
 
 
4073
* ``medusa`` is not used anymore as an FTP test server starting with
 
4074
  python2.6. A new FTP test server based on ``pyftplib`` can be used
 
4075
  instead. This new server is a soft dependency as medusa which is still
 
4076
  preferred if both are available (modulo python version).
 
4077
  (Vincent Ladeuil)
 
4078
 
 
4079
Internals
 
4080
*********
 
4081
 
 
4082
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
 
4083
  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
4084
 
 
4085
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
 
4086
  maps.  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
4087
 
 
4088
* Added ``bzrlib.inventory_delta`` module.  This will be used for
 
4089
  serializing and deserializing inventory deltas for more efficient
 
4090
  streaming on the network.  (Robert Collins, Andrew Bennetts)
 
4091
 
 
4092
* ``Branch._get_config`` has been added, which splits out access to the
 
4093
  specific config file from the branch. This is used to let RemoteBranch
 
4094
  avoid constructing real branch objects to access configuration settings.
 
4095
  (Robert Collins, Andrew Bennetts)
 
4096
 
 
4097
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
 
4098
  the implementation is generic and should impact foreign formats. This
 
4099
  helps performance for ``RemoteBranch`` push operations to new stacked
 
4100
  branches. (Robert Collins, Andrew Bennetts)
 
4101
 
 
4102
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
 
4103
  optmizations turned off. This only has effect when processing > 100,000
 
4104
  keys during something like ``bzr pack``. (John Arbash Meinel)
 
4105
 
 
4106
* ``bzr selftest`` now accepts ``--subunit`` to run in subunit output
 
4107
  mode. Requires ``lp:subunit`` installed to work, but is not a hard
 
4108
  dependency. (Robert Collins)
 
4109
 
 
4110
* ``BzrDir.open_branch`` now takes an optional ``ignore_fallbacks``
 
4111
  parameter for controlling opening of stacked branches.
 
4112
  (Andrew Bennetts, Robert Collins)
 
4113
  
 
4114
* ``CommitBuilder`` has a new method, ``record_iter_changes`` which works
 
4115
  in terms of an iter_changes iterator rather than full tree scanning.
 
4116
  (Robert Collins)
 
4117
 
 
4118
* ``DirState`` can now be passed a custom ``SHA1Provider`` object
 
4119
  enabling it to store the SHA1 and stat of the canonical (post
 
4120
  content filtered) form. (Ian Clatworthy)
 
4121
 
 
4122
* New ``assertLength`` method based on one Martin has squirreled away
 
4123
  somewhere. (Robert Collins, Martin Pool)
 
4124
 
 
4125
* New hook ``BzrDir.pre_open`` which runs before opening ``BzrDir``
 
4126
  objects, allowing better enforcement of the smart server jail when
 
4127
  dealing with stacked branches. (Robert Collins, Andrew Bennetts)
 
4128
 
 
4129
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries 
 
4130
  to be added to the stanza that is printed for a particular revision.
 
4131
  (Jelmer Vernooij)
 
4132
 
 
4133
* New repository method ``refresh_data`` to cause any repository to
 
4134
  make visible data inserted into the repository by a smart server
 
4135
  fetch operation. (Robert Collins, Andrew Bennetts)
 
4136
 
 
4137
* ``register_filter_stack_map`` now takes an optional fallback parameter,
 
4138
  a callable to invoke if a preference has a value not in the map
 
4139
  of filter stacks. This enhancement allows, for example,  bzr-svn to
 
4140
  handle existing svn properties that define a list of keywords to be
 
4141
  expanded.  (Ian Clatworthy)
 
4142
 
 
4143
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
 
4144
  to write config settings to smart servers that support this, saving
 
4145
  5 round trips on the stacked streaming acceptance test.
 
4146
  (Robert Collins, Andrew Bennetts)
 
4147
 
 
4148
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
 
4149
  branch specific configuration from a remote server, which uses the 
 
4150
  already existing ``Branch.get_config_file`` smart verb.
 
4151
  (Robert Collins, Andrew Bennetts)
 
4152
 
 
4153
* ``RemoteRepository`` will now negatively cache missing revisions during
 
4154
  ``get_parent_map`` while read-locked. Write-locks are unaffected.
 
4155
  (Robert Collins, Andrew Bennetts)
 
4156
 
 
4157
* Removed ``InterRemoteToOther``, ``InterOtherToRemote`` and
 
4158
  ``InterPackToRemotePack`` classes, as they are now unnecessary.
 
4159
  (Andrew Bennetts)
 
4160
 
 
4161
* ``RepositoryFormat`` as a new attribute ``fast_deltas`` to indicate
 
4162
  whether the repository can efficiently generate deltas between trees
 
4163
  regardless of tree size. (Robert Collins)
 
4164
 
 
4165
* ``Repository.iter_files_bytes()`` now properly returns an "iterable of
 
4166
  byte strings" (aka 'chunked') for the content. It previously was
 
4167
  returning a plain string, which worked, but performed very poorly when
 
4168
  building a working tree (file.writelines(str) is very inefficient). This
 
4169
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
 
4170
 
 
4171
* selftest now supports a --parallel option, with values of 'fork' or
 
4172
  'subprocess' to run the test suite in parallel. Currently only Linux
 
4173
  machines work, other platforms need patches submitted. (Robert Collins,
 
4174
  Vincent Ladeuil)
 
4175
 
 
4176
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
 
4177
  callables to use to decorate the test suite. Such decorators can add or
 
4178
  remove tests, or even remote the test suite to another machine if
 
4179
  desired. (Robert Collins)
 
4180
 
 
4181
* The smart server verb ``Repository.get_parent_map`` can now include
 
4182
  information about ghosts when the special revision ``include-missing:``
 
4183
  is in the requested parents map list. With this flag, ghosts are
 
4184
  included as ``missing:REVISION_ID``. (Robert Collins, Andrew Bennetts)
 
4185
 
 
4186
* ``_walk_to_common_revisions`` will now batch up at least 50
 
4187
  revisions before calling ``get_parent_map`` on the target,
 
4188
  regardless of ``InterRepository``.
 
4189
  (Andrew Bennetts, Robert Collins)
 
4190
 
 
4191
bzr 1.13
 
4192
########
 
4193
 
 
4194
:Codename: paraskavedekatriaphobia
 
4195
:1.13: 2009-03-14
 
4196
:1.13rc1: 2009-03-10
 
4197
:1.13.1: 2009-03-23
 
4198
:1.13.2: 2009-04-27
 
4199
 
 
4200
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.  Debug
 
4201
flags can now be set in ``~/.bazaar/bazaar.conf``.  Lightweight checkouts and
 
4202
stacked branches should both be much faster over remote connections.  
 
4203
 
 
4204
Changes From 1.13.1 to 1.13.2
 
4205
*****************************
 
4206
 
 
4207
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
 
4208
a stacked branch they do not take care to push all the parent inventories for
 
4209
the transferred revisions. This means that a smart server serving that branch
 
4210
often cannot calculate inventory deltas for the branch (because smart server
 
4211
does not/cannot open fallback repositories). Prior to 1.13 the server did not
 
4212
have a verb to stream revisions out of a repository, so that's why this bug has
 
4213
appeared now.
 
4214
 
 
4215
Bug Fixes
 
4216
*********
 
4217
 
 
4218
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
4219
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
4220
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
4221
 
 
4222
Changes From 1.13final to 1.13.1
 
4223
********************************
 
4224
 
 
4225
A couple regessions where found in the 1.13 release. The pyrex-generated C
 
4226
extensions are missing from the .tar.gz and .zip files.  Documentation on how
 
4227
to generate GNU ChangeLogs is wrong.
 
4228
 
 
4229
Bug Fixes
 
4230
*********
 
4231
 
 
4232
* Change ``./bzr``'s ``_script_version`` to match ./bzrlib/__init__.py
 
4233
  version_info. (Bob Tanner, Martin Pool, #345232)
 
4234
 
 
4235
* Distribution archives for 1.13 do not contain generated C extension modules
 
4236
  (Jean-Francois Roy, Bob Tanner, #344465)
 
4237
 
 
4238
* GNU ChangeLog output can now be produced by bzr log --format gnu-changelog is
 
4239
  incorrect (Deejay, Bob Tanner, Martin Pool, Robert Collins, #343928)
 
4240
 
 
4241
* ``merge --force`` works again. (Robert Collins, #342105)
 
4242
 
 
4243
Changes From 1.13rc1 to 1.13final
 
4244
*********************************
 
4245
 
 
4246
* Fix "is not a stackable format" error when pushing a
 
4247
  stackable-format branch with an unstackable-format repository to a
 
4248
  destination with a default stacking policy.  (Andrew Bennetts)
 
4249
 
 
4250
* Progress bars now show the rate of network activity for
 
4251
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
4252
 
 
4253
Compatibility Breaks
 
4254
********************
 
4255
 
 
4256
* ``bzr log --line`` now indicates which revisions are merges with
 
4257
  `[merge]` after the date.  Scripts which parse the output of this
 
4258
  command may need to be adjusted.
 
4259
  (Neil Martinsen-Burrell)
 
4260
 
 
4261
New Features
 
4262
************
 
4263
 
 
4264
* ``bzr reconfigure`` now supports --with-trees and --with-no-trees
 
4265
  options to change the default tree-creation policy of shared
 
4266
  repositories.  (Matthew Fuller, Marius Kruger, #145033)
 
4267
 
 
4268
* Debug flags can now be set in ``~/.bazaar/bazaar.conf``.
 
4269
  (Martin Pool)
 
4270
 
 
4271
* Filtered views provide a mask over the tree so that users can focus
 
4272
  on a subset of a tree when doing their work. See ``Filtered views``
 
4273
  in chapter 7 of the User Guide and ``bzr help view`` for details.
 
4274
  (Ian Clatworthy)
 
4275
 
 
4276
* GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.
 
4277
  (Andrea Bolognani, Martin Pool)
 
4278
 
 
4279
* The ``-Dmemory`` flag now gives memory information on Windows.
 
4280
  (John Arbash Meinel)
 
4281
 
 
4282
* Multiple authors for a commit can now be recorded by using the "--author"
 
4283
  option multiple times. (James Westby, #185772)
 
4284
 
 
4285
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernooij)
 
4286
 
 
4287
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
 
4288
  branch in your web browser, as long as the branch is on Launchpad at all.
 
4289
  (Jonathan Lange)
 
4290
 
 
4291
* New API for getting bugs fixed by a revision: Revision.iter_bugs().
 
4292
  (Jonathan Lange)
 
4293
 
 
4294
Improvements
 
4295
************
 
4296
 
 
4297
* All bzr ``Hooks`` classes are now registered in
 
4298
  ``bzrlib.hooks.known_hooks``. This removes the separate list from
 
4299
  ``bzrlib.tests`` and ensures that all hooks registered there are
 
4300
  correctly isolated by the test suite (previously
 
4301
  ``MutableTreeHooks`` were not being isolated correctly). Further, 
 
4302
  documentation for hooks is now dynamically generated from the
 
4303
  present HookPoints. ``bzr hooks`` will now also report on all the
 
4304
  hooks present in the ``bzrlib.hooks.known_hooks`` registry.
 
4305
  (Robert Collins)
 
4306
 
 
4307
* ``bzr add`` no longer prints ``add completed`` on success. Failure
 
4308
  still prints an error message. (Robert Collins)
 
4309
 
 
4310
* ``bzr branch`` now has a ``--no-tree`` option which turns off the
 
4311
  generation of a working tree in the new branch.
 
4312
  (Daniel Watkins, John Klinger, #273993)
 
4313
 
 
4314
* Bazaar will now point out ``bzr+ssh://`` to the user when they 
 
4315
  use ssh://. (Jelmer Vernooij, #330535)
 
4316
 
 
4317
* ``bzr -v info`` now omits the number of committers branch statistic,
 
4318
  making it many times faster for large projects. To include that
 
4319
  statistic in the output, use ``bzr -vv info``.
 
4320
  (Ian Clatworthy)
 
4321
 
 
4322
* ``bzr push`` to a ``bzr`` url (``bzr://``, ``bzr+ssh://`` etc) will
 
4323
  stream if the server is version 1.13 or greater, reducing roundtrips
 
4324
  significantly. (Andrew Bennetts, Robert Collins)
 
4325
 
 
4326
* Lightweight Checkouts and Stacked Branches should both be much
 
4327
  faster over remote connections. Building the working tree now
 
4328
  batches up requests into approx 5MB requests, rather than a separate
 
4329
  request for each file. (John Arbash Meinel)
 
4330
 
 
4331
* Support for GSSAPI authentication when using HTTP or HTTPS. 
 
4332
  (Jelmer Vernooij)
 
4333
 
 
4334
* The ``bzr shelve`` prompt now includes a '?' help option to explain the
 
4335
  short options better. (Daniel Watkins, #327429)
 
4336
 
 
4337
* ``bzr lp-open`` now falls back to the push location if it cannot find a
 
4338
  public location. (Jonathan Lange, #332372)
 
4339
 
 
4340
* ``bzr lp-open`` will try to find the Launchpad URL for the location
 
4341
  passed on the command line. This makes ``bzr lp-open lp:foo`` work as
 
4342
  expected. (Jonathan Lange, #332705)
 
4343
 
 
4344
* ``bzr send`` now supports MH-E via ``emacsclient``. (Eric Gillespie)
 
4345
 
 
4346
Bug Fixes
 
4347
*********
 
4348
 
 
4349
* Allows ``bzr log <FILE>`` to be called in an empty branch without
 
4350
  backtracing. (Vincent Ladeuil, #346431)
 
4351
 
 
4352
* Bazaar now gives a better message including the filename if it's
 
4353
  unable to read a file in the working directory, for example because
 
4354
  of a permission error.  (Martin Pool, #338653)
 
4355
 
 
4356
* ``bzr cat -r<old> <path>`` doesn't traceback anymore when <path> has a
 
4357
  file id in the working tree different from the one in revision <old>.
 
4358
  (Vincent Ladeuil, #341517, #253806)
 
4359
 
 
4360
* ``bzr send`` help is more specific about how to apply merge
 
4361
  directives.  (Neil Martinsen-Burrell, #253470)
 
4362
 
 
4363
* ``bzr missing`` now uses ``Repository.get_revision_delta()`` rather
 
4364
  than fetching trees and determining a delta itself. (Jelmer
 
4365
  Vernooij, #315048)
 
4366
 
 
4367
* ``bzr push`` to a smart server no longer causes "Revision
 
4368
  {set([('null:',)])} not present ..." errors when the branch has
 
4369
  multiple root revisions. (Andrew Bennetts, #317654)
 
4370
 
 
4371
* ``bzr shelve`` now properly handle patches with no terminating newline.
 
4372
  (Benoît PIERRE, #303569)
 
4373
 
 
4374
* ``bzr unshelve`` gives a more palatable error if passed a non-integer
 
4375
  shelf id. (Daniel Watkins)
 
4376
 
 
4377
* Export now handles files that are not present in the tree.
 
4378
  (James Westby, #174539)
 
4379
 
 
4380
* Fixed incorrect "Source format does not support stacking" warning
 
4381
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
4382
  
 
4383
* Fixed "sprout() got an unexpected keyword argument 'source_branch'"
 
4384
  error branching from old repositories.
 
4385
  (Martin Pool, #321695)
 
4386
 
 
4387
* Make ``bzr push --quiet <non-local location>`` less chatty.
 
4388
  (Kent Gibson, #221461)
 
4389
 
 
4390
* Many Branch hooks would not fire with ``bzr://`` and ``bzr+ssh://``
 
4391
  branches, and this was not noticed due to a bug in the test logic
 
4392
  for branches. This is now fixed and a test added to prevent it
 
4393
  reoccuring. (Robert Collins, Andrew Bennetts)
 
4394
 
 
4395
* Restore the progress bar on Windows. We were disabling it when TERM
 
4396
  wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
 
4397
  #334808)
 
4398
 
 
4399
* ``setup.py build_ext`` now gives a proper error when an extension
 
4400
  fails to build. (John Arbash Meinel)
 
4401
 
 
4402
* Symlinks to non ascii file names are now supported.
 
4403
  (Robert Collins, Vincent Ladeuil, #339055, #272444)    
 
4404
 
 
4405
* Under rare circumstances (aka nobody reported a bug about it), the ftp
 
4406
  transport could revert to ascii mode. It now stays in binary mode except
 
4407
  when needed.  (Vincent Ladeuil)
 
4408
 
 
4409
* Unshelve does not generate warnings about progress bars.
 
4410
  (Aaron Bentley, #328148)
 
4411
 
 
4412
* shelve cleans up properly when unversioned files are specified.
 
4413
  (Benoît Pierre, Aaron Bentley)
 
4414
 
 
4415
Documentation
 
4416
*************
 
4417
 
 
4418
* Added ``Organizing your workspace`` to the User Guide appendices,
 
4419
  summarizing some common ways of organizing trees, branches and
 
4420
  repositories and the processes/workflows implied/enabled by each.
 
4421
  (Ian Clatworthy)
 
4422
 
 
4423
* Hooks can now be self documenting. ``bzrlib.hooks.Hooks.create_hook``
 
4424
  is the entry point for this feature. (Robert Collins)
 
4425
 
 
4426
* The documentation for ``shelve`` and ``unshelve`` has been clarified.
 
4427
  (Daniel Watkins, #327421, #327425)
 
4428
 
 
4429
API Changes
 
4430
***********
 
4431
 
 
4432
* ``bzr selftest`` now fails if the bazaar sources contain trailing
 
4433
  whitespace, non-unix style line endings and files not ending in a
 
4434
  newline. About 372 files and 3243 lines with trailing whitespace was
 
4435
  updated to comply with this. The code already complied with the other
 
4436
  criteria, but now it is enforced. (Marius Kruger)
 
4437
 
 
4438
* ``bzrlib.branch.PushResult`` was renamed to 
 
4439
  ``bzrlib.branch.BranchPushResult``. (Jelmer Vernooij)
 
4440
 
 
4441
* ``Branch.fetch`` and ``Repository.fetch`` now return None rather
 
4442
  than a count of copied revisions and failed revisions. A while back
 
4443
  we stopped ever reporting failed revisions because we started
 
4444
  erroring instead, and the copied revisions count is not used in the
 
4445
  UI at all - indeed it only reflects the repository status not
 
4446
  changes to the branch itself. (Robert Collins)
 
4447
 
 
4448
* ``Inventory.apply_delta`` now raises an AssertionError if a file-id
 
4449
  appears multiple times within the delta. (Ian Clatworthy)
 
4450
 
 
4451
* MutableTree.commit now favours the "authors" argument, with the old
 
4452
  "author" argument being deprecated.
 
4453
 
 
4454
* Remove deprecated EmptyTree.  (Martin Pool)
 
4455
 
 
4456
* ``Repository.fetch`` now accepts an optional ``fetch_spec``
 
4457
  parameter.  A ``SearchResult`` or ``MiniSearchResult`` may be passed
 
4458
  to ``fetch_spec`` instead of a ``last_revision`` to specify exactly
 
4459
  which revisions to fetch. (Andrew Bennetts)
 
4460
 
 
4461
* ``RepositoryAcquisitionPolicy.acquire_repository`` now returns a
 
4462
  tuple of ``(repository, is_new_flag)``, rather than just the
 
4463
  repository.  (Andrew Bennetts)
 
4464
 
 
4465
* Revision.get_apparent_author() is now deprecated, replaced by
 
4466
  Revision.get_apparent_authors(), which returns a list. The former
 
4467
  now returns the first item that would be returned from the second.
 
4468
 
 
4469
* The ``BranchBuilder`` test helper now accepts a ``timestamp``
 
4470
  parameter to ``build_commit`` and ``build_snapshot``.  (Martin Pool)
 
4471
 
 
4472
* The ``_fetch_*`` attributes on ``Repository`` are now on
 
4473
  ``RepositoryFormat``, more accurately reflecting their intent (they
 
4474
  describe a disk format capability, not state of a particular
 
4475
  repository of that format). (Robert Collins)
 
4476
 
 
4477
Internals
 
4478
*********
 
4479
 
 
4480
* Branching from a non-stacked branch on a smart protocol is now
 
4481
  free of virtual file system methods.
 
4482
  (Robert Collins, Andrew Bennetts)
 
4483
 
 
4484
* Branch and Repository creation on a bzr+ssh://server are now done
 
4485
  via RPC calls rather than VFS calls, reducing round trips for
 
4486
  pushing new branches substantially. (Robert Collins)
 
4487
 
 
4488
* ``Branch.clone`` now takes the ``repository_policy`` formerly used
 
4489
  inside ``BzrDir.clone_on_transport``, allowing stacking to be
 
4490
  configured before the branch tags and revision tip are set. This
 
4491
  fixes a race condition cloning stacked branches that would cause
 
4492
  plugins to have hooks called on non-stacked instances.
 
4493
  (Robert Collins, #334187)
 
4494
 
 
4495
* ``BzrDir.cloning_metadir`` now has a RPC call. (Robert Collins)
 
4496
 
 
4497
* ``BzrDirFormat.__str__`` now uses the human readable description
 
4498
  rather than the sometimes-absent disk label. (Robert Collins)
 
4499
 
 
4500
* ``bzrlib.fetch`` is now composed of a sender and a sink component
 
4501
  allowing for decoupling over a network connection. Fetching from
 
4502
  or into a RemoteRepository with a 1.13 server will use this to
 
4503
  stream the operation.
 
4504
  (Andrew Bennetts, Robert Collins)
 
4505
 
 
4506
* ``bzrlib.tests.run_suite`` accepts a runner_class parameter
 
4507
  supporting the use of different runners. (Robert Collins)
 
4508
 
 
4509
* Change how file_ids and revision_ids are interned as part of
 
4510
  inventory deserialization. Now we use the real ``intern()``, rather
 
4511
  than our own workaround that would also cache a Unicode copy of the
 
4512
  string, and never emptied the cache. This should slightly reduce
 
4513
  memory consumption. (John Arbash Meinel)
 
4514
 
 
4515
* New branch method ``create_clone_on_transport`` that returns a
 
4516
  branch object. (Robert Collins)
 
4517
 
 
4518
* New hook Commands['extend_command'] to allow plugins to access a
 
4519
  command object before the command is run (or help generated from
 
4520
  it), without overriding the command. (Robert Collins)
 
4521
 
 
4522
* New version of the ``BzrDir.find_repository`` verb supporting
 
4523
  ``_network_name`` to support removing more _ensure_real calls.
 
4524
  (Robert Collins)
 
4525
 
 
4526
* ``RemoteBranchFormat`` no longer claims to have a disk format string.
 
4527
  (Robert Collins)
 
4528
 
 
4529
* ``Repository`` objects now have ``suspend_write_group`` and
 
4530
  ``resume_write_group`` methods.  These are currently only useful
 
4531
  with pack repositories. (Andrew Bennetts, Robert Collins)
 
4532
 
 
4533
* ``BzrDirFormat``, ``BranchFormat`` and ``RepositoryFormat`` objects
 
4534
  now have a ``network_name`` for passing the format across RPC calls.
 
4535
  (Robert Collins, Andrew Bennetts)
 
4536
 
 
4537
* ``RepositoryFormat`` objects now all have a new attribute
 
4538
  ``_serializer`` used by fetch when reserialising is required.
 
4539
  (Robert Collins, Andrew Bennetts)
 
4540
 
 
4541
* Some methods have been pulled up from ``BzrBranch`` to ``Branch``
 
4542
  to aid branch types that are not bzr branch objects (like
 
4543
  RemoteBranch). (Robert Collins, Andrew Bennetts)
 
4544
 
 
4545
* Test adaptation has been made consistent throughout the built in
 
4546
  tests. ``TestScenarioApplier``, ``multiply_tests_from_modules``,
 
4547
  ``adapt_tests``, ``adapt_modules`` have all been deleted. Please
 
4548
  use ``multiply_tests``, or for lower level needs ``apply_scenarios``
 
4549
  and ``apply_scenario``. (Robert Collins)
 
4550
 
 
4551
* ``TestSkipped`` is now detected by TestCase and passed to the
 
4552
  ``TestResult`` by calling ``addSkip``. For older TestResult objects,
 
4553
  where ``addSkip`` is not available, ``addError`` is still called.
 
4554
  This permits test filtering in subunit to strip out skipped tests
 
4555
  resulting in a faster fix-shrink-list-run cycle. This is compatible
 
4556
  with the testtools protocol for skips. (Robert Collins)
 
4557
 
 
4558
* The ``_index`` of ``KnitVersionedFiles`` now supports the ability
 
4559
  to scan an underlying index that is going to be incorporated into
 
4560
  the ``KnitVersionedFiles`` object, to determine if it has missing
 
4561
  delta references. The method is ``scan_unvalidated_index``.
 
4562
  (Andrew Bennetts, Robert Collins)
 
4563
 
 
4564
* There is a RemoteSink object which handles pushing to smart servers.
 
4565
  (Andrew Bennetts, Robert Collins)
 
4566
 
 
4567
* ``TransportTraceDecorator`` now logs ``put_bytes_non_atomic`` and
 
4568
  ``rmdir`` calls. (Robert Collins)
 
4569
 
 
4570
* ``VersionedFiles`` record adapters have had their signature change
 
4571
  from ``(record, record.get_bytes_as(record.storage_kind))`` to
 
4572
  ``(record)`` reducing excess duplication and allowing adapters
 
4573
  to access private data in record to obtain content more
 
4574
  efficiently. (Robert Collins)
 
4575
 
 
4576
* We no longer probe to see if we should create a working tree during
 
4577
  clone if we cannot get a local_abspath for the new bzrdir.
 
4578
  (Robert Collins)
 
4579
 
 
4580
 
 
4581
bzr 1.12
 
4582
########
 
4583
 
 
4584
:Codename: 1234567890
 
4585
:1.12: 2009-02-13
 
4586
:1.12rc1: 2009-02-10
 
4587
 
 
4588
This release of Bazaar contains many improvements to the speed,
 
4589
documentation and functionality of ``bzr log`` and the display of logged
 
4590
revisions by ``bzr status``.  bzr now also gives a better indication of
 
4591
progress, both in the way operations are drawn onto a text terminal, and
 
4592
by showing the rate of network IO.
 
4593
 
 
4594
Changes from RC1 to Final
 
4595
*************************
 
4596
 
 
4597
* ``bzr init --development-wt5[-rich-root]`` would fail because of
 
4598
  circular import errors. (John Arbash Meinel, #328135)
 
4599
 
 
4600
* Expanded the help for log and added a new help topic called
 
4601
  ``log-formats``.  (Ian Clatworthy)
 
4602
 
 
4603
Compatibility Breaks
 
4604
********************
 
4605
 
 
4606
* By default, ``bzr status`` after a merge now shows just the pending
 
4607
  merge tip revisions. This improves the signal-to-noise ratio after
 
4608
  merging from trunk and completes much faster. To see all merged
 
4609
  revisions, use the new ``-v`` flag.  (Ian Clatworthy)
 
4610
 
 
4611
* ``bzr log --line`` now shows any tags after the date and before
 
4612
  the commit message. If you have scripts which parse the output
 
4613
  from this command, you may need to adjust them accordingly.
 
4614
  (Ian Clatworthy)
 
4615
 
 
4616
* ``bzr log --short`` now shows any additional revision properties
 
4617
  after the date and before the commit message.  Scripts that parse 
 
4618
  output of the log command in this situation may need to adjust.
 
4619
  (Neil Martinsen-Burrell)
 
4620
 
 
4621
* The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root``
 
4622
  have been renamed ``development-wt5`` and ``development-wt5-rich-root``
 
4623
  respectively, given they are not ready for release in 1.12.
 
4624
  (Ian Clatworthy)
 
4625
 
 
4626
* ``read_bundle_from_url`` has been deprecated. (Vincent Ladeuil)
 
4627
 
 
4628
New Features
 
4629
************
 
4630
 
 
4631
* Add support for filtering ``bzr missing`` on revisions.  Remote revisions
 
4632
  can be filtered using ``bzr missing -r -20..-10`` and local revisions can
 
4633
  be filtered using ``bzr missing --my-revision -20..-10``.
 
4634
  (Marius Kruger)
 
4635
 
 
4636
* ``bzr log -p`` displays the patch diff for each revision.
 
4637
  When logging a file, the diff only includes changes to that file.
 
4638
  (Ian Clatworthy, #202331, #227335)
 
4639
 
 
4640
* ``bzr log`` supports a new option called ``-n N`` or ``--level N``.
 
4641
  A value of 0 (zero) means "show all nested merge revisions" while
 
4642
  a value of 1 (one) means "show just the top level". Values above
 
4643
  1 can be used to see a limited amount of nesting. That can be
 
4644
  useful for seeing the level or two below PQM submits for example.
 
4645
  To force the ``--short`` and ``--line`` formats to display all nested
 
4646
  merge revisions just like ``--long`` does by default, use a command
 
4647
  like ``bzr log --short -n0``. To display just the mainline using
 
4648
  ``--long`` format, ``bzr log --long -n1``.
 
4649
  (Ian Clatworthy)
 
4650
 
 
4651
Improvements
 
4652
************
 
4653
 
 
4654
* ``bzr add`` more clearly communicates success vs failure.
 
4655
  (Daniel Watkins)
 
4656
 
 
4657
* ``bzr init`` will now print a little less verbose output.
 
4658
  (Marius Kruger)
 
4659
 
 
4660
* ``bzr log`` is now much faster in many use cases, particularly
 
4661
  at incrementally displaying results and filtering by a
 
4662
  revision range. (Ian Clatworthy)
 
4663
 
 
4664
* ``bzr log --short`` and ``bzr log --line`` now show tags, if any,
 
4665
  for each revision. The tags are shown comma-separated inside
 
4666
  ``{}``. For short format, the tags appear at the end of line
 
4667
  before the optional ``[merge]`` indicator. For line format,
 
4668
  the tags appear after the date. (Ian Clatworthy)
 
4669
 
 
4670
* Progress bars now show the rate of activity for some sftp 
 
4671
  operations, and they are drawn different.  (Martin Pool, #172741)
 
4672
 
 
4673
* Progress bars now show the rate of activity for urllib and pycurl based
 
4674
  http client implementations. The operations are tracked at the socket
 
4675
  level for better precision.
 
4676
  (Vincent Ladeuil)
 
4677
 
 
4678
* Rule-based preferences can now accept multiple patterns for a set of
 
4679
  rules.  (Marius Kruger)
 
4680
 
 
4681
* The ``ancestor:`` revision spec will now default to referring to the
 
4682
  parent of the branch if no other location is given.
 
4683
  (Daniel Watkins, #198417)
 
4684
 
 
4685
* The debugger started as a result of setting ``$BZR_PDB`` works
 
4686
  around a bug in ``pdb``, http://bugs.python.org/issue4150.  The bug
 
4687
  can cause truncated tracebacks in Python versions before 2.6.
 
4688
  (Andrew Bennetts)
 
4689
 
 
4690
* VirtualVersionedFiles now implements
 
4691
  ``iter_lines_added_or_present_in_keys``. This allows the creation of 
 
4692
  new branches based on stacked bzr-svn branches. (#311997)
 
4693
 
 
4694
Bug Fixes
 
4695
*********
 
4696
 
 
4697
* ``bzr annotate --show-ids`` doesn't give a backtrace on empty files
 
4698
  anymore.
 
4699
  (Anne Mohsen, Vincent Ladeuil, #314525)
 
4700
 
 
4701
* ``bzr log FILE`` now correctly shows mainline revisions merging
 
4702
  a change to FILE when the ``--short`` and ``--line`` log formats
 
4703
  are used. (Ian Clatworthy, #317417)
 
4704
 
 
4705
* ``bzr log -rX..Y FILE`` now shows the history of FILE provided
 
4706
  it existed in Y or X, even if the file has since been deleted or
 
4707
  renamed. If no range is given, the current/basis tree and
 
4708
  initial tree are searched in that order. More generally, log
 
4709
  now interprets filenames in their historical context.
 
4710
  (Ian Clatworthy, #175520)
 
4711
 
 
4712
* ``bzr status`` now reports nonexistent files and continues, then
 
4713
  errors (with code 3) at the end.  (Karl Fogel, #306394)
 
4714
 
 
4715
* Don't require the present compression base in knits to be the same
 
4716
  when adding records in knits. (Jelmer Vernooij, #307394)
 
4717
 
 
4718
* Fix a problem with CIFS client/server lag on Windows colliding with
 
4719
  an invariant-per-process algorithm for generating AtomicFile names
 
4720
  (Adrian Wilkins, #304023)
 
4721
 
 
4722
* Many socket operations now handle EINTR by retrying the operation.
 
4723
  Previously EINTR was treated as an unrecoverable failure.  There is
 
4724
  a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
 
4725
  (Andrew Bennetts)
 
4726
 
 
4727
* Support symlinks with non-ascii characters in the symlink filename.
 
4728
  (Jelmer Vernooij, #319323)
 
4729
 
 
4730
* There was a bug in how we handled resolving when a file is deleted
 
4731
  in one branch, and modified in the other. If there was a criss-cross
 
4732
  merge, we would cause the deletion to conflict a second time.
 
4733
  (Vincent Ladeuil, John Arbash Meinel)
 
4734
 
 
4735
* There was another bug in how we chose the correct intermediate LCA in
 
4736
  criss-cross merges leading to several kind of changes be incorrectly
 
4737
  handled.
 
4738
  (John Arbash Meinel, Vincent Ladeuil)
 
4739
 
 
4740
* Unshelve now handles deleted paths without crashing. (Robert Collins)
 
4741
 
 
4742
Documentation
 
4743
*************
 
4744
 
 
4745
* Improved plugin developer documentation.  (Martin Pool)
 
4746
 
 
4747
API Changes
 
4748
***********
 
4749
 
 
4750
* ``ProgressBarStack`` is deprecated; instead use
 
4751
  ``ui_factory.nested_progress_bar`` to create new progress bars.
 
4752
  (Martin Pool)
 
4753
 
 
4754
* ForeignVcsMapping() now requires a ForeignVcs object as first
 
4755
  argument. (Jelmer Vernooij)
 
4756
 
 
4757
* ForeignVcsMapping.show_foreign_revid() has been moved to
 
4758
  ForeignVcs. (Jelmer Vernooij)
 
4759
 
 
4760
* ``read_bundle_from_url`` is deprecated in favor of
 
4761
  ``read_mergeable_from_url``.  (Vincent Ladeuil)
 
4762
 
 
4763
* Revision specifiers are now registered in
 
4764
  ``bzrlib.revisionspec.revspec_registry``, and the old list of 
 
4765
  revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been
 
4766
  deprecated. (Jelmer Vernooij, #321183)
 
4767
 
 
4768
* The progress and UI classes have changed; the main APIs remain the
 
4769
  same but code that provides a new UI or progress bar class may
 
4770
  need to be updated.  (Martin Pool)
 
4771
 
 
4772
Internals
 
4773
*********
 
4774
 
 
4775
* Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb
 
4776
  terminal. It is sometimes desirable do override this default by forcing
 
4777
  bzr to use TextUIFactory. This can be achieved by setting the
 
4778
  BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to
 
4779
  compile buffers, are such an example).
 
4780
  (Vincent Ladeuil)
 
4781
 
 
4782
* New API ``Branch.iter_merge_sorted_revisions()`` that iterates over
 
4783
  ``(revision_id, depth, revno, end_of_merge)`` tuples.
 
4784
  (Ian Clatworthy)
 
4785
 
 
4786
* New ``Branch.dotted_revno_to_revision_id()`` and
 
4787
  ``Branch.revision_id_to_dotted_revno()`` APIs that pick the most
 
4788
  efficient way of doing the mapping.
 
4789
  (Ian Clatworthy)
 
4790
 
 
4791
* Refactor cmd_serve so that it's a little easier to build commands that
 
4792
  extend it, and perhaps even a bit easier to read.  (Jonathan Lange)
 
4793
 
 
4794
* ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
 
4795
  formatters to retrict the output.
 
4796
  (Vincent Ladeuil)
 
4797
 
 
4798
 
 
4799
bzr 1.11
 
4800
########
 
4801
 
 
4802
:Codename: "Eyes up!"
 
4803
:Released: 2009-01-19
 
4804
 
 
4805
This first monthly release of Bazaar for 2009 improves Bazaar's operation
 
4806
in Windows, Mac OS X, and other situations where file names are matched
 
4807
without regard to capitalization: Bazaar tries to match the case of an
 
4808
existing file.  This release of Bazaar also improves the efficiency of
 
4809
Tortoise Windows Shell integration and lets it work on 64-bit platforms.
 
4810
 
 
4811
The UI through which Bazaar supports historic formats has been improved,
 
4812
so 'bzr help formats' now gives a simpler and shorter list, with clear
 
4813
advice.
 
4814
 
 
4815
This release also fixes a number of bugs, particularly a glitch that can
 
4816
occur when there are concurrent writes to a pack repository.
 
4817
 
 
4818
Bug Fixes
 
4819
*********
 
4820
 
 
4821
* Fix failing test when CompiledChunksToLines is not available.
 
4822
  (Vincent Ladeuil)
 
4823
 
 
4824
* Stacked branches don't repeatedly open their transport connection.
 
4825
  (John Arbash Meinel)
 
4826
 
 
4827
 
 
4828
 
 
4829
bzr 1.11rc1
 
4830
###########
 
4831
 
 
4832
:Codename: "Eyes up!"
 
4833
:Released: 2009-01-09
 
4834
 
 
4835
Changes
 
4836
*******
 
4837
 
 
4838
* Formats using Knit-based repository formats are now explicitly
 
4839
  marked as deprecated. (Ian Clatworthy)
 
4840
 
 
4841
New Features
 
4842
************
 
4843
 
 
4844
* Add support for `bzr tags -r 1..2`, that is we now support showing
 
4845
  tags applicable for a specified revision range. (Marius Kruger)
 
4846
 
 
4847
* ``authentication.conf`` now accepts pluggable read-only credential
 
4848
  stores. Such a plugin (``netrc_credential_store``) is now included,
 
4849
  handles the ``$HOME/.netrc`` file and can server as an example to
 
4850
  implement other plugins.
 
4851
  (Vincent Ladeuil)
 
4852
 
 
4853
* ``shelve --list`` can now be used to list shelved changes.
 
4854
  (Aaron Bentley)
 
4855
 
 
4856
Improvements
 
4857
************
 
4858
 
 
4859
* Add trailing slash to directories in all output of ``bzr ls``, except
 
4860
  ``bzr ls --null``. (Gordon P. Hemsley, #306424)
 
4861
 
 
4862
* ``bzr revision-info`` now supports a -d option to specify an
 
4863
  alternative branch. (Michael Hudson)
 
4864
 
 
4865
* Add connection to a C++ implementation of the Windows Shell Extension
 
4866
  which is able to fully replace the current Python implemented one.
 
4867
  Advantages include 64bit support and reduction in overhead for
 
4868
  processes which drag in shell extensions.
 
4869
  (Mark Hammond)
 
4870
 
 
4871
* Support the Claws mail client directly, rather than via
 
4872
  xdg-email. This prevents the display of an unnecessary modal
 
4873
  dialog in Claws, informing the user that a file has been
 
4874
  attached to the message, and works around bug #291847 in
 
4875
  xdg-utils which corrupts the destination address.
 
4876
 
 
4877
* When working on a case-insensitive case-preserving file-system, as
 
4878
  commonly found with Windows, bzr will often ignore the case of the
 
4879
  arguments specified by the user in preference to the case of an existing
 
4880
  item on the file-system or in the inventory to help prevent
 
4881
  counter-intuitive behaviour on Windows. (Mark Hammond)
 
4882
 
 
4883
Bug Fixes
 
4884
*********
 
4885
  
 
4886
* Allow BzrDir implementation to implement backing up of 
 
4887
  control directory. (#139691)
 
4888
 
 
4889
* ``bzr push`` creating a new stacked branch will now only open a
 
4890
  single connection to the target machine. (John Arbash Meinel)
 
4891
 
 
4892
* Don't call iteritems on transport_list_registry, because it may
 
4893
  change during iteration.  (Martin Pool, #277048)
 
4894
 
 
4895
* Don't make a broken branch when pushing an unstackable-format branch
 
4896
  that's in a stackable shared repository to a location with default
 
4897
  stack-on location.  (Andrew Bennetts, #291046)
 
4898
 
 
4899
* Don't require embedding user in HTTP(S) URLs do use authentication.conf.
 
4900
  (Ben Jansen, Vincent Ladeuil, #300347)
 
4901
 
 
4902
* Fix a problem with CIFS client/server lag on windows colliding with
 
4903
  an invariant-per-process algorithm for generating AtomicFile names
 
4904
  (Adrian Wilkins, #304023)
 
4905
 
 
4906
* Fix bogus setUp signature in UnavailableFTPServer.
 
4907
  (Gary van der Merwe, #313498)
 
4908
 
 
4909
* Fix compilation error in ``_dirstate_helpers_c`` on SunOS/Solaris.
 
4910
  (Jari Aalto)
 
4911
 
 
4912
* Fix SystemError in ``_patiencediff_c`` module by calling
 
4913
  PyErr_NoMemory() before returning NULL in PatienceSequenceMatcher_new.
 
4914
  (Andrew Bennetts, #303206)
 
4915
 
 
4916
* Give proper error message for diff with non-existent dotted revno.
 
4917
  (Marius Kruger, #301969)
 
4918
 
 
4919
* Handle EACCES (permission denied) errors when launching a message
 
4920
  editor, and emit warnings when a configured editor cannot be
 
4921
  started. (Andrew Bennetts)
 
4922
 
 
4923
* ``$HOME/.netrc`` file is now recognized as a read-only credential store
 
4924
  if configured in ``authentication.conf`` with 'password_encoding=netrc'
 
4925
  in the appropriate sections.
 
4926
  (Vincent Ladeuil, #103029)
 
4927
 
 
4928
* Opening a stacked branch now properly shares the connection, rather
 
4929
  than opening a new connection for the stacked-on branch.
 
4930
  (John Arbash meinel)
 
4931
 
 
4932
* Preserve transport decorators while following redirections.
 
4933
  (Vincent Ladeuil, #245964, #270863)
 
4934
 
 
4935
* Provides a finer and more robust filter for accepted redirections.
 
4936
  (Vincent Ladeuil, #303959, #265070)
 
4937
 
 
4938
* ``shelve`` paths are now interpreted relative to the current working
 
4939
  tree.  (Aaron Bentley)
 
4940
 
 
4941
* ``Transport.readv()`` defaults to not reading more than 100MB in a
 
4942
  single array. Further ``RemoteTransport.readv`` sets this to 5MB to
 
4943
  work better with how it splits its requests.
 
4944
  (John Arbash Meinel, #303538)
 
4945
 
 
4946
* Pack repositories are now able to reload the pack listing and retry
 
4947
  the current operation if another action causes the data to be
 
4948
  repacked.  (John Arbash Meinel, #153786)
 
4949
 
 
4950
* ``pull -v`` now respects the log_format configuration variable.
 
4951
  (Aaron Bentley)
 
4952
 
 
4953
* ``push -v`` now works on non-initial pushes.  (Aaron Bentley)
 
4954
 
 
4955
* Use the short status format when the short format is used for log.
 
4956
  (Vincent Ladeuil, #87179)
 
4957
 
 
4958
* Allow files to be renamed or moved via remove + add-by-id. (Charles
 
4959
  Duffy, #314251)
 
4960
 
 
4961
Documentation
 
4962
*************
 
4963
 
 
4964
* Improved the formats help topic to explain why multiple formats
 
4965
  exist and to provide guidelines in selecting one. Introduced
 
4966
  two new supporting help topics: current-formats and other-formats.
 
4967
  (Ian Clatworthy)
 
4968
 
 
4969
API Changes
 
4970
***********
 
4971
 
 
4972
* ``LRUCache(after_cleanup_size)`` was renamed to
 
4973
  ``after_cleanup_count`` and the old name deprecated. The new name is
 
4974
  used for clarity, and to avoid confusion with
 
4975
  ``LRUSizeCache(after_cleanup_size)``. (John Arbash Meinel)
 
4976
 
 
4977
* New ``ForeignRepository`` base class, to help with foreign branch 
 
4978
  support (e.g. svn).  (Jelmer Vernooij)
 
4979
 
 
4980
* ``node_distances`` and ``select_farthest`` can no longer be imported
 
4981
  from ``bzrlib.graph``.  They can still be imported from
 
4982
  ``bzrlib.deprecated_graph``, which has been the preferred way to
 
4983
  import them since before 1.0.  (Andrew Bennetts)
 
4984
  
 
4985
* The logic in commit now delegates inventory basis calculations to
 
4986
  the ``CommitBuilder`` object; this requires that the commit builder
 
4987
  in use has been updated to support the new ``recording_deletes`` and
 
4988
  ``record_delete`` methods. (Robert Collins)
 
4989
 
 
4990
Testing
 
4991
*******
 
4992
 
 
4993
* An HTTPS server is now available (it requires python-2.6). Future bzr
 
4994
  versions will allow the use of the python-2.6 ssl module that can be
 
4995
  installed for 2.5 and 2.4.
 
4996
 
 
4997
* ``bzr selftest`` now fails if new trailing white space is added to
 
4998
  the bazaar sources. It only checks changes not committed yet. This
 
4999
  means that PQM will now reject changes that introduce new trailing
 
5000
  whitespace. (Marius Kruger)
 
5001
 
 
5002
* Introduced new experimental formats called ``1.12-preview`` and
 
5003
  ``1.12-preview-rich-root`` to enable testing of related pending
 
5004
  features, namely content filtering and filtered views.
 
5005
  (Ian Clatworthy)
 
5006
 
 
5007
Internals
 
5008
*********
 
5009
 
 
5010
* Added an ``InventoryEntry`` cache when deserializing inventories.
 
5011
  Can cut the time to iterate over multiple RevisionsTrees in half.
 
5012
  (John Arbash Meinel)
 
5013
 
 
5014
* Added ``bzrlib.fifo_cache.FIFOCache`` which is designed to have
 
5015
  minimal overhead versus using a plain dict for cache hits, at the
 
5016
  cost of not preserving the 'active' set as well as an ``LRUCache``.
 
5017
  (John Arbash Meinel)
 
5018
 
 
5019
* ``bzrlib.patience_diff.unified_diff`` now properly uses a tab
 
5020
  character to separate the filename from the date stamp, and doesn't
 
5021
  add trailing whitespace when a date stamp is not supplied.
 
5022
  (Adeodato Simó, John Arbash Meinel)
 
5023
 
 
5024
* ``DirStateWorkingTree`` and ``DirStateWorkingTreeFormat`` added
 
5025
  as base classes of ``WorkingTree4`` and ``WorkingTreeFormat4``
 
5026
  respectively. (Ian Clatworthy)
 
5027
 
 
5028
* ``KnitVersionedFiles._check_should_delta()`` now uses the
 
5029
  ``get_build_details`` api to avoid multiple hits to the index, and
 
5030
  to properly follow the ``compression_parent`` rather than assuming
 
5031
  it is the left-hand parent. (John Arbash Meinel)
 
5032
 
 
5033
* ``KnitVersionedFiles.get_record_stream()`` will now chose a
 
5034
  more optimal ordering when the keys are requested 'unordered'.
 
5035
  Previously the order was fully random, now the records should be
 
5036
  returned from each pack in turn, in forward I/O order.
 
5037
  (John Arbash Meinel)
 
5038
    
 
5039
* ``mutter()`` will now flush the ``~/.bzr.log`` if it has been more
 
5040
  than 2s since the last time it flushed. (John Arbash Meinel)
 
5041
 
 
5042
* New method ``bzrlib.repository.Repository.add_inventory_by_delta``
 
5043
  allows adding an inventory via an inventory delta, which can be
 
5044
  more efficient for some repository types. (Robert Collins)
 
5045
 
 
5046
* Repository ``CommitBuilder`` objects can now accumulate an inventory
 
5047
  delta. To enable this functionality call ``builder.recording_deletes``
 
5048
  and additionally call ``builder.record_delete`` when a delete
 
5049
  against the basis occurs. (Robert Collins)
 
5050
 
 
5051
* The default http handler has been changed from pycurl to urllib.
 
5052
  The default is still pycurl for https connections. (The only
 
5053
  advantage of pycurl is that it checks ssl certificates.)
 
5054
  (John Arbash Meinel)
 
5055
 
 
5056
* ``VersionedFiles.get_record_stream()`` can now return objects with a
 
5057
  storage_kind of ``chunked``. This is a collection (list/tuple) of
 
5058
  strings. You can use ``osutils.chunks_to_lines()`` to turn them into
 
5059
  guaranteed 'lines' or you can use ``''.join(chunks)`` to turn it
 
5060
  into a fulltext. This allows for some very good memory savings when
 
5061
  asking for many texts that share ancestry, as the individual chunks
 
5062
  can be shared between versions of the file. (John Arbash Meinel)
 
5063
 
 
5064
* ``pull -v`` and ``push -v`` use new function
 
5065
  ``bzrlib.log.show_branch_change`` (Aaron Bentley)
 
5066
 
 
5067
 
 
5068
 
 
5069
bzr 1.10
 
5070
########
 
5071
 
 
5072
:Released: 2008-12-05
 
5073
 
 
5074
Bazaar 1.10 has several performance improvements for copying revisions
 
5075
(especially for small updates to large projects).  There has also been a
 
5076
significant amount of effort in polishing stacked branches.  The commands
 
5077
``shelve`` and ``unshelve`` have become core commands, with an improved
 
5078
implementation.
 
5079
 
 
5080
The only changes versus bzr-1.10rc1 are bugfixes for stacked branches.
 
5081
 
 
5082
bug Fixes
 
5083
*********
 
5084
 
 
5085
* Don't set a pack write cache size from RepoFetcher, because the
 
5086
  cache is not coherent with reads and causes ShortReadvErrors.
 
5087
  This reverses the change that fixed #294479.
 
5088
  (Martin Pool, #303856)
 
5089
 
 
5090
* Properly handle when a revision can be inserted as a delta versus
 
5091
  when it needs to be expanded to a fulltext for stacked branches.
 
5092
  There was a bug involving merge revisions. As a method to help
 
5093
  prevent future difficulties, also make stacked fetches sort
 
5094
  topologically. (John Arbash Meinel, #304841)
 
5095
 
 
5096
 
 
5097
bzr 1.10rc1
 
5098
###########
 
5099
 
 
5100
:Released: 2008-11-28
 
5101
 
 
5102
This release of Bazaar focuses on performance improvements when pushing
 
5103
and pulling revisions, both locally and to remote networks.  The popular
 
5104
``shelve`` and ``unshelve`` commands, used to interactively revert and
 
5105
restore work in progress, have been merged from bzrtools into the bzr
 
5106
core.  There are also bug fixes for portability, and for stacked branches.
 
5107
 
 
5108
New Features
 
5109
************
 
5110
 
 
5111
* New ``commit_message_template`` hook that is called by the commit
 
5112
  code to generate a template commit message. (Jelmer Vernooij)
 
5113
 
 
5114
* New `shelve` and `unshelve` commands allow undoing and redoing changes.
 
5115
  (Aaron Bentley)
 
5116
 
 
5117
Improvements
 
5118
************
 
5119
 
 
5120
* ``(Remote)Branch.copy_content_into`` no longer generates the full revision
 
5121
  history just to set the last revision info.
 
5122
  (Andrew Bennetts, John Arbash Meinel)
 
5123
 
 
5124
* Fetches between formats with different serializers (such as
 
5125
  pack-0.92-subtree and 1.9-rich-root) are faster now.  This is due to
 
5126
  operating on batches of 100 revisions at time rather than
 
5127
  one-by-one.  (Andrew Bennetts, John Arbash Meinel)
 
5128
 
 
5129
* Search index files corresponding to pack files we've already used
 
5130
  before searching others, because they are more likely to have the
 
5131
  keys we're looking for.  This reduces the number of iix and tix
 
5132
  files accessed when pushing 1 new revision, for instance.
 
5133
  (John Arbash Meinel)
 
5134
 
 
5135
* Signatures to transfer are calculated more efficiently in
 
5136
  ``item_keys_introduced_by``.  (Andrew Bennetts, John Arbash Meinel)
 
5137
 
 
5138
* The generic fetch code can once again copy revisions and signatures
 
5139
  without extracting them completely to fulltexts and then serializing
 
5140
  them back down into byte strings. This is a significant performance
 
5141
  improvement when fetching from a stacked branch.
 
5142
  (John Arbash Meinel, #300289)
 
5143
 
 
5144
* When making a large readv() request over ``bzr+ssh``, break up the
 
5145
  request into more manageable chunks. Because the RPC is not yet able
 
5146
  to stream, this helps keep us from buffering too much information at
 
5147
  once. (John Arbash Meinel)
 
5148
 
 
5149
Bug Fixes
 
5150
*********
 
5151
 
 
5152
* Better message when the user needs to set their Launchpad ID.
 
5153
  (Martin Pool, #289148)
 
5154
 
 
5155
* ``bzr commit --local`` doesn't access the master branch anymore.
 
5156
  This fixes a regression introduced in 1.9.  (Marius Kruger, #299313)
 
5157
 
 
5158
* Don't call the system ``chdir()`` with an empty path. Sun OS seems
 
5159
  to give an error in that case.  Also, don't count on ``getcwd()``
 
5160
  being able to allocate a new buffer, which is a gnu extension.
 
5161
  (John Arbash Meinel, Martin Pool, Harry Hirsch, #297831)
 
5162
 
 
5163
* Don't crash when requesting log --forward <file> for a revision range
 
5164
  starting with a dotted revno.
 
5165
  (Vincent Ladeuil, #300055)
 
5166
 
 
5167
* Don't create text deltas spanning stacked repositories; this could
 
5168
  cause "Revision X not present in Y" when later accessing them.
 
5169
  (Martin Pool, #288751)
 
5170
 
 
5171
* Pack repositories are now able to reload the pack listing and retry
 
5172
  the current operation if another action causes the data to be
 
5173
  repacked.  (John Arbash Meinel, #153786)
 
5174
 
 
5175
* PermissionDenied errors from smart servers no longer cause
 
5176
  "PermissionDenied: "None"" on the client.
 
5177
  (Andrew Bennetts, #299254)
 
5178
 
 
5179
* Pushing to a stacked pack repository now batches writes, the same
 
5180
  way writes are batched to ordinary pack repository.  This makes
 
5181
  pushing to a stacked branch over the network much faster.
 
5182
  (Andrew Bennetts, #294479)
 
5183
 
 
5184
* TooManyConcurrentRequests no longer occur when a fetch fails and
 
5185
  tries to abort a write group.  This allows the root cause (e.g. a
 
5186
  network interruption) to be reported.  (Andrew Bennetts, #297014)
 
5187
 
 
5188
* RemoteRepository.get_parent_map now uses fallback repositories.
 
5189
  (Aaron Bentley, #297991?, #293679?)
 
5190
 
 
5191
API Changes
 
5192
***********
 
5193
 
 
5194
* ``CommitBuilder`` now validates the strings it will be committing,
 
5195
  to ensure that they do not have characters that will not be properly
 
5196
  round-tripped. For now, it just checks for characters that are
 
5197
  invalid in the XML form. (John Arbash Meinel, #295161)
 
5198
 
 
5199
* Constructor parameters for NewPack (internal to pack repositories)
 
5200
  have changed incompatibly.
 
5201
 
 
5202
* ``Repository.abort_write_group`` now accepts an optional
 
5203
  ``suppress_errors`` flag.  Repository implementations that override
 
5204
  ``abort_write_group`` will need to be updated to accept the new
 
5205
  argument.  Subclasses that only override ``_abort_write_group``
 
5206
  don't need to change.
 
5207
 
 
5208
* Transport implementations must provide copy_tree_to_transport.  A default
 
5209
  implementation is provided for Transport subclasses.
 
5210
 
 
5211
Testing
 
5212
*******
 
5213
 
 
5214
* ``bzr selftest`` now fails if no doctests are found in a module
 
5215
  that's expected to have them.  (Martin Pool)
 
5216
 
 
5217
* Doctests now only report the first failure.  (Martin Pool)
 
5218
 
 
5219
 
 
5220
bzr 1.9
 
5221
#######
 
5222
 
 
5223
:Released: 2008-11-07
 
5224
 
 
5225
This release of Bazaar adds a new repository format, ``1.9``, with smaller
 
5226
and more efficient index files.  This format can be specified when
 
5227
creating a new repository, or used to losslessly upgrade an existing
 
5228
repository.  bzr 1.9 also speeds most operations over the smart server
 
5229
protocol, makes annotate faster, and uses less memory when making
 
5230
checkouts or pulling large amounts of data.
 
5231
 
 
5232
Bug Fixes
 
5233
*********
 
5234
 
 
5235
* Fix "invalid property value 'branch-nick' for None" regression with
 
5236
  branches bound to svn branches.  (Martin Pool, #293440)
 
5237
 
 
5238
* Fix SSL/https on Python2.6.  (Vincent Ladeuil, #293054)
 
5239
 
 
5240
* ``SFTPTransport.readv()`` had a bug when requests were out-of-order.
 
5241
  This only triggers some-of-the-time on Knit format repositories.
 
5242
  (John Arbash Meinel, #293746)
 
5243
 
 
5244
 
 
5245
bzr 1.9rc1
 
5246
##########
 
5247
 
 
5248
:Released: 2008-10-31
 
5249
 
 
5250
New Features
 
5251
************
 
5252
 
 
5253
* New Branch hook ``transform_fallback_location`` allows a function to
 
5254
  be called when looking up the stacked source. (Michael Hudson)
 
5255
 
 
5256
* New repository formats ``1.9`` and ``1.9-rich-root``. These have all
 
5257
  the functionality of ``1.6``, but use the new btree indexes.
 
5258
  These indexes are both smaller and faster for access to historical
 
5259
  information.  (John Arbash Meinel)
 
5260
 
 
5261
Improvements
 
5262
************
 
5263
 
 
5264
* ``BTreeIndex`` code now is able to prefetch extra pages to help tune
 
5265
  the tradeoff between bandwidth and latency. Should be tuned
 
5266
  appropriately to not impact commands which need minimal information,
 
5267
  but provide a significant boost to ones that need more context. Only
 
5268
  has a direct impact on the ``--development2`` format which uses
 
5269
  btree's for the indexes. (John Arbash Meinel)
 
5270
 
 
5271
* ``bzr dump-btree`` is a hidden command introduced to allow dumping
 
5272
  the contents of a compressed btree file.  (John Arbash Meinel)
 
5273
 
 
5274
* ``bzr pack`` now tells the index builders to optimize for size. For
 
5275
  btree index repositories, this can save 25% of the index size
 
5276
  (mostly in the text indexes). (John Arbash Meinel)
 
5277
 
 
5278
* ``bzr push`` to an existing branch or repository on a smart server
 
5279
  is faster, due to Bazaar making more use of the ``get_parent_map``
 
5280
  RPC when querying the remote branch's revision graph.
 
5281
  (Andrew Bennetts)
 
5282
 
 
5283
* default username for bzr+ssh and sftp can be configured in
 
5284
  authentication.conf. (Aaron Bentley)
 
5285
 
 
5286
* launchpad-login now provides a default username for bzr+ssh and sftp
 
5287
  URLs, allowing username-free URLs to work for everyone. (Aaron Bentley)
 
5288
 
 
5289
* ``lp:`` lookups no longer include usernames, making them shareable and
 
5290
  shorter. (Aaron Bentley)
 
5291
 
 
5292
* New ``PackRepository.autopack`` smart server RPC, which does
 
5293
  autopacking entirely on the server.  This is much faster than
 
5294
  autopacking via plain file methods, which downloads a large amount
 
5295
  of pack data and then re-uploads the same pack data into a single
 
5296
  file.  This fixes a major (although infrequent) cause of lengthy
 
5297
  delays when using a smart server.  For example, pushing the 10th
 
5298
  revision to a repository with 9 packs now takes 44 RPCs rather than
 
5299
  179, and much less bandwidth too.  This requires Bazaar 1.9 on both
 
5300
  the client and the server, otherwise the client will fallback to the
 
5301
  slower method.  (Andrew Bennetts)
 
5302
 
 
5303
Bug Fixes
 
5304
*********
 
5305
 
 
5306
* A failure to load a plugin due to an IncompatibleAPI exception is
 
5307
  now correctly reported. (Robert Collins, #279451)
 
5308
 
 
5309
* API versioning support now has a multiple-version checking api
 
5310
  ``require_any_api``. (Robert Collins, #279447)
 
5311
 
 
5312
* ``bzr branch --stacked`` from a smart server to a standalone branch
 
5313
  works again.  This fixes a regression in 1.7 and 1.8.
 
5314
  (Andrew Bennetts, #270397)
 
5315
 
 
5316
* ``bzr co`` uses less memory. It used to unpack the entire WT into
 
5317
  memory before writing it to disk. This was a little bit faster, but
 
5318
  consumed lots of memory. (John Arbash Meinel, #269456)
 
5319
 
 
5320
* ``bzr missing --quiet`` no longer prints messages about whether
 
5321
  there are missing revisions.  The exit code indicates whether there
 
5322
  were or not.  (Martin Pool, #284748)
 
5323
 
 
5324
* Fixes to the ``annotate`` code. The fast-path which re-used the
 
5325
  stored deltas was accidentally disabled all the time, instead of
 
5326
  only when a branch was stacked. Second, the code would accidentally
 
5327
  re-use a delta even if it wasn't against the left-parent, this
 
5328
  could only happen if ``bzr reconcile`` decided that the parent
 
5329
  ordering was incorrect in the file graph.  (John Arbash Meinel)
 
5330
 
 
5331
* "Permission denied" errors that occur when pushing a new branch to a
 
5332
  smart server no longer cause tracebacks.  (Andrew Bennetts, #278673)
 
5333
 
 
5334
* Some compatibility fixes for building the extensions with MSVC and
 
5335
  for python2.4. (John Arbash Meinel, #277484)
 
5336
 
 
5337
* The index logic is now able to reload the list of pack files if and
 
5338
  index ends up disappearing. We still don't reload if the pack data
 
5339
  itself goes missing after checking the index. This bug appears as a
 
5340
  transient failure (file not found) when another process is writing
 
5341
  to the repository.  (John Arbash Meinel, #153786)
 
5342
 
 
5343
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
5344
  it was previously set. All checkouts will now refer to the bound branch
 
5345
  for a nickname if one was not explicitly set.
 
5346
  (Marius Kruger, #230903)
 
5347
 
 
5348
Documentation
 
5349
*************
 
5350
 
 
5351
* Improved hook documentation. (Michael Ernst)
 
5352
 
 
5353
API Changes
 
5354
***********
 
5355
 
 
5356
* commands.plugins_cmds is now a CommandRegistry, not a dict.
 
5357
 
 
5358
Internals
 
5359
*********
 
5360
 
 
5361
* New AuthenticationConfig.set_credentials method allows easy programmatic
 
5362
  configuration of authetication credentials.
 
5363
 
 
5364
 
 
5365
bzr 1.8
 
5366
#######
 
5367
 
 
5368
:Released: 2008-10-16
 
5369
 
 
5370
Bazaar 1.8 includes several fixes that improve working tree performance,
 
5371
display of revision logs, and merges.  The bzr testsuite now passes on OS
 
5372
X and Python 2.6, and almost completely passes on Windows.  The
 
5373
smartserver code has gained several bug fixes and performance
 
5374
improvements, and can now run server-side hooks within an http server.
 
5375
 
 
5376
Bug Fixes
 
5377
*********
 
5378
 
 
5379
* Fix "Must end write group" error when another error occurs during
 
5380
  ``bzr push``.  (Andrew Bennetts, #230902)
 
5381
 
 
5382
Portability
 
5383
***********
 
5384
 
 
5385
* Some Pyrex versions require the WIN32 macro defined to compile on
 
5386
  that platform.  (Alexander Belchenko, Martin Pool, #277481)
 
5387
 
 
5388
 
 
5389
bzr 1.8rc1
 
5390
##########
 
5391
 
 
5392
:Released: 2008-10-07
 
5393
 
 
5394
Changes
 
5395
*******
 
5396
 
 
5397
* ``bzr log file`` has been changed. It now uses a different method
 
5398
  for determining which revisions to show as merging the changes to
 
5399
  the file. It now only shows revisions which merged the change
 
5400
  towards your mainline. This simplifies the output, makes it faster,
 
5401
  and reduces memory consumption.  (John Arbash Meinel)
 
5402
 
 
5403
* ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
 
5404
  ``--show-base`` is not supplied.  (John Arbash Meinel)
 
5405
 
 
5406
* ``bzr+http//`` will now optionally load plugins and write logs on the
 
5407
  server. (Marius Kruger)
 
5408
 
 
5409
* ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
 
5410
  Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
 
5411
  explicitly blacklist that version of the compiler for that
 
5412
  extension. Packaged versions will include .c files created with
 
5413
  pyrex >= 0.9.6 so it doesn't effect releases, only users running
 
5414
  from the source tree. (John Arbash Meinel, #276868)
 
5415
 
 
5416
Features
 
5417
********
 
5418
 
 
5419
* bzr is now compatible with python-2.6. python-2.6 is not yet officially
 
5420
  supported (nor released, tests were conducted with the dev version of
 
5421
  python-2.6rc2), but all known problems have been fixed.  Feedback
 
5422
  welcome.
 
5423
  (Vincent Ladeuil, #269535)
 
5424
 
 
5425
Improvements
 
5426
************
 
5427
 
 
5428
* ``bzr annotate`` will now include uncommitted changes from the local
 
5429
  working tree by default. Such uncommitted changes are given the
 
5430
  revision number they would get if a commit was done, followed with a
 
5431
  ? to indicate that its not actually known. (Robert Collins, #3439)
 
5432
 
 
5433
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
 
5434
  standalone branch regardless of the presence of shared repositories.
 
5435
  (Daniel Watkins)
 
5436
 
 
5437
* ``bzr push`` is faster in the case there are no new revisions to
 
5438
  push.  It is also faster if there are no tags in the local branch.
 
5439
  (Andrew Bennetts)
 
5440
 
 
5441
* File changes during a commit will update the tree stat cache.
 
5442
  (Robert Collins)
 
5443
 
 
5444
* Location aliases can now accept a trailing path.  (Micheal Hudson)
 
5445
 
 
5446
* New hooks ``Lock.hooks`` when LockDirs are acquired and released.
 
5447
  (Robert Collins, MartinPool)
 
5448
 
 
5449
* Switching in heavyweight checkouts uses the master branch's context, not
 
5450
  the checkout's context.  (Adrian Wilkins)
 
5451
 
 
5452
* ``status`` on large trees is now faster, due to optimisations in the
 
5453
  walkdirs code. Of particular note, the walkdirs code now performs
 
5454
  a temporary ``chdir()`` while reading a single directory; if your
 
5455
  platform has non thread-local current working directories (and is
 
5456
  not windows which has its own implementation), this may introduce a
 
5457
  race condition during concurrent uses of bzrlib. The bzrlib CLI
 
5458
  will not encounter this as it is single threaded for working tree
 
5459
  operations. (Robert Collins)
 
5460
 
 
5461
* The C extensions now build on python 2.4 (Robert Collins, #271939)
 
5462
 
 
5463
* The ``-Dhpss`` debug flag now reports the number of smart server
 
5464
  calls per medium to stderr.  This is in addition to the existing
 
5465
  detailed logging to the .bzr.log trace file.  (Andrew Bennetts)
 
5466
 
 
5467
Bug Fixes
 
5468
*********
 
5469
 
 
5470
* Avoid random failures arising from misinterpreted ``errno`` values
 
5471
  in ``_readdir_pyx.read_dir``.
 
5472
  (Martin Pool, #279381)
 
5473
 
 
5474
* Branching from a shared repository on a smart server into a new
 
5475
  repository now preserves the repository format.
 
5476
  (Andrew Bennetts, #269214)
 
5477
 
 
5478
* ``bzr log`` now accepts a ``--change`` option.
 
5479
  (Vincent Ladeuil, #248427)
 
5480
 
 
5481
* ``bzr missing`` now accepts an ``--include-merges`` option.
 
5482
  (Vincent Ladeuil, #233817)
 
5483
 
 
5484
* Don't try to filter (internally) '.bzr' from the files to be deleted if
 
5485
  it's not there.
 
5486
  (Vincent Ladeuil, #272648)
 
5487
 
 
5488
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
5489
  (Andrew Bennetts)
 
5490
 
 
5491
* Fix TooManyConcurrentRequests errors caused by a connection failure
 
5492
  when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
 
5493
  (Andrew Bennetts, #246233)
 
5494
 
 
5495
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
 
5496
  is in a different repository than the current one.
 
5497
  (Lukáš Lalinský, #144421)
 
5498
 
 
5499
* Make the first line of the manpage preamble a comment again.
 
5500
  (David Futcher, #242106)
 
5501
 
 
5502
* Remove use of optional parameter in GSSAPI FTP support, since
 
5503
  it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
 
5504
 
 
5505
* The autopacking logic will now always create a single new pack from
 
5506
  all of the content which it deems is worth moving. This avoids the
 
5507
  'repack a single pack' bug and should result in better packing
 
5508
  overall.  (John Arbash Meinel, #242510, #172644)
 
5509
 
 
5510
* Trivial documentation fix.
 
5511
  (John Arbash Meinel, #270471)
 
5512
 
 
5513
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
5514
  it was previously set. All checkouts will now refer to the bound branch
 
5515
  for a nickname if one was not explicitly set.
 
5516
  (Marius Kruger, #230903)
 
5517
 
 
5518
Documentation
 
5519
*************
 
5520
 
 
5521
* Explain revision/range identifiers. (Daniel Clemente)
 
5522
 
 
5523
API Changes
 
5524
***********
 
5525
 
 
5526
* ``CommitBuilder.record_entry_contents`` returns one more element in
 
5527
  its result tuple - an optional file system hash for the hash cache
 
5528
  to use. (Robert Collins)
 
5529
 
 
5530
* ``dirstate.DirState.update_entry`` will now only calculate the sha1
 
5531
  of a file if it is likely to be needed in determining the output
 
5532
  of iter_changes. (Robert Collins)
 
5533
 
 
5534
* The PackRepository, RepositoryPackCollection, NewPack classes have a
 
5535
  slightly changed interface to support different index types; as a
 
5536
  result other users of these classes need to supply the index types
 
5537
  they want. (Robert Collins)
 
5538
 
 
5539
Testing
 
5540
*******
 
5541
 
 
5542
* ``bzrlib.tests.repository_implementations`` has been renamed to
 
5543
  ``bzrlib.tests.per_repository`` so that we have a common structure
 
5544
  (and it is shorter). (John Arbash Meinel, #239343)
 
5545
 
 
5546
* ``LocalTransport.abspath()`` now returns a drive letter if the
 
5547
  transport has one, fixing numerous tests on Windows.
 
5548
  (Mark Hammond)
 
5549
 
 
5550
* PreviewTree is now tested via intertree_implementations.
 
5551
  (Aaron Bentley)
 
5552
 
 
5553
* The full test suite is passing again on OSX.
 
5554
  (Guillermo Gonzalez, Vincent Ladeuil)
 
5555
 
 
5556
* The full test suite passes when run with ``-Eallow_debug``.
 
5557
  (Andrew Bennetts)
 
5558
 
 
5559
Internals
 
5560
*********
 
5561
 
 
5562
* A new hook, ``Branch.open``, has been added, which is called when
 
5563
  branch objects are opened. (Robert Collins)
 
5564
 
 
5565
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
 
5566
  tree walking, and modular directory listing code to aid future
 
5567
  performance optimisations and refactoring. (Robert Collins)
 
5568
 
 
5569
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
 
5570
  in the middle of processing. It only reports memory if
 
5571
  ``/proc/PID/status`` is available. (John Arbash Meinel)
 
5572
 
 
5573
* New method ``RevisionSpec.as_tree`` for representing the revision
 
5574
  specifier as a revision tree object. (Lukáš Lalinský)
 
5575
 
 
5576
* New race-free method on MutableTree ``get_file_with_stat`` for use
 
5577
  when generating stat cache results. (Robert Collins)
 
5578
 
 
5579
* New win32utils.get_local_appdata_location() provides access to a local
 
5580
  directory for storing data.  (Mark Hammond)
 
5581
 
 
5582
* To be compatible with python-2.6 a few new rules should be
 
5583
  observed. 'message' attribute can't be used anymore in exception
 
5584
  classes, 'sha' and 'md5' modules have been deprecated (use
 
5585
  osutils.[md5|sha]), object__init__ and object.__new__ don't accept
 
5586
  parameters anymore.
 
5587
  (Vincent Ladeuil)
 
5588
 
 
5589
 
 
5590
bzr 1.7.1
 
5591
#########
 
5592
 
 
5593
:Released:  2008-10-01
 
5594
 
 
5595
No changes from 1.7.1rc1.
 
5596
 
 
5597
 
 
5598
bzr 1.7.1rc1
 
5599
############
 
5600
 
 
5601
:Released: 2008-09-24
 
5602
 
 
5603
This release just includes an update to how the merge algorithm handles
 
5604
file paths when we encounter complex history.
 
5605
 
 
5606
Features
 
5607
********
 
5608
 
 
5609
* If we encounter a criss-cross in history, use information from
 
5610
  direct Least Common Ancestors to resolve inventory shape (locations
 
5611
  of files, adds, deletes, etc). This is similar in concept to using
 
5612
  ``--lca`` for merging file texts, only applied to paths.
 
5613
  (John Arbash Meinel)
 
5614
 
 
5615
 
 
5616
bzr 1.7
 
5617
#######
 
5618
 
 
5619
:Released: 2008-09-23
 
5620
 
 
5621
This release includes many bug fixes and a few performance and feature
 
5622
improvements.  ``bzr rm`` will now scan for missing files and remove them,
 
5623
like how ``bzr add`` scans for unknown files and adds them. A bit more
 
5624
polish has been applied to the stacking code. The b-tree indexing code has
 
5625
been brought in, with an eye on using it in a future repository format.
 
5626
There are only minor installer changes since bzr-1.7rc2.
 
5627
 
 
5628
Features
 
5629
********
 
5630
 
 
5631
* Some small updates to the win32 installer. Include localization
 
5632
  files found in plugins, and include the builtin distutils as part of
 
5633
  packaging qbzr. (Mark Hammond)
 
5634
 
 
5635
 
 
5636
bzr 1.7rc2
 
5637
##########
 
5638
 
 
5639
:Released: 2008-09-17
 
5640
 
 
5641
A few bug fixes from 1.7rc1. The biggest change is a new
 
5642
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
 
5643
trying to access a Stacked branch over the smart protocol, to properly
 
5644
connect to the stacked-on location.
 
5645
 
 
5646
Bug Fixes
 
5647
*********
 
5648
 
 
5649
* Branching from a shared repository on a smart server into a new
 
5650
  repository now preserves the repository format.
 
5651
  (Andrew Bennetts, #269214)
 
5652
 
 
5653
* Branching from a stacked branch via ``bzr+ssh`` can properly connect
 
5654
  to the stacked-on branch.  (Martin Pool, #261315)
 
5655
 
 
5656
* ``bzr init`` no longer re-opens the BzrDir multiple times.
 
5657
  (Vincent Ladeuil)
 
5658
 
 
5659
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
5660
  (Andrew Bennetts)
 
5661
 
 
5662
 
 
5663
bzr 1.7rc1
 
5664
##########
 
5665
 
 
5666
:Released: 2008-09-09
 
5667
 
 
5668
This release candidate for bzr 1.7 has several bug fixes and a few
 
5669
performance and feature improvements.  ``bzr rm`` will now scan for
 
5670
missing files and remove them, like how ``bzr add`` scans for unknown
 
5671
files and adds them. A bit more polish has been applied to the stacking
 
5672
code. The b-tree indexing code has been brought in, with an eye on using
 
5673
it in a future repository format.
 
5674
 
 
5675
 
 
5676
Changes
 
5677
*******
 
5678
 
 
5679
* ``bzr export`` can now export a subdirectory of a project.
 
5680
  (Robert Collins)
 
5681
 
 
5682
* ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
 
5683
  changes, unless the ``--force`` option is specified.
 
5684
  (Lukáš Lalinský, #74101)
 
5685
 
 
5686
* ``bzr rm`` will now scan for files that are missing and remove just
 
5687
  them automatically, much as ``bzr add`` scans for new files that
 
5688
  are not ignored and adds them automatically. (Robert Collins)
 
5689
 
 
5690
Features
 
5691
********
 
5692
 
 
5693
* Support for GSSAPI authentication when using FTP as documented in
 
5694
  RFC2228. (Jelmer Vernooij, #49623)
 
5695
 
 
5696
* Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
 
5697
 
 
5698
Improvements
 
5699
************
 
5700
 
 
5701
* A url like ``log+file:///tmp`` will log all access to that Transport
 
5702
  to ``.bzr.log``, which may help in debugging or profiling.
 
5703
  (Martin Pool)
 
5704
 
 
5705
* ``bzr branch`` and ``bzr push`` use the default stacking policy if the
 
5706
  branch format supports it. (Aaron Bentley)
 
5707
 
 
5708
* ``bzr init`` and ``bzr init-repo`` will now print out the same as
 
5709
  ``bzr info`` if it completed successfully.
 
5710
  (Marius Kruger)
 
5711
 
 
5712
* ``bzr uncommit`` logs the old tip revision id, and displays how to
 
5713
  restore the branch to that tip using ``bzr pull``.  This allows you
 
5714
  to recover if you realize you uncommitted the wrong thing.
 
5715
  (John Arbash Meinel)
 
5716
 
 
5717
* Fix problems in accessing stacked repositories over ``bzr://``.
 
5718
  (Martin Pool, #261315)
 
5719
 
 
5720
* ``SFTPTransport.readv()`` was accidentally using ``list += string``,
 
5721
  which 'works', but adds each character separately to the list,
 
5722
  rather than using ``list.append(string)``. Fixing this makes the
 
5723
  SFTP transport a little bit faster (~20%) and use a bit less memory.
 
5724
  (John Arbash Meinel)
 
5725
 
 
5726
* When reading index files, if we happen to read the whole file in a
 
5727
  single request treat it as a ``_buffer_all`` request. This happens
 
5728
  most often on small indexes over remote transports, where we default
 
5729
  to reading 64kB. It saves a round trip for each small index during
 
5730
  fetch operations. Also, if we have read more than 50% of an index
 
5731
  file, trigger a ``_buffer_all`` on the next request. This works
 
5732
  around some inefficiencies because reads don't fall neatly on page
 
5733
  boundaries, so we would ignore those bytes, but request them again
 
5734
  later. This could trigger a total read size of more than the whole
 
5735
  file. (John Arbash Meinel)
 
5736
 
 
5737
Bug Fixes
 
5738
*********
 
5739
 
 
5740
* ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
 
5741
  users. (Robert Collins, #205416)
 
5742
 
 
5743
* Catch the infamous "select/poll returned error" which occurs when
 
5744
  pycurl try to send a body request to an HTTP/1.0 server which has
 
5745
  already refused to handle the request. (Vincent Ladeuil, #225020)
 
5746
 
 
5747
* Fix ``ObjectNotLocked`` errors when using various commands
 
5748
  (including ``bzr cat`` and ``bzr annotate``) in combination with a
 
5749
  smart server URL.  (Andrew Bennetts, #237067)
 
5750
 
 
5751
* ``FTPTransport.stat()`` would return ``0000`` as the permission bits
 
5752
  for the containing ``.bzr/`` directory (it does not implement
 
5753
  permissions). This would cause us to set all subdirectories to
 
5754
  ``0700`` and files to ``0600`` rather than leaving them unmodified.
 
5755
  Now we ignore ``0000`` as the permissions and assume they are
 
5756
  invalid. (John Arbash Meinel, #259855)
 
5757
 
 
5758
* Merging from a previously joined branch will no longer cause
 
5759
  a traceback. (Jelmer Vernooij, #203376)
 
5760
 
 
5761
* Pack operations on windows network shares will work even with large
 
5762
  files. (Robert Collins, #255656)
 
5763
 
 
5764
* Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
 
5765
  status. Status is also about 7% faster on mozilla sized trees
 
5766
  when the path to the root of the tree has been given. Users of
 
5767
  the internal ``show_tree_status`` function should be aware that
 
5768
  the show_pending flag is now authoritative for showing pending
 
5769
  merges, as it was originally. (Robert Collins, #225204)
 
5770
 
 
5771
* Set valid default _param_name for Option so that ListOption can embed
 
5772
  '-' in names. (Vincent Ladeuil, #263249)
 
5773
 
 
5774
* Show proper error rather than traceback when an unknown revision
 
5775
  id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
 
5776
 
 
5777
* Trailing text in the dirstate file could cause the C dirstate parser
 
5778
  to try to allocate an invalid amount of memory. We now properly
 
5779
  check and test for parsing a dirstate with invalid trailing data.
 
5780
  (John Arbash Meinel, #186014)
 
5781
 
 
5782
* Unexpected error responses from a smart server no longer cause the
 
5783
  client to traceback.  (Andrew Bennetts, #263527)
 
5784
 
 
5785
* Use a Windows api function to get a Unicode host name, rather than
 
5786
  assuming the host name is ascii.
 
5787
  (Mark Hammond, John Arbash Meinel, #256550)
 
5788
 
 
5789
* ``WorkingTree4`` trees will now correctly report missing-and-new
 
5790
  paths in the output of ``iter_changes``. (Robert Collins)
 
5791
 
 
5792
Documentation
 
5793
*************
 
5794
 
 
5795
* Updated developer documentation.  (Martin Pool)
 
5796
 
 
5797
API Changes
 
5798
***********
 
5799
 
 
5800
* Exporters now take 4 parameters. (Robert Collins)
 
5801
 
 
5802
* ``Tree.iter_changes`` will now return False for the content change
 
5803
  field when a file is missing in the basis tree and not present in
 
5804
  the target tree. Previously it returned True unconditionally.
 
5805
  (Robert Collins)
 
5806
 
 
5807
* The deprecated ``Branch.abspath`` and unimplemented
 
5808
  ``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
 
5809
 
 
5810
* BzrDir.clone_on_transport implementations must now accept a stacked_on
 
5811
  parameter.  (Aaron Bentley)
 
5812
 
 
5813
* BzrDir.cloning_metadir implementations must now take a require_stacking
 
5814
  parameter.  (Aaron Bentley)
 
5815
 
 
5816
Testing
 
5817
*******
 
5818
 
 
5819
* ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
 
5820
  which are then passed to the cleanup callable as it is run. In
 
5821
  addition, addCleanup no longer requires that the callables passed to
 
5822
  it be unique. (Jonathan Lange)
 
5823
 
 
5824
* Fix some tests that fail on Windows because files are deleted while
 
5825
  still in use.
 
5826
  (Mark Hammond)
 
5827
 
 
5828
* ``selftest``'s ``--starting-with`` option can now use predefined
 
5829
  prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
 
5830
  ``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
 
5831
 
 
5832
* ``selftest``'s ``--starting-with`` option now accepts multiple values.
 
5833
  (Vincent Ladeuil)
 
5834
 
 
5835
Internals
 
5836
*********
 
5837
 
 
5838
* A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
 
5839
  This allows dynamic log output filtering by plugins.
 
5840
  (Robert Collins)
 
5841
 
 
5842
* ``bzrlib.btree_index`` is now available, providing a b-tree index
 
5843
  layer. The design is memory conservative (limited memory cache),
 
5844
  faster to seek (approx 100 nodes per page, gives 100-way fan out),
 
5845
  and stores compressed pages allowing more keys per page.
 
5846
  (Robert Collins, John Arbash Meinel)
 
5847
 
 
5848
* ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
 
5849
  is unknown in both source and target.
 
5850
  (Robert Collins, Aaron Bentley)
 
5851
 
 
5852
* ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
 
5853
  streamlined a bit. This should make creating large indexes faster.
 
5854
  (In benchmarking, it now takes less time to create a BTree index than
 
5855
  it takes to read the GraphIndex one.) (John Arbash Meinel)
 
5856
 
 
5857
* Mail clients for `bzr send` are now listed in a registry.  This
 
5858
  allows plugins to add new clients by registering them with
 
5859
  ``bzrlib.mail_client.mail_client_registry``.  All of the built-in
 
5860
  clients now use this mechanism.  (Neil Martinsen-Burrell)
 
5861
 
 
5862
 
 
5863
bzr 1.6.1
 
5864
#########
 
5865
 
 
5866
:Released: 2008-09-05
 
5867
 
 
5868
A couple regressions were found in the 1.6 release. There was a
 
5869
performance issue when using ``bzr+ssh`` to branch large repositories,
 
5870
and some problems with stacking and ``rich-root`` capable repositories.
 
5871
 
 
5872
 
 
5873
bzr 1.6.1rc2
 
5874
############
 
5875
 
 
5876
:Released: 2008-09-03
 
5877
 
 
5878
Bug Fixes
 
5879
*********
 
5880
 
 
5881
* Copying between ``rich-root`` and ``rich-root-pack`` (and vice
 
5882
  versa) was accidentally using the inter-model fetcher, instead of
 
5883
  recognizing that both were 'rich root' formats.
 
5884
  (John Arbash Meinel, #264321)
 
5885
 
 
5886
 
 
5887
bzr 1.6.1rc1
 
5888
############
 
5889
 
 
5890
:Released: 2008-08-29
 
5891
 
 
5892
This release fixes a few regressions found in the 1.6 client. Fetching
 
5893
changes was using an O(N^2) buffering algorithm, so for large projects it
 
5894
would cause memory thrashing. There is also a specific problem with the
 
5895
``--1.6-rich-root`` format, which prevented stacking on top of
 
5896
``--rich-root-pack`` repositories, and could allow users to accidentally
 
5897
fetch experimental data (``-subtree``) without representing it properly.
 
5898
The ``--1.6-rich-root`` format has been deprecated and users are
 
5899
recommended to upgrade to ``--1.6.1-rich-root`` immediately.  Also we
 
5900
re-introduced a workaround for users who have repositories with incorrect
 
5901
nodes (not possible if you only used official releases).
 
5902
I should also clarify that none of this is data loss level issues, but
 
5903
still sufficient enough to warrant an updated release.
 
5904
 
 
5905
Bug Fixes
 
5906
*********
 
5907
 
 
5908
* ``RemoteTransport.readv()`` was being inefficient about how it
 
5909
  buffered the readv data and processed it. It would keep appending to
 
5910
  the same string (causing many copies) and then pop bytes out of the
 
5911
  start of the string (causing more copies).
 
5912
  With this patch "bzr+ssh://local" can improve dramatically,
 
5913
  especially for projects with large files.
 
5914
  (John Arbash Meinel)
 
5915
 
 
5916
* Revision texts were always meant to be stored as fulltexts. There
 
5917
  was a bug in a bzr.dev version that would accidentally create deltas
 
5918
  when copying from a Pack repo to a Knit repo. This has been fixed,
 
5919
  but to support those repositories, we know always request full texts
 
5920
  for Revision texts. (John Arbash Meinel, #261339)
 
5921
 
 
5922
* The previous ``--1.6-rich-root`` format used an incorrect xml
 
5923
  serializer, which would accidentally support fetching from a
 
5924
  repository that supported subtrees, even though the local one would
 
5925
  not. We deprecated that format, and introduced a new one that uses
 
5926
  the correct serializer ``--1.6.1-rich-root``.
 
5927
  (John Arbash Meinel, #262333)
 
5928
 
 
5929
 
 
5930
bzr 1.6
 
5931
#######
 
5932
 
 
5933
:Released: 2008-08-25
 
5934
 
 
5935
Finally, the long awaited bzr 1.6 has been released. This release includes
 
5936
new features like Stacked Branches, improved weave merge, and an updated
 
5937
server protocol (now on v3) which will allow for better cross version
 
5938
compatibility. With this release we have deprecated Knit format
 
5939
repositories, and recommend that users upgrade them, we will continue to
 
5940
support reading and writing them for the forseeable future, but we will
 
5941
not be tuning them for performance as pack repositories have proven to be
 
5942
better at scaling. This will also be the first release to bundle
 
5943
TortoiseBzr in the standalone Windows installer.
 
5944
 
 
5945
 
 
5946
bzr 1.6rc5
 
5947
##########
 
5948
 
 
5949
:Released: 2008-08-19
 
5950
 
 
5951
Bug Fixes
 
5952
*********
 
5953
 
 
5954
* Disable automatic detection of stacking based on a containing
 
5955
  directory of the target. It interacted badly with push, and needs a
 
5956
  bit more work to get the edges polished before it should happen
 
5957
  automatically. (John Arbash Meinel, #259275)
 
5958
  (This change was reverted when merged to bzr.dev)
 
5959
 
 
5960
 
 
5961
bzr 1.6rc4
 
5962
##########
 
5963
 
 
5964
:Released: 2008-08-18
 
5965
 
 
5966
Bug Fixes
 
5967
*********
 
5968
 
 
5969
* Fix a regression in knit => pack fetching.  We had a logic
 
5970
  inversion, causing the fetch to insert fulltexts in random order,
 
5971
  rather than preserving deltas.  (John Arbash Meinel, #256757)
 
5972
 
 
5973
 
 
5974
bzr 1.6rc3
 
5975
##########
 
5976
 
 
5977
:Released: 2008-08-14
 
5978
 
 
5979
Changes
 
5980
*******
 
5981
 
 
5982
* Disable reading ``.bzrrules`` as a per-branch rule preferences
 
5983
  file. The feature was not quite ready for a full release.
 
5984
  (Robert Collins)
 
5985
 
 
5986
Improvements
 
5987
************
 
5988
 
 
5989
* Update the windows installer to bundle TortoiseBzr and ``qbzr``
 
5990
  into the standalone installer. This will be the first official
 
5991
  windows release that installs Tortoise by default.
 
5992
  (Mark Hammond)
 
5993
 
 
5994
Bug Fixes
 
5995
*********
 
5996
 
 
5997
* Fix a regression in ``bzr+http`` support. There was a missing
 
5998
  function (``_read_line``) that needed to be carried over from
 
5999
  ``bzr+ssh`` support. (Andrew Bennetts)
 
6000
 
 
6001
* ``GraphIndex`` objects will internally read an entire index if more
 
6002
  than 1/20th of their keyspace is requested in a single operation.
 
6003
  This largely mitigates a performance regression in ``bzr log FILE``
 
6004
  and completely corrects the performance regression in ``bzr log``.
 
6005
  The regression was caused by removing an accomodation which had been
 
6006
  supporting the index format in use. A newer index format is in
 
6007
  development which is substantially faster. (Robert Collins)
 
6008
 
 
6009
 
 
6010
bzr 1.6rc2
 
6011
##########
 
6012
 
 
6013
:Released: 2008-08-13
 
6014
 
 
6015
This release candidate has a few minor bug fixes, and some regression
 
6016
fixes for Windows.
 
6017
 
 
6018
Bug Fixes
 
6019
*********
 
6020
 
 
6021
* ``bzr upgrade`` on remote branches accessed via bzr:// and
 
6022
  bzr+ssh:// now works.  (Andrew Bennetts)
 
6023
 
 
6024
* Change the ``get_format_description()`` strings for
 
6025
  ``RepositoryFormatKnitPack5`` et al to be single line messages.
 
6026
  (Aaron Bentley)
 
6027
 
 
6028
* Fix for a regression on Win32 where we would try to call
 
6029
  ``os.listdir()`` on a file and not catch the exception properly.
 
6030
  (Windows raises a different exception.) This would manifest in
 
6031
  places like ``bzr rm file`` or ``bzr switch``.
 
6032
  (Mark Hammond, John Arbash Meinel)
 
6033
 
 
6034
* ``Inventory.copy()`` was failing to set the revision property for
 
6035
  the root entry. (Jelmer Vernooij)
 
6036
 
 
6037
* sftp transport: added missing ``FileExists`` case to
 
6038
  ``_translate_io_exception`` (Christophe Troestler, #123475)
 
6039
 
 
6040
* The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for
 
6041
  scripting use. (Robert Collins, #3834)
 
6042
 
 
6043
* The default ``annotate`` logic will now always assign the
 
6044
  last-modified value of a line to one of the revisions that modified
 
6045
  it, rather than a merge revision. This would happen when both sides
 
6046
  claimed to have modified the line resulting in the same text. The
 
6047
  choice is arbitrary but stable, so merges in different directions
 
6048
  will get the same results.  (John Arbash Meinel, #232188)
 
6049
 
 
6050
 
 
6051
bzr 1.6rc1
 
6052
##########
 
6053
 
 
6054
:Released: 2008-08-06
 
6055
 
 
6056
This release candidate for bzr 1.6 solidifies the new branch stacking
 
6057
feature.  Bazaar now recommends that users upgrade all knit repositories,
 
6058
because later formats are much faster.  However, we plan to continue read/write and
 
6059
upgrade support for knit repostories for the forseeable future.  Several
 
6060
other bugs and performance issues were fixed.
 
6061
 
 
6062
Changes
 
6063
*******
 
6064
 
 
6065
* Knit format repositories are deprecated and bzr will now emit
 
6066
  warnings whenever it encounters one.  Use ``bzr upgrade`` to upgrade
 
6067
  knit repositories to pack format.  (Andrew Bennetts)
 
6068
 
 
6069
Improvements
 
6070
************
 
6071
 
 
6072
* ``bzr check`` can now be told which elements at a location it should
 
6073
  check.  (Daniel Watkins)
 
6074
 
 
6075
* Commit now supports ``--exclude`` (or ``-x``) to exclude some files
 
6076
  from the commit. (Robert Collins, #3117)
 
6077
 
 
6078
* Fetching data between repositories that have the same model but no
 
6079
  optimised fetcher will not reserialise all the revisions, increasing
 
6080
  performance. (Robert Collins, John Arbash Meinel)
 
6081
 
 
6082
* Give a more specific error when target branch is not reachable.
 
6083
  (James Westby)
 
6084
 
 
6085
* Implemented a custom ``walkdirs_utf8`` implementation for win32.
 
6086
  This uses a pyrex extension to get direct access to the
 
6087
  ``FindFirstFileW`` style apis, rather than using ``listdir`` +
 
6088
  ``lstat``. Shows a very strong improvement in commands like
 
6089
  ``status`` and ``diff`` which have to iterate the working tree.
 
6090
  Anywhere from 2x-6x faster depending on the size of the tree (bigger
 
6091
  trees, bigger benefit.) (John Arbash Meinel)
 
6092
 
 
6093
* New registry for log properties handles  and the method in
 
6094
  LongLogFormatter to display the custom properties returned by the
 
6095
  registered handlers. (Guillermo Gonzalez, #162469)
 
6096
 
 
6097
Bug Fixes
 
6098
*********
 
6099
 
 
6100
* Add more tests that stacking does not create deltas spanning
 
6101
  physical repository boundaries.
 
6102
  (Martin Pool, #252428)
 
6103
 
 
6104
* Better message about incompatible repositories.
 
6105
  (Martin Pool, #206258)
 
6106
 
 
6107
* ``bzr branch --stacked`` ensures the destination branch format can
 
6108
  support stacking, even if the origin does not.
 
6109
  (Martin Pool)
 
6110
 
 
6111
* ``bzr export`` no longer exports ``.bzrrules``.
 
6112
  (Ian Clatworthy)
 
6113
 
 
6114
* ``bzr serve --directory=/`` now correctly allows the whole
 
6115
  filesystem to be accessed on Windows, not just the root of the drive
 
6116
  that Python is running from.
 
6117
  (Adrian Wilkins, #240910)
 
6118
 
 
6119
* Deleting directories by hand before running ``bzr rm`` will not
 
6120
  cause subsequent errors in ``bzr st`` and ``bzr commit``.
 
6121
  (Robert Collins, #150438)
 
6122
 
 
6123
* Fix a test case that was failing if encoding wasn't UTF-8.
 
6124
  (John Arbash Meinel, #247585)
 
6125
 
 
6126
* Fix "no buffer space available" error when branching with the new
 
6127
  smart server protocol to or from Windows.
 
6128
  (Andrew Bennetts, #246180)
 
6129
 
 
6130
* Fixed problem in branching from smart server.
 
6131
  (#249256, Michael Hudson, Martin Pool)
 
6132
 
 
6133
* Handle a file turning in to a directory in TreeTransform.
 
6134
  (James Westby, #248448)
 
6135
 
 
6136
API Changes
 
6137
***********
 
6138
 
 
6139
* ``MutableTree.commit`` has an extra optional keywork parameter
 
6140
  ``exclude`` that will be unconditionally supplied by the command
 
6141
  line UI - plugins that add tree formats may need an update.
 
6142
  (Robert Collins)
 
6143
 
 
6144
* The API minimum version for plugin compatibility has been raised to
 
6145
  1.6 - there are significant changes throughout the code base.
 
6146
  (Robert Collins)
 
6147
 
 
6148
* The generic fetch code now uses three attributes on Repository objects
 
6149
  to control fetch. The streams requested are controlled via :
 
6150
  ``_fetch_order`` and ``_fetch_uses_deltas``. Setting these
 
6151
  appropriately allows different repository implementations to recieve
 
6152
  data in their optimial form. If the ``_fetch_reconcile`` is set then
 
6153
  a reconcile operation is triggered at the end of the fetch.
 
6154
  (Robert Collins)
 
6155
 
 
6156
* The ``put_on_disk`` and ``get_tar_item`` methods in
 
6157
  ``InventoryEntry`` were deprecated. (Ian Clatworthy)
 
6158
 
 
6159
* ``Repository.is_shared`` doesn't take a read lock. It didn't
 
6160
  need one in the first place (nobody cached the value, and
 
6161
  ``RemoteRepository`` wasn't taking one either). This saves a round
 
6162
  trip when probing Pack repositories, as they read the ``pack-names``
 
6163
  file when locked. And during probe, locking the repo isn't very
 
6164
  useful. (John Arbash Meinel)
 
6165
 
 
6166
Internals
 
6167
*********
 
6168
 
 
6169
* ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of
 
6170
  putting together a real history without having to create a full
 
6171
  WorkingTree. It is recommended that tests that are not directly
 
6172
  testing the WorkingTree use BranchBuilder instead.  See
 
6173
  ``BranchBuilder.build_snapshot`` or
 
6174
  ``TestCaseWithMemoryTree.make_branch_builder``.  (John Arbash Meinel)
 
6175
 
 
6176
* ``bzrlib.builtins.internal_tree_files`` broken into two giving a new
 
6177
  helper ``safe_relpath_files`` - used by the new ``exclude``
 
6178
  parameter to commit. (Robert Collins)
 
6179
 
 
6180
* Make it easier to introduce new WorkingTree formats.
 
6181
  (Ian Clatworthy)
 
6182
 
 
6183
* The code for exporting trees was refactored not to use the
 
6184
  deprecated ``InventoryEntry`` methods. (Ian Clatworthy)
 
6185
 
 
6186
* RuleSearchers return () instead of [] now when there are no matches.
 
6187
  (Ian Clatworthy)
 
6188
 
 
6189
 
 
6190
bzr 1.6beta3
 
6191
############
 
6192
 
 
6193
:Released: 2008-07-17
 
6194
 
 
6195
This release adds a new 'stacked branches' feature allowing branches to
 
6196
share storage without being in the same repository or on the same machine.
 
6197
(See the user guide for more details.)  It also adds a new hook, improved
 
6198
weaves, aliases for related locations, faster bzr+ssh push, and several
 
6199
bug fixes.
 
6200
 
 
6201
Features
 
6202
********
 
6203
 
 
6204
* New ``pre_change_branch_tip`` hook that is called before the
 
6205
  branch tip is moved, while the branch is write-locked.  See the User
 
6206
  Reference for signature details.  (Andrew Bennetts)
 
6207
 
 
6208
* Rule-based preferences can now be defined for selected files in
 
6209
  selected branches, allowing commands and plugins to provide
 
6210
  custom behaviour for files matching defined patterns.
 
6211
  See ``Rule-based preferences`` (part of ``Configuring Bazaar``)
 
6212
  in the User Guide and ``bzr help rules`` for more information.
 
6213
  (Ian Clatworthy)
 
6214
 
 
6215
* Sites may suggest a branch to stack new branches on.  (Aaron Bentley)
 
6216
 
 
6217
* Stacked branches are now supported. See ``bzr help branch`` and
 
6218
  ``bzr help push``.  Branches must be in the ``development1`` format
 
6219
  to stack, though the stacked-on branch can be of any format.
 
6220
  (Robert Collins)
 
6221
 
 
6222
Improvements
 
6223
************
 
6224
 
 
6225
* ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball
 
6226
  to stdout; also ``tar`` and ``tbz2``.
 
6227
  (Martin Pool)
 
6228
 
 
6229
* ``bzr (re)merge --weave`` will now use a standard Weave algorithm,
 
6230
  rather than the annotation-based merge it was using. It does so by
 
6231
  building up a Weave of the important texts, without needing to build
 
6232
  the full ancestry. (John Arbash Meinel, #238895)
 
6233
 
 
6234
* ``bzr send`` documents and better supports ``emacsclient`` (proper
 
6235
  escaping of mail headers and handling of the MUA Mew).
 
6236
  (Christophe Troestler)
 
6237
 
 
6238
* Remembered locations can be specified by aliases, e.g. :parent, :public,
 
6239
  :submit.  (Aaron Bentley)
 
6240
 
 
6241
* The smart protocol now has improved support for setting branches'
 
6242
  revision info directly.  This makes operations like push
 
6243
  faster.  The new request method name is
 
6244
  ``Branch.set_last_revision_ex``.  (Andrew Bennetts)
 
6245
 
 
6246
Bug Fixes
 
6247
*********
 
6248
 
 
6249
* Bazaar is now able to be a client to the web server of IIS 6 and 7.
 
6250
  The broken implementations of RFC822 in Python and RFC2046 in IIS
 
6251
  combined with boundary-line checking in Bazaar previously made this
 
6252
  impossible. (NB, IIS 5 does not suffer from this problem).
 
6253
  (Adrian Wilkins, #247585)
 
6254
 
 
6255
* ``bzr log --long`` with a ghost in your mainline now handles that
 
6256
  ghost properly. (John Arbash Meinel, #243536)
 
6257
 
 
6258
* ``check`` handles the split-up .bzr layout correctly, so no longer
 
6259
  requires a branch to be present.
 
6260
  (Daniel Watkins, #64783)
 
6261
 
 
6262
* Clearer message about how to set the PYTHONPATH if bzrlib can't be
 
6263
  loaded.
 
6264
  (Martin Pool, #205230)
 
6265
 
 
6266
* Errors about missing libraries are now shown without a traceback,
 
6267
  and with a suggestion to install the library.  The full traceback is
 
6268
  still in ``.bzr.log`` and can be shown with ``-Derror``.
 
6269
  (Martin Pool, #240161)
 
6270
 
 
6271
* Fetch from a stacked branch copies all required data.
 
6272
  (Aaron Bentley, #248506)
 
6273
 
 
6274
* Handle urls such as ftp://user@host.com@www.host.com where the user
 
6275
  name contains an @.
 
6276
  (Neil Martinsen-Burrell, #228058)
 
6277
 
 
6278
* ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during
 
6279
  ``unlock`` if there was an error in the original function. This helps
 
6280
  most when there is a failure with a smart server action, since often the
 
6281
  connection closes and we cannot unlock.
 
6282
  (Andrew Bennetts, John Arbash Meinel, #125784)
 
6283
 
 
6284
* Obsolete hidden command ``bzr fetch`` removed.
 
6285
  (Martin Pool, #172870)
 
6286
 
 
6287
* Raise the correct exception when doing ``-rbefore:0`` or ``-c0``.
 
6288
  (John Arbash Meinel, #239933)
 
6289
 
 
6290
* You can now compare file revisions in Windows diff programs from
 
6291
  Cygwin Bazaar.
 
6292
  (Matt McClure, #209281)
 
6293
 
 
6294
* revision_history now tolerates mainline ghosts for Branch format 6.
 
6295
  (Aaron Bentley, #235055)
 
6296
 
 
6297
* Set locale from environment for third party libs.
 
6298
  (Martin von Gagern, #128496)
 
6299
 
 
6300
Documentation
 
6301
*************
 
6302
 
 
6303
* Added *Using stacked branches* to the User Guide.
 
6304
  (Ian Clatworthy)
 
6305
 
 
6306
* Updated developer documentation.
 
6307
  (Martin Pool)
 
6308
 
 
6309
Testing
 
6310
*******
 
6311
 
 
6312
* ``-Dmemory`` will cause /proc/PID/status to be catted before bzr
 
6313
  exits, allowing low-key analysis of peak memory use. (Robert Collins)
 
6314
 
 
6315
* ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return
 
6316
  a tree with a ``branch`` attribute of the right format.  This was
 
6317
  preventing some ``RemoteBranch`` tests from actually running with
 
6318
  ``RemoteBranch`` instances.  (Andrew Bennetts)
 
6319
 
 
6320
API Changes
 
6321
***********
 
6322
 
 
6323
* Removed ``Repository.text_store``, ``control_store``, etc.  Instead,
 
6324
  there are new attributes ``texts, inventories, revisions,
 
6325
  signatures``, each of which is a ``VersionedFiles``.  See the
 
6326
  Repository docstring for more details.
 
6327
  (Robert Collins)
 
6328
 
 
6329
* ``Branch.pull`` now accepts an ``_override_hook_target`` optional
 
6330
  parameter.  If you have a subclass of ``Branch`` that overrides
 
6331
  ``pull`` then you should add this parameter.  (Andrew Bennetts)
 
6332
 
 
6333
* ``bzrlib.check.check()`` has been deprecated in favour of the more
 
6334
  aptly-named ``bzrlib.check.check_branch()``.
 
6335
  (Daniel Watkins)
 
6336
 
 
6337
* ``Tree.print_file`` and ``Repository.print_file`` are deprecated.
 
6338
  These methods are bad APIs because they write directly to sys.stdout.
 
6339
  bzrlib does not use them internally, and there are no direct tests
 
6340
  for them. (Alexander Belchenko)
 
6341
 
 
6342
Internals
 
6343
*********
 
6344
 
 
6345
* ``cat`` command no longer uses ``Tree.print_file()`` internally.
 
6346
  (Alexander Belchenko)
 
6347
 
 
6348
* New class method ``BzrDir.open_containing_tree_branch_or_repository``
 
6349
  which eases the discovery of the tree, the branch and the repository
 
6350
  containing a given location.
 
6351
  (Daniel Watkins)
 
6352
 
 
6353
* New ``versionedfile.KeyMapper`` interface to abstract out the access to
 
6354
  underlying .knit/.kndx etc files in repositories with partitioned
 
6355
  storage. (Robert Collins)
 
6356
 
 
6357
* Obsolete developer-use command ``weave-join`` has been removed.
 
6358
  (Robert Collins)
 
6359
 
 
6360
* ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed,
 
6361
  to support new ``VersionedFiles`` layering.
 
6362
  (Robert Collins)
 
6363
 
 
6364
 
 
6365
bzr 1.6beta2
 
6366
############
 
6367
 
 
6368
:Released: 2008-06-10
 
6369
 
 
6370
This release contains further progress towards our 1.6 goals of shallow
 
6371
repositories, and contains a fix for some user-affecting bugs in the
 
6372
repository layer.  Building working trees during checkout and branch is
 
6373
now faster.
 
6374
 
 
6375
Bug Fixes
 
6376
*********
 
6377
 
 
6378
* Avoid KnitCorrupt error extracting inventories from some repositories.
 
6379
  (The data is not corrupt; an internal check is detecting a problem
 
6380
  reading from the repository.)
 
6381
  (Martin Pool, Andrew Bennetts, Robert Collins, #234748)
 
6382
 
 
6383
* ``bzr status`` was breaking if you merged the same revision twice.
 
6384
  (John Arbash Meinel, #235407)
 
6385
 
 
6386
* Fix infinite loop consuming 100% CPU when a connection is lost while
 
6387
  reading a response body via the smart protocol v1 or v2.
 
6388
  (Andrew Bennetts)
 
6389
 
 
6390
* Inserting a bundle which changes the contents of a file with no trailing
 
6391
  end of line, causing a knit snapshot in a 'knits' repository will no longer
 
6392
  cause KnitCorrupt. (Robert Collins)
 
6393
 
 
6394
* ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s
 
6395
  pull result. It was instead just returning None, which breaks ``bzr
 
6396
  pull``. (John Arbash Meinel, #238149)
 
6397
 
 
6398
* Sanitize branch nick before using it as an attachment filename in
 
6399
  ``bzr send``. (Lukáš Lalinský, #210218)
 
6400
 
 
6401
* Squash ``inv_entry.symlink_target`` to a plain string when
 
6402
  generating DirState details. This prevents from getting a
 
6403
  ``UnicodeError`` when you have symlinks and non-ascii filenames.
 
6404
  (John Arbash Meinel, #135320)
 
6405
 
 
6406
Improvements
 
6407
************
 
6408
 
 
6409
* Added the 'alias' command to set/unset and display aliases. (Tim Penhey)
 
6410
 
 
6411
* ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three
 
6412
  now quote paths where required). Added ``--null`` option to ``added`` and
 
6413
  ``modified`` (for null-separated unknowns, use ``ls --unknown --null``)
 
6414
  (Adrian Wilkins)
 
6415
 
 
6416
* Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees.
 
6417
  (Ian Clatworthy, Aaron Bentley)
 
6418
 
 
6419
Documentation
 
6420
*************
 
6421
 
 
6422
* Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy)
 
6423
 
 
6424
Testing
 
6425
*******
 
6426
 
 
6427
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
6428
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
6429
 
 
6430
API Changes
 
6431
***********
 
6432
 
 
6433
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
6434
  which are in the ancestry of other revisions. So if you merge the same
 
6435
  tree twice, or merge an ancestor of an existing merge, it will only
 
6436
  record the newest. (If you merge a descendent, it will replace its
 
6437
  ancestor). (John Arbash Meinel, #235407)
 
6438
 
 
6439
* ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd,
 
6440
  through the derived classes do not.  (Aaron Bentley)
 
6441
 
 
6442
Internals
 
6443
*********
 
6444
 
 
6445
* ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control
 
6446
  creating stacked branches. (Robert Collins)
 
6447
 
 
6448
* Knit record serialisation is now stricter on what it will accept, to
 
6449
  guard against potential internal bugs, or broken input. (Robert Collins)
 
6450
 
 
6451
bzr 1.6beta1
 
6452
############
 
6453
 
 
6454
:Released: 2008-06-02
 
6455
 
 
6456
Commands that work on the revision history such as push, pull, missing,
 
6457
uncommit and log are now substantially faster.  This release adds a
 
6458
translation of some of the user documentation into Spanish.  (Contributions of
 
6459
other translations would be very welcome.)  Bazaar 1.6beta1 adds a new network
 
6460
protocol which is used by default and which allows for more efficient transfers
 
6461
and future extensions.
 
6462
 
 
6463
 
 
6464
Notes When Upgrading
 
6465
********************
 
6466
 
 
6467
* There is a new version of the network protocol used for bzr://, bzr+ssh://
 
6468
  and bzr+http:// connections.  This will allow more efficient requests and
 
6469
  responses, and more graceful fallback when a server is too old to
 
6470
  recognise a request from a more recent client.  Bazaar 1.6 will
 
6471
  interoperate with 0.16 and later versions, but servers should be upgraded
 
6472
  when possible.  Bazaar 1.6 no longer interoperates with 0.15 and earlier via
 
6473
  these protocols.  Use alternatives like SFTP or upgrade those servers.
 
6474
  (Andrew Bennetts, #83935)
 
6475
 
 
6476
Changes
 
6477
*******
 
6478
 
 
6479
* Deprecation warnings will not be suppressed when running ``bzr selftest``
 
6480
  so that developers can see if their code is using deprecated functions.
 
6481
  (John Arbash Meinel)
 
6482
 
 
6483
Features
 
6484
********
 
6485
 
 
6486
* Adding ``-Derror`` will now display a traceback when a plugin fails to
 
6487
  load. (James Westby)
 
6488
 
 
6489
Improvements
 
6490
************
 
6491
 
 
6492
* ``bzr branch/push/pull -r XXX`` now have a helper function for finding
 
6493
  the revno of the new revision (``Graph.find_distance_to_null``). This
 
6494
  should make something like ``bzr branch -r -100`` in a shared, no-trees
 
6495
  repository much snappier. (John Arbash Meinel)
 
6496
 
 
6497
* ``bzr log --short -r X..Y`` no longer needs to access the full revision
 
6498
  history. This makes it noticeably faster when logging the last few
 
6499
  revisions. (John Arbash Meinel)
 
6500
 
 
6501
* ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``.
 
6502
  (Jerad Cramp, #165086)
 
6503
 
 
6504
* ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
 
6505
  ``Graph.find_differences`` to determine missing revisions without having
 
6506
  to search the whole ancestry. (John Arbash Meinel, #174625)
 
6507
 
 
6508
* ``bzr uncommit`` now uses partial history access, rather than always
 
6509
  extracting the full revision history for a branch. This makes it
 
6510
  resolve the appropriate revisions much faster (in testing it drops
 
6511
  uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one
 
6512
  step closer to not using full revision history.
 
6513
  (John Arbash Meinel, #172649)
 
6514
 
 
6515
Bugfixes
 
6516
********
 
6517
 
 
6518
* ``bzr merge --lca`` should handle when two revisions have no common
 
6519
  ancestor other than NULL_REVISION. (John Arbash Meinel, #235715)
 
6520
 
 
6521
* ``bzr status`` was breaking if you merged the same revision twice.
 
6522
  (John Arbash Meinel, #235407)
 
6523
 
 
6524
* ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
 
6525
  fails.  (Andrew Bennetts, #234229)
 
6526
 
 
6527
* Correctly track the base URL of a smart medium when using bzr+http://
 
6528
  URLs, which was causing spurious "No repository present" errors with
 
6529
  branches in shared repositories accessed over bzr+http.
 
6530
  (Andrew Bennetts, #230550)
 
6531
 
 
6532
* Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
 
6533
  implementations have the attribute.  Fixes 'PyCurlTransport' object has no
 
6534
  attribute '_remote_is_at_least_1_2' attribute errors.
 
6535
  (Andrew Bennetts, #220806)
 
6536
 
 
6537
* Failure to delete an obsolete pack file should just give a warning
 
6538
  message, not a fatal error.  It may for example fail if the file is still
 
6539
  in use by another process.
 
6540
  (Martin Pool)
 
6541
 
 
6542
* Fix MemoryError during large fetches over HTTP by limiting the amount of
 
6543
  data we try to read per ``recv`` call.  The problem was observed with
 
6544
  Windows and a proxy, but might affect other environments as well.
 
6545
  (Eric Holmberg, #215426)
 
6546
 
 
6547
* Handle old merge directives correctly in Merger.from_mergeable.  Stricter
 
6548
  get_parent_map requirements exposed a latent bug here.  (Aaron Bentley)
 
6549
 
 
6550
* Issue a warning and ignore passwords declared in authentication.conf when
 
6551
  used for an ssh scheme (sftp or bzr+ssh).
 
6552
  (Vincent Ladeuil, #203186)
 
6553
 
 
6554
* Make both http implementations raise appropriate exceptions on 403
 
6555
  Forbidden when POSTing smart requests.
 
6556
  (Vincent Ladeuil, #230223)
 
6557
 
 
6558
* Properly *title* header names in http requests instead of capitalizing
 
6559
  them.
 
6560
  (Vincent Ladeuil, #229076)
 
6561
 
 
6562
* The "Unable to obtain lock" error message now also suggests using
 
6563
  ``bzr break-lock`` to fix it.  (Martin Albisetti, #139202)
 
6564
 
 
6565
* Treat an encoding of '' as ascii; this can happen when bzr is run
 
6566
  under vim on Mac OS X.
 
6567
  (Neil Martinsen-Burrell)
 
6568
 
 
6569
* ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in
 
6570
  scope. (Daniel Fischer #235687)
 
6571
 
 
6572
Documentation
 
6573
*************
 
6574
 
 
6575
* Added directory structure and started translation of docs in spanish.
 
6576
  (Martin Albisetti, Lucio Albenga)
 
6577
 
 
6578
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
6579
  on the plugin and integration chapters of the User Guide.
 
6580
  (Ian Clatworthy)
 
6581
 
 
6582
* More Bazaar developer documentation about packaging and release process,
 
6583
  and about use of Python reprs.
 
6584
  (Martin Pool, Martin Albisetti)
 
6585
 
 
6586
* Updated Tortise strategy document. (Mark Hammond)
 
6587
 
 
6588
Testing
 
6589
*******
 
6590
 
 
6591
* ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed.
 
6592
  (Robert Collins)
 
6593
 
 
6594
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
6595
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
6596
 
 
6597
* New helper function for splitting test suites
 
6598
  ``split_suite_by_condition``. (Robert Collins)
 
6599
 
 
6600
Internals
 
6601
*********
 
6602
 
 
6603
* ``Branch.missing_revisions`` has been deprecated. Similar functionality
 
6604
  can be obtained using ``bzrlib.missing.find_unmerged``. The api was
 
6605
  fairly broken, and the function was unused, so we are getting rid of it.
 
6606
  (John Arbash Meinel)
 
6607
 
 
6608
API Changes
 
6609
***********
 
6610
 
 
6611
* ``Branch.abspath`` is deprecated; use the Tree or Transport
 
6612
  instead.  (Martin Pool)
 
6613
 
 
6614
* ``Branch.update_revisions`` now takes an optional ``Graph``
 
6615
  object. This can be used by ``update_revisions`` when it is
 
6616
  checking ancestry, and allows callers to prefer request to go to a
 
6617
  local branch.  (John Arbash Meinel)
 
6618
 
 
6619
* Branch, Repository, Tree and BzrDir should expose a Transport as an
 
6620
  attribute if they have one, rather than having it indirectly accessible
 
6621
  as ``.control_files._transport``.  This doesn't add a requirement
 
6622
  to support a Transport in cases where it was not needed before;
 
6623
  it just simplifies the way it is reached.  (Martin Pool)
 
6624
 
 
6625
* ``bzr missing --mine-only`` will return status code 0 if you have no
 
6626
  new revisions, but the remote does. Similarly for ``--theirs-only``.
 
6627
  The new code only checks one side, so it doesn't know if the other
 
6628
  side has changes. This seems more accurate with the request anyway.
 
6629
  It also changes the output to print '[This|Other] branch is up to
 
6630
  date.' rather than displaying nothing.  (John Arbash Meinel)
 
6631
 
 
6632
* ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
 
6633
  are now deprecated in favor of using Transport operations.
 
6634
  (Martin Pool)
 
6635
 
 
6636
* Many methods on ``VersionedFile``, ``Repository`` and in
 
6637
  ``bzrlib.revision``  deprecated before bzrlib 1.5 have been removed.
 
6638
  (Robert Collins)
 
6639
 
 
6640
* ``RevisionSpec.wants_revision_history`` can be set to False for a given
 
6641
  ``RevisionSpec``. This will disable the existing behavior of passing in
 
6642
  the full revision history to ``self._match_on``. Useful for specs that
 
6643
  don't actually need access to the full history. (John Arbash Meinel)
 
6644
 
 
6645
* The constructors of ``SmartClientMedium`` and its subclasses now require a
 
6646
  ``base`` parameter.  ``SmartClientMedium`` implementations now also need
 
6647
  to provide a ``remote_path_from_transport`` method.  (Andrew Bennetts)
 
6648
 
 
6649
* The default permissions for creating new files and directories
 
6650
  should now be obtained from ``BzrDir._get_file_mode()`` and
 
6651
  ``_get_dir_mode()``, rather than from LockableFiles.  The ``_set_file_mode``
 
6652
  and ``_set_dir_mode`` variables on LockableFiles which were advertised
 
6653
  as a way for plugins to control this are no longer consulted.
 
6654
  (Martin Pool)
 
6655
 
 
6656
* ``VersionedFile.join`` is deprecated. This method required local
 
6657
  instances of both versioned file objects and was thus hostile to being
 
6658
  used for streaming from a smart server. The new get_record_stream and
 
6659
  insert_record_stream are meant to efficiently replace this method.
 
6660
  (Robert Collins)
 
6661
 
 
6662
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
6663
  which are in the ancestry of other revisions. So if you merge the same
 
6664
  tree twice, or merge an ancestor of an existing merge, it will only
 
6665
  record the newest. (If you merge a descendent, it will replace its
 
6666
  ancestor). (John Arbash Meinel, #235407)
 
6667
 
 
6668
* ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
 
6669
  (Martin Pool)
 
6670
 
 
6671
 
 
6672
bzr 1.5
 
6673
#######
 
6674
 
 
6675
:Released: 2008-05-16
 
6676
 
 
6677
This release of Bazaar includes several updates to the documentation, and fixes
 
6678
to prepare for making rich root support the default format. Many bugs have been
 
6679
squashed, including fixes to log, bzr+ssh inter-operation with older servers.
 
6680
 
 
6681
Changes
 
6682
*******
 
6683
 
 
6684
* Suppress deprecation warnings when bzrlib is a 'final' release. This way
 
6685
  users of packaged software won't be bothered with DeprecationWarnings,
 
6686
  but developers and testers will still see them. (John Arbash Meinel)
 
6687
 
 
6688
Documentation
 
6689
*************
 
6690
 
 
6691
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
6692
  on the plugin and integration chapters of the User Guide.
 
6693
  (Ian Clatworthy)
 
6694
 
 
6695
 
 
6696
bzr 1.5rc1
 
6697
##########
 
6698
 
 
6699
:Released: 2008-05-09
 
6700
 
 
6701
Changes
 
6702
*******
 
6703
 
 
6704
* Broader support of GNU Emacs mail clients. Set
 
6705
  ``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
 
6706
  bundle in a mail buffer according to the value of ``mail-user-agent``
 
6707
  variable. (Xavier Maillard)
 
6708
 
 
6709
Improvements
 
6710
************
 
6711
 
 
6712
* Diff now handles revision specs like "branch:" and "submit:" more
 
6713
  efficiently.  (Aaron Bentley, #202928)
 
6714
 
 
6715
* More friendly error given when attempt to start the smart server
 
6716
  on an address already in use. (Andrea Corbellini, #200575)
 
6717
 
 
6718
* Pull completes much faster when there is nothing to pull.
 
6719
  (Aaron Bentley)
 
6720
 
 
6721
Bugfixes
 
6722
********
 
6723
 
 
6724
* Authentication.conf can define sections without password.
 
6725
  (Vincent Ladeuil, #199440)
 
6726
 
 
6727
* Avoid muttering every time a child update does not cause a progress bar
 
6728
  update. (John Arbash Meinel, #213771)
 
6729
 
 
6730
* ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
 
6731
  to fix when a Branch has a non-canonical mainline history. ``bzr check``
 
6732
  also detects this condition. (John Arbash Meinel, #177855)
 
6733
 
 
6734
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
6735
  for ``revision_id=None`` which was not a string.
 
6736
  (John Arbash Meinel, #211661)
 
6737
 
 
6738
* ``bzr commit`` now works with Microsoft's FTP service.
 
6739
  (Andreas Deininger)
 
6740
 
 
6741
* Catch definitions outside sections in authentication.conf.
 
6742
  (Vincent Ladeuil, #217650)
 
6743
 
 
6744
* Conversion from non-rich-root to rich-root(-pack) updates inventory
 
6745
  sha1s, even when bundles are used.  (Aaron Bentley, #181391)
 
6746
 
 
6747
* Conversion from non-rich-root to rich-root(-pack) works correctly even
 
6748
  though search keys are not topologically sorted.  (Aaron Bentley)
 
6749
 
 
6750
* Conversion from non-rich-root to rich-root(-pack) works even when a
 
6751
  parent revision has a different root id.  (Aaron Bentley, #177874)
 
6752
 
 
6753
* Disable strace testing until strace is fixed (see bug #103133) and emit a
 
6754
  warning when selftest ends to remind us of leaking tests.
 
6755
  (Vincent Ladeuil, #226769)
 
6756
 
 
6757
* Fetching all revisions from a repository does not cause pack collisions.
 
6758
  (Robert Collins, Aaron Bentley, #212908)
 
6759
 
 
6760
* Fix error about "attempt to add line-delta in non-delta knit".
 
6761
  (Andrew Bennetts, #217701)
 
6762
 
 
6763
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
6764
  if the remote server was < version 1.2. This was due to a bug in the
 
6765
  RemoteRepository.get_parent_map() fallback code.
 
6766
  (John Arbash Meinel, #214894)
 
6767
 
 
6768
* Remove leftover code in ``bzr_branch`` that inappropriately creates
 
6769
  a ``branch-name`` file in the branch control directory.
 
6770
  (Martin Pool)
 
6771
 
 
6772
* Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
 
6773
  rebinding the socket when starting the server a second time.
 
6774
  (John Arbash Meinel, Martin Pool, #164288)
 
6775
 
 
6776
* Severe performance degradation in fetching from knit repositories to
 
6777
  knits and packs due to parsing the entire revisions.kndx on every graph
 
6778
  walk iteration fixed by using the Repository.get_graph API.  There was
 
6779
  another regression in knit => knit fetching which re-read the index for
 
6780
  every revision each side had in common.
 
6781
  (Robert Collins, John Arbash Meinel)
 
6782
 
 
6783
* When logging the changes to a particular file, there was a bug if there
 
6784
  were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
 
6785
 
 
6786
* xs4all's ftp server returns a temporary error when trying to list an
 
6787
  empty directory, rather than returning an empty list. Adding a
 
6788
  workaround so that we don't get spurious failures.
 
6789
  (John Arbash Meinel, #215522)
 
6790
 
 
6791
Documentation
 
6792
*************
 
6793
 
 
6794
* Expanded the User Guide to include new chapters on popular plugins and
 
6795
  integrating Bazaar into your environment. The *Best practices* chapter
 
6796
  was renamed to *Miscellaneous topics* as suggested by community
 
6797
  feedback as well. (Ian Clatworthy)
 
6798
 
 
6799
* Document outlining strategies for TortoiseBzr. (Mark Hammond)
 
6800
 
 
6801
* Improved the documentation on hooks. (Ian Clatworthy)
 
6802
 
 
6803
* Update authentication docs regarding ssh agents.
 
6804
  (Vincent Ladeuil, #183705)
 
6805
 
 
6806
Testing
 
6807
*******
 
6808
 
 
6809
* Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
 
6810
  make it easy to identify which test spawned a thread with an unhandled
 
6811
  exception. (Andrew Bennetts)
 
6812
 
 
6813
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
 
6814
  options for debugging tests, these are complementary to the -D
 
6815
  options.  The ``-Dselftest_debug`` global option has been replaced by the
 
6816
  ``-E=allow_debug`` option for selftest. (Andrew Bennetts)
 
6817
 
 
6818
* Parameterised test ids are preserved correctly to aid diagnosis of test
 
6819
  failures. (Robert Collins, Andrew Bennetts)
 
6820
 
 
6821
* selftest now accepts --starting-with <id> to load only the tests whose id
 
6822
  starts with the one specified. This greatly speeds up running the test
 
6823
  suite on a limited set of tests and can be used to run the tests for a
 
6824
  single module, a single class or even a single test.  (Vincent Ladeuil)
 
6825
 
 
6826
* The test suite modules have been modified to define load_tests() instead
 
6827
  of test_suite(). That speeds up selective loading (via --load-list)
 
6828
  significantly and provides many examples on how to migrate (grep for
 
6829
  load_tests).  (Vincent Ladeuil)
 
6830
 
 
6831
Internals
 
6832
*********
 
6833
 
 
6834
* ``Hooks.install_hook`` is now deprecated in favour of
 
6835
  ``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
 
6836
  avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
 
6837
 
 
6838
* Implement xml8 serializer.  (Aaron Bentley)
 
6839
 
 
6840
* New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making
 
6841
  deprecation wrappers.  (Martin Pool)
 
6842
 
 
6843
* ``Repository.revision_parents`` is now deprecated in favour of
 
6844
  ``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
 
6845
 
 
6846
* The Python ``assert`` statement is no longer used in Bazaar source, and
 
6847
  a test checks this.  (Martin Pool)
 
6848
 
 
6849
API Changes
 
6850
***********
 
6851
 
 
6852
* ``bzrlib.status.show_pending_merges`` requires the repository to be
 
6853
  locked by the caller. Callers should have been doing it anyway, but it
 
6854
  will now raise an exception if they do not. (John Arbash Meinel)
 
6855
 
 
6856
* Repository.get_data_stream, Repository.get_data_stream_for_search(),
 
6857
  Repository.get_deltas_for_revsions(), Repository.revision_trees(),
 
6858
  Repository.item_keys_introduced_by() no longer take read locks.
 
6859
  (Aaron Bentley)
 
6860
 
 
6861
* ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
 
6862
  towards removing LockableFiles and ``.control_files`` entirely.
 
6863
  (Martin Pool)
 
6864
 
 
6865
* Methods deprecated prior to 1.1 have been removed.
 
6866
  (Martin Pool)
 
6867
 
 
6868
 
 
6869
bzr 1.4 
 
6870
#######
 
6871
 
 
6872
:Released: 2008-04-28
 
6873
 
 
6874
This release of Bazaar includes handy improvements to the speed of log and
 
6875
status, new options for several commands, improved documentation, and better
 
6876
hooks, including initial code for server-side hooks.  A number of bugs have
 
6877
been fixed, particularly in interoperability between different formats or
 
6878
different releases of Bazaar over there network.  There's been substantial
 
6879
internal work in both the repository and network code to enable new features
 
6880
and faster performance.
 
6881
 
 
6882
Bug Fixes
 
6883
*********
 
6884
 
 
6885
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
6886
  if the remote server was < version 1.2.  This was due to a bug in the
 
6887
  RemoteRepository.get_parent_map() fallback code.
 
6888
  (John Arbash Meinel, Andrew Bennetts, #214894)
 
6889
 
 
6890
 
 
6891
bzr 1.4rc2
 
6892
##########
 
6893
 
 
6894
:Released: 2008-04-21
 
6895
 
 
6896
Bug Fixes
 
6897
*********
 
6898
 
 
6899
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
6900
  for ``revision_id=None`` which was not a string.
 
6901
  (John Arbash Meinel, #211661)
 
6902
 
 
6903
* Fixed a bug in handling ghost revisions when logging changes in a
 
6904
  particular file.  (John Arbash Meinel, #209948)
 
6905
 
 
6906
* Fix error about "attempt to add line-delta in non-delta knit".
 
6907
  (Andrew Bennetts, #205156)
 
6908
 
 
6909
* Fixed performance degradation in fetching from knit repositories to
 
6910
  knits and packs due to parsing the entire revisions.kndx on every graph
 
6911
  walk iteration fixed by using the Repository.get_graph API.  There was
 
6912
  another regression in knit => knit fetching which re-read the index for
 
6913
  every revision each side had in common.
 
6914
  (Robert Collins, John Arbash Meinel)
 
6915
 
 
6916
 
 
6917
bzr 1.4rc1
 
6918
##########
 
6919
 
 
6920
:Released: 2008-04-11
 
6921
 
 
6922
Changes
 
6923
*******
 
6924
 
 
6925
* bzr main script cannot be imported (Benjamin Peterson)
 
6926
 
 
6927
* On GNU/Linux bzr additionally looks for plugins in arch-independent site
 
6928
  directory. (Toshio Kuratomi)
 
6929
 
 
6930
* The ``set_rh`` branch hook is now deprecated. Please migrate
 
6931
  any plugins using this hook to use an alternative, e.g.
 
6932
  ``post_change_branch_tip``. (Ian Clatworthy)
 
6933
 
 
6934
* When a plugin cannot be loaded as the file path is not a valid
 
6935
  python module name bzr will now strip a ``bzr_`` prefix from the
 
6936
  front of the suggested name, as many plugins (e.g. bzr-svn)
 
6937
  want to be installed without this prefix. It is a common mistake
 
6938
  to have a folder named "bzr-svn" for that plugin, especially
 
6939
  as this is what bzr branch lp:bzr-svn will give you. (James Westby,
 
6940
  Andrew Cowie)
 
6941
 
 
6942
* UniqueIntegerBugTracker now appends bug-ids instead of joining
 
6943
  them to the base URL. Plugins that register bug trackers may
 
6944
  need a trailing / added to the base URL if one is not already there.
 
6945
  (James Wesby, Andrew Cowie)
 
6946
 
 
6947
Features
 
6948
********
 
6949
 
 
6950
* Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
 
6951
 
 
6952
* ``status`` now accepts ``--no-pending`` to show the status without
 
6953
  listing pending merges, which speeds up the command a lot on large
 
6954
  histories.  (James Westby, #202830)
 
6955
 
 
6956
* New ``post_change_branch_tip`` hook that is called after the
 
6957
  branch tip is moved but while the branch is still write-locked.
 
6958
  See the User Reference for signature details.
 
6959
  (Ian Clatworthy, James Henstridge)
 
6960
 
 
6961
* Reconfigure can convert a branch to be standalone or to use a shared
 
6962
  repository.  (Aaron Bentley)
 
6963
 
 
6964
Improvements
 
6965
************
 
6966
 
 
6967
* The smart protocol now has support for setting branches' revision info
 
6968
  directly.  This should make operations like push slightly faster, and is a
 
6969
  step towards server-side hooks.  The new request method name is
 
6970
  ``Branch.set_last_revision_info``.  (Andrew Bennetts)
 
6971
 
 
6972
* ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
 
6973
  (James Westby, Andrew Cowie)
 
6974
 
 
6975
* ``bzr switch`` will attempt to find branches to switch to relative to the
 
6976
  current branch. E.g. ``bzr switch branchname`` will look for
 
6977
  ``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
 
6978
  Wouter van Heyst)
 
6979
 
 
6980
* Diff is now more specific about execute-bit changes it describes
 
6981
  (Chad Miller)
 
6982
 
 
6983
* Fetching data over HTTP is a bit faster when urllib is used.  This is done
 
6984
  by forcing it to recv 64k at a time when reading lines in HTTP headers,
 
6985
  rather than just 1 byte at a time.  (Andrew Bennetts)
 
6986
 
 
6987
* Log --short and --line are much faster when -r is not specified.
 
6988
  (Aaron Bentley)
 
6989
 
 
6990
* Merge is faster.  We no longer check a file's existence unnecessarily
 
6991
  when merging the execute bit.  (Aaron Bentley)
 
6992
 
 
6993
* ``bzr status`` on an explicit list of files no longer shows pending
 
6994
  merges, making it much faster on large trees. (John Arbash Meinel)
 
6995
 
 
6996
* The launchpad directory service now warns the user if they have not set
 
6997
  their launchpad login and are trying to resolve a URL using it, just
 
6998
  in case they want to do a write operation with it.  (James Westby)
 
6999
 
 
7000
* The smart protocol client is slightly faster, because it now only queries
 
7001
  the server for the protocol version once per connection.  Also, the HTTP
 
7002
  transport will now automatically probe for and use a smart server if
 
7003
  one is present.  You can use the new ``nosmart+`` transport decorator
 
7004
  to get the old behaviour.  (Andrew Bennetts)
 
7005
 
 
7006
* The ``version`` command takes a ``--short`` option to print just the
 
7007
  version number, for easier use in scripts.  (Martin Pool)
 
7008
 
 
7009
* Various operations with revision specs and commands that calculate
 
7010
  revnos and revision ids are faster.  (John A. Meinel, Aaron Bentley)
 
7011
 
 
7012
Bugfixes
 
7013
********
 
7014
 
 
7015
* Add ``root_client_path`` parameter to SmartWSGIApp and
 
7016
  SmartServerRequest.  This makes it possible to publish filesystem
 
7017
  locations that don't exactly match URL paths. SmartServerRequest
 
7018
  subclasses should use the new ``translate_client_path`` and
 
7019
  ``transport_from_client_path`` methods when dealing with paths received
 
7020
  from a client to take this into account.  (Andrew Bennetts, #124089)
 
7021
 
 
7022
* ``bzr mv a b`` can be now used also to rename previously renamed
 
7023
  directories, not only files. (Lukáš Lalinský, #107967)
 
7024
 
 
7025
* ``bzr uncommit --local`` can now remove revisions from the local
 
7026
  branch to be symmetric with ``bzr commit --local``.
 
7027
  (John Arbash Meinel, #93412)
 
7028
 
 
7029
* Don't ask for a password if there is no real terminal.
 
7030
  (Alexander Belchenko, #69851)
 
7031
 
 
7032
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
7033
  fetching revisions from a knit to pack repository or vice versa using
 
7034
  bzr:// (including over http or ssh).
 
7035
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
7036
 
 
7037
* Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy.  Also
 
7038
  fixed ``_get_bytes`` in the same module to use the push back buffer.
 
7039
  These bugs had no known impact in normal use, but were problematic for
 
7040
  developers working on the code, and were likely to cause real bugs sooner
 
7041
  or later.  (Andrew Bennetts)
 
7042
 
 
7043
* Implement handling of basename parameter for DefaultMail.  (James Westby)
 
7044
 
 
7045
* Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
 
7046
  (Andrew Bennetts, #213425)
 
7047
 
 
7048
* Launchpad locations (lp: URLs) can be pulled.  (Aaron Bentley, #181945)
 
7049
 
 
7050
* Merges that add files to deleted root directories complete.  They
 
7051
  do create conflicts.  (Aaron Bentley, #210092)
 
7052
 
 
7053
* vsftp's return ``550 RNFR command failed.`` supported.
 
7054
  (Marcus Trautwig, #129786)
 
7055
 
 
7056
Documentation
 
7057
*************
 
7058
 
 
7059
* Improved documentation on send/merge relationship. (Peter Schuller)
 
7060
 
 
7061
* Minor fixes to the User Guide. (Matthew Fuller)
 
7062
 
 
7063
* Reduced the evangelism in the User Guide. (Ian Clatworthy)
 
7064
 
 
7065
* Added Integrating with Bazaar document for developers (Martin Albisetti)
 
7066
 
 
7067
API Breaks
 
7068
**********
 
7069
 
 
7070
* Attempting to pull data from a ghost aware repository (e.g. knits) into a
 
7071
  non-ghost aware repository such as weaves will now fail if there are
 
7072
  ghosts.  (Robert Collins)
 
7073
 
 
7074
* ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
 
7075
  now requires the ``index`` and ``access_method`` parameters to be
 
7076
  supplied. A compatible shim has been kept in the new function
 
7077
  ``knit.make_file_knit``. (Robert Collins)
 
7078
 
 
7079
* Log formatters must now provide log_revision instead of show and
 
7080
  show_merge_revno methods. The latter had been deprecated since the 0.17
 
7081
  release. (James Westby)
 
7082
 
 
7083
* ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
 
7084
  (Andrew Bennetts)
 
7085
 
 
7086
* ``osutils.backup_file`` is removed. (Alexander Belchenko)
 
7087
 
 
7088
* ``Repository.get_revision_graph`` is deprecated, with no replacement
 
7089
  method. The method was size(history) and not desirable. (Robert Collins)
 
7090
 
 
7091
* ``revision.revision_graph`` is deprecated, with no replacement function.
 
7092
  The function was size(history) and not desirable. (Robert Collins)
 
7093
 
 
7094
* ``Transport.get_shared_medium`` is deprecated.  Use
 
7095
  ``Transport.get_smart_medium`` instead.  (Andrew Bennetts)
 
7096
 
 
7097
* ``VersionedFile`` factories now accept a get_scope parameter rather
 
7098
  than using a call to ``transaction_finished``, allowing the removal of
 
7099
  the fixed list of versioned files per repository. (Robert Collins)
 
7100
 
 
7101
* ``VersionedFile.annotate_iter`` is deprecated. While in principle this
 
7102
  allowed lower memory use, all users of annotations wanted full file
 
7103
  annotations, and there is no storage format suitable for incremental
 
7104
  line-by-line annotation. (Robert Collins)
 
7105
 
 
7106
* ``VersionedFile.clone_text`` is deprecated. This performance optimisation
 
7107
  is no longer used - reading the content of a file that is undergoing a
 
7108
  file level merge to identical state on two branches is rare enough, and
 
7109
  not expensive enough to special case. (Robert Collins)
 
7110
 
 
7111
* ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
 
7112
  These methods added significant complexity to the ``VersionedFile``
 
7113
  implementation, but were only used for optimising fetches from knits -
 
7114
  which can be done from outside the knit layer, or via a caching
 
7115
  decorator. As knits are not the default format, the complexity is no
 
7116
  longer worth paying. (Robert Collins)
 
7117
 
 
7118
* ``VersionedFile.create_empty`` is removed. This method presupposed a
 
7119
  sensible mapping to a transport for individual files, but pack backed
 
7120
  versioned files have no such mapping. (Robert Collins)
 
7121
 
 
7122
* ``VersionedFile.get_graph`` is deprecated, with no replacement method.
 
7123
  The method was size(history) and not desirable. (Robert Collins)
 
7124
 
 
7125
* ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
 
7126
  replacement method.  The method was size(history) and not desirable.
 
7127
  (Robert Collins)
 
7128
 
 
7129
* ``VersionedFile.get_parents`` is deprecated, please use
 
7130
  ``VersionedFile.get_parent_map``. (Robert Collins)
 
7131
 
 
7132
* ``VersionedFile.get_sha1`` is deprecated, please use
 
7133
  ``VersionedFile.get_sha1s``. (Robert Collins)
 
7134
 
 
7135
* ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
 
7136
  and unused outside of a single test. (Robert Collins)
 
7137
 
 
7138
* ``VersionedFile.iter_parents`` is now deprecated in favour of
 
7139
  ``get_parent_map`` which can be used to instantiate a Graph on a
 
7140
  VersionedFile. (Robert Collins)
 
7141
 
 
7142
* ``VersionedFileStore`` no longer uses the transaction parameter given
 
7143
  to most methods; amongst other things this means that the
 
7144
  get_weave_or_empty method no longer guarantees errors on a missing weave
 
7145
  in a readonly transaction, and no longer caches versioned file instances
 
7146
  which reduces memory pressure (but requires more careful management by
 
7147
  callers to preserve performance). (Robert Collins)
 
7148
 
 
7149
Testing
 
7150
*******
 
7151
 
 
7152
* New -Dselftest_debug flag disables clearing of the debug flags during
 
7153
  tests.  This is useful if you want to use e.g. -Dhpss to help debug a
 
7154
  failing test.  Be aware that using this feature is likely to cause
 
7155
  spurious test failures if used with the full suite. (Andrew Bennetts)
 
7156
 
 
7157
* selftest --load-list now uses a new more agressive test loader that will
 
7158
  avoid loading unneeded modules and building their tests. Plugins can use
 
7159
  this new loader by defining a load_tests function instead of a test_suite
 
7160
  function. (a forthcoming patch will provide many examples on how to
 
7161
  implement this).
 
7162
  (Vincent Ladeuil)
 
7163
 
 
7164
* selftest --load-list now does some sanity checks regarding duplicate test
 
7165
  IDs and tests present in the list but not found in the actual test suite.
 
7166
  (Vincent Ladeuil)
 
7167
 
 
7168
* Slightly more concise format for the selftest progress bar, so there's
 
7169
  more space to show the test name.  (Martin Pool) ::
 
7170
 
 
7171
    [2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
 
7172
 
 
7173
* The test suite takes much less memory to run, and is a bit faster.  This
 
7174
  is done by clearing most attributes of TestCases after running them, if
 
7175
  they succeeded.  (Andrew Bennetts)
 
7176
 
 
7177
Internals
 
7178
*********
 
7179
 
 
7180
* Added ``_build_client_protocol`` to ``_SmartClient``.  (Andrew Bennetts)
 
7181
 
 
7182
* Added basic infrastructure for automatic plugin suggestion.
 
7183
  (Martin Albisetti)
 
7184
 
 
7185
* If a ``LockableFiles`` object is not explicitly unlocked (for example
 
7186
  because of a missing ``try/finally`` block, it will give a warning but
 
7187
  not automatically unlock itself.  (Previously they did.)  This
 
7188
  sometimes caused knock-on errors if for example the network connection
 
7189
  had already failed, and should not be relied upon by code.
 
7190
  (Martin Pool, #109520)
 
7191
 
 
7192
* ``make dist`` target to build a release tarball, and also
 
7193
  ``check-dist-tarball`` and ``dist-upload-escudero``.  (Martin Pool)
 
7194
 
 
7195
* The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
 
7196
  classes will now raise ``UnknownSmartMethod`` when appropriate, so that
 
7197
  callers don't need to try distinguish unknown request errors from other
 
7198
  errors.  (Andrew Bennetts)
 
7199
 
 
7200
* ``set_make_working_trees`` is now implemented provided on all repository
 
7201
  implementations (Aaron Bentley)
 
7202
 
 
7203
* ``VersionedFile`` now has a new method ``get_parent_map`` which, like
 
7204
  ``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
 
7205
 
 
7206
 
 
7207
bzr 1.3.1
 
7208
#########
 
7209
 
 
7210
:Released: 2008-04-09
 
7211
 
 
7212
No changes from 1.3.1rc1.
 
7213
 
 
7214
 
 
7215
bzr 1.3.1rc1
 
7216
############
 
7217
 
 
7218
:Released: 2008-04-04
 
7219
 
 
7220
Bug Fixes
 
7221
*********
 
7222
 
 
7223
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
7224
  fetching revisions from a knit to pack repository or vice versa using
 
7225
  bzr:// (including over http or ssh).
 
7226
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
7227
 
 
7228
 
 
7229
bzr 1.3
 
7230
#######
 
7231
 
 
7232
:Released: 2008-03-20
 
7233
 
 
7234
Bazaar has become part of the GNU project <http://www.gnu.org>
 
7235
 
 
7236
Many operations that act on history, including ``log`` and ``annotate`` are now
 
7237
substantially faster.  Several bugs have been fixed and several new options and
 
7238
features have been added.
 
7239
 
 
7240
Testing
 
7241
*******
 
7242
 
 
7243
* Avoid spurious failure of ``TestVersion.test_version`` matching
 
7244
  directory names.
 
7245
  (#202778, Martin Pool)
 
7246
 
 
7247
 
 
7248
bzr 1.3rc1
 
7249
##########
 
7250
 
 
7251
:Released: 2008-03-16
 
7252
 
 
7253
Notes When Upgrading
 
7254
********************
 
7255
 
 
7256
* The backup directory created by ``upgrade`` is now called
 
7257
  ``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
 
7258
 
 
7259
Changes
 
7260
*******
 
7261
 
 
7262
* A new repository format 'development' has been added. This format will
 
7263
  represent the latest 'in-progress' format that the bzr developers are
 
7264
  interested in getting early-adopter testing and feedback on.
 
7265
  ``doc/developers/development-repo.txt`` has detailed information.
 
7266
  (Robert Collins)
 
7267
 
 
7268
* BZR_LOG environment variable controls location of .bzr.log trace file.
 
7269
  User can suppress writing messages to .bzr.log by using '/dev/null'
 
7270
  filename (on Unix) or 'NUL' (on Windows). If BZR_LOG variable
 
7271
  is not defined but BZR_HOME is defined then default location
 
7272
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
 
7273
  (Alexander Belchenko, #106117)
 
7274
 
 
7275
* ``launchpad`` builtin plugin now shipped as separate part in standalone
 
7276
  bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
 
7277
  and standalone installer allows user to skip installation of this plugin.
 
7278
  (Alexander Belchenko)
 
7279
 
 
7280
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
 
7281
 
 
7282
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
 
7283
  missing final fields.  (Martin Pool)
 
7284
 
 
7285
Features
 
7286
********
 
7287
 
 
7288
* ``branch`` and ``checkout`` can hard-link working tree files, which is
 
7289
  faster and saves space.  (Aaron Bentley)
 
7290
 
 
7291
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
 
7292
  the submit branch to determine the email address to send to.
 
7293
  (Jelmer Vernooij)
 
7294
 
 
7295
Improvements
 
7296
************
 
7297
 
 
7298
* BzrBranch._lefthand_history is faster on pack repos.  (Aaron Bentley)
 
7299
 
 
7300
* Branch6.generate_revision_history is faster.  (Aaron Bentley)
 
7301
 
 
7302
* Directory services can now be registered, allowing special URLs to be
 
7303
  dereferenced into real URLs.  This is a generalization and cleanup of
 
7304
  the lp: transport lookup.  (Aaron Bentley)
 
7305
 
 
7306
* Merge directives that are automatically attached to emails have nicer
 
7307
  filenames, based on branch-nick + revno. (Aaron Bentley)
 
7308
 
 
7309
* ``push`` has a ``--revision`` option, to specify what revision to push up
 
7310
  to.  (Daniel Watkins)
 
7311
 
 
7312
* Significantly reducing execution time and network traffic for trivial
 
7313
  case of running ``bzr missing`` command for two identical branches.
 
7314
  (Alexander Belchenko)
 
7315
 
 
7316
* Speed up operations that look at the revision graph (such as 'bzr log').
 
7317
  ``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
 
7318
  extract the revision history. This allows filtering ghosts while
 
7319
  stepping instead of needing to peek ahead. (John Arbash Meinel)
 
7320
 
 
7321
* The ``hooks`` command lists installed hooks, to assist in debugging.
 
7322
  (Daniel Watkins)
 
7323
 
 
7324
* Updates to how ``annotate`` work. Should see a measurable improvement in
 
7325
  performance and memory consumption for file with a lot of merges.
 
7326
  Also, correctly handle when a line is introduced by both parents (it
 
7327
  should be attributed to the first merge which notices this, and not
 
7328
  to all subsequent merges.) (John Arbash Meinel)
 
7329
 
 
7330
Bugfixes
 
7331
********
 
7332
 
 
7333
* Autopacking no longer holds the full set of inventory lines in
 
7334
  memory while copying. For large repositories, this can amount to
 
7335
  hundreds of MB of ram consumption.
 
7336
  (Ian Clatworthy, John Arbash Meinel)
 
7337
 
 
7338
* Cherrypicking when using ``--format=merge3`` now explictly excludes
 
7339
  BASE lines. (John Arbash Meinel, #151731)
 
7340
 
 
7341
* Disable plink's interactive prompt for password.
 
7342
  (#107593, Dmitry Vasiliev)
 
7343
 
 
7344
* Encode command line arguments from unicode to user_encoding before
 
7345
  invoking external mail client in `bzr send` command.
 
7346
  (#139318, Alexander Belchenko)
 
7347
 
 
7348
* Fixed problem connecting to ``bzr+https://`` servers.
 
7349
  (#198793, John Ferlito)
 
7350
 
 
7351
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
 
7352
  #196618)
 
7353
 
 
7354
* Include quick-start-summary.svg file to python-based installer(s)
 
7355
  for Windows. (#192924, Alexander Belchenko)
 
7356
 
 
7357
* lca merge now respects specified files. (Aaron Bentley)
 
7358
 
 
7359
* Make version-info --custom imply --all. (#195560, James Westby)
 
7360
 
 
7361
* ``merge --preview`` now works for merges that add or modify
 
7362
  symlinks (James Henstridge)
 
7363
 
 
7364
* Redirecting the output from ``bzr merge`` (when the remembered
 
7365
  location is used) now works. (John Arbash Meinel)
 
7366
 
 
7367
* setup.py script explicitly checks for Python version.
 
7368
  (Jari Aalto, Alexander Belchenko, #200569)
 
7369
 
 
7370
* UnknownFormatErrors no longer refer to branches regardless of kind of
 
7371
  unknown format. (Daniel Watkins, #173980)
 
7372
 
 
7373
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
 
7374
  signs, among other small improvements. (Matt Nordhoff, #86838)
 
7375
 
 
7376
* Use correct indices when emitting LCA conflicts.  This fixes IndexError
 
7377
  errors.  (Aaron Bentley, #196780)
 
7378
 
 
7379
Documentation
 
7380
*************
 
7381
 
 
7382
* Explained how to use ``version-info --custom`` in the User Guide.
 
7383
  (Neil Martinsen-Burrell)
 
7384
 
 
7385
API Breaks
 
7386
**********
 
7387
 
 
7388
* Support for loading plugins from zip files and
 
7389
  ``bzrlib.plugin.load_from_zip()`` function are deprecated.
 
7390
  (Alexander Belchenko)
 
7391
 
 
7392
Testing
 
7393
*******
 
7394
 
 
7395
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
 
7396
 
 
7397
* The branch interface tests were invalid for branches using rich-root
 
7398
  repositories because the empty string is not a valid file-id.
 
7399
  (Robert Collins)
 
7400
 
 
7401
Internals
 
7402
*********
 
7403
 
 
7404
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
 
7405
  ``Repository.get_revision_graph()`` except it includes ghosts and you can
 
7406
  stop part-way through. (John Arbash Meinel)
 
7407
 
 
7408
* New module ``tools/package_mf.py`` provide custom module finder for
 
7409
  python packages (improves standard python library's modulefinder.py)
 
7410
  used by ``setup.py`` script while building standalone bzr.exe.
 
7411
  (Alexander Belchenko)
 
7412
 
 
7413
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
 
7414
  detecting external lookup support on remote repositories. This method is
 
7415
  now attempted first when lookup up repositories, leading to an extra
 
7416
  round trip on older bzr smart servers. (Robert Collins)
 
7417
 
 
7418
* Repository formats have a new supported-feature attribute
 
7419
  ``supports_external_lookups`` used to indicate repositories which support
 
7420
  falling back to other repositories when they have partial data.
 
7421
  (Robert Collins)
 
7422
 
 
7423
* ``Repository.get_revision_graph_with_ghosts`` and
 
7424
  ``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
 
7425
  have been deprecated.  (John Arbash Meinel)
 
7426
 
 
7427
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
 
7428
  ``Tree._iter_changes``. The api is now considered stable and ready for
 
7429
  external users.  (Aaron Bentley)
 
7430
 
 
7431
* The bzrdir format registry now accepts an ``alias`` keyword to
 
7432
  register_metadir, used to indicate that a format name is an alias for
 
7433
  some other format and thus should not be reported when describing the
 
7434
  format. (Robert Collins)
 
7435
 
 
7436
 
 
7437
bzr 1.2
 
7438
#######
 
7439
 
 
7440
:Released: 2008-02-15
 
7441
 
 
7442
Bug Fixes
 
7443
*********
 
7444
 
 
7445
* Fix failing test in Launchpad plugin. (Martin Pool)
 
7446
 
 
7447
 
 
7448
bzr 1.2rc1
 
7449
##########
 
7450
 
 
7451
:Released: 2008-02-13
 
7452
 
 
7453
Notes When Upgrading
 
7454
********************
 
7455
 
 
7456
* Fetching via the smart protocol may need to reconnect once during a fetch
 
7457
  if the remote server is running Bazaar 1.1 or earlier, because the client
 
7458
  attempts to use more efficient requests that confuse older servers.  You
 
7459
  may be required to re-enter a password or passphrase when this happens.
 
7460
  This won't happen if the server is upgraded to Bazaar 1.2.
 
7461
  (Andrew Bennetts)
 
7462
 
 
7463
Changes
 
7464
*******
 
7465
 
 
7466
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
 
7467
  consistent with pack-0.92 fetching over SFTP). (Robert Collins)
 
7468
 
 
7469
* Formatting of ``bzr plugins`` output is changed to be more human-
 
7470
  friendly. Full path of plugins locations will be shown only with
 
7471
  ``--verbose`` command-line option. (Alexander Belchenko)
 
7472
 
 
7473
* ``merge`` now prefers to use the submit branch, but will fall back to
 
7474
  parent branch.  For many users, this has no effect.  But some users who
 
7475
  pull and merge on the same branch will notice a change.  This change
 
7476
  makes it easier to work on a branch on two different machines, pulling
 
7477
  between the machines, while merging from the upstream.
 
7478
  ``merge --remember`` can now be used to set the submit_branch.
 
7479
  (Aaron Bentley)
 
7480
 
 
7481
Features
 
7482
********
 
7483
 
 
7484
* ``merge --preview`` produces a diff of the changes merge would make,
 
7485
  but does not actually perform the merge.  (Aaron Bentley)
 
7486
 
 
7487
* New smart method ``Repository.get_parent_map`` for getting revision
 
7488
  parent data. This returns additional parent information topologically
 
7489
  adjacent to the requested data to reduce round trip latency impacts.
 
7490
  (Robert Collins)
 
7491
 
 
7492
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
 
7493
  revision data that streams revision data via a chunked encoding.  This
 
7494
  avoids buffering large amounts of revision data on the server and on the
 
7495
  client, and sends less data to the server to request the revisions.
 
7496
  (Andrew Bennetts, Robert Collins, #178353)
 
7497
 
 
7498
* The launchpad plugin now handles lp urls of the form
 
7499
  ``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
 
7500
  launchpad instance to do the resolution of the branch identities.
 
7501
  This is primarily of use to Launchpad developers, but can also
 
7502
  be used by other users who want to try out Launchpad as
 
7503
  a branch location without messing up their public Launchpad
 
7504
  account.  Branches that are pushed to the staging environment
 
7505
  have an expected lifetime of one day. (Tim Penhey)
 
7506
 
 
7507
Improvements
 
7508
************
 
7509
 
 
7510
* Creating a new branch no longer tries to read the entire revision-history
 
7511
  unnecessarily over smart server operations. (Robert Collins)
 
7512
 
 
7513
* Fetching between different repository formats with compatible models now
 
7514
  takes advantage of the smart method to stream revisions.  (Andrew Bennetts)
 
7515
 
 
7516
* The ``--coverage`` option is now global, rather specific to ``bzr
 
7517
  selftest``.  (Andrew Bennetts)
 
7518
 
 
7519
* The ``register-branch`` command will now use the public url of the branch
 
7520
  containing the current directory, if one has been set and no explicit
 
7521
  branch is provided.  (Robert Collins)
 
7522
 
 
7523
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
 
7524
  Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
 
7525
  (John Arbash Meinel)
 
7526
 
 
7527
Bugfixes
 
7528
********
 
7529
 
 
7530
* Calculate remote path relative to the shared medium in _SmartClient.  This
 
7531
  is related to the problem in bug #124089.  (Andrew Bennetts)
 
7532
 
 
7533
* Cleanly handle connection errors in smart protocol version two, the same
 
7534
  way as they are handled by version one.  (Andrew Bennetts)
 
7535
 
 
7536
* Clearer error when ``version-info --custom`` is used without
 
7537
  ``--template`` (Lukáš Lalinský)
 
7538
 
 
7539
* Don't raise UnavailableFeature during test setup when medusa is not
 
7540
  available or tearDown is never called leading to nasty side effects.
 
7541
  (#137823, Vincent Ladeuil)
 
7542
 
 
7543
* If a plugin's test suite cannot be loaded, for example because of a syntax
 
7544
  error in the tests, then ``selftest`` fails, rather than just printing
 
7545
  a warning.  (Martin Pool, #189771)
 
7546
 
 
7547
* List possible values for BZR_SSH environment variable in env-variables
 
7548
  help topic. (Alexander Belchenko, #181842)
 
7549
 
 
7550
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
 
7551
  popping the log redirection now precisely restores the previous state,
 
7552
  which makes it easier to use bzr log output from other programs.
 
7553
  TestCaseInTempDir no longer depends on a log redirection being established
 
7554
  by the test framework, which lets bzr tests cleanly run from a normal
 
7555
  unittest runner.
 
7556
  (#124153, #124849, Martin Pool, Jonathan Lange)
 
7557
 
 
7558
* ``pull --quiet`` is now more quiet, in particular a message is no longer
 
7559
  printed when the remembered pull location is used. (James Westby,
 
7560
  #185907)
 
7561
 
 
7562
* ``reconfigure`` can safely be interrupted while fetching.
 
7563
  (Aaron Bentley, #179316)
 
7564
 
 
7565
* ``reconfigure`` preserves tags when converting to and from lightweight
 
7566
  checkouts.  (Aaron Bentley, #182040)
 
7567
 
 
7568
* Stop polluting /tmp when running selftest.
 
7569
  (Vincent Ladeuil, #123363)
 
7570
 
 
7571
* Switch from NFKC => NFC for normalization checks. NFC allows a few
 
7572
  more characters which should be considered valid.
 
7573
  (John Arbash Meinel, #185458)
 
7574
 
 
7575
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
 
7576
  interacting badly with a bug on the launchpad side. (Robert Collins)
 
7577
 
 
7578
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
 
7579
  tracebacks.  (Andrew Bennetts, #182849)
 
7580
 
 
7581
API Breaks
 
7582
**********
 
7583
 
 
7584
* Classes implementing Merge types like Merge3Merger must now accept (and
 
7585
  honour) a do_merge flag in their constructor.  (Aaron Bentley)
 
7586
 
 
7587
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
 
7588
  to previously take a write lock (and start a write group.)
 
7589
  (Martin Pool)
 
7590
 
 
7591
Testing
 
7592
*******
 
7593
 
 
7594
* selftest now accepts --load-list <file> to load a test id list. This
 
7595
  speeds up running the test suite on a limited set of tests.
 
7596
  (Vincent Ladeuil)
 
7597
 
 
7598
Internals
 
7599
*********
 
7600
 
 
7601
* Add a new method ``get_result`` to graph search objects. The resulting
 
7602
  ``SearchResult`` can be used to recreate the search later, which will
 
7603
  be useful in reducing network traffic. (Robert Collins)
 
7604
 
 
7605
* Use convenience function to check whether two repository handles
 
7606
  are referring to the same repository in ``Repository.get_graph``.
 
7607
  (Jelmer Vernooij, #187162)
 
7608
 
 
7609
* Fetching now passes the find_ghosts flag through to the
 
7610
  ``InterRepository.missing_revision_ids`` call consistently for all
 
7611
  repository types. This will enable faster missing revision discovery with
 
7612
  bzr+ssh. (Robert Collins)
 
7613
 
 
7614
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
 
7615
 
 
7616
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
 
7617
  ``InterRepository.search_missing_revision_ids`` which returns a
 
7618
  ``bzrlib.graph.SearchResult`` suitable for making requests from the smart
 
7619
  server. (Robert Collins)
 
7620
 
 
7621
* New error ``NoPublicBranch`` for commands that need a public branch to
 
7622
  operate. (Robert Collins)
 
7623
 
 
7624
* New method ``iter_inventories`` on Repository for access to many
 
7625
  inventories. This is primarily used by the ``revision_trees`` method, as
 
7626
  direct access to inventories is discouraged. (Robert Collins)
 
7627
 
 
7628
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
 
7629
  which will split out ghosts and present parents into two separate sets,
 
7630
  useful for code which needs to be aware of ghosts (e.g. fetching data
 
7631
  cares about ghosts during revision selection). (Robert Collins)
 
7632
 
 
7633
* Record a timestamp against each mutter to the trace file, relative to the
 
7634
  first import of bzrlib.  (Andrew Bennetts)
 
7635
 
 
7636
* ``Repository.get_data_stream`` is now deprecated in favour of
 
7637
  ``Repository.get_data_stream_for_search`` which allows less network
 
7638
  traffic when requesting data streams over a smart server. (Robert Collins)
 
7639
 
 
7640
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
 
7641
  removing one round trip on many network operations. (Robert Collins)
 
7642
 
 
7643
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
 
7644
  SFTPTransport and HttpTransportBase.  (Andrew Bennetts)
 
7645
 
 
7646
* Repository has a new method ``has_revisions`` which signals the presence
 
7647
  of many revisions by returning a set of the revisions listed which are
 
7648
  present. This can be done by index queries without reading data for parent
 
7649
  revision names etc. (Robert Collins)
 
7650
 
 
7651
 
 
7652
bzr 1.1
 
7653
#######
 
7654
 
 
7655
:Released: 2008-01-15
 
7656
 
 
7657
(no changes from 1.1rc1)
 
7658
 
 
7659
bzr 1.1rc1
 
7660
##########
 
7661
 
 
7662
:Released: 2008-01-05
 
7663
 
 
7664
Changes
 
7665
*******
 
7666
 
 
7667
* Dotted revision numbers have been revised. Instead of growing longer with
 
7668
  nested branches the branch number just increases. (eg instead of 1.1.1.1.1
 
7669
  we now report 1.2.1.) This helps scale long lived branches which have many
 
7670
  feature branches merged between them. (John Arbash Meinel)
 
7671
 
 
7672
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
 
7673
  Use ``bzr diff branch1 --new branch2`` instead. This change has
 
7674
  been made to remove the ambiguity where ``branch2`` is in fact a
 
7675
  specific file to diff within ``branch1``.
 
7676
 
 
7677
Features
 
7678
********
 
7679
 
 
7680
* New option to use custom template-based formats in  ``bzr version-info``.
 
7681
  (Lukáš Lalinský)
 
7682
 
 
7683
* diff '--using' allows an external diff tool to be used for files.
 
7684
  (Aaron Bentley)
 
7685
 
 
7686
* New "lca" merge-type for fast everyday merging that also supports
 
7687
  criss-cross merges.  (Aaron Bentley)
 
7688
 
 
7689
Improvements
 
7690
************
 
7691
 
 
7692
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
 
7693
  #90049)
 
7694
 
 
7695
* ``branch`` and ``checkout`` can now use files from a working tree to
 
7696
  to speed up the process.  For checkout, this requires the new
 
7697
  --files-from flag.  (Aaron Bentley)
 
7698
 
 
7699
* ``bzr diff`` now sorts files in alphabetical order.  (Aaron Bentley)
 
7700
 
 
7701
* ``bzr diff`` now works on branches without working trees. Tree-less
 
7702
  branches can also be compared to each other and to working trees using
 
7703
  the new diff options ``--old`` and ``--new``. Diffing between branches,
 
7704
  with or without trees, now supports specific file filtering as well.
 
7705
  (Ian Clatworthy, #6700)
 
7706
 
 
7707
* ``bzr pack`` now orders revision texts in topological order, with newest
 
7708
  at the start of the file, promoting linear reads for ``bzr log`` and the
 
7709
  like. This partially fixes #154129. (Robert Collins)
 
7710
 
 
7711
* Merge directives now fetch prerequisites from the target branch if
 
7712
  needed.  (Aaron Bentley)
 
7713
 
 
7714
* pycurl now handles digest authentication.
 
7715
  (Vincent Ladeuil)
 
7716
 
 
7717
* ``reconfigure`` can now convert from repositories.  (Aaron Bentley)
 
7718
 
 
7719
* ``-l`` is now a short form for ``--limit`` in ``log``.  (Matt Nordhoff)
 
7720
 
 
7721
* ``merge`` now warns when merge directives cause cherrypicks.
 
7722
  (Aaron Bentley)
 
7723
 
 
7724
* ``split`` now supported, to enable splitting large trees into smaller
 
7725
  pieces.  (Aaron Bentley)
 
7726
 
 
7727
Bugfixes
 
7728
********
 
7729
 
 
7730
* Avoid AttributeError when unlocking a pack repository when an error occurs.
 
7731
  (Martin Pool, #180208)
 
7732
 
 
7733
* Better handle short reads when processing multiple range requests.
 
7734
  (Vincent Ladeuil, #179368)
 
7735
 
 
7736
* build_tree acceleration uses the correct path when a file has been moved.
 
7737
  (Aaron Bentley)
 
7738
 
 
7739
* ``commit`` now succeeds when a checkout and its master branch share a
 
7740
  repository.  (Aaron Bentley, #177592)
 
7741
 
 
7742
* Fixed error reporting of unsupported timezone format in
 
7743
  ``log --timezone``. (Lukáš Lalinský, #178722)
 
7744
 
 
7745
* Fixed Unicode encoding error in ``ignored`` when the output is
 
7746
  redirected to a pipe. (Lukáš Lalinský)
 
7747
 
 
7748
* Fix traceback when sending large response bodies over the smart protocol
 
7749
  on Windows. (Andrew Bennetts, #115781)
 
7750
 
 
7751
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
 
7752
  pointed to different logical drives on Windows.
 
7753
  (Alexander Belchenko, #90847)
 
7754
 
 
7755
* HTTP test servers are now compatible with the http protocol version 1.1.
 
7756
  (Vincent Ladeuil, #175524)
 
7757
 
 
7758
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
 
7759
  correctly, instead of erroring or attributing incorrect parents to ghosts.
 
7760
  (Aaron Bentley)
 
7761
 
 
7762
* ``merge --weave --uncommitted`` now works.  (Aaron Bentley)
 
7763
 
 
7764
* pycurl authentication handling was broken and incomplete. Fix handling of
 
7765
  user:pass embedded in the urls.
 
7766
  (Vincent Ladeuil, #177643)
 
7767
 
 
7768
* Files inside non-directories are now handled like other conflict types.
 
7769
  (Aaron Bentley, #177390)
 
7770
 
 
7771
* ``reconfigure`` is able to convert trees into lightweight checkouts.
 
7772
  (Aaron Bentley)
 
7773
 
 
7774
* Reduce lockdir timeout to 0 when running ``bzr serve``.  (Andrew Bennetts,
 
7775
  #148087)
 
7776
 
 
7777
* Test that the old ``version_info_format`` functions still work, even
 
7778
  though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
 
7779
 
 
7780
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
 
7781
  #137681)
 
7782
 
 
7783
* ``uncommit`` works even when the commit messages of revisions to be
 
7784
  removed use characters not supported in the terminal encoding.
 
7785
  (Aaron Bentley)
 
7786
 
 
7787
* When dumb http servers return whole files instead of the requested ranges,
 
7788
  read the remaining bytes by chunks to avoid overflowing network buffers.
 
7789
  (Vincent Ladeuil, #175886)
 
7790
 
 
7791
Documentation
 
7792
*************
 
7793
 
 
7794
* Minor tweaks made to the bug tracker integration documentation.
 
7795
  (Ian Clatworthy)
 
7796
 
 
7797
* Reference material has now be moved out of the User Guide and added
 
7798
  to the User Reference. The User Reference has gained 4 sections as
 
7799
  a result: Authenication Settings, Configuration Settings, Conflicts
 
7800
  and Hooks. All help topics are now dumped into text format in the
 
7801
  doc/en/user-reference directory for those who like browsing that
 
7802
  information in their editor. (Ian Clatworthy)
 
7803
 
 
7804
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
 
7805
 
 
7806
Internals
 
7807
*********
 
7808
 
 
7809
* find_* methods available for BzrDirs, Branches and WorkingTrees.
 
7810
  (Aaron Bentley)
 
7811
 
 
7812
* Help topics can now be loaded from files.
 
7813
  (Ian Clatworthy, Alexander Belchenko)
 
7814
 
 
7815
* get_parent_map now always provides tuples as its output.  (Aaron Bentley)
 
7816
 
 
7817
* Parent Providers should now implement ``get_parent_map`` returning a
 
7818
  dictionary instead of ``get_parents`` returning a list.
 
7819
  ``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
 
7820
  Robert Collins)
 
7821
 
 
7822
* Patience Diff now supports arbitrary python objects, as long as they
 
7823
  support ``hash()``. (John Arbash Meinel)
 
7824
 
 
7825
* Reduce selftest overhead to establish test names by memoization.
 
7826
  (Vincent Ladeuil)
 
7827
 
 
7828
API Breaks
 
7829
**********
 
7830
 
 
7831
Testing
 
7832
*******
 
7833
 
 
7834
* Modules can now customise their tests by defining a ``load_tests``
 
7835
  attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
 
7836
  for the documentation on this attribute. (Robert Collins)
 
7837
 
 
7838
* New helper function ``bzrlib.tests.condition_id_re`` which helps
 
7839
  filter tests based on a regular expression search on the tests id.
 
7840
  (Robert Collins)
 
7841
 
 
7842
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
 
7843
  filter tests based on class. (Robert Collins)
 
7844
 
 
7845
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
 
7846
  generalises the ``exclude_suite_by_re`` function. (Robert Collins)
 
7847
 
 
7848
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
 
7849
  generalises the ``filter_suite_by_re`` function. (Robert Collins)
 
7850
 
 
7851
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
 
7852
  TestSuite that does not contain tests from the input that matched a
 
7853
  regular expression. (Robert Collins)
 
7854
 
 
7855
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
 
7856
  randomized copy of the input suite. (Robert Collins)
 
7857
 
 
7858
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
 
7859
  suite into two according to a regular expression. (Robert Collins)
 
7860
 
 
7861
* Parametrize all http tests for the transport implementations, the http
 
7862
  protocol versions (1.0 and 1.1) and the authentication schemes.
 
7863
  (Vincent Ladeuil)
 
7864
 
 
7865
* The ``exclude_pattern`` and ``random_order`` parameters to the function
 
7866
  ``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
 
7867
 
 
7868
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
 
7869
  replaced by the new helper methods added in this release. (Robert Collins)
 
7870
 
 
7871
 
 
7872
bzr 1.0
 
7873
#######
 
7874
 
 
7875
:Released: 2007-12-14
 
7876
 
 
7877
Documentation
 
7878
*************
 
7879
 
 
7880
* More improvements and fixes to the User Guide.  (Ian Clatworthy)
 
7881
 
 
7882
* Add information on cherrypicking/rebasing to the User Guide.
 
7883
  (Ian Clatworthy)
 
7884
 
 
7885
* Improve bug tracker integration documentation. (Ian Clatworthy)
 
7886
 
 
7887
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
 
7888
  to the rebasing section of the User Guide from Aaron Bentley.
 
7889
  (Ian Clatworthy)
 
7890
 
 
7891
 
 
7892
bzr 1.0rc3
 
7893
##########
 
7894
 
 
7895
:Released: 2007-12-11
 
7896
 
 
7897
Changes
 
7898
*******
 
7899
 
 
7900
* If a traceback occurs, users are now asked to report the bug
 
7901
  through Launchpad (https://bugs.launchpad.net/bzr/), rather than
 
7902
  by mail to the mailing list.
 
7903
  (Martin Pool)
 
7904
 
 
7905
Bugfixes
 
7906
********
 
7907
 
 
7908
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
 
7909
 
 
7910
* Give more feedback during long http downloads by making readv deliver data
 
7911
  as it arrives for urllib, and issue more requests for pycurl. High latency
 
7912
  networks are better handled by urllib, the pycurl implementation give more
 
7913
  feedback but also incur more latency.
 
7914
  (Vincent Ladeuil, #173010)
 
7915
 
 
7916
* Implement _make_parents_provider on RemoteRepository, allowing generating
 
7917
  bundles against branches on a smart server.  (Andrew Bennetts, #147836)
 
7918
 
 
7919
Documentation
 
7920
*************
 
7921
 
 
7922
* Improved user guide.  (Ian Clatworthy)
 
7923
 
 
7924
* The single-page quick reference guide is now available as a PDF.
 
7925
  (Ian Clatworthy)
 
7926
 
 
7927
Internals
 
7928
*********
 
7929
 
 
7930
* readv urllib http implementation is now a real iterator above the
 
7931
  underlying socket and deliver data as soon as it arrives. 'get' still
 
7932
  wraps its output in a StringIO.
 
7933
  (Vincent Ladeuil)
 
7934
 
 
7935
 
 
7936
bzr 1.0rc2
 
7937
##########
 
7938
 
 
7939
:Released: 2007-12-07
 
7940
 
 
7941
Improvements
 
7942
************
 
7943
 
 
7944
* Added a --coverage option to selftest. (Andrew Bennetts)
 
7945
 
 
7946
* Annotate merge (merge-type=weave) now supports cherrypicking.
 
7947
  (Aaron Bentley)
 
7948
 
 
7949
* ``bzr commit`` now doesn't print the revision number twice. (Matt
 
7950
  Nordhoff, #172612)
 
7951
 
 
7952
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
 
7953
  define locations of bug trackers that are not directly supported by
 
7954
  bzr or a plugin. The URL will be treated as a template and ``{id}``
 
7955
  placeholders will be replaced by specific bug IDs.  (Lukáš Lalinský)
 
7956
 
 
7957
* Support logging single merge revisions with short and line log formatters.
 
7958
  (Kent Gibson)
 
7959
 
 
7960
* User Guide enhanced with suggested readability improvements from
 
7961
  Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
 
7962
 
 
7963
* Quick Start Guide renamed to Quick Start Card, moved down in
 
7964
  the catalog, provided in pdf and png format and updated to refer
 
7965
  to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
 
7966
 
 
7967
* ``switch`` can now be used on heavyweight checkouts as well as
 
7968
  lightweight ones. After switching a heavyweight checkout, the
 
7969
  local branch is a mirror/cache of the new bound branch and
 
7970
  uncommitted changes in the working tree are merged. As a safety
 
7971
  check, if there are local commits in a checkout which have not
 
7972
  been committed to the previously bound branch, then ``switch``
 
7973
  fails unless the ``--force`` option is given. This option is
 
7974
  now also required if the branch a lightweight checkout is pointing
 
7975
  to has been moved. (Ian Clatworthy)
 
7976
 
 
7977
Internals
 
7978
*********
 
7979
 
 
7980
* New -Dhttp debug option reports http connections, requests and responses.
 
7981
  (Vincent Ladeuil)
 
7982
 
 
7983
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
 
7984
 
 
7985
Bugfixes
 
7986
********
 
7987
 
 
7988
* Better error message when running ``bzr cat`` on a non-existant branch.
 
7989
  (Lukáš Lalinský, #133782)
 
7990
 
 
7991
* Catch OSError 17 (file exists) in final phase of tree transform and show
 
7992
  filename to user.
 
7993
  (Alexander Belchenko, #111758)
 
7994
 
 
7995
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
 
7996
  allowing multiple GET requests to be issued if too many ranges are
 
7997
  required.
 
7998
  (Vincent Ladeuil, #172701)
 
7999
 
 
8000
* Check for missing basis texts when fetching from packs to packs.
 
8001
  (John Arbash Meinel, #165290)
 
8002
 
 
8003
* Fall back to showing e-mail in ``log --short/--line`` if the
 
8004
  committer/author has only e-mail. (Lukáš Lalinský, #157026)
 
8005
 
 
8006
API Breaks
 
8007
**********
 
8008
 
 
8009
* Deprecate not passing a ``location`` argument to commit reporters'
 
8010
  ``started`` methods. (Matt Nordhoff)
 
8011
 
 
8012
 
 
8013
bzr 1.0rc1
 
8014
##########
 
8015
 
 
8016
:Released: 2007-11-30
 
8017
 
 
8018
Notes When Upgrading
 
8019
********************
 
8020
 
 
8021
* The default repository format is now ``pack-0.92``.  This
 
8022
  default is used when creating new repositories with ``init`` and
 
8023
  ``init-repo``, and when branching over bzr+ssh or bzr+hpss.
 
8024
  (See https://bugs.launchpad.net/bugs/164626)
 
8025
 
 
8026
  This format can be read and written by Bazaar 0.92 and later, and
 
8027
  data can be transferred to and from older formats.
 
8028
 
 
8029
  To upgrade, please reconcile your repository (``bzr reconcile``), and then
 
8030
  upgrade (``bzr upgrade``).
 
8031
 
 
8032
  ``pack-0.92`` offers substantially better scaling and performance than the
 
8033
  previous knits format. Some operations are slower where the code already
 
8034
  had bad scaling characteristics under knits, the pack format makes such
 
8035
  operations more visible as part of being more scalable overall. We will
 
8036
  correct such operations over the coming releases and encourage the filing
 
8037
  of bugs on any operation which you observe to be slower in a packs
 
8038
  repository. One particular case that we do not intend to fix is pulling
 
8039
  data from a pack repository into a knit repository over a high latency
 
8040
  link;  downgrading such data requires reinsertion of the file texts, and
 
8041
  this is a classic space/time tradeoff. The current implementation is
 
8042
  conservative on memory usage because we need to support converting data
 
8043
  from any tree without problems.
 
8044
  (Robert Collins, Martin Pool, #164476)
 
8045
 
 
8046
Changes
 
8047
*******
 
8048
 
 
8049
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
 
8050
  still available if user selects it explicitly with BZR_SSH environment
 
8051
  variable. (Alexander Belchenko, workaround for bug #107593)
 
8052
 
 
8053
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
 
8054
  to enable the subtree functions (for example, for bzr-svn).
 
8055
  (Martin Pool)
 
8056
 
 
8057
Features
 
8058
********
 
8059
 
 
8060
* New ``authentication.conf`` file holding the password or other credentials
 
8061
  for remote servers. This can be used for ssh, sftp, smtp and other
 
8062
  supported transports.
 
8063
  (Vincent Ladeuil)
 
8064
 
 
8065
* New rich-root and rich-root-pack formats, recording the same data about
 
8066
  tree roots that's recorded for all other directories.
 
8067
  (Aaron Bentley, #164639)
 
8068
 
 
8069
* ``pack-0.92`` repositories can now be reconciled.
 
8070
  (Robert Collins, #154173)
 
8071
 
 
8072
* ``switch`` command added for changing the branch a lightweight checkout
 
8073
  is associated with and updating the tree to reflect the latest content
 
8074
  accordingly. This command was previously part of the BzrTools plug-in.
 
8075
  (Ian Clatworthy, Aaron Bentley, David Allouche)
 
8076
 
 
8077
* ``reconfigure`` command can now convert branches, trees, or checkouts to
 
8078
  lightweight checkouts.  (Aaron Bentley)
 
8079
 
 
8080
Performance
 
8081
***********
 
8082
 
 
8083
* Commit updates the state of the working tree via a delta rather than
 
8084
  supplying entirely new basis trees. For commit of a single specified file
 
8085
  this reduces the wall clock time for commit by roughly a 30%.
 
8086
  (Robert Collins, Martin Pool)
 
8087
 
 
8088
* Commit with many automatically found deleted paths no longer performs
 
8089
  linear scanning for the children of those paths during inventory
 
8090
  iteration. This should fix commit performance blowing out when many such
 
8091
  paths occur during commit. (Robert Collins, #156491)
 
8092
 
 
8093
* Fetch with pack repositories will no longer read the entire history graph.
 
8094
  (Robert Collins, #88319)
 
8095
 
 
8096
* Revert takes out an appropriate lock when reverting to a basis tree, and
 
8097
  does not read the basis inventory twice. (Robert Collins)
 
8098
 
 
8099
* Diff does not require an inventory to be generated on dirstate trees.
 
8100
  (Aaron Bentley, #149254)
 
8101
 
 
8102
* New annotate merge (--merge-type=weave) implementation is fast on
 
8103
  versionedfiles withough cached annotations, e.g. pack-0.92.
 
8104
  (Aaron Bentley)
 
8105
 
 
8106
Improvements
 
8107
************
 
8108
 
 
8109
* ``bzr merge`` now warns when it encounters a criss-cross merge.
 
8110
  (Aaron Bentley)
 
8111
 
 
8112
* ``bzr send`` now doesn't require the target e-mail address to be
 
8113
  specified on the command line if an interactive e-mail client is used.
 
8114
  (Lukáš Lalinský)
 
8115
 
 
8116
* ``bzr tags`` now prints the revision number for each tag, instead of
 
8117
  the revision id, unless --show-ids is passed. In addition, tags can be
 
8118
  sorted chronologically instead of lexicographically with --sort=time.
 
8119
  (Adeodato Simó, #120231)
 
8120
 
 
8121
* Windows standalone version of bzr is able to load system-wide plugins from
 
8122
  "plugins" subdirectory in installation directory. In addition standalone
 
8123
  installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
 
8124
  about paths and bzr version. (Alexander Belchenko, #129298)
 
8125
 
 
8126
Documentation
 
8127
*************
 
8128
 
 
8129
Bug Fixes
 
8130
*********
 
8131
 
 
8132
* A progress bar has been added for knitpack -> knitpack fetching.
 
8133
  (Robert Collins, #157789, #159147)
 
8134
 
 
8135
* Branching from a branch via smart server now preserves the repository
 
8136
  format. (Andrew Bennetts,  #164626)
 
8137
 
 
8138
* ``commit`` is now able to invoke an external editor in a non-ascii
 
8139
  directory. (Daniel Watkins, #84043)
 
8140
 
 
8141
* Catch connection errors for ftp.
 
8142
  (Vincent Ladeuil, #164567)
 
8143
 
 
8144
* ``check`` no longer reports spurious unreferenced text versions.
 
8145
  (Robert Collins, John A Meinel, #162931, #165071)
 
8146
 
 
8147
* Conflicts are now resolved recursively by ``revert``.
 
8148
  (Aaron Bentley, #102739)
 
8149
 
 
8150
* Detect invalid transport reuse attempts by catching invalid URLs.
 
8151
  (Vincent Ladeuil, #161819)
 
8152
 
 
8153
* Deleting a file without removing it shows a correct diff, not a traceback.
 
8154
  (Aaron Bentley)
 
8155
 
 
8156
* Do no use timeout in HttpServer anymore.
 
8157
  (Vincent Ladeuil, #158972).
 
8158
 
 
8159
* Don't catch the exceptions related to the http pipeline status before
 
8160
  retrying an http request or some programming errors may be masked.
 
8161
  (Vincent Ladeuil, #160012)
 
8162
 
 
8163
* Fix ``bzr rm`` to not delete modified and ignored files.
 
8164
  (Lukáš Lalinský, #172598)
 
8165
 
 
8166
* Fix exception when revisionspec contains merge revisons but log
 
8167
  formatter doesn't support merge revisions. (Kent Gibson, #148908)
 
8168
 
 
8169
* Fix exception when ScopeReplacer is assigned to before any members have
 
8170
  been retrieved.  (Aaron Bentley)
 
8171
 
 
8172
* Fix multiple connections during checkout --lightweight.
 
8173
  (Vincent Ladeuil, #159150)
 
8174
 
 
8175
* Fix possible error in insert_data_stream when copying between
 
8176
  pack repositories over bzr+ssh or bzr+http.
 
8177
  KnitVersionedFile.get_data_stream now makes sure that requested
 
8178
  compression parents are sent before any delta hunks that depend
 
8179
  on them.
 
8180
  (Martin Pool, #164637)
 
8181
 
 
8182
* Fix typo in limiting offsets coalescing for http, leading to
 
8183
  whole files being downloaded instead of parts.
 
8184
  (Vincent Ladeuil, #165061)
 
8185
 
 
8186
* FTP server errors don't error in the error handling code.
 
8187
  (Robert Collins, #161240)
 
8188
 
 
8189
* Give a clearer message when a pull fails because the source needs
 
8190
  to be reconciled.
 
8191
  (Martin Pool, #164443)
 
8192
 
 
8193
* It is clearer when a plugin cannot be loaded because of its name, and a
 
8194
  suggestion for an acceptable name is given. (Daniel Watkins, #103023)
 
8195
 
 
8196
* Leave port as None in transport objects if user doesn't
 
8197
  specify a port in urls.
 
8198
  (vincent Ladeuil, #150860)
 
8199
 
 
8200
* Make sure Repository.fetch(self) is properly a no-op for all
 
8201
  Repository implementations. (John Arbash Meinel, #158333)
 
8202
 
 
8203
* Mark .bzr directories as "hidden" on Windows.
 
8204
  (Alexander Belchenko, #71147)
 
8205
 
 
8206
* ``merge --uncommitted`` can now operate on a single file.
 
8207
  (Aaron Bentley, Lukáš Lalinský, #136890)
 
8208
 
 
8209
* Obsolete packs are now cleaned up by pack and autopack operations.
 
8210
  (Robert Collins, #153789)
 
8211
 
 
8212
* Operations pulling data from a smart server where the underlying
 
8213
  repositories are not both annotated/both unannotated will now work.
 
8214
  (Robert Collins, #165304).
 
8215
 
 
8216
* Reconcile now shows progress bars. (Robert Collins, #159351)
 
8217
 
 
8218
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
 
8219
  properly. (John Arbash Meinel, #162486)
 
8220
 
 
8221
* Removing an already-removed file reports the file does not exist. (Daniel
 
8222
  Watkins, #152811)
 
8223
 
 
8224
* Rename on Windows is able to change filename case.
 
8225
  (Alexander Belchenko, #77740)
 
8226
 
 
8227
* Return error instead of a traceback for ``bzr log -r0``.
 
8228
  (Kent Gibson, #133751)
 
8229
 
 
8230
* Return error instead of a traceback when bzr is unable to create
 
8231
  symlink on some platforms (e.g. on Windows).
 
8232
  (Alexander Belchenko, workaround for #81689)
 
8233
 
 
8234
* Revert doesn't crash when restoring a single file from a deleted
 
8235
  directory. (Aaron Bentley)
 
8236
 
 
8237
* Stderr output via logging mechanism now goes through encoded wrapper
 
8238
  and no more uses utf-8, but terminal encoding instead. So all unicode
 
8239
  strings now should be readable in non-utf-8 terminal.
 
8240
  (Alexander Belchenko, #54173)
 
8241
 
 
8242
* The error message when ``move --after`` should be used makes how to do so
 
8243
  clearer. (Daniel Watkins, #85237)
 
8244
 
 
8245
* Unicode-safe output from ``bzr info``. The output will be encoded
 
8246
  using the terminal encoding and unrepresentable characters will be
 
8247
  replaced by '?'. (Lukáš Lalinský, #151844)
 
8248
 
 
8249
* Working trees are no longer created when pushing into a local no-trees
 
8250
  repo. (Daniel Watkins, #50582)
 
8251
 
 
8252
* Upgrade util/configobj to version 4.4.0.
 
8253
  (Vincent Ladeuil, #151208).
 
8254
 
 
8255
* Wrap medusa ftp test server as an FTPServer feature.
 
8256
  (Vincent Ladeuil, #157752)
 
8257
 
 
8258
API Breaks
 
8259
**********
 
8260
 
 
8261
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
 
8262
  during very long time. (Alexander Belchenko)
 
8263
 
 
8264
* The return value of
 
8265
  ``VersionedFile.iter_lines_added_or_present_in_versions`` has been
 
8266
  changed. Previously it was an iterator of lines, now it is an iterator of
 
8267
  (line, version_id) tuples. This change has been made to aid reconcile and
 
8268
  fetch operations. (Robert Collins)
 
8269
 
 
8270
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
 
8271
  (Robert Collins)
 
8272
 
 
8273
* The Repository format registry default has been removed; it was previously
 
8274
  obsoleted by the bzrdir format default, which implies a default repository
 
8275
  format.
 
8276
  (Martin Pool)
 
8277
 
 
8278
Internals
 
8279
*********
 
8280
 
 
8281
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
 
8282
  ``bzrlib.pack``.  These classes provide more convenient APIs for generating
 
8283
  and parsing containers from streams rather than from files.  (Andrew
 
8284
  Bennetts)
 
8285
 
 
8286
* New module ``lru_cache`` providing a cache for use by tasks that need
 
8287
  semi-random access to large amounts of data. (John A Meinel)
 
8288
 
 
8289
* InventoryEntry.diff is now deprecated.  Please use diff.DiffTree instead.
 
8290
 
 
8291
 
 
8292
bzr 0.92
 
8293
########
 
8294
 
 
8295
:Released: 2007-11-05
 
8296
 
 
8297
Changes
 
8298
*******
 
8299
 
 
8300
  * New uninstaller on Win32.  (Alexander Belchenko)
 
8301
 
 
8302
 
 
8303
bzr 0.92rc1
 
8304
###########
 
8305
 
 
8306
:Released: 2007-10-29
 
8307
 
 
8308
Changes
 
8309
*******
 
8310
 
 
8311
* ``bzr`` now returns exit code 4 if an internal error occurred, and
 
8312
  3 if a normal error occurred.  (Martin Pool)
 
8313
 
 
8314
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
 
8315
  repository index errors that occured as a result of the Weave disk format.
 
8316
  Instead the ``reconcile`` command needs to be run to correct those
 
8317
  problems if they exist (and it has been able to fix most such problems
 
8318
  since bzr 0.8). Some new problems have been identified during this release
 
8319
  and you should run ``bzr check`` once on every repository to see if you
 
8320
  need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
 
8321
  repository due to mismatched parent errors - a symptom of index errors -
 
8322
  you should simply take a full copy of that remote repository to a clean
 
8323
  directory outside any local repositories, then run reconcile on it, and
 
8324
  finally pull from it locally. (And naturally email the repositories owner
 
8325
  to ask them to upgrade and run reconcile).
 
8326
  (Robert Collins)
 
8327
 
 
8328
Features
 
8329
********
 
8330
 
 
8331
* New ``knitpack-experimental`` repository format. This is interoperable with
 
8332
  the ``dirstate-tags`` format but uses a smarter storage design that greatly
 
8333
  speeds up many operations, both local and remote. This new format can be
 
8334
  used as an option to the ``init``, ``init-repository`` and ``upgrade``
 
8335
  commands. (Robert Collins)
 
8336
 
 
8337
* For users of bzr-svn (and those testing the prototype subtree support) that
 
8338
  wish to try packs, a new ``knitpack-subtree-experimental`` format has also
 
8339
  been added. This is interoperable with the ``dirstate-subtrees`` format.
 
8340
  (Robert Collins)
 
8341
 
 
8342
* New ``reconfigure`` command. (Aaron Bentley)
 
8343
 
 
8344
* New ``revert --forget-merges`` command, which removes the record of a pending
 
8345
  merge without affecting the working tree contents.  (Martin Pool)
 
8346
 
 
8347
* New ``bzr_remote_path`` configuration variable allows finer control of
 
8348
  remote bzr locations than BZR_REMOTE_PATH environment variable.
 
8349
  (Aaron Bentley)
 
8350
 
 
8351
* New ``launchpad-login`` command to tell Bazaar your Launchpad
 
8352
  user ID.  This can then be used by other functions of the
 
8353
  Launchpad plugin. (James Henstridge)
 
8354
 
 
8355
Performance
 
8356
***********
 
8357
 
 
8358
* Commit in quiet mode is now slightly faster as the information to
 
8359
  output is no longer calculated. (Ian Clatworthy)
 
8360
 
 
8361
* Commit no longer checks for new text keys during insertion when the
 
8362
  revision id was deterministically unique. (Robert Collins)
 
8363
 
 
8364
* Committing a change which is not a merge and does not change the number of
 
8365
  files in the tree is faster by utilising the data about whether files are
 
8366
  changed to determine if the tree is unchanged rather than recalculating
 
8367
  it at the end of the commit process. (Robert Collins)
 
8368
 
 
8369
* Inventory serialisation no longer double-sha's the content.
 
8370
  (Robert Collins)
 
8371
 
 
8372
* Knit text reconstruction now avoids making copies of the lines list for
 
8373
  interim texts when building a single text. The new ``apply_delta`` method
 
8374
  on ``KnitContent`` aids this by allowing modification of the revision id
 
8375
  such objects represent. (Robert Collins)
 
8376
 
 
8377
* Pack indices are now partially parsed for specific key lookup using a
 
8378
  bisection approach. (Robert Collins)
 
8379
 
 
8380
* Partial commits are now approximately 40% faster by walking over the
 
8381
  unselected current tree more efficiently. (Robert Collins)
 
8382
 
 
8383
* XML inventory serialisation takes 20% less time while being stricter about
 
8384
  the contents. (Robert Collins)
 
8385
 
 
8386
* Graph ``heads()`` queries have been fixed to no longer access all history
 
8387
  unnecessarily. (Robert Collins)
 
8388
 
 
8389
Improvements
 
8390
************
 
8391
 
 
8392
* ``bzr+https://`` smart server across https now supported.
 
8393
  (John Ferlito, Martin Pool, #128456)
 
8394
 
 
8395
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
 
8396
  bazaar.conf and ``send`` will use mutt. (Keir Mierle)
 
8397
 
 
8398
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
 
8399
  changes from one revision. (Alexander Belchenko, #141368)
 
8400
 
 
8401
* Show encodings, locale and list of plugins in the traceback message.
 
8402
  (Martin Pool, #63894)
 
8403
 
 
8404
* Experimental directory formats can now be marked with
 
8405
  ``experimental = True`` during registration. (Ian Clatworthy)
 
8406
 
 
8407
Documentation
 
8408
*************
 
8409
 
 
8410
* New *Bazaar in Five Minutes* guide.  (Matthew Revell)
 
8411
 
 
8412
* The hooks reference documentation is now converted to html as expected.
 
8413
  (Ian Clatworthy)
 
8414
 
 
8415
Bug Fixes
 
8416
*********
 
8417
 
 
8418
* Connection error reporting for the smart server has been fixed to
 
8419
  display a user friendly message instead of a traceback.
 
8420
  (Ian Clatworthy, #115601)
 
8421
 
 
8422
* Make sure to use ``O_BINARY`` when opening files to check their
 
8423
  sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
 
8424
 
 
8425
* Fix a problem with Win32 handling of the executable bit.
 
8426
  (John Arbash Meinel, #149113)
 
8427
 
 
8428
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
 
8429
  no longer assume that means port 22.  This allows people using OpenSSH to
 
8430
  override the default port in their ``~/.ssh/config`` if they wish.  This
 
8431
  fixes a bug introduced in bzr 0.91.  (Andrew Bennetts, #146715)
 
8432
 
 
8433
* Commands reporting exceptions can now be profiled and still have their
 
8434
  data correctly dumped to a file. For example, a ``bzr commit`` with
 
8435
  no changes still reports the operation as pointless but doing so no
 
8436
  longer throws away the profiling data if this command is run with
 
8437
  ``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
 
8438
 
 
8439
* Fallback to ftp when paramiko is not installed and sftp can't be used for
 
8440
  ``tests/commands`` so that the test suite is still usable without
 
8441
  paramiko.
 
8442
  (Vincent Ladeuil, #59150)
 
8443
 
 
8444
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
 
8445
 
 
8446
* Fix long standing bug in partial commit when there are renames
 
8447
  left in tree. (Robert Collins, #140419)
 
8448
 
 
8449
* Fix selftest semi-random noise during http related tests.
 
8450
  (Vincent Ladeuil, #140614)
 
8451
 
 
8452
* Fix typo in ftp.py making the reconnection fail on temporary errors.
 
8453
  (Vincent Ladeuil, #154259)
 
8454
 
 
8455
* Fix failing test by comparing real paths to cover the case where the TMPDIR
 
8456
  contains a symbolic link.
 
8457
  (Vincent Ladeuil, #141382).
 
8458
 
 
8459
* Fix log against smart server branches that don't support tags.
 
8460
  (James Westby, #140615)
 
8461
 
 
8462
* Fix pycurl http implementation by defining error codes from
 
8463
  pycurl instead of relying on an old curl definition.
 
8464
  (Vincent Ladeuil, #147530)
 
8465
 
 
8466
* Fix 'unprintable error' message when displaying BzrCheckError and
 
8467
  some other exceptions on Python 2.5.
 
8468
  (Martin Pool, #144633)
 
8469
 
 
8470
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
 
8471
 
 
8472
* Handles default value for ListOption in cmd_commit.
 
8473
  (Vincent Ladeuil, #140432)
 
8474
 
 
8475
* HttpServer and FtpServer need to be closed properly or a listening socket
 
8476
  will remain opened.
 
8477
  (Vincent Ladeuil, #140055)
 
8478
 
 
8479
* Monitor the .bzr directory created in the top level test
 
8480
  directory to detect leaking tests.
 
8481
  (Vincent Ladeuil, #147986)
 
8482
 
 
8483
* The basename, not the full path, is now used when checking whether
 
8484
  the profiling dump file begins with ``callgrind.out`` or not. This
 
8485
  fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
 
8486
 
 
8487
* Trivial fix for invoking command ``reconfigure`` without arguments.
 
8488
  (Rob Weir, #141629)
 
8489
 
 
8490
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
 
8491
  new path causes bzr to be unable to access the file. (Robert Collins)
 
8492
 
 
8493
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
 
8494
  Merwe)
 
8495
 
 
8496
API Breaks
 
8497
**********
 
8498
 
 
8499
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
 
8500
  constructor, for enabling bisection searches. (Robert Collins)
 
8501
 
 
8502
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
 
8503
  tree be supplied to it, previously failing to do so would trigger a
 
8504
  deprecation warning. (Robert Collins)
 
8505
 
 
8506
* ``KnitVersionedFile.add*`` will no longer cache added records even when
 
8507
  enable_cache() has been called - the caching feature is now exclusively for
 
8508
  reading existing data. (Robert Collins)
 
8509
 
 
8510
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
 
8511
  appropriate.  (Martin Pool)
 
8512
 
 
8513
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
 
8514
  ``trace+`` transport instead. (Robert Collins)
 
8515
 
 
8516
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
 
8517
  deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
 
8518
  (Martin Pool)
 
8519
 
 
8520
* Removed previous deprecated ``basis_knit`` parameter to the
 
8521
  ``KnitVersionedFile`` constructor. (Robert Collins)
 
8522
 
 
8523
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
 
8524
  class that needs it.
 
8525
  (Martin Pool)
 
8526
 
 
8527
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
 
8528
  ``KnitRepository`` by parameters to the constructor. (Robert Collins)
 
8529
 
 
8530
* The ``VersionedFile`` interface now allows content checks to be bypassed
 
8531
  by supplying check_content=False.  This saves nearly 30% of the minimum
 
8532
  cost to store a version of a file. (Robert Collins)
 
8533
 
 
8534
* Tree's with bad state such as files with no length or sha will no longer
 
8535
  be silently accepted by the repository XML serialiser. To serialise
 
8536
  inventories without such data, pass working=True to write_inventory.
 
8537
  (Robert Collins)
 
8538
 
 
8539
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
 
8540
  ``VersionedFile.join`` will no longer accept different parents on either
 
8541
  side of a join - it will either ignore them, or error, depending on the
 
8542
  implementation. See notes when upgrading for more information.
 
8543
  (Robert Collins)
 
8544
 
 
8545
Internals
 
8546
*********
 
8547
 
 
8548
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
 
8549
  put by the method call, to allow avoiding stat-after-write or
 
8550
  housekeeping in callers. (Robert Collins)
 
8551
 
 
8552
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
 
8553
  mandatory attributes are present on serialisation and deserialisation.
 
8554
  This fixes some holes in API usage and allows better separation between
 
8555
  physical storage and object serialisation. (Robert Collins)
 
8556
 
 
8557
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
 
8558
  shorthand for deriving from BzrError and setting internal_error = True.
 
8559
  (Robert Collins)
 
8560
 
 
8561
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
 
8562
  moving the state of a parent tree to a new version via a delta rather than
 
8563
  a complete replacement tree. (Robert Collins)
 
8564
 
 
8565
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
 
8566
  duplication from user input, when a user mentions both a path and an item
 
8567
  contained within that path. (Robert Collins)
 
8568
 
 
8569
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
 
8570
  determining if a repository is write locked. (Robert Collins)
 
8571
 
 
8572
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
 
8573
  tuple containing the key information about a path for commit processing
 
8574
  to complete. (Robert Collins)
 
8575
 
 
8576
* New method on xml serialisers, write_inventory_to_lines, which matches the
 
8577
  API used by knits for adding content. (Robert Collins)
 
8578
 
 
8579
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
 
8580
  logic, currently only available for byte-based lookup
 
8581
  (``bisect_multi_bytes``). (Robert Collins)
 
8582
 
 
8583
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
 
8584
  and returns a gzipped version of the same. This is used to avoid a bunch
 
8585
  of api friction during adding of knit hunks. (Robert Collins)
 
8586
 
 
8587
* New parameter on ``bzrlib.transport.Transport.readv``
 
8588
  ``adjust_for_latency`` which changes readv from returning strictly the
 
8589
  requested data to inserted return larger ranges and in forward read order
 
8590
  to reduce the effect of network latency. (Robert Collins)
 
8591
 
 
8592
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
 
8593
  causes the parents of a selected id to be returned recursively, so all the
 
8594
  paths from the root down to each element of selected_file_ids are
 
8595
  returned. (Robert Collins)
 
8596
 
 
8597
* Knit joining has been enhanced to support plain to annotated conversion
 
8598
  and annotated to plain conversion. (Ian Clatworthy)
 
8599
 
 
8600
* The CommitBuilder method ``record_entry_contents`` now returns summary
 
8601
  information about the effect of the commit on the repository. This tuple
 
8602
  contains an inventory delta item if the entry changed from the basis, and a
 
8603
  boolean indicating whether a new file graph node was recorded.
 
8604
  (Robert Collins)
 
8605
 
 
8606
* The python path used in the Makefile can now be overridden.
 
8607
  (Andrew Bennetts, Ian Clatworthy)
 
8608
 
 
8609
Testing
 
8610
*******
 
8611
 
 
8612
* New transport implementation ``trace+`` which is useful for testing,
 
8613
  logging activity taken to its _activity attribute. (Robert Collins)
 
8614
 
 
8615
* When running bzr commands within the test suite, internal exceptions are
 
8616
  not caught and reported in the usual way, but rather allowed to propagate
 
8617
  up and be visible to the test suite.  A new API ``run_bzr_catch_user_errors``
 
8618
  makes this behavior available to other users.
 
8619
  (Martin Pool)
 
8620
 
 
8621
* New method ``TestCase.call_catch_warnings`` for testing methods that
 
8622
  raises a Python warning.  (Martin Pool)
 
8623
 
 
8624
 
 
8625
bzr 0.91
 
8626
########
 
8627
 
 
8628
:Released: 2007-09-26
 
8629
 
 
8630
Bug Fixes
 
8631
*********
 
8632
 
 
8633
* Print a warning instead of aborting the ``python setup.py install``
 
8634
  process if building of a C extension is not possible.
 
8635
  (Lukáš Lalinský, Alexander Belchenko)
 
8636
 
 
8637
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
8638
 
 
8639
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
 
8640
  an implicit port.  We were incorrectly raising PathNotChild due to
 
8641
  inconsistent treatment of the ''_port'' attribute on the Transport object.
 
8642
  (Andrew Bennetts, #133965)
 
8643
 
 
8644
* Make RemoteRepository.sprout cope gracefully with servers that don't
 
8645
  support the ``Repository.tarball`` request.
 
8646
  (Andrew Bennetts)
 
8647
 
 
8648
 
 
8649
bzr 0.91rc2
 
8650
###########
 
8651
 
 
8652
:Released: 2007-09-11
 
8653
 
 
8654
* Replaced incorrect tarball for previous release; a debug statement was left
 
8655
  in bzrlib/remote.py.
 
8656
 
 
8657
 
 
8658
bzr 0.91rc1
 
8659
###########
 
8660
 
 
8661
:Released: 2007-09-11
 
8662
 
 
8663
Changes
 
8664
*******
 
8665
 
 
8666
* The default branch and repository format has changed to
 
8667
  ``dirstate-tags``, so tag commands are active by default.
 
8668
  This format is compatible with Bazaar 0.15 and later.
 
8669
  This incidentally fixes bug #126141.
 
8670
  (Martin Pool)
 
8671
 
 
8672
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
 
8673
  must now appear after the command name. Scripts doing things like
 
8674
  ``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
 
8675
  (Ian Clatworthy)
 
8676
 
 
8677
Features
 
8678
********
 
8679
 
 
8680
* New option ``--author`` in ``bzr commit`` to specify the author of the
 
8681
  change, if it's different from the committer. ``bzr log`` and
 
8682
  ``bzr annotate`` display the author instead of the committer.
 
8683
  (Lukáš Lalinský)
 
8684
 
 
8685
* In addition to global options and command specific options, a set of
 
8686
  standard options are now supported. Standard options are legal for
 
8687
  all commands. The initial set of standard options are:
 
8688
 
 
8689
  * ``--help`` or ``-h`` - display help message
 
8690
  * ``--verbose`` or ``-v`` - display additional information
 
8691
  * ``--quiet``  or ``-q`` - only output warnings and errors.
 
8692
 
 
8693
  Unlike global options, standard options can be used in aliases and
 
8694
  may have command-specific help. (Ian Clatworthy)
 
8695
 
 
8696
* Verbosity level processing has now been unified. If ``--verbose``
 
8697
  or ``-v`` is specified on the command line multiple times, the
 
8698
  verbosity level is made positive the first time then increased.
 
8699
  If ``--quiet`` or ``-q`` is specified on the command line
 
8700
  multiple times, the verbosity level is made negative the first
 
8701
  time then decreased. To get the default verbosity level of zero,
 
8702
  either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
 
8703
  Note that most commands currently ignore the magnitude of the
 
8704
  verbosity level but do respect *quiet vs normal vs verbose* when
 
8705
  generating output. (Ian Clatworthy)
 
8706
 
 
8707
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
 
8708
  is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
 
8709
 
 
8710
* New ``Repository.stream_knit_data_for_revisions`` request added to the
 
8711
  network protocol for greatly reduced roundtrips when retrieving a set of
 
8712
  revisions. (Andrew Bennetts)
 
8713
 
 
8714
Bug Fixes
 
8715
*********
 
8716
 
 
8717
* ``bzr plugins`` now lists the version number for each plugin in square
 
8718
  brackets after the path. (Robert Collins, #125421)
 
8719
 
 
8720
* Pushing, pulling and branching branches with subtree references was not
 
8721
  copying the subtree weave, preventing the file graph from being accessed
 
8722
  and causing errors in commits in clones. (Robert Collins)
 
8723
 
 
8724
* Suppress warning "integer argument expected, got float" from Paramiko,
 
8725
  which sometimes caused false test failures.  (Martin Pool)
 
8726
 
 
8727
* Fix bug in bundle 4 that could cause attempts to write data to wrong
 
8728
  versionedfile.  (Aaron Bentley)
 
8729
 
 
8730
* Diffs generated using "diff -p" no longer break the patch parser.
 
8731
  (Aaron Bentley)
 
8732
 
 
8733
* get_transport treats an empty possible_transports list the same as a non-
 
8734
  empty one.  (Aaron Bentley)
 
8735
 
 
8736
* patch verification for merge directives is reactivated, and works with
 
8737
  CRLF and CR files.  (Aaron Bentley)
 
8738
 
 
8739
* Accept ..\ as a path in revision specifiers. This fixes for example
 
8740
  "-r branch:..\other-branch" on Windows.  (Lukáš Lalinský)
 
8741
 
 
8742
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
 
8743
  (Blake Winton, #129299)
 
8744
 
 
8745
* man page no longer lists hidden options (#131667, Aaron Bentley)
 
8746
 
 
8747
* ``uncommit --help`` now explains the -r option adequately.  (Daniel
 
8748
  Watkins, #106726)
 
8749
 
 
8750
* Error messages are now better formatted with parameters (such as
 
8751
  filenames) quoted when necessary. This avoids confusion when directory
 
8752
  names ending in a '.' at the end of messages were confused with a
 
8753
  full stop that may or not have been there. (Daniel Watkins, #129791)
 
8754
 
 
8755
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
 
8756
 
 
8757
* If a particular command is an alias, ``help`` will show the alias
 
8758
  instead of claiming there is no help for said alias. (Daniel Watkins,
 
8759
  #133548)
 
8760
 
 
8761
* TreeTransform-based operations, like pull, merge, revert, and branch,
 
8762
  now roll back if they encounter an error.  (Aaron Bentley, #67699)
 
8763
 
 
8764
* ``bzr commit`` now exits cleanly if a character unsupported by the
 
8765
  current encoding is used in the commit message.  (Daniel Watkins,
 
8766
  #116143)
 
8767
 
 
8768
* bzr send uses default values for ranges when only half of an elipsis
 
8769
  is specified ("-r..5" or "-r5..").  (#61685, Aaron Bentley)
 
8770
 
 
8771
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
 
8772
  binary is present.  (Martin Albisetti, #107155)
 
8773
 
 
8774
* ``bzr remove`` should remove clean subtrees.  Now it will remove (without
 
8775
  needing ``--force``) subtrees that contain no files with text changes or
 
8776
  modified files.  With ``--force`` it removes the subtree regardless of
 
8777
  text changes or unknown files. Directories with renames in or out (but
 
8778
  not changed otherwise) will now be removed without needing ``--force``.
 
8779
  Unknown ignored files will be deleted without needing ``--force``.
 
8780
  (Marius Kruger, #111665)
 
8781
 
 
8782
* When two plugins conflict, the source of both the losing and now the
 
8783
  winning definition is shown.  (Konstantin Mikhaylov, #5454)
 
8784
 
 
8785
* When committing to a branch, the location being committed to is
 
8786
  displayed.  (Daniel Watkins, #52479)
 
8787
 
 
8788
* ``bzr --version`` takes care about encoding of stdout, especially
 
8789
  when output is redirected. (Alexander Belchenko, #131100)
 
8790
 
 
8791
* Prompt for an ftp password if none is provided.
 
8792
  (Vincent Ladeuil, #137044)
 
8793
 
 
8794
* Reuse bound branch associated transport to avoid multiple
 
8795
  connections.
 
8796
  (Vincent Ladeuil, #128076, #131396)
 
8797
 
 
8798
* Overwrite conflicting tags by ``push`` and ``pull`` if the
 
8799
  ``--overwrite`` option is specified.  (Lukáš Lalinský, #93947)
 
8800
 
 
8801
* In checkouts, tags are copied into the master branch when created,
 
8802
  changed or deleted, and are copied into the checkout when it is
 
8803
  updated.  (Martin Pool, #93856, #93860)
 
8804
 
 
8805
* Print a warning instead of aborting the ``python setup.py install``
 
8806
  process if building of a C extension is not possible.
 
8807
  (Lukáš Lalinský, Alexander Belchenko)
 
8808
 
 
8809
Improvements
 
8810
************
 
8811
 
 
8812
* Add the option "--show-diff" to the commit command in order to display
 
8813
  the diff during the commit log creation. (Goffredo Baroncelli)
 
8814
 
 
8815
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
 
8816
  (Aaron Bentley)
 
8817
 
 
8818
* ``pull -v`` no longer includes deltas, making it much faster.
 
8819
  (Aaron Bentley)
 
8820
 
 
8821
* ``send`` now sends the directive as an attachment by default.
 
8822
  (Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
 
8823
 
 
8824
* Documentation updates (Martin Albisetti)
 
8825
 
 
8826
* Help on debug flags is now included in ``help global-options``.
 
8827
  (Daniel Watkins, #124853)
 
8828
 
 
8829
* Parameters passed on the command line are checked to ensure they are
 
8830
  supported by the encoding in use. (Daniel Watkins)
 
8831
 
 
8832
* The compression used within the bzr repository has changed from zlib
 
8833
  level 9 to the zlib default level. This improves commit performance with
 
8834
  only a small increase in space used (and in some cases a reduction in
 
8835
  space). (Robert Collins)
 
8836
 
 
8837
* Initial commit no longer SHAs files twice and now reuses the path
 
8838
  rather than looking it up again, making it faster.
 
8839
  (Ian Clatworthy)
 
8840
 
 
8841
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
 
8842
  changes in one revision.  (Lukáš Lalinský)
 
8843
 
 
8844
* If versioned files match a given ignore pattern, a warning is now
 
8845
  given. (Daniel Watkins, #48623)
 
8846
 
 
8847
* ``bzr status`` now has -S as a short name for --short and -V as a
 
8848
  short name for --versioned. These have been added to assist users
 
8849
  migrating from Subversion: ``bzr status -SV`` is now like
 
8850
  ``svn status -q``.  (Daniel Watkins, #115990)
 
8851
 
 
8852
* Added C implementation of  ``PatienceSequenceMatcher``, which is about
 
8853
  10x faster than the Python version. This speeds up commands that
 
8854
  need file diffing, such as ``bzr commit`` or ``bzr diff``.
 
8855
  (Lukáš Lalinský)
 
8856
 
 
8857
* HACKING has been extended with a large section on core developer tasks.
 
8858
  (Ian Clatworthy)
 
8859
 
 
8860
* Add ``branches`` and ``standalone-trees`` as online help topics and
 
8861
  include them as Concepts within the User Reference.
 
8862
  (Paul Moore, Ian Clatworthy)
 
8863
 
 
8864
* ``check`` can detect versionedfile parent references that are
 
8865
  inconsistent with revision and inventory info, and ``reconcile`` can fix
 
8866
  them.  These faulty references were generated by 0.8-era releases,
 
8867
  so repositories which were manipulated by old bzrs should be
 
8868
  checked, and possibly reconciled ASAP.  (Aaron Bentley, Andrew Bennetts)
 
8869
 
 
8870
API Breaks
 
8871
**********
 
8872
 
 
8873
* ``Branch.append_revision`` is removed altogether; please use
 
8874
  ``Branch.set_last_revision_info`` instead.  (Martin Pool)
 
8875
 
 
8876
* CommitBuilder now advertises itself as requiring the root entry to be
 
8877
  supplied. This only affects foreign repository implementations which reuse
 
8878
  CommitBuilder directly and have changed record_entry_contents to require
 
8879
  that the root not be supplied. This should be precisely zero plugins
 
8880
  affected. (Robert Collins)
 
8881
 
 
8882
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
 
8883
  its return value to include the sha1 and length of the inserted text. This
 
8884
  allows the avoidance of double-sha1 calculations during commit.
 
8885
  (Robert Collins)
 
8886
 
 
8887
* ``Transport.should_cache`` has been removed.  It was not called in the
 
8888
  previous release.  (Martin Pool)
 
8889
 
 
8890
Testing
 
8891
*******
 
8892
 
 
8893
* Tests may now raise TestNotApplicable to indicate they shouldn't be
 
8894
  run in a particular scenario.  (Martin Pool)
 
8895
 
 
8896
* New function multiply_tests_from_modules to give a simpler interface
 
8897
  to test parameterization.  (Martin Pool, Robert Collins)
 
8898
 
 
8899
* ``Transport.should_cache`` has been removed.  It was not called in the
 
8900
  previous release.  (Martin Pool)
 
8901
 
 
8902
* NULL_REVISION is returned to indicate the null revision, not None.
 
8903
  (Aaron Bentley)
 
8904
 
 
8905
* Use UTF-8 encoded StringIO for log tests to avoid failures on
 
8906
  non-ASCII committer names.  (Lukáš Lalinský)
 
8907
 
 
8908
Internals
 
8909
*********
 
8910
 
 
8911
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
 
8912
  ``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
 
8913
  useful functionality for determining the path of a plugin, its tests, and
 
8914
  its version information. (Robert Collins)
 
8915
 
 
8916
* Add the option user_encoding to the function 'show_diff_trees()'
 
8917
  in order to move the user encoding at the UI level. (Goffredo Baroncelli)
 
8918
 
 
8919
* Add the function make_commit_message_template_encoded() and the function
 
8920
  edit_commit_message_encoded() which handle encoded strings.
 
8921
  This is done in order to mix the commit messages (which is a unicode
 
8922
  string), and the diff which is a raw string. (Goffredo Baroncelli)
 
8923
 
 
8924
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
 
8925
  overhead on non-weave repositories which don't require all parents to be
 
8926
  present. (Robert Collins)
 
8927
 
 
8928
* Deprecated method ``find_previous_heads`` on
 
8929
  ``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
 
8930
  of ``parent_candidates`` and a separate heads check via the repository
 
8931
  API. (Robert Collins)
 
8932
 
 
8933
* New trace function ``mutter_callsite`` will print out a subset of the
 
8934
  stack to the log, which can be useful for gathering debug details.
 
8935
  (Robert Collins)
 
8936
 
 
8937
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
 
8938
  added via a public attribute records_written. (Robert Collins)
 
8939
 
 
8940
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
 
8941
  This provides a hint to users of transports as to the reasonable
 
8942
  minimum data to read. In principle this can take latency and
 
8943
  bandwidth into account on a per-connection basis, but for now it
 
8944
  just has hard coded values based on the url. (e.g. http:// has a large
 
8945
  page size, file:// has a small one.) (Robert Collins)
 
8946
 
 
8947
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
 
8948
  incremental addition of data to a file without requiring that all the
 
8949
  data be buffered in memory. (Robert Collins)
 
8950
 
 
8951
* New methods on ``bzrlib.knit.KnitVersionedFile``:
 
8952
  ``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
 
8953
  ``get_format_signature()``.  These provide some infrastructure for
 
8954
  efficiently streaming the knit data for a set of versions over the smart
 
8955
  protocol.
 
8956
 
 
8957
* Knits with no annotation cache still produce correct annotations.
 
8958
  (Aaron Bentley)
 
8959
 
 
8960
* Three new methods have been added to ``bzrlib.trace``:
 
8961
  ``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
 
8962
  ``set_verbosity_level`` expects a numeric value: negative for quiet,
 
8963
  zero for normal, positive for verbose. The size of the number can be
 
8964
  used to determine just how quiet or verbose the application should be.
 
8965
  The existing ``be_quiet`` and ``is_quiet`` routines have been
 
8966
  integrated into this new scheme. (Ian Clatworthy)
 
8967
 
 
8968
* Options can now be delcared with a ``custom_callback`` parameter. If
 
8969
  set, this routine is called after the option is processed. This feature
 
8970
  is now used by the standard options ``verbose`` and ``quiet`` so that
 
8971
  setting one implicitly resets the other. (Ian Clatworthy)
 
8972
 
 
8973
* Rather than declaring a new option from scratch in order to provide
 
8974
  custom help, a centrally registered option can be decorated using the
 
8975
  new ``bzrlib.Option.custom_help`` routine. In particular, this routine
 
8976
  is useful when declaring better help for the ``verbose`` and ``quiet``
 
8977
  standard options as the base definition of these is now more complex
 
8978
  than before thanks to their use of a custom callback. (Ian Clatworthy)
 
8979
 
 
8980
* Tree._iter_changes(specific_file=[]) now iterates through no files,
 
8981
  instead of iterating through all files.  None is used to iterate through
 
8982
  all files.  (Aaron Bentley)
 
8983
 
 
8984
* WorkingTree.revert() now accepts None to revert all files.  The use of
 
8985
  [] to revert all files is deprecated.  (Aaron Bentley)
 
8986
 
 
8987
 
 
8988
bzr 0.90
 
8989
########
 
8990
 
 
8991
:Released: 2007-08-28
 
8992
 
 
8993
Improvements
 
8994
************
 
8995
 
 
8996
* Documentation is now organized into multiple directories with a level
 
8997
  added for different languages or locales. Added the Mini Tutorial
 
8998
  and Quick Start Summary (en) documents from the Wiki, improving the
 
8999
  content and readability of the former. Formatted NEWS as Release Notes
 
9000
  complete with a Table of Conents, one heading per release. Moved the
 
9001
  Developer Guide into the main document catalog and provided a link
 
9002
  from the developer document catalog back to the main one.
 
9003
  (Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
 
9004
 
 
9005
 
 
9006
API Changes
 
9007
***********
 
9008
 
 
9009
* The static convenience method ``BzrDir.create_repository``
 
9010
  is deprecated.  Callers should instead create a ``BzrDir`` instance
 
9011
  and call ``create_repository`` on that.  (Martin Pool)
 
9012
 
 
9013
 
 
9014
bzr 0.90rc1
 
9015
###########
 
9016
 
 
9017
:Released: 2007-08-14
 
9018
 
 
9019
Bugfixes
 
9020
********
 
9021
 
 
9022
* ``bzr init`` should connect to the remote location one time only.  We
 
9023
  have been connecting several times because we forget to pass around the
 
9024
  Transport object. This modifies ``BzrDir.create_branch_convenience``,
 
9025
  so that we can give it the Transport we already have.
 
9026
  (John Arbash Meinel, Vincent Ladeuil, #111702)
 
9027
 
 
9028
* Get rid of sftp connection cache (get rid of the FTP one too).
 
9029
  (Vincent Ladeuil, #43731)
 
9030
 
 
9031
* bzr branch {local|remote} remote don't try to create a working tree
 
9032
  anymore.
 
9033
  (Vincent Ladeuil, #112173)
 
9034
 
 
9035
* All identified multiple connections for a single bzr command have been
 
9036
  fixed. See bzrlib/tests/commands directory.
 
9037
  (Vincent Ladeuil)
 
9038
 
 
9039
* ``bzr rm`` now does not insist on ``--force`` to delete files that
 
9040
  have been renamed but not otherwise modified.  (Marius Kruger,
 
9041
  #111664)
 
9042
 
 
9043
* ``bzr selftest --bench`` no longer emits deprecation warnings
 
9044
  (Lukáš Lalinský)
 
9045
 
 
9046
* ``bzr status`` now honours FILE parameters for conflict lists
 
9047
  (Aaron Bentley, #127606)
 
9048
 
 
9049
* ``bzr checkout`` now honours -r when reconstituting a working tree.
 
9050
  It also honours -r 0.  (Aaron Bentley, #127708)
 
9051
 
 
9052
* ``bzr add *`` no more fails on Windows if working tree contains
 
9053
  non-ascii file names. (Kuno Meyer, #127361)
 
9054
 
 
9055
* allow ``easy_install bzr`` runs without fatal errors.
 
9056
  (Alexander Belchenko, #125521)
 
9057
 
 
9058
* Graph._filter_candidate_lca does not raise KeyError if a candidate
 
9059
  is eliminated just before it would normally be examined.  (Aaron Bentley)
 
9060
 
 
9061
* SMTP connection failures produce a nice message, not a traceback.
 
9062
  (Aaron Bentley)
 
9063
 
 
9064
Improvements
 
9065
************
 
9066
 
 
9067
* Don't show "dots" progress indicators when run non-interactively, such
 
9068
  as from cron.  (Martin Pool)
 
9069
 
 
9070
* ``info`` now formats locations more nicely and lists "submit" and
 
9071
  "public" branches (Aaron Bentley)
 
9072
 
 
9073
* New ``pack`` command that will trigger database compression within
 
9074
  the repository (Robert Collins)
 
9075
 
 
9076
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
 
9077
  version is approximately 2-3x faster at parsing a ``.kndx`` file.
 
9078
  Which yields a measurable improvement for commands which have to
 
9079
  read from the repository, such as a 1s => 0.75s improvement in
 
9080
  ``bzr diff`` when there are changes to be shown.  (John Arbash Meinel)
 
9081
 
 
9082
* Merge is now faster.  Depending on the scenario, it can be more than 2x
 
9083
  faster. (Aaron Bentley)
 
9084
 
 
9085
* Give a clearer warning, and allow ``python setup.py install`` to
 
9086
  succeed even if pyrex is not available.
 
9087
  (John Arbash Meinel)
 
9088
 
 
9089
* ``DirState._read_dirblocks`` now has an optional Pyrex
 
9090
  implementation. This improves the speed of any command that has to
 
9091
  read the entire DirState. (``diff``, ``status``, etc, improve by
 
9092
  about 10%).
 
9093
  ``bisect_dirblocks`` has also been improved, which helps all
 
9094
  ``_get_entry`` type calls (whenever we are searching for a
 
9095
  particular entry in the in-memory DirState).
 
9096
  (John Arbash Meinel)
 
9097
 
 
9098
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
 
9099
  branch revision history for ui display unless -v is supplied.
 
9100
  (Robert Collins)
 
9101
 
 
9102
* ``bzr log -rA..B`` output shifted to the left margin if the log only
 
9103
  contains merge revisions. (Kent Gibson)
 
9104
 
 
9105
* The ``plugins`` command is now public with improved help.
 
9106
  (Ian Clatworthy)
 
9107
 
 
9108
* New bundle and merge directive formats are faster to generate, and
 
9109
 
 
9110
* Annotate merge now works when there are local changes. (Aaron Bentley)
 
9111
 
 
9112
* Commit now only shows the progress in terms of directories instead of
 
9113
  entries. (Ian Clatworthy)
 
9114
 
 
9115
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
 
9116
  times. This makes ``get_revision_graph`` 2x faster. (John Arbash
 
9117
  Meinel)
 
9118
 
 
9119
* Fix ``VersionedFile.get_graph()`` to avoid using
 
9120
  ``set.difference_update(other)``, which has bad scaling when
 
9121
  ``other`` is large. This improves ``VF.get_graph([version_id])`` for
 
9122
  a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
 
9123
 
 
9124
* The ``--lsprof-file`` option now generates output for KCacheGrind if
 
9125
  the file starts with ``callgrind.out``. This matches the default file
 
9126
  filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
 
9127
 
 
9128
* Fix ``bzr update`` to avoid an unnecessary
 
9129
  ``branch.get_master_branch`` call, which avoids 1 extra connection
 
9130
  to the remote server. (Partial fix for #128076, John Arbash Meinel)
 
9131
 
 
9132
* Log errors from the smart server in the trace file, to make debugging
 
9133
  test failures (and live failures!) easier.  (Andrew Bennetts)
 
9134
 
 
9135
* The HTML version of the man page has been superceded by a more
 
9136
  comprehensive manual called the Bazaar User Reference. This manual
 
9137
  is completed generated from the online help topics. As part of this
 
9138
  change, limited reStructuredText is now explicitly supported in help
 
9139
  topics and command help with 'unnatural' markup being removed prior
 
9140
  to display by the online help or inclusion in the man page.
 
9141
  (Ian Clatworthy)
 
9142
 
 
9143
* HTML documentation now use files extension ``*.html``
 
9144
  (Alexander Belchenko)
 
9145
 
 
9146
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
 
9147
  so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
 
9148
 
 
9149
* ``bzr selftest --strict`` fails if there are any missing features or
 
9150
  expected test failures. (Daniel Watkins, #111914)
 
9151
 
 
9152
* Link to registration survey added to README. (Ian Clatworthy)
 
9153
 
 
9154
* Windows standalone installer show link to registration survey
 
9155
  when installation finished. (Alexander Belchenko)
 
9156
 
 
9157
Library API Breaks
 
9158
******************
 
9159
 
 
9160
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
 
9161
  Options are now required to provide a help string and it must
 
9162
  comply with the style guide by being one or more sentences with an
 
9163
  initial capital and final period. (Martin Pool)
 
9164
 
 
9165
* KnitIndex.get_parents now returns tuples. (Robert Collins)
 
9166
 
 
9167
* Ancient unused ``Repository.text_store`` attribute has been removed.
 
9168
  (Robert Collins)
 
9169
 
 
9170
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
 
9171
  rather than just bytestrings, making it easier to represent multiple
 
9172
  element names. As this interface was not used by any internal facilities
 
9173
  since it was introduced in 0.18 no API compatibility is being preserved.
 
9174
  The serialised form of these packs is identical with 0.18 when a single
 
9175
  element tuple is in use. (Robert Collins)
 
9176
 
 
9177
Internals
 
9178
*********
 
9179
 
 
9180
* merge now uses ``iter_changes`` to calculate changes, which makes room for
 
9181
  future performance increases.  It is also more consistent with other
 
9182
  operations that perform comparisons, and reduces reliance on
 
9183
  Tree.inventory.  (Aaron Bentley)
 
9184
 
 
9185
* Refactoring of transport classes connected to a remote server.
 
9186
  ConnectedTransport is a new class that serves as a basis for all
 
9187
  transports needing to connect to a remote server.  transport.split_url
 
9188
  have been deprecated, use the static method on the object instead. URL
 
9189
  tests have been refactored too.
 
9190
  (Vincent Ladeuil)
 
9191
 
 
9192
* Better connection sharing for ConnectedTransport objects.
 
9193
  transport.get_transport() now accepts a 'possible_transports' parameter.
 
9194
  If a newly requested transport can share a connection with one of the
 
9195
  list, it will.
 
9196
  (Vincent Ladeuil)
 
9197
 
 
9198
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
 
9199
  the null revision, and consider using ``None`` for this purpose
 
9200
  deprecated.  (Aaron Bentley)
 
9201
 
 
9202
* New ``index`` module with abstract index functionality. This will be
 
9203
  used during the planned changes in the repository layer. Currently the
 
9204
  index layer provides a graph aware immutable index, a builder for the
 
9205
  same index type to allow creating them, and finally a composer for
 
9206
  such indices to allow the use of many indices in a single query. The
 
9207
  index performance is not optimised, however the API is stable to allow
 
9208
  development on top of the index. (Robert Collins)
 
9209
 
 
9210
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
 
9211
  their directory sections. This is equivalent to comparing
 
9212
  ``path.split('/')``, only without having to split the paths.
 
9213
  This has a Pyrex implementation available.
 
9214
  (John Arbash Meinel)
 
9215
 
 
9216
* New transport decorator 'unlistable+' which disables the list_dir
 
9217
  functionality for testing.
 
9218
 
 
9219
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
 
9220
 
 
9221
* RevisionTree.get_weave is now deprecated.  Tree.plan_merge is now used
 
9222
  for performing annotate-merge.  (Aaron Bentley)
 
9223
 
 
9224
* New EmailMessage class to create email messages. (Adeodato Simó)
 
9225
 
 
9226
* Unused functions on the private interface KnitIndex have been removed.
 
9227
  (Robert Collins)
 
9228
 
 
9229
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
 
9230
  of a ``index.GraphIndex``. (Robert Collins)
 
9231
 
 
9232
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
 
9233
  the parents of many knit nodes at once, reducing round trips to the
 
9234
  underlying index. (Robert Collins)
 
9235
 
 
9236
* Graph now has an is_ancestor method, various bits use it.
 
9237
  (Aaron Bentley)
 
9238
 
 
9239
* The ``-Dhpss`` flag now includes timing information. As well as
 
9240
  logging when a new connection is opened. (John Arbash Meinel)
 
9241
 
 
9242
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
 
9243
  callers when inserting data, allowing generation of readv style access
 
9244
  during pack creation, without needing a separate pass across the output
 
9245
  pack to gather such details. (Robert Collins)
 
9246
 
 
9247
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
 
9248
  files that are stored on a transport. (Robert Collins)
 
9249
 
 
9250
* New ``Repository.has_same_location`` method that reports if two
 
9251
  repository objects refer to the same repository (although with some risk
 
9252
  of false negatives).  (Andrew Bennetts)
 
9253
 
 
9254
* InterTree.compare now passes require_versioned on correctly.
 
9255
  (Marius Kruger)
 
9256
 
 
9257
* New methods on Repository - ``start_write_group``,
 
9258
  ``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
 
9259
  which provide a clean hook point for transactional Repositories - ones
 
9260
  where all the data for a fetch or commit needs to be made atomically
 
9261
  available in one step. This allows the write lock to remain while making
 
9262
  a series of data insertions.  (e.g. data conversion). (Robert Collins)
 
9263
 
 
9264
* In ``bzrlib.knit`` the internal interface has been altered to use
 
9265
  3-tuples (index, pos, length) rather than two-tuples (pos, length) to
 
9266
  describe where data in a knit is, allowing knits to be split into
 
9267
  many files. (Robert Collins)
 
9268
 
 
9269
* ``bzrlib.knit._KnitData`` split into cache management and physical access
 
9270
  with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
 
9271
  The former provides access into a .pack file, and the latter provides the
 
9272
  current production repository form of .knit files. (Robert Collins)
 
9273
 
 
9274
Testing
 
9275
*******
 
9276
 
 
9277
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
 
9278
  ``--keep-output`` options, which are obsolete now that tests
 
9279
  are done within directories in $TMPDIR.  (Martin Pool)
 
9280
 
 
9281
* The SSH_AUTH_SOCK environment variable is now reset to avoid
 
9282
  interaction with any running ssh agents.  (Jelmer Vernooij, #125955)
 
9283
 
 
9284
* run_bzr_subprocess handles parameters the same way as run_bzr:
 
9285
  either a string or a list of strings should be passed as the first
 
9286
  parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
 
9287
 
 
9288
 
 
9289
bzr 0.18
 
9290
########
 
9291
 
 
9292
:Released:  2007-07-17
 
9293
 
 
9294
Bugfixes
 
9295
********
 
9296
 
 
9297
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
 
9298
 
 
9299
 
 
9300
bzr 0.18rc1
 
9301
###########
 
9302
 
 
9303
:Released:  2007-07-10
 
9304
 
 
9305
Bugfixes
 
9306
********
 
9307
 
 
9308
* Do not suppress pipe errors, etc. in non-display commands
 
9309
  (Alexander Belchenko, #87178)
 
9310
 
 
9311
* Display a useful error message when the user requests to annotate
 
9312
  a file that is not present in the specified revision.
 
9313
  (James Westby, #122656)
 
9314
 
 
9315
* Commands that use status flags now have a reference to 'help
 
9316
  status-flags'.  (Daniel Watkins, #113436)
 
9317
 
 
9318
* Work around python-2.4.1 inhability to correctly parse the
 
9319
  authentication header.
 
9320
  (Vincent Ladeuil, #121889)
 
9321
 
 
9322
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
 
9323
 
 
9324
* Fix tempfile permissions error in smart server tar bundling under
 
9325
  Windows. (Martin _, #119330)
 
9326
 
 
9327
* Fix detection of directory entries in the inventory. (James Westby)
 
9328
 
 
9329
* Fix handling of http code 400: Bad Request When issuing too many ranges.
 
9330
  (Vincent Ladeuil, #115209)
 
9331
 
 
9332
* Issue a CONNECT request when connecting to an https server
 
9333
  via a proxy to enable SSL tunneling.
 
9334
  (Vincent Ladeuil, #120678)
 
9335
 
 
9336
* Fix ``bzr log -r`` to support selecting merge revisions, both
 
9337
  individually and as part of revision ranges.
 
9338
  (Kent Gibson, #4663)
 
9339
 
 
9340
* Don't leave cruft behind when failing to acquire a lockdir.
 
9341
  (Martin Pool, #109169)
 
9342
 
 
9343
* Don't use the '-f' strace option during tests.
 
9344
  (Vincent Ladeuil, #102019).
 
9345
 
 
9346
* Warn when setting ``push_location`` to a value that will be masked by
 
9347
  locations.conf.  (Aaron Bentley, #122286)
 
9348
 
 
9349
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
9350
 
 
9351
*  Make annotate behave in a non-ASCII world (Adeodato Simó).
 
9352
 
 
9353
Improvements
 
9354
************
 
9355
 
 
9356
* The --lsprof-file option now dumps a text rendering of the profiling
 
9357
  information if the filename ends in ".txt". It will also convert the
 
9358
  profiling information to a format suitable for KCacheGrind if the
 
9359
  output filename ends in ".callgrind". Fixes to the lsprofcalltree
 
9360
  conversion process by Jean Paul Calderone and Itamar were also merged.
 
9361
  See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
 
9362
 
 
9363
* ``info`` now defaults to non-verbose mode, displaying only paths and
 
9364
  abbreviated format info.  ``info -v`` displays all the information
 
9365
  formerly displayed by ``info``.  (Aaron Bentley, Adeodato Simó)
 
9366
 
 
9367
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
 
9368
  (Elliot Murphy)
 
9369
 
 
9370
* The internal ``weave-list`` command has become ``versionedfile-list``,
 
9371
  and now lists knits as well as weaves.  (Aaron Bentley)
 
9372
 
 
9373
* Automatic merge base selection uses a faster algorithm that chooses
 
9374
  better bases in criss-cross merge situations (Aaron Bentley)
 
9375
 
 
9376
* Progress reporting in ``commit`` has been improved. The various logical
 
9377
  stages are now reported on as follows, namely:
 
9378
 
 
9379
  * Collecting changes [Entry x/y] - Stage n/m
 
9380
  * Saving data locally - Stage n/m
 
9381
  * Uploading data to master branch - Stage n/m
 
9382
  * Updating the working tree - Stage n/m
 
9383
  * Running post commit hooks - Stage n/m
 
9384
 
 
9385
  If there is no master branch, the 3rd stage is omitted and the total
 
9386
  number of stages is adjusted accordingly.
 
9387
 
 
9388
  Each hook that is run after commit is listed with a name (as hooks
 
9389
  can be slow it is useful feedback).
 
9390
  (Ian Clatworthy, Robert Collins)
 
9391
 
 
9392
* Various operations that are now faster due to avoiding unnecessary
 
9393
  topological sorts. (Aaron Bentley)
 
9394
 
 
9395
* Make merge directives robust against broken bundles. (Aaron Bentley)
 
9396
 
 
9397
* The lsprof filename note is emitted via trace.note(), not standard
 
9398
  output.  (Aaron Bentley)
 
9399
 
 
9400
* ``bzrlib`` now exports explicit API compatibility information to assist
 
9401
  library users and plugins. See the ``bzrlib.api`` module for details.
 
9402
  (Robert Collins)
 
9403
 
 
9404
* Remove unnecessary lock probes when acquiring a lockdir.
 
9405
  (Martin Pool)
 
9406
 
 
9407
* ``bzr --version`` now shows the location of the bzr log file, which
 
9408
  is especially useful on Windows.  (Martin Pool)
 
9409
 
 
9410
* -D now supports hooks to get debug tracing of hooks (though its currently
 
9411
  minimal in nature). (Robert Collins)
 
9412
 
 
9413
* Long log format reports deltas on merge revisions.
 
9414
  (John Arbash Meinel, Kent Gibson)
 
9415
 
 
9416
* Make initial push over ftp more resilient. (John Arbash Meinel)
 
9417
 
 
9418
* Print a summary of changes for update just like pull does.
 
9419
  (Daniel Watkins, #113990)
 
9420
 
 
9421
* Add a -Dhpss option to trace smart protocol requests and responses.
 
9422
  (Andrew Bennetts)
 
9423
 
 
9424
Library API Breaks
 
9425
******************
 
9426
 
 
9427
* Testing cleanups -
 
9428
  ``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
 
9429
  to ``bzrlib.tests.repository_implementations``;
 
9430
  ``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
 
9431
  to ``bzrlib.tests.interrepository_implementations``;
 
9432
  ``bzrlib.transport.TransportTestProviderAdapter`` has moved to
 
9433
  ``bzrlib.tests.test_transport_implementations``.
 
9434
  ``bzrlib.branch.BranchTestProviderAdapter`` has moved to
 
9435
  ``bzrlib.tests.branch_implementations``.
 
9436
  ``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
 
9437
  ``bzrlib.tests.bzrdir_implementations``.
 
9438
  ``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
 
9439
  to ``bzrlib.tests.interversionedfile_implementations``.
 
9440
  ``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
 
9441
  ``bzrlib.tests.revisionstore_implementations``.
 
9442
  ``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
 
9443
  ``bzrlib.tests.workingtree_implementations``.
 
9444
  These changes are an API break in the testing infrastructure only.
 
9445
  (Robert Collins)
 
9446
 
 
9447
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
 
9448
 
 
9449
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
 
9450
  win32. Callers of the function should do this and use the new
 
9451
  ``MutableTree.smart_add`` method instead. (Robert Collins)
 
9452
 
 
9453
* ``bzrlib.add.glob_expand_for_win32`` is now
 
9454
  ``bzrlib.win32utils.glob_expand``.  (Robert Collins)
 
9455
 
 
9456
* ``bzrlib.add.FastPath`` is now private and moved to
 
9457
  ``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
 
9458
 
 
9459
* ``LockDir.wait`` removed.  (Martin Pool)
 
9460
 
 
9461
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
 
9462
  ``server_stopped`` hooks. The first parameter is now an iterable of
 
9463
  backing URLs rather than a single URL. This is to reflect that many
 
9464
  URLs may map to the external URL of the server. E.g. the server interally
 
9465
  may have a chrooted URL but also the local file:// URL will be at the
 
9466
  same location. (Robert Collins)
 
9467
 
 
9468
Internals
 
9469
*********
 
9470
 
 
9471
* New SMTPConnection class to unify email handling.  (Adeodato Simó)
 
9472
 
 
9473
* Fix documentation of BzrError. (Adeodato Simó)
 
9474
 
 
9475
* Make BzrBadParameter an internal error. (Adeodato Simó)
 
9476
 
 
9477
* Remove use of 'assert False' to raise an exception unconditionally.
 
9478
  (Martin Pool)
 
9479
 
 
9480
* Give a cleaner error when failing to decode knit index entry.
 
9481
  (Martin Pool)
 
9482
 
 
9483
* TreeConfig would mistakenly search the top level when asked for options
 
9484
  from a section. It now respects the section argument and only
 
9485
  searches the specified section. (James Westby)
 
9486
 
 
9487
* Improve ``make api-docs`` output. (John Arbash Meinel)
 
9488
 
 
9489
* Use os.lstat rather than os.stat for osutils.make_readonly and
 
9490
  osutils.make_writeable. This makes the difftools plugin more
 
9491
  robust when dangling symlinks are found. (Elliot Murphy)
 
9492
 
 
9493
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
 
9494
  lockdirs are taken or released.  (Martin Pool)
 
9495
 
 
9496
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
 
9497
  allows a nicer UI when hooks are running as the current hook can
 
9498
  be displayed. (Robert Collins)
 
9499
 
 
9500
* ``Transport.get`` has had its interface made more clear for ease of use.
 
9501
  Retrieval of a directory must now fail with either 'PathError' at open
 
9502
  time, or raise 'ReadError' on a read. (Robert Collins)
 
9503
 
 
9504
* New method ``_maybe_expand_globs`` on the ``Command`` class for
 
9505
  dealing with unexpanded glob lists - e.g. on the win32 platform. This
 
9506
  was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
 
9507
 
 
9508
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
 
9509
  deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
 
9510
  Martin Pool)
 
9511
 
 
9512
* New method ``external_url`` on Transport for obtaining the url to
 
9513
  hand to external processes. (Robert Collins)
 
9514
 
 
9515
* Teach windows installers to build pyrex/C extensions.
 
9516
  (Alexander Belchenko)
 
9517
 
 
9518
Testing
 
9519
*******
 
9520
 
 
9521
* Removed the ``--keep-output`` option from selftest and clean up test
 
9522
  directories as they're used.  This reduces the IO load from
 
9523
  running the test suite and cuts the time by about half.
 
9524
  (Andrew Bennetts, Martin Pool)
 
9525
 
 
9526
* Add scenarios as a public attribute on the TestAdapter classes to allow
 
9527
  modification of the generated scenarios before adaption and easier
 
9528
  testing. (Robert Collins)
 
9529
 
 
9530
* New testing support class ``TestScenarioApplier`` which multiplies
 
9531
  out a single teste by a list of supplied scenarios. (RobertCollins)
 
9532
 
 
9533
* Setting ``repository_to_test_repository`` on a repository_implementations
 
9534
  test will cause it to be called during repository creation, allowing the
 
9535
  testing of repository classes which are not based around the Format
 
9536
  concept. For example a repository adapter can be tested in this manner,
 
9537
  by altering the repository scenarios to include a scenario that sets this
 
9538
  attribute during the test parameterisation in
 
9539
  ``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
 
9540
 
 
9541
* Clean up many of the APIs for blackbox testing of Bazaar.  The standard
 
9542
  interface is now self.run_bzr.  The command to run can be passed as
 
9543
  either a list of parameters, a string containing the command line, or
 
9544
  (deprecated) varargs parameters.  (Martin Pool)
 
9545
 
 
9546
* The base TestCase now isolates tests from -D parameters by clearing
 
9547
  ``debug.debug_flags`` and restores it afterwards. (Robert Collins)
 
9548
 
 
9549
* Add a relpath parameter to get_transport methods in test framework to
 
9550
  avoid useless cloning.
 
9551
  (Vincent Ladeuil, #110448)
 
9552
 
 
9553
 
 
9554
bzr 0.17
 
9555
########
 
9556
 
 
9557
:Released:  2007-06-18
 
9558
 
 
9559
Bugfixes
 
9560
********
 
9561
 
 
9562
* Fix crash of commit due to wrong lookup of filesystem encoding.
 
9563
  (Colin Watson, #120647)
 
9564
 
 
9565
* Revert logging just to stderr in commit as broke unicode filenames.
 
9566
  (Aaron Bentley, Ian Clatworthy, #120930)
 
9567
 
 
9568
 
 
9569
bzr 0.17rc1
 
9570
###########
 
9571
 
 
9572
:Released:  2007-06-12
 
9573
 
 
9574
Notes When Upgrading
 
9575
********************
 
9576
 
 
9577
* The kind() and is_executable() APIs on the WorkingTree interface no
 
9578
  longer implicitly (read) locks and unlocks the tree. This *might*
 
9579
  impact some plug-ins and tools using this part of the API. If you find
 
9580
  an issue that may be caused by this change, please let us know,
 
9581
  particularly the plug-in/tool maintainer. If encountered, the API
 
9582
  fix is to surround kind() and is_executable() calls with lock_read()
 
9583
  and unlock() like so::
 
9584
 
 
9585
    work_tree.lock_read()
 
9586
    try:
 
9587
        kind = work_tree.kind(...)
 
9588
    finally:
 
9589
        work_tree.unlock()
 
9590
 
 
9591
Internals
 
9592
*********
 
9593
* Rework of LogFormatter API to provide beginning/end of log hooks and to
 
9594
  encapsulate the details of the revision to be logged in a LogRevision
 
9595
  object.
 
9596
  In long log formats, merge revision ids are only shown when --show-ids
 
9597
  is specified, and are labelled "revision-id:", as per mainline
 
9598
  revisions, instead of "merged:". (Kent Gibson)
 
9599
 
 
9600
* New ``BranchBuilder`` API which allows the construction of particular
 
9601
  histories quickly. Useful for testing and potentially other applications
 
9602
  too. (Robert Collins)
 
9603
 
 
9604
Improvements
 
9605
************
 
9606
 
 
9607
* There are two new help topics, working-trees and repositories that
 
9608
  attempt to explain these concepts. (James Westby, John Arbash Meinel,
 
9609
  Aaron Bentley)
 
9610
 
 
9611
* Added ``bzr log --limit`` to report a limited number of revisions.
 
9612
  (Kent Gibson, #3659)
 
9613
 
 
9614
* Revert does not try to preserve file contents that were originally
 
9615
  produced by reverting to a historical revision.  (Aaron Bentley)
 
9616
 
 
9617
* ``bzr log --short`` now includes ``[merge]`` for revisions which
 
9618
  have more than one parent. This is a small improvement to help
 
9619
  understanding what changes have occurred
 
9620
  (John Arbash Meinel, #83887)
 
9621
 
 
9622
* TreeTransform avoids many renames when contructing large trees,
 
9623
  improving speed.  3.25x speedups have been observed for construction of
 
9624
  kernel-sized-trees, and checkouts are 1.28x faster.  (Aaron Bentley)
 
9625
 
 
9626
* Commit on large trees is now faster. In my environment, a commit of
 
9627
  a small change to the Mozilla tree (55k files) has dropped from
 
9628
  66 seconds to 32 seconds. For a small tree of 600 files, commit of a
 
9629
  small change is 33% faster. (Ian Clatworthy)
 
9630
 
 
9631
* New --create-prefix option to bzr init, like for push.  (Daniel Watkins,
 
9632
  #56322)
 
9633
 
 
9634
Bugfixes
 
9635
********
 
9636
 
 
9637
* ``bzr push`` should only connect to the remote location one time.
 
9638
  We have been connecting 3 times because we forget to pass around
 
9639
  the Transport object. This adds ``BzrDir.clone_on_transport()``, so
 
9640
  that we can pass in the Transport that we already have.
 
9641
  (John Arbash Meinel, #75721)
 
9642
 
 
9643
* ``DirState.set_state_from_inventory()`` needs to properly order
 
9644
  based on split paths, not just string paths.
 
9645
  (John Arbash Meinel, #115947)
 
9646
 
 
9647
* Let TestUIFactoy encode the password prompt with its own stdout.
 
9648
  (Vincent Ladeuil, #110204)
 
9649
 
 
9650
* pycurl should take use the range header that takes the range hint
 
9651
  into account.
 
9652
  (Vincent Ladeuil, #112719)
 
9653
 
 
9654
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
 
9655
  on a missing file.  (Aaron Bentley, #118186)
 
9656
 
 
9657
* WorkingTree.remove works correctly with tree references, and when pwd is
 
9658
  not the tree root. (Aaron Bentley)
 
9659
 
 
9660
* Merge no longer fails when a file is renamed in one tree and deleted
 
9661
  in the other. (Aaron Bentley, #110279)
 
9662
 
 
9663
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
 
9664
  and defaults to the last revision (Matthew Fuller, #90048)
 
9665
 
 
9666
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
 
9667
  (Daniel Watkins, #111958)
 
9668
 
 
9669
* ``bzr branch -r revid:foo`` can be used to branch any revision in
 
9670
  your repository. (Previously Branch6 only supported revisions in your
 
9671
  mainline). (John Arbash Meinel, #115343)
 
9672
 
 
9673
bzr 0.16
 
9674
########
 
9675
 
 
9676
:Released:  2007-05-07
 
9677
 
 
9678
Bugfixes
 
9679
********
 
9680
 
 
9681
* Handle when you have 2 directories with similar names, but one has a
 
9682
  hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
 
9683
  iterator was using direct comparison and ``'abc/a'`` sorts after
 
9684
  ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
 
9685
  (John Arbash Meinel, #111227)
 
9686
 
 
9687
* Handle when someone renames a file on disk without telling bzr.
 
9688
  Previously we would report the first file as missing, but not show
 
9689
  the new unknown file. (John Arbash Meinel, #111288)
 
9690
 
 
9691
* Avoid error when running hooks after pulling into or pushing from
 
9692
  a branch bound to a smartserver branch.  (Martin Pool, #111968)
 
9693
 
 
9694
Improvements
 
9695
************
 
9696
 
 
9697
* Move developer documentation to doc/developers/. This reduces clutter in
 
9698
  the root of the source tree and allows HACKING to be split into multiple
 
9699
  files. (Robert Collins, Alexander Belchenko)
 
9700
 
 
9701
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
 
9702
  ``DirState.update_entry()``. This optimizes the core logic for ``bzr
 
9703
  diff`` and ``bzr status`` significantly improving the speed of
 
9704
  both. (John Arbash Meinel)
 
9705
 
 
9706
bzr 0.16rc2
 
9707
###########
 
9708
 
 
9709
:Released:  2007-04-30
 
9710
 
 
9711
Bugfixes
 
9712
********
 
9713
 
 
9714
* Handle the case when you delete a file, and then rename another file
 
9715
  on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
 
9716
  status`` should show the removed file and an unknown file in its
 
9717
  place. (John Arbash Meinel, #109993)
 
9718
 
 
9719
* Bundles properly read and write revision properties that have an
 
9720
  empty value. And when the value is not ASCII.
 
9721
  (John Arbash Meinel, #109613)
 
9722
 
 
9723
* Fix the bzr commit message to be in text mode.
 
9724
  (Alexander Belchenko, #110901)
 
9725
 
 
9726
* Also handle when you rename a file and create a file where it used
 
9727
  to be. (John Arbash Meinel, #110256)
 
9728
 
 
9729
* ``WorkingTree4._iter_changes`` should not descend into unversioned
 
9730
  directories. (John Arbash Meinel, #110399)
 
9731
 
 
9732
bzr 0.16rc1
 
9733
###########
 
9734
 
 
9735
:Released:  2007-04-26
 
9736
 
 
9737
Notes When Upgrading
 
9738
********************
 
9739
 
 
9740
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
 
9741
  it could be recovered again.
 
9742
  This has been done for consistency with svn and the unix rm command.
 
9743
  The old ``remove`` behaviour has been retained in the new option
 
9744
  ``bzr remove --keep``, which will just stop versioning the file,
 
9745
  but not delete it.
 
9746
  ``bzr remove --force`` have been added which will always delete the
 
9747
  files.
 
9748
  ``bzr remove`` is also more verbose.
 
9749
  (Marius Kruger, #82602)
 
9750
 
 
9751
Improvements
 
9752
************
 
9753
 
 
9754
* Merge directives can now be supplied as input to `merge` and `pull`,
 
9755
  like bundles can.  (Aaron Bentley)
 
9756
 
 
9757
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
 
9758
  pressing Control-Backslash, drops bzr into a debugger.  Type ``'c'``
 
9759
  to continue.  This can be disabled by setting the environment variable
 
9760
  ``BZR_SIGQUIT_PDB=0``.  (Martin Pool)
 
9761
 
 
9762
* selftest now supports --list-only to list tests instead of running
 
9763
  them. (Ian Clatworthy)
 
9764
 
 
9765
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
 
9766
  tests with names that match that regular expression.
 
9767
  (Ian Clatworthy, #102679)
 
9768
 
 
9769
* selftest now supports --randomize SEED to run tests in a random order.
 
9770
  SEED is typically the value 'now' meaning 'use the current time'.
 
9771
  (Ian Clatworthy, #102686)
 
9772
 
 
9773
* New option ``--fixes`` to commit, which stores bug fixing annotations as
 
9774
  revision properties. Built-in support for Launchpad, Debian, Trac and
 
9775
  Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
 
9776
 
 
9777
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
 
9778
  other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
 
9779
  Robert Collins)
 
9780
 
 
9781
* ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
 
9782
  Pool)
 
9783
 
 
9784
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
 
9785
  into using local variables instead of going through ``self._var``.
 
9786
  Improves the time to ``merge_sort`` a 10k revision graph by
 
9787
  approximately 40% (~700->400ms).  (John Arbash Meinel)
 
9788
 
 
9789
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
 
9790
  (Robert Collins)
 
9791
 
 
9792
* ``bzr help`` now provides cross references to other help topics using
 
9793
  the _see_also facility on command classes. Likewise the bzr_man
 
9794
  documentation, and the bzr.1 man page also include this information.
 
9795
  (Robert Collins)
 
9796
 
 
9797
* Tags are now included in logs, that use the long log formatter.
 
9798
  (Erik Bågfors, Alexander Belchenko)
 
9799
 
 
9800
* ``bzr help`` provides a clearer message when a help topic cannot be
 
9801
  found. (Robert Collins, #107656)
 
9802
 
 
9803
* ``bzr help`` now accepts optional prefixes for command help. The help
 
9804
  for all commands can now be found at ``bzr help commands/COMMANDNAME``
 
9805
  as well as ``bzr help COMMANDNAME`` (which only works for commands
 
9806
  where the name is not the same as a more general help topic).
 
9807
  (Robert Collins)
 
9808
 
 
9809
* ``bzr help PLUGINNAME`` will now return the module docstring from the
 
9810
  plugin PLUGINNAME. (Robert Collins, #50408)
 
9811
 
 
9812
* New help topic ``urlspec`` which lists the availables transports.
 
9813
  (Goffredo Baroncelli)
 
9814
 
 
9815
* doc/server.txt updated to document the default bzr:// port
 
9816
  and also update the blurb about the hpss' current status.
 
9817
  (Robert Collins, #107125).
 
9818
 
 
9819
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
 
9820
  serve out to the local LAN (and anyone in the world that can reach the
 
9821
  machine running ``bzr serve``. (Robert Collins, #98918)
 
9822
 
 
9823
* A new smart server protocol version has been added.  It prefixes requests
 
9824
  and responses with an explicit version identifier so that future protocol
 
9825
  revisions can be dealt with gracefully.  (Andrew Bennetts, Robert Collins)
 
9826
 
 
9827
* The bzr protocol version 2 indicates success or failure in every response
 
9828
  without depending on particular commands encoding that consistently,
 
9829
  allowing future client refactorings to be much more robust about error
 
9830
  handling. (Robert Collins, Martin Pool, Andrew Bennetts)
 
9831
 
 
9832
* The smart protocol over HTTP client has been changed to always post to the
 
9833
  same ``.bzr/smart`` URL under the original location when it can.  This allows
 
9834
  HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
 
9835
  server handler, and not arbitrary ``.bzr/*/smart`` URLs.  (Andrew Bennetts)
 
9836
 
 
9837
* digest authentication is now supported for proxies and HTTP by the urllib
 
9838
  based http implementation. Tested against Apache 2.0.55 and Squid
 
9839
  2.6.5. Basic and digest authentication are handled coherently for HTTP
 
9840
  and proxy: if the user is provided in the url (bzr command line for HTTP,
 
9841
  proxy environment variables for proxies), the password is prompted for
 
9842
  (only once). If the password is provided, it is taken into account. Once
 
9843
  the first authentication is successful, all further authentication
 
9844
  roundtrips are avoided by preventively setting the right authentication
 
9845
  header(s).
 
9846
  (Vincent Ladeuil).
 
9847
 
 
9848
Internals
 
9849
*********
 
9850
 
 
9851
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
 
9852
  code paths. (Robert Collins)
 
9853
 
 
9854
* Change the format of chroot urls so that they can be safely manipulated
 
9855
  by generic url utilities without causing the resulting urls to have
 
9856
  escaped the chroot. A side effect of this is that creating a chroot
 
9857
  requires an explicit action using a ChrootServer.
 
9858
  (Robert Collins, Andrew Bennetts)
 
9859
 
 
9860
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
 
9861
  rather than fixing bug #96847.  (Aaron Bentley)
 
9862
 
 
9863
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
 
9864
  ``WorkingTree._write_inventory``.  (Aaron Bentley)
 
9865
 
 
9866
* Convenience method ``TestCase.expectFailure`` ensures that known failures
 
9867
  do not silently pass.  (Aaron Bentley)
 
9868
 
 
9869
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
 
9870
  ``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
 
9871
 
 
9872
* New SmartServer hooks facility. There are two initial hooks documented
 
9873
  in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
 
9874
  plugins to execute code upon server startup and shutdown.
 
9875
  (Robert Collins).
 
9876
 
 
9877
* SmartServer in standalone mode will now close its listening socket
 
9878
  when it stops, rather than waiting for garbage collection. This primarily
 
9879
  fixes test suite hangs when a test tries to connect to a shutdown server.
 
9880
  It may also help improve behaviour when dealing with a server running
 
9881
  on a specific port (rather than dynamically assigned ports).
 
9882
  (Robert Collins)
 
9883
 
 
9884
* Move most SmartServer code into a new package, bzrlib/smart.
 
9885
  bzrlib/transport/remote.py contains just the Transport classes that used
 
9886
  to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
 
9887
 
 
9888
* urllib http implementation avoid roundtrips associated with
 
9889
  401 (and 407) errors once the authentication succeeds.
 
9890
  (Vincent Ladeuil).
 
9891
 
 
9892
* urlib http now supports querying the user for a proxy password if
 
9893
  needed. Realm is shown in the prompt for both HTTP and proxy
 
9894
  authentication when the user is required to type a password.
 
9895
  (Vincent Ladeuil).
 
9896
 
 
9897
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
 
9898
  RemoteTransport (and subclasses to RemoteTCPTransport, etc).  This is more
 
9899
  consistent with its new home in ``bzrlib/transport/remote.py``, and because
 
9900
  it's not really a "smart" transport, just one that does file operations
 
9901
  via remote procedure calls.  (Andrew Bennetts)
 
9902
 
 
9903
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
 
9904
  ``Branch`` now accept a ``token`` keyword argument, so that separate
 
9905
  instances of those objects can share a lock if it has the right token.
 
9906
  (Andrew Bennetts, Robert Collins)
 
9907
 
 
9908
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
 
9909
  branch references - which the smart server component needs.
 
9910
 
 
9911
* The Repository API ``make_working_trees`` is now permitted to return
 
9912
  False when ``set_make_working_trees`` is not implemented - previously
 
9913
  an unimplemented ``set_make_working_trees`` implied the result True
 
9914
  from ``make_working_trees``. This has been changed to accomodate the
 
9915
  smart server, where it does not make sense (at this point) to ever
 
9916
  make working trees by default. (Robert Collins)
 
9917
 
 
9918
* Command objects can now declare related help topics by having _see_also
 
9919
  set to a list of related topic. (Robert Collins)
 
9920
 
 
9921
* ``bzrlib.help`` now delegates to the Command class for Command specific
 
9922
  help. (Robert Collins)
 
9923
 
 
9924
* New class ``TransportListRegistry``, derived from the Registry class, which
 
9925
  simplifies tracking the available Transports. (Goffredo Baroncelli)
 
9926
 
 
9927
* New function ``Branch.get_revision_id_to_revno_map`` which will
 
9928
  return a dictionary mapping revision ids to dotted revnos. Since
 
9929
  dotted revnos are defined in the context of the branch tip, it makes
 
9930
  sense to generate them from a ``Branch`` object.
 
9931
  (John Arbash Meinel)
 
9932
 
 
9933
* Fix the 'Unprintable error' message display to use the repr of the
 
9934
  exception that prevented printing the error because the str value
 
9935
  for it is often not useful in debugging (e.g. KeyError('foo') has a
 
9936
  str() of 'foo' but a repr of 'KeyError('foo')' which is much more
 
9937
  useful. (Robert Collins)
 
9938
 
 
9939
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
 
9940
  (Andrew Bennetts)
 
9941
 
 
9942
Bugfixes
 
9943
********
 
9944
 
 
9945
* Don't fail bundle selftest if email has 'two' embedded.
 
9946
  (Ian Clatworthy, #98510)
 
9947
 
 
9948
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
 
9949
  (Robert Widhopf-Fenk, #98591)
 
9950
 
 
9951
* Remove ``--basis`` from the checkout/branch commands - it didn't work
 
9952
  properly and is no longer beneficial.
 
9953
  (Robert Collins, #53675, #43486)
 
9954
 
 
9955
* Don't produce encoding error when adding duplicate files.
 
9956
  (Aaron Bentley)
 
9957
 
 
9958
* Fix ``bzr log <file>`` so it only logs the revisions that changed
 
9959
  the file, and does it faster.
 
9960
  (Kent Gibson, John Arbash Meinel, #51980, #69477)
 
9961
 
 
9962
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
 
9963
  an empty versioned directory, which now has files in it.
 
9964
  (John Arbash Meinel, #104257)
 
9965
 
 
9966
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
 
9967
  inside the ancestry of the other. Saves a lot of graph processing
 
9968
  (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
 
9969
  changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
 
9970
 
 
9971
* Fix ``show_diff_trees`` to handle the case when a file is modified,
 
9972
  and the containing directory is renamed. (The file path is different
 
9973
  in this versus base, but it isn't marked as a rename).
 
9974
  (John Arbash Meinel, #103870)
 
9975
 
 
9976
* FTP now works even when the FTP server does not support atomic rename.
 
9977
  (Aaron Bentley, #89436)
 
9978
 
 
9979
* Correct handling in bundles and merge directives of timezones with
 
9980
  that are not an integer number of hours offset from UTC.  Always
 
9981
  represent the epoch time in UTC to avoid problems with formatting
 
9982
  earlier times on win32.  (Martin Pool, Alexander Belchenko, John
 
9983
  Arbash Meinel)
 
9984
 
 
9985
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
 
9986
 
 
9987
* "dirstate" and "dirstate-tags" formats now produce branches compatible
 
9988
  with old versions of bzr. (Aaron Bentley, #107168))
 
9989
 
 
9990
* Handle moving a directory when children have been added, removed,
 
9991
  and renamed. (John Arbash Meinel, #105479)
 
9992
 
 
9993
* Don't preventively use basic authentication for proxy before receiving a
 
9994
  407 error. Otherwise people willing to use other authentication schemes
 
9995
  may expose their password in the clear (or nearly). This add one
 
9996
  roundtrip in case basic authentication should be used, but plug the
 
9997
  security hole.
 
9998
  (Vincent Ladeuil)
 
9999
 
 
10000
* Handle http and proxy digest authentication.
 
10001
  (Vincent Ladeuil, #94034).
 
10002
 
 
10003
Testing
 
10004
*******
 
10005
 
 
10006
* Added ``bzrlib.strace.strace`` which will strace a single callable and
 
10007
  return a StraceResult object which contains just the syscalls involved
 
10008
  in running it. (Robert Collins)
 
10009
 
 
10010
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
 
10011
  default time down to one suitable for tests. (Andrew Bennetts)
 
10012
 
 
10013
* Add new ``vfs_transport_factory`` attribute on tests which provides the
 
10014
  common vfs backing for both the readonly and readwrite transports.
 
10015
  This allows the RemoteObject tests to back onto local disk or memory,
 
10016
  and use the existing ``transport_server`` attribute all tests know about
 
10017
  to be the smart server transport. This in turn allows tests to
 
10018
  differentiate between 'transport to access the branch', and
 
10019
  'transport which is a VFS' - which matters in Remote* tests.
 
10020
  (Robert Collins, Andrew Bennetts)
 
10021
 
 
10022
* The ``make_branch_and_tree`` method for tests will now create a
 
10023
  lightweight checkout for the tree if the ``vfs_transport_factory`` is not
 
10024
  a LocalURLServer. (Robert Collins, Andrew Bennetts)
 
10025
 
 
10026
* Branch implementation tests have been audited to ensure that all urls
 
10027
  passed to Branch APIs use proper urls, except when local-disk paths
 
10028
  are intended. This is so that tests correctly access the test transport
 
10029
  which is often not equivalent to local disk in Remote* tests. As part
 
10030
  of this many tests were adjusted to remove dependencies on local disk
 
10031
  access.
 
10032
  (Robert Collins, Andrew Bennetts)
 
10033
 
 
10034
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
 
10035
  functions by adding a ``__unittest`` global attribute. (Robert Collins,
 
10036
  Andrew Bennetts, Martin Pool, Jonathan Lange)
 
10037
 
 
10038
* Refactored proxy and authentication handling to simplify the
 
10039
  implementation of new auth schemes for both http and proxy.
 
10040
  (Vincent Ladeuil)
 
10041
 
 
10042
bzr 0.15
 
10043
########
 
10044
 
 
10045
:Released: 2007-04-01
 
10046
 
 
10047
Bugfixes
 
10048
********
 
10049
 
 
10050
* Handle incompatible repositories as a user issue when fetching.
 
10051
  (Aaron Bentley)
 
10052
 
 
10053
* Don't give a recommendation to upgrade when branching or
 
10054
  checking out a branch that contains an old-format working tree.
 
10055
  (Martin Pool)
 
10056
 
 
10057
bzr 0.15rc3
 
10058
###########
 
10059
 
 
10060
:Released:  2007-03-26
 
10061
 
 
10062
Changes
 
10063
*******
 
10064
 
 
10065
* A warning is now displayed when opening working trees in older
 
10066
  formats, to encourage people to upgrade to WorkingTreeFormat4.
 
10067
  (Martin Pool)
 
10068
 
 
10069
Improvements
 
10070
************
 
10071
 
 
10072
* HTTP redirections are now taken into account when a branch (or a
 
10073
  bundle) is accessed for the first time. A message is issued at each
 
10074
  redirection to inform the user. In the past, http redirections were
 
10075
  silently followed for each request which significantly degraded the
 
10076
  performances. The http redirections are not followed anymore by
 
10077
  default, instead a RedirectRequested exception is raised. For bzrlib
 
10078
  users needing to follow http redirections anyway,
 
10079
  ``bzrlib.transport.do_catching_redirections`` provide an easy transition
 
10080
  path.  (vila)
 
10081
 
 
10082
Internals
 
10083
*********
 
10084
 
 
10085
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
 
10086
  lock to an OS write lock. Linux can do this without unlocking, Win32
 
10087
  needs to unlock in between. (John Arbash Meinel)
 
10088
 
 
10089
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
 
10090
  to silence (when false) warnings about opening old formats.
 
10091
  (Martin Pool)
 
10092
 
 
10093
* Fix minor performance regression with bzr-0.15 on pre-dirstate
 
10094
  trees. (We were reading the working inventory too many times).
 
10095
  (John Arbash Meinel)
 
10096
 
 
10097
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
 
10098
  ``revision_history``.  Branch subclasses should override
 
10099
  ``_gen_revision_history`` rather than ``revision_history`` to make use of
 
10100
  this cache, and call ``_clear_revision_history_cache`` and
 
10101
  ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
 
10102
 
 
10103
Bugfixes
 
10104
********
 
10105
 
 
10106
* Take ``smtp_server`` from user config into account.
 
10107
  (vila, #92195)
 
10108
 
 
10109
* Restore Unicode filename handling for versioned and unversioned files.
 
10110
  (John Arbash Meinel, #92608)
 
10111
 
 
10112
* Don't fail during ``bzr commit`` if a file is marked removed, and
 
10113
  the containing directory is auto-removed.  (John Arbash Meinel, #93681)
 
10114
 
 
10115
* ``bzr status FILENAME`` failed on Windows because of an uncommon
 
10116
  errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
 
10117
  (Wouter van Heyst, John Arbash Meinel, #90819)
 
10118
 
 
10119
* ``bzr checkout source`` should create a local branch in the same
 
10120
  format as source. (John Arbash Meinel, #93854)
 
10121
 
 
10122
* ``bzr commit`` with a kind change was failing to update the
 
10123
  last-changed-revision for directories.  The
 
10124
  InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
 
10125
  ignoring the fact that the kind could have changed, too.
 
10126
  (John Arbash Meinel, #90111)
 
10127
 
 
10128
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
 
10129
  the directory. So that there was a chance it would break commit,
 
10130
  etc. (John Arbash Meinel, #94037)
 
10131
 
 
10132
* Correctly handles mutiple permanent http redirections.
 
10133
  (vila, #88780)
 
10134
 
 
10135
bzr 0.15rc2
 
10136
###########
 
10137
 
 
10138
:Released:  2007-03-14
 
10139
 
 
10140
Notes When Upgrading
 
10141
********************
 
10142
 
 
10143
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
 
10144
  default to ``--trees`` instead of ``--no-trees``.
 
10145
  Existing shared repositories are not affected.
 
10146
 
 
10147
Improvements
 
10148
************
 
10149
 
 
10150
* New ``merge-directive`` command to generate machine- and human-readable
 
10151
  merge requests.  (Aaron Bentley)
 
10152
 
 
10153
* New ``submit:`` revision specifier makes it easy to diff against the
 
10154
  common ancestor with the submit location (Aaron Bentley)
 
10155
 
 
10156
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
 
10157
 
 
10158
* Added ``bzr status --versioned`` to report only versioned files,
 
10159
  not unknowns. (Kent Gibson)
 
10160
 
 
10161
* Merge now autodetects the correct line-ending style for its conflict
 
10162
  markers.  (Aaron Bentley)
 
10163
 
 
10164
Internals
 
10165
*********
 
10166
 
 
10167
* Refactored SSH vendor registration into SSHVendorManager class.
 
10168
  (Dmitry Vasiliev)
 
10169
 
 
10170
Bugfixes
 
10171
********
 
10172
 
 
10173
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
 
10174
  numbered dirs for TestCaseInTempDir. This is default behavior
 
10175
  on Windows. Anyone can force named dirs on Windows
 
10176
  with ``--no-numbered-dirs``. (Alexander Belchenko)
 
10177
 
 
10178
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
 
10179
  from the command line. (Marien Zwart, #90501)
 
10180
 
 
10181
* Fix ``TreeTransform._iter_changes`` when both the source and
 
10182
  destination are missing. (Aaron Bentley, #88842)
 
10183
 
 
10184
* Fix commit of merges with symlinks in dirstate trees.
 
10185
  (Marien Zwart)
 
10186
 
 
10187
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
 
10188
  (Wouter van Heyst, #53483)
 
10189
 
 
10190
 
 
10191
bzr 0.15rc1
 
10192
###########
 
10193
 
 
10194
:Released:  2007-03-07
 
10195
 
 
10196
Surprises
 
10197
*********
 
10198
 
 
10199
* The default disk format has changed. Please run 'bzr upgrade' in your
 
10200
  working trees to upgrade. This new default is compatible for network
 
10201
  operations, but not for local operations. That is, if you have two
 
10202
  versions of bzr installed locally, after upgrading you can only use the
 
10203
  bzr 0.15 version. This new default does not enable tags or nested-trees
 
10204
  as they are incompatible with bzr versions before 0.15 over the network.
 
10205
 
 
10206
* For users of bzrlib: Two major changes have been made to the working tree
 
10207
  api in bzrlib. The first is that many methods and attributes, including
 
10208
  the inventory attribute, are no longer valid for use until one of
 
10209
  ``lock_read``/``lock_write``/``lock_tree_write`` has been called,
 
10210
  and become invalid again after unlock is called. This has been done
 
10211
  to improve performance and correctness as part of the dirstate
 
10212
  development.
 
10213
  (Robert Collins, John A Meinel, Martin Pool, and others).
 
10214
 
 
10215
* For users of bzrlib: The attribute 'tree.inventory' should be considered
 
10216
  readonly. Previously it was possible to directly alter this attribute, or
 
10217
  its contents, and have the tree notice this. This has been made
 
10218
  unsupported - it may work in some tree formats, but in the newer dirstate
 
10219
  format such actions will have no effect and will be ignored, or even
 
10220
  cause assertions. All operations possible can still be carried out by a
 
10221
  combination of the tree API, and the bzrlib.transform API. (Robert
 
10222
  Collins, John A Meinel, Martin Pool, and others).
 
10223
 
 
10224
Improvements
 
10225
************
 
10226
 
 
10227
* Support for OS Windows 98. Also .bzr.log on any windows system
 
10228
  saved in My Documents folder. (Alexander Belchenko)
 
10229
 
 
10230
* ``bzr mv`` enhanced to support already moved files.
 
10231
  In the past the mv command would have failed if the source file doesn't
 
10232
  exist. In this situation ``bzr mv`` would now detect that the file has
 
10233
  already moved and update the repository accordingly, if the target file
 
10234
  does exist.
 
10235
  A new option ``--after`` has been added so that if two files already
 
10236
  exist, you could notify Bazaar that you have moved a (versioned) file
 
10237
  and replaced it with another. Thus in this case ``bzr move --after``
 
10238
  will only update the Bazaar identifier.
 
10239
  (Steffen Eichenberg, Marius Kruger)
 
10240
 
 
10241
* ``ls`` now works on treeless branches and remote branches.
 
10242
  (Aaron Bentley)
 
10243
 
 
10244
* ``bzr help global-options`` describes the global options.
 
10245
  (Aaron Bentley)
 
10246
 
 
10247
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
 
10248
  (Robert Collins)
 
10249
 
 
10250
* Files are now allowed to change kind (e.g. from file to symlink).
 
10251
  Supported by ``commit``, ``revert`` and ``status``
 
10252
  (Aaron Bentley)
 
10253
 
 
10254
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
 
10255
  (Aaron Bentley)
 
10256
 
 
10257
* ``bzr help checkouts`` descibes what checkouts are and some possible
 
10258
  uses of them. (James Westby, Aaron Bentley)
 
10259
 
 
10260
* A new ``-d`` option to push, pull and merge overrides the default
 
10261
  directory.  (Martin Pool)
 
10262
 
 
10263
* Branch format 6: smaller, and potentially faster than format 5.  Supports
 
10264
  ``append_history_only`` mode, where the log view and revnos do not change,
 
10265
  except by being added to.  Stores policy settings in
 
10266
  ".bzr/branch/branch.conf".
 
10267
 
 
10268
* ``append_only`` branches:  Format 6 branches may be configured so that log
 
10269
  view and revnos are always consistent.  Either create the branch using
 
10270
  "bzr init --append-revisions-only" or edit the config file as descriped
 
10271
  in docs/configuration.txt.
 
10272
 
 
10273
* rebind: Format 6 branches retain the last-used bind location, so if you
 
10274
  "bzr unbind", you can "bzr bind" to bind to the previously-selected
 
10275
  bind location.
 
10276
 
 
10277
* Builtin tags support, created and deleted by the ``tag`` command and
 
10278
  stored in the branch.  Tags can be accessed with the revisionspec
 
10279
  ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned
 
10280
  at present. Tags require a network incompatible upgrade. To perform this
 
10281
  upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
 
10282
  repositories. (Martin Pool)
 
10283
 
 
10284
* The ``bzr://`` transport now has a well-known port number, 4155,
 
10285
  which it will use by default.  (Andrew Bennetts, Martin Pool)
 
10286
 
 
10287
* Bazaar now looks for user-installed plugins before looking for site-wide
 
10288
  plugins. (Jonathan Lange)
 
10289
 
 
10290
* ``bzr resolve`` now detects and marks resolved text conflicts.
 
10291
  (Aaron Bentley)
 
10292
 
 
10293
Internals
 
10294
*********
 
10295
 
 
10296
* Internally revision ids and file ids are now passed around as utf-8
 
10297
  bytestrings, rather than treating them as Unicode strings. This has
 
10298
  performance benefits for Knits, since we no longer need to decode the
 
10299
  revision id for each line of content, nor for each entry in the index.
 
10300
  This will also help with the future dirstate format.
 
10301
  (John Arbash Meinel)
 
10302
 
 
10303
* Reserved ids (any revision-id ending in a colon) are rejected by
 
10304
  versionedfiles, repositories, branches, and working trees
 
10305
  (Aaron Bentley)
 
10306
 
 
10307
* Minor performance improvement by not creating a ProgressBar for
 
10308
  every KnitIndex we create. (about 90ms for a bzr.dev tree)
 
10309
  (John Arbash Meinel)
 
10310
 
 
10311
* New easier to use Branch hooks facility. There are five initial hooks,
 
10312
  all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
 
10313
  ``'post_push'``, ``'post_pull'``, ``'post_commit'``,
 
10314
  ``'post_uncommit'``. These hooks fire after the matching operation
 
10315
  on a branch has taken place, and were originally added for the
 
10316
  branchrss plugin. (Robert Collins)
 
10317
 
 
10318
* New method ``Branch.push()`` which should be used when pushing from a
 
10319
  branch as it makes performance and policy decisions to match the UI
 
10320
  level command ``push``. (Robert Collins).
 
10321
 
 
10322
* Add a new method ``Tree.revision_tree`` which allows access to cached
 
10323
  trees for arbitrary revisions. This allows the in development dirstate
 
10324
  tree format to provide access to the callers to cached copies of
 
10325
  inventory data which are cheaper to access than inventories from the
 
10326
  repository.
 
10327
  (Robert Collins, Martin Pool)
 
10328
 
 
10329
* New ``Branch.last_revision_info`` method, this is being done to allow
 
10330
  optimization of requests for both the number of revisions and the last
 
10331
  revision of a branch with smartservers and potentially future branch
 
10332
  formats. (Wouter van Heyst, Robert Collins)
 
10333
 
 
10334
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
 
10335
  yet been loaded by ``load_plugins()``. This allows plugins to depend on each
 
10336
  other for code reuse without requiring users to perform file-renaming
 
10337
  gymnastics. (Robert Collins)
 
10338
 
 
10339
* New Repository method ``'gather_stats'`` for statistic data collection.
 
10340
  This is expected to grow to cover a number of related uses mainly
 
10341
  related to bzr info. (Robert Collins)
 
10342
 
 
10343
* Log formatters are now managed with a registry.
 
10344
  ``log.register_formatter`` continues to work, but callers accessing
 
10345
  the FORMATTERS dictionary directly will not.
 
10346
 
 
10347
* Allow a start message to be passed to the ``edit_commit_message``
 
10348
  function.  This will be placed in the message offered to the user
 
10349
  for editing above the separator. It allows a template commit message
 
10350
  to be used more easily. (James Westby)
 
10351
 
 
10352
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
 
10353
  you pass a Unicode string rather than an 8-bit string. Callers need
 
10354
  to be updated to encode first. (John Arbash Meinel)
 
10355
 
 
10356
* Branch.push, pull, merge now return Result objects with information
 
10357
  about what happened, rather than a scattering of various methods.  These
 
10358
  are also passed to the post hooks.  (Martin Pool)
 
10359
 
 
10360
* File formats and architecture is in place for managing a forest of trees
 
10361
  in bzr, and splitting up existing trees into smaller subtrees, and
 
10362
  finally joining trees to make a larger tree. This is the first iteration
 
10363
  of this support, and the user-facing aspects still require substantial
 
10364
  work.  If you wish to experiment with it, use ``bzr upgrade
 
10365
  --dirstate-with-subtree`` in your working trees and repositories.
 
10366
  You can use the hidden commands ``split`` and ``join`` and to create
 
10367
  and manipulate nested trees, but please consider using the nested-trees
 
10368
  branch, which contains substantial UI improvements, instead.
 
10369
  http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
 
10370
  (Aaron Bentley, Martin Pool, Robert Collins).
 
10371
 
 
10372
Bugfixes
 
10373
********
 
10374
 
 
10375
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
 
10376
  branch, rather than the last changed revision of the file.
 
10377
  (John Arbash Meinel, #82158)
 
10378
 
 
10379
* Lock operations no longer hang if they encounter a permission problem.
 
10380
  (Aaron Bentley)
 
10381
 
 
10382
* ``bzr push`` can resume a push that was canceled before it finished.
 
10383
  Also, it can push even if the target directory exists if you supply
 
10384
  the ``--use-existing-dir`` flag.
 
10385
  (John Arbash Meinel, #30576, #45504)
 
10386
 
 
10387
* Fix http proxy authentication when user and an optional
 
10388
  password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
 
10389
  #83954).
 
10390
 
 
10391
* ``bzr log branch/file`` works for local treeless branches
 
10392
  (Aaron Bentley, #84247)
 
10393
 
 
10394
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
 
10395
 
 
10396
* Searching location of CA bundle for PyCurl in env variable
 
10397
  (``CURL_CA_BUNDLE``), and on win32 along the PATH.
 
10398
  (Alexander Belchenko, #82086)
 
10399
 
 
10400
* ``bzr init`` works with unicode argument LOCATION.
 
10401
  (Alexander Belchenko, #85599)
 
10402
 
 
10403
* Raise ``DependencyNotPresent`` if pycurl do not support https.
 
10404
  (Vincent Ladeuil, #85305)
 
10405
 
 
10406
* Invalid proxy env variables should not cause a traceback.
 
10407
  (Vincent Ladeuil, #87765)
 
10408
 
 
10409
* Ignore patterns normalised to use '/' path separator.
 
10410
  (Kent Gibson, #86451)
 
10411
 
 
10412
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
 
10413
 
 
10414
* Fix bzrtools shelve command for removed lines beginning with "--"
 
10415
  (Johan Dahlberg, #75577)
 
10416
 
 
10417
Testing
 
10418
*******
 
10419
 
 
10420
* New ``--first`` option to ``bzr selftest`` to run specified tests
 
10421
  before the rest of the suite.  (Martin Pool)
 
10422
 
 
10423
 
 
10424
bzr 0.14
 
10425
########
 
10426
 
 
10427
:Released:  2007-01-23
 
10428
 
 
10429
Improvements
 
10430
************
 
10431
 
 
10432
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
 
10433
 
 
10434
Bug Fixes
 
10435
*********
 
10436
 
 
10437
* Skip documentation generation tests if the tools to do so are not
 
10438
  available. Fixes running selftest for installled copies of bzr.
 
10439
  (John Arbash Meinel, #80330)
 
10440
 
 
10441
* Fix the code that discovers whether bzr is being run from it's
 
10442
  working tree to handle the case when it isn't but the directory
 
10443
  it is in is below a repository. (James Westby, #77306)
 
10444
 
 
10445
 
 
10446
bzr 0.14rc1
 
10447
###########
 
10448
 
 
10449
:Released:  2007-01-16
 
10450
 
 
10451
Improvements
 
10452
************
 
10453
 
 
10454
* New connection: ``bzr+http://`` which supports tunnelling the smart
 
10455
  protocol over an HTTP connection. If writing is enabled on the bzr
 
10456
  server, then you can write over the http connection.
 
10457
  (Andrew Bennetts, John Arbash Meinel)
 
10458
 
 
10459
* Aliases now support quotation marks, so they can contain whitespace
 
10460
  (Marius Kruger)
 
10461
 
 
10462
* PyCurlTransport now use a single curl object. By specifying explicitly
 
10463
  the 'Range' header, we avoid the need to use two different curl objects
 
10464
  (and two connections to the same server). (Vincent Ladeuil)
 
10465
 
 
10466
* ``bzr commit`` does not prompt for a message until it is very likely to
 
10467
  succeed.  (Aaron Bentley)
 
10468
 
 
10469
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
 
10470
  (Aaron Bentley)
 
10471
 
 
10472
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
 
10473
  of a list while checking if a revision id was requested. Takes 10s
 
10474
  off of the ``fileids_affected_by_revision_ids`` time, which is 10s
 
10475
  of the ``bzr branch`` time. Also improve ``fileids_...`` time by
 
10476
  filtering lines with a regex rather than multiple ``str.find()``
 
10477
  calls. (saves another 300ms) (John Arbash Meinel)
 
10478
 
 
10479
* Policy can be set for each configuration key. This allows keys to be
 
10480
  inherited properly across configuration entries. For example, this
 
10481
  should enable you to do::
 
10482
 
 
10483
    [/home/user/project]
 
10484
    push_location = sftp://host/srv/project/
 
10485
    push_location:policy = appendpath
 
10486
 
 
10487
  And then a branch like ``/home/user/project/mybranch`` should get an
 
10488
  automatic push location of ``sftp://host/srv/project/mybranch``.
 
10489
  (James Henstridge)
 
10490
 
 
10491
* Added ``bzr status --short`` to make status report svn style flags
 
10492
  for each file.  For example::
 
10493
 
 
10494
    $ bzr status --short
 
10495
    A  foo
 
10496
    A  bar
 
10497
    D  baz
 
10498
    ?  wooley
 
10499
 
 
10500
* 'bzr selftest --clean-output' allows easily clean temporary tests
 
10501
  directories without running tests. (Alexander Belchenko)
 
10502
 
 
10503
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
 
10504
 
 
10505
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
 
10506
  local is fully merged into remote. (Jan Hudec)
 
10507
 
 
10508
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
 
10509
 
 
10510
Internals
 
10511
*********
 
10512
 
 
10513
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
 
10514
  help speed up processing, as well allowing to extract unannotated
 
10515
  lines. Between the two ``fileids_affected_by_revision_ids`` is
 
10516
  improved by approx 10%. (John Arbash Meinel)
 
10517
 
 
10518
* Change Revision serialization to only write out millisecond
 
10519
  resolution. Rather than expecting floating point serialization to
 
10520
  preserve more resolution than we need. (Henri Weichers, Martin Pool)
 
10521
 
 
10522
* Test suite ends cleanly on Windows.  (Vincent Ladeuil)
 
10523
 
 
10524
* When ``encoding_type`` attribute of class Command is equal to 'exact',
 
10525
  force sys.stdout to be a binary stream on Windows, and therefore
 
10526
  keep exact line-endings (without LF -> CRLF conversion).
 
10527
  (Alexander Belchenko)
 
10528
 
 
10529
* Single-letter short options are no longer globally declared.  (Martin
 
10530
  Pool)
 
10531
 
 
10532
* Before using detected user/terminal encoding bzr should check
 
10533
  that Python has corresponding codec. (Alexander Belchenko)
 
10534
 
 
10535
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
 
10536
 
 
10537
Bug Fixes
 
10538
*********
 
10539
 
 
10540
* ``bzr missing --verbose`` was showing adds/removals in the wrong
 
10541
  direction. (John Arbash Meinel)
 
10542
 
 
10543
* ``bzr annotate`` now defaults to showing dotted revnos for merged
 
10544
  revisions. It cuts them off at a depth of 12 characters, but you can
 
10545
  supply ``--long`` to see the full number. You can also use
 
10546
  ``--show-ids`` to display the original revision ids, rather than
 
10547
  revision numbers and committer names. (John Arbash Meinel, #75637)
 
10548
 
 
10549
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
 
10550
  (Alexander Belchenko, #57869)
 
10551
 
 
10552
* Win32-specific: output of cat, bundle and diff commands don't mangle
 
10553
  line-endings (Alexander Belchenko, #55276)
 
10554
 
 
10555
* Replace broken fnmatch based ignore pattern matching with custom pattern
 
10556
  matcher.
 
10557
  (Kent Gibson, Jan Hudec #57637)
 
10558
 
 
10559
* pycurl and urllib can detect short reads at different places. Update
 
10560
  the test suite to test more cases. Also detect http error code 416
 
10561
  which was raised for that specific bug. Also enhance the urllib
 
10562
  robustness by detecting invalid ranges (and pycurl's one by detecting
 
10563
  short reads during the initial GET). (Vincent Ladeuil, #73948)
 
10564
 
 
10565
* The urllib connection sharing interacts badly with urllib2
 
10566
  proxy setting (the connections didn't go thru the proxy
 
10567
  anymore). Defining a proper ProxyHandler solves the
 
10568
  problem.  (Vincent Ladeuil, #74759)
 
10569
 
 
10570
* Use urlutils to generate relative URLs, not osutils
 
10571
  (Aaron Bentley, #76229)
 
10572
 
 
10573
* ``bzr status`` in a readonly directory should work without giving
 
10574
  lots of errors. (John Arbash Meinel, #76299)
 
10575
 
 
10576
* Mention the revisionspec topic for the revision option help.
 
10577
  (Wouter van Heyst, #31663)
 
10578
 
 
10579
* Allow plugins import from zip archives.
 
10580
  (Alexander Belchenko, #68124)
 
10581
 
 
10582
 
 
10583
bzr 0.13
 
10584
########
 
10585
 
 
10586
:Released:  2006-12-05
 
10587
 
 
10588
No changes from 0.13rc
 
10589
 
 
10590
 
 
10591
bzr 0.13rc1
 
10592
###########
 
10593
 
 
10594
:Released:  2006-11-27
 
10595
 
 
10596
Improvements
 
10597
************
 
10598
 
 
10599
* New command ``bzr remove-tree`` allows the removal of the working
 
10600
  tree from a branch.
 
10601
  (Daniel Silverstone)
 
10602
 
 
10603
* urllib uses shared keep-alive connections, so http
 
10604
  operations are substantially faster.
 
10605
  (Vincent Ladeuil, #53654)
 
10606
 
 
10607
* ``bzr export`` allows an optional branch parameter, to export a bzr
 
10608
  tree from some other url. For example:
 
10609
  ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
 
10610
  (Daniel Silverstone)
 
10611
 
 
10612
* Added ``bzr help topics`` to the bzr help system. This gives a
 
10613
  location for general information, outside of a specific command.
 
10614
  This includes updates for ``bzr help revisionspec`` the first topic
 
10615
  included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
 
10616
 
 
10617
* WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
 
10618
  (Andrew Bennetts)
 
10619
 
 
10620
* Knit files will now cache full texts only when the size of the
 
10621
  deltas is as large as the size of the fulltext. (Or after 200
 
10622
  deltas, whichever comes first). This has the most benefit on large
 
10623
  files with small changes, such as the inventory for a large project.
 
10624
  (eg For a project with 2500 files, and 7500 revisions, it changes
 
10625
  the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
 
10626
 
 
10627
Internals
 
10628
*********
 
10629
 
 
10630
* New -D option given before the command line turns on debugging output
 
10631
  for particular areas.  -Derror shows tracebacks on all errors.
 
10632
  (Martin Pool)
 
10633
 
 
10634
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
10635
  and remove benchmarks that take longer than 10min to run.
 
10636
  (John Arbash Meinel)
 
10637
 
 
10638
* Use ``time.time()`` instead of ``time.clock()`` to decide on
 
10639
  progress throttling. Because ``time.clock()`` is actually CPU time,
 
10640
  so over a high-latency connection, too many updates get throttled.
 
10641
  (John Arbash Meinel)
 
10642
 
 
10643
* ``MemoryTransport.list_dir()`` would strip the first character for
 
10644
  files or directories in root directory. (John Arbash Meinel)
 
10645
 
 
10646
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
 
10647
  branch references - which the smart server component needs.
 
10648
 
 
10649
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
 
10650
  prefix.  It disallows any access to locations above a set URL.  (Andrew
 
10651
  Bennetts)
 
10652
 
 
10653
Bug Fixes
 
10654
*********
 
10655
 
 
10656
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
 
10657
  And optimize the knit index parsing code.
 
10658
  (Dmitry Vasiliev, John Arbash Meinel)
 
10659
 
 
10660
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
 
10661
  without importing it. This prevented ``bzr upgrade`` from working
 
10662
  unless a plugin already imported ``bzrlib.workingtree``
 
10663
  (John Arbash Meinel, #70716)
 
10664
 
 
10665
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
 
10666
 
 
10667
* Give nicer error message when an http server returns a 403
 
10668
  error code. (Vincent Ladeuil, #57644).
 
10669
 
 
10670
* When a multi-range http GET request fails, try a single
 
10671
  range one. If it fails too, forget about ranges. Remember that until
 
10672
  the death of the transport and propagates that to the clones.
 
10673
  (Vincent Ladeuil, #62276, #62029).
 
10674
 
 
10675
* Handles user/passwords supplied in url from command
 
10676
  line (for the urllib implementation). Don't request already
 
10677
  known passwords (Vincent Ladeuil, #42383, #44647, #48527)
 
10678
 
 
10679
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
 
10680
  are added. This fixes bug where fetching remote revisions records
 
10681
  them as full references rather than integers.
 
10682
  (John Arbash Meinel, #64789)
 
10683
 
 
10684
* ``bzr ignore`` strips trailing slashes in patterns.
 
10685
  Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
 
10686
 
 
10687
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
 
10688
 
 
10689
* mv correctly handles paths that traverse symlinks.
 
10690
  (Aaron Bentley, #66964)
 
10691
 
 
10692
* Give nicer looking error messages when failing to connect over ssh.
 
10693
  (John Arbash Meinel, #49172)
 
10694
 
 
10695
* Pushing to a remote branch does not currently update the remote working
 
10696
  tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
 
10697
  machine now show that the working tree is out of date.
 
10698
  (Cheuksan Edward Wang #48136)
 
10699
 
 
10700
* Use patiencediff instead of difflib for determining deltas to insert
 
10701
  into knits. This avoids the O(N^3) behavior of difflib. Patience
 
10702
  diff should be O(N^2). (Cheuksan Edward Wang, #65714)
 
10703
 
 
10704
* Running ``bzr log`` on nonexistent file gives an error instead of the
 
10705
  entire log history. (Cheuksan Edward Wang #50793)
 
10706
 
 
10707
* ``bzr cat`` can look up contents of removed or renamed files. If the
 
10708
  pathname is ambiguous, i.e. the files in the old and new trees have
 
10709
  different id's, the default is the file in the new tree. The user can
 
10710
  use "--name-from-revision" to select the file in the old tree.
 
10711
  (Cheuksan Edward Wang, #30190)
 
10712
 
 
10713
Testing
 
10714
*******
 
10715
 
 
10716
* TestingHTTPRequestHandler really handles the Range header
 
10717
  (previously it was ignoring it and returning the whole file,).
 
10718
 
 
10719
bzr 0.12
 
10720
########
 
10721
 
 
10722
:Released:  2006-10-30
 
10723
 
 
10724
Internals
 
10725
*********
 
10726
 
 
10727
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
10728
  and remove benchmarks that take longer than 10min to run.
 
10729
  (John Arbash Meinel)
 
10730
 
 
10731
bzr 0.12rc1
 
10732
###########
 
10733
 
 
10734
:Released:  2006-10-23
 
10735
 
 
10736
Improvements
 
10737
************
 
10738
 
 
10739
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
 
10740
  rather than just showing a decimal revision number for revisions on the
 
10741
  mainline. These revision numbers are not yet accepted as input into bzr
 
10742
  commands such as log, diff etc. (Robert Collins)
 
10743
 
 
10744
* revisions can now be specified using dotted-decimal revision numbers.
 
10745
  For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
 
10746
 
 
10747
* ``bzr help commands`` output is now shorter (Aaron Bentley)
 
10748
 
 
10749
* ``bzr`` now uses lazy importing to reduce the startup time. This has
 
10750
  a moderate effect on lots of actions, especially ones that have
 
10751
  little to do. For example ``bzr rocks`` time is down to 116ms from
 
10752
  283ms. (John Arbash Meinel)
 
10753
 
 
10754
* New Registry class to provide name-to-object registry-like support,
 
10755
  for example for schemes where plugins can register new classes to
 
10756
  do certain tasks (e.g. log formatters). Also provides lazy registration
 
10757
  to allow modules to be loaded on request.
 
10758
  (John Arbash Meinel, Adeodato Simó)
 
10759
 
 
10760
API Incompatability
 
10761
*******************
 
10762
 
 
10763
* LogFormatter subclasses show now expect the 'revno' parameter to
 
10764
  show() to be a string rather than an int. (Robert Collins)
 
10765
 
 
10766
Internals
 
10767
*********
 
10768
 
 
10769
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
 
10770
  can take a ``working_dir='foo'`` parameter, which will change directory
 
10771
  for the command. (John Arbash Meinel)
 
10772
 
 
10773
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
 
10774
  around a regex, which defers compilation until first use.
 
10775
  (John Arbash Meinel)
 
10776
 
 
10777
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
 
10778
  ``--no-plugins`` parameter to ensure test reproducability, and avoid
 
10779
  problems with system-wide installed plugins. (John Arbash Meinel)
 
10780
 
 
10781
* Unique tree root ids are now supported. Newly created trees still
 
10782
  use the common root id for compatibility with bzr versions before 0.12.
 
10783
  (Aaron Bentley)
 
10784
 
 
10785
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
 
10786
  pass in ``inventory.ROOT_ID`` if you want the default root id value.
 
10787
  (Robert Collins, John Arbash Meinel)
 
10788
 
 
10789
* New method ``WorkingTree.flush()`` which will write the current memory
 
10790
  inventory out to disk. At the same time, ``read_working_inventory`` will
 
10791
  no longer trash the current tree inventory if it has been modified within
 
10792
  the current lock, and the tree will now ``flush()`` automatically on
 
10793
  ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
 
10794
  advantage of this functionality. (Robert Collins, John Arbash Meinel)
 
10795
 
 
10796
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
 
10797
  parameter will cause it to add another column to its output, which
 
10798
  contains the dotted-decimal revno for each revision, as a tuple.
 
10799
  (Robert Collins)
 
10800
 
 
10801
* ``LogFormatter.show_merge`` is deprecated in favour of
 
10802
  ``LogFormatter.show_merge_revno``. (Robert Collins)
 
10803
 
 
10804
Bug Fixes
 
10805
*********
 
10806
 
 
10807
* Avoid circular imports by creating a deprecated function for
 
10808
  ``bzrlib.tree.RevisionTree``. Callers should have been using
 
10809
  ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
 
10810
  #66349)
 
10811
 
 
10812
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
 
10813
  platforms. (Martin Pool, #66356)
 
10814
 
 
10815
* Don't require ``Content-Type`` in range responses. Assume they are a
 
10816
  single range if ``Content-Type`` does not exist.
 
10817
  (John Arbash Meinel, #62473)
 
10818
 
 
10819
* bzr branch/pull no longer complain about progress bar cleanup when
 
10820
  interrupted during fetch.  (Aaron Bentley, #54000)
 
10821
 
 
10822
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
 
10823
  the basis inventory, rather than going through the repository. This
 
10824
  allows us to have 1 inventory read, and 2 inventory writes when
 
10825
  committing a new tree. (John Arbash Meinel)
 
10826
 
 
10827
* When reverting, files that are not locally modified that do not exist
 
10828
  in the target are deleted, not just unversioned (Aaron Bentley)
 
10829
 
 
10830
* When trying to acquire a lock, don't fail immediately. Instead, try
 
10831
  a few times (up to 1 hour) before timing out. Also, report why the
 
10832
  lock is unavailable (John Arbash Meinel, #43521, #49556)
 
10833
 
 
10834
* Leave HttpTransportBase daughter classes decides how they
 
10835
  implement cloning. (Vincent Ladeuil, #61606)
 
10836
 
 
10837
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
 
10838
 
 
10839
* If a commit fails, the commit message is stored in a file at the root of
 
10840
  the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
 
10841
  #32054)
 
10842
 
 
10843
Testing
 
10844
*******
 
10845
 
 
10846
* New test base class TestCaseWithMemoryTransport offers memory-only
 
10847
  testing facilities: its not suitable for tests that need to mutate disk
 
10848
  state, but most tests should not need that and should be converted to
 
10849
  TestCaseWithMemoryTransport. (Robert Collins)
 
10850
 
 
10851
* ``TestCase.make_branch_and_memory_tree`` now takes a format
 
10852
  option to set the BzrDir, Repository and Branch formats of the
 
10853
  created objects. (Robert Collins, John Arbash Meinel)
 
10854
 
 
10855
bzr 0.11
 
10856
########
 
10857
 
 
10858
:Released:  2006-10-02
 
10859
 
 
10860
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
 
10861
 
 
10862
bzr 0.11rc2
 
10863
###########
 
10864
 
 
10865
:Released:  2006-09-27
 
10866
 
 
10867
Bug Fixes
 
10868
*********
 
10869
 
 
10870
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
 
10871
 
 
10872
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
 
10873
  Arbash Meinel).
 
10874
 
 
10875
bzr 0.11rc1
 
10876
###########
 
10877
 
 
10878
:Released:  2006-09-25
 
10879
 
 
10880
Improvements
 
10881
************
 
10882
 
 
10883
* Knit files now wait to create their contents until the first data is
 
10884
  added. The old code used to create an empty .knit and a .kndx with just
 
10885
  the header. However, this caused a lot of extra round trips over sftp.
 
10886
  This can change the time for ``bzr push`` to create a new remote branch
 
10887
  from 160s down to 100s. This also affects ``bzr commit`` performance when
 
10888
  adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
 
10889
  down to 40s (John Arbash Meinel, #44692)
 
10890
 
 
10891
* When an entire subtree has been deleted, commit will now report that
 
10892
  just the top of the subtree has been deleted, rather than reporting
 
10893
  all the individual items. (Robert Collins)
 
10894
 
 
10895
* Commit performs one less XML parse. (Robert Collins)
 
10896
 
 
10897
* ``bzr checkout`` now operates on readonly branches as well
 
10898
  as readwrite branches. This fixes bug #39542. (Robert Collins)
 
10899
 
 
10900
* ``bzr bind`` no longer synchronises history with the master branch.
 
10901
  Binding should be followed by an update or push to synchronise the
 
10902
  two branches. This is closely related to the fix for bug #39542.
 
10903
  (Robert Collins)
 
10904
 
 
10905
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
 
10906
  objects.  This allows all imports to stay at the global scope, but
 
10907
  modules will not actually be imported if they are not used.
 
10908
  (John Arbash Meinel)
 
10909
 
 
10910
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
 
10911
  transport which will be used with the upcoming high-performance smart
 
10912
  server. The new command ``bzr serve`` will invoke bzr in server mode,
 
10913
  which processes these requests. (Andrew Bennetts, Robert Collins, Martin
 
10914
  Pool)
 
10915
 
 
10916
* New command ``bzr version-info`` which can be used to get a summary
 
10917
  of the current state of the tree. This is especially useful as part
 
10918
  of a build commands. See ``doc/version_info.txt`` for more information
 
10919
  (John Arbash Meinel)
 
10920
 
 
10921
Bug Fixes
 
10922
*********
 
10923
 
 
10924
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
 
10925
  specific set of files. (John Arbash Meinel, #3631)
 
10926
 
 
10927
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
 
10928
 
 
10929
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
 
10930
  when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
 
10931
  reading a nested Stanza. (John Arbash Meinel)
 
10932
 
 
10933
* Transform._set_mode() needs to stat the right file.
 
10934
  (John Arbash Meinel, #56549)
 
10935
 
 
10936
* Raise WeaveFormatError rather than StopIteration when trying to read
 
10937
  an empty Weave file. (John Arbash Meinel, #46871)
 
10938
 
 
10939
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
 
10940
  (Vincent Ladeuil, #59835)
 
10941
 
 
10942
* Handle boundary="" lines properly to allow access through a Squid proxy.
 
10943
  (John Arbash Meinel, #57723)
 
10944
 
 
10945
* revert now removes newly-added directories (Aaron Bentley, #54172)
 
10946
 
 
10947
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
 
10948
  isn't a working tree. (David Allouche, #40679)
 
10949
 
 
10950
* Give nicer error messages when a user supplies an invalid --revision
 
10951
  parameter. (John Arbash Meinel, #55420)
 
10952
 
 
10953
* Handle when LANG is not recognized by python. Emit a warning, but
 
10954
  just revert to using 'ascii'. (John Arbash Meinel, #35392)
 
10955
 
 
10956
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
 
10957
  (John Arbash Meinel)
 
10958
 
 
10959
* Skip specific tests when the dependencies aren't met. This includes
 
10960
  some ``setup.py`` tests when ``python-dev`` is not available, and
 
10961
  some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
 
10962
 
 
10963
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
 
10964
  the system. (Andrew Bennetts, John Arbash Meinel)
 
10965
 
 
10966
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
 
10967
  other branch, and will not push or pull between the two branches.
 
10968
  API users will need to perform a push or pull or update operation if they
 
10969
  require branch synchronisation to take place. (Robert Collins, #47344)
 
10970
 
 
10971
* When creating a tarball or zipfile export, export unicode names as utf-8
 
10972
  paths. This may not work perfectly on all platforms, but has the best
 
10973
  chance of working in the common case. (John Arbash Meinel, #56816)
 
10974
 
 
10975
* When committing, only files that exist in working tree or basis tree
 
10976
  may be specified (Aaron Bentley, #50793)
 
10977
 
 
10978
Portability
 
10979
***********
 
10980
 
 
10981
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
 
10982
 
 
10983
Internals
 
10984
*********
 
10985
 
 
10986
* TestCaseInTempDir now creates a separate directory for HOME, rather
 
10987
  than having HOME set to the same location as the working directory.
 
10988
  (John Arbash Meinel)
 
10989
 
 
10990
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
 
10991
  which will update os.environ inside the spawned child. It also can
 
10992
  take a ``universal_newlines=True``, which helps when checking the output
 
10993
  of the command. (John Arbash Meinel)
 
10994
 
 
10995
* Refactor SFTP vendors to allow easier re-use when ssh is used.
 
10996
  (Andrew Bennetts)
 
10997
 
 
10998
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
 
10999
  return urlescaped paths. This is now tested (there were bugs in a few
 
11000
  of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
 
11001
 
 
11002
* New utility function ``symbol_versioning.deprecation_string``. Returns the
 
11003
  formatted string for a callable, deprecation format pair. (Robert Collins)
 
11004
 
 
11005
* New TestCase helper applyDeprecated. This allows you to call a callable
 
11006
  which is deprecated without it spewing to the screen, just by supplying
 
11007
  the deprecation format string issued for it. (Robert Collins)
 
11008
 
 
11009
* Transport.append and Transport.put have been deprecated in favor of
 
11010
  ``.append_bytes``, ``.append_file``, ``.put_bytes``, and
 
11011
  ``.put_file``. This removes the ambiguity in what type of object the
 
11012
  functions take.  ``Transport.non_atomic_put_{bytes,file}`` has also
 
11013
  been added. Which works similarly to ``Transport.append()`` except for
 
11014
  SFTP, it doesn't have a round trip when opening the file. Also, it
 
11015
  provides functionality for creating a parent directory when trying
 
11016
  to create a file, rather than raise NoSuchFile and forcing the
 
11017
  caller to repeat their request.
 
11018
  (John Arbash Meinel)
 
11019
 
 
11020
* WorkingTree has a new api ``unversion`` which allow the unversioning of
 
11021
  entries by their file id. (Robert Collins)
 
11022
 
 
11023
* ``WorkingTree.pending_merges`` is deprecated.  Please use the
 
11024
  ``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
 
11025
 
 
11026
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
 
11027
  read rather than write. This is appropriate for actions which only need
 
11028
  the branch data for reference rather than mutation. A new decorator
 
11029
  ``needs_tree_write_lock`` is provided in the workingtree module. Like the
 
11030
  ``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
 
11031
  declaration of the locking requirements of a function to ensure that
 
11032
  a lock is taken out for casual scripts. (Robert Collins, #54107)
 
11033
 
 
11034
* All WorkingTree methods which write to the tree, but not to the branch
 
11035
  have been converted to use ``needs_tree_write_lock`` rather than
 
11036
  ``needs_write_lock``. Also converted is the revert, conflicts and tree
 
11037
  transform modules. This provides a modest performance improvement on
 
11038
  metadir style trees, due to the reduce lock-acquisition, and a more
 
11039
  significant performance improvement on lightweight checkouts from
 
11040
  remote branches, where trivial operations used to pay a significant
 
11041
  penalty. It also provides the basis for allowing readonly checkouts.
 
11042
  (Robert Collins)
 
11043
 
 
11044
* Special case importing the standard library 'copy' module. This shaves
 
11045
  off 40ms of startup time, while retaining compatibility. See:
 
11046
  ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
 
11047
 
 
11048
* WorkingTree has a new parent class MutableTree which represents the
 
11049
  specialisations of Tree which are able to be altered. (Robert Collins)
 
11050
 
 
11051
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
 
11052
  mutate the tree and its contents. (Robert Collins)
 
11053
 
 
11054
* Transport behaviour at the root of the URL is now defined and tested.
 
11055
  (Andrew Bennetts, Robert Collins)
 
11056
 
 
11057
Testing
 
11058
*******
 
11059
 
 
11060
* New test helper classs MemoryTree. This is typically accessed via
 
11061
  ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
 
11062
 
 
11063
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
 
11064
  code to continue running concurrently with a subprocess of bzr.
 
11065
  (Andrew Bennetts, Robert Collins)
 
11066
 
 
11067
* Add a new method ``Transport.get_smart_client()``. This is provided to
 
11068
  allow upgrades to a richer interface than the VFS one provided by
 
11069
  Transport. (Andrew Bennetts, Martin Pool)
 
11070
 
 
11071
bzr 0.10
 
11072
########
 
11073
 
 
11074
:Released:  2006-08-29
 
11075
 
 
11076
Improvements
 
11077
************
 
11078
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
 
11079
  tree.  (Aaron Bentley)
 
11080
 
 
11081
* 'bzr add --file-ids-from' can be used to specify another path to use
 
11082
  for creating file ids, rather than generating all new ones. Internally,
 
11083
  the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
 
11084
  will be used, rather than having bzrlib generate new ones.
 
11085
  (John Arbash Meinel, #55781)
 
11086
 
 
11087
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
 
11088
  This will cache some of the intermediate trees, and decrease the
 
11089
  setup time for benchmark tests. (John Arbash Meinel)
 
11090
 
 
11091
* Inverse forms are provided for all boolean options.  For example,
 
11092
  --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
 
11093
 
 
11094
* Serialize out Inventories directly, rather than using ElementTree.
 
11095
  Writing out a kernel sized inventory drops from 2s down to ~350ms.
 
11096
  (Robert Collins, John Arbash Meinel)
 
11097
 
 
11098
Bug Fixes
 
11099
*********
 
11100
 
 
11101
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
 
11102
 
 
11103
* Change LockDir so that if the lock directory doesn't exist when
 
11104
  ``lock_write()`` is called, an attempt will be made to create it.
 
11105
  (John Arbash Meinel, #56974)
 
11106
 
 
11107
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
 
11108
 
 
11109
* Active FTP transport now works as intended. (ghozzy, #56472)
 
11110
 
 
11111
* Really fix mutter() so that it won't ever raise a UnicodeError.
 
11112
  It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
 
11113
  But it is a debugging log, not a real user file.
 
11114
  (John Arbash Meinel, #56947, #53880)
 
11115
 
 
11116
* Change Command handle to allow Unicode command and options.
 
11117
  At present we cannot register Unicode command names, so we will get
 
11118
  BzrCommandError('unknown command'), or BzrCommandError('unknown option')
 
11119
  But that is better than a UnicodeError + a traceback.
 
11120
  (John Arbash Meinel, #57123)
 
11121
 
 
11122
* Handle TZ=UTC properly when reading/writing revisions.
 
11123
  (John Arbash Meinel, #55783, #56290)
 
11124
 
 
11125
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
 
11126
  (passing text to sign in on stdin). (John Arbash Meinel, #54468)
 
11127
 
 
11128
* External diff does the right thing for binaries even in foreign
 
11129
  languages. (John Arbash Meinel, #56307)
 
11130
 
 
11131
* Testament handles more cases when content is unicode. Specific bug was
 
11132
  in handling of revision properties.
 
11133
  (John Arbash Meinel, Holger Krekel, #54723)
 
11134
 
 
11135
* The bzr selftest was failing on installed versions due to a bug in a new
 
11136
  test helper. (John Arbash Meinel, Robert Collins, #58057)
 
11137
 
 
11138
Internals
 
11139
*********
 
11140
 
 
11141
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
 
11142
  which can be used to cache the conversion between utf8 and Unicode.
 
11143
  Especially helpful for some of the knit annotation code, which has to
 
11144
  convert revision ids to utf8 to annotate lines in storage.
 
11145
  (John Arbash Meinel)
 
11146
 
 
11147
* ``setup.py`` now searches the filesystem to find all packages which
 
11148
  need to be installed. This should help make the life of packagers
 
11149
  easier. (John Arbash Meinel)
 
11150
 
 
11151
bzr 0.9.0
 
11152
#########
 
11153
 
 
11154
:Released:  2006-08-11
 
11155
 
 
11156
Surprises
 
11157
*********
 
11158
 
 
11159
* The hard-coded built-in ignore rules have been removed. There are
 
11160
  now two rulesets which are enforced. A user global one in
 
11161
  ``~/.bazaar/ignore`` which will apply to every tree, and the tree
 
11162
  specific one '.bzrignore'.
 
11163
  ``~/.bazaar/ignore`` will be created if it does not exist, but with
 
11164
  a more conservative list than the old default.
 
11165
  This fixes bugs with default rules being enforced no matter what.
 
11166
  The old list of ignore rules from bzr is available by
 
11167
  running 'bzr ignore --old-default-rules'.
 
11168
  (Robert Collins, Martin Pool, John Arbash Meinel)
 
11169
 
 
11170
* 'branches.conf' has been changed to 'locations.conf', since it can apply
 
11171
  to more locations than just branch locations.
 
11172
  (Aaron Bentley)
 
11173
 
 
11174
Improvements
 
11175
************
 
11176
 
 
11177
* The revision specifier "revno:" is extended to accept the syntax
 
11178
  revno:N:branch. For example,
 
11179
  revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
 
11180
  bzr.dev.  (Matthieu Moy)
 
11181
 
 
11182
* Tests updates to ensure proper URL handling, UNICODE support, and
 
11183
  proper printing when the user's terminal encoding cannot display
 
11184
  the path of a file that has been versioned.
 
11185
  ``bzr branch`` can take a target URL rather than only a local directory.
 
11186
  ``Branch.get_parent()/set_parent()`` now save a relative path if possible,
 
11187
  and normalize the parent based on root, allowing access across
 
11188
  different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
 
11189
  (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
 
11190
  #42517, #42514)
 
11191
 
 
11192
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
 
11193
  Use terminal width for single-line logs from ``bzr log --line`` and
 
11194
  pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
 
11195
  (Malone #3507)
 
11196
 
 
11197
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
 
11198
  (Alexander Belchenko)
 
11199
 
 
11200
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
 
11201
 
 
11202
* Show the correct number of revisions pushed when pushing a new branch.
 
11203
  (Robert Collins).
 
11204
 
 
11205
* 'bzr selftest' now shows a progress bar with the number of tests, and
 
11206
  progress made. 'make check' shows tests in -v mode, to be more useful
 
11207
  for the PQM status window. (Robert Collins).
 
11208
  When using a progress bar, failed tests are printed out, rather than
 
11209
  being overwritten by the progress bar until the suite finishes.
 
11210
  (John Arbash Meinel)
 
11211
 
 
11212
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
 
11213
  'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
 
11214
  profile data for the individual profiled calls, allowing for fine
 
11215
  grained analysis of performance.
 
11216
  (Robert Collins, Martin Pool).
 
11217
 
 
11218
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
 
11219
  where commit can take an appreciable time. (Robert Collins)
 
11220
 
 
11221
* 'bzr add' is now less verbose in telling you what ignore globs were
 
11222
  matched by files being ignored. Instead it just tells you how many
 
11223
  were ignored (because you might reasonably be expecting none to be
 
11224
  ignored). 'bzr add -v' is unchanged and will report every ignored
 
11225
  file. (Robert Collins).
 
11226
 
 
11227
* ftp now has a test server if medusa is installed. As part of testing,
 
11228
  ftp support has been improved, including support for supplying a
 
11229
  non-standard port. (John Arbash Meinel).
 
11230
 
 
11231
* 'bzr log --line' shows the revision number, and uses only the
 
11232
  first line of the log message (#5162, Alexander Belchenko;
 
11233
  Matthieu Moy)
 
11234
 
 
11235
* 'bzr status' has had the --all option removed. The 'bzr ls' command
 
11236
  should be used to retrieve all versioned files. (Robert Collins)
 
11237
 
 
11238
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
 
11239
  over email, and applied on the other end, while maintaining ancestry.
 
11240
  This bundle can be applied with either 'bzr merge' or 'bzr pull',
 
11241
  the same way you would apply another branch.
 
11242
  (John Arbash Meinel, Aaron Bentley)
 
11243
 
 
11244
* 'bzr whoami' can now be used to set your identity from the command line,
 
11245
  for a branch or globally.  (Robey Pointer)
 
11246
 
 
11247
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
 
11248
  (Michael Ellerman)
 
11249
 
 
11250
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
 
11251
  (Aaron Bentley)
 
11252
 
 
11253
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
 
11254
  Also updates things like 'http+pycurl://' if pycurl is not present.
 
11255
  (John Arbash Meinel) (Malone #47821, #52204)
 
11256
 
 
11257
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
 
11258
  Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
 
11259
  'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
 
11260
 
 
11261
* Improve the help text for 'bzr diff' to explain what various options do.
 
11262
  (John Arbash Meinel, #6391)
 
11263
 
 
11264
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
 
11265
  revision 10. This makes -r10 more in line with what other commands do.
 
11266
  'bzr uncommit' also now saves the pending merges of the revisions that
 
11267
  were removed. So it is safe to uncommit after a merge, fix something,
 
11268
  and commit again. (John Arbash Meinel, #32526, #31426)
 
11269
 
 
11270
* 'bzr init' now also works on remote locations.
 
11271
  (Wouter van Heyst, #48904)
 
11272
 
 
11273
* HTTP support has been updated. When using pycurl we now support
 
11274
  connection keep-alive, which reduces dns requests and round trips.
 
11275
  And for both urllib and pycurl we support multi-range requests,
 
11276
  which decreases the number of round-trips. Performance results for
 
11277
  ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
 
11278
  http branching is now 2-3x faster, and ``bzr pull`` in an existing
 
11279
  branch is as much as 4x faster.
 
11280
  (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
 
11281
 
 
11282
* Performance improvements for sftp. Branching and pulling are now up to
 
11283
  2x faster. Utilize paramiko.readv() support for async requests if it
 
11284
  is available (paramiko > 1.6) (John Arbash Meinel)
 
11285
 
 
11286
Bug Fixes
 
11287
*********
 
11288
 
 
11289
* Fix shadowed definition of TestLocationConfig that caused some
 
11290
  tests not to run.
 
11291
  (Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
 
11292
 
 
11293
* Fix unnecessary requirement of sign-my-commits that it be run from
 
11294
  a working directory.  (Martin Pool, Robert Collins)
 
11295
 
 
11296
* 'bzr push location' will only remember the push location if it succeeds
 
11297
  in connecting to the remote location. (John Arbash Meinel, #49742)
 
11298
 
 
11299
* 'bzr revert' no longer toggles the executable bit on win32
 
11300
  (John Arbash Meinel, #45010)
 
11301
 
 
11302
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
 
11303
 
 
11304
* sftp tests now work correctly on win32 if you have a newer paramiko
 
11305
  (John Arbash Meinel)
 
11306
 
 
11307
* Cleanup win32 test suite, and general cleanup of places where
 
11308
  file handles were being held open. (John Arbash Meinel)
 
11309
 
 
11310
* When specifying filenames for 'diff -r x..y', the name of the file in the
 
11311
  working directory can be used, even if its name is different in both x
 
11312
  and y.
 
11313
 
 
11314
* File-ids containing single- or double-quotes are handled correctly by
 
11315
  push. (Aaron Bentley, #52227)
 
11316
 
 
11317
* Normalize unicode filenames to ensure cross-platform consistency.
 
11318
  (John Arbash Meinel, #43689)
 
11319
 
 
11320
* The argument parser can now handle '-' as an argument. Currently
 
11321
  no code interprets it specially (it is mostly handled as a file named
 
11322
  '-'). But plugins, and future operations can use it.
 
11323
  (John Arbash meinel, #50984)
 
11324
 
 
11325
* Bundles can properly read binary files with a plain '\r' in them.
 
11326
  (John Arbash Meinel, #51927)
 
11327
 
 
11328
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
 
11329
 
 
11330
* Lots of win32 fixes (the test suite passes again).
 
11331
  (John Arbash Meinel, #50155)
 
11332
 
 
11333
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
 
11334
 
 
11335
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
 
11336
 
 
11337
* Removals are only committed if they match the filespec (or if there is
 
11338
  no filespec).  (#46635, Aaron Bentley)
 
11339
 
 
11340
* smart-add recurses through all supplied directories
 
11341
  (John Arbash Meinel, #52578)
 
11342
 
 
11343
* Make the bundle reader extra lines before and after the bundle text.
 
11344
  This allows you to parse an email with the bundle inline.
 
11345
  (John Arbash Meinel, #49182)
 
11346
 
 
11347
* Change the file id generator to squash a little bit more. Helps when
 
11348
  working with long filenames on windows. (Also helps for unicode filenames
 
11349
  not generating hidden files). (John Arbash Meinel, #43801)
 
11350
 
 
11351
* Restore terminal mode on C-c while reading sftp password.  (#48923,
 
11352
  Nicholas Allen, Martin Pool)
 
11353
 
 
11354
* Timestamps are rounded to 1ms, and revision entries can be recreated
 
11355
  exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
 
11356
 
 
11357
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
 
11358
  use local paths, since it is user visible (John Arbash Meinel, #53653)
 
11359
 
 
11360
* ``bzr status foo`` when foo was unversioned used to cause a full delta
 
11361
  to be generated (John Arbash Meinel, #53638)
 
11362
 
 
11363
* When reading revision properties, an empty value should be considered
 
11364
  the empty string, not None (John Arbash Meinel, #47782)
 
11365
 
 
11366
* ``bzr diff --diff-options`` can now handle binary files being changed.
 
11367
  Also, the output is consistent when --diff-options is not supplied.
 
11368
  (John Arbash Meinel, #54651, #52930)
 
11369
 
 
11370
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
 
11371
 
 
11372
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
 
11373
  accessible (John Arbash Meinel, #52976)
 
11374
 
 
11375
Internals
 
11376
*********
 
11377
 
 
11378
* Combine the ignore rules into a single regex rather than looping over
 
11379
  them to reduce the threshold where  N^2 behaviour occurs in operations
 
11380
  like status. (Jan Hudec, Robert Collins).
 
11381
 
 
11382
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
 
11383
  one of the add functions in bzrlib.ignores. (John Arbash Meinel)
 
11384
 
 
11385
* 'bzr push' should only push the ancestry of the current revision, not
 
11386
  all of the history in the repository. This is especially important for
 
11387
  shared repositories. (John Arbash Meinel)
 
11388
 
 
11389
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
 
11390
  rather than randomly walking the inventories. (John Arbash Meinel)
 
11391
 
 
11392
* Doctests are now run in temporary directories which are cleaned up when
 
11393
  they finish, rather than using special ScratchDir/ScratchBranch objects.
 
11394
  (Martin Pool)
 
11395
 
 
11396
* Split ``check`` into separate methods on the branch and on the repository,
 
11397
  so that it can be specialized in ways that are useful or efficient for
 
11398
  different formats.  (Martin Pool, Robert Collins)
 
11399
 
 
11400
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
 
11401
  the global revision graph but only that part leading up to a particular
 
11402
  revision.  (Martin Pool, Robert Collins)
 
11403
 
 
11404
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
 
11405
  that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
 
11406
  (Robert Collins, Jelmer Vernooij).
 
11407
 
 
11408
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
 
11409
  Uses subprocess instead of spawnvp.
 
11410
  (James Henstridge, John Arbash Meinel, #4047, #48914)
 
11411
 
 
11412
* New command line option '--profile-imports', which will install a custom
 
11413
  importer to log time to import modules and regex compilation time to
 
11414
  sys.stderr (John Arbash Meinel)
 
11415
 
 
11416
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
 
11417
  instead. (Robert Collins)
 
11418
 
 
11419
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
 
11420
 
 
11421
bzr 0.8.2
 
11422
#########
 
11423
 
 
11424
:Released:  2006-05-17
 
11425
 
 
11426
Bug Fixes
 
11427
*********
 
11428
 
 
11429
* setup.py failed to install launchpad plugin.  (Martin Pool)
 
11430
 
 
11431
bzr 0.8.1
 
11432
#########
 
11433
 
 
11434
:Released:  2006-05-16
 
11435
 
 
11436
Bug Fixes
 
11437
*********
 
11438
 
 
11439
* Fix failure to commit a merge in a checkout.  (Martin Pool,
 
11440
  Robert Collins, Erik Bågfors, #43959)
 
11441
 
 
11442
* Nicer messages from 'commit' in the case of renames, and correct
 
11443
  messages when a merge has occured. (Robert Collins, Martin Pool)
 
11444
 
 
11445
* Separate functionality from assert statements as they are skipped in
 
11446
  optimized mode of python. Add the same check to pending merges.
 
11447
  (Olaf Conradi, #44443)
 
11448
 
 
11449
Changes
 
11450
*******
 
11451
 
 
11452
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
 
11453
 
 
11454
* Add info on standalone branches without a working tree.
 
11455
  (Olaf Conradi, #44155)
 
11456
 
 
11457
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
 
11458
 
 
11459
Changes
 
11460
*******
 
11461
 
 
11462
* Make editor invocation comply with Debian Policy. First check
 
11463
  environment variables VISUAL and EDITOR, then try editor from
 
11464
  alternatives system. If that all fails, fall back to the pre-defined
 
11465
  list of editors. (Olaf Conradi, #42904)
 
11466
 
 
11467
New Features
 
11468
************
 
11469
 
 
11470
* New 'register-branch' command registers a public branch into
 
11471
  Launchpad.net, where it can be associated with bugs, etc.
 
11472
  (Martin Pool, Bjorn Tillenius, Robert Collins)
 
11473
 
 
11474
Internals
 
11475
*********
 
11476
 
 
11477
* New public api in InventoryEntry - ``describe_change(old, new)`` which
 
11478
  provides a human description of the changes between two old and
 
11479
  new. (Robert Collins, Martin Pool)
 
11480
 
 
11481
Testing
 
11482
*******
 
11483
 
 
11484
* Fix test case for bzr info in upgrading a standalone branch to metadir,
 
11485
  uses bzrlib api now. (Olaf Conradi)
 
11486
 
 
11487
bzr 0.8
 
11488
#######
 
11489
 
 
11490
:Released:  2006-05-08
 
11491
 
 
11492
Notes When Upgrading
 
11493
********************
 
11494
 
 
11495
Release 0.8 of bzr introduces a new format for history storage, called
 
11496
'knit', as an evolution of to the 'weave' format used in 0.7.  Local
 
11497
and remote operations are faster using knits than weaves.  Several
 
11498
operations including 'init', 'init-repo', and 'upgrade' take a
 
11499
--format option that controls this.  Branching from an existing branch
 
11500
will keep the same format.
 
11501
 
 
11502
It is possible to merge, pull and push between branches of different
 
11503
formats but this is slower than moving data between homogenous
 
11504
branches.  It is therefore recommended (but not required) that you
 
11505
upgrade all branches for a project at the same time.  Information on
 
11506
formats is shown by 'bzr info'.
 
11507
 
 
11508
bzr 0.8 now allows creation of 'repositories', which hold the history
 
11509
of files and revisions for several branches.  Previously bzr kept all
 
11510
the history for a branch within the .bzr directory at the root of the
 
11511
branch, and this is still the default.  To create a repository, use
 
11512
the new 'bzr init-repo' command.  Branches exist as directories under
 
11513
the repository and contain just a small amount of information
 
11514
indicating the current revision of the branch.
 
11515
 
 
11516
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
 
11517
subversion.  Checkouts are associated with a branch (optionally in a
 
11518
repository), which contains all the historical information.  The
 
11519
result is that a checkout can be deleted without losing any
 
11520
already-committed revisions.  A new 'update' command is also available.
 
11521
 
 
11522
Repositories and checkouts are not supported with the 0.7 storage
 
11523
format.  To use them you must upgrad to either knits, or to the
 
11524
'metaweave' format, which uses weaves but changes the .bzr directory
 
11525
arrangement.
 
11526
 
 
11527
 
 
11528
Improvements
 
11529
************
 
11530
 
 
11531
* sftp paths can now be relative, or local, according to the lftp
 
11532
  convention. Paths now take the form::
 
11533
 
 
11534
      sftp://user:pass@host:port/~/relative/path
 
11535
      or
 
11536
      sftp://user:pass@host:port/absolute/path
 
11537
 
 
11538
* The FTP transport now tries to reconnect after a temporary
 
11539
  failure. ftp put is made atomic. (Matthieu Moy)
 
11540
 
 
11541
* The FTP transport now maintains a pool of connections, and
 
11542
  reuses them to avoid multiple connections to the same host (like
 
11543
  sftp did). (Daniel Silverstone)
 
11544
 
 
11545
* The ``bzr_man.py`` file has been removed. To create the man page now,
 
11546
  use ``./generate_docs.py man``. The new program can also create other files.
 
11547
  Run ``python generate_docs.py --help`` for usage information.
 
11548
  (Hans Ulrich Niedermann & James Blackwell).
 
11549
 
 
11550
* Man Page now gives full help (James Blackwell).
 
11551
  Help also updated to reflect user config now being stored in .bazaar
 
11552
  (Hans Ulrich Niedermann)
 
11553
 
 
11554
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
 
11555
 
 
11556
* Pull now accepts a --revision argument (Erik Bågfors)
 
11557
 
 
11558
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
 
11559
  line. You can now use the following command to sign all of your old
 
11560
  commits::
 
11561
 
 
11562
    find .bzr/revision-store// -name my@email-* \
 
11563
      | sed 's/.*\/\/..\///' \
 
11564
      | xargs bzr re-sign
 
11565
 
 
11566
* Upgrade can now upgrade over the network. (Robert Collins)
 
11567
 
 
11568
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
 
11569
  behaviour.  By default they will cache history in the checkout, but
 
11570
  with --lightweight almost all data is kept in the master branch.
 
11571
  (Robert Collins)
 
11572
 
 
11573
* 'revert' unversions newly-versioned files, instead of deleting them.
 
11574
 
 
11575
* 'merge' is more robust.  Conflict messages have changed.
 
11576
 
 
11577
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
 
11578
  '.moved'.
 
11579
 
 
11580
* Default log format can be set in configuration and plugins can register
 
11581
  their own formatters. (Erik Bågfors)
 
11582
 
 
11583
* New 'reconcile' command will check branch consistency and repair indexes
 
11584
  that can become out of sync in pre 0.8 formats. (Robert Collins,
 
11585
  Daniel Silverstone)
 
11586
 
 
11587
* New 'bzr init --format' and 'bzr upgrade --format' option to control
 
11588
  what storage format is created or produced.  (Robert Collins,
 
11589
  Martin Pool)
 
11590
 
 
11591
* Add parent location to 'bzr info', if there is one.  (Olaf Conradi)
 
11592
 
 
11593
* New developer commands 'weave-list' and 'weave-join'.  (Martin Pool)
 
11594
 
 
11595
* New 'init-repository' command, plus support for repositories in 'init'
 
11596
  and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
 
11597
 
 
11598
* Improve output of 'info' command. Show all relevant locations related to
 
11599
  working tree, branch and repository. Use kibibytes for binary quantities.
 
11600
  Fix off-by-one error in missing revisions of working tree.  Make 'info'
 
11601
  work on branches, repositories and remote locations.  Show locations
 
11602
  relative to the shared repository, if applicable.  Show locking status
 
11603
  of locations.  (Olaf Conradi)
 
11604
 
 
11605
* Diff and merge now safely handle binary files. (Aaron Bentley)
 
11606
 
 
11607
* 'pull' and 'push' now normalise the revision history, so that any two
 
11608
  branches with the same tip revision will have the same output from 'log'.
 
11609
  (Robert Collins)
 
11610
 
 
11611
* 'merge' accepts --remember option to store parent location, like 'push'
 
11612
  and 'pull'. (Olaf Conradi)
 
11613
 
 
11614
* bzr status and diff when files given as arguments do not exist
 
11615
  in the relevant trees.  (Martin Pool, #3619)
 
11616
 
 
11617
* Add '.hg' to the default ignore list.  (Martin Pool)
 
11618
 
 
11619
* 'knit' is now the default disk format. This improves disk performance and
 
11620
  utilization, increases incremental pull performance, robustness with SFTP
 
11621
  and allows checkouts over SFTP to perform acceptably.
 
11622
  The initial Knit code was contributed by Johan Rydberg based on a
 
11623
  specification by Martin Pool.
 
11624
  (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
 
11625
 
 
11626
* New tool to generate all-in-one html version of the manual.  (Alexander
 
11627
  Belchenko)
 
11628
 
 
11629
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
 
11630
  to be left in the SFTP repository. (Robert Collins, Martin Pool).
 
11631
 
 
11632
* New option 'diff --prefix' to control how files are named in diff
 
11633
  output, with shortcuts '-p0' and '-p1' corresponding to the options for
 
11634
  GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
 
11635
 
 
11636
* Add --revision option to 'annotate' command.  (Olaf Conradi)
 
11637
 
 
11638
* If bzr shows an unexpected revision-history after pulling (perhaps due
 
11639
  to a reweave) it can now be corrected by 'bzr reconcile'.
 
11640
  (Robert Collins)
 
11641
 
 
11642
Changes
 
11643
*******
 
11644
 
 
11645
* Commit is now verbose by default, and shows changed filenames and the
 
11646
  new revision number.  (Robert Collins, Martin Pool)
 
11647
 
 
11648
* Unify 'mv', 'move', 'rename'.  (Matthew Fuller, #5379)
 
11649
 
 
11650
* 'bzr -h' shows help.  (Martin Pool, Ian Bicking, #35940)
 
11651
 
 
11652
* Make 'pull' and 'push' remember location on failure using --remember.
 
11653
  (Olaf Conradi)
 
11654
 
 
11655
* For compatibility, make old format for using weaves inside metadir
 
11656
  available as 'metaweave' format.  Rename format 'metadir' to 'default'.
 
11657
  Clean up help for option --format in commands 'init', 'init-repo' and
 
11658
  'upgrade'.  (Olaf Conradi)
 
11659
 
 
11660
Internals
 
11661
*********
 
11662
 
 
11663
* The internal storage of history, and logical branch identity have now
 
11664
  been split into Branch, and Repository. The common locking and file
 
11665
  management routines are now in bzrlib.lockablefiles.
 
11666
  (Aaron Bentley, Robert Collins, Martin Pool)
 
11667
 
 
11668
* Transports can now raise DependencyNotPresent if they need a library
 
11669
  which is not installed, and then another implementation will be
 
11670
  tried.  (Martin Pool)
 
11671
 
 
11672
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
 
11673
  (Martin Pool)
 
11674
 
 
11675
* Using Tree Transform for merge, revert, tree-building
 
11676
 
 
11677
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
 
11678
  Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
 
11679
  replacement API's. (Robert Collins)
 
11680
 
 
11681
* New BzrDir class represents the .bzr control directory and manages
 
11682
  formatting issues. (Robert Collins)
 
11683
 
 
11684
* New repository.InterRepository class encapsulates Repository to
 
11685
  Repository actions and allows for clean selection of optimised code
 
11686
  paths. (Robert Collins)
 
11687
 
 
11688
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
 
11689
  deprecated, please use ``branch.fetch`` or ``repository.fetch``
 
11690
  depending on your needs. (Robert Collins)
 
11691
 
 
11692
* deprecated methods now have a ``is_deprecated`` flag on them that can
 
11693
  be checked, if you need to determine whether a given callable is
 
11694
  deprecated at runtime. (Robert Collins)
 
11695
 
 
11696
* Progress bars are now nested - see
 
11697
  ``bzrlib.ui.ui_factory.nested_progress_bar``.
 
11698
  (Robert Collins, Robey Pointer)
 
11699
 
 
11700
* New API call ``get_format_description()`` for each type of format.
 
11701
  (Olaf Conradi)
 
11702
 
 
11703
* Changed ``branch.set_parent()`` to accept None to remove parent.
 
11704
  (Olaf Conradi)
 
11705
 
 
11706
* Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
 
11707
 
 
11708
* WorkingTree.branch is now a read only property.  (Robert Collins)
 
11709
 
 
11710
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
 
11711
  can be None or a factory that will create a progress bar. This is
 
11712
  useful for testing or for overriding the bzrlib.progress heuristic.
 
11713
  (Robert Collins)
 
11714
 
 
11715
* New API method ``get_physical_lock_status()`` to query locks present on a
 
11716
  transport.  (Olaf Conradi)
 
11717
 
 
11718
* Repository.reconcile now takes a thorough keyword parameter to allow
 
11719
  requesting an indepth reconciliation, rather than just a data-loss
 
11720
  check. (Robert Collins)
 
11721
 
 
11722
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
 
11723
  the user for yes/no style input. (Robert Collins)
 
11724
 
 
11725
Testing
 
11726
*******
 
11727
 
 
11728
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
 
11729
  for testing SFTP protocol support. (Robey Pointer)
 
11730
 
 
11731
* Branch formats are now tested once per implementation (see ``bzrlib.
 
11732
  tests.branch_implementations``. This is analagous to the transport
 
11733
  interface tests, and has been followed up with working tree,
 
11734
  repository and BzrDir tests. (Robert Collins)
 
11735
 
 
11736
* New test base class TestCaseWithTransport provides a transport aware
 
11737
  test environment, useful for testing any transport-interface using
 
11738
  code. The test suite option --transport controls the transport used
 
11739
  by this class (when its not being used as part of implementation
 
11740
  contract testing). (Robert Collins)
 
11741
 
 
11742
* Close logging handler on disabling the test log. This will remove the
 
11743
  handler from the internal list inside python's logging module,
 
11744
  preventing shutdown from closing it twice.  (Olaf Conradi)
 
11745
 
 
11746
* Move test case for uncommit to blackbox tests.  (Olaf Conradi)
 
11747
 
 
11748
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
 
11749
  parameter which will provide String("foo") to the command as its stdin.
 
11750
 
 
11751
bzr 0.7
 
11752
#######
 
11753
 
 
11754
:Released: 2006-01-09
 
11755
 
 
11756
Changes
 
11757
*******
 
11758
 
 
11759
* .bzrignore is excluded from exports, on the grounds that it's a bzr
 
11760
  internal-use file and may not be wanted.  (Jamie Wilkinson)
 
11761
 
 
11762
* The "bzr directories" command were removed in favor of the new
 
11763
  --kind option to the "bzr inventory" command.  To list all
 
11764
  versioned directories, now use "bzr inventory --kind directory".
 
11765
  (Johan Rydberg)
 
11766
 
 
11767
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
 
11768
  by default. (John Arbash Meinel)
 
11769
 
 
11770
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
 
11771
  environment variable. Now the path for it is searched in ``BZR_HOME``,
 
11772
  then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
 
11773
  (usually points to ``C:\Documents and Settings\User Name\Application Data``),
 
11774
  ``HOME``. (John Arbash Meinel)
 
11775
 
 
11776
* Plugins with the same name in different directories in the bzr plugin
 
11777
  path are no longer loaded: only the first successfully loaded one is
 
11778
  used. (Robert Collins)
 
11779
 
 
11780
* Use systems' external ssh command to open connections if possible.
 
11781
  This gives better integration with user settings such as ProxyCommand.
 
11782
  (James Henstridge)
 
11783
 
 
11784
* Permissions on files underneath .bzr/ are inherited from the .bzr
 
11785
  directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
 
11786
  will mean that future file will be created with group write permissions.
 
11787
 
 
11788
* configure.in and config.guess are no longer in the builtin default
 
11789
  ignore list.
 
11790
 
 
11791
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
 
11792
  files.  (John Arbash Meinel, Martin Pool)
 
11793
 
 
11794
Improvements
 
11795
************
 
11796
 
 
11797
* "bzr INIT dir" now initializes the specified directory, and creates
 
11798
  it if it does not exist.  (John Arbash Meinel)
 
11799
 
 
11800
* New remerge command (Aaron Bentley)
 
11801
 
 
11802
* Better zsh completion script.  (Steve Borho)
 
11803
 
 
11804
* 'bzr diff' now returns 1 when there are changes in the working
 
11805
  tree. (Robert Collins)
 
11806
 
 
11807
* 'bzr push' now exists and can push changes to a remote location.
 
11808
  This uses the transport infrastructure, and can store the remote
 
11809
  location in the ~/.bazaar/branches.conf configuration file.
 
11810
  (Robert Collins)
 
11811
 
 
11812
* Test directories are only kept if the test fails and the user requests
 
11813
  that they be kept.
 
11814
 
 
11815
* Tweaks to short log printing
 
11816
 
 
11817
* Added branch nicks, new nick command, printing them in log output.
 
11818
  (Aaron Bentley)
 
11819
 
 
11820
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
 
11821
  occurs.  (Martin Pool)
 
11822
 
 
11823
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
 
11824
  the same as Subversion.  (Martin Pool)
 
11825
 
 
11826
* New ftp transport support (on ftplib), for ftp:// and aftp://
 
11827
  URLs.  (Daniel Silverstone)
 
11828
 
 
11829
* Commit editor temporary files now start with ``bzr_log.``, to allow
 
11830
  text editors to match the file name and set up appropriate modes or
 
11831
  settings.  (Magnus Therning)
 
11832
 
 
11833
* Improved performance when integrating changes from a remote weave.
 
11834
  (Goffredo Baroncelli)
 
11835
 
 
11836
* Sftp will attempt to cache the connection, so it is more likely that
 
11837
  a connection will be reused, rather than requiring multiple password
 
11838
  requests.
 
11839
 
 
11840
* bzr revno now takes an optional argument indicating the branch whose
 
11841
  revno should be printed.  (Michael Ellerman)
 
11842
 
 
11843
* bzr cat defaults to printing the last version of the file.
 
11844
  (Matthieu Moy, #3632)
 
11845
 
 
11846
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
 
11847
  profiler.  (Denys Duchier)
 
11848
 
 
11849
* Faster commits by reading only the headers of affected weave files.
 
11850
  (Denys Duchier)
 
11851
 
 
11852
* 'bzr add' now takes a --dry-run parameter which shows you what would be
 
11853
  added, but doesn't actually add anything. (Michael Ellerman)
 
11854
 
 
11855
* 'bzr add' now lists how many files were ignored per glob.  add --verbose
 
11856
  lists the specific files.  (Aaron Bentley)
 
11857
 
 
11858
* 'bzr missing' now supports displaying changes in diverged trees and can
 
11859
  be limited to show what either end of the comparison is missing.
 
11860
  (Aaron Bently, with a little prompting from Daniel Silverstone)
 
11861
 
 
11862
Bug Fixes
 
11863
*********
 
11864
 
 
11865
* SFTP can walk up to the root path without index errors. (Robert Collins)
 
11866
 
 
11867
* Fix bugs in running bzr with 'python -O'.  (Martin Pool)
 
11868
 
 
11869
* Error when run with -OO
 
11870
 
 
11871
* Fix bug in reporting http errors that don't have an http error code.
 
11872
  (Martin Pool)
 
11873
 
 
11874
* Handle more cases of pipe errors in display commands
 
11875
 
 
11876
* Change status to 3 for all errors
 
11877
 
 
11878
* Files that are added and unlinked before committing are completely
 
11879
  ignored by diff and status
 
11880
 
 
11881
* Stores with some compressed texts and some uncompressed texts are now
 
11882
  able to be used. (John A Meinel)
 
11883
 
 
11884
* Fix for bzr pull failing sometimes under windows
 
11885
 
 
11886
* Fix for sftp transport under windows when using interactive auth
 
11887
 
 
11888
* Show files which are both renamed and modified as such in 'bzr
 
11889
  status' output.  (Daniel Silverstone, #4503)
 
11890
 
 
11891
* Make annotate cope better with revisions committed without a valid
 
11892
  email address.  (Marien Zwart)
 
11893
 
 
11894
* Fix representation of tab characters in commit messages.
 
11895
  (Harald Meland)
 
11896
 
 
11897
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
 
11898
  now parsed properly under Windows. (Alexander Belchenko)
 
11899
 
 
11900
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
 
11901
 
 
11902
* Keep a cached copy of the basis inventory to speed up operations
 
11903
  that need to refer to it.  (Johan Rydberg, Martin Pool)
 
11904
 
 
11905
* Fix bugs in bzr status display of non-ascii characters.
 
11906
  (Martin Pool)
 
11907
 
 
11908
* Remove Makefile.in from default ignore list.
 
11909
  (Tollef Fog Heen, Martin Pool, #6413)
 
11910
 
 
11911
* Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
 
11912
 
 
11913
Testing
 
11914
*******
 
11915
 
 
11916
* Fix selftest asking for passwords when there are no SFTP keys.
 
11917
  (Robey Pointer, Jelmer Vernooij)
 
11918
 
 
11919
* Fix selftest run with 'python -O'.  (Martin Pool)
 
11920
 
 
11921
* Fix HTTP tests under Windows. (John Arbash Meinel)
 
11922
 
 
11923
* Make tests work even if HOME is not set (Aaron Bentley)
 
11924
 
 
11925
* Updated ``build_tree`` to use fixed line-endings for tests which read
 
11926
  the file cotents and compare. Make some tests use this to pass under
 
11927
  Windows. (John Arbash Meinel)
 
11928
 
 
11929
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
 
11930
 
 
11931
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
 
11932
  (John Arbash Meinel)
 
11933
 
 
11934
* Use terminal width to align verbose test output.  (Martin Pool)
 
11935
 
 
11936
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
 
11937
  If adding a new test script please add that to
 
11938
  ``bzrlib.tests.blackbox.__init__``. (Robert Collins)
 
11939
 
 
11940
* Much better error message if one of the test suites can't be
 
11941
  imported.  (Martin Pool)
 
11942
 
 
11943
* Make check now runs the test suite twice - once with the default locale,
 
11944
  and once with all locales forced to C, to expose bugs. This is not
 
11945
  trivially done within python, so for now its only triggered by running
 
11946
  Make check. Integrators and packagers who wish to check for full
 
11947
  platform support should run 'make check' to test the source.
 
11948
  (Robert Collins)
 
11949
 
 
11950
* Tests can now run TestSkipped if they can't execute for any reason.
 
11951
  (Martin Pool) (NB: TestSkipped should only be raised for correctable
 
11952
  reasons - see the wiki spec ImprovingBzrTestSuite).
 
11953
 
 
11954
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
 
11955
  paths for the transport tests. Introduce blackbox remote sftp tests that
 
11956
  test the same permutations. (Robert Collins, Robey Pointer)
 
11957
 
 
11958
* Transport implementation tests are now independent of the local file
 
11959
  system, which allows tests for esoteric transports, and for features
 
11960
  not available in the local file system. They also repeat for variations
 
11961
  on the URL scheme that can introduce issues in the transport code,
 
11962
  see bzrlib.transport.TransportTestProviderAdapter() for this.
 
11963
  (Robert Collins).
 
11964
 
 
11965
* ``TestCase.build_tree`` uses the transport interface to build trees,
 
11966
  pass in a transport parameter to give it an existing connection.
 
11967
  (Robert Collins).
 
11968
 
 
11969
Internals
 
11970
*********
 
11971
 
 
11972
* WorkingTree.pull has been split across Branch and WorkingTree,
 
11973
  to allow Branch only pulls. (Robert Collins)
 
11974
 
 
11975
* ``commands.display_command`` now returns the result of the decorated
 
11976
  function. (Robert Collins)
 
11977
 
 
11978
* LocationConfig now has a ``set_user_option(key, value)`` call to save
 
11979
  a setting in its matching location section (a new one is created
 
11980
  if needed). (Robert Collins)
 
11981
 
 
11982
* Branch has two new methods, ``get_push_location`` and
 
11983
  ``set_push_location`` to respectively, get and set the push location.
 
11984
  (Robert Collins)
 
11985
 
 
11986
* ``commands.register_command`` now takes an optional flag to signal that
 
11987
  the registrant is planning to decorate an existing command. When
 
11988
  given multiple plugins registering a command is not an error, and
 
11989
  the original command class (whether built in or a plugin based one) is
 
11990
  returned to the caller. There is a new error 'MustUseDecorated' for
 
11991
  signalling when a wrapping command should switch to the original
 
11992
  version. (Robert Collins)
 
11993
 
 
11994
* Some option parsing errors will raise 'BzrOptionError', allowing
 
11995
  granular detection for decorating commands. (Robert Collins).
 
11996
 
 
11997
* ``Branch.read_working_inventory`` has moved to
 
11998
  ``WorkingTree.read_working_inventory``. This necessitated changes to
 
11999
  ``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
 
12000
  WorkingTree as well. To make it clear that a WorkingTree cannot always
 
12001
  be obtained ``Branch.working_tree()`` will raise
 
12002
  ``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
 
12003
 
 
12004
* All pending merges operations from Branch are now on WorkingTree.
 
12005
  (Robert Collins)
 
12006
 
 
12007
* The follow operations from Branch have moved to WorkingTree::
 
12008
 
 
12009
      add()
 
12010
      commit()
 
12011
      move()
 
12012
      rename_one()
 
12013
      unknowns()
 
12014
 
 
12015
  (Robert Collins)
 
12016
 
 
12017
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
 
12018
 
 
12019
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
 
12020
 
 
12021
* Rename selftests to ``bzrlib.tests.test_foo``.  (John A Meinel, Martin
 
12022
  Pool)
 
12023
 
 
12024
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
 
12025
  query method. (Robert Collins)
 
12026
 
 
12027
* New options to read only the table-of-contents of a weave.
 
12028
  (Denys Duchier)
 
12029
 
 
12030
* Raise NoSuchFile when someone tries to add a non-existant file.
 
12031
  (Michael Ellerman)
 
12032
 
 
12033
* Simplify handling of DivergedBranches in ``cmd_pull()``.
 
12034
  (Michael Ellerman)
 
12035
 
 
12036
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
 
12037
  is exposed as ``Branch().control_files``. Also this has been altered with the
 
12038
  controlfile pre/suffix replaced by simple method names like 'get' and
 
12039
  'put'. (Aaron Bentley, Robert Collins).
 
12040
 
 
12041
* Deprecated functions and methods can now be marked as such using the
 
12042
  ``bzrlib.symbol_versioning`` module. Marked method have their docstring
 
12043
  updated and will issue a DeprecationWarning using the warnings module
 
12044
  when they are used. (Robert Collins)
 
12045
 
 
12046
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
 
12047
  for functions that need unicode strings. (Robert Collins)
 
12048
 
 
12049
bzr 0.6
 
12050
#######
 
12051
 
 
12052
:Released: 2005-10-28
 
12053
 
 
12054
Improvements
 
12055
************
 
12056
 
 
12057
* pull now takes --verbose to show you what revisions are added or removed
 
12058
  (John A Meinel)
 
12059
 
 
12060
* merge now takes a --show-base option to include the base text in
 
12061
  conflicts.
 
12062
  (Aaron Bentley)
 
12063
 
 
12064
* The config files are now read using ConfigObj, so '=' should be used as
 
12065
  a separator, not ':'.
 
12066
  (Aaron Bentley)
 
12067
 
 
12068
* New 'bzr commit --strict' option refuses to commit if there are
 
12069
  any unknown files in the tree.  To commit, make sure all files are
 
12070
  either ignored, added, or deleted.  (Michael Ellerman)
 
12071
 
 
12072
* The config directory is now ~/.bazaar, and there is a single file
 
12073
  ~/.bazaar/bazaar.conf storing email, editor and other preferences.
 
12074
  (Robert Collins)
 
12075
 
 
12076
* 'bzr add' no longer takes a --verbose option, and a --quiet option
 
12077
  has been added that suppresses all output.
 
12078
 
 
12079
* Improved zsh completion support in contrib/zsh, from Clint
 
12080
  Adams.
 
12081
 
 
12082
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
 
12083
  Goffredo Baroncelli.
 
12084
 
 
12085
* 'bzr check' now accepts -v for verbose reporting, and checks for
 
12086
  ghosts in the branch. (Robert Collins)
 
12087
 
 
12088
* New command 're-sign' which will regenerate the gpg signature for
 
12089
  a revision. (Robert Collins)
 
12090
 
 
12091
* If you set ``check_signatures=require`` for a path in
 
12092
  ``~/.bazaar/branches.conf`` then bzr will invoke your
 
12093
  ``gpg_signing_command`` (defaults to gpg) and record a digital signature
 
12094
  of your commit. (Robert Collins)
 
12095
 
 
12096
* New sftp transport, based on Paramiko.  (Robey Pointer)
 
12097
 
 
12098
* 'bzr pull' now accepts '--clobber' which will discard local changes
 
12099
  and make this branch identical to the source branch. (Robert Collins)
 
12100
 
 
12101
* Just give a quieter warning if a plugin can't be loaded, and
 
12102
  put the details in .bzr.log.  (Martin Pool)
 
12103
 
 
12104
* 'bzr branch' will now set the branch-name to the last component of the
 
12105
  output directory, if one was supplied.
 
12106
 
 
12107
* If the option ``post_commit`` is set to one (or more) python function
 
12108
  names (must be in the bzrlib namespace), then they will be invoked
 
12109
  after the commit has completed, with the branch and ``revision_id`` as
 
12110
  parameters. (Robert Collins)
 
12111
 
 
12112
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
 
12113
 
 
12114
* --merge-type weave is now supported for file contents.  Tree-shape
 
12115
  changes are still three-way based.  (Martin Pool, Aaron Bentley)
 
12116
 
 
12117
* 'bzr check' allows the first revision on revision-history to have
 
12118
  parents - something that is expected for cheap checkouts, and occurs
 
12119
  when conversions from baz do not have all history.  (Robert Collins).
 
12120
 
 
12121
* 'bzr merge' can now graft unrelated trees together, if your specify
 
12122
  0 as a base. (Aaron Bentley)
 
12123
 
 
12124
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
 
12125
  (Aaron Bentley)
 
12126
 
 
12127
* Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
 
12128
 
 
12129
* 'bzr merge --reprocess' minimizes conflicts
 
12130
 
 
12131
Testing
 
12132
*******
 
12133
 
 
12134
* The 'bzr selftest --pattern' option for has been removed, now
 
12135
  test specifiers on the command line can be simple strings, or
 
12136
  regexps, or both. (Robert Collins)
 
12137
 
 
12138
* Passing -v to selftest will now show the time each test took to
 
12139
  complete, which will aid in analysing performance regressions and
 
12140
  related questions. (Robert Collins)
 
12141
 
 
12142
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
 
12143
  is given. (Martin Pool)
 
12144
 
 
12145
* There is a new method for TestCaseInTempDir, assertFileEqual, which
 
12146
  will check that a given content is equal to the content of the named
 
12147
  file. (Robert Collins)
 
12148
 
 
12149
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
 
12150
  (Martin Pool)
 
12151
 
 
12152
Internals
 
12153
*********
 
12154
 
 
12155
* New 'testament' command and concept for making gpg-signatures
 
12156
  of revisions that are not tied to a particular internal
 
12157
  representation.  (Martin Pool).
 
12158
 
 
12159
* Per-revision properties ('revprops') as key-value associated
 
12160
  strings on each revision created when the revision is committed.
 
12161
  Intended mainly for the use of external tools.  (Martin Pool).
 
12162
 
 
12163
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
12164
  (Robert Collins)
 
12165
 
 
12166
* Improved command line option definitions allowing explanations
 
12167
  for individual options, among other things.  Contributed by
 
12168
  Magnus Therning.
 
12169
 
 
12170
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
12171
  Configuration is now done via the config.Config interface:
 
12172
  Depending on whether you have a Branch, a Location or no information
 
12173
  available, construct a ``*Config``, and use its ``signature_checking``,
 
12174
  ``username`` and ``user_email`` methods. (Robert Collins)
 
12175
 
 
12176
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
 
12177
  they are made available for other plugins to use. You should not
 
12178
  import other plugins during the ``__init__`` of your plugin though, as
 
12179
  no ordering is guaranteed, and the plugins directory is not on the
 
12180
  python path. (Robert Collins)
 
12181
 
 
12182
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
 
12183
  no longer takes an inventory, rather it takes an option branch
 
12184
  parameter, and if None is given will open the branch at basedir
 
12185
  implicitly. (Robert Collins)
 
12186
 
 
12187
* Cleaner exception structure and error reporting.  Suggested by
 
12188
  Scott James Remnant.  (Martin Pool)
 
12189
 
 
12190
* Branch.remove has been moved to WorkingTree, which has also gained
 
12191
  ``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
 
12192
  (Robert Collins)
 
12193
 
 
12194
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
 
12195
  added to the branch module. Use these to cause a function to run in a
 
12196
  read or write lock respectively. (Robert Collins)
 
12197
 
 
12198
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
 
12199
  which allows direct access to the common case of 'get me this file
 
12200
  from its branch'. (Robert Collins)
 
12201
 
 
12202
* Transports can register using ``register_lazy_transport``, and they
 
12203
  will be loaded when first used.  (Martin Pool)
 
12204
 
 
12205
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
 
12206
  A new option to WorkingTree.pull has been added, clobber, which will
 
12207
  ignore diverged history and pull anyway.
 
12208
  (Robert Collins)
 
12209
 
 
12210
* config.Config has a ``get_user_option`` call that accepts an option name.
 
12211
  This will be looked up in branches.conf and bazaar.conf as normal.
 
12212
  It is intended that this be used by plugins to support options -
 
12213
  options of built in programs should have specific methods on the config.
 
12214
  (Robert Collins)
 
12215
 
 
12216
* ``merge.merge_inner`` now has tempdir as an optional parameter.
 
12217
  (Robert Collins)
 
12218
 
 
12219
* Tree.kind is not recorded at the top level of the hierarchy, as it was
 
12220
  missing on EmptyTree, leading to a bug with merge on EmptyTrees.
 
12221
  (Robert Collins)
 
12222
 
 
12223
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
 
12224
  doing what it was intended to. See ``WorkingTree.__init__`` for a comment
 
12225
  about future directions. (Robert Collins/Martin Pool)
 
12226
 
 
12227
* bzrlib.transport.http has been modified so that only 404 urllib errors
 
12228
  are returned as NoSuchFile. Other exceptions will propagate as normal.
 
12229
  This allows debuging of actual errors. (Robert Collins)
 
12230
 
 
12231
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
 
12232
  to apis like 'put', 'get' and 'has'. This is to provide consistent
 
12233
  behaviour - it operates on url's only. (Robert Collins)
 
12234
 
 
12235
* Transports can register using ``register_lazy_transport``, and they
 
12236
  will be loaded when first used.  (Martin Pool)
 
12237
 
 
12238
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
 
12239
  is called by ``merge_inner``. This is so that the conflict count can be
 
12240
  retrieved (and potentially manipulated) before returning to the caller
 
12241
  of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
 
12242
  caller. (Robert Collins)
 
12243
 
 
12244
* ``revision.revision_graph`` can handle having only partial history for
 
12245
  a revision - that is no revisions in the graph with no parents.
 
12246
  (Robert Collins).
 
12247
 
 
12248
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
 
12249
  produce a branch and a list of paths, relative to that branch
 
12250
  (Aaron Bentley)
 
12251
 
 
12252
* New TestCase.addCleanup facility.
 
12253
 
 
12254
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
 
12255
  which can be used by programs importing bzrlib.
 
12256
 
 
12257
Bug Fixes
 
12258
*********
 
12259
 
 
12260
* Better handling of branches in directories with non-ascii names.
 
12261
  (Joel Rosdahl, Panagiotis Papadakos)
 
12262
 
 
12263
* Upgrades of trees with no commits will not fail due to accessing
 
12264
  [-1] in the revision-history. (Andres Salomon)
 
12265
 
 
12266
 
 
12267
bzr 0.1.1
 
12268
#########
 
12269
 
 
12270
:Released: 2005-10-12
 
12271
 
 
12272
Bug Fixes
 
12273
*********
 
12274
 
 
12275
* Fix problem in pulling over http from machines that do not
 
12276
  allow directories to be listed.
 
12277
 
 
12278
* Avoid harmless warning about invalid hash cache after
 
12279
  upgrading branch format.
 
12280
 
 
12281
Performance
 
12282
***********
 
12283
 
 
12284
* Avoid some unnecessary http operations in branch and pull.
 
12285
 
 
12286
 
 
12287
bzr 0.1
 
12288
#######
 
12289
 
 
12290
:Released: 2005-10-11
 
12291
 
 
12292
Notes
 
12293
*****
 
12294
 
 
12295
* 'bzr branch' over http initially gives a very high estimate
 
12296
  of completion time but it should fall as the first few
 
12297
  revisions are pulled in.  branch is still slow on
 
12298
  high-latency connections.
 
12299
 
 
12300
Bug Fixes
 
12301
*********
 
12302
 
 
12303
* bzr-man.py has been updated to work again. Contributed by
 
12304
  Rob Weir.
 
12305
 
 
12306
* Locking is now done with fcntl.lockf which works with NFS
 
12307
  file systems. Contributed by Harald Meland.
 
12308
 
 
12309
* When a merge encounters a file that has been deleted on
 
12310
  one side and modified on the other, the old contents are
 
12311
  written out to foo.BASE and foo.SIDE, where SIDE is this
 
12312
  or OTHER. Contributed by Aaron Bentley.
 
12313
 
 
12314
* Export was choosing incorrect file paths for the content of
 
12315
  the tarball, this has been fixed by Aaron Bentley.
 
12316
 
 
12317
* Commit will no longer commit without a log message, an
 
12318
  error is returned instead. Contributed by Jelmer Vernooij.
 
12319
 
 
12320
* If you commit a specific file in a sub directory, any of its
 
12321
  parent directories that are added but not listed will be
 
12322
  automatically included. Suggested by Michael Ellerman.
 
12323
 
 
12324
* bzr commit and upgrade did not correctly record new revisions
 
12325
  for files with only a change to their executable status.
 
12326
  bzr will correct this when it encounters it. Fixed by
 
12327
  Robert Collins
 
12328
 
 
12329
* HTTP tests now force off the use of ``http_proxy`` for the duration.
 
12330
  Contributed by Gustavo Niemeyer.
 
12331
 
 
12332
* Fix problems in merging weave-based branches that have
 
12333
  different partial views of history.
 
12334
 
 
12335
* Symlink support: working with symlinks when not in the root of a
 
12336
  bzr tree was broken, patch from Scott James Remnant.
 
12337
 
 
12338
Improvements
 
12339
************
 
12340
 
 
12341
* 'branch' now accepts a --basis parameter which will take advantage
 
12342
  of local history when making a new branch. This allows faster
 
12343
  branching of remote branches. Contributed by Aaron Bentley.
 
12344
 
 
12345
* New tree format based on weave files, called version 5.
 
12346
  Existing branches can be upgraded to this format using
 
12347
  'bzr upgrade'.
 
12348
 
 
12349
* Symlinks are now versionable. Initial patch by
 
12350
  Erik Toubro Nielsen, updated to head by Robert Collins.
 
12351
 
 
12352
* Executable bits are tracked on files. Patch from Gustavo
 
12353
  Niemeyer.
 
12354
 
 
12355
* 'bzr status' now shows unknown files inside a selected directory.
 
12356
  Patch from Heikki Paajanen.
 
12357
 
 
12358
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
 
12359
  and 'resolve' have needed added, which list and remove those
 
12360
  merge conflicts respectively. A conflicted tree cannot be committed
 
12361
  in. Contributed by Aaron Bentley.
 
12362
 
 
12363
* 'rm' is now an alias for 'remove'.
 
12364
 
 
12365
* Stores now split out their content in a single byte prefixed hash,
 
12366
  dropping the density of files per directory by 256. Contributed by
 
12367
  Gustavo Niemeyer.
 
12368
 
 
12369
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
 
12370
  Contributed by Robert Collins.
 
12371
 
 
12372
* 'bzr log' with the default formatter will show merged revisions,
 
12373
  indented to the right. Initial implementation contributed by Gustavo
 
12374
  Niemeyer, made incremental by Robert Collins.
 
12375
 
 
12376
 
 
12377
Internals
 
12378
*********
 
12379
 
 
12380
* Test case failures have the exception printed after the log
 
12381
  for your viewing pleasure.
 
12382
 
 
12383
* InventoryEntry is now an abstract base class, use one of the
 
12384
  concrete InventoryDirectory etc classes instead.
 
12385
 
 
12386
* Branch raises an UnsupportedFormatError when it detects a
 
12387
  bzr branch it cannot understand. This allows for precise
 
12388
  handling of such circumstances.
 
12389
 
 
12390
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
 
12391
  list of their ids and ``parent_sha1s`` is a list of their corresponding
 
12392
  sha1s (for old branches only at the moment.)
 
12393
 
 
12394
* New method-object style interface for Commit() and Fetch().
 
12395
 
 
12396
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
 
12397
  we call them revisions not patches.
 
12398
 
 
12399
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``.  The destination
 
12400
  directory is created if it doesn't exist.
 
12401
 
 
12402
* Inventories now identify the files which were present by
 
12403
  giving the revision *of that file*.
 
12404
 
 
12405
* Inventory and Revision XML contains a version identifier.
 
12406
  This must be consistent with the overall branch version
 
12407
  but allows for more flexibility in future upgrades.
 
12408
 
 
12409
Testing
 
12410
*******
 
12411
 
 
12412
* Removed testsweet module so that tests can be run after
 
12413
  bzr installed by 'bzr selftest'.
 
12414
 
 
12415
* 'bzr selftest' command-line arguments can now be partial ids
 
12416
  of tests to run, e.g. ``bzr selftest test_weave``
 
12417
 
 
12418
 
 
12419
bzr 0.0.9
 
12420
#########
 
12421
 
 
12422
:Released: 2005-09-23
 
12423
 
 
12424
Bug Fixes
 
12425
*********
 
12426
 
 
12427
* Fixed "branch -r" option.
 
12428
 
 
12429
* Fix remote access to branches containing non-compressed history.
 
12430
  (Robert Collins).
 
12431
 
 
12432
* Better reliability of http server tests.  (John Arbash-Meinel)
 
12433
 
 
12434
* Merge graph maximum distance calculation fix.  (Aaron Bentley)
 
12435
 
 
12436
* Various minor bug in windows support have been fixed, largely in the
 
12437
  test suite. Contributed by Alexander Belchenko.
 
12438
 
 
12439
Improvements
 
12440
************
 
12441
 
 
12442
* Status now accepts a -r argument to give status between chosen
 
12443
  revisions. Contributed by Heikki Paajanen.
 
12444
 
 
12445
* Revision arguments no longer use +/-/= to control ranges, instead
 
12446
  there is a 'before' namespace, which limits the successive namespace.
 
12447
  For example '$ bzr log -r date:yesterday..before:date:today' will
 
12448
  select everything from yesterday and before today. Contributed by
 
12449
  Robey Pointer
 
12450
 
 
12451
* There is now a bzr.bat file created by distutils when building on
 
12452
  Windows. Contributed by Alexander Belchenko.
 
12453
 
 
12454
Internals
 
12455
*********
 
12456
 
 
12457
* Removed uuid() as it was unused.
 
12458
 
 
12459
* Improved 'fetch' code for pulling revisions from one branch into
 
12460
  another (used by pull, merged, etc.)
 
12461
 
 
12462
 
 
12463
bzr 0.0.8
 
12464
#########
 
12465
 
 
12466
:Released: 2005-09-20
 
12467
 
 
12468
 
 
12469
Improvements
 
12470
************
 
12471
 
 
12472
* Adding a file whose parent directory is not versioned will
 
12473
  implicitly add the parent, and so on up to the root. This means
 
12474
  you should never need to explictly add a directory, they'll just
 
12475
  get added when you add a file in the directory.  Contributed by
 
12476
  Michael Ellerman.
 
12477
 
 
12478
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
 
12479
  (Nir Soffer)
 
12480
 
 
12481
* If you set ``BZR_EDITOR`` in the environment, it is checked in
 
12482
  preference to EDITOR and the config file for the interactive commit
 
12483
  editing program. Related to this is a bugfix where a missing program
 
12484
  set in EDITOR would cause editing to fail, now the fallback program
 
12485
  for the operating system is still tried.
 
12486
 
 
12487
* Files that are not directories/symlinks/regular files will no longer
 
12488
  cause bzr to fail, it will just ignore them by default. You cannot add
 
12489
  them to the tree though - they are not versionable.
 
12490
 
 
12491
 
 
12492
Internals
 
12493
*********
 
12494
 
 
12495
* Refactor xml packing/unpacking.
 
12496
 
 
12497
Bug Fixes
 
12498
*********
 
12499
 
 
12500
* Fixed 'bzr mv' by Ollie Rutherfurd.
 
12501
 
 
12502
* Fixed strange error when trying to access a nonexistent http
 
12503
  branch.
 
12504
 
 
12505
* Make sure that the hashcache gets written out if it can't be
 
12506
  read.
 
12507
 
 
12508
 
 
12509
Portability
 
12510
***********
 
12511
 
 
12512
* Various Windows fixes from Ollie Rutherfurd.
 
12513
 
 
12514
* Quieten warnings about locking; patch from Matt Lavin.
 
12515
 
 
12516
 
 
12517
bzr-0.0.7
 
12518
#########
 
12519
 
 
12520
:Released: 2005-09-02
 
12521
 
 
12522
New Features
 
12523
************
 
12524
 
 
12525
* ``bzr shell-complete`` command contributed by Clint Adams to
 
12526
  help with intelligent shell completion.
 
12527
 
 
12528
* New expert command ``bzr find-merge-base`` for debugging merges.
 
12529
 
 
12530
 
 
12531
Enhancements
 
12532
************
 
12533
 
 
12534
* Much better merge support.
 
12535
 
 
12536
* merge3 conflicts are now reported with markers like '<<<<<<<'
 
12537
  (seven characters) which is the same as CVS and pleases things
 
12538
  like emacs smerge.
 
12539
 
 
12540
 
 
12541
Bug Fixes
 
12542
*********
 
12543
 
 
12544
* ``bzr upgrade`` no longer fails when trying to fix trees that
 
12545
  mention revisions that are not present.
 
12546
 
 
12547
* Fixed bugs in listing plugins from ``bzr plugins``.
 
12548
 
 
12549
* Fix case of $EDITOR containing options for the editor.
 
12550
 
 
12551
* Fix log -r refusing to show the last revision.
 
12552
  (Patch from Goffredo Baroncelli.)
 
12553
 
 
12554
 
 
12555
Changes
 
12556
*******
 
12557
 
 
12558
* ``bzr log --show-ids`` shows the revision ids of all parents.
 
12559
 
 
12560
* Externally provided commands on your $BZRPATH no longer need
 
12561
  to recognize --bzr-usage to work properly, and can just handle
 
12562
  --help themselves.
 
12563
 
 
12564
 
 
12565
Library
 
12566
*******
 
12567
 
 
12568
* Changed trace messages to go through the standard logging
 
12569
  framework, so that they can more easily be redirected by
 
12570
  libraries.
 
12571
 
 
12572
 
 
12573
 
 
12574
bzr-0.0.6
 
12575
#########
 
12576
 
 
12577
:Released: 2005-08-18
 
12578
 
 
12579
New Features
 
12580
************
 
12581
 
 
12582
* Python plugins, automatically loaded from the directories on
 
12583
  ``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
 
12584
 
 
12585
* New 'bzr mkdir' command.
 
12586
 
 
12587
* Commit mesage is fetched from an editor if not given on the
 
12588
  command line; patch from Torsten Marek.
 
12589
 
 
12590
* ``bzr log -m FOO`` displays commits whose message matches regexp
 
12591
  FOO.
 
12592
 
 
12593
* ``bzr add`` with no arguments adds everything under the current directory.
 
12594
 
 
12595
* ``bzr mv`` does move or rename depending on its arguments, like
 
12596
  the Unix command.
 
12597
 
 
12598
* ``bzr missing`` command shows a summary of the differences
 
12599
  between two trees.  (Merged from John Arbash-Meinel.)
 
12600
 
 
12601
* An email address for commits to a particular tree can be
 
12602
  specified by putting it into .bzr/email within a branch.  (Based
 
12603
  on a patch from Heikki Paajanen.)
 
12604
 
 
12605
 
 
12606
Enhancements
 
12607
************
 
12608
 
 
12609
* Faster working tree operations.
 
12610
 
 
12611
 
 
12612
Changes
 
12613
*******
 
12614
 
 
12615
* 3rd-party modules shipped with bzr are copied within the bzrlib
 
12616
  python package, so that they can be installed by the setup
 
12617
  script without clashing with anything already existing on the
 
12618
  system.  (Contributed by Gustavo Niemeyer.)
 
12619
 
 
12620
* Moved plugins directory to bzrlib/, so that there's a standard
 
12621
  plugin directory which is not only installed with bzr itself but
 
12622
  is also available when using bzr from the development tree.
 
12623
  ``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
 
12624
  standard plugins directory.
 
12625
 
 
12626
* When exporting to a tarball with ``bzr export --format tgz``, put
 
12627
  everything under a top directory rather than dumping it into the
 
12628
  current directory.   This can be overridden with the ``--root``
 
12629
  option.  Patch from William Dodé and John Meinel.
 
12630
 
 
12631
* New ``bzr upgrade`` command to upgrade the format of a branch,
 
12632
  replacing ``bzr check --update``.
 
12633
 
 
12634
* Files within store directories are no longer marked readonly on
 
12635
  disk.
 
12636
 
 
12637
* Changed ``bzr log`` output to a more compact form suggested by
 
12638
  John A Meinel.  Old format is available with the ``--long`` or
 
12639
  ``-l`` option, patched by William Dodé.
 
12640
 
 
12641
* By default the commit command refuses to record a revision with
 
12642
  no changes unless the ``--unchanged`` option is given.
 
12643
 
 
12644
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
 
12645
  line options must come before the command name because they
 
12646
  affect what commands are available; all other options must come
 
12647
  after the command name because their interpretation depends on
 
12648
  it.
 
12649
 
 
12650
* ``branch`` and ``clone`` added as aliases for ``branch``.
 
12651
 
 
12652
* Default log format is back to the long format; the compact one
 
12653
  is available with ``--short``.
 
12654
 
 
12655
 
 
12656
Bug Fixes
 
12657
*********
 
12658
 
 
12659
* Fix bugs in committing only selected files or within a subdirectory.
 
12660
 
 
12661
 
 
12662
bzr-0.0.5
 
12663
#########
 
12664
 
 
12665
:Released:  2005-06-15
 
12666
 
 
12667
Changes
 
12668
*******
 
12669
 
 
12670
* ``bzr`` with no command now shows help rather than giving an
 
12671
  error.  Suggested by Michael Ellerman.
 
12672
 
 
12673
* ``bzr status`` output format changed, because svn-style output
 
12674
  doesn't really match the model of bzr.  Now files are grouped by
 
12675
  status and can be shown with their IDs.  ``bzr status --all``
 
12676
  shows all versioned files and unknown files but not ignored files.
 
12677
 
 
12678
* ``bzr log`` runs from most-recent to least-recent, the reverse
 
12679
  of the previous order.  The previous behaviour can be obtained
 
12680
  with the ``--forward`` option.
 
12681
 
 
12682
* ``bzr inventory`` by default shows only filenames, and also ids
 
12683
  if ``--show-ids`` is given, in which case the id is the second
 
12684
  field.
 
12685
 
 
12686
 
 
12687
Enhancements
 
12688
************
 
12689
 
 
12690
* New 'bzr whoami --email' option shows only the email component
 
12691
  of the user identification, from Jo Vermeulen.
 
12692
 
 
12693
* New ``bzr ignore PATTERN`` command.
 
12694
 
 
12695
* Nicer error message for broken pipe, interrupt and similar
 
12696
  conditions that don't indicate an internal error.
 
12697
 
 
12698
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
 
12699
 
 
12700
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
 
12701
  either read or write mode.
 
12702
 
 
12703
* New option ``bzr log --show-ids`` shows revision and file ids.
 
12704
 
 
12705
* New usage ``bzr log FILENAME`` shows only revisions that
 
12706
  affected that file.
 
12707
 
 
12708
* Changed format for describing changes in ``bzr log -v``.
 
12709
 
 
12710
* New option ``bzr commit --file`` to take a message from a file,
 
12711
  suggested by LarstiQ.
 
12712
 
 
12713
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
 
12714
  Oler.  File may be in a branch other than the working directory.
 
12715
 
 
12716
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
 
12717
  a filename.
 
12718
 
 
12719
* Commands can now be defined by external programs or scripts
 
12720
  in a directory on $BZRPATH.
 
12721
 
 
12722
* New "stat cache" avoids reading the contents of files if they
 
12723
  haven't changed since the previous time.
 
12724
 
 
12725
* If the Python interpreter is too old, try to find a better one
 
12726
  or give an error.  Based on a patch from Fredrik Lundh.
 
12727
 
 
12728
* New optional parameter ``bzr info [BRANCH]``.
 
12729
 
 
12730
* New form ``bzr commit SELECTED`` to commit only selected files.
 
12731
 
 
12732
* New form ``bzr log -r FROM:TO`` shows changes in selected
 
12733
  range; contributed by John A Meinel.
 
12734
 
 
12735
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
 
12736
  options through to an external GNU diff.
 
12737
 
 
12738
* New option ``bzr add --no-recurse`` to add a directory but not
 
12739
  their contents.
 
12740
 
 
12741
* ``bzr --version`` now shows more information if bzr is being run
 
12742
  from a branch.
 
12743
 
 
12744
 
 
12745
Bug Fixes
 
12746
*********
 
12747
 
 
12748
* Fixed diff format so that added and removed files will be
 
12749
  handled properly by patch.  Fix from Lalo Martins.
 
12750
 
 
12751
* Various fixes for files whose names contain spaces or other
 
12752
  metacharacters.
 
12753
 
 
12754
 
 
12755
Testing
 
12756
*******
 
12757
 
 
12758
* Converted black-box test suites from Bourne shell into Python;
 
12759
  now run using ``./testbzr``.  Various structural improvements to
 
12760
  the tests.
 
12761
 
 
12762
* testbzr by default runs the version of bzr found in the same
 
12763
  directory as the tests, or the one given as the first parameter.
 
12764
 
 
12765
* testbzr also runs the internal tests, so the only command
 
12766
  required to check is just ``./testbzr``.
 
12767
 
 
12768
* testbzr requires python2.4, but can be used to test bzr running
 
12769
  under a different version.
 
12770
 
 
12771
* Tests added for many other changes in this release.
 
12772
 
 
12773
 
 
12774
Internal
 
12775
********
 
12776
 
 
12777
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
 
12778
 
 
12779
* Refactor command functions into Command objects based on HCT by
 
12780
  Scott James Remnant.
 
12781
 
 
12782
* Better help messages for many commands.
 
12783
 
 
12784
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
 
12785
  this is called trace messages are just discarded.
 
12786
 
 
12787
* New internal function ``find_touching_revisions()`` and hidden
 
12788
  command touching-revisions trace the changes to a given file.
 
12789
 
 
12790
* Simpler and faster ``compare_inventories()`` function.
 
12791
 
 
12792
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
 
12793
 
 
12794
* New AtomicFile class.
 
12795
 
 
12796
* New developer commands ``added``, ``modified``.
 
12797
 
 
12798
 
 
12799
Portability
 
12800
***********
 
12801
 
 
12802
* Cope on Windows on python2.3 by using the weaker random seed.
 
12803
  2.4 is now only recommended.
 
12804
 
 
12805
 
 
12806
bzr-0.0.4
 
12807
#########
 
12808
 
 
12809
:Released:  2005-04-22
 
12810
 
 
12811
Enhancements
 
12812
************
 
12813
 
 
12814
* 'bzr diff' optionally takes a list of files to diff.  Still a bit
 
12815
  basic.  Patch from QuantumG.
 
12816
 
 
12817
* More default ignore patterns.
 
12818
 
 
12819
* New 'bzr log --verbose' shows a list of files changed in the
 
12820
  changeset.  Patch from Sebastian Cote.
 
12821
 
 
12822
* Roll over ~/.bzr.log if it gets too large.
 
12823
 
 
12824
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
 
12825
  by Jason Diamon.
 
12826
 
 
12827
* New 'bzr help commands' based on a patch from Denys Duchier.
 
12828
 
 
12829
 
 
12830
Changes
 
12831
*******
 
12832
 
 
12833
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
 
12834
  or $EMAIL.  All are decoded by the locale preferred encoding.
 
12835
  If none of these are present user@hostname is used.  The host's
 
12836
  fully-qualified name is not used because that tends to fail when
 
12837
  there are DNS problems.
 
12838
 
 
12839
* New 'bzr whoami' command instead of username user-email.
 
12840
 
 
12841
 
 
12842
Bug Fixes
 
12843
*********
 
12844
 
 
12845
* Make commit safe for hardlinked bzr trees.
 
12846
 
 
12847
* Some Unicode/locale fixes.
 
12848
 
 
12849
* Partial workaround for ``difflib.unified_diff`` not handling
 
12850
  trailing newlines properly.
 
12851
 
 
12852
 
 
12853
Internal
 
12854
********
 
12855
 
 
12856
* Allow docstrings for help to be in PEP0257 format.  Patch from
 
12857
  Matt Brubeck.
 
12858
 
 
12859
* More tests in test.sh.
 
12860
 
 
12861
* Write profile data to a temporary file not into working
 
12862
  directory and delete it when done.
 
12863
 
 
12864
* Smaller .bzr.log with process ids.
 
12865
 
 
12866
 
 
12867
Portability
 
12868
***********
 
12869
 
 
12870
* Fix opening of ~/.bzr.log on Windows.  Patch from Andrew
 
12871
  Bennetts.
 
12872
 
 
12873
* Some improvements in handling paths on Windows, based on a patch
 
12874
  from QuantumG.
 
12875
 
 
12876
 
 
12877
bzr-0.0.3
 
12878
#########
 
12879
 
 
12880
:Released:  2005-04-06
 
12881
 
 
12882
Enhancements
 
12883
************
 
12884
 
 
12885
* New "directories" internal command lists versioned directories
 
12886
  in the tree.
 
12887
 
 
12888
* Can now say "bzr commit --help".
 
12889
 
 
12890
* New "rename" command to rename one file to a different name
 
12891
  and/or directory.
 
12892
 
 
12893
* New "move" command to move one or more files into a different
 
12894
  directory.
 
12895
 
 
12896
* New "renames" command lists files renamed since base revision.
 
12897
 
 
12898
* New cat command contributed by janmar.
 
12899
 
 
12900
Changes
 
12901
*******
 
12902
 
 
12903
* .bzr.log is placed in $HOME (not pwd) and is always written in
 
12904
  UTF-8.  (Probably not a completely good long-term solution, but
 
12905
  will do for now.)
 
12906
 
 
12907
Portability
 
12908
***********
 
12909
 
 
12910
* Workaround for difflib bug in Python 2.3 that causes an
 
12911
  exception when comparing empty files.  Reported by Erik Toubro
 
12912
  Nielsen.
 
12913
 
 
12914
Internal
 
12915
********
 
12916
 
 
12917
* Refactored inventory storage to insert a root entry at the top.
 
12918
 
 
12919
Testing
 
12920
*******
 
12921
 
 
12922
* Start of shell-based black-box testing in test.sh.
 
12923
 
 
12924
 
 
12925
bzr-0.0.2.1
 
12926
###########
 
12927
 
 
12928
Portability
 
12929
***********
 
12930
 
 
12931
* Win32 fixes from Steve Brown.
 
12932
 
 
12933
 
 
12934
bzr-0.0.2
 
12935
#########
 
12936
 
 
12937
:Codename: "black cube"
 
12938
:Released: 2005-03-31
 
12939
 
 
12940
Enhancements
 
12941
************
 
12942
 
 
12943
* Default ignore list extended (see bzrlib/__init__.py).
 
12944
 
 
12945
* Patterns in .bzrignore are now added to the default ignore list,
 
12946
  rather than replacing it.
 
12947
 
 
12948
* Ignore list isn't reread for every file.
 
12949
 
 
12950
* More help topics.
 
12951
 
 
12952
* Reinstate the 'bzr check' command to check invariants of the
 
12953
  branch.
 
12954
 
 
12955
* New 'ignored' command lists which files are ignored and why;
 
12956
  'deleted' lists files deleted in the current working tree.
 
12957
 
 
12958
* Performance improvements.
 
12959
 
 
12960
* New global --profile option.
 
12961
 
 
12962
* Ignore patterns like './config.h' now correctly match files in
 
12963
  the root directory only.
 
12964
 
 
12965
 
 
12966
bzr-0.0.1
 
12967
#########
 
12968
 
 
12969
:Released:  2005-03-26
 
12970
 
 
12971
Enhancements
 
12972
************
 
12973
 
 
12974
* More information from info command.
 
12975
 
 
12976
* Can now say "bzr help COMMAND" for more detailed help.
 
12977
 
 
12978
* Less file flushing and faster performance when writing logs and
 
12979
  committing to stores.
 
12980
 
 
12981
* More useful verbose output from some commands.
 
12982
 
 
12983
Bug Fixes
 
12984
*********
 
12985
 
 
12986
* Fix inverted display of 'R' and 'M' during 'commit -v'.
 
12987
 
 
12988
Portability
 
12989
***********
 
12990
 
 
12991
* Include a subset of ElementTree-1.2.20040618 to make
 
12992
  installation easier.
 
12993
 
 
12994
* Fix time.localtime call to work with Python 2.3 (the minimum
 
12995
  supported).
 
12996
 
 
12997
 
 
12998
bzr-0.0.0.69
 
12999
############
 
13000
 
 
13001
:Released:  2005-03-22
 
13002
 
 
13003
Enhancements
 
13004
************
 
13005
 
 
13006
* First public release.
 
13007
 
 
13008
* Storage of local versions: init, add, remove, rm, info, log,
 
13009
  diff, status, etc.
 
13010
 
 
13011
 
 
13012
..
 
13013
   vim: tw=74 ft=rst ff=unix encoding=utf-8