/brz/remove-bazaar

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

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Martin Pool
  • Date: 2010-08-13 07:56:06 UTC
  • mfrom: (5050.17.4 2.2)
  • mto: (5050.17.6 2.2)
  • mto: This revision was merged to the branch mainline in revision 5379.
  • Revision ID: mbp@sourcefrog.net-20100813075606-8zgmov3ezwans2zo
merge bzr 2.2

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.2.1
 
9
#########
 
10
 
 
11
:Codename: ??
 
12
:2.2.1: NOT RELEASED YET
 
13
 
 
14
Compatibility Breaks
 
15
********************
 
16
 
 
17
Bug Fixes
 
18
*********
 
19
 
 
20
* CommitBuilder now uses the committer instead of _config.username to generate
 
21
  the revision-id.  (Aaron Bentley, #614404)
 
22
 
 
23
Improvements
 
24
************
 
25
 
 
26
Documentation
 
27
*************
 
28
 
 
29
 
 
30
API Changes
 
31
***********
 
32
 
 
33
Testing
 
34
*******
 
35
 
 
36
bzr 2.2
 
37
#######
 
38
 
 
39
:Codename: La Hulpe
 
40
:2.2: 2010-08-06
 
41
 
 
42
This release marks the start of another long-term-stable series. From
 
43
here, we will only make bugfix releases on the 2.2 series (2.2.1, etc),
 
44
while 2.3 will become our new development series. The 2.0 and 2.1 series
 
45
will also continue to get bugfixes. (Currently 2.0 is planned to be
 
46
supported for another 6 months.)
 
47
 
 
48
This is primarily a bugfix and polish release over the 2.1 series, with
 
49
a large number of bugs fixed (>120), and some performance improvements.
 
50
 
 
51
There are some compatibility changes in this release.  For users of bzrlib
 
52
as a library, we now request that they call ``bzrlib.initialize`` and use
 
53
the returned context manager appropriately. For commandline users we no
 
54
longer guess user identity for ``bzr commit``, users must specify their
 
55
identity using ``bzr whoami`` (you don't need to specify your identity for
 
56
readonly operations).
 
57
 
 
58
Users are encouraged to upgrade from the other stable series.
 
59
 
 
60
Compatibility Breaks
 
61
********************
 
62
 
 
63
* BzrError subclasses no longer support the name "message" to be used
 
64
  as an argument for __init__ or in _fmt format specification as this
 
65
  breaks in some Python versions. errors.LockError.__init__ argument
 
66
  is now named "msg" instead of earlier "message".
 
67
  (Parth Malwankar, #603461)
 
68
 
 
69
* The old ``bzr selftest --benchmark`` option has been removed.
 
70
  <https://launchpad.net/bzr-usertest> is an actively-maintained
 
71
  macrobenchmark suite.
 
72
  (Martin Pool)
 
73
 
 
74
Bug Fixes
 
75
*********
 
76
 
 
77
* ``bzr ignore PATTERNS`` exits with error if a bad pattern is supplied.
 
78
  ``InvalidPattern`` exception error message now shows faulting
 
79
  regular expression.
 
80
  (Parth Malwankar #300062)
 
81
 
 
82
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
83
  way which should help avoid problems with concurrent writers.
 
84
  (Vincent Ladeuil, #525571)
 
85
 
 
86
* Don't traceback trying to unversion children files of an already
 
87
  unversioned directory.  (Vincent Ladeuil, #494221)
 
88
 
 
89
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
 
90
  with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
 
91
 
 
92
* Progress bars prefer to truncate the text message rather than the
 
93
  counters.  The spinner is shown between the network transfer indicator
 
94
  and the progress message.  Progress bars are correctly cleared off when 
 
95
  they finish.  (Martin Pool, #611127)
 
96
 
 
97
* Recursive binding for checkouts is now detected by bzr. A clear error
 
98
  message is shown to the user. (Parth Malwankar, #405192)
 
99
 
 
100
Improvements
 
101
************
 
102
 
 
103
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
 
104
  tree, and works with unrelated branches.  (Andrew Bennetts)
 
105
 
 
106
* Add py2exe windows target ``bzrw.exe``. This allow for starting a Bazaar
 
107
  GUI with out have a console open in the background.
 
108
  (Gary van der Merwe, #433781)
 
109
 
 
110
Documentation
 
111
*************
 
112
 
 
113
* ``bzr help patterns`` now explains case insensitive patterns and
 
114
  points to Python regular expression documentation.
 
115
  (Parth Malwankar, #594386)
 
116
 
 
117
API Changes
 
118
***********
 
119
 
 
120
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
 
121
 
 
122
Testing
 
123
*******
 
124
 
 
125
* Unit test added to ensure that "message" is not uses as a format variable
 
126
  name in BzrError subclasses as this conflicts with some Python versions.
 
127
  (Parth Malwankar, #603461)
 
128
 
 
129
bzr 2.2b4
 
130
#########
 
131
 
 
132
:Codename: Monkey Magic
 
133
:2.2b4: 2004-07-09
 
134
 
 
135
 
 
136
This fourth and final beta in the 2.2 series now stabilizes the internal
 
137
APIs. Plugin authors are recommended to ensure their releases are
 
138
compatible, so that 2.2rc1 can be a true release candidate, containing
 
139
stable and compatible plugin versions. 
 
140
 
 
141
For users of bzrlib as a library, one of the primary changes is to request
 
142
that they call ``bzrlib.initialize`` and use the returned context manager
 
143
appropriately.
 
144
 
 
145
Better interaction with ``bzr-loom`` to make sure branching from a loom
 
146
even over a smart server still yields a local loom. Not to mention lots of
 
147
bugfixes over 2.2b3.
 
148
 
 
149
Compatibility Breaks
 
150
********************
 
151
 
 
152
* bzrlib library users now need to call ``__enter__`` and ``__exit__`` on
 
153
  the result of ``bzrlib.initialize``. This change was made when fixing
 
154
  the bad habit recent bzr versions have had of leaving progress bars 
 
155
  behind on the screen. That required calling another function before
 
156
  exiting the program, and it made sense to provide a full context
 
157
  manager at the same time. (Robert Collins)
 
158
 
 
159
* The ``bzr`` front end now requires a ``bzrlib.ui.ui_factory`` which is a
 
160
  context manager in the Python 2.5 and above sense. The bzrlib base class
 
161
  is such a manager, but third party UI factories which do not derive from
 
162
  ``bzrlib.ui.UIFactory`` will be incompatible with the command line front
 
163
  end.
 
164
 
 
165
* URLs like ``foo:bar/baz`` are now always parsed as a URL with scheme "foo"
 
166
  and path "bar/baz", even if bzr does not recognize "foo" as a known URL
 
167
  scheme.  Previously these URLs would be treated as local paths.
 
168
  (Gordon Tyler)
 
169
 
 
170
 
 
171
New Features
 
172
************
 
173
 
 
174
* Support ``--directory`` option for a number of additional commands:
 
175
  conflicts, merge-directive, missing, resolve, shelve, switch,
 
176
  unshelve, whoami. (Martin von Gagern, #527878)
 
177
 
 
178
Bug Fixes
 
179
*********
 
180
 
 
181
* ``bzr branch`` to a new repository with a default stacking policy no
 
182
  longer transfers the full history unnecessarily.
 
183
  (Andrew Bennetts, #597942)
 
184
 
 
185
* ``bzr init`` does not recursively scan directory contents anymore
 
186
  leading to faster init for directories with existing content.
 
187
  (Martin [gz], Parth Malwankar, #501307)
 
188
 
 
189
* ``bzr log --exclude-common-ancestry`` is now taken into account for
 
190
  linear ancetries. (Vincent Ladeuil, #575631)
 
191
 
 
192
* ``bzr log -r branch:REMOTE`` can now properly log the remote branch,
 
193
  rather than trying to fetch the data locally and failing because of a
 
194
  readonly error. (Martin von Gagern, #149270)
 
195
 
 
196
* ``bzr pull`` now works when a lp: URL is explicitly defined as the parent
 
197
  or pull location in locations.conf or branch.conf.
 
198
  (Gordon Tyler, #534787)
 
199
 
 
200
* ``bzr reconfigure --unstacked`` now works with branches accessed via a
 
201
  smart server. (Andrew Bennetts, #551525)
 
202
 
 
203
* ``BzrDir.find_branches`` should ignore branches with missing repositories.
 
204
  (Marius Kruger, Robert Collins)
 
205
 
 
206
* ``BzrDir.find_bzrdirs`` should ignore dirs that raises PermissionDenied.
 
207
  (Marius Kruger, Robert Collins)
 
208
 
 
209
* Ensure that wrong path specifications in ``BZR_PLUGINS_AT`` display
 
210
  proper error messages. (Vincent Ladeuil, #591215)
 
211
 
 
212
* Explicitly removing ``--profile-imports`` option from parsed command-line
 
213
  arguments on Windows, because bzr script does the same.
 
214
  (Alexander Belchenko, #588277)
 
215
 
 
216
* Fetching was slightly confused about the best code to use and was
 
217
  using a new code path for all branches, resulting in more lookups than
 
218
  necessary on old branches. (Robert Collins, #593515)
 
219
 
 
220
* Final fix for 'no help for command' issue. We now show a clean message
 
221
  when a command has no help, document how to set help more clearly, and
 
222
  test that all commands available to the test suite have help.
 
223
  (Robert Collins, #177500)
 
224
 
 
225
* Invalid patterns supplied to ``Globster`` or ``lazy_regex`` now raise
 
226
  ``InvalidPattern`` exception showing clear error message to the user.
 
227
  (Parth Malwankar #300062)
 
228
 
 
229
* Progress output is cleaned up when exiting.  (Aaron Bentley)
 
230
 
 
231
* Raise ValueError instead of a string exception.
 
232
  (John Arbash Meinel, #586926)
 
233
 
 
234
* Relative imports in plugins are now handled correctly when using
 
235
  BZR_PLUGINS_AT. (Vincent Ladeuil, #588959)
 
236
 
 
237
* ``ScriptRunner`` now strips off leading indentation from test scripts,
 
238
  which previously caused "SyntaxError: No command for line".
 
239
  (Martin Pool)
 
240
 
 
241
* Show unicode filenames in diff headers using terminal encoding. 
 
242
  (Alexander Belchenko, Bug #382699)
 
243
  NOTE for Windows users: If user need to save diff to file then user need to
 
244
  change encoding of the terminal to ANSI encoding with command ``chcp XXX``
 
245
  (e.g. ``chcp 1251`` for Russian Windows).
 
246
 
 
247
* URL displayed for use with ``break-lock`` when smart server sees lock
 
248
  contention are now valid. Default timeout for lock contention retry is
 
249
  now 30 seconds instead of 300 seconds.
 
250
  (Parth Malwankar, #250451)
 
251
 
 
252
* ``walkdirs`` now raises a useful message when the filenames are not using
 
253
  the filesystem encoding. (Eric Moritz, #488519)
 
254
 
 
255
* Enable debugging of bzr on windows with pdb and other tools. This was 
 
256
  broken because we call GetCommandLineW on windows. The fix adjusts the 
 
257
  command line we get to be the same length as sys.argv.
 
258
  (Jason Spashett, Alexander Belchenko, #587868)
 
259
 
 
260
Improvements
 
261
************
 
262
 
 
263
* Bazaar now reads data from SSH connections more efficiently on platforms
 
264
  that provide the ``socketpair`` function, and when using paramiko.
 
265
  (Andrew Bennetts, #590637)
 
266
 
 
267
* ``Branch.copy_content_into`` is now a convenience method dispatching to
 
268
  a ``InterBranch`` multi-method. This permits ``bzr-loom`` and other
 
269
  plugins to intercept this even when a ``RemoteBranch`` proxy is in use.
 
270
  (Robert Collins, #201613)
 
271
 
 
272
* ``Branch`` formats can now be loaded lazily by registering a
 
273
  ``MetaDirBranchFormatFactory`` rather than an actual format. This will
 
274
  cause the named format class to be loaded only when an enumeration of
 
275
  formats is needed or when the format string for the object is
 
276
  encountered. (Robert Collins, Jelmer Vernooij)
 
277
 
 
278
* The encoding that bzr uses to output things other than file content can
 
279
  now be overridden via the output_encoding configuration option.
 
280
  (Martin Pool, #340394)
 
281
 
 
282
* Use lazy imports in ``bzrlib/merge.py`` so that plugins like ``news_merge``
 
283
  do not cause modules to be loaded unnecessarily just because the plugin
 
284
  registers a merge hook.  This improves ``bzr rocks`` time by about 25%
 
285
  in a default installation (with just the core plugins).
 
286
  (Andrew Bennetts)
 
287
 
 
288
Documentation
 
289
*************
 
290
 
 
291
* Added ``regression`` tag to our tags list. (Robert Collins)
 
292
 
 
293
* Improved our release checklist to have a bit less churn and leave things
 
294
  ready-to-go for the next action (including other people doing
 
295
  development). (Robert Collins)
 
296
 
 
297
* Remove obsolete discussion of PQM in documentation about how to
 
298
  contribute to Bazaar.  (Martin Pool, #588444)
 
299
 
 
300
API Changes
 
301
***********
 
302
 
 
303
* ``bzrlib.branch.InterBranch._get_branch_formats_to_test`` now returns
 
304
  an iterable of format pairs, rather than just a single pair, permitting
 
305
  InterBranch objects that work with multiple permutations to be
 
306
  comprehensively tested. (Robert Collins)
 
307
 
 
308
* ``bzrlib.lsprof.profile`` will no longer silently generate bad threaded
 
309
  profiles when concurrent profile requests are made. Instead the profile
 
310
  requests will be serialised. Reentrant requests will now deadlock.
 
311
  (Robert Collins)
 
312
 
 
313
* ``bzrlib.knit.KnitSequenceMatcher``, which has been deprecated since
 
314
  2007, has been deleted.  Use ``PatienceSequenceMatcher`` from
 
315
  ``bzrlib.patiencediff`` instead. (Andrew Bennetts)
 
316
 
 
317
* ``bzrlib.re_compile_checked`` is now deprecated. Caller should handle
 
318
  ``bzrlib.errors.InvalidPattern`` exception thrown by ``re.match`` in
 
319
  case the default error message not suitable for the use case.
 
320
  (Parth Malwankar)
 
321
 
 
322
* ``bzrlib.tests.blackbox.ExternalBase`` is deprecated.  It provided only
 
323
  one method ``check_output``, and we now recommend checking command
 
324
  output using ``run_script``. (Martin Pool)
 
325
 
 
326
* ``bzrlib.transport.ssh.SSHVendor.connect_ssh`` now returns an object
 
327
  that implements the interface of ``bzrlib.transport.ssh.SSHConnection``.
 
328
  Third-party implementations of ``SSHVendor`` may need to be updated
 
329
  accordingly.  Similarly, any code using ``SSHConnection`` directly will
 
330
  need to be updated.  (Andrew Bennetts)
 
331
 
 
332
* The constructor of ``bzrilb.smart.medium.SmartSSHClientMedium`` has
 
333
  changed to take an ``SSHParams`` instance (replacing many individual
 
334
  values).  (Andrew Bennetts)
 
335
 
 
336
Internals
 
337
*********
 
338
 
 
339
* ``bzrlib.osutils.get_terminal_encoding`` will now only mutter its
 
340
  selection when explicitly requested; this avoids many duplicate calls
 
341
  being logged when helpers, wrappers and older code that manually calls
 
342
  it are executed it is now logged deliberately by the ui setup code.
 
343
  (Robert Collins)
 
344
 
 
345
* Improved ``bzrlib.urlutils`` to handle lp:foo/bar URLs. (Gordon Tyler)
 
346
 
 
347
* ``bzrlib._c_static_tuple.StaticTuple`` now implements ``__sizeof__``, so
 
348
  that ``sys.getsizeof`` and other memory analysis tools will report more
 
349
  accurate results. (Andrew Bennetts)
 
350
 
 
351
* The symbol_versioning module can now cleanup after itself -
 
352
  ``suppress_deprecation_warnings`` now returns a cleanup function.
 
353
  (Robert Collins)
 
354
 
 
355
Testing
 
356
*******
 
357
 
 
358
* Add ``bzrlib.tests.fixtures`` to hold code for setting up objects
 
359
  to test.  (Martin Pool)
 
360
 
 
361
* ``test_import_tariff`` now respects BZR_PLUGINS_AT and BZR_PLUGINS_DISABLE.
 
362
  (Vincent Ladeuil, #595587)
 
363
 
 
364
bzr 2.2b3
 
365
#########
 
366
 
 
367
:2.2b3: 2010-05-28
 
368
 
 
369
This third beta in the 2.2 series brings with it all the goodness of 2.1.2
 
370
and 2.0.6 (though it preceeds 2.0.6 slightly). Of particular note for
 
371
users are compatibility fixes with bzr 1.5 and below servers, a hopeful
 
372
end to the EINTR errors caused by SIGWINCH interactions, a shiny new
 
373
bash completion script and bzr will no longer guess at identity details -
 
374
it was too unreliable in reality. Use ``bzr whoami`` on every new install.
 
375
For developers we have some API changes which may impact plugins as well
 
376
as a bunch of our regular improvements to internal clarity and test
 
377
support.
 
378
 
 
379
Compatibility Breaks
 
380
********************
 
381
 
 
382
* An API break has been made to the lock_write method of ``Branch`` and
 
383
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
384
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
385
  changing the API in future easier and permits some cleaner calling code.
 
386
  The lock_read method has also changed from having no defined return
 
387
  value to returning ``LogicalLockResult`` objects.
 
388
  (Robert Collins)
 
389
 
 
390
* ``bzr`` does not try to guess the username as ``username@hostname``
 
391
  and requires it to be explictly set. This can be set using ``bzr
 
392
  whoami``. (Parth Malwankar, #549310)
 
393
 
 
394
* ``bzrlib.commands.Command`` will now raise ValueError during
 
395
  construction if there is no __doc__ set. (Note, this will be reverted in
 
396
  2.2b4) (Robert Collins)
 
397
 
 
398
* The source tree no longer contains a contrib/zsh/_bzr completion
 
399
  script. The new file contrib/zsh/README suggests alternatives.
 
400
  (Martin von Gagern, #560030)
 
401
 
 
402
New Features
 
403
************
 
404
 
 
405
* ``bzr commit`` accepts ``-p`` (for "patch") as a shorter name for
 
406
  ``--show-diff``.
 
407
  (Parth Malwankar, #571467)
 
408
  
 
409
* ``bzr ignore`` now supports a ``--default-rules`` option that displays
 
410
  the default ignore rules used by bzr. The flag ``--old-default-rules``
 
411
  is no longer supported by ``ignore``.
 
412
  (Parth Malwankar, #538703)
 
413
 
 
414
* ``bzr pack`` now supports a ``--clean-obsolete-packs`` option that
 
415
  can save disk space by deleting obsolete pack files created during the
 
416
  pack operation.
 
417
  (Parth Malwankar, #304320)
 
418
 
 
419
* New command line option ``--authors`` to ``bzr log`` allows users to
 
420
  select which of the apparent authors and committer should be
 
421
  included in the log. Defaults depend on format. (Martin von Gagern, #513322)
 
422
 
 
423
* Support ``--directory`` option for a number of additional commands:
 
424
  added, annotate, bind, cat, cat-revision, clean-tree, deleted,
 
425
  export, ignore, ignored, lookup-revision, ls, modified, nick,
 
426
  re-sign, unbind, unknowns.
 
427
  (Martin von Gagern, #527878)
 
428
 
 
429
* The bash_completion plugin from the bzr-bash-completion project has
 
430
  been merged into the tree. It provides a bash-completion command and
 
431
  replaces the outdated ``contrib/bash/bzr`` script with a version
 
432
  using the plugin. (Martin von Gagern, #560030)
 
433
 
 
434
* A new transport based on GIO (the gnome i/o library) provides access to
 
435
  samba shares, webdav using gio+smb and gio+dav. It is also possible to
 
436
  use gio for some already existing transport methods as gio+file,
 
437
  gio+sftp, gio+ftp. 
 
438
  (Mattias Eriksson)
 
439
 
 
440
Bug Fixes
 
441
*********
 
442
 
 
443
* Alias information shown by ``bzr help`` is now accurate. This
 
444
  was showing an internal object name for some plugin aliases.
 
445
  (Parth Malwankar, #584650)
 
446
 
 
447
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
 
448
  group ownership from the containing directory. This allow bzr to work
 
449
  better with sudo.
 
450
  (Martin <gzlist@googlemail.com>, Parth Malwankar, #376388)
 
451
 
 
452
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
453
  support of bzr-externals and scmproj plugins.
 
454
  (Alexander Belchenko, bug #572098)
 
455
 
 
456
* ``bzr ignore`` will no longer add duplicate patterns to .bzrignore.
 
457
  (Gordon Tyler, #572092)
 
458
 
 
459
* ``bzr log --exclude-common-ancestry -r X..Y`` displays the revisions that
 
460
  are part of Y ancestry but not part of X ancestry (aka the graph
 
461
  difference).
 
462
  (Vincent Ladeuil, #320119)
 
463
 
 
464
* ``bzr lp-propose`` which was switched to use production Launchpad API
 
465
  servers a few commits ago has been reverted to use edge: there is a
 
466
  problem with using production which isn't trivially obvious, so we've
 
467
  filed a bug to track it, and until thats fixed will be using edge.
 
468
  (Robert Collins, #583667)
 
469
 
 
470
* ``bzr rm`` should not refuse to delete directories which contained a file
 
471
  which has been moved elsewhere in the tree after the previous commit.
 
472
  (Marius Kruger, Daniel Watkins, #129880)
 
473
 
 
474
* ``bzr selftest --parallel=fork`` wait for its children avoiding zombies.
 
475
  (Vincent Ladeuil, #566670)
 
476
 
 
477
* ``bzr selftest`` should not use ui.note() since it's not unicode safe.
 
478
  (Vincent Ladeuil, #563997)
 
479
 
 
480
* CommitBuilder refuses to create revisions whose trees have no root.
 
481
  (Aaron Bentley)
 
482
 
 
483
* Do not register a SIGWINCH signal handler, instead just poll for the
 
484
  terminal width as needed.  This avoids the "Interrupted System Call"
 
485
  problems that occur on POSIX with all currently released versions of
 
486
  Python.
 
487
  (Andrew Bennetts, #583941)
 
488
 
 
489
* Don't mention --no-strict when we just issue the warning about unclean trees.
 
490
  (Vincent Ladeuil, #401599)
 
491
 
 
492
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
 
493
  versions before 1.6.
 
494
  (Andrew Bennetts, #528041)
 
495
 
 
496
* Improved progress bar for fetch (2a format only). Bazaar now shows an
 
497
  estimate of the number of records to be fetched vs actually fetched.
 
498
  (Parth Malwankar, #374740, #538868)
 
499
 
 
500
* Reduce peak memory by one copy of compressed text.
 
501
  (John Arbash Meinel, #566940)
 
502
 
 
503
* ``RemoteBranch.lock_write`` raises ``ReadOnlyError`` if called during a
 
504
  read lock, rather than causing an ``AttributeError``.
 
505
  (Andrew Bennetts, Данило Шеган, #582781)
 
506
 
 
507
* Selftest was failing with testtools 0.9.3, which caused an
 
508
  AssertionError raised from a cleanUp to be reported as a Failure, not an
 
509
  Error, breaking on of our test hygiene tests.
 
510
  (Robert Collins, Vincent Ladeuil).
 
511
 
 
512
* ``set_user_option`` with a dict on remote branches no longer fails with
 
513
  an AttributeError.  There is a new ``Branch.set_config_option_dict`` RPC
 
514
  to support this efficiently.
 
515
  (Andrew Bennetts, #430382)
 
516
  
 
517
* Show the filenames when a file rename fails so that the error will be
 
518
  more comprehensible.
 
519
  (Martin Pool, #491763)
 
520
 
 
521
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
522
  (John Arbash Meinel, #582656)
 
523
 
 
524
* Unicode characters in aliases are now handled correctly and do not cause
 
525
  UnicodeEncodeError exception. (Parth Malwankar, #529930)
 
526
 
 
527
* Unicode commit messages that are the same as a file name no longer cause
 
528
  UnicodeEncodeError. ``ui.text.show_warning`` now handles unicode
 
529
  messages.
 
530
  (Parth Malwankar, #563646)
 
531
 
 
532
* Using bzr with `lp:` urls behind an http proxy should work.
 
533
  (Robert Collins, #558343)
 
534
 
 
535
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
536
  directory file handle after the chdir fails. Otherwise when passing many
 
537
  filenames into a command line ``bzr status`` we would leak descriptors.
 
538
  (John Arbash Meinel, #583486)
 
539
 
 
540
Improvements
 
541
************
 
542
 
 
543
* ``append_revisions_only`` will now be interpreted as a boolean and a
 
544
  warning emitted if illegal values are used. Note that for projects
 
545
  that needs to maintain compatibility with previsous bzr versions,
 
546
  only 'True' and 'False' strings must be used (previous versions of
 
547
  bzr will interpret all strings differing from 'True'
 
548
  (case-sensitive) as false.
 
549
  (Brian de Alwis, Vincent Ladeuil)
 
550
 
 
551
* ``bzr ls`` now supports short options for existing long options.
 
552
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
553
  (Parth Malwankar, #181124)
 
554
 
 
555
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
 
556
  be interpreted as a boolean.
 
557
  (Vincent Ladeuil)
 
558
 
 
559
* The all-in-one Windows installer will now be built with docstrings stripped
 
560
  from the library zip, reducing the size and slightly improving cold startup
 
561
  time. Bundled plugins are unchanged for the moment, but if adding other new
 
562
  plugins to an all-in-one installation, ensure they are compiled and
 
563
  installed with -O1 or help may not work. (Martin [gz])
 
564
 
 
565
API Changes
 
566
***********
 
567
 
 
568
* Added ``bzrlib.merge.PerFileMerger``, a more convenient way to write
 
569
  some kinds of ``merge_file_content`` hook functions.
 
570
  (Andrew Bennetts)
 
571
  
 
572
* `BzrDir`, `Branch`, `Repository` and `WorkingTree` now all support `user_url`,
 
573
  `user_transport`, `control_url` and `control_transport` members pointing
 
574
  respectively to the directory containing the ``.bzr`` control directory, 
 
575
  and to the directory within ``.bzr`` used for the particular component.
 
576
  All of them inherit from `ControlComponent` which provides default
 
577
  implementations.
 
578
  (Martin Pool)
 
579
 
 
580
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
581
  expected to return an object which can be used to unlock them. This reduces
 
582
  duplicate code when using cleanups. The previous 'tokens's returned by
 
583
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
584
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
585
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
586
 
 
587
* ``Repository.refresh_data`` may now be called in a write group on
 
588
  pack-based repositories.  Older repositories will still raise an error
 
589
  in this case.  Subclasses of ``Repository`` can still override
 
590
  ``Repository._refresh_data``, but are now responsible for raising
 
591
  ``bzrlib.repository.IsInWriteGroupError`` if they do not support
 
592
  ``refresh_data`` during a write group.
 
593
  (Andrew Bennetts, #574236)
 
594
 
 
595
Internals
 
596
*********
 
597
 
 
598
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
599
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
600
  potentially shave 5-10% time off during a large fetch. Related to bug
 
601
  #562666. (John Arbash Meinel)
 
602
 
 
603
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
604
  (Robert Collins)
 
605
 
 
606
* ``_remember_remote_is_before`` no longer raises AssertionError when
 
607
  suboptimal network behaviour is noticed; instead it just mutters to the
 
608
  log file (and warns the user if they have set the ``hpss`` debug flag).
 
609
  This was causing unnecessary aborts for performance bugs that are minor
 
610
  at worst.
 
611
  (Andrew Bennetts, #528041)
 
612
 
 
613
* Permit bzr to run under ``python -OO`` which reduces the size of bytecode
 
614
  files loaded from disk. To ensure docstrings needed for help are never
 
615
  stripped, the prefix ``__doc__ =`` should now be used.
 
616
  (Martin <gzlist@googlemail.com>)
 
617
 
 
618
* No longer require zlib headers to build extensions, and remove the need
 
619
  for seperate copy of zlib library on windows.
 
620
  (John Arbash Meinel, Martin <gzlist@googlemail.com>, #566923)
 
621
 
 
622
Testing
 
623
*******
 
624
 
 
625
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
 
626
  our first in-tree matcher. See the module docstring for details.
 
627
  (Robert Collins)
 
628
 
 
629
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
 
630
   (Gordon Tyler, #551332)
 
631
 
 
632
* Workaround ``Crypto.Random`` check leading to spurious test
 
633
  failures on Lucid, FreeBSD and gentoo.  
 
634
  (Vincent Ladeuil, #528436)
 
635
 
 
636
* New class ``ExecutableFeature`` for checking the availability of
 
637
  executables on the ``PATH``. Migrated from bash_completion plugin.
 
638
  (Martin von Gagern)
 
639
 
 
640
bzr 2.2b2
 
641
#########
 
642
 
 
643
:2.2b2: 2010-04-16
 
644
 
 
645
This is a somewhat early second beta of the 2.2 series, to fix a python2.4
 
646
incompatibility in the 2.2b1 release.  It also includes a swag of
 
647
performance, usability and correctness improvements: test feedback on all
 
648
of these would be welcome.
 
649
 
 
650
 
 
651
New Features
 
652
************
 
653
 
 
654
* ``bzr diff`` now supports a --format option, which can be used to 
 
655
  select alternative diff formats. (Jelmer Vernooij, #555994)
 
656
 
 
657
Bug Fixes
 
658
*********
 
659
 
 
660
* ``bzr dpush``, ``bzr push`` and ``bzr send`` will now issue a warning
 
661
  instead of failing when dirty trees are involved. The corresponding
 
662
  ``dpush_strict``, ``push_strict`` and ``send_strict`` should be set to
 
663
  True explicitly to get the previous behaviour.  
 
664
  (Vincent Ladeuil, #519319)
 
665
 
 
666
* ``bzr export`` to tar file does not fail if any parent directory
 
667
  contains unicode characters. This works around upstream Python bug
 
668
  http://bugs.python.org/issue8396 .
 
669
  (Parth Malwankar, #413406)
 
670
 
 
671
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
 
672
  (Aaron Bentley, #559436)
 
673
 
 
674
* ``bzr update`` when a pending merge in the working tree has been merged
 
675
  into the master branch will no longer claim that old commits have become
 
676
  pending merges. (Robert Collins, #562079)
 
677
 
 
678
* ``bzrlib.mutabletree.MutableTree.commit`` will now support a passed in
 
679
  config as in previous versions of bzrlib. (Robert Collins)
 
680
 
 
681
* Fix glitch in the warning about unclean trees display.
 
682
  (Vincent Ladeuil, #562665)
 
683
 
 
684
* Fixed Python2.4 incompatibilities in the bzr2.2b1 source tarball.
 
685
  (Martin Pool)
 
686
 
 
687
* Help messages generated by ``RegistryOption.from_kwargs`` list the
 
688
  switches in alphabetical order, rather than in an undefined order.
 
689
  (Martin von Gagern, #559409)
 
690
 
 
691
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
 
692
  Apport crash reports, to avoid "This problem report applies to a program
 
693
  which is not installed any more" error.
 
694
  (Martin Pool, James Westby, #528114)
 
695
 
 
696
* Reset ``siginterrupt`` flag to False every time we handle a signal
 
697
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
 
698
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
 
699
  errors compared to registering ``signal.signal`` directly.
 
700
  (Andrew Bennetts)
 
701
 
 
702
* When invoked with a range revision, ``bzr log`` doesn't show revisions
 
703
  that are not part of the Y revisions ancestry anymore when invoked with
 
704
  -rX..Y.
 
705
  (Vincent Ladeuil, #474807)
 
706
 
 
707
* Properly handle ``param_name`` attribute for ``ListOption``.
 
708
  (Martin von Gagern, #387117)
 
709
 
 
710
Improvements
 
711
************
 
712
 
 
713
* ``bzr commit`` will prompt before using a commit message that was
 
714
  generated by a template and not edited by the user.
 
715
  (Robert Collins, #530265)
 
716
 
 
717
* ``bzr diff`` read-locks the trees and branches only once, saving about
 
718
  10-20ms on ``bzr diff`` in a bzr.dev tree.
 
719
  (Andrew Bennetts)
 
720
 
 
721
* ``bzr missing`` read-locks the branches only once.
 
722
  (Andrew Bennetts)
 
723
  
 
724
* ``bzr pull`` locks the branches and tree only once.
 
725
  (Andrew Bennetts)
 
726
  
 
727
* Index lookups in pack repositories search recently hit pack files first.  
 
728
  In repositories with many pack files this can greatly reduce the
 
729
  number of files accessed, the number of bytes read, and the number of
 
730
  read calls.  An incremental pull via plain HTTP takes half the time and
 
731
  bytes for a moderately large repository.  (Andrew Bennetts)
 
732
 
 
733
* Index lookups only re-order the indexes when the hit files aren't
 
734
  already first. Reduces the cost of reordering
 
735
  (John Arbash Meinel, #562429)
 
736
 
 
737
* Less code is loaded at startup.  (Cold-cache start time is about 10-20%
 
738
  less.)
 
739
  (Martin Pool, #553017)
 
740
 
 
741
API Changes
 
742
***********
 
743
 
 
744
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
 
745
  ``get_trees_and_branches_to_diff_locked`` instead.
 
746
  (Andrew Bennetts)
 
747
 
 
748
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
749
  auto-determines branch nick if not supplied.  (Aaron Bentley)
 
750
  
 
751
Internals
 
752
*********
 
753
 
 
754
* ``bzrlib.commands.Command.run_direct`` is no longer needed - the pre
 
755
  2.1 method of calling run() to perform testing or direct use via the API
 
756
  is now possible again. As part of this, the _operation attribute on
 
757
  Command is now transient and only exists for the duration of ``run()``.
 
758
  (Robert Collins)
 
759
 
 
760
bzr 2.2b1
 
761
#########
 
762
 
 
763
:2.2b1: 2010-04-01
 
764
 
 
765
This is the first beta of the 2.2 series, leading up to a 2.2.0
 
766
release in July or August.  Beta releases are suitable for everyday use
 
767
but may cause some incompatibilities with plugins.  Some plugins may need
 
768
small updates to work with 2.2b1.
 
769
 
 
770
2.2b1 includes some changes to make merge conflicts easier to understand
 
771
and resolve.  It also removes some old unnecessary code, and loads
 
772
somewhat less code at startup.  It starts adding a common infrastructure
 
773
for dealing with colocated named branches, which can be implemented in
 
774
various ways in either bzr native or foreign formats.   On Ubuntu and
 
775
other platforms with the apport bug-reporting library, there's an easier
 
776
path to report problems with bzr.  We plan to continue with these themes
 
777
through the 2.2 series.
 
778
 
 
779
Over thirty bugs have been fixed, including in the log command, exporting
 
780
to tarballs, restarting interrupted system calls, portability of compiled
 
781
extensions, making backups during upgrade, and locking on ftp.
 
782
 
 
783
Compatibility Breaks
 
784
********************
 
785
 
 
786
* BTreeGraphIndex can now take an offset to indicate that the data starts
 
787
  somewhere other than then beginning of the file. (John Arbash Meinel)
 
788
 
 
789
* Deleted very old hidden commands ``versionedfile-list``,
 
790
  ``weave-plan-merge``, ``weave-merge-text``.
 
791
  (Martin Pool)
 
792
 
 
793
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()`` 
 
794
  have been removed. (Jelmer Vernooij)
 
795
 
 
796
* ``Repository.get_revision_inventory()`` has been removed in favor of
 
797
  ``Repository.get_inventory()``. (Jelmer Vernooij)
 
798
 
 
799
* All test servers have been moved out of the bzrlib.transport hierarchy to
 
800
  bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
 
801
  PathFilteringServer. ``bzrlib`` users may encounter test failures that can
 
802
  be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
 
803
  ``bzrlib.tests.test_server``.
 
804
  (Vincent Ladeuil)
 
805
 
 
806
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
 
807
  as its second parameter, for consistency with the initialize() method of
 
808
  other formats. (Jelmer Vernooij)
 
809
 
 
810
New Features
 
811
************
 
812
 
 
813
* Added ``bzr remove-branch`` command that can remove a local or remote 
 
814
  branch. (Jelmer Vernooij, #276295)
 
815
 
 
816
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
 
817
  to set file mtimes to the last timestamp of the last revision in which
 
818
  they were changed rather than the current time. (Jelmer Vernooij)
 
819
 
 
820
* If the Apport crash-reporting tool is available, bzr crashes are now
 
821
  stored into the ``/var/crash`` apport spool directory, and the user is
 
822
  invited to report them to the developers from there, either
 
823
  automatically or by running ``apport-bug``.  No information is sent
 
824
  without specific permission from the user.  (Martin Pool, #515052)
 
825
 
 
826
* Parsing of command lines, for example in ``diff --using``, no longer
 
827
  treats backslash as an escape character on Windows.   (Gordon Tyler,
 
828
  #392248)
 
829
 
 
830
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
 
831
  a list of plugin names separated by ':' (';' on windows).
 
832
  (Vincent Ladeuil, #411413)
 
833
 
 
834
* Plugins can be loaded from arbitrary locations by defining
 
835
  ``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
 
836
  windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
 
837
  specified plugins. This is targeted at plugin developers for punctual
 
838
  needs and *not* intended to replace ``BZR_PLUGIN_PATH``.  
 
839
  (Vincent Ladeuil, #82693)
 
840
 
 
841
* Tag names can now be determined automatically by ``automatic_tag_name`` 
 
842
  hooks on ``Branch`` if they are not specified on the command line.
 
843
  (Jelmer Vernooij)
 
844
 
 
845
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
 
846
  ``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
 
847
  as resolved is still accessible via the ``--done`` default action.
 
848
  (Vincent Ladeuil)
 
849
 
 
850
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
 
851
  (Aaron Bentley, Jonathan Lange)
 
852
 
 
853
Bug Fixes
 
854
*********
 
855
 
 
856
* Added docstring for ``Tree.iter_changes``
 
857
  (John Arbash Meinel, #304182)
 
858
 
 
859
* Allow additional arguments to
 
860
  ``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
 
861
 
 
862
* Allow exporting a single file using ``bzr export``.
 
863
  (Michal Junák, #511987)
 
864
 
 
865
* Allow syscalls to automatically restart when ``TextUIFactory``'s
 
866
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
 
867
  IO, which are often poorly handled by Python's libraries and parts of
 
868
  bzrlib.  (Andrew Bennetts, #496813)
 
869
 
 
870
* Avoid infinite recursion when probing for apport.
 
871
  (Vincent Ladeuil, #516934)
 
872
 
 
873
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
874
  (Martin Pool, #331095)
 
875
 
 
876
* Avoid truncating svn URLs.
 
877
  (Martin Pool, Martin von Gagern, #545185)
 
878
 
 
879
* ``bzr add`` will not add conflict related files unless explicitly required.
 
880
  (Vincent Ladeuil, #322767, #414589)
 
881
 
 
882
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files.  Those
 
883
  indices do not have reference lists, so ``dump-btree`` will simply show
 
884
  ``None`` instead.  (Andrew Bennetts, #488607)
 
885
 
 
886
* ``bzr help`` will no longer trigger the get_missing_command hook when
 
887
  doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
 
888
  did you mean log?') when getting help. In future we may trigger the hook 
 
889
  deliberately when no help topics match from any help index.
 
890
  (Robert Collins, #396261)
 
891
 
 
892
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
 
893
  revspec as representing the first revision of the branch.
 
894
  (Vincent Ladeuil, #519862)
 
895
 
 
896
* ``bzr remove-tree`` can now remove multiple working trees.
 
897
  (Jared Hance, Andrew Bennetts, #253137)
 
898
 
 
899
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
 
900
  the kept file on content conflicts where one side deleted the file.
 
901
  (Vincent Ladeuil, #529968)
 
902
 
 
903
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
904
  permissions as ``.bzr`` directory on a POSIX OS.
 
905
  (Parth Malwankar, #262450)
 
906
 
 
907
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
 
908
  of ``backup.bzr``. This directory is ignored by bzr commands such as
 
909
  ``add``.
 
910
  (Parth Malwankar, #335033, #300001)
 
911
 
 
912
* Cope with non-utf8 characters inside ``.bzrignore``.
 
913
  (Jason Spashett, #183504)
 
914
 
 
915
* Correctly interpret "451 Rename/move failure: Directory not empty" from
 
916
  ftp servers while trying to take a lock.
 
917
  (Martin Pool, #528722)
 
918
 
 
919
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
 
920
  changes occured between the workingtree and one of its parents.
 
921
  (Vincent Ladeuil, #535547)
 
922
 
 
923
* Fix ``log`` to better check ancestors even if merged revisions are involved.
 
924
  (Vincent Ladeuil, #476293)
 
925
 
 
926
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
 
927
  on os.lisdir() order and is now reliable.
 
928
  (Vincent Ladeuil, #552922).
 
929
 
 
930
* Many IO operations that returned ``EINTR`` were retried even if it
 
931
  wasn't safe to do so via careless use of ``until_no_eintr``.  Bazaar now
 
932
  only retries operations that are safe to retry, and in some cases has
 
933
  switched to operations that can be retried (e.g. ``sock.send`` rather than
 
934
  ``sock.sendall``).
 
935
  (Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
 
936
 
 
937
* Path conflicts now support --take-this and --take-other even when a
 
938
  deletion is involved.
 
939
  (Vincent Ladeuil, #531967)
 
940
 
 
941
* Network transfer amounts and rates are now displayed in SI units according
 
942
  to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
 
943
  (Gordon Tyler, #514399)
 
944
 
 
945
* Support kind markers for socket and fifo filesystem objects. This
 
946
  prevents ``bzr status --short`` from crashing when those files are
 
947
  present.  (John Arbash Meinel, #303275)
 
948
 
 
949
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
 
950
   directory. (Parth Malwankar, #138600)
 
951
 
 
952
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
 
953
  the debugger won't kill the session.
 
954
  (Martin <gzlist@googlemail.com>, #162502)
 
955
 
 
956
* Tolerate patches with leading noise in ``bzr-handle-patch``.
 
957
  (Toshio Kuratomi, Martin Pool, #502076)
 
958
 
 
959
* ``update -r`` now supports updating to revisions that are not on
 
960
  mainline (i.e. it supports dotted revisions).
 
961
  (Parth Malwankar, #517800)
 
962
 
 
963
* Use first apparent author not committer in GNU Changelog format.
 
964
  (Martin von Gagern, #513322)
 
965
 
 
966
API Changes
 
967
***********
 
968
 
 
969
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to 
 
970
  ``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
 
971
  (Jelmer Vernooij)
 
972
 
 
973
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated 
 
974
  branch to create. (Jelmer Vernooij)
 
975
 
 
976
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the 
 
977
  colocated branch to open. (Jelmer Vernooij)
 
978
 
 
979
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
 
980
  can set a signal handler and call ``signal.siginterrupt(signum,
 
981
  False)`` for it, if the platform and Python version supports it.
 
982
  (Andrew Bennetts, #496813)
 
983
 
 
984
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to 
 
985
  run when starting up; it sets up several things that previously needed
 
986
  to be done separately.
 
987
  (Martin Pool, #507710)
 
988
 
 
989
* Exporters now support a ``per_file_timestamps`` argument to write out the 
 
990
  timestamp of the commit in which a file revision was introduced.
 
991
  (Jelmer Vernooij)
 
992
 
 
993
* New method ``BzrDir.list_branches()`` that returns a sequence of branches 
 
994
  present in a control directory. (Jelmer Vernooij)
 
995
 
 
996
* New method ``Repository.get_known_graph_ancestry()``. 
 
997
  (Jelmer Vernooij, #495502)
 
998
 
 
999
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
 
1000
  (Neil Santos)
 
1001
 
 
1002
* Remove unused ``CommandFailed`` exception.
 
1003
  (Martin Pool)
 
1004
 
 
1005
Internals
 
1006
*********
 
1007
 
 
1008
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
 
1009
  ``message_callback`` in the same way that commit does. (Robert Collins)
 
1010
 
 
1011
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
 
1012
  rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
 
1013
  of date. (Gary van der Merwe)
 
1014
 
 
1015
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
 
1016
  functions to load or disable plugins if they wish to use a different
 
1017
  plugin mechanism; the --help, --version and no-command name code paths
 
1018
  now use the generic pluggable command lookup infrastructure.
 
1019
  (Robert Collins)
 
1020
 
 
1021
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
 
1022
  which can be set to add extra help to the error. (Gary van der Merwe)
 
1023
 
 
1024
* New method ``Branch.automatic_tag_name`` that can be used to find the
 
1025
  tag name for a particular revision automatically. (Jelmer Vernooij)
 
1026
 
 
1027
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and 
 
1028
  ``BzrDir.open_branch()`` now take an optional ``name`` argument. 
 
1029
  (Jelmer Vernooij)
 
1030
 
 
1031
Testing
 
1032
*******
 
1033
 
 
1034
* bzr now has a ``.testr.conf`` file in its source tree configured
 
1035
  appropriately for running tests with Testrepository
 
1036
  (``https://launchpad.net/testrepository``). (Robert Collins)
 
1037
 
 
1038
* Documentation about testing with ``subunit`` has been tweaked.
 
1039
  (Robert Collins)
 
1040
 
 
1041
* Known failures has been added for resolve --take-other on ParentLoop
 
1042
  conflicts. This reflects bug #537956 without fixing it.
 
1043
  (Vincent Ladeuil)
 
1044
 
 
1045
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
 
1046
  Python modules are loaded, to guard against startup time or library
 
1047
  dependency regressions.
 
1048
  (Martin Pool)
 
1049
 
 
1050
* PQM will now run with subunit output. To analyze a PQM error use
 
1051
  tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
 
1052
 
 
1053
* Stop sending apport crash files to ``.cache`` in the directory from
 
1054
  which ``bzr selftest`` was run.  (Martin Pool, #422350)
 
1055
 
 
1056
* Tests no longer fail if "close() called during concurrent
 
1057
  operation on the same file object" occurs when closing the log file
 
1058
  (which can happen if a thread tries to write to the log file at the
 
1059
  wrong moment).  An warning will be written to ``stderr`` when this
 
1060
  happens, and another warning will be written if the log file could not
 
1061
  be closed after retrying 100 times.  (Andrew Bennetts, #531746)
 
1062
 
 
1063
bzr 2.1.3
 
1064
#########
 
1065
 
 
1066
:Codename: Do run run
 
1067
:2.1.3: NOT RELEASED YET
 
1068
 
 
1069
Compatibility Breaks
 
1070
********************
 
1071
 
 
1072
New Features
 
1073
************
 
1074
 
 
1075
Bug Fixes
 
1076
*********
 
1077
 
 
1078
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
 
1079
  way which should help avoid problems with concurrent writers.
 
1080
  (Vincent Ladeuil, #525571)
 
1081
 
 
1082
* Don't traceback trying to unversion children files of an already
 
1083
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1084
 
 
1085
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
1086
  which can result in "missing referenced chk root keys" errors when
 
1087
  fetching from repositories with affected revisions.
 
1088
  (Andrew Bennetts, #522637)
 
1089
 
 
1090
* Raise ValueError instead of a string exception.
 
1091
  (John Arbash Meinel, #586926)
 
1092
 
 
1093
Improvements
 
1094
************
 
1095
 
 
1096
Documentation
 
1097
*************
 
1098
 
 
1099
API Changes
 
1100
***********
 
1101
 
 
1102
Internals
 
1103
*********
 
1104
 
 
1105
Testing
 
1106
*******
 
1107
 
 
1108
bzr 2.1.2
 
1109
#########
 
1110
 
 
1111
:2.1.2: 2010-05-28
 
1112
 
 
1113
This release fixes two critical networking issues with older servers and
 
1114
with interrupted system call errors when pushing or pulling.  We recommend
 
1115
upgrading to anyone running a 2.1.x version of bzr.
 
1116
 
 
1117
Bug Fixes
 
1118
*********
 
1119
 
 
1120
* ``bzr clean-tree`` should not delete nested bzrdirs. Required for proper
 
1121
  support of bzr-externals and scmproj plugins.
 
1122
  (Alexander Belchenko, bug #572098)
 
1123
 
 
1124
* ``bzr switch`` does not die if a ConfigurableFileMerger is used.
 
1125
  (Aaron Bentley, #559436)
 
1126
 
 
1127
* Do not register a SIGWINCH signal handler, instead just poll for the
 
1128
  terminal width as needed.  This avoids the "Interrupted System Call"
 
1129
  problems that occur on POSIX with all currently released versions of
 
1130
  Python.
 
1131
  (Andrew Bennetts, #583941)
 
1132
 
 
1133
* Fixed ``AssertionError`` when accessing smart servers running Bazaar
 
1134
  versions before 1.6.
 
1135
  (Andrew Bennetts, #528041)
 
1136
 
 
1137
* Reset ``siginterrupt`` flag to False every time we handle a signal
 
1138
  installed with ``set_signal_handler(..., restart_syscall=True)`` (from
 
1139
  ``bzrlib.osutils``.  Reduces the likelihood of "Interrupted System Call"
 
1140
  errors compared to registering ``signal.signal`` directly.
 
1141
  (Andrew Bennetts)
 
1142
 
 
1143
* Reduce peak memory by one copy of compressed text.
 
1144
  (John Arbash Meinel, #566940)
 
1145
 
 
1146
* Support Pyrex 0.9.9, required changing how we handle exceptions in Pyrex.
 
1147
  (John Arbash Meinel, #582656)
 
1148
 
 
1149
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1150
  directory file handle after the chdir fails. Otherwise when passing many
 
1151
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1152
  (John Arbash Meinel, #583486)
 
1153
 
 
1154
Internals
 
1155
*********
 
1156
 
 
1157
* ``_remember_remote_is_before`` no longer raises AssertionError when
 
1158
  suboptimal network behaviour is noticed; instead it just mutters to the
 
1159
  log file (and warns the user if they have set the ``hpss`` debug flag).
 
1160
  This was causing unnecessary aborts for performance bugs that are minor
 
1161
  at worst.
 
1162
  (Andrew Bennetts, #528041)
 
1163
 
 
1164
 
 
1165
bzr 2.1.1
 
1166
#########
 
1167
 
 
1168
:2.1.1: 2010-03-24
 
1169
 
 
1170
This is a small bugfix release.  Upgrading is recommended for anyone
 
1171
running 2.1.0 or earlier.
 
1172
 
 
1173
Bug Fixes
 
1174
*********
 
1175
 
 
1176
* Allow syscalls to automatically restart when ``TextUIFactory``'s
 
1177
  SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
 
1178
  IO, which are often poorly handled by Python's libraries and parts of
 
1179
  bzrlib.  (Andrew Bennetts, #496813)
 
1180
 
 
1181
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
1182
  (Martin Pool, #331095)
 
1183
 
 
1184
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
 
1185
 
 
1186
* Fix stub sftp test server to call os.getcwdu().
 
1187
  (Vincent Ladeuil, #526221, #526353)
 
1188
 
 
1189
* Fixed CHM generation by moving the NEWS section template into
 
1190
  a separate file. (Ian Clatworthy, #524184)
 
1191
 
 
1192
* Merge correctly when this_tree is not a WorkingTree.  (Aaron Bentley)
 
1193
 
 
1194
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
 
1195
  problems importing bzrlib from a non-main thread.
 
1196
  (Elliot Murphy, #521989)
 
1197
 
 
1198
* Repositories accessed via a smart server now reject being stacked on a
 
1199
  repository in an incompatible format, as is the case when accessing them
 
1200
  via other methods.  This was causing fetches from those repositories via
 
1201
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
1202
  (Andrew Bennetts, #562380)
 
1203
 
 
1204
* Standardize the error handling when creating a new ``StaticTuple``
 
1205
  (problems will raise TypeError). (Matt Nordhoff, #457979)
 
1206
 
 
1207
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
 
1208
  ``StaticTuple`` extensions, rather than having the build fail randomly.
 
1209
  (John Arbash Meinel, #449776)
 
1210
 
 
1211
Documentation
 
1212
*************
 
1213
 
 
1214
* Added a link to the Desktop Guide. (Ian Clatworthy)
 
1215
 
 
1216
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
 
1217
 
 
1218
* Drop Google Analytics from the core docs as they caused problems
 
1219
  in the CHM files. (Ian Clatworthy, #502010)
 
1220
 
 
1221
API Changes
 
1222
***********
 
1223
 
 
1224
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
 
1225
  can set a signal handler and call ``signal.siginterrupt(signum,
 
1226
  False)`` for it, if the platform and Python version supports it.
 
1227
  (Andrew Bennetts, #496813)
 
1228
 
 
1229
 
 
1230
bzr 2.1.0
 
1231
#########
 
1232
 
 
1233
:Codename: Strasbourg
 
1234
:2.1.0: 2010-02-11
 
1235
 
 
1236
This release marks our second long-term-stable series. The Bazaar team
 
1237
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
 
1238
releases, along with 2.2 development releases. 
 
1239
 
 
1240
This is a fairly incremental update, focusing on polish and bugfixing.
 
1241
There are no changes for supported disk formats. Key updates include
 
1242
reduced memory consumption for many operations, a new per-file merge
 
1243
hook, ignore patterns can now include '!' to exclude files, globbing
 
1244
support for all commands on Windows, and support for addressing home
 
1245
directories via ``bzr+ssh://host/~/`` syntax.
 
1246
 
 
1247
Users are encouraged to upgrade from the 2.0 stable series.
 
1248
 
 
1249
Bug Fixes
 
1250
*********
 
1251
 
 
1252
* Don't require testtools to use sftp.
 
1253
  (Vincent Ladeuil, #516183)
 
1254
 
 
1255
* Fix "AttributeError in Inter1and2Helper" during fetch.
 
1256
  (Martin Pool, #513432)
 
1257
 
 
1258
* ``bzr update`` performs the two merges in a more logical order and will stop
 
1259
  when it encounters conflicts.  
 
1260
  (Gerard Krol, #113809)
 
1261
 
 
1262
* Give a better error message when doing ``bzr bind`` in an already bound
 
1263
  branch.  (Neil Martinsen-Burrell, #513063)
 
1264
 
 
1265
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
 
1266
  in a pack repository, which can happen harmlessly if the abort occurs during
 
1267
  finishing the write group.  Also use ``bzrlib.cleanup`` so that any
 
1268
  other errors that occur while aborting the individual packs won't be
 
1269
  hidden by secondary failures when removing the corresponding indices.
 
1270
  (Andrew Bennetts, #423015)
 
1271
 
 
1272
* Set the mtime of files exported to a directory by ``bzr export`` all to
 
1273
  the same value to avoid confusing ``make`` and other date-based build
 
1274
  systems. (Robert Collins, #515631)
 
1275
 
 
1276
Improvements
 
1277
************
 
1278
 
 
1279
* Fetching into experimental formats will now print a warning. (Jelmer
 
1280
  Vernooij)
 
1281
 
 
1282
API Changes
 
1283
***********
 
1284
 
 
1285
* ``Repository.deserialise_inventory`` has been renamed to 
 
1286
  ``Repository._deserialise_inventory`` to indicate it is private.
 
1287
  (Jelmer Vernooij)
 
1288
 
 
1289
* ``Repository.get_inventory_xml`` has been renamed to 
 
1290
  ``Repository._get_inventory_xml`` to indicate it is private. 
 
1291
  (Jelmer Vernooij)
 
1292
 
 
1293
* ``Repository.serialise_inventory`` has been renamed to 
 
1294
  ``Repository._serialise_inventory`` to indicate it is private.
 
1295
 
 
1296
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
 
1297
  same time was broken due to race conditions with a module level page
 
1298
  cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
 
1299
  ``bzrlib.chk_map`` in the backtrace, and can be triggered without using
 
1300
  the same high level objects such as ``bzrlib.repository.Repository``
 
1301
  from different threads. chk_map now uses a thread local cache which may
 
1302
  increase memory pressure on processes using threads.
 
1303
  (Robert Collins, John Arbash Meinel, #514090)
 
1304
 
 
1305
* The new ``merge_file_content`` should now be ok with tests to avoid
 
1306
  regressions.
 
1307
  (Vincent Ladeuil, #515597)
 
1308
 
 
1309
Internals
 
1310
*********
 
1311
 
 
1312
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
 
1313
  blocks in several places in ``bzrlib.merge``.  This avoids masking prior
 
1314
  errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
 
1315
  in ``do_merge``.
 
1316
  (Andrew Bennetts, #517275)
 
1317
 
 
1318
API Changes
 
1319
***********
 
1320
 
 
1321
* The ``remove_index`` method of
 
1322
  ``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
 
1323
  argument.  This argument was always ignored.
 
1324
  (Andrew Bennetts, #423015)
 
1325
 
 
1326
bzr 2.1.0rc2
 
1327
############
 
1328
 
 
1329
:Codename: after the bubbles
 
1330
:2.1.0rc2: 2010-01-29
 
1331
 
 
1332
This is a quick-turn-around to update a small issue with our new per-file
 
1333
merge hook. We expect no major changes from this to the final 2.1.0.
 
1334
 
 
1335
API Changes
 
1336
***********
 
1337
 
 
1338
* The new ``merge_file_content`` hook point has been altered to provide a
 
1339
  better API where state for extensions can be stored rather than the
 
1340
  too-simple function based approach. This fixes a performance regression
 
1341
  where branch configuration would be parsed per-file during merge. As
 
1342
  part of this the included news_merger has been refactored into a base
 
1343
  helper class ``bzrlib.merge.ConfigurableFileMerger``.
 
1344
  (Robert Collins, John Arbash Meinel, #513822)
 
1345
 
 
1346
 
 
1347
bzr 2.1.0rc1
 
1348
############
 
1349
 
 
1350
:Codename: the 'new' stable
 
1351
:2.1.0rc1: 2009-01-21
 
1352
 
 
1353
This is the first stable release candidate for Bazaar's 2.1 series. From
 
1354
this point onwards, the 2.1 series will be considered stable (as the 2.0
 
1355
series) and only bugfixes are expected to be incorporated. The dozen or so
 
1356
bugfixes in the 2.0.4 release are also included in this release (along
 
1357
with more than 15 more bugfixes). Some of the interesting features are
 
1358
support for per-file merge hooks, ``bzr unshelve --preview``, support
 
1359
for using ! in ignore files to exclude files from being ignored, a small
 
1360
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
 
1361
This looks to be a very good start for a new stable series.
 
1362
 
 
1363
 
 
1364
New Features
 
1365
************
 
1366
 
 
1367
* Add bug information to log output when available.
 
1368
  (Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
 
1369
 
 
1370
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
 
1371
  to register custom merge logic, e.g. to provide smarter merging for
 
1372
  particular files.
 
1373
 
 
1374
* Bazaar now includes the ``news_merge`` plugin.  It is disabled by
 
1375
  default, to enable it add a ``news_merge_files`` option to your
 
1376
  configuration.  Consult ``bzr help news_merge`` for more information.
 
1377
  (Andrew Bennetts)
 
1378
  
 
1379
* ``bzr branch`` now takes a ``--bind`` option. This lets you
 
1380
  branch and bind all in one command. (Ian Clatworthy)
 
1381
 
 
1382
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
 
1383
  a specific revision of a branch. (Daniel Watkins, #183559)
 
1384
 
 
1385
* ``bzr unshelve --preview`` can now be used to show how a patch on the
 
1386
  shelf would be applied to the working tree.
 
1387
  (Guilherme Salgado, #308122)
 
1388
 
 
1389
* ``bzr update`` now takes a ``--revision`` argument. This lets you
 
1390
  change the revision of the working tree to any revision in the
 
1391
  ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
 
1392
  Martin Pool, #45719)
 
1393
 
 
1394
* ``-Dbytes`` can now be used to display the total number of bytes
 
1395
  transferred for the current command. This information is always logged
 
1396
  to ``.bzr.log`` for later inspection. (John Arbash Meinel)
 
1397
 
 
1398
* New ignore patterns.  Patterns prefixed with '!' are exceptions to 
 
1399
  ignore patterns and take precedence over regular ignores.  Such 
 
1400
  exceptions are used to specify files that should be versioned which 
 
1401
  would otherwise be ignored.  Patterns prefixed with '!!' act as regular 
 
1402
  ignore patterns, but have highest precedence, even over the '!' 
 
1403
  exception patterns. (John Whitley, #428031)
 
1404
 
 
1405
* The ``supress_warnings`` configuration option has been introduced to disable
 
1406
  various warnings (it currently only supports the ``format_deprecation``
 
1407
  warning). The new option can be set in any of the following locations:
 
1408
  ``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
 
1409
  (Ted Gould, Matthew Fuller, Vincent Ladeuil)
 
1410
 
 
1411
Bug Fixes
 
1412
*********
 
1413
 
 
1414
* Always show a message if an OS error occurs while trying to run a
 
1415
  user-specified commit message editor.
 
1416
  (Martin Pool, #504842)
 
1417
 
 
1418
* ``bzr diff`` will now use the epoch when it is unable to determine 
 
1419
  the timestamp of a file, if the revision it was introduced in is a
 
1420
  ghost. (Jelmer Vernooij, #295611)
 
1421
 
 
1422
* ``bzr switch -b`` can now create branches that are located using directory
 
1423
  services such as ``lp:``, even when the branch name doesn't contain a
 
1424
  '/'.  (Neil Martinsen-Burrell, #495263)
 
1425
 
 
1426
* ``bzr unshelve`` has improved messages about what it is doing.
 
1427
  (Neil Martinsen-Burrell, #496917)
 
1428
 
 
1429
* Concurrent autopacking is more resilient to already-renamed pack files.
 
1430
  If we find that a file we are about to obsolete is already obsoleted, we
 
1431
  do not try to rename it, and we leave the file in ``obsolete_packs``.
 
1432
  The code is also fault tolerant if a file goes missing, assuming that
 
1433
  another process already removed the file.
 
1434
  (John Arbash Meinel, Gareth White, #507557)
 
1435
 
 
1436
* Fix "Too many concurrent requests" in reconcile when network connection
 
1437
  fails.  (Andrew Bennetts, #503878)
 
1438
 
 
1439
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
 
1440
  that caused some tests to fail when run in a non-default order.
 
1441
  Probably no user impact.  (Martin Pool, #504102)
 
1442
 
 
1443
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
 
1444
  (Andrew Bennetts, #506274)
 
1445
 
 
1446
* FTP transports support Unicode paths by encoding/decoding them as utf8.
 
1447
  (Vincent Ladeuil, #472161)
 
1448
 
 
1449
* Listen to the SIGWINCH signal to update the terminal width.
 
1450
  (Vincent Ladeuil, #316357)
 
1451
 
 
1452
* Progress bars are now hidden when ``--quiet`` is given.
 
1453
  (Martin Pool, #320035)
 
1454
 
 
1455
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
 
1456
  whatever is written to it.  This un-breaks some plugin tests that
 
1457
  depended on this behaviour.
 
1458
  (Martin Pool, #499757)
 
1459
 
 
1460
* When operations update the working tree, all affected files should end
 
1461
  up with the same mtime. (eg. when versioning a generated file, if you
 
1462
  update the source and the generated file together, the generated file
 
1463
  should appear up-to-date.)
 
1464
  (John Arbash Meinel, Martin <gzlist>, #488724)
 
1465
 
 
1466
Improvements
 
1467
************
 
1468
 
 
1469
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
 
1470
  All the builtin commands now use ``add_cleanup`` rather than
 
1471
  ``try``/``finally`` blocks where applicable as it is simpler and more
 
1472
  robust.  (Andrew Bennetts)
 
1473
 
 
1474
* All except a small number of storage formats are now hidden, making
 
1475
  the help for numerous commands far more digestible. (Ian Clatworthy)
 
1476
 
 
1477
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
 
1478
  path/to/repo``) will now include "location is a repository" as a hint in
 
1479
  the error message.  (Brian de Alwis, Andrew Bennetts, #440952)
 
1480
 
 
1481
* Push will now inform the user when they are trying to push to a foreign 
 
1482
  VCS for which roundtripping is not supported, and will suggest them to 
 
1483
  use dpush. (Jelmer Vernooij)
 
1484
 
 
1485
* The version of bzr being run is now written to the log file.
 
1486
  (__monty__, #257170)
 
1487
 
 
1488
* Transport network activity indicator is shown more of the time when
 
1489
  Bazaar is doing network IO.
 
1490
  (Martin Pool)
 
1491
 
 
1492
Documentation
 
1493
*************
 
1494
 
 
1495
* Add documentation on creating merges with more than one parent.
 
1496
  (Neil Martinsen-Burrell, #481526)
 
1497
 
 
1498
* Better explain the --uncommitted option of merge.
 
1499
  (Neil Martinsen-Burrell, #505088)
 
1500
 
 
1501
* Improve discussion of pending merges in the documentation for
 
1502
  ``revert``.  (Neil Martinsen-Burrell, #505093)
 
1503
 
 
1504
* Improved help for ``bzr send``. 
 
1505
  (Martin Pool, Bojan Nikolic)
 
1506
 
 
1507
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
 
1508
  including discussions of installation, relevant plugins, security and 
 
1509
  backup. (Neil Martinsen-Burrell)
 
1510
 
 
1511
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
 
1512
  (Ian Clatworthy)
 
1513
 
 
1514
* The User Reference is now presented as a series of topics.
 
1515
  Many of the included topics have link and format tweaks applied.
 
1516
  (Ian Clatworthy)
 
1517
 
 
1518
API Changes
 
1519
***********
 
1520
 
 
1521
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
 
1522
  (Andrew Bennetts)
 
1523
 
 
1524
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
 
1525
  to be consistent with instances being lower case and classes being
 
1526
  CamelCase. For the features that were more likely to be used, we added a
 
1527
  deprecation thunk, but not all. (John Arbash Meinel)
 
1528
 
 
1529
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
 
1530
  parameter in their constructors, and provide ``this_branch`` as an
 
1531
  attribute. (Andrew Bennetts)
 
1532
  
 
1533
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
 
1534
  by plugins - the original exceptions are now preserved. (Robert Collins)
 
1535
 
 
1536
* The Transport ``Server.tearDown`` method is now renamed to
 
1537
  ``stop_server`` and ``setUp`` to ``start_server`` for consistency with
 
1538
  our normal naming pattern, and to avoid confusion with Python's
 
1539
  ``TestCase.tearDown``.  (Martin Pool)
 
1540
 
 
1541
* ``WorkingTree.update`` implementations must now accept a ``revision``
 
1542
  parameter.
 
1543
 
 
1544
Internals
 
1545
*********
 
1546
 
 
1547
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
 
1548
  a string of details (such as "location is a repository") as part of a
 
1549
  ``nobranch`` response.  (Andrew Bennetts, #440952)
 
1550
  
 
1551
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
 
1552
  objects but passes str objects straight through. This is used for
 
1553
  selftest but may be useful for diff and other operations that generate
 
1554
  mixed output. (Robert Collins)
 
1555
 
 
1556
* New exception ``NoRoundtrippingSupport``, for use by foreign branch 
 
1557
  plugins. (Jelmer Vernooij)
 
1558
 
 
1559
Testing
 
1560
*******
 
1561
 
 
1562
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
 
1563
  running all tests in the current module, once against a pure python
 
1564
  implementation, and once against an extension (pyrex/C) implementation.
 
1565
  It can be used to dramatically simplify the implementation of
 
1566
  ``load_tests``.  (John Arbash Meinel)
 
1567
 
 
1568
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
 
1569
  This permits features in testtools such as getUniqueInteger and
 
1570
  getUniqueString to be used. Because of this, testtools version 0.9.2 or
 
1571
  newer is now a dependency to run bzr selftest. Running with versions of
 
1572
  testtools less than 0.9.2 will cause bzr to error while loading the test
 
1573
  suite. (Robert Collins)
 
1574
 
 
1575
* Shell-like tests now support the command "mv" for moving files.  The
 
1576
  syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
 
1577
  supported.  (Neil Martinsen-Burrell)
 
1578
 
 
1579
* The test progress bar no longer distinguishes tests that 'errored' from
 
1580
  tests that 'failed' - they're all just failures.
 
1581
  (Martin Pool)
 
1582
 
 
1583
bzr 2.0.6
 
1584
#########
 
1585
 
 
1586
:2.0.6: NOT RELEASED YET
 
1587
 
 
1588
Bug Fixes
 
1589
*********
 
1590
 
 
1591
* Additional merges after an unrelated branch has been merged with its
 
1592
  history no longer crash when deleted files are involved.
 
1593
  (Vincent Ladeuil, John Arbash Meinel, #375898)
 
1594
 
 
1595
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
 
1596
  target of the symlink.
 
1597
  (Martin Pool, John Arbash Meinel, #128562)
 
1598
 
 
1599
* ``bzr revert`` now only takes write lock on working tree, instead of on 
 
1600
  both working tree and branch.
 
1601
  (Danny van Heumen, #498409)
 
1602
 
 
1603
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
 
1604
  permissions as ``.bzr`` directory on a POSIX OS.
 
1605
  (Parth Malwankar, #262450)
 
1606
 
 
1607
* Don't traceback trying to unversion children files of an already
 
1608
  unversioned directory.  (Vincent Ladeuil, #494221)
 
1609
 
 
1610
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
 
1611
  which can result in "missing referenced chk root keys" errors when
 
1612
  fetching from repositories with affected revisions.
 
1613
  (Andrew Bennetts, #522637)
 
1614
 
 
1615
* Raise ValueError instead of a string exception.
 
1616
  (John Arbash Meinel, #586926)
 
1617
 
 
1618
* Reduce peak memory by one copy of compressed text.
 
1619
  (John Arbash Meinel, #566940)
 
1620
 
 
1621
* Repositories accessed via a smart server now reject being stacked on a
 
1622
  repository in an incompatible format, as is the case when accessing them
 
1623
  via other methods.  This was causing fetches from those repositories via
 
1624
  a smart server (e.g. using ``bzr branch``) to receive invalid data.
 
1625
  (Andrew Bennetts, #562380)
 
1626
 
 
1627
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
 
1628
  error. This error was caused by 2.0 not being updated when upstream
 
1629
  python merged the end of run patch, which chose ``stopTestRun`` rather than
 
1630
  ``done``. (Robert Collins, #571437)
 
1631
 
 
1632
* When passing a file to ``UTF8DirReader`` make sure to close the current
 
1633
  directory file handle after the chdir fails. Otherwise when passing many
 
1634
  filenames into a command line ``bzr status`` we would leak descriptors.
 
1635
  (John Arbash Meinel, #583486)
 
1636
 
 
1637
 
 
1638
Testing
 
1639
*******
 
1640
 
 
1641
* ``build_tree_contents`` can create symlinks.
 
1642
  (Martin Pool, John Arbash Meinel)
 
1643
 
 
1644
 
 
1645
bzr 2.0.5
 
1646
#########
 
1647
 
 
1648
:2.0.5: 2010-03-23
 
1649
 
 
1650
This fifth release in our 2.0 series addresses several user-inconvenience
 
1651
bugs.  None are critical, but upgrading is recommended for all users on
 
1652
earlier 2.0 releases.
 
1653
 
 
1654
Bug Fixes
 
1655
*********
 
1656
 
 
1657
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
 
1658
  (Martin Pool, #331095)
 
1659
 
 
1660
* Concurrent autopacking is more resilient to already-renamed pack files.
 
1661
  If we find that a file we are about to obsolete is already obsoleted, we
 
1662
  do not try to rename it, and we leave the file in ``obsolete_packs``.
 
1663
  The code is also fault tolerant if a file goes missing, assuming that
 
1664
  another process already removed the file.
 
1665
  (John Arbash Meinel, Gareth White, #507557)
 
1666
 
 
1667
* Cope with the lockdir ``held/info`` file being empty, which seems to
 
1668
  happen fairly often if the process is suddenly interrupted while taking
 
1669
  a lock.
 
1670
  (Martin Pool, #185103)
 
1671
 
 
1672
* Give the warning about potentially slow cross-format fetches much
 
1673
  earlier on in the fetch operation.  Don't show this message during
 
1674
  upgrades, and show the correct format indication for remote
 
1675
  repositories.
 
1676
  (Martin Pool, #456077, #515356, #513157)
 
1677
 
 
1678
* Handle renames correctly when there are files or directories that 
 
1679
  differ only in case.  (Chris Jones, Martin Pool, #368931)
 
1680
 
 
1681
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
 
1682
  error, report that error rather than failing with an unhelpful
 
1683
  ``UnboundLocalError``.
 
1684
  (Andrew Bennetts, #423563)
 
1685
 
 
1686
* Running ``bzr`` command without any arguments now shows bzr
 
1687
  version number along with rest of the help text.
 
1688
  (Parth Malwankar, #369501)
 
1689
 
 
1690
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
 
1691
  errors.
 
1692
  (Inada Naoki, #524560)
 
1693
 
 
1694
Documentation
 
1695
*************
 
1696
 
 
1697
* Added ``location-alias`` help topic.
 
1698
  (Andrew Bennetts, #337834)
 
1699
 
 
1700
* Fixed CHM generation by moving the NEWS section template into
 
1701
  a separate file. (Ian Clatworthy, #524184)
 
1702
 
 
1703
 
 
1704
bzr 2.0.4
 
1705
#########
 
1706
 
 
1707
:Codename: smooth sailing
 
1708
:2.0.4: 2010-01-21
 
1709
 
 
1710
The fourth bugfix-only release in the 2.0 series contains more than a
 
1711
dozen bugfixes relative to 2.0.3. The primary focus is on handling
 
1712
interruptions and concurrent operations more cleanly, there is also a fair
 
1713
improvement to ``bzr export`` when exporting a remote branch.
 
1714
 
 
1715
 
 
1716
Bug Fixes
 
1717
*********
 
1718
 
 
1719
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
 
1720
  fails with an ``ObjectNotLocked`` error.  (Andrew Bennetts, #496590)
 
1721
 
 
1722
* ``bzr export dir`` now requests all file content as a record stream,
 
1723
  rather than requsting the file content one file-at-a-time. This can make
 
1724
  exporting over the network significantly faster (54min => 9min in one
 
1725
  case). (John Arbash Meinel, #343218)
 
1726
 
 
1727
* ``bzr serve`` no longer slowly leaks memory. The compiled
 
1728
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
 
1729
  free resources, and it should have been using ``__dealloc__``.
 
1730
  This will likely have an impact on any other process that is serving for
 
1731
  an extended period of time.  (John Arbash Meinel, #494406)
 
1732
 
 
1733
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
 
1734
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
 
1735
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
 
1736
 
 
1737
* Concurrent autopacks will no longer lose a newly created pack file.
 
1738
  There was a race condition, where if the reload happened at the right
 
1739
  time, the second packer would forget the name of the newly added pack
 
1740
  file. (John Arbash Meinel, Gareth White, #507566)
 
1741
 
 
1742
* Give a clearer message if the lockdir disappears after being apparently
 
1743
  successfully taken.  (Martin Pool, #498378)
 
1744
 
 
1745
* Give a warning when fetching between repositories (local or remote) with
 
1746
  sufficiently different formats that the content will need to be
 
1747
  serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
 
1748
  the user has a clue that upgrading could make it faster.
 
1749
  (Martin Pool, #456077)
 
1750
 
 
1751
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
 
1752
  than using ``warning()``. The log file is opened before logging is set
 
1753
  up, and it leads to very confusing: 'no handlers for "bzr"' messages for
 
1754
  users, rather than something nicer.
 
1755
  (John Arbash Meinel, Barry Warsaw, #503886)
 
1756
 
 
1757
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
 
1758
  (Martin Pool, John Arbash Meinel, #449372)
 
1759
 
 
1760
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
 
1761
  build. (there is still the distutils bug
 
1762
  http://bugs.python.org/issue644744) (Joe Julian, #175839)
 
1763
 
 
1764
* The 2a format wasn't properly restarting autopacks when something
 
1765
  changed underneath it (like another autopack). Now concurrent
 
1766
  autopackers will properly succeed. (John Arbash Meinel, #495000)
 
1767
 
 
1768
* ``TreeTransform`` can now handle when a delta says that the file id for
 
1769
  the tree root changes. Rather than trying to rename your working
 
1770
  directory, or failing early saying that you can't have multiple
 
1771
  tree roots. This also fixes revert, update, and pull when the root id
 
1772
  changes.  (John Arbash Meinel, #494269, #504390)
 
1773
 
 
1774
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
 
1775
  the right time will get propagated, rather than silently failing to move
 
1776
  the block pointer. (John Arbash Meinel, Gareth White, #495023)
 
1777
 
 
1778
Testing
 
1779
*******
 
1780
 
 
1781
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
 
1782
  handle exceptions somehow. (Possibly by setting ``# cannot_raise``
 
1783
  rather than an ``except ?:`` clause.) This should help prevent bugs like
 
1784
  bug #495023. (John Arbash Meinel)
 
1785
 
 
1786
 
 
1787
bzr 2.1.0b4
 
1788
###########
 
1789
 
 
1790
:Codename: san francisco airport
 
1791
:2.1.0b4: 2009-12-14
 
1792
 
 
1793
The fourth beta release in the 2.1 series brings with it a significant
 
1794
number of bugfixes (~20). The test suite is once again (finally) "green"
 
1795
on Windows, and should remain that way for future releases. There are a
 
1796
few performance related updates (faster upgrade and log), and several UI
 
1797
tweaks. There has also been a significant number of tweaks to the runtime
 
1798
documentation. 2.1.0b4 include everything from the 2.0.3 release.
 
1799
 
 
1800
 
 
1801
Compatibility Breaks
 
1802
********************
 
1803
 
 
1804
* The BZR_SSH environmental variable may now be set to the path of a secure
 
1805
  shell client. If currently set to the value ``ssh`` it will now guess the
 
1806
  vendor of the program with that name, to restore the old behaviour that
 
1807
  indicated the SSH Corporation client use ``sshcorp`` instead as the magic
 
1808
  string. (Martin <gzlist@googlemail.com>, #176292)
 
1809
 
 
1810
New Features
 
1811
************
 
1812
 
 
1813
* ``bzr commit`` now has a ``--commit-time`` option.
 
1814
  (Alexander Sack, #459276)
 
1815
 
 
1816
* ``-Dhpss`` now increases logging done when run on the bzr server,
 
1817
  similarly to how it works on the client. (John Arbash Meinel)
 
1818
 
 
1819
* New option ``bzr unshelve --keep`` applies the changes and leaves them
 
1820
  on the shelf.  (Martin Pool, Oscar Fuentes, #492091)
 
1821
 
 
1822
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
 
1823
  respect a given terminal width. This can be useful when output is
 
1824
  redirected or in obscure cases where the default value is not
 
1825
  appropriate. Pagers can use it to get a better control of the line
 
1826
  lengths. 
 
1827
  (Vincent Ladeuil)
 
1828
 
 
1829
* The new command ``bzr lp-mirror`` will request that Launchpad update its
 
1830
  mirror of a local branch. This command will only function if launchpadlib
 
1831
  is installed.
 
1832
  (Jonathan Lange)
 
1833
 
 
1834
 
 
1835
Bug Fixes
 
1836
*********
 
1837
 
 
1838
* After renaming a file, the dirstate could accidentally reference
 
1839
  ``source\\path`` rather than ``source/path`` on Windows. This might be a
 
1840
  source of some dirstate-related failures. (John Arbash Meinel)
 
1841
 
 
1842
* ``bzr commit`` now detects commit messages that looks like file names
 
1843
  and issues a warning.
 
1844
  (Gioele Barabucci, #73073)
 
1845
 
 
1846
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
 
1847
 
 
1848
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
 
1849
  (#325618, #484109, Marius Kruger)
 
1850
 
 
1851
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
 
1852
  files with conflicts (similar to ``--merge3``). The contents of the file
 
1853
  is a synthesis of all bases used for the merge.
 
1854
  (John Arbash Meinel, #40412)
 
1855
 
 
1856
* ``bzr mv --quiet`` really is quiet now.  (Gordon Tyler, #271790)
 
1857
 
 
1858
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
 
1859
  (Robert Collins, #84659)
 
1860
 
 
1861
* ``bzr serve --quiet`` really is quiet now.  (Gordon Tyler, #252834)
 
1862
 
 
1863
* Fix bug with redirected URLs over authenticated HTTP.
 
1864
  (Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
 
1865
 
 
1866
* Interactive merge doesn't leave branch locks behind.  (Aaron Bentley)
 
1867
 
 
1868
* Lots of bugfixes for the test suite on Windows. We should once again
 
1869
  have a test suite with no failures on Windows. (John Arbash Meinel)
 
1870
 
 
1871
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
 
1872
  variable but returns None if the terminal is not a tty (when output is
 
1873
  redirected for example). Also fixes its usage under OSes that doesn't
 
1874
  provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
 
1875
  windows too.
 
1876
  (Joke de Buhr, Vincent Ladeuil, #353370, #62539)
 
1877
  (John Arbash Meinel, Vincent Ladeuil, #492561)
 
1878
 
 
1879
* Terminate ssh subprocesses when no references to them remain, fixing
 
1880
  subprocess and file descriptor leaks.  (Andrew Bennetts, #426662)
 
1881
  
 
1882
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
 
1883
  works for 2a format trees.  Only files unaffected by content filters
 
1884
  will be hardlinked.  (Andrew Bennetts, #408193)
 
1885
 
 
1886
* The new glob expansion on Windows would replace all ``\`` characters
 
1887
  with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
 
1888
  etc. Now only change slashes if there is something being glob expanded.
 
1889
  (John Arbash Meinel, #485771)
 
1890
 
 
1891
* Use our faster ``KnownGraph.heads()`` functionality when computing the
 
1892
  new rich-root heads. This can cut a conversion time in half (mysql from
 
1893
  13.5h => 6.2h) (John Arbash Meinel, #487632)
 
1894
 
 
1895
* When launching a external diff tool via bzr diff --using, temporary files
 
1896
  are no longer created, rather, the path to the file in the working tree is
 
1897
  passed to the external diff tool. This allows the file to be edited if the
 
1898
  diff tool provides for this. (Gary van der Merwe, #490738)
 
1899
  
 
1900
* The launchpad-open command can now be used from a subdirectory of a
 
1901
  branch, not just from the root of the branch. 
 
1902
  (Neil Martinsen-Burrell, #489102)
 
1903
 
 
1904
 
 
1905
Improvements
 
1906
************
 
1907
 
 
1908
* ``bzr log`` is now faster. (Ian Clatworthy)
 
1909
 
 
1910
* ``bzr update`` provides feedback on which branch it is up to date with.
 
1911
  (Neil Martinsen-Burrell)
 
1912
 
 
1913
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
 
1914
  For details see the xml8 patch and heads() improvements.
 
1915
  (John Arbash Meinel)
 
1916
 
 
1917
* ``bzrlib.urlutils.local_path_from_url`` now accepts
 
1918
  'file://localhost/' as well as 'file:///' URLs on POSIX.  (Michael
 
1919
  Hudson)
 
1920
 
 
1921
* The progress bar now shows only a spinner and per-operation counts,
 
1922
  not an overall progress bar.  The previous bar was often not correlated
 
1923
  with real overall operation progress, either because the operations take
 
1924
  nonlinear time, or because at the start of the operation Bazaar couldn't
 
1925
  estimate how much work there was to do.  (Martin Pool)
 
1926
 
 
1927
Documentation
 
1928
*************
 
1929
 
 
1930
* Lots of documentation tweaks for inline help topics and command help
 
1931
  information.
 
1932
 
 
1933
API Changes
 
1934
***********
 
1935
 
 
1936
* ``bzrlib.textui`` (vestigial module) removed.  (Martin Pool)
 
1937
 
 
1938
* The Launchpad plugin now has a function ``login`` which will log in to
 
1939
  Launchpad with launchpadlib, and ``load_branch`` which will return the
 
1940
  Launchpad Branch object corresponding to a given Bazaar Branch object.
 
1941
  (Jonathan Lange)
 
1942
 
 
1943
Internals
 
1944
*********
 
1945
 
 
1946
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
 
1947
  easier to handle what tests you want to run based on what modules can be
 
1948
  imported. (Rather than lots of custom-implemented features that were
 
1949
  basically copy-and-pasted.) (John Arbash Meinel)
 
1950
 
 
1951
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
 
1952
  ``time.clock()`` when you want to do performance timing.
 
1953
  ``time.time()`` is limited to 15ms resolution on Windows, but
 
1954
  ``time.clock()`` gives CPU and not wall-clock time on other platforms.
 
1955
  (John Arbash Meinel)
 
1956
 
 
1957
* Several code paths that were calling ``Transport.get().read()`` have
 
1958
  been changed to the equalivent ``Transport.get_bytes()``. The main
 
1959
  difference is that the latter will explicitly call ``file.close()``,
 
1960
  rather than expecting the garbage collector to handle it. This helps
 
1961
  with some race conditions on Windows during the test suite and sftp
 
1962
  tests. (John Arbash Meinel)
 
1963
 
 
1964
Testing
 
1965
*******
 
1966
 
 
1967
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
 
1968
  unicode strings. (Michael Hudson, #464174)
 
1969
 
 
1970
 
 
1971
bzr 2.0.3
 
1972
#########
 
1973
 
 
1974
:Codename: little italy
 
1975
:2.0.3: 2009-12-14
 
1976
 
 
1977
 
 
1978
The third stable release of Bazaar has a small handful of bugfixes. As
 
1979
expected, this has no internal or external compatibility changes versus
 
1980
2.0.2 (or 2.0.0).
 
1981
 
 
1982
Bug Fixes
 
1983
*********
 
1984
 
 
1985
* ``bzr push --use-existing-dir`` no longer crashes if the directory
 
1986
  exists but contains an invalid ``.bzr`` directory.
 
1987
  (Andrew Bennetts, #423563)
 
1988
 
 
1989
* Content filters are now applied correctly after pull, merge and switch.
 
1990
  (Ian Clatworthy, #385879)
 
1991
 
 
1992
* Fix a potential segfault in the groupcompress hash map handling code.
 
1993
  When inserting new entries, if the final hash bucket was empty, we could
 
1994
  end up trying to access if ``(last_entry+1)->ptr == NULL``.
 
1995
  (John Arbash Meinel, #490228)
 
1996
 
 
1997
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
 
1998
 
 
1999
 
 
2000
bzr 2.1.0b3
 
2001
###########
 
2002
 
 
2003
:Codename: after sprint recovery
 
2004
:2.1.0b3: 2009-11-16
 
2005
 
 
2006
This release was pushed up from its normal release cycle due to a
 
2007
regression in python 2.4 compatibility in 2.1.0b2.  Since this regression
 
2008
was caught before 2.1.0b2 was officially announced, the full changelog
 
2009
includes both 2.1.0b3 and 2.1.0b2 changes.
 
2010
 
 
2011
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
 
2012
the test suite now conforms to python's trunk enhanced semantics (skip,
 
2013
etc.), and ``bzr info -v`` will now report the correct branch and repo
 
2014
formats for Remote objects.
 
2015
 
 
2016
 
 
2017
New Features
 
2018
************
 
2019
 
 
2020
* Users can define a shelve editor to provide shelf functionality at a
 
2021
  granularity finer than per-patch-hunk. (Aaron Bentley)
 
2022
 
 
2023
Bug Fixes
 
2024
*********
 
2025
 
 
2026
* Fix for shell completion and short options.  (Benoît PIERRE)
 
2027
 
 
2028
* Fix ``bzr --profile-imports`` with Python 2.6.  (Martin Pool)
 
2029
 
 
2030
* Hooks daughter classes should always call the base constructor.
 
2031
  (Alexander Belchenko, Vincent Ladeuil, #389648) 
 
2032
 
 
2033
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
 
2034
 
 
2035
* On Windows, do glob expansion at the command-line level (as is usually
 
2036
  done in bash, etc.) This means that *all* commands get glob expansion
 
2037
  (bzr status, bzr add, bzr mv, etc). It uses a custom command line
 
2038
  parser, which allows us to know if a given section was quoted. It means
 
2039
  you can now do ``bzr ignore "*.py"``.
 
2040
  (John Arbash Meinel, #425510, #426410, #194450)
 
2041
 
 
2042
* Sanitize commit messages that come in from the '-m' flag. We translate
 
2043
  '\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
 
2044
  allow those because XML store silently translate it anyway. (The parser
 
2045
  auto-translates \r\n => \n in ways that are hard for us to catch.)
 
2046
 
 
2047
* Show correct branch and repository format descriptions in 
 
2048
  ``bzr info -v`` on a smart server location.  (Andrew Bennetts, #196080)
 
2049
 
 
2050
* The fix for bug #186920 accidentally broke compatibility with python
 
2051
  2.4.  (Vincent Ladeuil, #475585)
 
2052
 
 
2053
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
 
2054
  correctly sets ``self.inv_sha1`` to a sha1 string and
 
2055
  ``self.new_inventory`` to an Inventory instance after calling
 
2056
  ``self.finish_inventory()``. (Previously it accidently set both values
 
2057
  as a tuple on ``self.inv_sha1``. This was missed because
 
2058
  ``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
 
2059
  the sha1 from the repo directly. (John Arbash Meinel)
 
2060
 
 
2061
* Shelve command refuse to run if there is no real terminal.
 
2062
  (Alexander Belchenko)
 
2063
 
 
2064
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
 
2065
  Python level.  (Martin Pool)
 
2066
 
 
2067
Documentation
 
2068
*************
 
2069
 
 
2070
* Include Japanese translations for documentation (Inada Naoki)
 
2071
 
 
2072
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
 
2073
  (rather than user-interaction) data to stdout.  This automatically
 
2074
  coordinates with progress bars or other terminal activity, and can be
 
2075
  overridden by GUIs.
 
2076
  (Martin Pool, 493944)
 
2077
 
 
2078
Internals
 
2079
*********
 
2080
 
 
2081
* Some of the core groupcompress functionality now releases the GIL before
 
2082
  operation. Similar to how zlib and bz2 operate without the GIL in the
 
2083
  core compression and decompression routines. (John Arbash Meinel)
 
2084
 
 
2085
Testing
 
2086
*******
 
2087
 
 
2088
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
 
2089
  more debugging of VFS access triggers. (Robert Collins)
 
2090
 
 
2091
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
 
2092
  method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
 
2093
 
 
2094
* ``--parallel=fork`` is now compatible with --subunit.
 
2095
  (Robert Collins, Vincent Ladeuil, #419776)
 
2096
 
 
2097
* Reporting of failures shows test ids not descriptions and thus shows
 
2098
  parameterised tests correctly. (Robert Collins)
 
2099
 
 
2100
* TestNotApplicable is now handled within the TestCase.run method rather
 
2101
  than being looked for within ``ExtendedTestResult.addError``. This
 
2102
  provides better handling with other ``TestResult`` objects, degrading to
 
2103
  sucess rather than error. (Robert Collins)
 
2104
 
 
2105
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
 
2106
  removed - it was empty and unused. (Robert Collins)
 
2107
 
 
2108
* UnavailableFeature is now handled within the TestCase.run method rather
 
2109
  than being looked for within addError. If the Result object does not
 
2110
  have an addNotSupported method, addSkip is attempted instead, and
 
2111
  failing that addSuccess. (Robert Collins)
 
2112
 
 
2113
* When a TestResult does not have an addSkip method, skipped tests are now
 
2114
  reported as successful tests, rather than as errors. This change is
 
2115
  to make it possible to get a clean test run with a less capable
 
2116
  TestResult. (Robert Collins)
 
2117
 
 
2118
 
 
2119
 
 
2120
bzr 2.1.0b2
 
2121
###########
 
2122
 
 
2123
:Codename: a load off my mind
 
2124
:2.1.0b2: 2009-11-02
 
2125
 
 
2126
This is our second feature-filled release since 2.0, pushing us down the
 
2127
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
 
2128
 
 
2129
Key highlights in this release are: improved handling of
 
2130
failures-during-cleanup for commit, fixing a long-standing bug with
 
2131
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
 
2132
behind proxies, and a new StaticTuple datatype, allowing us to reduce
 
2133
memory consumption (50%) and garbage collector overhead (40% faster) for
 
2134
many operations.
 
2135
 
 
2136
* A new ``--concurrency`` option has been added as well as an associated
 
2137
  BZR_CONCURRENCY environment variable to specify the number of
 
2138
  processes that can be run concurrently when running ``bzr selftest``. The
 
2139
  command-line option overrides the environment variable if both are
 
2140
  specified. If none is specified. the number of processes is obtained
 
2141
  from the OS as before.  (Matt Nordhoff, Vincent Ladeuil)
 
2142
 
 
2143
Bug Fixes
 
2144
*********
 
2145
 
 
2146
* ``bzr+http`` servers no longer give spurious jail break errors when
 
2147
  serving branches inside a shared repository.  (Andrew Bennetts, #348308)
 
2148
 
 
2149
* Errors during commit are handled more robustly so that knock-on errors
 
2150
  are less likely to occur, and will not obscure the original error if
 
2151
  they do occur.  This fixes some causes of ``TooManyConcurrentRequests``
 
2152
  and similar errors.  (Andrew Bennetts, #429747, #243391)
 
2153
 
 
2154
* Launchpad urls can now be resolved from behind proxies.
 
2155
  (Gordon Tyler, Vincent Ladeuil, #186920)
 
2156
 
 
2157
* Reduce the strictness for StaticTuple, instead add a debug flag
 
2158
  ``-Dstatic_tuple`` which will change apis to be strict and raise errors.
 
2159
  This way, most users won't see failures, but developers can improve
 
2160
  internals. (John Arbash Meinel, #471193)
 
2161
 
 
2162
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
 
2163
  files.  (Aaron Bentley)
 
2164
 
 
2165
* Unicode paths are now handled correctly and consistently by the smart
 
2166
  server.  (Andrew Bennetts, Michael Hudson, #458762)
 
2167
 
 
2168
Improvements
 
2169
************
 
2170
 
 
2171
* When reading index files, we now use a ``StaticTuple`` rather than a
 
2172
  plain ``tuple`` object. This generally gives a 20% decrease in peak
 
2173
  memory, and can give a performance boost up to 40% on large projects.
 
2174
  (John Arbash Meinel)
 
2175
 
 
2176
* Peak memory under certain operations has been reduced significantly.
 
2177
  (eg, 'bzr branch launchpad standalone' is cut in half)
 
2178
  (John Arbash Meinel)
 
2179
 
 
2180
Documentation
 
2181
*************
 
2182
 
 
2183
* Filtered views user documentation upgraded to refer to format 2a
 
2184
  instead of pre-2.0 formats. (Ian Clatworthy)
 
2185
 
 
2186
API Changes
 
2187
***********
 
2188
 
 
2189
* Remove deprecated ``CLIUIFactory``.  (Martin Pool)
 
2190
 
 
2191
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
 
2192
  ``show_warning`` methods, which can be hooked by non-text UIs.  
 
2193
  (Martin Pool)
 
2194
 
 
2195
Internals
 
2196
*********
 
2197
 
 
2198
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
 
2199
  Dict (it only holds keys, but you can lookup the object located at a
 
2200
  given key). It has significantly reduced memory consumption versus the
 
2201
  builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
 
2202
  used as the interning structure for StaticTuple objects.
 
2203
  (John Arbash Meinel)
 
2204
 
 
2205
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
 
2206
  the btree index parser and the chk map parser. This class functions
 
2207
  similarly to ``tuple`` objects. However, it can only point to a limited
 
2208
  collection of types.  (Currently StaticTuple, str, unicode, None, bool,
 
2209
  int, long, float, but not subclasses).  This allows us to remove it from
 
2210
  the garbage collector (it cannot be in a cycle), it also allows us to
 
2211
  intern the objects. In testing, this can reduce peak memory by 20-40%,
 
2212
  and significantly improve performance by removing objects from being
 
2213
  inspected by the garbage collector.  (John Arbash Meinel)
 
2214
 
 
2215
* ``GroupCompressBlock._ensure_content()`` will now release the
 
2216
  ``zlib.decompressobj()`` when the first request is for all of the
 
2217
  content. (Previously it would only be released if you made a request for
 
2218
  part of the content, and then all of it later.) This turns out to be a
 
2219
  significant memory savings, as a ``zstream`` carries around approx 260kB
 
2220
  of internal state and buffers. (For branching bzr.dev this drops peak
 
2221
  memory from 382MB => 345MB.) (John Arbash Meinel)
 
2222
 
 
2223
* When streaming content between ``2a`` format repositories, we now clear
 
2224
  caches from earlier versioned files. (So 'revisions' is cleared when we
 
2225
  start reading 'inventories', etc.) This can have a significant impact on
 
2226
  peak memory for initial copies (~200MB). (John Arbash Meinel)
 
2227
 
 
2228
 
 
2229
bzr 2.0.2
 
2230
#########
 
2231
 
 
2232
:Codename: after the scare
 
2233
:2.0.2: 2009-11-02
 
2234
 
 
2235
The second in our "let's keep the stable bugfixes flowing" series. As
 
2236
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
 
2237
changes or features.
 
2238
 
 
2239
Bug Fixes
 
2240
*********
 
2241
 
 
2242
* Avoid "NoneType has no attribute st_mode" error when files disappear
 
2243
  from a directory while it's being read.  (Martin Pool, #446033)
 
2244
 
 
2245
* Content filters are now applied correctly after revert.
 
2246
  (Ian Clatworthy)
 
2247
 
 
2248
* Diff parsing handles "Binary files differ" hunks.  (Aaron Bentley, #436325)
 
2249
 
 
2250
* Fetching from stacked pre-2a repository via a smart server no longer
 
2251
  fails intermittently with "second push failed to complete".
 
2252
  (Andrew Bennetts, #437626)
 
2253
 
 
2254
* Fix typos left after test_selftest refactoring.
 
2255
  (Vincent Ladeuil, Matt Nordhoff, #461149)
 
2256
 
 
2257
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
 
2258
  (Andrew Bennetts, #445171)
 
2259
  
 
2260
* PreviewTree file names are not limited by the encoding of the temp
 
2261
  directory's filesystem. (Aaron Bentley, #436794)
 
2262
 
 
2263
Improvements
 
2264
************
 
2265
 
 
2266
* ``bzr log`` now read-locks branches exactly once, so makes better use of
 
2267
  data caches.  (Andrew Bennetts)
 
2268
 
 
2269
Documentation
 
2270
*************
 
2271
 
 
2272
* Filtered views user documentation upgraded to refer to format 2a
 
2273
  instead of pre-2.0 formats. (Ian Clatworthy)
 
2274
 
 
2275
 
 
2276
bzr 2.1.0b1
 
2277
###########
 
2278
 
 
2279
:Codename: While the cat is away
 
2280
:2.1.0b1: 2009-10-14
 
2281
 
 
2282
This is the first development release in the new split "stable" and
 
2283
"development" series. As such, the release is a snapshot of bzr.dev
 
2284
without creating a release candidate first. This release includes a
 
2285
fair amount of internal changes, with deprecated code being removed,
 
2286
and several new feature developments. People looking for a stable code
 
2287
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
 
2288
present in 2.0.1 are present in 2.1.0b1.
 
2289
 
 
2290
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
 
2291
finer control over the plugin search path via extended BZR_PLUGIN_PATH
 
2292
syntax, visible warnings when extension modules fail to load, and improved
 
2293
error handling during unlocking.
 
2294
 
 
2295
 
 
2296
New Features
 
2297
************
 
2298
 
 
2299
* Bazaar can now send mail through Apple OS X Mail.app. 
 
2300
  (Brian de Alwis)
 
2301
 
 
2302
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
 
2303
  specified in the URL.  Paths starting with a path segment of ``~`` are
 
2304
  relative to the home directory of the user running the server, and paths
 
2305
  starting with ``~user`` are relative to the home directory of the named
 
2306
  user.  For example, for a user "bob" with a home directory of
 
2307
  ``/home/bob``, these URLs are all equivalent:
 
2308
 
 
2309
  * ``bzr+ssh://bob@host/~/repo``
 
2310
  * ``bzr+ssh://bob@host/~bob/repo``
 
2311
  * ``bzr+ssh://bob@host/home/bob/repo``
 
2312
 
 
2313
  If ``bzr serve`` was invoked with a ``--directory`` argument, then no
 
2314
  home directories outside that directory will be accessible via this
 
2315
  method.
 
2316
 
 
2317
  This is a feature of ``bzr serve``, so pre-2.1 clients will
 
2318
  automatically benefit from this feature when ``bzr`` on the server is
 
2319
  upgraded.  (Andrew Bennetts, #109143)
 
2320
 
 
2321
* Extensions can now be compiled if either Cython or Pyrex is available.
 
2322
  Currently Pyrex is preferred, but that may change in the future.
 
2323
  (Arkanes)
 
2324
 
 
2325
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
 
2326
  disable the user, site and core plugin directories.
 
2327
  (Vincent Ladeuil, #412930, #316192, #145612)
 
2328
 
 
2329
Bug Fixes
 
2330
*********
 
2331
 
 
2332
* Bazaar's native protocol code now correctly handles EINTR, which most
 
2333
  noticeably occurs if you break in to the debugger while connected to a
 
2334
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
2335
  'c') and the process continues.  However, note that pressing C-\ in the
 
2336
  shell may still kill the SSH process, which is bug 162509, so you must
 
2337
  sent a signal to the bzr process specifically, for example by typing
 
2338
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
2339
 
 
2340
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
 
2341
  filename will issue a warning and skip over those files.
 
2342
  (Robert Collins, #3918)
 
2343
 
 
2344
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
 
2345
  are present in the working tree. The configuration option ``dpush_strict``
 
2346
  can be used to set the default for this behavior.
 
2347
  (Vincent Ladeuil, #438158)
 
2348
 
 
2349
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
 
2350
  merges are present in the working tree.
 
2351
  (Vincent Ladeuil, #426344)
 
2352
 
 
2353
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
2354
  traceback.  (Martin Pool, #109115)
 
2355
 
 
2356
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
 
2357
  as it is never built. (John Arbash Meinel, #430645)
 
2358
 
 
2359
* Don't restrict the command name used to run the test suite.
 
2360
  (Vincent Ladeuil, #419950)
 
2361
 
 
2362
* ftp transports were built differently when the kerberos python module was
 
2363
  present leading to obscure failures related to ASCII/BINARY modes.
 
2364
  (Vincent Ladeuil, #443041)
 
2365
 
 
2366
* Network streams now decode adjacent records of the same type into a
 
2367
  single stream, reducing layering churn. (Robert Collins)
 
2368
 
 
2369
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
 
2370
  file. (Aaron Bentley, #251532)
 
2371
 
 
2372
* Registry objects should not use iteritems() when asked to use items().
 
2373
  (Vincent Ladeuil, #430510)
 
2374
 
 
2375
* Weave based repositories couldn't be cloned when committers were using
 
2376
  domains or user ids embedding '.sig'. Now they can.
 
2377
  (Matthew Fuller, Vincent Ladeuil, #430868)
 
2378
 
 
2379
Improvements
 
2380
************
 
2381
 
 
2382
* Revision specifiers can now be given in a more DWIM form, without
 
2383
  needing explicit prefixes for specifiers like tags or revision id's.
 
2384
  See ``bzr help revisionspec`` for full details.  (Matthew Fuller)
 
2385
 
 
2386
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if 
 
2387
  compiled extensions can't be loaded.  This typically indicates a
 
2388
  packaging or installation problem.  In this case Bazaar will keep
 
2389
  running using pure-Python versions, but this may be substantially
 
2390
  slower.  The warning can be disabled by setting
 
2391
  ``ignore_missing_extensions = True`` in ``bazaar.conf``.
 
2392
  See also <https://answers.launchpad.net/bzr/+faq/703>.
 
2393
  (Martin Pool, #406113, #430529)
 
2394
 
 
2395
* Secondary errors that occur during Branch.unlock and Repository.unlock
 
2396
  no longer obscure the original error.  These methods now use a new
 
2397
  decorator, ``only_raises``.  This fixes many causes of
 
2398
  ``TooManyConcurrentRequests`` and similar errors.
 
2399
  (Andrew Bennetts, #429747)
 
2400
 
 
2401
Documentation
 
2402
*************
 
2403
 
 
2404
* Describe the new shell-like test feature. (Vincent Ladeuil)
 
2405
 
 
2406
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
2407
  currently supported. (Ian Clatworthy, #422415)
 
2408
 
 
2409
API Changes
 
2410
***********
 
2411
 
 
2412
* ``bzrlib.user_encoding`` has been removed; use
 
2413
  ``bzrlib.osutils.get_user_encoding`` instead.  (Martin Pool)
 
2414
 
 
2415
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
 
2416
  subclasses - the same as python's unittest module. (Robert Collins)
 
2417
  
 
2418
* ``diff._get_trees_to_diff`` has been renamed to 
 
2419
  ``diff.get_trees_and_branches_to_diff``. It is now a public API, and it 
 
2420
  returns the old and new branches. (Gary van der Merwe)
 
2421
 
 
2422
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
 
2423
  (Martin Pool)
 
2424
 
 
2425
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
 
2426
  now defaults to comparing to the basis tree. It now checks for pending
 
2427
  merges too.  ``Merger.check_basis`` has been deprecated and replaced by the
 
2428
  corresponding has_changes() calls. ``Merge.compare_basis``,
 
2429
  ``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
 
2430
  been deprecated.
 
2431
  (Vincent Ladeuil, #440631)
 
2432
 
 
2433
* ``ProgressTask.note`` is deprecated.
 
2434
  (Martin Pool)
 
2435
 
 
2436
Internals
 
2437
*********
 
2438
 
 
2439
* Added ``-Drelock`` debug flag.  It will ``note`` a message every time a
 
2440
  repository or branch object is unlocked then relocked the same way.
 
2441
  (Andrew Bennetts)
 
2442
  
 
2443
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
 
2444
  mallocs while parsing the index (approx 3=>1 mallocs per key read).
 
2445
  This results in a 10% speedup while reading an index.
 
2446
  (John Arbash Meinel)
 
2447
 
 
2448
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
 
2449
  profiling in some situations like callbacks and generators easier.
 
2450
  (Robert Collins)
 
2451
 
 
2452
Testing
 
2453
*******
 
2454
 
 
2455
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
 
2456
  be output for every test. Note that this is very verbose! (Robert Collins)
 
2457
 
 
2458
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
 
2459
  post_mortem to be triggered when a test failure occurs. (Robert Collins)
 
2460
 
 
2461
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
 
2462
  documentation in ``developers/testing.txt`` for details.
 
2463
  (Vincent Ladeuil)
 
2464
 
 
2465
* Some tests could end up with the same id, that was dormant for
 
2466
  a long time.
 
2467
  (Vincent Ladeuil, #442980)
 
2468
 
 
2469
* Stop showing the number of tests due to missing features in the test
 
2470
  progress bar.  (Martin Pool)
 
2471
 
 
2472
* Test parameterisation now does a shallow copy, not a deep copy of the test
 
2473
  to be parameterised. This is not expected to break external use of test
 
2474
  parameterisation, and is substantially faster. (Robert Collins)
 
2475
 
 
2476
* Tests that try to open a bzr dir on an arbitrary transport will now
 
2477
  fail unless they have explicitly permitted the transport via
 
2478
  ``self.permit_url``. The standard test factories such as ``self.get_url``
 
2479
  will permit the urls they provide automatically, so only exceptional
 
2480
  tests should need to do this. (Robert Collins)
 
2481
 
 
2482
* The break-in test no longer cares about clean shutdown of the child,
 
2483
  instead it is happy if the debugger starts up. (Robert  Collins)
 
2484
 
 
2485
* The full test suite is expected to pass when the C extensions are not
 
2486
  present. (Vincent Ladeuil, #430749)
 
2487
 
 
2488
 
 
2489
bzr 2.0.1
 
2490
#########
 
2491
 
 
2492
:Codename: Stability First
 
2493
:2.0.1: 2009-10-14
 
2494
 
 
2495
The first of our new ongoing bugfix-only stable releases has arrived. It
 
2496
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
 
2497
include any of the feature development in the 2.1.0 series.
 
2498
 
 
2499
 
 
2500
Bug Fixes
 
2501
*********
 
2502
 
 
2503
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
 
2504
  filename will issue a warning and skip over those files.
 
2505
  (Robert Collins, #3918)
 
2506
 
 
2507
* bzr will attempt to authenticate with SSH servers that support
 
2508
  ``keyboard-interactive`` auth but not ``password`` auth when using
 
2509
  Paramiko.   (Andrew Bennetts, #433846)
 
2510
 
 
2511
* Fixed fetches from a stacked branch on a smart server that were failing
 
2512
  with some combinations of remote and local formats.  This was causing
 
2513
  "unknown object type identifier 60" errors.  (Andrew Bennetts, #427736)
 
2514
 
 
2515
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
 
2516
  on branches via a smart server.  (Andrew Bennetts, #389413)
 
2517
 
 
2518
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
 
2519
  at the root of a drive. ``osutils._cicp_canonical_relpath`` always
 
2520
  assumed that ``abspath()`` returned a path that did not have a trailing
 
2521
  ``/``, but that is not true when working at the root of the filesystem.
 
2522
  (John Arbash Meinel, Jason Spashett, #322807)
 
2523
 
 
2524
* Hide deprecation warnings for 'final' releases for python2.6.
 
2525
  (John Arbash Meinel, #440062)
 
2526
 
 
2527
* Improve the time for ``bzr log DIR`` for 2a format repositories.
 
2528
  We had been using the same code path as for <2a formats, which required
 
2529
  iterating over all objects in all revisions.
 
2530
  (John Arbash Meinel, #374730)
 
2531
 
 
2532
* Make sure that we unlock the tree if we fail to create a TreeTransform
 
2533
  object when doing a merge, and there is limbo, or pending-deletions
 
2534
  directory.  (Gary van der Merwe, #427773)
 
2535
 
 
2536
* Occasional IndexError on renamed files have been fixed. Operations that
 
2537
  set a full inventory in the working tree will now go via the
 
2538
  apply_inventory_delta code path which is simpler and easier to
 
2539
  understand than dirstates set_state_from_inventory method. This may
 
2540
  have a small performance impact on operations built on _write_inventory,
 
2541
  but such operations are already doing full tree scans, so no radical
 
2542
  performance change should be observed. (Robert Collins, #403322)
 
2543
 
 
2544
* Retrieving file text or mtime from a _PreviewTree has good performance when
 
2545
  there are many changes.  (Aaron Bentley)
 
2546
 
 
2547
* The CHK index pages now use an unlimited cache size. With a limited
 
2548
  cache and a large project, the random access of chk pages could cause us
 
2549
  to download the entire cix file many times.
 
2550
  (John Arbash Meinel, #402623)
 
2551
 
 
2552
* When a file kind becomes unversionable after being added, a sensible
 
2553
  error will be shown instead of a traceback. (Robert Collins, #438569)
 
2554
 
 
2555
Documentation
 
2556
*************
 
2557
 
 
2558
* Improved README. (Ian Clatworthy)
 
2559
 
 
2560
* Improved upgrade documentation for Launchpad branches.
 
2561
  (Barry Warsaw)
 
2562
 
 
2563
 
 
2564
bzr 2.0.0
 
2565
#########
 
2566
 
 
2567
:2.0.0: 2009-09-22
 
2568
:Codename: Instant Karma
 
2569
 
 
2570
This release of Bazaar makes the 2a (previously 'brisbane-core') format
 
2571
the default when new branches or repositories are created.  This format is
 
2572
substantially smaller and faster for many operations.  Most of the work in
 
2573
this release focuses on bug fixes and stabilization, covering both 2a and
 
2574
previous formats.  (See the Upgrade Guide for information on migrating
 
2575
existing projects.)
 
2576
 
 
2577
This release also improves the documentation content and presentation,
 
2578
including adding Windows HtmlHelp manuals.
 
2579
 
 
2580
The Bazaar team decided that 2.0 will be a long-term supported release,
 
2581
with bugfix-only 2.0.x releases based on it, continuing for at least six
 
2582
months or until the following stable release.
 
2583
 
 
2584
Changes from 2.0.0rc2 to final
 
2585
******************************
 
2586
 
 
2587
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
 
2588
  that "want to happen on the 2.0.x stable series" versus things that want
 
2589
  to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
 
2590
  micro = 0.) (John Arbash Meinel)
 
2591
 
 
2592
 
 
2593
bzr 2.0.0rc2
 
2594
############
 
2595
 
 
2596
:2.0.0rc2: 2009-09-10
 
2597
 
 
2598
New Features
 
2599
************
 
2600
 
 
2601
* Added post_commit hook for mutable trees. This allows the keywords
 
2602
  plugin to expand keywords on files changed by the commit.
 
2603
  (Ian Clatworthy, #408841)
 
2604
 
 
2605
Bug Fixes
 
2606
*********
 
2607
 
 
2608
* Bazaar's native protocol code now correctly handles EINTR, which most
 
2609
  noticeably occurs if you break in to the debugger while connected to a
 
2610
  bzr+ssh server.  You can now can continue from the debugger (by typing
 
2611
  'c') and the process continues.  However, note that pressing C-\ in the
 
2612
  shell may still kill the SSH process, which is bug 162509, so you must
 
2613
  sent a signal to the bzr process specifically, for example by typing
 
2614
  ``kill -QUIT PID`` in another shell.  (Martin Pool, #341535)
 
2615
 
 
2616
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
 
2617
  longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
 
2618
  (Robert Collins, #416732)
 
2619
 
 
2620
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
 
2621
  format" (John Arbash Meinel, #424392)
 
2622
 
 
2623
* ``bzr log stacked-branch`` shows the full log including
 
2624
  revisions that are in the fallback repository. (Regressed in 2.0rc1).
 
2625
  (John Arbash Meinel, #419241)
 
2626
 
 
2627
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
 
2628
  traceback.  (Martin Pool, #109115)
 
2629
 
 
2630
* Conversion to 2a will create a single pack for all the new revisions (as
 
2631
  long as it ran without interruption). This improves both ``bzr upgrade``
 
2632
  and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
 
2633
  The autopack logic that occurs every 100 revisions during local
 
2634
  conversions was not returning that pack's identifier, which resulted in
 
2635
  the partial packs created during the conversion not being consolidated
 
2636
  at the end of the conversion process. (Robert Collins, #423818)
 
2637
 
 
2638
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
 
2639
  Groups that are seen as 'underutilized' will be repacked on-the-fly.
 
2640
  This means that when the source is fully packed, there is minimal
 
2641
  overhead during the fetch, but if the source is poorly packed the result
 
2642
  is a fairly well packed repository (not as good as 'bzr pack' but
 
2643
  good-enough.) (Robert Collins, John Arbash Meinel, #402652)
 
2644
 
 
2645
* Fix a potential segmentation fault when doing 'log' of a branch that had
 
2646
  ghosts in its mainline.  (Evaluating None as a tuple is bad.)
 
2647
  (John Arbash Meinel, #419241)
 
2648
 
 
2649
* ``groupcompress`` sort order is now more stable, rather than relying on
 
2650
  ``topo_sort`` ordering. The implementation is now
 
2651
  ``KnownGraph.gc_sort``. (John Arbash Meinel)
 
2652
 
 
2653
* Local data conversion will generate correct deltas. This is a critical
 
2654
  bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
 
2655
  converting repositories. (Robert Collins, #422849)
 
2656
 
 
2657
* Network streams now decode adjacent records of the same type into a
 
2658
  single stream, reducing layering churn. (Robert Collins)
 
2659
 
 
2660
* Prevent some kinds of incomplete data from being committed to a 2a
 
2661
  repository, such as revisions without inventories, a missing chk_bytes
 
2662
  record for an inventory, or a missing text referenced by an inventory.
 
2663
  (Andrew Bennetts, #423506, #406687)
 
2664
  
 
2665
Documentation
 
2666
*************
 
2667
 
 
2668
* Fix assertion error about "_remember_remote_is_before" when pushing to
 
2669
  older smart servers.
 
2670
  (Andrew Bennetts, #418931)
 
2671
 
 
2672
* Help on hooks no longer says 'Not deprecated' for hooks that are
 
2673
  currently supported. (Ian Clatworthy, #422415)
 
2674
 
 
2675
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
 
2676
  user documentation. The HTML documentation is better broken up into
 
2677
  topics. (Ian Clatworthy)
 
2678
 
 
2679
* The developer and foreign language documents are now separated
 
2680
  out so that searching in the HTML and CHM files produces more
 
2681
  useful results. (Ian Clatworthy)
 
2682
 
 
2683
* The main table of contents now provides links to the new Migration Docs
 
2684
  and Plugins Guide. (Ian Clatworthy)
 
2685
 
 
2686
 
 
2687
bzr 2.0.0rc1
 
2688
############
 
2689
 
 
2690
:Codename: no worries
 
2691
:2.0.0rc1: 2009-08-26
 
2692
 
 
2693
Compatibility Breaks
 
2694
********************
 
2695
 
 
2696
* The default format for bzr is now ``2a``. This format brings many
 
2697
  significant performance and size improvements. bzr can pull from
 
2698
  any existing repository into a ``2a`` one, but can only transfer
 
2699
  from ``2a`` into ``rich-root`` repositories. The Upgrade guide
 
2700
  has more information about this change. (Robert Collins)
 
2701
 
 
2702
* On Windows auto-detection of Putty's plink.exe is disabled.
 
2703
  Default SSH client for Windows is paramiko. User still can force
 
2704
  usage of plink if explicitly set environment variable BZR_SSH=plink.
 
2705
  (#414743, Alexander Belchenko)
 
2706
 
 
2707
New Features
 
2708
************
 
2709
 
 
2710
* ``bzr branch --switch`` can now switch the checkout in the current directory
 
2711
  to the newly created branch. (Lukáš Lalinský)
 
2712
 
 
2713
Bug Fixes
 
2714
*********
 
2715
 
 
2716
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
2717
  (Jason Spashett, #76616)
 
2718
 
 
2719
* Fetches were being requested in 'groupcompress' order, but weren't
 
2720
  recombining the groups. Thus they would 'fragment' to get the correct
 
2721
  order, but not 'recombine' to actually benefit from it. Until we get
 
2722
  recombining to work, switching to 'unordered' fetches avoids the
 
2723
  fragmentation. (John Arbash Meinel, #402645)
 
2724
 
 
2725
* Fix a pycurl related test failure on karmic by recognizing an error
 
2726
  raised by newer versions of pycurl.
 
2727
  (Vincent Ladeuil, #306264)
 
2728
 
 
2729
* Fix a test failure on karmic by making a locale test more robust.
 
2730
  (Vincent Ladeuil, #413514)
 
2731
 
 
2732
* Fix IndexError printing CannotBindAddress errors.
 
2733
  (Martin Pool, #286871)
 
2734
 
 
2735
* Fix "Revision ... not present" errors when upgrading stacked branches,
 
2736
  or when doing fetches from a stacked source to a stacked target.
 
2737
  (Andrew Bennetts, #399140)
 
2738
 
 
2739
* ``bzr branch`` of 2a repositories over HTTP is much faster.  bzr now
 
2740
  batches together small fetches from 2a repositories, rather than
 
2741
  fetching only a few hundred bytes at a time.
 
2742
  (Andrew Bennetts, #402657)
 
2743
 
 
2744
Improvements
 
2745
************
 
2746
 
 
2747
* A better description of the platform is shown in crash tracebacks, ``bzr
 
2748
  --version`` and ``bzr selftest``.
 
2749
  (Martin Pool, #409137)
 
2750
 
 
2751
* bzr can now (again) capture crash data through the apport library, 
 
2752
  so that a single human-readable file can be attached to bug reports.
 
2753
  This can be disabled by using ``-Dno_apport`` on the command line, or by
 
2754
  putting ``no_apport`` into the ``debug_flags`` section of
 
2755
  ``bazaar.conf``.
 
2756
  (Martin Pool, Robert Collins, #389328)
 
2757
 
 
2758
* ``bzr push`` locally on windows will no longer give a locking error with
 
2759
  dirstate based formats. (Robert Collins)
 
2760
 
 
2761
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
 
2762
  (Robert Collins, #305006)
 
2763
 
 
2764
* Commit of specific files no longer prevents using the iter_changes
 
2765
  codepath. On 2a repositories, commit of specific files should now be as
 
2766
  fast, or slightly faster, than a full commit. (Robert Collins)
 
2767
 
 
2768
* The internal core code that handles specific file operations like
 
2769
  ``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
 
2770
  include the parent directories if they have altered, and when a
 
2771
  directory stops being a directory its children are always included. This
 
2772
  fixes a number of causes for ``InconsistentDelta`` errors, and permits
 
2773
  faster commit of specific paths. (Robert Collins, #347649)
 
2774
 
 
2775
Documentation
 
2776
*************
 
2777
 
 
2778
* New developer documentation for content filtering.
 
2779
  (Martin Pool)
 
2780
 
 
2781
API Changes
 
2782
***********
 
2783
 
 
2784
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
2785
  classes changed to manage lock lifetime of the trees they open in a way
 
2786
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
2787
 
 
2788
Testing
 
2789
*******
 
2790
 
 
2791
bzr 1.18.1
 
2792
##########
 
2793
 
 
2794
:Codename:     nein nein nein!
 
2795
:1.18.1:       2009-09-09
 
2796
 
 
2797
This release fixes two small but worthwhile bugs relevant to users on
 
2798
Microsoft Windows: some commands that failed on with locking errors will
 
2799
now work, and a bug that caused poor performance after committing a file
 
2800
with line-ending conversion has now been fixed.  It also fixes a bug in
 
2801
pushing to older servers.
 
2802
 
 
2803
Bug Fixes
 
2804
*********
 
2805
 
 
2806
* Fixed a problem where using content filtering and especially end-of-line
 
2807
  conversion will commit too many copies a file.
 
2808
  (Martin Pool, #415508)
 
2809
 
 
2810
* Fix assertion error about ``_remember_remote_is_before`` in
 
2811
  ``set_tags_bytes`` when pushing to older smart servers.  
 
2812
  (Andrew Bennetts, Alexander Belchenko, #418931)
 
2813
 
 
2814
Improvements
 
2815
************
 
2816
 
 
2817
* ``bzr push`` locally on Windows will no longer give a locking error with
 
2818
  dirstate based formats. (Robert Collins)
 
2819
 
 
2820
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
 
2821
  (Robert Collins, #305006)
 
2822
 
 
2823
API Changes
 
2824
***********
 
2825
 
 
2826
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
 
2827
  classes changed to manage lock lifetime of the trees they open in a way
 
2828
  consistent with reader-exclusive locks. (Robert Collins, #305006)
 
2829
 
 
2830
* ``Tree.path_content_summary`` may return a size of None, when called on
 
2831
  a tree with content filtering where the size of the canonical form
 
2832
  cannot be cheaply determined.  (Martin Pool)
 
2833
 
 
2834
* When manually creating transport servers in test cases, a new helper
 
2835
  ``TestCase.start_server`` that registers a cleanup and starts the server
 
2836
  should be used. (Robert Collins)
 
2837
 
 
2838
bzr 1.18
 
2839
########
 
2840
 
 
2841
Compatibility Breaks
 
2842
********************
 
2843
 
 
2844
* Committing directly to a stacked branch from a lightweight checkout will
 
2845
  no longer work. In previous versions this would appear to work but would
 
2846
  generate repositories with insufficient data to create deltas, leading
 
2847
  to later errors when branching or reading from the repository.
 
2848
  (Robert Collins, bug #375013)
 
2849
 
 
2850
New Features
 
2851
************
 
2852
 
 
2853
Bug Fixes
 
2854
*********
 
2855
 
 
2856
* Fetching from 2a branches from a version-2 bzr protocol would fail to
 
2857
  copy the internal inventory pages from the CHK store. This cannot happen
 
2858
  in normal use as all 2a compatible clients and servers support the
 
2859
  version-3 protocol, but it does cause test suite failures when testing
 
2860
  downlevel protocol behaviour. (Robert Collins)
 
2861
 
 
2862
* Fix a test failure on karmic by making a locale test more robust.
 
2863
  (Vincent Ladeuil, #413514)
 
2864
 
 
2865
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
 
2866
  fully packed 2a repository.  (Andrew Bennetts, #382463)
 
2867
 
 
2868
* Further tweaks to handling of ``bzr add`` messages about ignored files.
 
2869
  (Jason Spashett, #76616)
 
2870
 
 
2871
* Properly handle fetching into a stacked branch while converting the
 
2872
  data, especially when there are also ghosts. The code was filling in
 
2873
  parent inventories incorrectly, and also not handling when one of the
 
2874
  parents was a ghost. (John Arbash Meinel, #402778, #412198)
 
2875
 
 
2876
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
 
2877
  inventory pages when appropriate (by falling back to the vfs stream
 
2878
  source).  (Andrew Bennetts, #406686)
 
2879
 
 
2880
* StreamSource generates rich roots from non-rich root sources correctly
 
2881
  now.  (Andrew Bennetts, #368921)
 
2882
 
 
2883
* When deciding whether a repository was compatible for upgrading or
 
2884
  fetching, we previously incorrectly checked the default repository
 
2885
  format for the bzrdir format, rather than the format that was actually
 
2886
  present on disk.  (Martin Pool, #408824)
 
2887
 
 
2888
Improvements
 
2889
************
 
2890
 
 
2891
* A better description of the platform is shown in crash tracebacks, ``bzr
 
2892
  --version`` and ``bzr selftest``.
 
2893
  (Martin Pool, #409137)
 
2894
 
 
2895
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
 
2896
  smart server are more efficient now.  They send inventory deltas rather
 
2897
  than full inventories.  The smart server has two new requests,
 
2898
  ``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
 
2899
  support this.  (Andrew Bennetts, #374738, #385826)
 
2900
 
 
2901
* Extracting the full ancestry and computing the ``merge_sort`` is now
 
2902
  significantly faster. This effects things like ``bzr log -n0``. (For
 
2903
  example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
 
2904
  (John Arbash Meinel)
 
2905
 
 
2906
Documentation
 
2907
*************
 
2908
 
 
2909
API Changes
 
2910
***********
 
2911
 
 
2912
Internals
 
2913
*********
 
2914
 
 
2915
* ``-Dstrict_locks`` can now be used to check that read and write locks
 
2916
  are treated properly w.r.t. exclusivity. (We don't try to take an OS
 
2917
  read lock on a file that we already have an OS write lock on.) This is
 
2918
  now set by default for all tests, if you have a test which cannot be
 
2919
  fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
 
2920
  compatibility knob. (John Arbash Meinel)
 
2921
 
 
2922
* InterDifferingSerializer is now only used locally.  Other fetches that
 
2923
  would have used InterDifferingSerializer now use the more network
 
2924
  friendly StreamSource, which now automatically does the same
 
2925
  transformations as InterDifferingSerializer.  (Andrew Bennetts)
 
2926
 
 
2927
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
 
2928
  are implemented in pyrex and significantly faster. This is exposed along
 
2929
  with ``CombinedGraphIndex.find_ancestry()`` as
 
2930
  ``VersionedFiles.get_known_graph_ancestry(keys)``.
 
2931
  (John Arbash Meinel)
 
2932
 
 
2933
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
 
2934
  protocols. (Robert Collins)
 
2935
 
 
2936
* The index code now has some specialized routines to extract the full
 
2937
  ancestry of a key in a more efficient manner.
 
2938
  ``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
 
2939
  bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
 
2940
  Arbash Meinel)
 
2941
 
 
2942
Testing
 
2943
*******
 
2944
 
 
2945
* Install the test ssl certificate and key so that installed bzr
 
2946
  can run the https tests. (Denys Duchier, #392401)
 
2947
  
 
2948
 
 
2949
bzr 1.18rc1
 
2950
###########
 
2951
 
 
2952
:Codename: little traveller
 
2953
:1.18:    2009-08-20
 
2954
:1.18rc1: 2009-08-10
 
2955
 
 
2956
This release of Bazaar marches on towards the 2.0 release in which the 2a
 
2957
'brisbane-core' format becomes generally recommended.  Most of the work in
 
2958
this release now focusses on bug fixes and stabilization, covering both 2a
 
2959
and previous formats.  There is a new text-mode interactive merge feature,
 
2960
a new guide to migration to 2a format in the user documentation, and
 
2961
pushing branches to a smart server is now much faster.  
 
2962
 
 
2963
The Bazaar team decided that 2.0 will be a long-term supported release,
 
2964
with bugfix-only releases based on it continuing for at least six months
 
2965
or until the following stable release.
 
2966
 
 
2967
There are no changes from 1.18rc1 to 1.18.
 
2968
 
 
2969
New Features
 
2970
************
 
2971
 
 
2972
* ``bzr merge --interactive`` applies a user-selected portion of the
 
2973
  merge.  The UI is similar to ``shelve``.  (Aaron Bentley)
 
2974
 
 
2975
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
 
2976
  ``--unstacked`` to change stacking of a branch.
 
2977
  (Martin Pool, #391411)
 
2978
 
 
2979
Bug Fixes
 
2980
*********
 
2981
 
 
2982
* Annotating on a stacked branch will now succeed in simple scenarios.
 
2983
  There are still some complex scenarios where it will fail (bug #399884)
 
2984
  (John Arbash Meinel, #393366)
 
2985
 
 
2986
* A progress bar is no longer left dangling when ``bzr selftest``
 
2987
  completes, and the progress bar updates with zero latency so the
 
2988
  displayed test name is always the one that's actually running.
 
2989
  (Martin Pool, #123688)
 
2990
 
 
2991
* Authenticating against an ssh server now uses ``auth_none`` to determine
 
2992
  if password authentication is even supported. This fixes a bug where
 
2993
  users would be prompted for a launchpad password, even though launchpad
 
2994
  only supports publickey authentication. (John Arbash Meinel, #375867)
 
2995
 
 
2996
* BranchBuilder now accepts timezone to avoid test failures in countries far
 
2997
  from GMT. (Vincent Ladeuil, #397716)
 
2998
 
 
2999
* ``bzr commit`` no longer saves the unversioning of missing files until
 
3000
  the commit has completed on the branch. This means that aborting a
 
3001
  commit that found a missing file will leave the tree unedited.
 
3002
  (Robert Collins, #282402)
 
3003
 
 
3004
* ``bzr mv`` no longer takes out branch locks, which allows it to work
 
3005
  when the branch is readonly. (Robert Collins, #216541)
 
3006
 
 
3007
* ``bzr revert .`` no longer generates an InconsistentDelta error when
 
3008
  there are missing subtrees. (Robert Collins, #367632)
 
3009
 
 
3010
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
 
3011
  do to internal changes necessary to support this, older clients will
 
3012
  fail when trying to insert them. For newer clients, the bundle can be
 
3013
  used to apply the changes to any rich-root compatible format.
 
3014
  (John Arbash Meinel, #393349)
 
3015
 
 
3016
* Cope with FTP servers that don't support restart/append by falling back
 
3017
  to reading and then rewriting the whole file, such as TahoeLAFS.  (This
 
3018
  fallback may be slow for some access patterns.)  (Nils Durner, #294709)
 
3019
 
 
3020
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
 
3021
  external diff client. This at least allows supporting filenames that are
 
3022
  not ascii, but are present in the current locale. Ideally we would be
 
3023
  able to pass the Unicode path, but that would be client dependent.
 
3024
  (John Arbash Meinel, #382709)
 
3025
 
 
3026
* Fix a compile bug on Solaris having to do with const and
 
3027
  pointer-to-pointers. (John Arbash Meinel, #408441)
 
3028
 
 
3029
* Fixed a NameError that occurs when merging or pulling from a URL that
 
3030
  causes a redirection loop when bzr tries to read a URL as a bundle.
 
3031
  (Andrew Bennetts, #400847)
 
3032
 
 
3033
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
 
3034
  running send and similar commands on 2a formats.
 
3035
  (Martin Pool, #408201)
 
3036
  
 
3037
* Fix crash in some invocations of ``bzr status`` in format 2a.
 
3038
  (Martin Pool, #403523)
 
3039
 
 
3040
* Fixed export to existing directory: if directory is empty then export 
 
3041
  will succeed, otherwise it fails with error.
 
3042
  (Alexander Belchenko, #406174)
 
3043
 
 
3044
* Fixed spurious "Source branch does not support stacking" warning when
 
3045
  pushing. (Andrew Bennetts, #388908)
 
3046
 
 
3047
* Fixed spurious transport activity indicator appearing while tests are
 
3048
  running.  (Martin Pool, #343532)
 
3049
 
 
3050
* Merge now correctly handles empty right-hand revision specs.
 
3051
  (Aaron Bentley, #333961)
 
3052
 
 
3053
* Renames to lexographically lower basenames in trees that have never been
 
3054
  committed to will no longer corrupt the dirstate. This was caused by an
 
3055
  bug in the dirstate update_minimal method. (Robert Collins, #395556)
 
3056
 
 
3057
* Requests for unknown methods no longer cause the smart server to log
 
3058
  lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
 
3059
  ``do_end``.  (Andrew Bennetts, #338561)
 
3060
 
 
3061
* Shelve will not shelve the initial add of the tree root.  (Aaron Bentley)
 
3062
 
 
3063
* Streaming from bzr servers where there is a chain of stacked branches
 
3064
  (A stacked on B stacked on C) will now work. (Robert Collins, #406597)
 
3065
 
 
3066
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
 
3067
  always forces progress bars either on or off respectively.  Otherwise,
 
3068
  they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
 
3069
  bzr always uses the 'text' user interface when run as a command, so
 
3070
  ``BZR_USE_TEXT_UI`` is no longer needed.
 
3071
  (Martin Pool, #339385, #387717)
 
3072
 
 
3073
* The optional ``_knit_load_data_pyx`` C extension was never being
 
3074
  imported.  This caused significant slowdowns when reading data from
 
3075
  repositories.  (Andrew Bennetts, #405653)
 
3076
  
 
3077
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
 
3078
  supported at the moment on workingtree formats that can do content
 
3079
  filtering.  (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
 
3080
  bzr now says so, rather than just ignoring the option.  (Martin Pool)
 
3081
 
 
3082
* There was a bug in ``osutils.relpath`` that was only triggered on
 
3083
  Windows. Essentially if you were at the root of a drive, and did
 
3084
  something to a branch/repo on another drive, we would go into an
 
3085
  infinite loop while trying to find a 'relative path'.
 
3086
  (John Arbash Meinel, #394227)
 
3087
 
 
3088
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
 
3089
  were present in a parent tree but renamed in the working tree.
 
3090
  (Robert Collins, #187207)
 
3091
 
 
3092
Improvements
 
3093
************
 
3094
 
 
3095
* Can now rename/move files even if they have been removed from the inventory.
 
3096
  (Marius Kruger)
 
3097
 
 
3098
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
 
3099
  faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
 
3100
  than VFS methods.  For example, pushes of small branches with tags take
 
3101
  11 rather than 18 smart server requests.  (Andrew Bennetts, #398608)
 
3102
 
 
3103
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
 
3104
  the same way that sending Ctrl-\\ does on other platforms.
 
3105
  (John Arbash Meinel)
 
3106
 
 
3107
Documentation
 
3108
*************
 
3109
 
 
3110
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
 
3111
 
 
3112
API Changes
 
3113
***********
 
3114
 
 
3115
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
 
3116
  need to subclass or create a specific class, or better yet the existing
 
3117
  ``make_ui_for_terminal``.  ``SilentUIFactory`` is clarified to do no
 
3118
  user interaction at all, rather than trying to read from stdin but not
 
3119
  writing any output, which would be strange if reading prompts or
 
3120
  passwords.  (Martin Pool)
 
3121
 
 
3122
* New TransformPreview.commit() allows committing without a working tree.
 
3123
  (Aaron Bentley)
 
3124
 
 
3125
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
 
3126
  (Martin Pool)
 
3127
 
 
3128
* ProgressTasks now prefer to talk direct to their ProgressView not to the
 
3129
  UIFactory. 
 
3130
  (Martin Pool)
 
3131
 
 
3132
* ``WorkingTree._check`` now requires a references dict with keys matching
 
3133
  those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
 
3134
 
 
3135
Internals
 
3136
*********
 
3137
 
 
3138
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
 
3139
  reading the entries along the path, reducing work to lookup ids from
 
3140
  paths. (Robert Collins)
 
3141
 
 
3142
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
 
3143
  as new a key which was already mapped. (Robert Collins)
 
3144
 
 
3145
* Inventory delta application catches more cases of corruption and can
 
3146
  prevent corrupt deltas from affecting consistency of data structures on
 
3147
  disk. (Robert Collins)
 
3148
 
 
3149
* --subunit support now adds timestamps if the subunit version supports
 
3150
  it. (Robert Collins)
 
3151
 
 
3152
* The Windows all-in-one installer now bundles the PyQt image format
 
3153
  plugins, which allows previewing more images as part of 'qdiff'.
 
3154
  (Alexander Belchenko)
 
3155
 
 
3156
 
 
3157
Testing
 
3158
*******
 
3159
 
 
3160
* Merge directive cherrypick tests must use the same root id.
 
3161
  (Martin Pool, #409684)
 
3162
 
 
3163
* Spurious failure in ``check`` tests on rich-root formats fixed.
 
3164
  (Martin Pool, #408199)
 
3165
 
 
3166
* The ``bzrlib.tests.TextTestRunner`` will no longer call
 
3167
  ``countTestsCases`` on the test being run. Progress information is
 
3168
  instead handled by having the test passed in call ``result.progress``
 
3169
  before running its contents. This improves the behaviour when using
 
3170
  ``TextTestRunner`` with test suites that don't support
 
3171
  ``countTestsCases``. (Robert Collins)
 
3172
 
 
3173
 
 
3174
bzr 1.17.1 (unreleased)
 
3175
#######################
 
3176
 
 
3177
Bug Fixes
 
3178
*********
 
3179
 
 
3180
* The optional ``_knit_load_data_pyx`` C extension was never being
 
3181
  imported.  This caused significant slowdowns when reading data from
 
3182
  knit format repositories.  (Andrew Bennetts, #405653)
 
3183
  
 
3184
 
 
3185
bzr 1.17
 
3186
########
 
3187
:Codename: so-late-its-brunch
 
3188
:1.17rc1: 2009-07-13
 
3189
:1.17: 2009-07-20
 
3190
 
 
3191
 
 
3192
Bazaar continues to blaze a straight and shining path to the 2.0 release and
 
3193
the elevation of the ``2a`` beta format to the full glory of "supported and
 
3194
stable".
 
3195
 
 
3196
Highlights in this release include greatly reduced memory consumption during
 
3197
commits, faster ``ls``, faster ``annotate``, faster network operations if
 
3198
you're specifying a revision number and the final destruction of those
 
3199
annoying progress bar artifacts.
 
3200
 
 
3201
 
 
3202
Changes from 1.17rc1 to 1.17final
 
3203
*********************************
 
3204
 
 
3205
* Change an extension to call the python ``frozenset()`` rather than the C
 
3206
  api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
 
3207
  C api. (John Arbash Meinel, #399366)
 
3208
 
 
3209
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
 
3210
  ``tools/generate_docs.py`` to allow everything to be built on Windows.
 
3211
  (John Arbash Meinel, #399356)
 
3212
 
 
3213
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
 
3214
  directory before serving it. (Andrew Bennetts, #400535)
 
3215
 
 
3216
 
 
3217
Compatibility Breaks
 
3218
********************
 
3219
 
 
3220
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
 
3221
  instead of "product" which is the correct Launchpad terminology.  The
 
3222
  --product option is deprecated and users should switch to using --project.
 
3223
  (Neil Martinsen-Burrell, #238764)
 
3224
 
 
3225
 
 
3226
New Features
 
3227
************
 
3228
 
 
3229
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
 
3230
  are present in the working tree (if one is present) and no revision is
 
3231
  specified. The configuration option ``push_strict`` can be used to set the
 
3232
  default for this behavior.  (Vincent Ladeuil, #284038, #322808, #65286)
 
3233
 
 
3234
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
 
3235
  show revision info for the working tree instead of the branch.
 
3236
  (Matthew Fuller, John Arbash Meinel)
 
3237
 
 
3238
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
 
3239
  are present in the working tree and no revision is specified. The
 
3240
  configuration option ``send_strict`` can be used to set the default for this
 
3241
  behavior.
 
3242
  (Vincent Ladeuil, #206577)
 
3243
 
 
3244
* ``bzr switch --create-branch/-b`` can now be used to create and switch
 
3245
  to a new branch. Supplying a name without a ``/`` will create the branch
 
3246
  relative to the existing branch. (similar to how ``bzr switch name``
 
3247
  works when the branch already exists.) (John Arbash Meinel)
 
3248
 
 
3249
 
 
3250
Bug Fixes
 
3251
*********
 
3252
 
 
3253
* Accept uppercase "Y/N" to prompts such as from break lock. 
 
3254
  (#335182, Tim Powell, Martin Pool)
 
3255
 
 
3256
* Add documentation about diverged branches and how to fix them in the
 
3257
  centralized workflow with local commits.  Mention ``bzr help
 
3258
  diverged-branches`` when a push fails because the branches have
 
3259
  diverged.  (Neil Martinsen-Burrell, #269477)
 
3260
 
 
3261
* Annotate would sometimes 'latch on' to trivial lines, causing important
 
3262
  lines to be incorrectly annotated. (John Arbash Meinel, #387952)
 
3263
 
 
3264
* Automatic format upgrades triggered by default stacking policies on a
 
3265
  1.16rc1 (or later) smart server work again.
 
3266
  (Andrew Bennetts, #388675)
 
3267
 
 
3268
* Avoid progress bar artifacts being left behind on the screen.
 
3269
  (Martin Pool, #321935)
 
3270
 
 
3271
* Better message in ``bzr split`` error suggesting a rich root format.
 
3272
  (Neil Martinsen-Burrell, #220067)
 
3273
 
 
3274
* ``Branch.set_append_revisions_only`` now works with branches on a smart
 
3275
  server. (Andrew Bennetts, #365865)
 
3276
 
 
3277
* By default, ``bzr branch`` will fail if the target directory exists, but
 
3278
  does not already have a control directory.  The flag ``--use-existing-dir``
 
3279
  will allow operation to proceed.  (Alexander Belchenko, #307554)
 
3280
 
 
3281
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
 
3282
  (Ian Clatworthy)
 
3283
 
 
3284
* Fetch between repositories does not error if they have inconsistent data
 
3285
  that should be irrelevant to the fetch operation. (Aaron Bentley)
 
3286
 
 
3287
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout 
 
3288
  of a remote repository.
 
3289
  (Jelmer Vernooij, #332194)
 
3290
 
 
3291
* Fix bug in decoding v3 smart server messages when receiving multiple
 
3292
  lots of excess bytes after an end-of-message.
 
3293
  (Andrew Bennetts)
 
3294
 
 
3295
* Force deletion of readonly files during merge, update and other tree
 
3296
  transforms.
 
3297
  (Craig Hewetson, Martin Pool, #218206)
 
3298
 
 
3299
* Force socket shutdown in threaded http test servers to avoid client hangs
 
3300
  (pycurl).  (Vincent Ladeuil, #383920).
 
3301
 
 
3302
* ``LRUCache`` will maintain the linked list pointers even if a nodes
 
3303
  cleanup function raises an exception. (John Arbash Meinel, #396838)
 
3304
 
 
3305
* Progress bars are now suppressed again when the environment variable
 
3306
  ``BZR_PROGRESS_BAR`` is set to ``none``.
 
3307
  (Martin Pool, #339385)
 
3308
 
 
3309
* Reduced memory consumption during ``bzr commit`` of large files. For
 
3310
  pre 2a formats, should be down to ~3x the size of a file.
 
3311
  For ``--2a`` format repositories, it is down to the size of the file
 
3312
  content plus the size of the compressed text.  Related to bug #109114.
 
3313
  (John Arbash Meinel)
 
3314
 
 
3315
* Set hidden attribute on .bzr directory below unicode path should never
 
3316
  fail with error. The operation should succeed even if bzr unable to set 
 
3317
  the attribute.  (Alexander Belchenko, related to bug #335362).
 
3318
  
 
3319
* Stacking will no longer accept requests to stack on the same
 
3320
  branch/repository. Existing branches that incorrectly reference the same
 
3321
  repository in a stacking configuration will now raise
 
3322
  UnstackableLocationError when the branch is opened. This can be fixed by
 
3323
  removing the stacking location inside ``.bzr/branch``.
 
3324
  (Robert Collins, #376243)
 
3325
 
 
3326
* The ``log+`` decorator, useful in debugging or profiling, could cause
 
3327
  "AttributeError: 'list' object has no attribute 'next'".  This is now
 
3328
  fixed.  The log decorator no longer shows the elapsed time or transfer
 
3329
  rate because they're available in the log prefixes and the transport
 
3330
  activity display respectively.
 
3331
  (Martin Pool, #340347)
 
3332
 
 
3333
* Unshelve works correctly when multiple zero-length files are present on
 
3334
  the shelf. (Aaron Bentley, #363444)
 
3335
 
 
3336
* Progress bars no longer show the network transport scheme or direction.
 
3337
  (Martin Pool)
 
3338
 
 
3339
* launchpad-login now respects the 'verbose' option.
 
3340
  (Jonathan Lange, #217031)
 
3341
 
 
3342
 
 
3343
Internals
 
3344
*********
 
3345
 
 
3346
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
 
3347
  possible to write a deprecation wrapper, but the variable will be
 
3348
  removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
 
3349
  instead. (Alexander Belchenko)
 
3350
 
 
3351
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
 
3352
  three new hook points: ``get_command``, ``get_missing_command`` and
 
3353
  ``list_commands``, which allow just-in-time command name provision
 
3354
  rather than requiring all command names be known a-priori.
 
3355
  (Robert Collins)
 
3356
 
 
3357
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
 
3358
  and can read path to wordpad.exe. (Alexander Belchenko, #392046)
 
3359
 
 
3360
* ``graph.KnownGraph`` has been added. This is a class that can give
 
3361
  answers to ``heads()`` very quickly. However, it has the assumption that
 
3362
  the whole graph has already been loaded. This is true during
 
3363
  ``annotate`` so it is used there with good success (as much as 2x faster
 
3364
  for files with long ancestry and 'cherrypicked' changes.)
 
3365
  (John Arbash Meinel, Vincent Ladeuil)
 
3366
 
 
3367
* OS file locks are now taken out using ``CreateFile`` rather than
 
3368
  ``LockFileEx`` on Windows. The locking remains exclusive with
 
3369
  ``LockFileEx`` but now it also works on older versions of Windows (such
 
3370
  as Win98). (Martin <gzlist>)
 
3371
 
 
3372
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
 
3373
  than the ``Packer`` code. The user visible change is that we now
 
3374
  properly fetch the minimum number of texts for non-smart fetching.
 
3375
  (John Arbash Meinel)
 
3376
 
 
3377
 
 
3378
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
 
3379
  the repository as a single string, rather than a list of lines. This can
 
3380
  improve memory overhead and performance of committing large files.
 
3381
  (Currently a private api, used only by commit). (John Arbash Meinel)
 
3382
 
 
3383
 
 
3384
Improvements
 
3385
************
 
3386
 
 
3387
* ``bzr annotate`` can now be significantly faster. The time for
 
3388
  ``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
 
3389
  histories and lots of 'duplicate insertions' will be improved more than
 
3390
  others. (John Arbash Meinel, Vincent Ladeuil)
 
3391
 
 
3392
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
 
3393
  to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
 
3394
  substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
 
3395
 
 
3396
* Improve "Path(s) are not versioned" error reporting for some commands.
 
3397
  (Benoît PIERRE)
 
3398
 
 
3399
* Initial commit performance in ``--2a`` repositories has been improved by
 
3400
  making it cheaper to build the initial CHKMap. (John Arbash Meinel)
 
3401
 
 
3402
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
 
3403
  or ``bzr+ssh://`` is now much faster and involves no VFS operations.
 
3404
  This speeds up commands like ``bzr pull -r 123``.  (Andrew Bennetts)
 
3405
 
 
3406
* ``revision-info`` now properly aligns the revnos/revids in the output
 
3407
  and doesn't traceback when given revisions not in the current branch.
 
3408
  Performance is also significantly improved when requesting multiple revs
 
3409
  at once.  (Matthew Fuller, John Arbash Meinel)
 
3410
 
 
3411
* Tildes are no longer escaped by Transports. (Andy Kilner)
 
3412
 
 
3413
 
 
3414
Documentation
 
3415
*************
 
3416
 
 
3417
* Avoid bad text wrapping in generated documentation.  Slightly better
 
3418
  formatting in the user reference.
 
3419
  (Martin Pool, #249908)
 
3420
 
 
3421
* Minor clarifications to the help for End-Of-Line conversions.
 
3422
  (Ian Clatworthy)
 
3423
 
 
3424
API Changes
 
3425
***********
 
3426
 
 
3427
* Removed overspecific error class ``InvalidProgressBarType``.
 
3428
  (Martin Pool)
 
3429
 
 
3430
* The method ``ProgressView._show_transport_activity`` is now
 
3431
  ``show_transport_activity`` because it's part of the contract between
 
3432
  this class and the UI.  (Martin Pool)
 
3433
 
 
3434
 
 
3435
bzr 1.16.1
 
3436
##########
 
3437
 
 
3438
:Released: 2009-06-26
 
3439
 
 
3440
End user testing of the 2a format revealed two serious bugs. The first,
 
3441
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
 
3442
This meant that commits or pushes to 2a-format repositories failed
 
3443
intermittently.
 
3444
 
 
3445
The second bug, #390563, caused the smart server to raise AbsentContentFactory
 
3446
when streaming 2a stacked 2a-format branches. This particularly affected
 
3447
branches stored on Launchpad in the 2a format.
 
3448
 
 
3449
Both of these bugs cause command failures only, neither of them cause data
 
3450
corruption or data loss. And, of course, both of these bugs are now fixed.
 
3451
 
 
3452
Bug Fixes
 
3453
*********
 
3454
 
 
3455
* We now properly request a more minimal set of file texts when fetching
 
3456
  multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
 
3457
 
 
3458
* Repositories using CHK pages (which includes the new 2a format) will no
 
3459
  longer error during commit or push operations when an autopack operation
 
3460
  is triggered. (Robert Collins, #365615)
 
3461
 
 
3462
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
 
3463
  of referenced nodes rather than the *union* to determine what
 
3464
  uninteresting pages we still need to look at. Prior to this,
 
3465
  incrementally pushing to stacked branch would push the minimal data, but
 
3466
  fetching everything would request extra texts. There are some unhandled
 
3467
  cases wrt trees of different depths, but this fixes the common cases.
 
3468
  (Robert Collins, John Arbash Meinel, #390563)
 
3469
 
 
3470
* ``GroupCompress`` repositories now take advantage of the pack hints
 
3471
  parameter to permit cross-format fetching to incrementally pack the
 
3472
  converted data. (Robert Collins)
 
3473
 
 
3474
* ``Repository.commit_write_group`` now returns opaque data about what
 
3475
  was committed, for passing to the ``Repository.pack``. Repositories
 
3476
  without atomic commits will still return None. (Robert Collins)
 
3477
 
 
3478
* ``Repository.pack`` now takes an optional ``hint`` parameter
 
3479
  which will support doing partial packs for repositories that can do
 
3480
  that. (Robert Collins)
 
3481
 
 
3482
* RepositoryFormat has a new attribute 'pack_compresses' which is True
 
3483
  when doing a pack operation changes the compression of content in the
 
3484
  repository. (Robert Collins)
 
3485
 
 
3486
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
 
3487
  ``Repository.pack`` with the hint returned by
 
3488
  ``Repository.commit_write_group`` if the formats were different and the
 
3489
  repository can increase compression by doing a pack operation.
 
3490
  (Robert Collins, #376748)
 
3491
 
 
3492
 
 
3493
bzr 1.16
 
3494
########
 
3495
:Codename: yesterday-in-california
 
3496
:1.16rc1: 2009-06-11
 
3497
:1.16: 2009-06-18
 
3498
 
 
3499
This version of Bazaar contains the beta release of the new ``2a`` repository
 
3500
format, suitable for testing by fearless, advanced users. This format or an
 
3501
updated version of it will become the default format in Bazaar 2.0. Please
 
3502
read the NEWS entry before even thinking about upgrading to the new format.
 
3503
 
 
3504
Also included are speedups for many operations on huge projects, a bug fix for
 
3505
pushing stacked new stacked branches to smart servers and the usual bevy of
 
3506
bug fixes and improvements.
 
3507
 
 
3508
 
 
3509
Changes from 1.16rc1 to 1.16final
 
3510
*********************************
 
3511
 
 
3512
* Fix the nested tree flag check so that upgrade from development formats to
 
3513
  2a can work correctly.
 
3514
  (Jelmer Vernooij, #388727)
 
3515
 
 
3516
* Automatic format upgrades triggered by default stacking policies on a
 
3517
  1.16rc1 (or later) smart server work again.
 
3518
  (Andrew Bennetts, #388675)
 
3519
 
 
3520
 
 
3521
Compatibility Breaks
 
3522
********************
 
3523
 
 
3524
* Display prompt on stderr (instead of stdout) when querying users so
 
3525
  that the output of commands can be safely redirected.
 
3526
  (Vincent Ladeuil, #376582)
 
3527
 
 
3528
 
 
3529
New Features
 
3530
************
 
3531
 
 
3532
* A new repository format ``2a`` has been added.  This is a beta release
 
3533
  of the brisbane-core (aka group-compress) project.  This format now
 
3534
  suitable for wider testing by advanced users willing to deal with some
 
3535
  bugs.  We would appreciate test reports, either positive or negative.
 
3536
  Format 2a is substantially smaller and faster for many operations on
 
3537
  many trees.  This format or an updated version will become the default
 
3538
  in bzr 2.0.
 
3539
 
 
3540
  This is a rich-root format, so this repository format can be used with
 
3541
  bzr-svn.  Bazaar branches in previous non-rich-root formats can be
 
3542
  converted (including by merge, push and pull) to format 2a, but not vice
 
3543
  versa.  We recommend upgrading previous development formats to 2a.
 
3544
 
 
3545
  Upgrading to this format can take considerable time because it expands
 
3546
  and more concisely repacks the full history.
 
3547
 
 
3548
  If you use stacked branches, you must upgrade the stacked branches
 
3549
  before the stacked-on branches.  (See <https://bugs.launchpad.net/bugs/374735>)
 
3550
 
 
3551
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
 
3552
  but using a Revision serializer using bencode rather than XML.
 
3553
  (Jelmer Vernooij, John Arbash Meinel)
 
3554
 
 
3555
* mail_client=claws now supports --body (and message body hooks).  Also uses
 
3556
  configured from address.  (Barry Warsaw)
 
3557
 
 
3558
Improvements
 
3559
************
 
3560
 
 
3561
 
 
3562
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
 
3563
  bugs with stacking and non default formats.)
 
3564
  (John Arbash Meinel, #373455)
 
3565
 
 
3566
* ``--development6-rich-root`` delays generating a delta index for the
 
3567
  first object inserted into a group. This has a beneficial impact on
 
3568
  ``bzr commit`` since each committed texts goes to its own group. For
 
3569
  committing a 90MB file, it drops peak memory by about 200MB, and speeds
 
3570
  up commit from 7s => 4s. (John Arbash Meinel)
 
3571
 
 
3572
* Numerous operations are now faster for huge projects, i.e. those
 
3573
  with a large number of files and/or a large number of revisions,
 
3574
  particularly when the latest development format is used. These
 
3575
  operations (and improvements on OpenOffice.org) include:
 
3576
 
 
3577
  * branch in a shared repository (2X faster)
 
3578
  * branch --no-tree (100X faster)
 
3579
  * diff (2X faster)
 
3580
  * tags (70X faster)
 
3581
 
 
3582
  (Ian Clatworthy)
 
3583
 
 
3584
* Pyrex version of ``bencode`` support. This provides optimized support
 
3585
  for both encoding and decoding, and is now found at ``bzrlib.bencode``.
 
3586
  ``bzrlib.utils.bencode`` is now deprecated.
 
3587
  (Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
 
3588
 
 
3589
 
 
3590
Bug Fixes
 
3591
*********
 
3592
 
 
3593
* Bazaar can now pass attachment files to the mutt email client.
 
3594
  (Edwin Grubbs, #384158)
 
3595
 
 
3596
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
 
3597
  see which files can also be added.  (Jason Spashett, #76616)
 
3598
 
 
3599
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
 
3600
  Also, the ``Branch.revision_history()`` API now works in the same
 
3601
  situation.  (Andrew Bennetts, #380314)
 
3602
  
 
3603
* ``bzr serve`` on Windows no longer displays a traceback simply because a
 
3604
  TCP client disconnected. (Andrew Bennetts)
 
3605
 
 
3606
* Clarify the rules for locking and fallback repositories. Fix bugs in how
 
3607
  ``RemoteRepository`` was handling fallbacks along with the
 
3608
  ``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
 
3609
 
 
3610
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
 
3611
  branch. Not often triggered, because it required ghosts to be part of
 
3612
  the fetched revisions, not in the stacked-on ancestry.
 
3613
  (John Arbash Meinel)
 
3614
 
 
3615
* Fix status and commit to work with content filtered trees, addressing
 
3616
  numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
 
3617
 
 
3618
* Fix problem of "directory not empty" when contending for a lock over
 
3619
  sftp.  (Martin Pool, #340352)
 
3620
 
 
3621
* Fix rule handling so that eol is optional, not mandatory.
 
3622
  (Ian Clatworthy, #379370)
 
3623
 
 
3624
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
 
3625
  bug in the ``BzrDirFormat.initialize_ex`` smart verb.  This is fixed in
 
3626
  1.16, but required changes to the network protocol, so the
 
3627
  ``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
 
3628
  corrected ``BzrDirFormat.initialize_ex_1.16`` verb.  1.15 clients will
 
3629
  still work with a 1.16 server as they will fallback to slower (and
 
3630
  bug-free) methods.
 
3631
  (Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
 
3632
 
 
3633
* Reconcile can now deal with text revisions that originated in revisions 
 
3634
  that are ghosts. (Jelmer Vernooij, #336749)
 
3635
 
 
3636
* Support cloning of branches with ghosts in the left hand side history.
 
3637
  (Jelmer Vernooij, #248540)
 
3638
 
 
3639
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
 
3640
  helpful message to the trace file, unless the temp directory really was
 
3641
  removed (which would be very strange).  Since the diff operation has
 
3642
  succeeded from the user's perspective, no output is written to stderr 
 
3643
  or stdout.  (Maritza Mendez, #363837)
 
3644
 
 
3645
* Translate errors received from a smart server in response to a
 
3646
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
3647
  This was causing tracebacks even for mundane errors like
 
3648
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
3649
 
 
3650
Documentation
 
3651
*************
 
3652
 
 
3653
* Added directory structure and started translation of docs in Russian.
 
3654
  (Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
 
3655
  Volodymyr Kotulskyi)
 
3656
 
 
3657
API Changes
 
3658
***********
 
3659
 
 
3660
* Added osutils.parent_directories(). (Ian Clatworthy)
 
3661
 
 
3662
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
 
3663
  ``TTYProgressBar`` and ``child_progress`` are now deprecated; use
 
3664
  ``ui_factory.nested_progress_bar`` instead.  (Martin Pool)
 
3665
 
 
3666
* ``graph.StackedParentsProvider`` is now a public API, replacing
 
3667
  ``graph._StackedParentsProvider``. The api is now considered stable and ready
 
3668
  for external users. (Gary van der Merwe)
 
3669
 
 
3670
* ``bzrlib.user_encoding`` is deprecated in favor of
 
3671
  ``get_user_encoding``.  (Alexander Belchenko)
 
3672
 
 
3673
* TreeTransformBase no longer assumes that limbo is provided via disk.
 
3674
  DiskTreeTransform now provides disk functionality.  (Aaron Bentley)
 
3675
 
 
3676
Internals
 
3677
*********
 
3678
 
 
3679
* Remove ``weave.py`` script for accessing internals of old weave-format
 
3680
  repositories.  (Martin Pool)
 
3681
 
 
3682
Testing
 
3683
*******
 
3684
 
 
3685
* ``make check`` no longer repeats the test run in ``LANG=C``.
 
3686
  (Martin Pool, #386180)
 
3687
 
 
3688
* The number of cores is now correctly detected on OSX. (John Szakmeister)
 
3689
 
 
3690
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
 
3691
 
 
3692
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
 
3693
 
 
3694
 
 
3695
bzr 1.15
 
3696
########
 
3697
:1.15rc1: 2009-05-16
 
3698
:1.15: 2009-05-22
 
3699
:1.15.1: 2009-06-09
 
3700
 
 
3701
The smart server will no longer raise 'NoSuchRevision' when streaming content
 
3702
with a size mismatch in a reconstructed graph search. New command ``bzr
 
3703
dpush``. Plugins can now define their own annotation tie-breaker when two
 
3704
revisions introduce the exact same line.
 
3705
 
 
3706
Changes from 1.15.1 to 1.15.2
 
3707
*****************************
 
3708
 
 
3709
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
 
3710
  (Alexander Belchenko)
 
3711
 
 
3712
Changes from 1.15final to 1.15.1
 
3713
*********************************
 
3714
 
 
3715
* Translate errors received from a smart server in response to a
 
3716
  ``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
 
3717
  This was causing tracebacks even for mundane errors like
 
3718
  ``PermissionDenied``.  (Andrew Bennetts, #381329)
 
3719
 
 
3720
Changes from 1.15rc1 to 1.15final
 
3721
*********************************
 
3722
 
 
3723
* No changes
 
3724
 
 
3725
Compatibility Breaks
 
3726
********************
 
3727
 
 
3728
* ``bzr ls`` is no longer recursive by default. To recurse, use the
 
3729
  new ``-R`` option. The old ``--non-recursive`` option has been removed.
 
3730
  If you alias ``ls`` to ``ls -R``, you can disable recursion using
 
3731
  ``--no-recursive`` instead.  (Ian Clatworthy)
 
3732
 
 
3733
New Features
 
3734
************
 
3735
 
 
3736
* New command ``bzr dpush`` that can push changes to foreign 
 
3737
  branches (svn, git) without setting custom bzr-specific metadata.
 
3738
  (Jelmer Vernooij)
 
3739
 
 
3740
* The new development format ``--development6-rich-root`` now supports
 
3741
  stacking. We chose not to use a new format marker, since old clients
 
3742
  will just fail to open stacked branches, the same as if we used a new
 
3743
  format flag. (John Arbash Meinel, #373455)
 
3744
 
 
3745
* Plugins can now define their own annotation tie-breaker when two revisions
 
3746
  introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
 
3747
  Be aware though that this is temporary, private (as indicated by the leading
 
3748
  '_') and a first step to address the problem. (Vincent Ladeuil, #348459)
 
3749
 
 
3750
* New command ``bzr dpush`` that can push changes to foreign 
 
3751
  branches (svn, git) without setting custom bzr-specific metadata.
 
3752
  (Jelmer Vernooij)
 
3753
 
 
3754
* ``bzr send`` will now check the ``child_submit_format`` setting in
 
3755
  the submit branch to determine what format to use, if none was 
 
3756
  specified on the command-line.  (Jelmer Vernooij)
 
3757
 
 
3758
Improvements
 
3759
************
 
3760
 
 
3761
* -Dhpss output now includes the number of VFS calls made to the remote
 
3762
  server. (Jonathan Lange)
 
3763
 
 
3764
* ``--coverage`` works for code running in threads too.
 
3765
  (Andrew Bennets, Vincent Ladeuil)
 
3766
 
 
3767
* ``bzr pull`` now has a ``--local`` option to only make changes to the
 
3768
  local branch, and not the bound master branch.
 
3769
  (Gary van der Merwe, #194716)
 
3770
 
 
3771
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
 
3772
 
 
3773
Bug Fixes
 
3774
*********
 
3775
 
 
3776
* Adding now works properly when path contains a symbolic link.
 
3777
  (Geoff Bache, #183831)
 
3778
 
 
3779
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
 
3780
 
 
3781
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
 
3782
  line, and the other side modifies the line. (John Arbash Meinel, #328171)
 
3783
 
 
3784
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
 
3785
  (Martin von Gagern, #248932)
 
3786
 
 
3787
* ``bzr send`` works to send emails again using MAPI.
 
3788
  (Neil Martinsen-Burrell, #346998)
 
3789
 
 
3790
* Check for missing parent inventories in StreamSink.  This prevents
 
3791
  incomplete stacked branches being created by 1.13 bzr:// and
 
3792
  bzr+ssh:// clients (which have bug #354036).  Instead, the server now
 
3793
  causes those clients to send the missing records.  (Andrew Bennetts)
 
3794
 
 
3795
* Correctly handle http servers proposing multiple authentication schemes.
 
3796
  (Vincent Ladeuil, #366107)
 
3797
 
 
3798
* End-Of-Line content filters are now loaded correctly.
 
3799
  (Ian Clatworthy, Brian de Alwis, #355280)
 
3800
 
 
3801
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
3802
  longer than 64KiB. (John Arbash Meinel, #364900)
 
3803
 
 
3804
* Fix TypeError in running ``bzr break-lock`` on some URLs.
 
3805
  (Alexander Belchenko, Martin Pool, #365891)
 
3806
 
 
3807
* Non-recursive ``bzr ls`` now works properly when a path is specified.
 
3808
  (Jelmer Vernooij, #357863)
 
3809
 
 
3810
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
 
3811
  (Vincent Ladeuil, #367726)
 
3812
 
 
3813
* Several bugs related to unicode symlinks have been fixed and the test suite
 
3814
  enhanced to better catch regressions for them. (Vincent Ladeuil)
 
3815
 
 
3816
* The smart server will no longer raise 'NoSuchRevision' when streaming
 
3817
  content with a size mismatch in a reconstructed graph search: it assumes
 
3818
  that the client will make sure it is happy with what it got, and this
 
3819
  sort of mismatch is normal for stacked environments.
 
3820
  bzr 1.13.0/1 will stream from unstacked branches only - in that case not
 
3821
  getting all the content expected would be a bug. However the graph
 
3822
  search is how we figured out what we wanted, so a mismatch is both odd
 
3823
  and unrecoverable without starting over, and starting over will end up
 
3824
  with the same data as if we just permitted the mismatch. If data is
 
3825
  gc'd, doing a new search will find only the truncated data, so sending
 
3826
  only the truncated data seems reasonable. bzr versions newer than this
 
3827
  will stream from stacked branches and check the stream to find missing
 
3828
  content in the stacked-on branch, and thus will handle the situation
 
3829
  implicitly.  (Robert Collins, #360791)
 
3830
 
 
3831
* Upgrading to, or fetching into a 'rich-root' format will now correctly
 
3832
  set the root data the same way that reconcile does.
 
3833
  (Robert Collins, #368921)
 
3834
 
 
3835
* Using unicode Windows API to obtain command-line arguments.
 
3836
  (Alexander Belchenko, #375934)
 
3837
 
 
3838
Documentation
 
3839
*************
 
3840
 
 
3841
API Changes
 
3842
***********
 
3843
 
 
3844
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
 
3845
  instead of ``InstallFailed`` when they detect a missing revision.
 
3846
  ``InstallFailed`` itself has been deleted. (Jonathan Lange)
 
3847
 
 
3848
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
 
3849
  arguments from ``osutils.get_unicode_argv()`` which has proper support
 
3850
  for unicode arguments on windows. Further, the supplied arguments are now 
 
3851
  required to be unicode strings, rather than user_encoded strings.
 
3852
  (Alexander Belchenko)
 
3853
 
 
3854
Internals
 
3855
*********
 
3856
 
 
3857
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
 
3858
  class and will call ``_set_parent_location`` after doing unicode 
 
3859
  encoding. (Robert Collins)
 
3860
 
 
3861
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
 
3862
  ``Branch.set_parent_location`` removing further VFS operations.
 
3863
  (Robert Collins)
 
3864
 
 
3865
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
 
3866
  or similar when the dir supports configuration settings. The base class
 
3867
  defaults to None. There is a matching new server verb
 
3868
  ``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
 
3869
  configuration. (Robert Collins)
 
3870
 
 
3871
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
 
3872
  called before the first test is started, ``done`` called after the last
 
3873
  test completes, and a new parameter ``strict``. (Robert Collins)
 
3874
 
 
3875
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
 
3876
  VFS operations are started on a smart server repository. This should not
 
3877
  occur on regular push and pull operations, and is a key indicator for
 
3878
  performance regressions. (Robert Collins)
 
3879
 
 
3880
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
 
3881
  cause mismatched physical locks to cause test errors rather than just
 
3882
  reporting to the screen. (Robert Collins)
 
3883
 
 
3884
* -Dprogress will cause pdb to start up if a progress view jumps
 
3885
  backwards. (Robert Collins)
 
3886
 
 
3887
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
 
3888
  are now be able to provide credentials if obtaining credentials 
 
3889
  via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij, 
 
3890
  Vincent Ladeuil, #321918)
 
3891
 
 
3892
* New hook ``Lock.lock_broken`` which runs when a lock is
 
3893
  broken. This is mainly for testing that lock/unlock are
 
3894
  balanced in tests. (Vincent Ladeuil)
 
3895
 
 
3896
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
 
3897
  alter a body for the message produced by ``bzr send``.
 
3898
 
 
3899
* New smart server verb ``BzrDir.initialize_ex`` which implements a
 
3900
  refactoring to the core of clone allowing less round trips on new
 
3901
  branches. (Robert Collins)
 
3902
 
 
3903
* New method ``Tags.rename_revisions`` that can rename revision ids tags
 
3904
  are pointing at. (Jelmer Vernooij)
 
3905
 
 
3906
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
 
3907
 
 
3908
Testing
 
3909
*******
 
3910
 
 
3911
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
 
3912
  tests. Using ``-Dlock`` will turn the related failures into warnings.
 
3913
  (Vincent Ladeuil, Robert Collins)
 
3914
 
 
3915
bzr 1.14
 
3916
########
 
3917
:Codename: brisbane-core
 
3918
:1.14rc1: 2009-04-06
 
3919
:1.14rc2: 2009-04-19
 
3920
:1.14: 2009-04-28
 
3921
:1.14.1: 2009-05-01
 
3922
 
 
3923
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
 
3924
keyword templating (via the bzr-keywords plugin) and generic content filtering.
 
3925
End-of-line conversion is now supported for formats supporting content
 
3926
filtering.
 
3927
 
 
3928
Changes from 1.14final to 1.14.1
 
3929
********************************
 
3930
 
 
3931
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
 
3932
 
 
3933
Changes from 1.14rc2 to 1.14final
 
3934
*********************************
 
3935
 
 
3936
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
 
3937
  longer than 64KiB. (John Arbash Meinel, #364900)
 
3938
 
 
3939
Changes from 1.14rc1 to 1.14rc2
 
3940
*******************************
 
3941
 
 
3942
* Fix for bug 358037 Revision not in
 
3943
  bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis, 
 
3944
  John A Meinel)
 
3945
 
 
3946
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
3947
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
3948
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
3949
 
 
3950
* Fix for bug 355280 eol content filters are never loaded and thus never
 
3951
  applied (Brian de Alwis, Ian Clatworthy)
 
3952
 
 
3953
* bzr.dev -r4280  Change _fetch_uses_deltas = False for CHK repos until we can
 
3954
  write a better fix. (John Arbash Meinel, Robert Collins)
 
3955
 
 
3956
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
 
3957
  (Marius Kruger, Ian Clatworthy)
 
3958
 
 
3959
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14 
 
3960
  (Andrew Bennetts, Robert Collins)
 
3961
 
 
3962
Compatibility Breaks
 
3963
********************
 
3964
 
 
3965
* A previously disabled code path to accelerate getting configuration
 
3966
  settings from a smart server has been reinstated. We think this *may*
 
3967
  cause a incompatibility with servers older than bzr 0.15. We intend
 
3968
  to issue a point release to address this if it turns out to be a
 
3969
  problem. (Robert Collins, Andrew Bennetts)
 
3970
 
 
3971
* bzr no longer autodetects nested trees as 'tree-references'.  They
 
3972
  must now be explicitly added tree references.  At the commandline, use
 
3973
  join --reference instead of add.  (Aaron Bentley)
 
3974
 
 
3975
* The ``--long`` log format (the default) no longer shows merged
 
3976
  revisions implicitly, making it consistent with the ``short`` and
 
3977
  ``line`` log formats.  To see merged revisions for just a given
 
3978
  revision, use ``bzr log -n0 -rX``. To see every merged revision,
 
3979
  use ``bzr log -n0``.  (Ian Clatworthy)
 
3980
 
 
3981
New Features
 
3982
************
 
3983
 
 
3984
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
 
3985
  (EOL) conversions, keyword templating (via the bzr-keywords plugin)
 
3986
  and generic content filtering. These formats replace the experimental
 
3987
  ``development-wt5`` and ``development-wt5-rich-root`` formats
 
3988
  respectively, but have support for filtered views disabled.
 
3989
  (Ian Clatworthy)
 
3990
 
 
3991
* New ``mv --auto`` option recognizes renames after they occur.
 
3992
  (Aaron Bentley)
 
3993
 
 
3994
* ``bzr`` can now get passwords from stdin without requiring a controlling
 
3995
  terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
 
3996
 
 
3997
* ``bzr log`` now supports filtering of multiple files and directories
 
3998
  and will show changes that touch any of them. Furthermore,
 
3999
  directory filtering now shows the changes to any children of that
 
4000
  directory, not just the directory object itself.
 
4001
  (Ian Clatworthy, #97715)
 
4002
 
 
4003
* ``bzr shelve`` can now apply changes without storing anything on the
 
4004
  shelf, via the new --destroy option.  (Aaron Bentley)
 
4005
 
 
4006
* ``bzr send`` now accepts --body to specify an initial message body.
 
4007
  (Aaron bentley)
 
4008
 
 
4009
* ``bzr xxx --usage`` where xxx is a command now shows a usage
 
4010
  message and the options without the descriptive help sections
 
4011
  (like Description and Examples). A message is also given
 
4012
  explaining how to see the complete help, i.e. ``bzr help xxx``.
 
4013
  (Ian Clatworthy)
 
4014
 
 
4015
* Content filters can now be used to provide custom conversion
 
4016
  between the canonical format of content (i.e. as stored) and
 
4017
  the convenience format of content (i.e. as created in working
 
4018
  trees). See ``bzr help content-filters`` for further details.
 
4019
  (Ian Clatworthy, Alexander Belchenko)
 
4020
 
 
4021
* End-of-line conversion is now supported for formats supporting
 
4022
  content filtering. See ``bzr help eol`` for details.
 
4023
  (Ian Clatworthy)
 
4024
 
 
4025
* Newly-blessed `join` command allows combining two trees into one.
 
4026
  (Aaron Bentley)
 
4027
 
 
4028
Improvements
 
4029
************
 
4030
 
 
4031
* A new format name alias ``default-rich-root`` has been added and
 
4032
  points at the closest relative of the default format that supports 
 
4033
  rich roots. (Jelmer Vernooij, #338061)
 
4034
 
 
4035
* Branching from a stacked branch using ``bzr*://`` will now stream
 
4036
  the data when the target repository does not need topological
 
4037
  ordering, reducing round trips and network overhead. This uses the
 
4038
  existing smart server methods added in 1.13, so will work on any
 
4039
  1.13 or newer server. (Robert Collins, Andrew Bennetts)
 
4040
 
 
4041
* ``bzr cat`` and ``bzr export`` now supports a ``--filters`` option
 
4042
  that displays/saves the content after content filters are applied.
 
4043
  (Ian Clatworthy)
 
4044
 
 
4045
* ``bzr ignore`` gives a more informative message when existing
 
4046
  version controlled files match the ignore pattern. (Neil
 
4047
  Martinsen-Burrell, #248895)
 
4048
 
 
4049
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
 
4050
  (Ian Clatworthy)
 
4051
 
 
4052
* ``bzr send`` is faster on repositories with deep histories.
 
4053
  (Ian Clatworthy)
 
4054
 
 
4055
* IPv6 literals are accepted in URLs.
 
4056
  (stlman, Martin Pool, Jelmer Vernooij, #165014)
 
4057
 
 
4058
* Progress bars now show the rate of network activity for
 
4059
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
4060
 
 
4061
* Prompt for user names if they are not in the configuration. 
 
4062
  (Jelmer Vernooij, #256612)
 
4063
 
 
4064
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
 
4065
  now takes many less round trips.  (Andrew Bennetts, Robert Collins,
 
4066
  #294479)
 
4067
  
 
4068
* Streaming push can be done to older repository formats.  This is
 
4069
  implemented using a new ``Repository.insert_stream_locked`` RPC.
 
4070
  (Andrew Bennetts, Robert Collins)
 
4071
 
 
4072
* The "ignoring files outside view: .." message has been re-worded
 
4073
  to "Ignoring files outside view. View is .." to reduce confusion
 
4074
  about what was being considered and what was being ignored.
 
4075
  (Ian Clatworthy)
 
4076
 
 
4077
* The ``long`` log formatter now shows [merge] indicators. If
 
4078
  only one level of revisions is displayed and merges are found,
 
4079
  the ``long`` and ``short`` log formatters now tell the user
 
4080
  how to see the hidden merged revisions.  (Ian Clatworthy)
 
4081
 
 
4082
* The ``brisbane-core`` project has delivered its beta format
 
4083
  ``development6-rich-root``. This format is suitable for judicious
 
4084
  testing by early adopters. In particular if you are benchmarking bzr
 
4085
  performance please be sure to test using this format. At this stage
 
4086
  more information is best obtained by contacting the Bazaar mailing list
 
4087
  or IRC channel if you are interested in using this format. We will make
 
4088
  end user documentation available closer to blessing the format as
 
4089
  production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
 
4090
  Vincent Ladeuil, Andrew Bennetts, Martin Pool)
 
4091
 
 
4092
* Tildes are no longer escaped. No more %7Euser/project/branch!
 
4093
  (Jonathan Lange)
 
4094
 
 
4095
Bug Fixes
 
4096
*********
 
4097
 
 
4098
* Pushing a new stacked branch will also push the parent inventories for
 
4099
  revisions at the stacking boundary.  This makes sure that the stacked
 
4100
  branch has enough data to calculate inventory deltas for all of its
 
4101
  revisions (without requiring the fallback branch).  This avoids
 
4102
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
4103
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
4104
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
4105
 
 
4106
* End-Of-Line content filters are now loaded correctly.
 
4107
  (Ian Clatworthy, Brian de Alwis, #355280)
 
4108
 
 
4109
* Authentication plugins now receive all the parameters from the request
 
4110
  itself (aka host, port, realm, path, etc). Previously, only the 
 
4111
  authentication section name, username and encoded password were 
 
4112
  provided. (Jean-Francois Roy)
 
4113
 
 
4114
* bzr gives a better message if an invalid regexp is passed to ``bzr log
 
4115
  -m``.  (Anne Mohsen, Martin Pool)
 
4116
 
 
4117
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
 
4118
 
 
4119
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
 
4120
  #313028)
 
4121
 
 
4122
* Fix "is not a stackable format" error when pushing a
 
4123
  stackable-format branch with an unstackable-format repository to a
 
4124
  destination with a default stacking policy.  (Andrew Bennetts)
 
4125
 
 
4126
* Fixed incorrect "Source format does not support stacking" warning
 
4127
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
4128
 
 
4129
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
 
4130
  needed. (Vincent Ladeuil, #355454)
 
4131
 
 
4132
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
 
4133
  on ``bzr add x/y/z`` in formats supporting views when no view is
 
4134
  defined.  (Ian Clatworthy, #344708)
 
4135
 
 
4136
* It is no longer possible to fetch between repositories while the
 
4137
  target repository is in a write group. This prevents race conditions
 
4138
  that prevent the use of RPC's to perform fetch, and thus allows
 
4139
  optimising more operations. (Robert Collins, Andrew Bennetts)
 
4140
 
 
4141
* ``merge --force`` works again. (Robert Collins, #342105)
 
4142
 
 
4143
* No more warnings are issued about ``sha`` being deprecated under python-2.6.
 
4144
  (Vincent Ladeuil, #346593)
 
4145
 
 
4146
* Pushing a new branch to a server that has a stacking policy will now
 
4147
  upgrade from the local branch format when the stacking policy points at
 
4148
  a branch which is itself stackable, because we know the client can read
 
4149
  both branches, we know that the trunk for the project can be read too,
 
4150
  so the upgrade will not inconvenience users. (Robert Collins, #345169)
 
4151
 
 
4152
* Pushing a new stacked branch will also push the parent inventories for
 
4153
  revisions at the stacking boundary.  This makes sure that the stacked
 
4154
  branch has enough data to calculate inventory deltas for all of its
 
4155
  revisions (without requiring the fallback branch).  This avoids
 
4156
  "'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
 
4157
  when fetching the stacked branch from a 1.13 (or later) smart server.
 
4158
  This partially fixes #354036.  (Andrew Bennetts, Robert Collins)
 
4159
 
 
4160
* The full test suite is passing again on OSX. Several minor issues (mostly
 
4161
  test related) have been fixed. (Vincent Ladeuil, #355273).
 
4162
 
 
4163
* The GNU Changelog formatter is slightly improved in the case where
 
4164
  the delta is empty, and now correctly claims not to support tags.
 
4165
  (Andrea Bolognani)
 
4166
 
 
4167
* Shelve can now shelve changes to a symlink target.
 
4168
  (James Westby, #341558)
 
4169
 
 
4170
* The help for the ``info`` command has been corrected.
 
4171
  (Ian Clatworthy, #351931)
 
4172
 
 
4173
* Upgrade will now use a sensible default format if the source repository
 
4174
  uses rich roots.  (Jelmer Vernooij, #252908)
 
4175
 
 
4176
Documentation
 
4177
*************
 
4178
 
 
4179
* Expanded the index of the developer documentation. (Eric Siegerman)
 
4180
 
 
4181
* New topic `bzr help debug-flags`.  (Martin Pool)
 
4182
 
 
4183
* The generated manpage now explicitly lists aliases as commands.
 
4184
  (James Westby, #336998)
 
4185
 
 
4186
API Changes
 
4187
***********
 
4188
 
 
4189
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
 
4190
  (Martin Pool)
 
4191
 
 
4192
* ``CommitReporter`` is no longer called with ``unchanged`` status during
 
4193
  commit - this was a full-tree overhead that bzr no longer performs.
 
4194
  (Robert Collins)
 
4195
 
 
4196
* New abstract ``UIFactory`` method ``get_username`` which will be called to 
 
4197
  obtain the username to use when connecting to remote machines. 
 
4198
  (Jelmer Vernooij)
 
4199
 
 
4200
* New API ``Inventory.filter()`` added that filters an inventory by
 
4201
  a set of file-ids so that only those fileids, their parents and
 
4202
  their children are included.  (Ian Clatworthy)
 
4203
 
 
4204
* New sort order for ``get_record_stream`` ``groupcompress`` which
 
4205
  sorts optimally for use with groupcompress compressors. (John Arbash
 
4206
  Meinel, Robert Collins)
 
4207
 
 
4208
* Repository APIs ``get_deltas_for_revisions()`` and
 
4209
  ``get_revision_delta()`` now support an optional ``specific_fileids``
 
4210
  parameter. If provided, the deltas are filtered so that only those
 
4211
  file-ids, their parents and their children are included.
 
4212
  (Ian Clatworthy)
 
4213
 
 
4214
* The ``get_credentials`` and ``set_credentials`` methods of 
 
4215
  ``AuthenticationConfig`` now accept an optional realm argument.
 
4216
  (Jean-Francois Roy)
 
4217
 
 
4218
* The ``pb`` argument to ``fetch()`` is deprecated.
 
4219
  (Martin Pool)
 
4220
 
 
4221
* The ``Serializer`` class and the serializer ``format registry`` have moved
 
4222
  from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
 
4223
 
 
4224
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
 
4225
  that is not inside the backing transport from being opened.  See the
 
4226
  module documentation for ``bzrlib.smart.request`` for details.
 
4227
  (Andrew Bennetts, Robert Collins)
 
4228
 
 
4229
* ``Tree.get_symlink_target`` now always returns a unicode string result
 
4230
  or None. Previously it would return the bytes from reading the link
 
4231
  which could be in any arbitrary encoding. (Robert Collins)
 
4232
 
 
4233
Testing
 
4234
*******
 
4235
 
 
4236
* ``bzrlib.tests.TestCase`` now fails the test if its own ``setUp``
 
4237
  and ``tearDown`` weren't called.  This catches faulty tests that
 
4238
  forget to upcall when overriding ``setUp`` and ``tearDown``.  Those
 
4239
  faulty tests were not properly isolated.
 
4240
  (Andrew Bennetts, Robert Collins)
 
4241
 
 
4242
* Fix test_msgeditor.MsgEditorTest test isolation.
 
4243
  (Vincent Ladeuil, #347130)
 
4244
 
 
4245
* ``medusa`` is not used anymore as an FTP test server starting with
 
4246
  python2.6. A new FTP test server based on ``pyftplib`` can be used
 
4247
  instead. This new server is a soft dependency as medusa which is still
 
4248
  preferred if both are available (modulo python version).
 
4249
  (Vincent Ladeuil)
 
4250
 
 
4251
Internals
 
4252
*********
 
4253
 
 
4254
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
 
4255
  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
4256
 
 
4257
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
 
4258
  maps.  (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
 
4259
 
 
4260
* Added ``bzrlib.inventory_delta`` module.  This will be used for
 
4261
  serializing and deserializing inventory deltas for more efficient
 
4262
  streaming on the network.  (Robert Collins, Andrew Bennetts)
 
4263
 
 
4264
* ``Branch._get_config`` has been added, which splits out access to the
 
4265
  specific config file from the branch. This is used to let RemoteBranch
 
4266
  avoid constructing real branch objects to access configuration settings.
 
4267
  (Robert Collins, Andrew Bennetts)
 
4268
 
 
4269
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
 
4270
  the implementation is generic and should impact foreign formats. This
 
4271
  helps performance for ``RemoteBranch`` push operations to new stacked
 
4272
  branches. (Robert Collins, Andrew Bennetts)
 
4273
 
 
4274
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
 
4275
  optmizations turned off. This only has effect when processing > 100,000
 
4276
  keys during something like ``bzr pack``. (John Arbash Meinel)
 
4277
 
 
4278
* ``bzr selftest`` now accepts ``--subunit`` to run in subunit output
 
4279
  mode. Requires ``lp:subunit`` installed to work, but is not a hard
 
4280
  dependency. (Robert Collins)
 
4281
 
 
4282
* ``BzrDir.open_branch`` now takes an optional ``ignore_fallbacks``
 
4283
  parameter for controlling opening of stacked branches.
 
4284
  (Andrew Bennetts, Robert Collins)
 
4285
  
 
4286
* ``CommitBuilder`` has a new method, ``record_iter_changes`` which works
 
4287
  in terms of an iter_changes iterator rather than full tree scanning.
 
4288
  (Robert Collins)
 
4289
 
 
4290
* ``DirState`` can now be passed a custom ``SHA1Provider`` object
 
4291
  enabling it to store the SHA1 and stat of the canonical (post
 
4292
  content filtered) form. (Ian Clatworthy)
 
4293
 
 
4294
* New ``assertLength`` method based on one Martin has squirreled away
 
4295
  somewhere. (Robert Collins, Martin Pool)
 
4296
 
 
4297
* New hook ``BzrDir.pre_open`` which runs before opening ``BzrDir``
 
4298
  objects, allowing better enforcement of the smart server jail when
 
4299
  dealing with stacked branches. (Robert Collins, Andrew Bennetts)
 
4300
 
 
4301
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries 
 
4302
  to be added to the stanza that is printed for a particular revision.
 
4303
  (Jelmer Vernooij)
 
4304
 
 
4305
* New repository method ``refresh_data`` to cause any repository to
 
4306
  make visible data inserted into the repository by a smart server
 
4307
  fetch operation. (Robert Collins, Andrew Bennetts)
 
4308
 
 
4309
* ``register_filter_stack_map`` now takes an optional fallback parameter,
 
4310
  a callable to invoke if a preference has a value not in the map
 
4311
  of filter stacks. This enhancement allows, for example,  bzr-svn to
 
4312
  handle existing svn properties that define a list of keywords to be
 
4313
  expanded.  (Ian Clatworthy)
 
4314
 
 
4315
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
 
4316
  to write config settings to smart servers that support this, saving
 
4317
  5 round trips on the stacked streaming acceptance test.
 
4318
  (Robert Collins, Andrew Bennetts)
 
4319
 
 
4320
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
 
4321
  branch specific configuration from a remote server, which uses the 
 
4322
  already existing ``Branch.get_config_file`` smart verb.
 
4323
  (Robert Collins, Andrew Bennetts)
 
4324
 
 
4325
* ``RemoteRepository`` will now negatively cache missing revisions during
 
4326
  ``get_parent_map`` while read-locked. Write-locks are unaffected.
 
4327
  (Robert Collins, Andrew Bennetts)
 
4328
 
 
4329
* Removed ``InterRemoteToOther``, ``InterOtherToRemote`` and
 
4330
  ``InterPackToRemotePack`` classes, as they are now unnecessary.
 
4331
  (Andrew Bennetts)
 
4332
 
 
4333
* ``RepositoryFormat`` as a new attribute ``fast_deltas`` to indicate
 
4334
  whether the repository can efficiently generate deltas between trees
 
4335
  regardless of tree size. (Robert Collins)
 
4336
 
 
4337
* ``Repository.iter_files_bytes()`` now properly returns an "iterable of
 
4338
  byte strings" (aka 'chunked') for the content. It previously was
 
4339
  returning a plain string, which worked, but performed very poorly when
 
4340
  building a working tree (file.writelines(str) is very inefficient). This
 
4341
  can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
 
4342
 
 
4343
* selftest now supports a --parallel option, with values of 'fork' or
 
4344
  'subprocess' to run the test suite in parallel. Currently only Linux
 
4345
  machines work, other platforms need patches submitted. (Robert Collins,
 
4346
  Vincent Ladeuil)
 
4347
 
 
4348
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of 
 
4349
  callables to use to decorate the test suite. Such decorators can add or
 
4350
  remove tests, or even remote the test suite to another machine if
 
4351
  desired. (Robert Collins)
 
4352
 
 
4353
* The smart server verb ``Repository.get_parent_map`` can now include
 
4354
  information about ghosts when the special revision ``include-missing:``
 
4355
  is in the requested parents map list. With this flag, ghosts are
 
4356
  included as ``missing:REVISION_ID``. (Robert Collins, Andrew Bennetts)
 
4357
 
 
4358
* ``_walk_to_common_revisions`` will now batch up at least 50
 
4359
  revisions before calling ``get_parent_map`` on the target,
 
4360
  regardless of ``InterRepository``.
 
4361
  (Andrew Bennetts, Robert Collins)
 
4362
 
 
4363
bzr 1.13
 
4364
########
 
4365
 
 
4366
:Codename: paraskavedekatriaphobia
 
4367
:1.13: 2009-03-14
 
4368
:1.13rc1: 2009-03-10
 
4369
:1.13.1: 2009-03-23
 
4370
:1.13.2: 2009-04-27
 
4371
 
 
4372
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.  Debug
 
4373
flags can now be set in ``~/.bazaar/bazaar.conf``.  Lightweight checkouts and
 
4374
stacked branches should both be much faster over remote connections.  
 
4375
 
 
4376
Changes From 1.13.1 to 1.13.2
 
4377
*****************************
 
4378
 
 
4379
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
 
4380
a stacked branch they do not take care to push all the parent inventories for
 
4381
the transferred revisions. This means that a smart server serving that branch
 
4382
often cannot calculate inventory deltas for the branch (because smart server
 
4383
does not/cannot open fallback repositories). Prior to 1.13 the server did not
 
4384
have a verb to stream revisions out of a repository, so that's why this bug has
 
4385
appeared now.
 
4386
 
 
4387
Bug Fixes
 
4388
*********
 
4389
 
 
4390
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
 
4391
  attribute 'get_bytes_as' exception while pulling from Launchpad 
 
4392
  (Jean-Francois Roy, Andrew Bennetts, Robert Collins)
 
4393
 
 
4394
Changes From 1.13final to 1.13.1
 
4395
********************************
 
4396
 
 
4397
A couple regessions where found in the 1.13 release. The pyrex-generated C
 
4398
extensions are missing from the .tar.gz and .zip files.  Documentation on how
 
4399
to generate GNU ChangeLogs is wrong.
 
4400
 
 
4401
Bug Fixes
 
4402
*********
 
4403
 
 
4404
* Change ``./bzr``'s ``_script_version`` to match ./bzrlib/__init__.py
 
4405
  version_info. (Bob Tanner, Martin Pool, #345232)
 
4406
 
 
4407
* Distribution archives for 1.13 do not contain generated C extension modules
 
4408
  (Jean-Francois Roy, Bob Tanner, #344465)
 
4409
 
 
4410
* GNU ChangeLog output can now be produced by bzr log --format gnu-changelog is
 
4411
  incorrect (Deejay, Bob Tanner, Martin Pool, Robert Collins, #343928)
 
4412
 
 
4413
* ``merge --force`` works again. (Robert Collins, #342105)
 
4414
 
 
4415
Changes From 1.13rc1 to 1.13final
 
4416
*********************************
 
4417
 
 
4418
* Fix "is not a stackable format" error when pushing a
 
4419
  stackable-format branch with an unstackable-format repository to a
 
4420
  destination with a default stacking policy.  (Andrew Bennetts)
 
4421
 
 
4422
* Progress bars now show the rate of network activity for
 
4423
  ``bzr+ssh://`` and ``bzr://`` connections.  (Andrew Bennetts)
 
4424
 
 
4425
Compatibility Breaks
 
4426
********************
 
4427
 
 
4428
* ``bzr log --line`` now indicates which revisions are merges with
 
4429
  `[merge]` after the date.  Scripts which parse the output of this
 
4430
  command may need to be adjusted.
 
4431
  (Neil Martinsen-Burrell)
 
4432
 
 
4433
New Features
 
4434
************
 
4435
 
 
4436
* ``bzr reconfigure`` now supports --with-trees and --with-no-trees
 
4437
  options to change the default tree-creation policy of shared
 
4438
  repositories.  (Matthew Fuller, Marius Kruger, #145033)
 
4439
 
 
4440
* Debug flags can now be set in ``~/.bazaar/bazaar.conf``.
 
4441
  (Martin Pool)
 
4442
 
 
4443
* Filtered views provide a mask over the tree so that users can focus
 
4444
  on a subset of a tree when doing their work. See ``Filtered views``
 
4445
  in chapter 7 of the User Guide and ``bzr help view`` for details.
 
4446
  (Ian Clatworthy)
 
4447
 
 
4448
* GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.
 
4449
  (Andrea Bolognani, Martin Pool)
 
4450
 
 
4451
* The ``-Dmemory`` flag now gives memory information on Windows.
 
4452
  (John Arbash Meinel)
 
4453
 
 
4454
* Multiple authors for a commit can now be recorded by using the "--author"
 
4455
  option multiple times. (James Westby, #185772)
 
4456
 
 
4457
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernooij)
 
4458
 
 
4459
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
 
4460
  branch in your web browser, as long as the branch is on Launchpad at all.
 
4461
  (Jonathan Lange)
 
4462
 
 
4463
* New API for getting bugs fixed by a revision: Revision.iter_bugs().
 
4464
  (Jonathan Lange)
 
4465
 
 
4466
Improvements
 
4467
************
 
4468
 
 
4469
* All bzr ``Hooks`` classes are now registered in
 
4470
  ``bzrlib.hooks.known_hooks``. This removes the separate list from
 
4471
  ``bzrlib.tests`` and ensures that all hooks registered there are
 
4472
  correctly isolated by the test suite (previously
 
4473
  ``MutableTreeHooks`` were not being isolated correctly). Further, 
 
4474
  documentation for hooks is now dynamically generated from the
 
4475
  present HookPoints. ``bzr hooks`` will now also report on all the
 
4476
  hooks present in the ``bzrlib.hooks.known_hooks`` registry.
 
4477
  (Robert Collins)
 
4478
 
 
4479
* ``bzr add`` no longer prints ``add completed`` on success. Failure
 
4480
  still prints an error message. (Robert Collins)
 
4481
 
 
4482
* ``bzr branch`` now has a ``--no-tree`` option which turns off the
 
4483
  generation of a working tree in the new branch.
 
4484
  (Daniel Watkins, John Klinger, #273993)
 
4485
 
 
4486
* Bazaar will now point out ``bzr+ssh://`` to the user when they 
 
4487
  use ssh://. (Jelmer Vernooij, #330535)
 
4488
 
 
4489
* ``bzr -v info`` now omits the number of committers branch statistic,
 
4490
  making it many times faster for large projects. To include that
 
4491
  statistic in the output, use ``bzr -vv info``.
 
4492
  (Ian Clatworthy)
 
4493
 
 
4494
* ``bzr push`` to a ``bzr`` url (``bzr://``, ``bzr+ssh://`` etc) will
 
4495
  stream if the server is version 1.13 or greater, reducing roundtrips
 
4496
  significantly. (Andrew Bennetts, Robert Collins)
 
4497
 
 
4498
* Lightweight Checkouts and Stacked Branches should both be much
 
4499
  faster over remote connections. Building the working tree now
 
4500
  batches up requests into approx 5MB requests, rather than a separate
 
4501
  request for each file. (John Arbash Meinel)
 
4502
 
 
4503
* Support for GSSAPI authentication when using HTTP or HTTPS. 
 
4504
  (Jelmer Vernooij)
 
4505
 
 
4506
* The ``bzr shelve`` prompt now includes a '?' help option to explain the
 
4507
  short options better. (Daniel Watkins, #327429)
 
4508
 
 
4509
* ``bzr lp-open`` now falls back to the push location if it cannot find a
 
4510
  public location. (Jonathan Lange, #332372)
 
4511
 
 
4512
* ``bzr lp-open`` will try to find the Launchpad URL for the location
 
4513
  passed on the command line. This makes ``bzr lp-open lp:foo`` work as
 
4514
  expected. (Jonathan Lange, #332705)
 
4515
 
 
4516
* ``bzr send`` now supports MH-E via ``emacsclient``. (Eric Gillespie)
 
4517
 
 
4518
Bug Fixes
 
4519
*********
 
4520
 
 
4521
* Allows ``bzr log <FILE>`` to be called in an empty branch without
 
4522
  backtracing. (Vincent Ladeuil, #346431)
 
4523
 
 
4524
* Bazaar now gives a better message including the filename if it's
 
4525
  unable to read a file in the working directory, for example because
 
4526
  of a permission error.  (Martin Pool, #338653)
 
4527
 
 
4528
* ``bzr cat -r<old> <path>`` doesn't traceback anymore when <path> has a
 
4529
  file id in the working tree different from the one in revision <old>.
 
4530
  (Vincent Ladeuil, #341517, #253806)
 
4531
 
 
4532
* ``bzr send`` help is more specific about how to apply merge
 
4533
  directives.  (Neil Martinsen-Burrell, #253470)
 
4534
 
 
4535
* ``bzr missing`` now uses ``Repository.get_revision_delta()`` rather
 
4536
  than fetching trees and determining a delta itself. (Jelmer
 
4537
  Vernooij, #315048)
 
4538
 
 
4539
* ``bzr push`` to a smart server no longer causes "Revision
 
4540
  {set([('null:',)])} not present ..." errors when the branch has
 
4541
  multiple root revisions. (Andrew Bennetts, #317654)
 
4542
 
 
4543
* ``bzr shelve`` now properly handle patches with no terminating newline.
 
4544
  (Benoît PIERRE, #303569)
 
4545
 
 
4546
* ``bzr unshelve`` gives a more palatable error if passed a non-integer
 
4547
  shelf id. (Daniel Watkins)
 
4548
 
 
4549
* Export now handles files that are not present in the tree.
 
4550
  (James Westby, #174539)
 
4551
 
 
4552
* Fixed incorrect "Source format does not support stacking" warning
 
4553
  when pushing to a smart server.  (Andrew Bennetts, #334114)
 
4554
  
 
4555
* Fixed "sprout() got an unexpected keyword argument 'source_branch'"
 
4556
  error branching from old repositories.
 
4557
  (Martin Pool, #321695)
 
4558
 
 
4559
* Make ``bzr push --quiet <non-local location>`` less chatty.
 
4560
  (Kent Gibson, #221461)
 
4561
 
 
4562
* Many Branch hooks would not fire with ``bzr://`` and ``bzr+ssh://``
 
4563
  branches, and this was not noticed due to a bug in the test logic
 
4564
  for branches. This is now fixed and a test added to prevent it
 
4565
  reoccuring. (Robert Collins, Andrew Bennetts)
 
4566
 
 
4567
* Restore the progress bar on Windows. We were disabling it when TERM
 
4568
  wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
 
4569
  #334808)
 
4570
 
 
4571
* ``setup.py build_ext`` now gives a proper error when an extension
 
4572
  fails to build. (John Arbash Meinel)
 
4573
 
 
4574
* Symlinks to non ascii file names are now supported.
 
4575
  (Robert Collins, Vincent Ladeuil, #339055, #272444)    
 
4576
 
 
4577
* Under rare circumstances (aka nobody reported a bug about it), the ftp
 
4578
  transport could revert to ascii mode. It now stays in binary mode except
 
4579
  when needed.  (Vincent Ladeuil)
 
4580
 
 
4581
* Unshelve does not generate warnings about progress bars.
 
4582
  (Aaron Bentley, #328148)
 
4583
 
 
4584
* shelve cleans up properly when unversioned files are specified.
 
4585
  (Benoît Pierre, Aaron Bentley)
 
4586
 
 
4587
Documentation
 
4588
*************
 
4589
 
 
4590
* Added ``Organizing your workspace`` to the User Guide appendices,
 
4591
  summarizing some common ways of organizing trees, branches and
 
4592
  repositories and the processes/workflows implied/enabled by each.
 
4593
  (Ian Clatworthy)
 
4594
 
 
4595
* Hooks can now be self documenting. ``bzrlib.hooks.Hooks.create_hook``
 
4596
  is the entry point for this feature. (Robert Collins)
 
4597
 
 
4598
* The documentation for ``shelve`` and ``unshelve`` has been clarified.
 
4599
  (Daniel Watkins, #327421, #327425)
 
4600
 
 
4601
API Changes
 
4602
***********
 
4603
 
 
4604
* ``bzr selftest`` now fails if the bazaar sources contain trailing
 
4605
  whitespace, non-unix style line endings and files not ending in a
 
4606
  newline. About 372 files and 3243 lines with trailing whitespace was
 
4607
  updated to comply with this. The code already complied with the other
 
4608
  criteria, but now it is enforced. (Marius Kruger)
 
4609
 
 
4610
* ``bzrlib.branch.PushResult`` was renamed to 
 
4611
  ``bzrlib.branch.BranchPushResult``. (Jelmer Vernooij)
 
4612
 
 
4613
* ``Branch.fetch`` and ``Repository.fetch`` now return None rather
 
4614
  than a count of copied revisions and failed revisions. A while back
 
4615
  we stopped ever reporting failed revisions because we started
 
4616
  erroring instead, and the copied revisions count is not used in the
 
4617
  UI at all - indeed it only reflects the repository status not
 
4618
  changes to the branch itself. (Robert Collins)
 
4619
 
 
4620
* ``Inventory.apply_delta`` now raises an AssertionError if a file-id
 
4621
  appears multiple times within the delta. (Ian Clatworthy)
 
4622
 
 
4623
* MutableTree.commit now favours the "authors" argument, with the old
 
4624
  "author" argument being deprecated.
 
4625
 
 
4626
* Remove deprecated EmptyTree.  (Martin Pool)
 
4627
 
 
4628
* ``Repository.fetch`` now accepts an optional ``fetch_spec``
 
4629
  parameter.  A ``SearchResult`` or ``MiniSearchResult`` may be passed
 
4630
  to ``fetch_spec`` instead of a ``last_revision`` to specify exactly
 
4631
  which revisions to fetch. (Andrew Bennetts)
 
4632
 
 
4633
* ``RepositoryAcquisitionPolicy.acquire_repository`` now returns a
 
4634
  tuple of ``(repository, is_new_flag)``, rather than just the
 
4635
  repository.  (Andrew Bennetts)
 
4636
 
 
4637
* Revision.get_apparent_author() is now deprecated, replaced by
 
4638
  Revision.get_apparent_authors(), which returns a list. The former
 
4639
  now returns the first item that would be returned from the second.
 
4640
 
 
4641
* The ``BranchBuilder`` test helper now accepts a ``timestamp``
 
4642
  parameter to ``build_commit`` and ``build_snapshot``.  (Martin Pool)
 
4643
 
 
4644
* The ``_fetch_*`` attributes on ``Repository`` are now on
 
4645
  ``RepositoryFormat``, more accurately reflecting their intent (they
 
4646
  describe a disk format capability, not state of a particular
 
4647
  repository of that format). (Robert Collins)
 
4648
 
 
4649
Internals
 
4650
*********
 
4651
 
 
4652
* Branching from a non-stacked branch on a smart protocol is now
 
4653
  free of virtual file system methods.
 
4654
  (Robert Collins, Andrew Bennetts)
 
4655
 
 
4656
* Branch and Repository creation on a bzr+ssh://server are now done
 
4657
  via RPC calls rather than VFS calls, reducing round trips for
 
4658
  pushing new branches substantially. (Robert Collins)
 
4659
 
 
4660
* ``Branch.clone`` now takes the ``repository_policy`` formerly used
 
4661
  inside ``BzrDir.clone_on_transport``, allowing stacking to be
 
4662
  configured before the branch tags and revision tip are set. This
 
4663
  fixes a race condition cloning stacked branches that would cause
 
4664
  plugins to have hooks called on non-stacked instances.
 
4665
  (Robert Collins, #334187)
 
4666
 
 
4667
* ``BzrDir.cloning_metadir`` now has a RPC call. (Robert Collins)
 
4668
 
 
4669
* ``BzrDirFormat.__str__`` now uses the human readable description
 
4670
  rather than the sometimes-absent disk label. (Robert Collins)
 
4671
 
 
4672
* ``bzrlib.fetch`` is now composed of a sender and a sink component
 
4673
  allowing for decoupling over a network connection. Fetching from
 
4674
  or into a RemoteRepository with a 1.13 server will use this to
 
4675
  stream the operation.
 
4676
  (Andrew Bennetts, Robert Collins)
 
4677
 
 
4678
* ``bzrlib.tests.run_suite`` accepts a runner_class parameter
 
4679
  supporting the use of different runners. (Robert Collins)
 
4680
 
 
4681
* Change how file_ids and revision_ids are interned as part of
 
4682
  inventory deserialization. Now we use the real ``intern()``, rather
 
4683
  than our own workaround that would also cache a Unicode copy of the
 
4684
  string, and never emptied the cache. This should slightly reduce
 
4685
  memory consumption. (John Arbash Meinel)
 
4686
 
 
4687
* New branch method ``create_clone_on_transport`` that returns a
 
4688
  branch object. (Robert Collins)
 
4689
 
 
4690
* New hook Commands['extend_command'] to allow plugins to access a
 
4691
  command object before the command is run (or help generated from
 
4692
  it), without overriding the command. (Robert Collins)
 
4693
 
 
4694
* New version of the ``BzrDir.find_repository`` verb supporting
 
4695
  ``_network_name`` to support removing more _ensure_real calls.
 
4696
  (Robert Collins)
 
4697
 
 
4698
* ``RemoteBranchFormat`` no longer claims to have a disk format string.
 
4699
  (Robert Collins)
 
4700
 
 
4701
* ``Repository`` objects now have ``suspend_write_group`` and
 
4702
  ``resume_write_group`` methods.  These are currently only useful
 
4703
  with pack repositories. (Andrew Bennetts, Robert Collins)
 
4704
 
 
4705
* ``BzrDirFormat``, ``BranchFormat`` and ``RepositoryFormat`` objects
 
4706
  now have a ``network_name`` for passing the format across RPC calls.
 
4707
  (Robert Collins, Andrew Bennetts)
 
4708
 
 
4709
* ``RepositoryFormat`` objects now all have a new attribute
 
4710
  ``_serializer`` used by fetch when reserialising is required.
 
4711
  (Robert Collins, Andrew Bennetts)
 
4712
 
 
4713
* Some methods have been pulled up from ``BzrBranch`` to ``Branch``
 
4714
  to aid branch types that are not bzr branch objects (like
 
4715
  RemoteBranch). (Robert Collins, Andrew Bennetts)
 
4716
 
 
4717
* Test adaptation has been made consistent throughout the built in
 
4718
  tests. ``TestScenarioApplier``, ``multiply_tests_from_modules``,
 
4719
  ``adapt_tests``, ``adapt_modules`` have all been deleted. Please
 
4720
  use ``multiply_tests``, or for lower level needs ``apply_scenarios``
 
4721
  and ``apply_scenario``. (Robert Collins)
 
4722
 
 
4723
* ``TestSkipped`` is now detected by TestCase and passed to the
 
4724
  ``TestResult`` by calling ``addSkip``. For older TestResult objects,
 
4725
  where ``addSkip`` is not available, ``addError`` is still called.
 
4726
  This permits test filtering in subunit to strip out skipped tests
 
4727
  resulting in a faster fix-shrink-list-run cycle. This is compatible
 
4728
  with the testtools protocol for skips. (Robert Collins)
 
4729
 
 
4730
* The ``_index`` of ``KnitVersionedFiles`` now supports the ability
 
4731
  to scan an underlying index that is going to be incorporated into
 
4732
  the ``KnitVersionedFiles`` object, to determine if it has missing
 
4733
  delta references. The method is ``scan_unvalidated_index``.
 
4734
  (Andrew Bennetts, Robert Collins)
 
4735
 
 
4736
* There is a RemoteSink object which handles pushing to smart servers.
 
4737
  (Andrew Bennetts, Robert Collins)
 
4738
 
 
4739
* ``TransportTraceDecorator`` now logs ``put_bytes_non_atomic`` and
 
4740
  ``rmdir`` calls. (Robert Collins)
 
4741
 
 
4742
* ``VersionedFiles`` record adapters have had their signature change
 
4743
  from ``(record, record.get_bytes_as(record.storage_kind))`` to
 
4744
  ``(record)`` reducing excess duplication and allowing adapters
 
4745
  to access private data in record to obtain content more
 
4746
  efficiently. (Robert Collins)
 
4747
 
 
4748
* We no longer probe to see if we should create a working tree during
 
4749
  clone if we cannot get a local_abspath for the new bzrdir.
 
4750
  (Robert Collins)
 
4751
 
 
4752
 
 
4753
bzr 1.12
 
4754
########
 
4755
 
 
4756
:Codename: 1234567890
 
4757
:1.12: 2009-02-13
 
4758
:1.12rc1: 2009-02-10
 
4759
 
 
4760
This release of Bazaar contains many improvements to the speed,
 
4761
documentation and functionality of ``bzr log`` and the display of logged
 
4762
revisions by ``bzr status``.  bzr now also gives a better indication of
 
4763
progress, both in the way operations are drawn onto a text terminal, and
 
4764
by showing the rate of network IO.
 
4765
 
 
4766
Changes from RC1 to Final
 
4767
*************************
 
4768
 
 
4769
* ``bzr init --development-wt5[-rich-root]`` would fail because of
 
4770
  circular import errors. (John Arbash Meinel, #328135)
 
4771
 
 
4772
* Expanded the help for log and added a new help topic called
 
4773
  ``log-formats``.  (Ian Clatworthy)
 
4774
 
 
4775
Compatibility Breaks
 
4776
********************
 
4777
 
 
4778
* By default, ``bzr status`` after a merge now shows just the pending
 
4779
  merge tip revisions. This improves the signal-to-noise ratio after
 
4780
  merging from trunk and completes much faster. To see all merged
 
4781
  revisions, use the new ``-v`` flag.  (Ian Clatworthy)
 
4782
 
 
4783
* ``bzr log --line`` now shows any tags after the date and before
 
4784
  the commit message. If you have scripts which parse the output
 
4785
  from this command, you may need to adjust them accordingly.
 
4786
  (Ian Clatworthy)
 
4787
 
 
4788
* ``bzr log --short`` now shows any additional revision properties
 
4789
  after the date and before the commit message.  Scripts that parse 
 
4790
  output of the log command in this situation may need to adjust.
 
4791
  (Neil Martinsen-Burrell)
 
4792
 
 
4793
* The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root``
 
4794
  have been renamed ``development-wt5`` and ``development-wt5-rich-root``
 
4795
  respectively, given they are not ready for release in 1.12.
 
4796
  (Ian Clatworthy)
 
4797
 
 
4798
* ``read_bundle_from_url`` has been deprecated. (Vincent Ladeuil)
 
4799
 
 
4800
New Features
 
4801
************
 
4802
 
 
4803
* Add support for filtering ``bzr missing`` on revisions.  Remote revisions
 
4804
  can be filtered using ``bzr missing -r -20..-10`` and local revisions can
 
4805
  be filtered using ``bzr missing --my-revision -20..-10``.
 
4806
  (Marius Kruger)
 
4807
 
 
4808
* ``bzr log -p`` displays the patch diff for each revision.
 
4809
  When logging a file, the diff only includes changes to that file.
 
4810
  (Ian Clatworthy, #202331, #227335)
 
4811
 
 
4812
* ``bzr log`` supports a new option called ``-n N`` or ``--level N``.
 
4813
  A value of 0 (zero) means "show all nested merge revisions" while
 
4814
  a value of 1 (one) means "show just the top level". Values above
 
4815
  1 can be used to see a limited amount of nesting. That can be
 
4816
  useful for seeing the level or two below PQM submits for example.
 
4817
  To force the ``--short`` and ``--line`` formats to display all nested
 
4818
  merge revisions just like ``--long`` does by default, use a command
 
4819
  like ``bzr log --short -n0``. To display just the mainline using
 
4820
  ``--long`` format, ``bzr log --long -n1``.
 
4821
  (Ian Clatworthy)
 
4822
 
 
4823
Improvements
 
4824
************
 
4825
 
 
4826
* ``bzr add`` more clearly communicates success vs failure.
 
4827
  (Daniel Watkins)
 
4828
 
 
4829
* ``bzr init`` will now print a little less verbose output.
 
4830
  (Marius Kruger)
 
4831
 
 
4832
* ``bzr log`` is now much faster in many use cases, particularly
 
4833
  at incrementally displaying results and filtering by a
 
4834
  revision range. (Ian Clatworthy)
 
4835
 
 
4836
* ``bzr log --short`` and ``bzr log --line`` now show tags, if any,
 
4837
  for each revision. The tags are shown comma-separated inside
 
4838
  ``{}``. For short format, the tags appear at the end of line
 
4839
  before the optional ``[merge]`` indicator. For line format,
 
4840
  the tags appear after the date. (Ian Clatworthy)
 
4841
 
 
4842
* Progress bars now show the rate of activity for some sftp 
 
4843
  operations, and they are drawn different.  (Martin Pool, #172741)
 
4844
 
 
4845
* Progress bars now show the rate of activity for urllib and pycurl based
 
4846
  http client implementations. The operations are tracked at the socket
 
4847
  level for better precision.
 
4848
  (Vincent Ladeuil)
 
4849
 
 
4850
* Rule-based preferences can now accept multiple patterns for a set of
 
4851
  rules.  (Marius Kruger)
 
4852
 
 
4853
* The ``ancestor:`` revision spec will now default to referring to the
 
4854
  parent of the branch if no other location is given.
 
4855
  (Daniel Watkins, #198417)
 
4856
 
 
4857
* The debugger started as a result of setting ``$BZR_PDB`` works
 
4858
  around a bug in ``pdb``, http://bugs.python.org/issue4150.  The bug
 
4859
  can cause truncated tracebacks in Python versions before 2.6.
 
4860
  (Andrew Bennetts)
 
4861
 
 
4862
* VirtualVersionedFiles now implements
 
4863
  ``iter_lines_added_or_present_in_keys``. This allows the creation of 
 
4864
  new branches based on stacked bzr-svn branches. (#311997)
 
4865
 
 
4866
Bug Fixes
 
4867
*********
 
4868
 
 
4869
* ``bzr annotate --show-ids`` doesn't give a backtrace on empty files
 
4870
  anymore.
 
4871
  (Anne Mohsen, Vincent Ladeuil, #314525)
 
4872
 
 
4873
* ``bzr log FILE`` now correctly shows mainline revisions merging
 
4874
  a change to FILE when the ``--short`` and ``--line`` log formats
 
4875
  are used. (Ian Clatworthy, #317417)
 
4876
 
 
4877
* ``bzr log -rX..Y FILE`` now shows the history of FILE provided
 
4878
  it existed in Y or X, even if the file has since been deleted or
 
4879
  renamed. If no range is given, the current/basis tree and
 
4880
  initial tree are searched in that order. More generally, log
 
4881
  now interprets filenames in their historical context.
 
4882
  (Ian Clatworthy, #175520)
 
4883
 
 
4884
* ``bzr status`` now reports nonexistent files and continues, then
 
4885
  errors (with code 3) at the end.  (Karl Fogel, #306394)
 
4886
 
 
4887
* Don't require the present compression base in knits to be the same
 
4888
  when adding records in knits. (Jelmer Vernooij, #307394)
 
4889
 
 
4890
* Fix a problem with CIFS client/server lag on Windows colliding with
 
4891
  an invariant-per-process algorithm for generating AtomicFile names
 
4892
  (Adrian Wilkins, #304023)
 
4893
 
 
4894
* Many socket operations now handle EINTR by retrying the operation.
 
4895
  Previously EINTR was treated as an unrecoverable failure.  There is
 
4896
  a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
 
4897
  (Andrew Bennetts)
 
4898
 
 
4899
* Support symlinks with non-ascii characters in the symlink filename.
 
4900
  (Jelmer Vernooij, #319323)
 
4901
 
 
4902
* There was a bug in how we handled resolving when a file is deleted
 
4903
  in one branch, and modified in the other. If there was a criss-cross
 
4904
  merge, we would cause the deletion to conflict a second time.
 
4905
  (Vincent Ladeuil, John Arbash Meinel)
 
4906
 
 
4907
* There was another bug in how we chose the correct intermediate LCA in
 
4908
  criss-cross merges leading to several kind of changes be incorrectly
 
4909
  handled.
 
4910
  (John Arbash Meinel, Vincent Ladeuil)
 
4911
 
 
4912
* Unshelve now handles deleted paths without crashing. (Robert Collins)
 
4913
 
 
4914
Documentation
 
4915
*************
 
4916
 
 
4917
* Improved plugin developer documentation.  (Martin Pool)
 
4918
 
 
4919
API Changes
 
4920
***********
 
4921
 
 
4922
* ``ProgressBarStack`` is deprecated; instead use
 
4923
  ``ui_factory.nested_progress_bar`` to create new progress bars.
 
4924
  (Martin Pool)
 
4925
 
 
4926
* ForeignVcsMapping() now requires a ForeignVcs object as first
 
4927
  argument. (Jelmer Vernooij)
 
4928
 
 
4929
* ForeignVcsMapping.show_foreign_revid() has been moved to
 
4930
  ForeignVcs. (Jelmer Vernooij)
 
4931
 
 
4932
* ``read_bundle_from_url`` is deprecated in favor of
 
4933
  ``read_mergeable_from_url``.  (Vincent Ladeuil)
 
4934
 
 
4935
* Revision specifiers are now registered in
 
4936
  ``bzrlib.revisionspec.revspec_registry``, and the old list of 
 
4937
  revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been
 
4938
  deprecated. (Jelmer Vernooij, #321183)
 
4939
 
 
4940
* The progress and UI classes have changed; the main APIs remain the
 
4941
  same but code that provides a new UI or progress bar class may
 
4942
  need to be updated.  (Martin Pool)
 
4943
 
 
4944
Internals
 
4945
*********
 
4946
 
 
4947
* Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb
 
4948
  terminal. It is sometimes desirable do override this default by forcing
 
4949
  bzr to use TextUIFactory. This can be achieved by setting the
 
4950
  BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to
 
4951
  compile buffers, are such an example).
 
4952
  (Vincent Ladeuil)
 
4953
 
 
4954
* New API ``Branch.iter_merge_sorted_revisions()`` that iterates over
 
4955
  ``(revision_id, depth, revno, end_of_merge)`` tuples.
 
4956
  (Ian Clatworthy)
 
4957
 
 
4958
* New ``Branch.dotted_revno_to_revision_id()`` and
 
4959
  ``Branch.revision_id_to_dotted_revno()`` APIs that pick the most
 
4960
  efficient way of doing the mapping.
 
4961
  (Ian Clatworthy)
 
4962
 
 
4963
* Refactor cmd_serve so that it's a little easier to build commands that
 
4964
  extend it, and perhaps even a bit easier to read.  (Jonathan Lange)
 
4965
 
 
4966
* ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
 
4967
  formatters to retrict the output.
 
4968
  (Vincent Ladeuil)
 
4969
 
 
4970
 
 
4971
bzr 1.11
 
4972
########
 
4973
 
 
4974
:Codename: "Eyes up!"
 
4975
:Released: 2009-01-19
 
4976
 
 
4977
This first monthly release of Bazaar for 2009 improves Bazaar's operation
 
4978
in Windows, Mac OS X, and other situations where file names are matched
 
4979
without regard to capitalization: Bazaar tries to match the case of an
 
4980
existing file.  This release of Bazaar also improves the efficiency of
 
4981
Tortoise Windows Shell integration and lets it work on 64-bit platforms.
 
4982
 
 
4983
The UI through which Bazaar supports historic formats has been improved,
 
4984
so 'bzr help formats' now gives a simpler and shorter list, with clear
 
4985
advice.
 
4986
 
 
4987
This release also fixes a number of bugs, particularly a glitch that can
 
4988
occur when there are concurrent writes to a pack repository.
 
4989
 
 
4990
Bug Fixes
 
4991
*********
 
4992
 
 
4993
* Fix failing test when CompiledChunksToLines is not available.
 
4994
  (Vincent Ladeuil)
 
4995
 
 
4996
* Stacked branches don't repeatedly open their transport connection.
 
4997
  (John Arbash Meinel)
 
4998
 
 
4999
 
 
5000
 
 
5001
bzr 1.11rc1
 
5002
###########
 
5003
 
 
5004
:Codename: "Eyes up!"
 
5005
:Released: 2009-01-09
 
5006
 
 
5007
Changes
 
5008
*******
 
5009
 
 
5010
* Formats using Knit-based repository formats are now explicitly
 
5011
  marked as deprecated. (Ian Clatworthy)
 
5012
 
 
5013
New Features
 
5014
************
 
5015
 
 
5016
* Add support for `bzr tags -r 1..2`, that is we now support showing
 
5017
  tags applicable for a specified revision range. (Marius Kruger)
 
5018
 
 
5019
* ``authentication.conf`` now accepts pluggable read-only credential
 
5020
  stores. Such a plugin (``netrc_credential_store``) is now included,
 
5021
  handles the ``$HOME/.netrc`` file and can server as an example to
 
5022
  implement other plugins.
 
5023
  (Vincent Ladeuil)
 
5024
 
 
5025
* ``shelve --list`` can now be used to list shelved changes.
 
5026
  (Aaron Bentley)
 
5027
 
 
5028
Improvements
 
5029
************
 
5030
 
 
5031
* Add trailing slash to directories in all output of ``bzr ls``, except
 
5032
  ``bzr ls --null``. (Gordon P. Hemsley, #306424)
 
5033
 
 
5034
* ``bzr revision-info`` now supports a -d option to specify an
 
5035
  alternative branch. (Michael Hudson)
 
5036
 
 
5037
* Add connection to a C++ implementation of the Windows Shell Extension
 
5038
  which is able to fully replace the current Python implemented one.
 
5039
  Advantages include 64bit support and reduction in overhead for
 
5040
  processes which drag in shell extensions.
 
5041
  (Mark Hammond)
 
5042
 
 
5043
* Support the Claws mail client directly, rather than via
 
5044
  xdg-email. This prevents the display of an unnecessary modal
 
5045
  dialog in Claws, informing the user that a file has been
 
5046
  attached to the message, and works around bug #291847 in
 
5047
  xdg-utils which corrupts the destination address.
 
5048
 
 
5049
* When working on a case-insensitive case-preserving file-system, as
 
5050
  commonly found with Windows, bzr will often ignore the case of the
 
5051
  arguments specified by the user in preference to the case of an existing
 
5052
  item on the file-system or in the inventory to help prevent
 
5053
  counter-intuitive behaviour on Windows. (Mark Hammond)
 
5054
 
 
5055
Bug Fixes
 
5056
*********
 
5057
  
 
5058
* Allow BzrDir implementation to implement backing up of 
 
5059
  control directory. (#139691)
 
5060
 
 
5061
* ``bzr push`` creating a new stacked branch will now only open a
 
5062
  single connection to the target machine. (John Arbash Meinel)
 
5063
 
 
5064
* Don't call iteritems on transport_list_registry, because it may
 
5065
  change during iteration.  (Martin Pool, #277048)
 
5066
 
 
5067
* Don't make a broken branch when pushing an unstackable-format branch
 
5068
  that's in a stackable shared repository to a location with default
 
5069
  stack-on location.  (Andrew Bennetts, #291046)
 
5070
 
 
5071
* Don't require embedding user in HTTP(S) URLs do use authentication.conf.
 
5072
  (Ben Jansen, Vincent Ladeuil, #300347)
 
5073
 
 
5074
* Fix a problem with CIFS client/server lag on windows colliding with
 
5075
  an invariant-per-process algorithm for generating AtomicFile names
 
5076
  (Adrian Wilkins, #304023)
 
5077
 
 
5078
* Fix bogus setUp signature in UnavailableFTPServer.
 
5079
  (Gary van der Merwe, #313498)
 
5080
 
 
5081
* Fix compilation error in ``_dirstate_helpers_c`` on SunOS/Solaris.
 
5082
  (Jari Aalto)
 
5083
 
 
5084
* Fix SystemError in ``_patiencediff_c`` module by calling
 
5085
  PyErr_NoMemory() before returning NULL in PatienceSequenceMatcher_new.
 
5086
  (Andrew Bennetts, #303206)
 
5087
 
 
5088
* Give proper error message for diff with non-existent dotted revno.
 
5089
  (Marius Kruger, #301969)
 
5090
 
 
5091
* Handle EACCES (permission denied) errors when launching a message
 
5092
  editor, and emit warnings when a configured editor cannot be
 
5093
  started. (Andrew Bennetts)
 
5094
 
 
5095
* ``$HOME/.netrc`` file is now recognized as a read-only credential store
 
5096
  if configured in ``authentication.conf`` with 'password_encoding=netrc'
 
5097
  in the appropriate sections.
 
5098
  (Vincent Ladeuil, #103029)
 
5099
 
 
5100
* Opening a stacked branch now properly shares the connection, rather
 
5101
  than opening a new connection for the stacked-on branch.
 
5102
  (John Arbash meinel)
 
5103
 
 
5104
* Preserve transport decorators while following redirections.
 
5105
  (Vincent Ladeuil, #245964, #270863)
 
5106
 
 
5107
* Provides a finer and more robust filter for accepted redirections.
 
5108
  (Vincent Ladeuil, #303959, #265070)
 
5109
 
 
5110
* ``shelve`` paths are now interpreted relative to the current working
 
5111
  tree.  (Aaron Bentley)
 
5112
 
 
5113
* ``Transport.readv()`` defaults to not reading more than 100MB in a
 
5114
  single array. Further ``RemoteTransport.readv`` sets this to 5MB to
 
5115
  work better with how it splits its requests.
 
5116
  (John Arbash Meinel, #303538)
 
5117
 
 
5118
* Pack repositories are now able to reload the pack listing and retry
 
5119
  the current operation if another action causes the data to be
 
5120
  repacked.  (John Arbash Meinel, #153786)
 
5121
 
 
5122
* ``pull -v`` now respects the log_format configuration variable.
 
5123
  (Aaron Bentley)
 
5124
 
 
5125
* ``push -v`` now works on non-initial pushes.  (Aaron Bentley)
 
5126
 
 
5127
* Use the short status format when the short format is used for log.
 
5128
  (Vincent Ladeuil, #87179)
 
5129
 
 
5130
* Allow files to be renamed or moved via remove + add-by-id. (Charles
 
5131
  Duffy, #314251)
 
5132
 
 
5133
Documentation
 
5134
*************
 
5135
 
 
5136
* Improved the formats help topic to explain why multiple formats
 
5137
  exist and to provide guidelines in selecting one. Introduced
 
5138
  two new supporting help topics: current-formats and other-formats.
 
5139
  (Ian Clatworthy)
 
5140
 
 
5141
API Changes
 
5142
***********
 
5143
 
 
5144
* ``LRUCache(after_cleanup_size)`` was renamed to
 
5145
  ``after_cleanup_count`` and the old name deprecated. The new name is
 
5146
  used for clarity, and to avoid confusion with
 
5147
  ``LRUSizeCache(after_cleanup_size)``. (John Arbash Meinel)
 
5148
 
 
5149
* New ``ForeignRepository`` base class, to help with foreign branch 
 
5150
  support (e.g. svn).  (Jelmer Vernooij)
 
5151
 
 
5152
* ``node_distances`` and ``select_farthest`` can no longer be imported
 
5153
  from ``bzrlib.graph``.  They can still be imported from
 
5154
  ``bzrlib.deprecated_graph``, which has been the preferred way to
 
5155
  import them since before 1.0.  (Andrew Bennetts)
 
5156
  
 
5157
* The logic in commit now delegates inventory basis calculations to
 
5158
  the ``CommitBuilder`` object; this requires that the commit builder
 
5159
  in use has been updated to support the new ``recording_deletes`` and
 
5160
  ``record_delete`` methods. (Robert Collins)
 
5161
 
 
5162
Testing
 
5163
*******
 
5164
 
 
5165
* An HTTPS server is now available (it requires python-2.6). Future bzr
 
5166
  versions will allow the use of the python-2.6 ssl module that can be
 
5167
  installed for 2.5 and 2.4.
 
5168
 
 
5169
* ``bzr selftest`` now fails if new trailing white space is added to
 
5170
  the bazaar sources. It only checks changes not committed yet. This
 
5171
  means that PQM will now reject changes that introduce new trailing
 
5172
  whitespace. (Marius Kruger)
 
5173
 
 
5174
* Introduced new experimental formats called ``1.12-preview`` and
 
5175
  ``1.12-preview-rich-root`` to enable testing of related pending
 
5176
  features, namely content filtering and filtered views.
 
5177
  (Ian Clatworthy)
 
5178
 
 
5179
Internals
 
5180
*********
 
5181
 
 
5182
* Added an ``InventoryEntry`` cache when deserializing inventories.
 
5183
  Can cut the time to iterate over multiple RevisionsTrees in half.
 
5184
  (John Arbash Meinel)
 
5185
 
 
5186
* Added ``bzrlib.fifo_cache.FIFOCache`` which is designed to have
 
5187
  minimal overhead versus using a plain dict for cache hits, at the
 
5188
  cost of not preserving the 'active' set as well as an ``LRUCache``.
 
5189
  (John Arbash Meinel)
 
5190
 
 
5191
* ``bzrlib.patience_diff.unified_diff`` now properly uses a tab
 
5192
  character to separate the filename from the date stamp, and doesn't
 
5193
  add trailing whitespace when a date stamp is not supplied.
 
5194
  (Adeodato Simó, John Arbash Meinel)
 
5195
 
 
5196
* ``DirStateWorkingTree`` and ``DirStateWorkingTreeFormat`` added
 
5197
  as base classes of ``WorkingTree4`` and ``WorkingTreeFormat4``
 
5198
  respectively. (Ian Clatworthy)
 
5199
 
 
5200
* ``KnitVersionedFiles._check_should_delta()`` now uses the
 
5201
  ``get_build_details`` api to avoid multiple hits to the index, and
 
5202
  to properly follow the ``compression_parent`` rather than assuming
 
5203
  it is the left-hand parent. (John Arbash Meinel)
 
5204
 
 
5205
* ``KnitVersionedFiles.get_record_stream()`` will now chose a
 
5206
  more optimal ordering when the keys are requested 'unordered'.
 
5207
  Previously the order was fully random, now the records should be
 
5208
  returned from each pack in turn, in forward I/O order.
 
5209
  (John Arbash Meinel)
 
5210
    
 
5211
* ``mutter()`` will now flush the ``~/.bzr.log`` if it has been more
 
5212
  than 2s since the last time it flushed. (John Arbash Meinel)
 
5213
 
 
5214
* New method ``bzrlib.repository.Repository.add_inventory_by_delta``
 
5215
  allows adding an inventory via an inventory delta, which can be
 
5216
  more efficient for some repository types. (Robert Collins)
 
5217
 
 
5218
* Repository ``CommitBuilder`` objects can now accumulate an inventory
 
5219
  delta. To enable this functionality call ``builder.recording_deletes``
 
5220
  and additionally call ``builder.record_delete`` when a delete
 
5221
  against the basis occurs. (Robert Collins)
 
5222
 
 
5223
* The default http handler has been changed from pycurl to urllib.
 
5224
  The default is still pycurl for https connections. (The only
 
5225
  advantage of pycurl is that it checks ssl certificates.)
 
5226
  (John Arbash Meinel)
 
5227
 
 
5228
* ``VersionedFiles.get_record_stream()`` can now return objects with a
 
5229
  storage_kind of ``chunked``. This is a collection (list/tuple) of
 
5230
  strings. You can use ``osutils.chunks_to_lines()`` to turn them into
 
5231
  guaranteed 'lines' or you can use ``''.join(chunks)`` to turn it
 
5232
  into a fulltext. This allows for some very good memory savings when
 
5233
  asking for many texts that share ancestry, as the individual chunks
 
5234
  can be shared between versions of the file. (John Arbash Meinel)
 
5235
 
 
5236
* ``pull -v`` and ``push -v`` use new function
 
5237
  ``bzrlib.log.show_branch_change`` (Aaron Bentley)
 
5238
 
 
5239
 
 
5240
 
 
5241
bzr 1.10
 
5242
########
 
5243
 
 
5244
:Released: 2008-12-05
 
5245
 
 
5246
Bazaar 1.10 has several performance improvements for copying revisions
 
5247
(especially for small updates to large projects).  There has also been a
 
5248
significant amount of effort in polishing stacked branches.  The commands
 
5249
``shelve`` and ``unshelve`` have become core commands, with an improved
 
5250
implementation.
 
5251
 
 
5252
The only changes versus bzr-1.10rc1 are bugfixes for stacked branches.
 
5253
 
 
5254
bug Fixes
 
5255
*********
 
5256
 
 
5257
* Don't set a pack write cache size from RepoFetcher, because the
 
5258
  cache is not coherent with reads and causes ShortReadvErrors.
 
5259
  This reverses the change that fixed #294479.
 
5260
  (Martin Pool, #303856)
 
5261
 
 
5262
* Properly handle when a revision can be inserted as a delta versus
 
5263
  when it needs to be expanded to a fulltext for stacked branches.
 
5264
  There was a bug involving merge revisions. As a method to help
 
5265
  prevent future difficulties, also make stacked fetches sort
 
5266
  topologically. (John Arbash Meinel, #304841)
 
5267
 
 
5268
 
 
5269
bzr 1.10rc1
 
5270
###########
 
5271
 
 
5272
:Released: 2008-11-28
 
5273
 
 
5274
This release of Bazaar focuses on performance improvements when pushing
 
5275
and pulling revisions, both locally and to remote networks.  The popular
 
5276
``shelve`` and ``unshelve`` commands, used to interactively revert and
 
5277
restore work in progress, have been merged from bzrtools into the bzr
 
5278
core.  There are also bug fixes for portability, and for stacked branches.
 
5279
 
 
5280
New Features
 
5281
************
 
5282
 
 
5283
* New ``commit_message_template`` hook that is called by the commit
 
5284
  code to generate a template commit message. (Jelmer Vernooij)
 
5285
 
 
5286
* New `shelve` and `unshelve` commands allow undoing and redoing changes.
 
5287
  (Aaron Bentley)
 
5288
 
 
5289
Improvements
 
5290
************
 
5291
 
 
5292
* ``(Remote)Branch.copy_content_into`` no longer generates the full revision
 
5293
  history just to set the last revision info.
 
5294
  (Andrew Bennetts, John Arbash Meinel)
 
5295
 
 
5296
* Fetches between formats with different serializers (such as
 
5297
  pack-0.92-subtree and 1.9-rich-root) are faster now.  This is due to
 
5298
  operating on batches of 100 revisions at time rather than
 
5299
  one-by-one.  (Andrew Bennetts, John Arbash Meinel)
 
5300
 
 
5301
* Search index files corresponding to pack files we've already used
 
5302
  before searching others, because they are more likely to have the
 
5303
  keys we're looking for.  This reduces the number of iix and tix
 
5304
  files accessed when pushing 1 new revision, for instance.
 
5305
  (John Arbash Meinel)
 
5306
 
 
5307
* Signatures to transfer are calculated more efficiently in
 
5308
  ``item_keys_introduced_by``.  (Andrew Bennetts, John Arbash Meinel)
 
5309
 
 
5310
* The generic fetch code can once again copy revisions and signatures
 
5311
  without extracting them completely to fulltexts and then serializing
 
5312
  them back down into byte strings. This is a significant performance
 
5313
  improvement when fetching from a stacked branch.
 
5314
  (John Arbash Meinel, #300289)
 
5315
 
 
5316
* When making a large readv() request over ``bzr+ssh``, break up the
 
5317
  request into more manageable chunks. Because the RPC is not yet able
 
5318
  to stream, this helps keep us from buffering too much information at
 
5319
  once. (John Arbash Meinel)
 
5320
 
 
5321
Bug Fixes
 
5322
*********
 
5323
 
 
5324
* Better message when the user needs to set their Launchpad ID.
 
5325
  (Martin Pool, #289148)
 
5326
 
 
5327
* ``bzr commit --local`` doesn't access the master branch anymore.
 
5328
  This fixes a regression introduced in 1.9.  (Marius Kruger, #299313)
 
5329
 
 
5330
* Don't call the system ``chdir()`` with an empty path. Sun OS seems
 
5331
  to give an error in that case.  Also, don't count on ``getcwd()``
 
5332
  being able to allocate a new buffer, which is a gnu extension.
 
5333
  (John Arbash Meinel, Martin Pool, Harry Hirsch, #297831)
 
5334
 
 
5335
* Don't crash when requesting log --forward <file> for a revision range
 
5336
  starting with a dotted revno.
 
5337
  (Vincent Ladeuil, #300055)
 
5338
 
 
5339
* Don't create text deltas spanning stacked repositories; this could
 
5340
  cause "Revision X not present in Y" when later accessing them.
 
5341
  (Martin Pool, #288751)
 
5342
 
 
5343
* Pack repositories are now able to reload the pack listing and retry
 
5344
  the current operation if another action causes the data to be
 
5345
  repacked.  (John Arbash Meinel, #153786)
 
5346
 
 
5347
* PermissionDenied errors from smart servers no longer cause
 
5348
  "PermissionDenied: "None"" on the client.
 
5349
  (Andrew Bennetts, #299254)
 
5350
 
 
5351
* Pushing to a stacked pack repository now batches writes, the same
 
5352
  way writes are batched to ordinary pack repository.  This makes
 
5353
  pushing to a stacked branch over the network much faster.
 
5354
  (Andrew Bennetts, #294479)
 
5355
 
 
5356
* TooManyConcurrentRequests no longer occur when a fetch fails and
 
5357
  tries to abort a write group.  This allows the root cause (e.g. a
 
5358
  network interruption) to be reported.  (Andrew Bennetts, #297014)
 
5359
 
 
5360
* RemoteRepository.get_parent_map now uses fallback repositories.
 
5361
  (Aaron Bentley, #297991?, #293679?)
 
5362
 
 
5363
API Changes
 
5364
***********
 
5365
 
 
5366
* ``CommitBuilder`` now validates the strings it will be committing,
 
5367
  to ensure that they do not have characters that will not be properly
 
5368
  round-tripped. For now, it just checks for characters that are
 
5369
  invalid in the XML form. (John Arbash Meinel, #295161)
 
5370
 
 
5371
* Constructor parameters for NewPack (internal to pack repositories)
 
5372
  have changed incompatibly.
 
5373
 
 
5374
* ``Repository.abort_write_group`` now accepts an optional
 
5375
  ``suppress_errors`` flag.  Repository implementations that override
 
5376
  ``abort_write_group`` will need to be updated to accept the new
 
5377
  argument.  Subclasses that only override ``_abort_write_group``
 
5378
  don't need to change.
 
5379
 
 
5380
* Transport implementations must provide copy_tree_to_transport.  A default
 
5381
  implementation is provided for Transport subclasses.
 
5382
 
 
5383
Testing
 
5384
*******
 
5385
 
 
5386
* ``bzr selftest`` now fails if no doctests are found in a module
 
5387
  that's expected to have them.  (Martin Pool)
 
5388
 
 
5389
* Doctests now only report the first failure.  (Martin Pool)
 
5390
 
 
5391
 
 
5392
bzr 1.9
 
5393
#######
 
5394
 
 
5395
:Released: 2008-11-07
 
5396
 
 
5397
This release of Bazaar adds a new repository format, ``1.9``, with smaller
 
5398
and more efficient index files.  This format can be specified when
 
5399
creating a new repository, or used to losslessly upgrade an existing
 
5400
repository.  bzr 1.9 also speeds most operations over the smart server
 
5401
protocol, makes annotate faster, and uses less memory when making
 
5402
checkouts or pulling large amounts of data.
 
5403
 
 
5404
Bug Fixes
 
5405
*********
 
5406
 
 
5407
* Fix "invalid property value 'branch-nick' for None" regression with
 
5408
  branches bound to svn branches.  (Martin Pool, #293440)
 
5409
 
 
5410
* Fix SSL/https on Python2.6.  (Vincent Ladeuil, #293054)
 
5411
 
 
5412
* ``SFTPTransport.readv()`` had a bug when requests were out-of-order.
 
5413
  This only triggers some-of-the-time on Knit format repositories.
 
5414
  (John Arbash Meinel, #293746)
 
5415
 
 
5416
 
 
5417
bzr 1.9rc1
 
5418
##########
 
5419
 
 
5420
:Released: 2008-10-31
 
5421
 
 
5422
New Features
 
5423
************
 
5424
 
 
5425
* New Branch hook ``transform_fallback_location`` allows a function to
 
5426
  be called when looking up the stacked source. (Michael Hudson)
 
5427
 
 
5428
* New repository formats ``1.9`` and ``1.9-rich-root``. These have all
 
5429
  the functionality of ``1.6``, but use the new btree indexes.
 
5430
  These indexes are both smaller and faster for access to historical
 
5431
  information.  (John Arbash Meinel)
 
5432
 
 
5433
Improvements
 
5434
************
 
5435
 
 
5436
* ``BTreeIndex`` code now is able to prefetch extra pages to help tune
 
5437
  the tradeoff between bandwidth and latency. Should be tuned
 
5438
  appropriately to not impact commands which need minimal information,
 
5439
  but provide a significant boost to ones that need more context. Only
 
5440
  has a direct impact on the ``--development2`` format which uses
 
5441
  btree's for the indexes. (John Arbash Meinel)
 
5442
 
 
5443
* ``bzr dump-btree`` is a hidden command introduced to allow dumping
 
5444
  the contents of a compressed btree file.  (John Arbash Meinel)
 
5445
 
 
5446
* ``bzr pack`` now tells the index builders to optimize for size. For
 
5447
  btree index repositories, this can save 25% of the index size
 
5448
  (mostly in the text indexes). (John Arbash Meinel)
 
5449
 
 
5450
* ``bzr push`` to an existing branch or repository on a smart server
 
5451
  is faster, due to Bazaar making more use of the ``get_parent_map``
 
5452
  RPC when querying the remote branch's revision graph.
 
5453
  (Andrew Bennetts)
 
5454
 
 
5455
* default username for bzr+ssh and sftp can be configured in
 
5456
  authentication.conf. (Aaron Bentley)
 
5457
 
 
5458
* launchpad-login now provides a default username for bzr+ssh and sftp
 
5459
  URLs, allowing username-free URLs to work for everyone. (Aaron Bentley)
 
5460
 
 
5461
* ``lp:`` lookups no longer include usernames, making them shareable and
 
5462
  shorter. (Aaron Bentley)
 
5463
 
 
5464
* New ``PackRepository.autopack`` smart server RPC, which does
 
5465
  autopacking entirely on the server.  This is much faster than
 
5466
  autopacking via plain file methods, which downloads a large amount
 
5467
  of pack data and then re-uploads the same pack data into a single
 
5468
  file.  This fixes a major (although infrequent) cause of lengthy
 
5469
  delays when using a smart server.  For example, pushing the 10th
 
5470
  revision to a repository with 9 packs now takes 44 RPCs rather than
 
5471
  179, and much less bandwidth too.  This requires Bazaar 1.9 on both
 
5472
  the client and the server, otherwise the client will fallback to the
 
5473
  slower method.  (Andrew Bennetts)
 
5474
 
 
5475
Bug Fixes
 
5476
*********
 
5477
 
 
5478
* A failure to load a plugin due to an IncompatibleAPI exception is
 
5479
  now correctly reported. (Robert Collins, #279451)
 
5480
 
 
5481
* API versioning support now has a multiple-version checking api
 
5482
  ``require_any_api``. (Robert Collins, #279447)
 
5483
 
 
5484
* ``bzr branch --stacked`` from a smart server to a standalone branch
 
5485
  works again.  This fixes a regression in 1.7 and 1.8.
 
5486
  (Andrew Bennetts, #270397)
 
5487
 
 
5488
* ``bzr co`` uses less memory. It used to unpack the entire WT into
 
5489
  memory before writing it to disk. This was a little bit faster, but
 
5490
  consumed lots of memory. (John Arbash Meinel, #269456)
 
5491
 
 
5492
* ``bzr missing --quiet`` no longer prints messages about whether
 
5493
  there are missing revisions.  The exit code indicates whether there
 
5494
  were or not.  (Martin Pool, #284748)
 
5495
 
 
5496
* Fixes to the ``annotate`` code. The fast-path which re-used the
 
5497
  stored deltas was accidentally disabled all the time, instead of
 
5498
  only when a branch was stacked. Second, the code would accidentally
 
5499
  re-use a delta even if it wasn't against the left-parent, this
 
5500
  could only happen if ``bzr reconcile`` decided that the parent
 
5501
  ordering was incorrect in the file graph.  (John Arbash Meinel)
 
5502
 
 
5503
* "Permission denied" errors that occur when pushing a new branch to a
 
5504
  smart server no longer cause tracebacks.  (Andrew Bennetts, #278673)
 
5505
 
 
5506
* Some compatibility fixes for building the extensions with MSVC and
 
5507
  for python2.4. (John Arbash Meinel, #277484)
 
5508
 
 
5509
* The index logic is now able to reload the list of pack files if and
 
5510
  index ends up disappearing. We still don't reload if the pack data
 
5511
  itself goes missing after checking the index. This bug appears as a
 
5512
  transient failure (file not found) when another process is writing
 
5513
  to the repository.  (John Arbash Meinel, #153786)
 
5514
 
 
5515
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
5516
  it was previously set. All checkouts will now refer to the bound branch
 
5517
  for a nickname if one was not explicitly set.
 
5518
  (Marius Kruger, #230903)
 
5519
 
 
5520
Documentation
 
5521
*************
 
5522
 
 
5523
* Improved hook documentation. (Michael Ernst)
 
5524
 
 
5525
API Changes
 
5526
***********
 
5527
 
 
5528
* commands.plugins_cmds is now a CommandRegistry, not a dict.
 
5529
 
 
5530
Internals
 
5531
*********
 
5532
 
 
5533
* New AuthenticationConfig.set_credentials method allows easy programmatic
 
5534
  configuration of authetication credentials.
 
5535
 
 
5536
 
 
5537
bzr 1.8
 
5538
#######
 
5539
 
 
5540
:Released: 2008-10-16
 
5541
 
 
5542
Bazaar 1.8 includes several fixes that improve working tree performance,
 
5543
display of revision logs, and merges.  The bzr testsuite now passes on OS
 
5544
X and Python 2.6, and almost completely passes on Windows.  The
 
5545
smartserver code has gained several bug fixes and performance
 
5546
improvements, and can now run server-side hooks within an http server.
 
5547
 
 
5548
Bug Fixes
 
5549
*********
 
5550
 
 
5551
* Fix "Must end write group" error when another error occurs during
 
5552
  ``bzr push``.  (Andrew Bennetts, #230902)
 
5553
 
 
5554
Portability
 
5555
***********
 
5556
 
 
5557
* Some Pyrex versions require the WIN32 macro defined to compile on
 
5558
  that platform.  (Alexander Belchenko, Martin Pool, #277481)
 
5559
 
 
5560
 
 
5561
bzr 1.8rc1
 
5562
##########
 
5563
 
 
5564
:Released: 2008-10-07
 
5565
 
 
5566
Changes
 
5567
*******
 
5568
 
 
5569
* ``bzr log file`` has been changed. It now uses a different method
 
5570
  for determining which revisions to show as merging the changes to
 
5571
  the file. It now only shows revisions which merged the change
 
5572
  towards your mainline. This simplifies the output, makes it faster,
 
5573
  and reduces memory consumption.  (John Arbash Meinel)
 
5574
 
 
5575
* ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
 
5576
  ``--show-base`` is not supplied.  (John Arbash Meinel)
 
5577
 
 
5578
* ``bzr+http//`` will now optionally load plugins and write logs on the
 
5579
  server. (Marius Kruger)
 
5580
 
 
5581
* ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
 
5582
  Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
 
5583
  explicitly blacklist that version of the compiler for that
 
5584
  extension. Packaged versions will include .c files created with
 
5585
  pyrex >= 0.9.6 so it doesn't effect releases, only users running
 
5586
  from the source tree. (John Arbash Meinel, #276868)
 
5587
 
 
5588
Features
 
5589
********
 
5590
 
 
5591
* bzr is now compatible with python-2.6. python-2.6 is not yet officially
 
5592
  supported (nor released, tests were conducted with the dev version of
 
5593
  python-2.6rc2), but all known problems have been fixed.  Feedback
 
5594
  welcome.
 
5595
  (Vincent Ladeuil, #269535)
 
5596
 
 
5597
Improvements
 
5598
************
 
5599
 
 
5600
* ``bzr annotate`` will now include uncommitted changes from the local
 
5601
  working tree by default. Such uncommitted changes are given the
 
5602
  revision number they would get if a commit was done, followed with a
 
5603
  ? to indicate that its not actually known. (Robert Collins, #3439)
 
5604
 
 
5605
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
 
5606
  standalone branch regardless of the presence of shared repositories.
 
5607
  (Daniel Watkins)
 
5608
 
 
5609
* ``bzr push`` is faster in the case there are no new revisions to
 
5610
  push.  It is also faster if there are no tags in the local branch.
 
5611
  (Andrew Bennetts)
 
5612
 
 
5613
* File changes during a commit will update the tree stat cache.
 
5614
  (Robert Collins)
 
5615
 
 
5616
* Location aliases can now accept a trailing path.  (Micheal Hudson)
 
5617
 
 
5618
* New hooks ``Lock.hooks`` when LockDirs are acquired and released.
 
5619
  (Robert Collins, MartinPool)
 
5620
 
 
5621
* Switching in heavyweight checkouts uses the master branch's context, not
 
5622
  the checkout's context.  (Adrian Wilkins)
 
5623
 
 
5624
* ``status`` on large trees is now faster, due to optimisations in the
 
5625
  walkdirs code. Of particular note, the walkdirs code now performs
 
5626
  a temporary ``chdir()`` while reading a single directory; if your
 
5627
  platform has non thread-local current working directories (and is
 
5628
  not windows which has its own implementation), this may introduce a
 
5629
  race condition during concurrent uses of bzrlib. The bzrlib CLI
 
5630
  will not encounter this as it is single threaded for working tree
 
5631
  operations. (Robert Collins)
 
5632
 
 
5633
* The C extensions now build on python 2.4 (Robert Collins, #271939)
 
5634
 
 
5635
* The ``-Dhpss`` debug flag now reports the number of smart server
 
5636
  calls per medium to stderr.  This is in addition to the existing
 
5637
  detailed logging to the .bzr.log trace file.  (Andrew Bennetts)
 
5638
 
 
5639
Bug Fixes
 
5640
*********
 
5641
 
 
5642
* Avoid random failures arising from misinterpreted ``errno`` values
 
5643
  in ``_readdir_pyx.read_dir``.
 
5644
  (Martin Pool, #279381)
 
5645
 
 
5646
* Branching from a shared repository on a smart server into a new
 
5647
  repository now preserves the repository format.
 
5648
  (Andrew Bennetts, #269214)
 
5649
 
 
5650
* ``bzr log`` now accepts a ``--change`` option.
 
5651
  (Vincent Ladeuil, #248427)
 
5652
 
 
5653
* ``bzr missing`` now accepts an ``--include-merges`` option.
 
5654
  (Vincent Ladeuil, #233817)
 
5655
 
 
5656
* Don't try to filter (internally) '.bzr' from the files to be deleted if
 
5657
  it's not there.
 
5658
  (Vincent Ladeuil, #272648)
 
5659
 
 
5660
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
5661
  (Andrew Bennetts)
 
5662
 
 
5663
* Fix TooManyConcurrentRequests errors caused by a connection failure
 
5664
  when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
 
5665
  (Andrew Bennetts, #246233)
 
5666
 
 
5667
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
 
5668
  is in a different repository than the current one.
 
5669
  (Lukáš Lalinský, #144421)
 
5670
 
 
5671
* Make the first line of the manpage preamble a comment again.
 
5672
  (David Futcher, #242106)
 
5673
 
 
5674
* Remove use of optional parameter in GSSAPI FTP support, since
 
5675
  it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
 
5676
 
 
5677
* The autopacking logic will now always create a single new pack from
 
5678
  all of the content which it deems is worth moving. This avoids the
 
5679
  'repack a single pack' bug and should result in better packing
 
5680
  overall.  (John Arbash Meinel, #242510, #172644)
 
5681
 
 
5682
* Trivial documentation fix.
 
5683
  (John Arbash Meinel, #270471)
 
5684
 
 
5685
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
 
5686
  it was previously set. All checkouts will now refer to the bound branch
 
5687
  for a nickname if one was not explicitly set.
 
5688
  (Marius Kruger, #230903)
 
5689
 
 
5690
Documentation
 
5691
*************
 
5692
 
 
5693
* Explain revision/range identifiers. (Daniel Clemente)
 
5694
 
 
5695
API Changes
 
5696
***********
 
5697
 
 
5698
* ``CommitBuilder.record_entry_contents`` returns one more element in
 
5699
  its result tuple - an optional file system hash for the hash cache
 
5700
  to use. (Robert Collins)
 
5701
 
 
5702
* ``dirstate.DirState.update_entry`` will now only calculate the sha1
 
5703
  of a file if it is likely to be needed in determining the output
 
5704
  of iter_changes. (Robert Collins)
 
5705
 
 
5706
* The PackRepository, RepositoryPackCollection, NewPack classes have a
 
5707
  slightly changed interface to support different index types; as a
 
5708
  result other users of these classes need to supply the index types
 
5709
  they want. (Robert Collins)
 
5710
 
 
5711
Testing
 
5712
*******
 
5713
 
 
5714
* ``bzrlib.tests.repository_implementations`` has been renamed to
 
5715
  ``bzrlib.tests.per_repository`` so that we have a common structure
 
5716
  (and it is shorter). (John Arbash Meinel, #239343)
 
5717
 
 
5718
* ``LocalTransport.abspath()`` now returns a drive letter if the
 
5719
  transport has one, fixing numerous tests on Windows.
 
5720
  (Mark Hammond)
 
5721
 
 
5722
* PreviewTree is now tested via intertree_implementations.
 
5723
  (Aaron Bentley)
 
5724
 
 
5725
* The full test suite is passing again on OSX.
 
5726
  (Guillermo Gonzalez, Vincent Ladeuil)
 
5727
 
 
5728
* The full test suite passes when run with ``-Eallow_debug``.
 
5729
  (Andrew Bennetts)
 
5730
 
 
5731
Internals
 
5732
*********
 
5733
 
 
5734
* A new hook, ``Branch.open``, has been added, which is called when
 
5735
  branch objects are opened. (Robert Collins)
 
5736
 
 
5737
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
 
5738
  tree walking, and modular directory listing code to aid future
 
5739
  performance optimisations and refactoring. (Robert Collins)
 
5740
 
 
5741
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
 
5742
  in the middle of processing. It only reports memory if
 
5743
  ``/proc/PID/status`` is available. (John Arbash Meinel)
 
5744
 
 
5745
* New method ``RevisionSpec.as_tree`` for representing the revision
 
5746
  specifier as a revision tree object. (Lukáš Lalinský)
 
5747
 
 
5748
* New race-free method on MutableTree ``get_file_with_stat`` for use
 
5749
  when generating stat cache results. (Robert Collins)
 
5750
 
 
5751
* New win32utils.get_local_appdata_location() provides access to a local
 
5752
  directory for storing data.  (Mark Hammond)
 
5753
 
 
5754
* To be compatible with python-2.6 a few new rules should be
 
5755
  observed. 'message' attribute can't be used anymore in exception
 
5756
  classes, 'sha' and 'md5' modules have been deprecated (use
 
5757
  osutils.[md5|sha]), object__init__ and object.__new__ don't accept
 
5758
  parameters anymore.
 
5759
  (Vincent Ladeuil)
 
5760
 
 
5761
 
 
5762
bzr 1.7.1
 
5763
#########
 
5764
 
 
5765
:Released:  2008-10-01
 
5766
 
 
5767
No changes from 1.7.1rc1.
 
5768
 
 
5769
 
 
5770
bzr 1.7.1rc1
 
5771
############
 
5772
 
 
5773
:Released: 2008-09-24
 
5774
 
 
5775
This release just includes an update to how the merge algorithm handles
 
5776
file paths when we encounter complex history.
 
5777
 
 
5778
Features
 
5779
********
 
5780
 
 
5781
* If we encounter a criss-cross in history, use information from
 
5782
  direct Least Common Ancestors to resolve inventory shape (locations
 
5783
  of files, adds, deletes, etc). This is similar in concept to using
 
5784
  ``--lca`` for merging file texts, only applied to paths.
 
5785
  (John Arbash Meinel)
 
5786
 
 
5787
 
 
5788
bzr 1.7
 
5789
#######
 
5790
 
 
5791
:Released: 2008-09-23
 
5792
 
 
5793
This release includes many bug fixes and a few performance and feature
 
5794
improvements.  ``bzr rm`` will now scan for missing files and remove them,
 
5795
like how ``bzr add`` scans for unknown files and adds them. A bit more
 
5796
polish has been applied to the stacking code. The b-tree indexing code has
 
5797
been brought in, with an eye on using it in a future repository format.
 
5798
There are only minor installer changes since bzr-1.7rc2.
 
5799
 
 
5800
Features
 
5801
********
 
5802
 
 
5803
* Some small updates to the win32 installer. Include localization
 
5804
  files found in plugins, and include the builtin distutils as part of
 
5805
  packaging qbzr. (Mark Hammond)
 
5806
 
 
5807
 
 
5808
bzr 1.7rc2
 
5809
##########
 
5810
 
 
5811
:Released: 2008-09-17
 
5812
 
 
5813
A few bug fixes from 1.7rc1. The biggest change is a new
 
5814
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
 
5815
trying to access a Stacked branch over the smart protocol, to properly
 
5816
connect to the stacked-on location.
 
5817
 
 
5818
Bug Fixes
 
5819
*********
 
5820
 
 
5821
* Branching from a shared repository on a smart server into a new
 
5822
  repository now preserves the repository format.
 
5823
  (Andrew Bennetts, #269214)
 
5824
 
 
5825
* Branching from a stacked branch via ``bzr+ssh`` can properly connect
 
5826
  to the stacked-on branch.  (Martin Pool, #261315)
 
5827
 
 
5828
* ``bzr init`` no longer re-opens the BzrDir multiple times.
 
5829
  (Vincent Ladeuil)
 
5830
 
 
5831
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
 
5832
  (Andrew Bennetts)
 
5833
 
 
5834
 
 
5835
bzr 1.7rc1
 
5836
##########
 
5837
 
 
5838
:Released: 2008-09-09
 
5839
 
 
5840
This release candidate for bzr 1.7 has several bug fixes and a few
 
5841
performance and feature improvements.  ``bzr rm`` will now scan for
 
5842
missing files and remove them, like how ``bzr add`` scans for unknown
 
5843
files and adds them. A bit more polish has been applied to the stacking
 
5844
code. The b-tree indexing code has been brought in, with an eye on using
 
5845
it in a future repository format.
 
5846
 
 
5847
 
 
5848
Changes
 
5849
*******
 
5850
 
 
5851
* ``bzr export`` can now export a subdirectory of a project.
 
5852
  (Robert Collins)
 
5853
 
 
5854
* ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
 
5855
  changes, unless the ``--force`` option is specified.
 
5856
  (Lukáš Lalinský, #74101)
 
5857
 
 
5858
* ``bzr rm`` will now scan for files that are missing and remove just
 
5859
  them automatically, much as ``bzr add`` scans for new files that
 
5860
  are not ignored and adds them automatically. (Robert Collins)
 
5861
 
 
5862
Features
 
5863
********
 
5864
 
 
5865
* Support for GSSAPI authentication when using FTP as documented in
 
5866
  RFC2228. (Jelmer Vernooij, #49623)
 
5867
 
 
5868
* Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
 
5869
 
 
5870
Improvements
 
5871
************
 
5872
 
 
5873
* A url like ``log+file:///tmp`` will log all access to that Transport
 
5874
  to ``.bzr.log``, which may help in debugging or profiling.
 
5875
  (Martin Pool)
 
5876
 
 
5877
* ``bzr branch`` and ``bzr push`` use the default stacking policy if the
 
5878
  branch format supports it. (Aaron Bentley)
 
5879
 
 
5880
* ``bzr init`` and ``bzr init-repo`` will now print out the same as
 
5881
  ``bzr info`` if it completed successfully.
 
5882
  (Marius Kruger)
 
5883
 
 
5884
* ``bzr uncommit`` logs the old tip revision id, and displays how to
 
5885
  restore the branch to that tip using ``bzr pull``.  This allows you
 
5886
  to recover if you realize you uncommitted the wrong thing.
 
5887
  (John Arbash Meinel)
 
5888
 
 
5889
* Fix problems in accessing stacked repositories over ``bzr://``.
 
5890
  (Martin Pool, #261315)
 
5891
 
 
5892
* ``SFTPTransport.readv()`` was accidentally using ``list += string``,
 
5893
  which 'works', but adds each character separately to the list,
 
5894
  rather than using ``list.append(string)``. Fixing this makes the
 
5895
  SFTP transport a little bit faster (~20%) and use a bit less memory.
 
5896
  (John Arbash Meinel)
 
5897
 
 
5898
* When reading index files, if we happen to read the whole file in a
 
5899
  single request treat it as a ``_buffer_all`` request. This happens
 
5900
  most often on small indexes over remote transports, where we default
 
5901
  to reading 64kB. It saves a round trip for each small index during
 
5902
  fetch operations. Also, if we have read more than 50% of an index
 
5903
  file, trigger a ``_buffer_all`` on the next request. This works
 
5904
  around some inefficiencies because reads don't fall neatly on page
 
5905
  boundaries, so we would ignore those bytes, but request them again
 
5906
  later. This could trigger a total read size of more than the whole
 
5907
  file. (John Arbash Meinel)
 
5908
 
 
5909
Bug Fixes
 
5910
*********
 
5911
 
 
5912
* ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
 
5913
  users. (Robert Collins, #205416)
 
5914
 
 
5915
* Catch the infamous "select/poll returned error" which occurs when
 
5916
  pycurl try to send a body request to an HTTP/1.0 server which has
 
5917
  already refused to handle the request. (Vincent Ladeuil, #225020)
 
5918
 
 
5919
* Fix ``ObjectNotLocked`` errors when using various commands
 
5920
  (including ``bzr cat`` and ``bzr annotate``) in combination with a
 
5921
  smart server URL.  (Andrew Bennetts, #237067)
 
5922
 
 
5923
* ``FTPTransport.stat()`` would return ``0000`` as the permission bits
 
5924
  for the containing ``.bzr/`` directory (it does not implement
 
5925
  permissions). This would cause us to set all subdirectories to
 
5926
  ``0700`` and files to ``0600`` rather than leaving them unmodified.
 
5927
  Now we ignore ``0000`` as the permissions and assume they are
 
5928
  invalid. (John Arbash Meinel, #259855)
 
5929
 
 
5930
* Merging from a previously joined branch will no longer cause
 
5931
  a traceback. (Jelmer Vernooij, #203376)
 
5932
 
 
5933
* Pack operations on windows network shares will work even with large
 
5934
  files. (Robert Collins, #255656)
 
5935
 
 
5936
* Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
 
5937
  status. Status is also about 7% faster on mozilla sized trees
 
5938
  when the path to the root of the tree has been given. Users of
 
5939
  the internal ``show_tree_status`` function should be aware that
 
5940
  the show_pending flag is now authoritative for showing pending
 
5941
  merges, as it was originally. (Robert Collins, #225204)
 
5942
 
 
5943
* Set valid default _param_name for Option so that ListOption can embed
 
5944
  '-' in names. (Vincent Ladeuil, #263249)
 
5945
 
 
5946
* Show proper error rather than traceback when an unknown revision
 
5947
  id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
 
5948
 
 
5949
* Trailing text in the dirstate file could cause the C dirstate parser
 
5950
  to try to allocate an invalid amount of memory. We now properly
 
5951
  check and test for parsing a dirstate with invalid trailing data.
 
5952
  (John Arbash Meinel, #186014)
 
5953
 
 
5954
* Unexpected error responses from a smart server no longer cause the
 
5955
  client to traceback.  (Andrew Bennetts, #263527)
 
5956
 
 
5957
* Use a Windows api function to get a Unicode host name, rather than
 
5958
  assuming the host name is ascii.
 
5959
  (Mark Hammond, John Arbash Meinel, #256550)
 
5960
 
 
5961
* ``WorkingTree4`` trees will now correctly report missing-and-new
 
5962
  paths in the output of ``iter_changes``. (Robert Collins)
 
5963
 
 
5964
Documentation
 
5965
*************
 
5966
 
 
5967
* Updated developer documentation.  (Martin Pool)
 
5968
 
 
5969
API Changes
 
5970
***********
 
5971
 
 
5972
* Exporters now take 4 parameters. (Robert Collins)
 
5973
 
 
5974
* ``Tree.iter_changes`` will now return False for the content change
 
5975
  field when a file is missing in the basis tree and not present in
 
5976
  the target tree. Previously it returned True unconditionally.
 
5977
  (Robert Collins)
 
5978
 
 
5979
* The deprecated ``Branch.abspath`` and unimplemented
 
5980
  ``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
 
5981
 
 
5982
* BzrDir.clone_on_transport implementations must now accept a stacked_on
 
5983
  parameter.  (Aaron Bentley)
 
5984
 
 
5985
* BzrDir.cloning_metadir implementations must now take a require_stacking
 
5986
  parameter.  (Aaron Bentley)
 
5987
 
 
5988
Testing
 
5989
*******
 
5990
 
 
5991
* ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
 
5992
  which are then passed to the cleanup callable as it is run. In
 
5993
  addition, addCleanup no longer requires that the callables passed to
 
5994
  it be unique. (Jonathan Lange)
 
5995
 
 
5996
* Fix some tests that fail on Windows because files are deleted while
 
5997
  still in use.
 
5998
  (Mark Hammond)
 
5999
 
 
6000
* ``selftest``'s ``--starting-with`` option can now use predefined
 
6001
  prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
 
6002
  ``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
 
6003
 
 
6004
* ``selftest``'s ``--starting-with`` option now accepts multiple values.
 
6005
  (Vincent Ladeuil)
 
6006
 
 
6007
Internals
 
6008
*********
 
6009
 
 
6010
* A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
 
6011
  This allows dynamic log output filtering by plugins.
 
6012
  (Robert Collins)
 
6013
 
 
6014
* ``bzrlib.btree_index`` is now available, providing a b-tree index
 
6015
  layer. The design is memory conservative (limited memory cache),
 
6016
  faster to seek (approx 100 nodes per page, gives 100-way fan out),
 
6017
  and stores compressed pages allowing more keys per page.
 
6018
  (Robert Collins, John Arbash Meinel)
 
6019
 
 
6020
* ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
 
6021
  is unknown in both source and target.
 
6022
  (Robert Collins, Aaron Bentley)
 
6023
 
 
6024
* ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
 
6025
  streamlined a bit. This should make creating large indexes faster.
 
6026
  (In benchmarking, it now takes less time to create a BTree index than
 
6027
  it takes to read the GraphIndex one.) (John Arbash Meinel)
 
6028
 
 
6029
* Mail clients for `bzr send` are now listed in a registry.  This
 
6030
  allows plugins to add new clients by registering them with
 
6031
  ``bzrlib.mail_client.mail_client_registry``.  All of the built-in
 
6032
  clients now use this mechanism.  (Neil Martinsen-Burrell)
 
6033
 
 
6034
 
 
6035
bzr 1.6.1
 
6036
#########
 
6037
 
 
6038
:Released: 2008-09-05
 
6039
 
 
6040
A couple regressions were found in the 1.6 release. There was a
 
6041
performance issue when using ``bzr+ssh`` to branch large repositories,
 
6042
and some problems with stacking and ``rich-root`` capable repositories.
 
6043
 
 
6044
 
 
6045
bzr 1.6.1rc2
 
6046
############
 
6047
 
 
6048
:Released: 2008-09-03
 
6049
 
 
6050
Bug Fixes
 
6051
*********
 
6052
 
 
6053
* Copying between ``rich-root`` and ``rich-root-pack`` (and vice
 
6054
  versa) was accidentally using the inter-model fetcher, instead of
 
6055
  recognizing that both were 'rich root' formats.
 
6056
  (John Arbash Meinel, #264321)
 
6057
 
 
6058
 
 
6059
bzr 1.6.1rc1
 
6060
############
 
6061
 
 
6062
:Released: 2008-08-29
 
6063
 
 
6064
This release fixes a few regressions found in the 1.6 client. Fetching
 
6065
changes was using an O(N^2) buffering algorithm, so for large projects it
 
6066
would cause memory thrashing. There is also a specific problem with the
 
6067
``--1.6-rich-root`` format, which prevented stacking on top of
 
6068
``--rich-root-pack`` repositories, and could allow users to accidentally
 
6069
fetch experimental data (``-subtree``) without representing it properly.
 
6070
The ``--1.6-rich-root`` format has been deprecated and users are
 
6071
recommended to upgrade to ``--1.6.1-rich-root`` immediately.  Also we
 
6072
re-introduced a workaround for users who have repositories with incorrect
 
6073
nodes (not possible if you only used official releases).
 
6074
I should also clarify that none of this is data loss level issues, but
 
6075
still sufficient enough to warrant an updated release.
 
6076
 
 
6077
Bug Fixes
 
6078
*********
 
6079
 
 
6080
* ``RemoteTransport.readv()`` was being inefficient about how it
 
6081
  buffered the readv data and processed it. It would keep appending to
 
6082
  the same string (causing many copies) and then pop bytes out of the
 
6083
  start of the string (causing more copies).
 
6084
  With this patch "bzr+ssh://local" can improve dramatically,
 
6085
  especially for projects with large files.
 
6086
  (John Arbash Meinel)
 
6087
 
 
6088
* Revision texts were always meant to be stored as fulltexts. There
 
6089
  was a bug in a bzr.dev version that would accidentally create deltas
 
6090
  when copying from a Pack repo to a Knit repo. This has been fixed,
 
6091
  but to support those repositories, we know always request full texts
 
6092
  for Revision texts. (John Arbash Meinel, #261339)
 
6093
 
 
6094
* The previous ``--1.6-rich-root`` format used an incorrect xml
 
6095
  serializer, which would accidentally support fetching from a
 
6096
  repository that supported subtrees, even though the local one would
 
6097
  not. We deprecated that format, and introduced a new one that uses
 
6098
  the correct serializer ``--1.6.1-rich-root``.
 
6099
  (John Arbash Meinel, #262333)
 
6100
 
 
6101
 
 
6102
bzr 1.6
 
6103
#######
 
6104
 
 
6105
:Released: 2008-08-25
 
6106
 
 
6107
Finally, the long awaited bzr 1.6 has been released. This release includes
 
6108
new features like Stacked Branches, improved weave merge, and an updated
 
6109
server protocol (now on v3) which will allow for better cross version
 
6110
compatibility. With this release we have deprecated Knit format
 
6111
repositories, and recommend that users upgrade them, we will continue to
 
6112
support reading and writing them for the forseeable future, but we will
 
6113
not be tuning them for performance as pack repositories have proven to be
 
6114
better at scaling. This will also be the first release to bundle
 
6115
TortoiseBzr in the standalone Windows installer.
 
6116
 
 
6117
 
 
6118
bzr 1.6rc5
 
6119
##########
 
6120
 
 
6121
:Released: 2008-08-19
 
6122
 
 
6123
Bug Fixes
 
6124
*********
 
6125
 
 
6126
* Disable automatic detection of stacking based on a containing
 
6127
  directory of the target. It interacted badly with push, and needs a
 
6128
  bit more work to get the edges polished before it should happen
 
6129
  automatically. (John Arbash Meinel, #259275)
 
6130
  (This change was reverted when merged to bzr.dev)
 
6131
 
 
6132
 
 
6133
bzr 1.6rc4
 
6134
##########
 
6135
 
 
6136
:Released: 2008-08-18
 
6137
 
 
6138
Bug Fixes
 
6139
*********
 
6140
 
 
6141
* Fix a regression in knit => pack fetching.  We had a logic
 
6142
  inversion, causing the fetch to insert fulltexts in random order,
 
6143
  rather than preserving deltas.  (John Arbash Meinel, #256757)
 
6144
 
 
6145
 
 
6146
bzr 1.6rc3
 
6147
##########
 
6148
 
 
6149
:Released: 2008-08-14
 
6150
 
 
6151
Changes
 
6152
*******
 
6153
 
 
6154
* Disable reading ``.bzrrules`` as a per-branch rule preferences
 
6155
  file. The feature was not quite ready for a full release.
 
6156
  (Robert Collins)
 
6157
 
 
6158
Improvements
 
6159
************
 
6160
 
 
6161
* Update the windows installer to bundle TortoiseBzr and ``qbzr``
 
6162
  into the standalone installer. This will be the first official
 
6163
  windows release that installs Tortoise by default.
 
6164
  (Mark Hammond)
 
6165
 
 
6166
Bug Fixes
 
6167
*********
 
6168
 
 
6169
* Fix a regression in ``bzr+http`` support. There was a missing
 
6170
  function (``_read_line``) that needed to be carried over from
 
6171
  ``bzr+ssh`` support. (Andrew Bennetts)
 
6172
 
 
6173
* ``GraphIndex`` objects will internally read an entire index if more
 
6174
  than 1/20th of their keyspace is requested in a single operation.
 
6175
  This largely mitigates a performance regression in ``bzr log FILE``
 
6176
  and completely corrects the performance regression in ``bzr log``.
 
6177
  The regression was caused by removing an accomodation which had been
 
6178
  supporting the index format in use. A newer index format is in
 
6179
  development which is substantially faster. (Robert Collins)
 
6180
 
 
6181
 
 
6182
bzr 1.6rc2
 
6183
##########
 
6184
 
 
6185
:Released: 2008-08-13
 
6186
 
 
6187
This release candidate has a few minor bug fixes, and some regression
 
6188
fixes for Windows.
 
6189
 
 
6190
Bug Fixes
 
6191
*********
 
6192
 
 
6193
* ``bzr upgrade`` on remote branches accessed via bzr:// and
 
6194
  bzr+ssh:// now works.  (Andrew Bennetts)
 
6195
 
 
6196
* Change the ``get_format_description()`` strings for
 
6197
  ``RepositoryFormatKnitPack5`` et al to be single line messages.
 
6198
  (Aaron Bentley)
 
6199
 
 
6200
* Fix for a regression on Win32 where we would try to call
 
6201
  ``os.listdir()`` on a file and not catch the exception properly.
 
6202
  (Windows raises a different exception.) This would manifest in
 
6203
  places like ``bzr rm file`` or ``bzr switch``.
 
6204
  (Mark Hammond, John Arbash Meinel)
 
6205
 
 
6206
* ``Inventory.copy()`` was failing to set the revision property for
 
6207
  the root entry. (Jelmer Vernooij)
 
6208
 
 
6209
* sftp transport: added missing ``FileExists`` case to
 
6210
  ``_translate_io_exception`` (Christophe Troestler, #123475)
 
6211
 
 
6212
* The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for
 
6213
  scripting use. (Robert Collins, #3834)
 
6214
 
 
6215
* The default ``annotate`` logic will now always assign the
 
6216
  last-modified value of a line to one of the revisions that modified
 
6217
  it, rather than a merge revision. This would happen when both sides
 
6218
  claimed to have modified the line resulting in the same text. The
 
6219
  choice is arbitrary but stable, so merges in different directions
 
6220
  will get the same results.  (John Arbash Meinel, #232188)
 
6221
 
 
6222
 
 
6223
bzr 1.6rc1
 
6224
##########
 
6225
 
 
6226
:Released: 2008-08-06
 
6227
 
 
6228
This release candidate for bzr 1.6 solidifies the new branch stacking
 
6229
feature.  Bazaar now recommends that users upgrade all knit repositories,
 
6230
because later formats are much faster.  However, we plan to continue read/write and
 
6231
upgrade support for knit repostories for the forseeable future.  Several
 
6232
other bugs and performance issues were fixed.
 
6233
 
 
6234
Changes
 
6235
*******
 
6236
 
 
6237
* Knit format repositories are deprecated and bzr will now emit
 
6238
  warnings whenever it encounters one.  Use ``bzr upgrade`` to upgrade
 
6239
  knit repositories to pack format.  (Andrew Bennetts)
 
6240
 
 
6241
Improvements
 
6242
************
 
6243
 
 
6244
* ``bzr check`` can now be told which elements at a location it should
 
6245
  check.  (Daniel Watkins)
 
6246
 
 
6247
* Commit now supports ``--exclude`` (or ``-x``) to exclude some files
 
6248
  from the commit. (Robert Collins, #3117)
 
6249
 
 
6250
* Fetching data between repositories that have the same model but no
 
6251
  optimised fetcher will not reserialise all the revisions, increasing
 
6252
  performance. (Robert Collins, John Arbash Meinel)
 
6253
 
 
6254
* Give a more specific error when target branch is not reachable.
 
6255
  (James Westby)
 
6256
 
 
6257
* Implemented a custom ``walkdirs_utf8`` implementation for win32.
 
6258
  This uses a pyrex extension to get direct access to the
 
6259
  ``FindFirstFileW`` style apis, rather than using ``listdir`` +
 
6260
  ``lstat``. Shows a very strong improvement in commands like
 
6261
  ``status`` and ``diff`` which have to iterate the working tree.
 
6262
  Anywhere from 2x-6x faster depending on the size of the tree (bigger
 
6263
  trees, bigger benefit.) (John Arbash Meinel)
 
6264
 
 
6265
* New registry for log properties handles  and the method in
 
6266
  LongLogFormatter to display the custom properties returned by the
 
6267
  registered handlers. (Guillermo Gonzalez, #162469)
 
6268
 
 
6269
Bug Fixes
 
6270
*********
 
6271
 
 
6272
* Add more tests that stacking does not create deltas spanning
 
6273
  physical repository boundaries.
 
6274
  (Martin Pool, #252428)
 
6275
 
 
6276
* Better message about incompatible repositories.
 
6277
  (Martin Pool, #206258)
 
6278
 
 
6279
* ``bzr branch --stacked`` ensures the destination branch format can
 
6280
  support stacking, even if the origin does not.
 
6281
  (Martin Pool)
 
6282
 
 
6283
* ``bzr export`` no longer exports ``.bzrrules``.
 
6284
  (Ian Clatworthy)
 
6285
 
 
6286
* ``bzr serve --directory=/`` now correctly allows the whole
 
6287
  filesystem to be accessed on Windows, not just the root of the drive
 
6288
  that Python is running from.
 
6289
  (Adrian Wilkins, #240910)
 
6290
 
 
6291
* Deleting directories by hand before running ``bzr rm`` will not
 
6292
  cause subsequent errors in ``bzr st`` and ``bzr commit``.
 
6293
  (Robert Collins, #150438)
 
6294
 
 
6295
* Fix a test case that was failing if encoding wasn't UTF-8.
 
6296
  (John Arbash Meinel, #247585)
 
6297
 
 
6298
* Fix "no buffer space available" error when branching with the new
 
6299
  smart server protocol to or from Windows.
 
6300
  (Andrew Bennetts, #246180)
 
6301
 
 
6302
* Fixed problem in branching from smart server.
 
6303
  (#249256, Michael Hudson, Martin Pool)
 
6304
 
 
6305
* Handle a file turning in to a directory in TreeTransform.
 
6306
  (James Westby, #248448)
 
6307
 
 
6308
API Changes
 
6309
***********
 
6310
 
 
6311
* ``MutableTree.commit`` has an extra optional keywork parameter
 
6312
  ``exclude`` that will be unconditionally supplied by the command
 
6313
  line UI - plugins that add tree formats may need an update.
 
6314
  (Robert Collins)
 
6315
 
 
6316
* The API minimum version for plugin compatibility has been raised to
 
6317
  1.6 - there are significant changes throughout the code base.
 
6318
  (Robert Collins)
 
6319
 
 
6320
* The generic fetch code now uses three attributes on Repository objects
 
6321
  to control fetch. The streams requested are controlled via :
 
6322
  ``_fetch_order`` and ``_fetch_uses_deltas``. Setting these
 
6323
  appropriately allows different repository implementations to recieve
 
6324
  data in their optimial form. If the ``_fetch_reconcile`` is set then
 
6325
  a reconcile operation is triggered at the end of the fetch.
 
6326
  (Robert Collins)
 
6327
 
 
6328
* The ``put_on_disk`` and ``get_tar_item`` methods in
 
6329
  ``InventoryEntry`` were deprecated. (Ian Clatworthy)
 
6330
 
 
6331
* ``Repository.is_shared`` doesn't take a read lock. It didn't
 
6332
  need one in the first place (nobody cached the value, and
 
6333
  ``RemoteRepository`` wasn't taking one either). This saves a round
 
6334
  trip when probing Pack repositories, as they read the ``pack-names``
 
6335
  file when locked. And during probe, locking the repo isn't very
 
6336
  useful. (John Arbash Meinel)
 
6337
 
 
6338
Internals
 
6339
*********
 
6340
 
 
6341
* ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of
 
6342
  putting together a real history without having to create a full
 
6343
  WorkingTree. It is recommended that tests that are not directly
 
6344
  testing the WorkingTree use BranchBuilder instead.  See
 
6345
  ``BranchBuilder.build_snapshot`` or
 
6346
  ``TestCaseWithMemoryTree.make_branch_builder``.  (John Arbash Meinel)
 
6347
 
 
6348
* ``bzrlib.builtins.internal_tree_files`` broken into two giving a new
 
6349
  helper ``safe_relpath_files`` - used by the new ``exclude``
 
6350
  parameter to commit. (Robert Collins)
 
6351
 
 
6352
* Make it easier to introduce new WorkingTree formats.
 
6353
  (Ian Clatworthy)
 
6354
 
 
6355
* The code for exporting trees was refactored not to use the
 
6356
  deprecated ``InventoryEntry`` methods. (Ian Clatworthy)
 
6357
 
 
6358
* RuleSearchers return () instead of [] now when there are no matches.
 
6359
  (Ian Clatworthy)
 
6360
 
 
6361
 
 
6362
bzr 1.6beta3
 
6363
############
 
6364
 
 
6365
:Released: 2008-07-17
 
6366
 
 
6367
This release adds a new 'stacked branches' feature allowing branches to
 
6368
share storage without being in the same repository or on the same machine.
 
6369
(See the user guide for more details.)  It also adds a new hook, improved
 
6370
weaves, aliases for related locations, faster bzr+ssh push, and several
 
6371
bug fixes.
 
6372
 
 
6373
Features
 
6374
********
 
6375
 
 
6376
* New ``pre_change_branch_tip`` hook that is called before the
 
6377
  branch tip is moved, while the branch is write-locked.  See the User
 
6378
  Reference for signature details.  (Andrew Bennetts)
 
6379
 
 
6380
* Rule-based preferences can now be defined for selected files in
 
6381
  selected branches, allowing commands and plugins to provide
 
6382
  custom behaviour for files matching defined patterns.
 
6383
  See ``Rule-based preferences`` (part of ``Configuring Bazaar``)
 
6384
  in the User Guide and ``bzr help rules`` for more information.
 
6385
  (Ian Clatworthy)
 
6386
 
 
6387
* Sites may suggest a branch to stack new branches on.  (Aaron Bentley)
 
6388
 
 
6389
* Stacked branches are now supported. See ``bzr help branch`` and
 
6390
  ``bzr help push``.  Branches must be in the ``development1`` format
 
6391
  to stack, though the stacked-on branch can be of any format.
 
6392
  (Robert Collins)
 
6393
 
 
6394
Improvements
 
6395
************
 
6396
 
 
6397
* ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball
 
6398
  to stdout; also ``tar`` and ``tbz2``.
 
6399
  (Martin Pool)
 
6400
 
 
6401
* ``bzr (re)merge --weave`` will now use a standard Weave algorithm,
 
6402
  rather than the annotation-based merge it was using. It does so by
 
6403
  building up a Weave of the important texts, without needing to build
 
6404
  the full ancestry. (John Arbash Meinel, #238895)
 
6405
 
 
6406
* ``bzr send`` documents and better supports ``emacsclient`` (proper
 
6407
  escaping of mail headers and handling of the MUA Mew).
 
6408
  (Christophe Troestler)
 
6409
 
 
6410
* Remembered locations can be specified by aliases, e.g. :parent, :public,
 
6411
  :submit.  (Aaron Bentley)
 
6412
 
 
6413
* The smart protocol now has improved support for setting branches'
 
6414
  revision info directly.  This makes operations like push
 
6415
  faster.  The new request method name is
 
6416
  ``Branch.set_last_revision_ex``.  (Andrew Bennetts)
 
6417
 
 
6418
Bug Fixes
 
6419
*********
 
6420
 
 
6421
* Bazaar is now able to be a client to the web server of IIS 6 and 7.
 
6422
  The broken implementations of RFC822 in Python and RFC2046 in IIS
 
6423
  combined with boundary-line checking in Bazaar previously made this
 
6424
  impossible. (NB, IIS 5 does not suffer from this problem).
 
6425
  (Adrian Wilkins, #247585)
 
6426
 
 
6427
* ``bzr log --long`` with a ghost in your mainline now handles that
 
6428
  ghost properly. (John Arbash Meinel, #243536)
 
6429
 
 
6430
* ``check`` handles the split-up .bzr layout correctly, so no longer
 
6431
  requires a branch to be present.
 
6432
  (Daniel Watkins, #64783)
 
6433
 
 
6434
* Clearer message about how to set the PYTHONPATH if bzrlib can't be
 
6435
  loaded.
 
6436
  (Martin Pool, #205230)
 
6437
 
 
6438
* Errors about missing libraries are now shown without a traceback,
 
6439
  and with a suggestion to install the library.  The full traceback is
 
6440
  still in ``.bzr.log`` and can be shown with ``-Derror``.
 
6441
  (Martin Pool, #240161)
 
6442
 
 
6443
* Fetch from a stacked branch copies all required data.
 
6444
  (Aaron Bentley, #248506)
 
6445
 
 
6446
* Handle urls such as ftp://user@host.com@www.host.com where the user
 
6447
  name contains an @.
 
6448
  (Neil Martinsen-Burrell, #228058)
 
6449
 
 
6450
* ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during
 
6451
  ``unlock`` if there was an error in the original function. This helps
 
6452
  most when there is a failure with a smart server action, since often the
 
6453
  connection closes and we cannot unlock.
 
6454
  (Andrew Bennetts, John Arbash Meinel, #125784)
 
6455
 
 
6456
* Obsolete hidden command ``bzr fetch`` removed.
 
6457
  (Martin Pool, #172870)
 
6458
 
 
6459
* Raise the correct exception when doing ``-rbefore:0`` or ``-c0``.
 
6460
  (John Arbash Meinel, #239933)
 
6461
 
 
6462
* You can now compare file revisions in Windows diff programs from
 
6463
  Cygwin Bazaar.
 
6464
  (Matt McClure, #209281)
 
6465
 
 
6466
* revision_history now tolerates mainline ghosts for Branch format 6.
 
6467
  (Aaron Bentley, #235055)
 
6468
 
 
6469
* Set locale from environment for third party libs.
 
6470
  (Martin von Gagern, #128496)
 
6471
 
 
6472
Documentation
 
6473
*************
 
6474
 
 
6475
* Added *Using stacked branches* to the User Guide.
 
6476
  (Ian Clatworthy)
 
6477
 
 
6478
* Updated developer documentation.
 
6479
  (Martin Pool)
 
6480
 
 
6481
Testing
 
6482
*******
 
6483
 
 
6484
* ``-Dmemory`` will cause /proc/PID/status to be catted before bzr
 
6485
  exits, allowing low-key analysis of peak memory use. (Robert Collins)
 
6486
 
 
6487
* ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return
 
6488
  a tree with a ``branch`` attribute of the right format.  This was
 
6489
  preventing some ``RemoteBranch`` tests from actually running with
 
6490
  ``RemoteBranch`` instances.  (Andrew Bennetts)
 
6491
 
 
6492
API Changes
 
6493
***********
 
6494
 
 
6495
* Removed ``Repository.text_store``, ``control_store``, etc.  Instead,
 
6496
  there are new attributes ``texts, inventories, revisions,
 
6497
  signatures``, each of which is a ``VersionedFiles``.  See the
 
6498
  Repository docstring for more details.
 
6499
  (Robert Collins)
 
6500
 
 
6501
* ``Branch.pull`` now accepts an ``_override_hook_target`` optional
 
6502
  parameter.  If you have a subclass of ``Branch`` that overrides
 
6503
  ``pull`` then you should add this parameter.  (Andrew Bennetts)
 
6504
 
 
6505
* ``bzrlib.check.check()`` has been deprecated in favour of the more
 
6506
  aptly-named ``bzrlib.check.check_branch()``.
 
6507
  (Daniel Watkins)
 
6508
 
 
6509
* ``Tree.print_file`` and ``Repository.print_file`` are deprecated.
 
6510
  These methods are bad APIs because they write directly to sys.stdout.
 
6511
  bzrlib does not use them internally, and there are no direct tests
 
6512
  for them. (Alexander Belchenko)
 
6513
 
 
6514
Internals
 
6515
*********
 
6516
 
 
6517
* ``cat`` command no longer uses ``Tree.print_file()`` internally.
 
6518
  (Alexander Belchenko)
 
6519
 
 
6520
* New class method ``BzrDir.open_containing_tree_branch_or_repository``
 
6521
  which eases the discovery of the tree, the branch and the repository
 
6522
  containing a given location.
 
6523
  (Daniel Watkins)
 
6524
 
 
6525
* New ``versionedfile.KeyMapper`` interface to abstract out the access to
 
6526
  underlying .knit/.kndx etc files in repositories with partitioned
 
6527
  storage. (Robert Collins)
 
6528
 
 
6529
* Obsolete developer-use command ``weave-join`` has been removed.
 
6530
  (Robert Collins)
 
6531
 
 
6532
* ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed,
 
6533
  to support new ``VersionedFiles`` layering.
 
6534
  (Robert Collins)
 
6535
 
 
6536
 
 
6537
bzr 1.6beta2
 
6538
############
 
6539
 
 
6540
:Released: 2008-06-10
 
6541
 
 
6542
This release contains further progress towards our 1.6 goals of shallow
 
6543
repositories, and contains a fix for some user-affecting bugs in the
 
6544
repository layer.  Building working trees during checkout and branch is
 
6545
now faster.
 
6546
 
 
6547
Bug Fixes
 
6548
*********
 
6549
 
 
6550
* Avoid KnitCorrupt error extracting inventories from some repositories.
 
6551
  (The data is not corrupt; an internal check is detecting a problem
 
6552
  reading from the repository.)
 
6553
  (Martin Pool, Andrew Bennetts, Robert Collins, #234748)
 
6554
 
 
6555
* ``bzr status`` was breaking if you merged the same revision twice.
 
6556
  (John Arbash Meinel, #235407)
 
6557
 
 
6558
* Fix infinite loop consuming 100% CPU when a connection is lost while
 
6559
  reading a response body via the smart protocol v1 or v2.
 
6560
  (Andrew Bennetts)
 
6561
 
 
6562
* Inserting a bundle which changes the contents of a file with no trailing
 
6563
  end of line, causing a knit snapshot in a 'knits' repository will no longer
 
6564
  cause KnitCorrupt. (Robert Collins)
 
6565
 
 
6566
* ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s
 
6567
  pull result. It was instead just returning None, which breaks ``bzr
 
6568
  pull``. (John Arbash Meinel, #238149)
 
6569
 
 
6570
* Sanitize branch nick before using it as an attachment filename in
 
6571
  ``bzr send``. (Lukáš Lalinský, #210218)
 
6572
 
 
6573
* Squash ``inv_entry.symlink_target`` to a plain string when
 
6574
  generating DirState details. This prevents from getting a
 
6575
  ``UnicodeError`` when you have symlinks and non-ascii filenames.
 
6576
  (John Arbash Meinel, #135320)
 
6577
 
 
6578
Improvements
 
6579
************
 
6580
 
 
6581
* Added the 'alias' command to set/unset and display aliases. (Tim Penhey)
 
6582
 
 
6583
* ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three
 
6584
  now quote paths where required). Added ``--null`` option to ``added`` and
 
6585
  ``modified`` (for null-separated unknowns, use ``ls --unknown --null``)
 
6586
  (Adrian Wilkins)
 
6587
 
 
6588
* Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees.
 
6589
  (Ian Clatworthy, Aaron Bentley)
 
6590
 
 
6591
Documentation
 
6592
*************
 
6593
 
 
6594
* Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy)
 
6595
 
 
6596
Testing
 
6597
*******
 
6598
 
 
6599
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
6600
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
6601
 
 
6602
API Changes
 
6603
***********
 
6604
 
 
6605
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
6606
  which are in the ancestry of other revisions. So if you merge the same
 
6607
  tree twice, or merge an ancestor of an existing merge, it will only
 
6608
  record the newest. (If you merge a descendent, it will replace its
 
6609
  ancestor). (John Arbash Meinel, #235407)
 
6610
 
 
6611
* ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd,
 
6612
  through the derived classes do not.  (Aaron Bentley)
 
6613
 
 
6614
Internals
 
6615
*********
 
6616
 
 
6617
* ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control
 
6618
  creating stacked branches. (Robert Collins)
 
6619
 
 
6620
* Knit record serialisation is now stricter on what it will accept, to
 
6621
  guard against potential internal bugs, or broken input. (Robert Collins)
 
6622
 
 
6623
bzr 1.6beta1
 
6624
############
 
6625
 
 
6626
:Released: 2008-06-02
 
6627
 
 
6628
Commands that work on the revision history such as push, pull, missing,
 
6629
uncommit and log are now substantially faster.  This release adds a
 
6630
translation of some of the user documentation into Spanish.  (Contributions of
 
6631
other translations would be very welcome.)  Bazaar 1.6beta1 adds a new network
 
6632
protocol which is used by default and which allows for more efficient transfers
 
6633
and future extensions.
 
6634
 
 
6635
 
 
6636
Notes When Upgrading
 
6637
********************
 
6638
 
 
6639
* There is a new version of the network protocol used for bzr://, bzr+ssh://
 
6640
  and bzr+http:// connections.  This will allow more efficient requests and
 
6641
  responses, and more graceful fallback when a server is too old to
 
6642
  recognise a request from a more recent client.  Bazaar 1.6 will
 
6643
  interoperate with 0.16 and later versions, but servers should be upgraded
 
6644
  when possible.  Bazaar 1.6 no longer interoperates with 0.15 and earlier via
 
6645
  these protocols.  Use alternatives like SFTP or upgrade those servers.
 
6646
  (Andrew Bennetts, #83935)
 
6647
 
 
6648
Changes
 
6649
*******
 
6650
 
 
6651
* Deprecation warnings will not be suppressed when running ``bzr selftest``
 
6652
  so that developers can see if their code is using deprecated functions.
 
6653
  (John Arbash Meinel)
 
6654
 
 
6655
Features
 
6656
********
 
6657
 
 
6658
* Adding ``-Derror`` will now display a traceback when a plugin fails to
 
6659
  load. (James Westby)
 
6660
 
 
6661
Improvements
 
6662
************
 
6663
 
 
6664
* ``bzr branch/push/pull -r XXX`` now have a helper function for finding
 
6665
  the revno of the new revision (``Graph.find_distance_to_null``). This
 
6666
  should make something like ``bzr branch -r -100`` in a shared, no-trees
 
6667
  repository much snappier. (John Arbash Meinel)
 
6668
 
 
6669
* ``bzr log --short -r X..Y`` no longer needs to access the full revision
 
6670
  history. This makes it noticeably faster when logging the last few
 
6671
  revisions. (John Arbash Meinel)
 
6672
 
 
6673
* ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``.
 
6674
  (Jerad Cramp, #165086)
 
6675
 
 
6676
* ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
 
6677
  ``Graph.find_differences`` to determine missing revisions without having
 
6678
  to search the whole ancestry. (John Arbash Meinel, #174625)
 
6679
 
 
6680
* ``bzr uncommit`` now uses partial history access, rather than always
 
6681
  extracting the full revision history for a branch. This makes it
 
6682
  resolve the appropriate revisions much faster (in testing it drops
 
6683
  uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one
 
6684
  step closer to not using full revision history.
 
6685
  (John Arbash Meinel, #172649)
 
6686
 
 
6687
Bugfixes
 
6688
********
 
6689
 
 
6690
* ``bzr merge --lca`` should handle when two revisions have no common
 
6691
  ancestor other than NULL_REVISION. (John Arbash Meinel, #235715)
 
6692
 
 
6693
* ``bzr status`` was breaking if you merged the same revision twice.
 
6694
  (John Arbash Meinel, #235407)
 
6695
 
 
6696
* ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
 
6697
  fails.  (Andrew Bennetts, #234229)
 
6698
 
 
6699
* Correctly track the base URL of a smart medium when using bzr+http://
 
6700
  URLs, which was causing spurious "No repository present" errors with
 
6701
  branches in shared repositories accessed over bzr+http.
 
6702
  (Andrew Bennetts, #230550)
 
6703
 
 
6704
* Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
 
6705
  implementations have the attribute.  Fixes 'PyCurlTransport' object has no
 
6706
  attribute '_remote_is_at_least_1_2' attribute errors.
 
6707
  (Andrew Bennetts, #220806)
 
6708
 
 
6709
* Failure to delete an obsolete pack file should just give a warning
 
6710
  message, not a fatal error.  It may for example fail if the file is still
 
6711
  in use by another process.
 
6712
  (Martin Pool)
 
6713
 
 
6714
* Fix MemoryError during large fetches over HTTP by limiting the amount of
 
6715
  data we try to read per ``recv`` call.  The problem was observed with
 
6716
  Windows and a proxy, but might affect other environments as well.
 
6717
  (Eric Holmberg, #215426)
 
6718
 
 
6719
* Handle old merge directives correctly in Merger.from_mergeable.  Stricter
 
6720
  get_parent_map requirements exposed a latent bug here.  (Aaron Bentley)
 
6721
 
 
6722
* Issue a warning and ignore passwords declared in authentication.conf when
 
6723
  used for an ssh scheme (sftp or bzr+ssh).
 
6724
  (Vincent Ladeuil, #203186)
 
6725
 
 
6726
* Make both http implementations raise appropriate exceptions on 403
 
6727
  Forbidden when POSTing smart requests.
 
6728
  (Vincent Ladeuil, #230223)
 
6729
 
 
6730
* Properly *title* header names in http requests instead of capitalizing
 
6731
  them.
 
6732
  (Vincent Ladeuil, #229076)
 
6733
 
 
6734
* The "Unable to obtain lock" error message now also suggests using
 
6735
  ``bzr break-lock`` to fix it.  (Martin Albisetti, #139202)
 
6736
 
 
6737
* Treat an encoding of '' as ascii; this can happen when bzr is run
 
6738
  under vim on Mac OS X.
 
6739
  (Neil Martinsen-Burrell)
 
6740
 
 
6741
* ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in
 
6742
  scope. (Daniel Fischer #235687)
 
6743
 
 
6744
Documentation
 
6745
*************
 
6746
 
 
6747
* Added directory structure and started translation of docs in spanish.
 
6748
  (Martin Albisetti, Lucio Albenga)
 
6749
 
 
6750
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
6751
  on the plugin and integration chapters of the User Guide.
 
6752
  (Ian Clatworthy)
 
6753
 
 
6754
* More Bazaar developer documentation about packaging and release process,
 
6755
  and about use of Python reprs.
 
6756
  (Martin Pool, Martin Albisetti)
 
6757
 
 
6758
* Updated Tortise strategy document. (Mark Hammond)
 
6759
 
 
6760
Testing
 
6761
*******
 
6762
 
 
6763
* ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed.
 
6764
  (Robert Collins)
 
6765
 
 
6766
* Fix the test HTTPServer to be isolated from chdir calls made while it is
 
6767
  running, allowing it to be used in blackbox tests. (Robert Collins)
 
6768
 
 
6769
* New helper function for splitting test suites
 
6770
  ``split_suite_by_condition``. (Robert Collins)
 
6771
 
 
6772
Internals
 
6773
*********
 
6774
 
 
6775
* ``Branch.missing_revisions`` has been deprecated. Similar functionality
 
6776
  can be obtained using ``bzrlib.missing.find_unmerged``. The api was
 
6777
  fairly broken, and the function was unused, so we are getting rid of it.
 
6778
  (John Arbash Meinel)
 
6779
 
 
6780
API Changes
 
6781
***********
 
6782
 
 
6783
* ``Branch.abspath`` is deprecated; use the Tree or Transport
 
6784
  instead.  (Martin Pool)
 
6785
 
 
6786
* ``Branch.update_revisions`` now takes an optional ``Graph``
 
6787
  object. This can be used by ``update_revisions`` when it is
 
6788
  checking ancestry, and allows callers to prefer request to go to a
 
6789
  local branch.  (John Arbash Meinel)
 
6790
 
 
6791
* Branch, Repository, Tree and BzrDir should expose a Transport as an
 
6792
  attribute if they have one, rather than having it indirectly accessible
 
6793
  as ``.control_files._transport``.  This doesn't add a requirement
 
6794
  to support a Transport in cases where it was not needed before;
 
6795
  it just simplifies the way it is reached.  (Martin Pool)
 
6796
 
 
6797
* ``bzr missing --mine-only`` will return status code 0 if you have no
 
6798
  new revisions, but the remote does. Similarly for ``--theirs-only``.
 
6799
  The new code only checks one side, so it doesn't know if the other
 
6800
  side has changes. This seems more accurate with the request anyway.
 
6801
  It also changes the output to print '[This|Other] branch is up to
 
6802
  date.' rather than displaying nothing.  (John Arbash Meinel)
 
6803
 
 
6804
* ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
 
6805
  are now deprecated in favor of using Transport operations.
 
6806
  (Martin Pool)
 
6807
 
 
6808
* Many methods on ``VersionedFile``, ``Repository`` and in
 
6809
  ``bzrlib.revision``  deprecated before bzrlib 1.5 have been removed.
 
6810
  (Robert Collins)
 
6811
 
 
6812
* ``RevisionSpec.wants_revision_history`` can be set to False for a given
 
6813
  ``RevisionSpec``. This will disable the existing behavior of passing in
 
6814
  the full revision history to ``self._match_on``. Useful for specs that
 
6815
  don't actually need access to the full history. (John Arbash Meinel)
 
6816
 
 
6817
* The constructors of ``SmartClientMedium`` and its subclasses now require a
 
6818
  ``base`` parameter.  ``SmartClientMedium`` implementations now also need
 
6819
  to provide a ``remote_path_from_transport`` method.  (Andrew Bennetts)
 
6820
 
 
6821
* The default permissions for creating new files and directories
 
6822
  should now be obtained from ``BzrDir._get_file_mode()`` and
 
6823
  ``_get_dir_mode()``, rather than from LockableFiles.  The ``_set_file_mode``
 
6824
  and ``_set_dir_mode`` variables on LockableFiles which were advertised
 
6825
  as a way for plugins to control this are no longer consulted.
 
6826
  (Martin Pool)
 
6827
 
 
6828
* ``VersionedFile.join`` is deprecated. This method required local
 
6829
  instances of both versioned file objects and was thus hostile to being
 
6830
  used for streaming from a smart server. The new get_record_stream and
 
6831
  insert_record_stream are meant to efficiently replace this method.
 
6832
  (Robert Collins)
 
6833
 
 
6834
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
 
6835
  which are in the ancestry of other revisions. So if you merge the same
 
6836
  tree twice, or merge an ancestor of an existing merge, it will only
 
6837
  record the newest. (If you merge a descendent, it will replace its
 
6838
  ancestor). (John Arbash Meinel, #235407)
 
6839
 
 
6840
* ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
 
6841
  (Martin Pool)
 
6842
 
 
6843
 
 
6844
bzr 1.5
 
6845
#######
 
6846
 
 
6847
:Released: 2008-05-16
 
6848
 
 
6849
This release of Bazaar includes several updates to the documentation, and fixes
 
6850
to prepare for making rich root support the default format. Many bugs have been
 
6851
squashed, including fixes to log, bzr+ssh inter-operation with older servers.
 
6852
 
 
6853
Changes
 
6854
*******
 
6855
 
 
6856
* Suppress deprecation warnings when bzrlib is a 'final' release. This way
 
6857
  users of packaged software won't be bothered with DeprecationWarnings,
 
6858
  but developers and testers will still see them. (John Arbash Meinel)
 
6859
 
 
6860
Documentation
 
6861
*************
 
6862
 
 
6863
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
 
6864
  on the plugin and integration chapters of the User Guide.
 
6865
  (Ian Clatworthy)
 
6866
 
 
6867
 
 
6868
bzr 1.5rc1
 
6869
##########
 
6870
 
 
6871
:Released: 2008-05-09
 
6872
 
 
6873
Changes
 
6874
*******
 
6875
 
 
6876
* Broader support of GNU Emacs mail clients. Set
 
6877
  ``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
 
6878
  bundle in a mail buffer according to the value of ``mail-user-agent``
 
6879
  variable. (Xavier Maillard)
 
6880
 
 
6881
Improvements
 
6882
************
 
6883
 
 
6884
* Diff now handles revision specs like "branch:" and "submit:" more
 
6885
  efficiently.  (Aaron Bentley, #202928)
 
6886
 
 
6887
* More friendly error given when attempt to start the smart server
 
6888
  on an address already in use. (Andrea Corbellini, #200575)
 
6889
 
 
6890
* Pull completes much faster when there is nothing to pull.
 
6891
  (Aaron Bentley)
 
6892
 
 
6893
Bugfixes
 
6894
********
 
6895
 
 
6896
* Authentication.conf can define sections without password.
 
6897
  (Vincent Ladeuil, #199440)
 
6898
 
 
6899
* Avoid muttering every time a child update does not cause a progress bar
 
6900
  update. (John Arbash Meinel, #213771)
 
6901
 
 
6902
* ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
 
6903
  to fix when a Branch has a non-canonical mainline history. ``bzr check``
 
6904
  also detects this condition. (John Arbash Meinel, #177855)
 
6905
 
 
6906
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
6907
  for ``revision_id=None`` which was not a string.
 
6908
  (John Arbash Meinel, #211661)
 
6909
 
 
6910
* ``bzr commit`` now works with Microsoft's FTP service.
 
6911
  (Andreas Deininger)
 
6912
 
 
6913
* Catch definitions outside sections in authentication.conf.
 
6914
  (Vincent Ladeuil, #217650)
 
6915
 
 
6916
* Conversion from non-rich-root to rich-root(-pack) updates inventory
 
6917
  sha1s, even when bundles are used.  (Aaron Bentley, #181391)
 
6918
 
 
6919
* Conversion from non-rich-root to rich-root(-pack) works correctly even
 
6920
  though search keys are not topologically sorted.  (Aaron Bentley)
 
6921
 
 
6922
* Conversion from non-rich-root to rich-root(-pack) works even when a
 
6923
  parent revision has a different root id.  (Aaron Bentley, #177874)
 
6924
 
 
6925
* Disable strace testing until strace is fixed (see bug #103133) and emit a
 
6926
  warning when selftest ends to remind us of leaking tests.
 
6927
  (Vincent Ladeuil, #226769)
 
6928
 
 
6929
* Fetching all revisions from a repository does not cause pack collisions.
 
6930
  (Robert Collins, Aaron Bentley, #212908)
 
6931
 
 
6932
* Fix error about "attempt to add line-delta in non-delta knit".
 
6933
  (Andrew Bennetts, #217701)
 
6934
 
 
6935
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
6936
  if the remote server was < version 1.2. This was due to a bug in the
 
6937
  RemoteRepository.get_parent_map() fallback code.
 
6938
  (John Arbash Meinel, #214894)
 
6939
 
 
6940
* Remove leftover code in ``bzr_branch`` that inappropriately creates
 
6941
  a ``branch-name`` file in the branch control directory.
 
6942
  (Martin Pool)
 
6943
 
 
6944
* Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
 
6945
  rebinding the socket when starting the server a second time.
 
6946
  (John Arbash Meinel, Martin Pool, #164288)
 
6947
 
 
6948
* Severe performance degradation in fetching from knit repositories to
 
6949
  knits and packs due to parsing the entire revisions.kndx on every graph
 
6950
  walk iteration fixed by using the Repository.get_graph API.  There was
 
6951
  another regression in knit => knit fetching which re-read the index for
 
6952
  every revision each side had in common.
 
6953
  (Robert Collins, John Arbash Meinel)
 
6954
 
 
6955
* When logging the changes to a particular file, there was a bug if there
 
6956
  were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
 
6957
 
 
6958
* xs4all's ftp server returns a temporary error when trying to list an
 
6959
  empty directory, rather than returning an empty list. Adding a
 
6960
  workaround so that we don't get spurious failures.
 
6961
  (John Arbash Meinel, #215522)
 
6962
 
 
6963
Documentation
 
6964
*************
 
6965
 
 
6966
* Expanded the User Guide to include new chapters on popular plugins and
 
6967
  integrating Bazaar into your environment. The *Best practices* chapter
 
6968
  was renamed to *Miscellaneous topics* as suggested by community
 
6969
  feedback as well. (Ian Clatworthy)
 
6970
 
 
6971
* Document outlining strategies for TortoiseBzr. (Mark Hammond)
 
6972
 
 
6973
* Improved the documentation on hooks. (Ian Clatworthy)
 
6974
 
 
6975
* Update authentication docs regarding ssh agents.
 
6976
  (Vincent Ladeuil, #183705)
 
6977
 
 
6978
Testing
 
6979
*******
 
6980
 
 
6981
* Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
 
6982
  make it easy to identify which test spawned a thread with an unhandled
 
6983
  exception. (Andrew Bennetts)
 
6984
 
 
6985
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
 
6986
  options for debugging tests, these are complementary to the -D
 
6987
  options.  The ``-Dselftest_debug`` global option has been replaced by the
 
6988
  ``-E=allow_debug`` option for selftest. (Andrew Bennetts)
 
6989
 
 
6990
* Parameterised test ids are preserved correctly to aid diagnosis of test
 
6991
  failures. (Robert Collins, Andrew Bennetts)
 
6992
 
 
6993
* selftest now accepts --starting-with <id> to load only the tests whose id
 
6994
  starts with the one specified. This greatly speeds up running the test
 
6995
  suite on a limited set of tests and can be used to run the tests for a
 
6996
  single module, a single class or even a single test.  (Vincent Ladeuil)
 
6997
 
 
6998
* The test suite modules have been modified to define load_tests() instead
 
6999
  of test_suite(). That speeds up selective loading (via --load-list)
 
7000
  significantly and provides many examples on how to migrate (grep for
 
7001
  load_tests).  (Vincent Ladeuil)
 
7002
 
 
7003
Internals
 
7004
*********
 
7005
 
 
7006
* ``Hooks.install_hook`` is now deprecated in favour of
 
7007
  ``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
 
7008
  avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
 
7009
 
 
7010
* Implement xml8 serializer.  (Aaron Bentley)
 
7011
 
 
7012
* New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making
 
7013
  deprecation wrappers.  (Martin Pool)
 
7014
 
 
7015
* ``Repository.revision_parents`` is now deprecated in favour of
 
7016
  ``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
 
7017
 
 
7018
* The Python ``assert`` statement is no longer used in Bazaar source, and
 
7019
  a test checks this.  (Martin Pool)
 
7020
 
 
7021
API Changes
 
7022
***********
 
7023
 
 
7024
* ``bzrlib.status.show_pending_merges`` requires the repository to be
 
7025
  locked by the caller. Callers should have been doing it anyway, but it
 
7026
  will now raise an exception if they do not. (John Arbash Meinel)
 
7027
 
 
7028
* Repository.get_data_stream, Repository.get_data_stream_for_search(),
 
7029
  Repository.get_deltas_for_revsions(), Repository.revision_trees(),
 
7030
  Repository.item_keys_introduced_by() no longer take read locks.
 
7031
  (Aaron Bentley)
 
7032
 
 
7033
* ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
 
7034
  towards removing LockableFiles and ``.control_files`` entirely.
 
7035
  (Martin Pool)
 
7036
 
 
7037
* Methods deprecated prior to 1.1 have been removed.
 
7038
  (Martin Pool)
 
7039
 
 
7040
 
 
7041
bzr 1.4 
 
7042
#######
 
7043
 
 
7044
:Released: 2008-04-28
 
7045
 
 
7046
This release of Bazaar includes handy improvements to the speed of log and
 
7047
status, new options for several commands, improved documentation, and better
 
7048
hooks, including initial code for server-side hooks.  A number of bugs have
 
7049
been fixed, particularly in interoperability between different formats or
 
7050
different releases of Bazaar over there network.  There's been substantial
 
7051
internal work in both the repository and network code to enable new features
 
7052
and faster performance.
 
7053
 
 
7054
Bug Fixes
 
7055
*********
 
7056
 
 
7057
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
 
7058
  if the remote server was < version 1.2.  This was due to a bug in the
 
7059
  RemoteRepository.get_parent_map() fallback code.
 
7060
  (John Arbash Meinel, Andrew Bennetts, #214894)
 
7061
 
 
7062
 
 
7063
bzr 1.4rc2
 
7064
##########
 
7065
 
 
7066
:Released: 2008-04-21
 
7067
 
 
7068
Bug Fixes
 
7069
*********
 
7070
 
 
7071
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
 
7072
  for ``revision_id=None`` which was not a string.
 
7073
  (John Arbash Meinel, #211661)
 
7074
 
 
7075
* Fixed a bug in handling ghost revisions when logging changes in a
 
7076
  particular file.  (John Arbash Meinel, #209948)
 
7077
 
 
7078
* Fix error about "attempt to add line-delta in non-delta knit".
 
7079
  (Andrew Bennetts, #205156)
 
7080
 
 
7081
* Fixed performance degradation in fetching from knit repositories to
 
7082
  knits and packs due to parsing the entire revisions.kndx on every graph
 
7083
  walk iteration fixed by using the Repository.get_graph API.  There was
 
7084
  another regression in knit => knit fetching which re-read the index for
 
7085
  every revision each side had in common.
 
7086
  (Robert Collins, John Arbash Meinel)
 
7087
 
 
7088
 
 
7089
bzr 1.4rc1
 
7090
##########
 
7091
 
 
7092
:Released: 2008-04-11
 
7093
 
 
7094
Changes
 
7095
*******
 
7096
 
 
7097
* bzr main script cannot be imported (Benjamin Peterson)
 
7098
 
 
7099
* On GNU/Linux bzr additionally looks for plugins in arch-independent site
 
7100
  directory. (Toshio Kuratomi)
 
7101
 
 
7102
* The ``set_rh`` branch hook is now deprecated. Please migrate
 
7103
  any plugins using this hook to use an alternative, e.g.
 
7104
  ``post_change_branch_tip``. (Ian Clatworthy)
 
7105
 
 
7106
* When a plugin cannot be loaded as the file path is not a valid
 
7107
  python module name bzr will now strip a ``bzr_`` prefix from the
 
7108
  front of the suggested name, as many plugins (e.g. bzr-svn)
 
7109
  want to be installed without this prefix. It is a common mistake
 
7110
  to have a folder named "bzr-svn" for that plugin, especially
 
7111
  as this is what bzr branch lp:bzr-svn will give you. (James Westby,
 
7112
  Andrew Cowie)
 
7113
 
 
7114
* UniqueIntegerBugTracker now appends bug-ids instead of joining
 
7115
  them to the base URL. Plugins that register bug trackers may
 
7116
  need a trailing / added to the base URL if one is not already there.
 
7117
  (James Wesby, Andrew Cowie)
 
7118
 
 
7119
Features
 
7120
********
 
7121
 
 
7122
* Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
 
7123
 
 
7124
* ``status`` now accepts ``--no-pending`` to show the status without
 
7125
  listing pending merges, which speeds up the command a lot on large
 
7126
  histories.  (James Westby, #202830)
 
7127
 
 
7128
* New ``post_change_branch_tip`` hook that is called after the
 
7129
  branch tip is moved but while the branch is still write-locked.
 
7130
  See the User Reference for signature details.
 
7131
  (Ian Clatworthy, James Henstridge)
 
7132
 
 
7133
* Reconfigure can convert a branch to be standalone or to use a shared
 
7134
  repository.  (Aaron Bentley)
 
7135
 
 
7136
Improvements
 
7137
************
 
7138
 
 
7139
* The smart protocol now has support for setting branches' revision info
 
7140
  directly.  This should make operations like push slightly faster, and is a
 
7141
  step towards server-side hooks.  The new request method name is
 
7142
  ``Branch.set_last_revision_info``.  (Andrew Bennetts)
 
7143
 
 
7144
* ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
 
7145
  (James Westby, Andrew Cowie)
 
7146
 
 
7147
* ``bzr switch`` will attempt to find branches to switch to relative to the
 
7148
  current branch. E.g. ``bzr switch branchname`` will look for
 
7149
  ``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
 
7150
  Wouter van Heyst)
 
7151
 
 
7152
* Diff is now more specific about execute-bit changes it describes
 
7153
  (Chad Miller)
 
7154
 
 
7155
* Fetching data over HTTP is a bit faster when urllib is used.  This is done
 
7156
  by forcing it to recv 64k at a time when reading lines in HTTP headers,
 
7157
  rather than just 1 byte at a time.  (Andrew Bennetts)
 
7158
 
 
7159
* Log --short and --line are much faster when -r is not specified.
 
7160
  (Aaron Bentley)
 
7161
 
 
7162
* Merge is faster.  We no longer check a file's existence unnecessarily
 
7163
  when merging the execute bit.  (Aaron Bentley)
 
7164
 
 
7165
* ``bzr status`` on an explicit list of files no longer shows pending
 
7166
  merges, making it much faster on large trees. (John Arbash Meinel)
 
7167
 
 
7168
* The launchpad directory service now warns the user if they have not set
 
7169
  their launchpad login and are trying to resolve a URL using it, just
 
7170
  in case they want to do a write operation with it.  (James Westby)
 
7171
 
 
7172
* The smart protocol client is slightly faster, because it now only queries
 
7173
  the server for the protocol version once per connection.  Also, the HTTP
 
7174
  transport will now automatically probe for and use a smart server if
 
7175
  one is present.  You can use the new ``nosmart+`` transport decorator
 
7176
  to get the old behaviour.  (Andrew Bennetts)
 
7177
 
 
7178
* The ``version`` command takes a ``--short`` option to print just the
 
7179
  version number, for easier use in scripts.  (Martin Pool)
 
7180
 
 
7181
* Various operations with revision specs and commands that calculate
 
7182
  revnos and revision ids are faster.  (John A. Meinel, Aaron Bentley)
 
7183
 
 
7184
Bugfixes
 
7185
********
 
7186
 
 
7187
* Add ``root_client_path`` parameter to SmartWSGIApp and
 
7188
  SmartServerRequest.  This makes it possible to publish filesystem
 
7189
  locations that don't exactly match URL paths. SmartServerRequest
 
7190
  subclasses should use the new ``translate_client_path`` and
 
7191
  ``transport_from_client_path`` methods when dealing with paths received
 
7192
  from a client to take this into account.  (Andrew Bennetts, #124089)
 
7193
 
 
7194
* ``bzr mv a b`` can be now used also to rename previously renamed
 
7195
  directories, not only files. (Lukáš Lalinský, #107967)
 
7196
 
 
7197
* ``bzr uncommit --local`` can now remove revisions from the local
 
7198
  branch to be symmetric with ``bzr commit --local``.
 
7199
  (John Arbash Meinel, #93412)
 
7200
 
 
7201
* Don't ask for a password if there is no real terminal.
 
7202
  (Alexander Belchenko, #69851)
 
7203
 
 
7204
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
7205
  fetching revisions from a knit to pack repository or vice versa using
 
7206
  bzr:// (including over http or ssh).
 
7207
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
7208
 
 
7209
* Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy.  Also
 
7210
  fixed ``_get_bytes`` in the same module to use the push back buffer.
 
7211
  These bugs had no known impact in normal use, but were problematic for
 
7212
  developers working on the code, and were likely to cause real bugs sooner
 
7213
  or later.  (Andrew Bennetts)
 
7214
 
 
7215
* Implement handling of basename parameter for DefaultMail.  (James Westby)
 
7216
 
 
7217
* Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
 
7218
  (Andrew Bennetts, #213425)
 
7219
 
 
7220
* Launchpad locations (lp: URLs) can be pulled.  (Aaron Bentley, #181945)
 
7221
 
 
7222
* Merges that add files to deleted root directories complete.  They
 
7223
  do create conflicts.  (Aaron Bentley, #210092)
 
7224
 
 
7225
* vsftp's return ``550 RNFR command failed.`` supported.
 
7226
  (Marcus Trautwig, #129786)
 
7227
 
 
7228
Documentation
 
7229
*************
 
7230
 
 
7231
* Improved documentation on send/merge relationship. (Peter Schuller)
 
7232
 
 
7233
* Minor fixes to the User Guide. (Matthew Fuller)
 
7234
 
 
7235
* Reduced the evangelism in the User Guide. (Ian Clatworthy)
 
7236
 
 
7237
* Added Integrating with Bazaar document for developers (Martin Albisetti)
 
7238
 
 
7239
API Breaks
 
7240
**********
 
7241
 
 
7242
* Attempting to pull data from a ghost aware repository (e.g. knits) into a
 
7243
  non-ghost aware repository such as weaves will now fail if there are
 
7244
  ghosts.  (Robert Collins)
 
7245
 
 
7246
* ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
 
7247
  now requires the ``index`` and ``access_method`` parameters to be
 
7248
  supplied. A compatible shim has been kept in the new function
 
7249
  ``knit.make_file_knit``. (Robert Collins)
 
7250
 
 
7251
* Log formatters must now provide log_revision instead of show and
 
7252
  show_merge_revno methods. The latter had been deprecated since the 0.17
 
7253
  release. (James Westby)
 
7254
 
 
7255
* ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
 
7256
  (Andrew Bennetts)
 
7257
 
 
7258
* ``osutils.backup_file`` is removed. (Alexander Belchenko)
 
7259
 
 
7260
* ``Repository.get_revision_graph`` is deprecated, with no replacement
 
7261
  method. The method was size(history) and not desirable. (Robert Collins)
 
7262
 
 
7263
* ``revision.revision_graph`` is deprecated, with no replacement function.
 
7264
  The function was size(history) and not desirable. (Robert Collins)
 
7265
 
 
7266
* ``Transport.get_shared_medium`` is deprecated.  Use
 
7267
  ``Transport.get_smart_medium`` instead.  (Andrew Bennetts)
 
7268
 
 
7269
* ``VersionedFile`` factories now accept a get_scope parameter rather
 
7270
  than using a call to ``transaction_finished``, allowing the removal of
 
7271
  the fixed list of versioned files per repository. (Robert Collins)
 
7272
 
 
7273
* ``VersionedFile.annotate_iter`` is deprecated. While in principle this
 
7274
  allowed lower memory use, all users of annotations wanted full file
 
7275
  annotations, and there is no storage format suitable for incremental
 
7276
  line-by-line annotation. (Robert Collins)
 
7277
 
 
7278
* ``VersionedFile.clone_text`` is deprecated. This performance optimisation
 
7279
  is no longer used - reading the content of a file that is undergoing a
 
7280
  file level merge to identical state on two branches is rare enough, and
 
7281
  not expensive enough to special case. (Robert Collins)
 
7282
 
 
7283
* ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
 
7284
  These methods added significant complexity to the ``VersionedFile``
 
7285
  implementation, but were only used for optimising fetches from knits -
 
7286
  which can be done from outside the knit layer, or via a caching
 
7287
  decorator. As knits are not the default format, the complexity is no
 
7288
  longer worth paying. (Robert Collins)
 
7289
 
 
7290
* ``VersionedFile.create_empty`` is removed. This method presupposed a
 
7291
  sensible mapping to a transport for individual files, but pack backed
 
7292
  versioned files have no such mapping. (Robert Collins)
 
7293
 
 
7294
* ``VersionedFile.get_graph`` is deprecated, with no replacement method.
 
7295
  The method was size(history) and not desirable. (Robert Collins)
 
7296
 
 
7297
* ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
 
7298
  replacement method.  The method was size(history) and not desirable.
 
7299
  (Robert Collins)
 
7300
 
 
7301
* ``VersionedFile.get_parents`` is deprecated, please use
 
7302
  ``VersionedFile.get_parent_map``. (Robert Collins)
 
7303
 
 
7304
* ``VersionedFile.get_sha1`` is deprecated, please use
 
7305
  ``VersionedFile.get_sha1s``. (Robert Collins)
 
7306
 
 
7307
* ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
 
7308
  and unused outside of a single test. (Robert Collins)
 
7309
 
 
7310
* ``VersionedFile.iter_parents`` is now deprecated in favour of
 
7311
  ``get_parent_map`` which can be used to instantiate a Graph on a
 
7312
  VersionedFile. (Robert Collins)
 
7313
 
 
7314
* ``VersionedFileStore`` no longer uses the transaction parameter given
 
7315
  to most methods; amongst other things this means that the
 
7316
  get_weave_or_empty method no longer guarantees errors on a missing weave
 
7317
  in a readonly transaction, and no longer caches versioned file instances
 
7318
  which reduces memory pressure (but requires more careful management by
 
7319
  callers to preserve performance). (Robert Collins)
 
7320
 
 
7321
Testing
 
7322
*******
 
7323
 
 
7324
* New -Dselftest_debug flag disables clearing of the debug flags during
 
7325
  tests.  This is useful if you want to use e.g. -Dhpss to help debug a
 
7326
  failing test.  Be aware that using this feature is likely to cause
 
7327
  spurious test failures if used with the full suite. (Andrew Bennetts)
 
7328
 
 
7329
* selftest --load-list now uses a new more agressive test loader that will
 
7330
  avoid loading unneeded modules and building their tests. Plugins can use
 
7331
  this new loader by defining a load_tests function instead of a test_suite
 
7332
  function. (a forthcoming patch will provide many examples on how to
 
7333
  implement this).
 
7334
  (Vincent Ladeuil)
 
7335
 
 
7336
* selftest --load-list now does some sanity checks regarding duplicate test
 
7337
  IDs and tests present in the list but not found in the actual test suite.
 
7338
  (Vincent Ladeuil)
 
7339
 
 
7340
* Slightly more concise format for the selftest progress bar, so there's
 
7341
  more space to show the test name.  (Martin Pool) ::
 
7342
 
 
7343
    [2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
 
7344
 
 
7345
* The test suite takes much less memory to run, and is a bit faster.  This
 
7346
  is done by clearing most attributes of TestCases after running them, if
 
7347
  they succeeded.  (Andrew Bennetts)
 
7348
 
 
7349
Internals
 
7350
*********
 
7351
 
 
7352
* Added ``_build_client_protocol`` to ``_SmartClient``.  (Andrew Bennetts)
 
7353
 
 
7354
* Added basic infrastructure for automatic plugin suggestion.
 
7355
  (Martin Albisetti)
 
7356
 
 
7357
* If a ``LockableFiles`` object is not explicitly unlocked (for example
 
7358
  because of a missing ``try/finally`` block, it will give a warning but
 
7359
  not automatically unlock itself.  (Previously they did.)  This
 
7360
  sometimes caused knock-on errors if for example the network connection
 
7361
  had already failed, and should not be relied upon by code.
 
7362
  (Martin Pool, #109520)
 
7363
 
 
7364
* ``make dist`` target to build a release tarball, and also
 
7365
  ``check-dist-tarball`` and ``dist-upload-escudero``.  (Martin Pool)
 
7366
 
 
7367
* The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
 
7368
  classes will now raise ``UnknownSmartMethod`` when appropriate, so that
 
7369
  callers don't need to try distinguish unknown request errors from other
 
7370
  errors.  (Andrew Bennetts)
 
7371
 
 
7372
* ``set_make_working_trees`` is now implemented provided on all repository
 
7373
  implementations (Aaron Bentley)
 
7374
 
 
7375
* ``VersionedFile`` now has a new method ``get_parent_map`` which, like
 
7376
  ``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
 
7377
 
 
7378
 
 
7379
bzr 1.3.1
 
7380
#########
 
7381
 
 
7382
:Released: 2008-04-09
 
7383
 
 
7384
No changes from 1.3.1rc1.
 
7385
 
 
7386
 
 
7387
bzr 1.3.1rc1
 
7388
############
 
7389
 
 
7390
:Released: 2008-04-04
 
7391
 
 
7392
Bug Fixes
 
7393
*********
 
7394
 
 
7395
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
 
7396
  fetching revisions from a knit to pack repository or vice versa using
 
7397
  bzr:// (including over http or ssh).
 
7398
  (#208418, Andrew Bennetts, Martin Pool, Robert Collins)
 
7399
 
 
7400
 
 
7401
bzr 1.3
 
7402
#######
 
7403
 
 
7404
:Released: 2008-03-20
 
7405
 
 
7406
Bazaar has become part of the GNU project <http://www.gnu.org>
 
7407
 
 
7408
Many operations that act on history, including ``log`` and ``annotate`` are now
 
7409
substantially faster.  Several bugs have been fixed and several new options and
 
7410
features have been added.
 
7411
 
 
7412
Testing
 
7413
*******
 
7414
 
 
7415
* Avoid spurious failure of ``TestVersion.test_version`` matching
 
7416
  directory names.
 
7417
  (#202778, Martin Pool)
 
7418
 
 
7419
 
 
7420
bzr 1.3rc1
 
7421
##########
 
7422
 
 
7423
:Released: 2008-03-16
 
7424
 
 
7425
Notes When Upgrading
 
7426
********************
 
7427
 
 
7428
* The backup directory created by ``upgrade`` is now called
 
7429
  ``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
 
7430
 
 
7431
Changes
 
7432
*******
 
7433
 
 
7434
* A new repository format 'development' has been added. This format will
 
7435
  represent the latest 'in-progress' format that the bzr developers are
 
7436
  interested in getting early-adopter testing and feedback on.
 
7437
  ``doc/developers/development-repo.txt`` has detailed information.
 
7438
  (Robert Collins)
 
7439
 
 
7440
* BZR_LOG environment variable controls location of .bzr.log trace file.
 
7441
  User can suppress writing messages to .bzr.log by using '/dev/null'
 
7442
  filename (on Unix) or 'NUL' (on Windows). If BZR_LOG variable
 
7443
  is not defined but BZR_HOME is defined then default location
 
7444
  for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
 
7445
  (Alexander Belchenko, #106117)
 
7446
 
 
7447
* ``launchpad`` builtin plugin now shipped as separate part in standalone
 
7448
  bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
 
7449
  and standalone installer allows user to skip installation of this plugin.
 
7450
  (Alexander Belchenko)
 
7451
 
 
7452
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
 
7453
 
 
7454
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
 
7455
  missing final fields.  (Martin Pool)
 
7456
 
 
7457
Features
 
7458
********
 
7459
 
 
7460
* ``branch`` and ``checkout`` can hard-link working tree files, which is
 
7461
  faster and saves space.  (Aaron Bentley)
 
7462
 
 
7463
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
 
7464
  the submit branch to determine the email address to send to.
 
7465
  (Jelmer Vernooij)
 
7466
 
 
7467
Improvements
 
7468
************
 
7469
 
 
7470
* BzrBranch._lefthand_history is faster on pack repos.  (Aaron Bentley)
 
7471
 
 
7472
* Branch6.generate_revision_history is faster.  (Aaron Bentley)
 
7473
 
 
7474
* Directory services can now be registered, allowing special URLs to be
 
7475
  dereferenced into real URLs.  This is a generalization and cleanup of
 
7476
  the lp: transport lookup.  (Aaron Bentley)
 
7477
 
 
7478
* Merge directives that are automatically attached to emails have nicer
 
7479
  filenames, based on branch-nick + revno. (Aaron Bentley)
 
7480
 
 
7481
* ``push`` has a ``--revision`` option, to specify what revision to push up
 
7482
  to.  (Daniel Watkins)
 
7483
 
 
7484
* Significantly reducing execution time and network traffic for trivial
 
7485
  case of running ``bzr missing`` command for two identical branches.
 
7486
  (Alexander Belchenko)
 
7487
 
 
7488
* Speed up operations that look at the revision graph (such as 'bzr log').
 
7489
  ``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
 
7490
  extract the revision history. This allows filtering ghosts while
 
7491
  stepping instead of needing to peek ahead. (John Arbash Meinel)
 
7492
 
 
7493
* The ``hooks`` command lists installed hooks, to assist in debugging.
 
7494
  (Daniel Watkins)
 
7495
 
 
7496
* Updates to how ``annotate`` work. Should see a measurable improvement in
 
7497
  performance and memory consumption for file with a lot of merges.
 
7498
  Also, correctly handle when a line is introduced by both parents (it
 
7499
  should be attributed to the first merge which notices this, and not
 
7500
  to all subsequent merges.) (John Arbash Meinel)
 
7501
 
 
7502
Bugfixes
 
7503
********
 
7504
 
 
7505
* Autopacking no longer holds the full set of inventory lines in
 
7506
  memory while copying. For large repositories, this can amount to
 
7507
  hundreds of MB of ram consumption.
 
7508
  (Ian Clatworthy, John Arbash Meinel)
 
7509
 
 
7510
* Cherrypicking when using ``--format=merge3`` now explictly excludes
 
7511
  BASE lines. (John Arbash Meinel, #151731)
 
7512
 
 
7513
* Disable plink's interactive prompt for password.
 
7514
  (#107593, Dmitry Vasiliev)
 
7515
 
 
7516
* Encode command line arguments from unicode to user_encoding before
 
7517
  invoking external mail client in `bzr send` command.
 
7518
  (#139318, Alexander Belchenko)
 
7519
 
 
7520
* Fixed problem connecting to ``bzr+https://`` servers.
 
7521
  (#198793, John Ferlito)
 
7522
 
 
7523
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
 
7524
  #196618)
 
7525
 
 
7526
* Include quick-start-summary.svg file to python-based installer(s)
 
7527
  for Windows. (#192924, Alexander Belchenko)
 
7528
 
 
7529
* lca merge now respects specified files. (Aaron Bentley)
 
7530
 
 
7531
* Make version-info --custom imply --all. (#195560, James Westby)
 
7532
 
 
7533
* ``merge --preview`` now works for merges that add or modify
 
7534
  symlinks (James Henstridge)
 
7535
 
 
7536
* Redirecting the output from ``bzr merge`` (when the remembered
 
7537
  location is used) now works. (John Arbash Meinel)
 
7538
 
 
7539
* setup.py script explicitly checks for Python version.
 
7540
  (Jari Aalto, Alexander Belchenko, #200569)
 
7541
 
 
7542
* UnknownFormatErrors no longer refer to branches regardless of kind of
 
7543
  unknown format. (Daniel Watkins, #173980)
 
7544
 
 
7545
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
 
7546
  signs, among other small improvements. (Matt Nordhoff, #86838)
 
7547
 
 
7548
* Use correct indices when emitting LCA conflicts.  This fixes IndexError
 
7549
  errors.  (Aaron Bentley, #196780)
 
7550
 
 
7551
Documentation
 
7552
*************
 
7553
 
 
7554
* Explained how to use ``version-info --custom`` in the User Guide.
 
7555
  (Neil Martinsen-Burrell)
 
7556
 
 
7557
API Breaks
 
7558
**********
 
7559
 
 
7560
* Support for loading plugins from zip files and
 
7561
  ``bzrlib.plugin.load_from_zip()`` function are deprecated.
 
7562
  (Alexander Belchenko)
 
7563
 
 
7564
Testing
 
7565
*******
 
7566
 
 
7567
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
 
7568
 
 
7569
* The branch interface tests were invalid for branches using rich-root
 
7570
  repositories because the empty string is not a valid file-id.
 
7571
  (Robert Collins)
 
7572
 
 
7573
Internals
 
7574
*********
 
7575
 
 
7576
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
 
7577
  ``Repository.get_revision_graph()`` except it includes ghosts and you can
 
7578
  stop part-way through. (John Arbash Meinel)
 
7579
 
 
7580
* New module ``tools/package_mf.py`` provide custom module finder for
 
7581
  python packages (improves standard python library's modulefinder.py)
 
7582
  used by ``setup.py`` script while building standalone bzr.exe.
 
7583
  (Alexander Belchenko)
 
7584
 
 
7585
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
 
7586
  detecting external lookup support on remote repositories. This method is
 
7587
  now attempted first when lookup up repositories, leading to an extra
 
7588
  round trip on older bzr smart servers. (Robert Collins)
 
7589
 
 
7590
* Repository formats have a new supported-feature attribute
 
7591
  ``supports_external_lookups`` used to indicate repositories which support
 
7592
  falling back to other repositories when they have partial data.
 
7593
  (Robert Collins)
 
7594
 
 
7595
* ``Repository.get_revision_graph_with_ghosts`` and
 
7596
  ``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
 
7597
  have been deprecated.  (John Arbash Meinel)
 
7598
 
 
7599
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
 
7600
  ``Tree._iter_changes``. The api is now considered stable and ready for
 
7601
  external users.  (Aaron Bentley)
 
7602
 
 
7603
* The bzrdir format registry now accepts an ``alias`` keyword to
 
7604
  register_metadir, used to indicate that a format name is an alias for
 
7605
  some other format and thus should not be reported when describing the
 
7606
  format. (Robert Collins)
 
7607
 
 
7608
 
 
7609
bzr 1.2
 
7610
#######
 
7611
 
 
7612
:Released: 2008-02-15
 
7613
 
 
7614
Bug Fixes
 
7615
*********
 
7616
 
 
7617
* Fix failing test in Launchpad plugin. (Martin Pool)
 
7618
 
 
7619
 
 
7620
bzr 1.2rc1
 
7621
##########
 
7622
 
 
7623
:Released: 2008-02-13
 
7624
 
 
7625
Notes When Upgrading
 
7626
********************
 
7627
 
 
7628
* Fetching via the smart protocol may need to reconnect once during a fetch
 
7629
  if the remote server is running Bazaar 1.1 or earlier, because the client
 
7630
  attempts to use more efficient requests that confuse older servers.  You
 
7631
  may be required to re-enter a password or passphrase when this happens.
 
7632
  This won't happen if the server is upgraded to Bazaar 1.2.
 
7633
  (Andrew Bennetts)
 
7634
 
 
7635
Changes
 
7636
*******
 
7637
 
 
7638
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
 
7639
  consistent with pack-0.92 fetching over SFTP). (Robert Collins)
 
7640
 
 
7641
* Formatting of ``bzr plugins`` output is changed to be more human-
 
7642
  friendly. Full path of plugins locations will be shown only with
 
7643
  ``--verbose`` command-line option. (Alexander Belchenko)
 
7644
 
 
7645
* ``merge`` now prefers to use the submit branch, but will fall back to
 
7646
  parent branch.  For many users, this has no effect.  But some users who
 
7647
  pull and merge on the same branch will notice a change.  This change
 
7648
  makes it easier to work on a branch on two different machines, pulling
 
7649
  between the machines, while merging from the upstream.
 
7650
  ``merge --remember`` can now be used to set the submit_branch.
 
7651
  (Aaron Bentley)
 
7652
 
 
7653
Features
 
7654
********
 
7655
 
 
7656
* ``merge --preview`` produces a diff of the changes merge would make,
 
7657
  but does not actually perform the merge.  (Aaron Bentley)
 
7658
 
 
7659
* New smart method ``Repository.get_parent_map`` for getting revision
 
7660
  parent data. This returns additional parent information topologically
 
7661
  adjacent to the requested data to reduce round trip latency impacts.
 
7662
  (Robert Collins)
 
7663
 
 
7664
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
 
7665
  revision data that streams revision data via a chunked encoding.  This
 
7666
  avoids buffering large amounts of revision data on the server and on the
 
7667
  client, and sends less data to the server to request the revisions.
 
7668
  (Andrew Bennetts, Robert Collins, #178353)
 
7669
 
 
7670
* The launchpad plugin now handles lp urls of the form
 
7671
  ``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
 
7672
  launchpad instance to do the resolution of the branch identities.
 
7673
  This is primarily of use to Launchpad developers, but can also
 
7674
  be used by other users who want to try out Launchpad as
 
7675
  a branch location without messing up their public Launchpad
 
7676
  account.  Branches that are pushed to the staging environment
 
7677
  have an expected lifetime of one day. (Tim Penhey)
 
7678
 
 
7679
Improvements
 
7680
************
 
7681
 
 
7682
* Creating a new branch no longer tries to read the entire revision-history
 
7683
  unnecessarily over smart server operations. (Robert Collins)
 
7684
 
 
7685
* Fetching between different repository formats with compatible models now
 
7686
  takes advantage of the smart method to stream revisions.  (Andrew Bennetts)
 
7687
 
 
7688
* The ``--coverage`` option is now global, rather specific to ``bzr
 
7689
  selftest``.  (Andrew Bennetts)
 
7690
 
 
7691
* The ``register-branch`` command will now use the public url of the branch
 
7692
  containing the current directory, if one has been set and no explicit
 
7693
  branch is provided.  (Robert Collins)
 
7694
 
 
7695
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
 
7696
  Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
 
7697
  (John Arbash Meinel)
 
7698
 
 
7699
Bugfixes
 
7700
********
 
7701
 
 
7702
* Calculate remote path relative to the shared medium in _SmartClient.  This
 
7703
  is related to the problem in bug #124089.  (Andrew Bennetts)
 
7704
 
 
7705
* Cleanly handle connection errors in smart protocol version two, the same
 
7706
  way as they are handled by version one.  (Andrew Bennetts)
 
7707
 
 
7708
* Clearer error when ``version-info --custom`` is used without
 
7709
  ``--template`` (Lukáš Lalinský)
 
7710
 
 
7711
* Don't raise UnavailableFeature during test setup when medusa is not
 
7712
  available or tearDown is never called leading to nasty side effects.
 
7713
  (#137823, Vincent Ladeuil)
 
7714
 
 
7715
* If a plugin's test suite cannot be loaded, for example because of a syntax
 
7716
  error in the tests, then ``selftest`` fails, rather than just printing
 
7717
  a warning.  (Martin Pool, #189771)
 
7718
 
 
7719
* List possible values for BZR_SSH environment variable in env-variables
 
7720
  help topic. (Alexander Belchenko, #181842)
 
7721
 
 
7722
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
 
7723
  popping the log redirection now precisely restores the previous state,
 
7724
  which makes it easier to use bzr log output from other programs.
 
7725
  TestCaseInTempDir no longer depends on a log redirection being established
 
7726
  by the test framework, which lets bzr tests cleanly run from a normal
 
7727
  unittest runner.
 
7728
  (#124153, #124849, Martin Pool, Jonathan Lange)
 
7729
 
 
7730
* ``pull --quiet`` is now more quiet, in particular a message is no longer
 
7731
  printed when the remembered pull location is used. (James Westby,
 
7732
  #185907)
 
7733
 
 
7734
* ``reconfigure`` can safely be interrupted while fetching.
 
7735
  (Aaron Bentley, #179316)
 
7736
 
 
7737
* ``reconfigure`` preserves tags when converting to and from lightweight
 
7738
  checkouts.  (Aaron Bentley, #182040)
 
7739
 
 
7740
* Stop polluting /tmp when running selftest.
 
7741
  (Vincent Ladeuil, #123363)
 
7742
 
 
7743
* Switch from NFKC => NFC for normalization checks. NFC allows a few
 
7744
  more characters which should be considered valid.
 
7745
  (John Arbash Meinel, #185458)
 
7746
 
 
7747
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
 
7748
  interacting badly with a bug on the launchpad side. (Robert Collins)
 
7749
 
 
7750
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
 
7751
  tracebacks.  (Andrew Bennetts, #182849)
 
7752
 
 
7753
API Breaks
 
7754
**********
 
7755
 
 
7756
* Classes implementing Merge types like Merge3Merger must now accept (and
 
7757
  honour) a do_merge flag in their constructor.  (Aaron Bentley)
 
7758
 
 
7759
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
 
7760
  to previously take a write lock (and start a write group.)
 
7761
  (Martin Pool)
 
7762
 
 
7763
Testing
 
7764
*******
 
7765
 
 
7766
* selftest now accepts --load-list <file> to load a test id list. This
 
7767
  speeds up running the test suite on a limited set of tests.
 
7768
  (Vincent Ladeuil)
 
7769
 
 
7770
Internals
 
7771
*********
 
7772
 
 
7773
* Add a new method ``get_result`` to graph search objects. The resulting
 
7774
  ``SearchResult`` can be used to recreate the search later, which will
 
7775
  be useful in reducing network traffic. (Robert Collins)
 
7776
 
 
7777
* Use convenience function to check whether two repository handles
 
7778
  are referring to the same repository in ``Repository.get_graph``.
 
7779
  (Jelmer Vernooij, #187162)
 
7780
 
 
7781
* Fetching now passes the find_ghosts flag through to the
 
7782
  ``InterRepository.missing_revision_ids`` call consistently for all
 
7783
  repository types. This will enable faster missing revision discovery with
 
7784
  bzr+ssh. (Robert Collins)
 
7785
 
 
7786
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
 
7787
 
 
7788
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
 
7789
  ``InterRepository.search_missing_revision_ids`` which returns a
 
7790
  ``bzrlib.graph.SearchResult`` suitable for making requests from the smart
 
7791
  server. (Robert Collins)
 
7792
 
 
7793
* New error ``NoPublicBranch`` for commands that need a public branch to
 
7794
  operate. (Robert Collins)
 
7795
 
 
7796
* New method ``iter_inventories`` on Repository for access to many
 
7797
  inventories. This is primarily used by the ``revision_trees`` method, as
 
7798
  direct access to inventories is discouraged. (Robert Collins)
 
7799
 
 
7800
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
 
7801
  which will split out ghosts and present parents into two separate sets,
 
7802
  useful for code which needs to be aware of ghosts (e.g. fetching data
 
7803
  cares about ghosts during revision selection). (Robert Collins)
 
7804
 
 
7805
* Record a timestamp against each mutter to the trace file, relative to the
 
7806
  first import of bzrlib.  (Andrew Bennetts)
 
7807
 
 
7808
* ``Repository.get_data_stream`` is now deprecated in favour of
 
7809
  ``Repository.get_data_stream_for_search`` which allows less network
 
7810
  traffic when requesting data streams over a smart server. (Robert Collins)
 
7811
 
 
7812
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
 
7813
  removing one round trip on many network operations. (Robert Collins)
 
7814
 
 
7815
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
 
7816
  SFTPTransport and HttpTransportBase.  (Andrew Bennetts)
 
7817
 
 
7818
* Repository has a new method ``has_revisions`` which signals the presence
 
7819
  of many revisions by returning a set of the revisions listed which are
 
7820
  present. This can be done by index queries without reading data for parent
 
7821
  revision names etc. (Robert Collins)
 
7822
 
 
7823
 
 
7824
bzr 1.1
 
7825
#######
 
7826
 
 
7827
:Released: 2008-01-15
 
7828
 
 
7829
(no changes from 1.1rc1)
 
7830
 
 
7831
bzr 1.1rc1
 
7832
##########
 
7833
 
 
7834
:Released: 2008-01-05
 
7835
 
 
7836
Changes
 
7837
*******
 
7838
 
 
7839
* Dotted revision numbers have been revised. Instead of growing longer with
 
7840
  nested branches the branch number just increases. (eg instead of 1.1.1.1.1
 
7841
  we now report 1.2.1.) This helps scale long lived branches which have many
 
7842
  feature branches merged between them. (John Arbash Meinel)
 
7843
 
 
7844
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
 
7845
  Use ``bzr diff branch1 --new branch2`` instead. This change has
 
7846
  been made to remove the ambiguity where ``branch2`` is in fact a
 
7847
  specific file to diff within ``branch1``.
 
7848
 
 
7849
Features
 
7850
********
 
7851
 
 
7852
* New option to use custom template-based formats in  ``bzr version-info``.
 
7853
  (Lukáš Lalinský)
 
7854
 
 
7855
* diff '--using' allows an external diff tool to be used for files.
 
7856
  (Aaron Bentley)
 
7857
 
 
7858
* New "lca" merge-type for fast everyday merging that also supports
 
7859
  criss-cross merges.  (Aaron Bentley)
 
7860
 
 
7861
Improvements
 
7862
************
 
7863
 
 
7864
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
 
7865
  #90049)
 
7866
 
 
7867
* ``branch`` and ``checkout`` can now use files from a working tree to
 
7868
  to speed up the process.  For checkout, this requires the new
 
7869
  --files-from flag.  (Aaron Bentley)
 
7870
 
 
7871
* ``bzr diff`` now sorts files in alphabetical order.  (Aaron Bentley)
 
7872
 
 
7873
* ``bzr diff`` now works on branches without working trees. Tree-less
 
7874
  branches can also be compared to each other and to working trees using
 
7875
  the new diff options ``--old`` and ``--new``. Diffing between branches,
 
7876
  with or without trees, now supports specific file filtering as well.
 
7877
  (Ian Clatworthy, #6700)
 
7878
 
 
7879
* ``bzr pack`` now orders revision texts in topological order, with newest
 
7880
  at the start of the file, promoting linear reads for ``bzr log`` and the
 
7881
  like. This partially fixes #154129. (Robert Collins)
 
7882
 
 
7883
* Merge directives now fetch prerequisites from the target branch if
 
7884
  needed.  (Aaron Bentley)
 
7885
 
 
7886
* pycurl now handles digest authentication.
 
7887
  (Vincent Ladeuil)
 
7888
 
 
7889
* ``reconfigure`` can now convert from repositories.  (Aaron Bentley)
 
7890
 
 
7891
* ``-l`` is now a short form for ``--limit`` in ``log``.  (Matt Nordhoff)
 
7892
 
 
7893
* ``merge`` now warns when merge directives cause cherrypicks.
 
7894
  (Aaron Bentley)
 
7895
 
 
7896
* ``split`` now supported, to enable splitting large trees into smaller
 
7897
  pieces.  (Aaron Bentley)
 
7898
 
 
7899
Bugfixes
 
7900
********
 
7901
 
 
7902
* Avoid AttributeError when unlocking a pack repository when an error occurs.
 
7903
  (Martin Pool, #180208)
 
7904
 
 
7905
* Better handle short reads when processing multiple range requests.
 
7906
  (Vincent Ladeuil, #179368)
 
7907
 
 
7908
* build_tree acceleration uses the correct path when a file has been moved.
 
7909
  (Aaron Bentley)
 
7910
 
 
7911
* ``commit`` now succeeds when a checkout and its master branch share a
 
7912
  repository.  (Aaron Bentley, #177592)
 
7913
 
 
7914
* Fixed error reporting of unsupported timezone format in
 
7915
  ``log --timezone``. (Lukáš Lalinský, #178722)
 
7916
 
 
7917
* Fixed Unicode encoding error in ``ignored`` when the output is
 
7918
  redirected to a pipe. (Lukáš Lalinský)
 
7919
 
 
7920
* Fix traceback when sending large response bodies over the smart protocol
 
7921
  on Windows. (Andrew Bennetts, #115781)
 
7922
 
 
7923
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
 
7924
  pointed to different logical drives on Windows.
 
7925
  (Alexander Belchenko, #90847)
 
7926
 
 
7927
* HTTP test servers are now compatible with the http protocol version 1.1.
 
7928
  (Vincent Ladeuil, #175524)
 
7929
 
 
7930
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
 
7931
  correctly, instead of erroring or attributing incorrect parents to ghosts.
 
7932
  (Aaron Bentley)
 
7933
 
 
7934
* ``merge --weave --uncommitted`` now works.  (Aaron Bentley)
 
7935
 
 
7936
* pycurl authentication handling was broken and incomplete. Fix handling of
 
7937
  user:pass embedded in the urls.
 
7938
  (Vincent Ladeuil, #177643)
 
7939
 
 
7940
* Files inside non-directories are now handled like other conflict types.
 
7941
  (Aaron Bentley, #177390)
 
7942
 
 
7943
* ``reconfigure`` is able to convert trees into lightweight checkouts.
 
7944
  (Aaron Bentley)
 
7945
 
 
7946
* Reduce lockdir timeout to 0 when running ``bzr serve``.  (Andrew Bennetts,
 
7947
  #148087)
 
7948
 
 
7949
* Test that the old ``version_info_format`` functions still work, even
 
7950
  though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
 
7951
 
 
7952
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
 
7953
  #137681)
 
7954
 
 
7955
* ``uncommit`` works even when the commit messages of revisions to be
 
7956
  removed use characters not supported in the terminal encoding.
 
7957
  (Aaron Bentley)
 
7958
 
 
7959
* When dumb http servers return whole files instead of the requested ranges,
 
7960
  read the remaining bytes by chunks to avoid overflowing network buffers.
 
7961
  (Vincent Ladeuil, #175886)
 
7962
 
 
7963
Documentation
 
7964
*************
 
7965
 
 
7966
* Minor tweaks made to the bug tracker integration documentation.
 
7967
  (Ian Clatworthy)
 
7968
 
 
7969
* Reference material has now be moved out of the User Guide and added
 
7970
  to the User Reference. The User Reference has gained 4 sections as
 
7971
  a result: Authenication Settings, Configuration Settings, Conflicts
 
7972
  and Hooks. All help topics are now dumped into text format in the
 
7973
  doc/en/user-reference directory for those who like browsing that
 
7974
  information in their editor. (Ian Clatworthy)
 
7975
 
 
7976
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
 
7977
 
 
7978
Internals
 
7979
*********
 
7980
 
 
7981
* find_* methods available for BzrDirs, Branches and WorkingTrees.
 
7982
  (Aaron Bentley)
 
7983
 
 
7984
* Help topics can now be loaded from files.
 
7985
  (Ian Clatworthy, Alexander Belchenko)
 
7986
 
 
7987
* get_parent_map now always provides tuples as its output.  (Aaron Bentley)
 
7988
 
 
7989
* Parent Providers should now implement ``get_parent_map`` returning a
 
7990
  dictionary instead of ``get_parents`` returning a list.
 
7991
  ``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
 
7992
  Robert Collins)
 
7993
 
 
7994
* Patience Diff now supports arbitrary python objects, as long as they
 
7995
  support ``hash()``. (John Arbash Meinel)
 
7996
 
 
7997
* Reduce selftest overhead to establish test names by memoization.
 
7998
  (Vincent Ladeuil)
 
7999
 
 
8000
API Breaks
 
8001
**********
 
8002
 
 
8003
Testing
 
8004
*******
 
8005
 
 
8006
* Modules can now customise their tests by defining a ``load_tests``
 
8007
  attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
 
8008
  for the documentation on this attribute. (Robert Collins)
 
8009
 
 
8010
* New helper function ``bzrlib.tests.condition_id_re`` which helps
 
8011
  filter tests based on a regular expression search on the tests id.
 
8012
  (Robert Collins)
 
8013
 
 
8014
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
 
8015
  filter tests based on class. (Robert Collins)
 
8016
 
 
8017
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
 
8018
  generalises the ``exclude_suite_by_re`` function. (Robert Collins)
 
8019
 
 
8020
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
 
8021
  generalises the ``filter_suite_by_re`` function. (Robert Collins)
 
8022
 
 
8023
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
 
8024
  TestSuite that does not contain tests from the input that matched a
 
8025
  regular expression. (Robert Collins)
 
8026
 
 
8027
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
 
8028
  randomized copy of the input suite. (Robert Collins)
 
8029
 
 
8030
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
 
8031
  suite into two according to a regular expression. (Robert Collins)
 
8032
 
 
8033
* Parametrize all http tests for the transport implementations, the http
 
8034
  protocol versions (1.0 and 1.1) and the authentication schemes.
 
8035
  (Vincent Ladeuil)
 
8036
 
 
8037
* The ``exclude_pattern`` and ``random_order`` parameters to the function
 
8038
  ``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
 
8039
 
 
8040
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
 
8041
  replaced by the new helper methods added in this release. (Robert Collins)
 
8042
 
 
8043
 
 
8044
bzr 1.0
 
8045
#######
 
8046
 
 
8047
:Released: 2007-12-14
 
8048
 
 
8049
Documentation
 
8050
*************
 
8051
 
 
8052
* More improvements and fixes to the User Guide.  (Ian Clatworthy)
 
8053
 
 
8054
* Add information on cherrypicking/rebasing to the User Guide.
 
8055
  (Ian Clatworthy)
 
8056
 
 
8057
* Improve bug tracker integration documentation. (Ian Clatworthy)
 
8058
 
 
8059
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
 
8060
  to the rebasing section of the User Guide from Aaron Bentley.
 
8061
  (Ian Clatworthy)
 
8062
 
 
8063
 
 
8064
bzr 1.0rc3
 
8065
##########
 
8066
 
 
8067
:Released: 2007-12-11
 
8068
 
 
8069
Changes
 
8070
*******
 
8071
 
 
8072
* If a traceback occurs, users are now asked to report the bug
 
8073
  through Launchpad (https://bugs.launchpad.net/bzr/), rather than
 
8074
  by mail to the mailing list.
 
8075
  (Martin Pool)
 
8076
 
 
8077
Bugfixes
 
8078
********
 
8079
 
 
8080
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
 
8081
 
 
8082
* Give more feedback during long http downloads by making readv deliver data
 
8083
  as it arrives for urllib, and issue more requests for pycurl. High latency
 
8084
  networks are better handled by urllib, the pycurl implementation give more
 
8085
  feedback but also incur more latency.
 
8086
  (Vincent Ladeuil, #173010)
 
8087
 
 
8088
* Implement _make_parents_provider on RemoteRepository, allowing generating
 
8089
  bundles against branches on a smart server.  (Andrew Bennetts, #147836)
 
8090
 
 
8091
Documentation
 
8092
*************
 
8093
 
 
8094
* Improved user guide.  (Ian Clatworthy)
 
8095
 
 
8096
* The single-page quick reference guide is now available as a PDF.
 
8097
  (Ian Clatworthy)
 
8098
 
 
8099
Internals
 
8100
*********
 
8101
 
 
8102
* readv urllib http implementation is now a real iterator above the
 
8103
  underlying socket and deliver data as soon as it arrives. 'get' still
 
8104
  wraps its output in a StringIO.
 
8105
  (Vincent Ladeuil)
 
8106
 
 
8107
 
 
8108
bzr 1.0rc2
 
8109
##########
 
8110
 
 
8111
:Released: 2007-12-07
 
8112
 
 
8113
Improvements
 
8114
************
 
8115
 
 
8116
* Added a --coverage option to selftest. (Andrew Bennetts)
 
8117
 
 
8118
* Annotate merge (merge-type=weave) now supports cherrypicking.
 
8119
  (Aaron Bentley)
 
8120
 
 
8121
* ``bzr commit`` now doesn't print the revision number twice. (Matt
 
8122
  Nordhoff, #172612)
 
8123
 
 
8124
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
 
8125
  define locations of bug trackers that are not directly supported by
 
8126
  bzr or a plugin. The URL will be treated as a template and ``{id}``
 
8127
  placeholders will be replaced by specific bug IDs.  (Lukáš Lalinský)
 
8128
 
 
8129
* Support logging single merge revisions with short and line log formatters.
 
8130
  (Kent Gibson)
 
8131
 
 
8132
* User Guide enhanced with suggested readability improvements from
 
8133
  Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
 
8134
 
 
8135
* Quick Start Guide renamed to Quick Start Card, moved down in
 
8136
  the catalog, provided in pdf and png format and updated to refer
 
8137
  to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
 
8138
 
 
8139
* ``switch`` can now be used on heavyweight checkouts as well as
 
8140
  lightweight ones. After switching a heavyweight checkout, the
 
8141
  local branch is a mirror/cache of the new bound branch and
 
8142
  uncommitted changes in the working tree are merged. As a safety
 
8143
  check, if there are local commits in a checkout which have not
 
8144
  been committed to the previously bound branch, then ``switch``
 
8145
  fails unless the ``--force`` option is given. This option is
 
8146
  now also required if the branch a lightweight checkout is pointing
 
8147
  to has been moved. (Ian Clatworthy)
 
8148
 
 
8149
Internals
 
8150
*********
 
8151
 
 
8152
* New -Dhttp debug option reports http connections, requests and responses.
 
8153
  (Vincent Ladeuil)
 
8154
 
 
8155
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
 
8156
 
 
8157
Bugfixes
 
8158
********
 
8159
 
 
8160
* Better error message when running ``bzr cat`` on a non-existant branch.
 
8161
  (Lukáš Lalinský, #133782)
 
8162
 
 
8163
* Catch OSError 17 (file exists) in final phase of tree transform and show
 
8164
  filename to user.
 
8165
  (Alexander Belchenko, #111758)
 
8166
 
 
8167
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
 
8168
  allowing multiple GET requests to be issued if too many ranges are
 
8169
  required.
 
8170
  (Vincent Ladeuil, #172701)
 
8171
 
 
8172
* Check for missing basis texts when fetching from packs to packs.
 
8173
  (John Arbash Meinel, #165290)
 
8174
 
 
8175
* Fall back to showing e-mail in ``log --short/--line`` if the
 
8176
  committer/author has only e-mail. (Lukáš Lalinský, #157026)
 
8177
 
 
8178
API Breaks
 
8179
**********
 
8180
 
 
8181
* Deprecate not passing a ``location`` argument to commit reporters'
 
8182
  ``started`` methods. (Matt Nordhoff)
 
8183
 
 
8184
 
 
8185
bzr 1.0rc1
 
8186
##########
 
8187
 
 
8188
:Released: 2007-11-30
 
8189
 
 
8190
Notes When Upgrading
 
8191
********************
 
8192
 
 
8193
* The default repository format is now ``pack-0.92``.  This
 
8194
  default is used when creating new repositories with ``init`` and
 
8195
  ``init-repo``, and when branching over bzr+ssh or bzr+hpss.
 
8196
  (See https://bugs.launchpad.net/bugs/164626)
 
8197
 
 
8198
  This format can be read and written by Bazaar 0.92 and later, and
 
8199
  data can be transferred to and from older formats.
 
8200
 
 
8201
  To upgrade, please reconcile your repository (``bzr reconcile``), and then
 
8202
  upgrade (``bzr upgrade``).
 
8203
 
 
8204
  ``pack-0.92`` offers substantially better scaling and performance than the
 
8205
  previous knits format. Some operations are slower where the code already
 
8206
  had bad scaling characteristics under knits, the pack format makes such
 
8207
  operations more visible as part of being more scalable overall. We will
 
8208
  correct such operations over the coming releases and encourage the filing
 
8209
  of bugs on any operation which you observe to be slower in a packs
 
8210
  repository. One particular case that we do not intend to fix is pulling
 
8211
  data from a pack repository into a knit repository over a high latency
 
8212
  link;  downgrading such data requires reinsertion of the file texts, and
 
8213
  this is a classic space/time tradeoff. The current implementation is
 
8214
  conservative on memory usage because we need to support converting data
 
8215
  from any tree without problems.
 
8216
  (Robert Collins, Martin Pool, #164476)
 
8217
 
 
8218
Changes
 
8219
*******
 
8220
 
 
8221
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
 
8222
  still available if user selects it explicitly with BZR_SSH environment
 
8223
  variable. (Alexander Belchenko, workaround for bug #107593)
 
8224
 
 
8225
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
 
8226
  to enable the subtree functions (for example, for bzr-svn).
 
8227
  (Martin Pool)
 
8228
 
 
8229
Features
 
8230
********
 
8231
 
 
8232
* New ``authentication.conf`` file holding the password or other credentials
 
8233
  for remote servers. This can be used for ssh, sftp, smtp and other
 
8234
  supported transports.
 
8235
  (Vincent Ladeuil)
 
8236
 
 
8237
* New rich-root and rich-root-pack formats, recording the same data about
 
8238
  tree roots that's recorded for all other directories.
 
8239
  (Aaron Bentley, #164639)
 
8240
 
 
8241
* ``pack-0.92`` repositories can now be reconciled.
 
8242
  (Robert Collins, #154173)
 
8243
 
 
8244
* ``switch`` command added for changing the branch a lightweight checkout
 
8245
  is associated with and updating the tree to reflect the latest content
 
8246
  accordingly. This command was previously part of the BzrTools plug-in.
 
8247
  (Ian Clatworthy, Aaron Bentley, David Allouche)
 
8248
 
 
8249
* ``reconfigure`` command can now convert branches, trees, or checkouts to
 
8250
  lightweight checkouts.  (Aaron Bentley)
 
8251
 
 
8252
Performance
 
8253
***********
 
8254
 
 
8255
* Commit updates the state of the working tree via a delta rather than
 
8256
  supplying entirely new basis trees. For commit of a single specified file
 
8257
  this reduces the wall clock time for commit by roughly a 30%.
 
8258
  (Robert Collins, Martin Pool)
 
8259
 
 
8260
* Commit with many automatically found deleted paths no longer performs
 
8261
  linear scanning for the children of those paths during inventory
 
8262
  iteration. This should fix commit performance blowing out when many such
 
8263
  paths occur during commit. (Robert Collins, #156491)
 
8264
 
 
8265
* Fetch with pack repositories will no longer read the entire history graph.
 
8266
  (Robert Collins, #88319)
 
8267
 
 
8268
* Revert takes out an appropriate lock when reverting to a basis tree, and
 
8269
  does not read the basis inventory twice. (Robert Collins)
 
8270
 
 
8271
* Diff does not require an inventory to be generated on dirstate trees.
 
8272
  (Aaron Bentley, #149254)
 
8273
 
 
8274
* New annotate merge (--merge-type=weave) implementation is fast on
 
8275
  versionedfiles withough cached annotations, e.g. pack-0.92.
 
8276
  (Aaron Bentley)
 
8277
 
 
8278
Improvements
 
8279
************
 
8280
 
 
8281
* ``bzr merge`` now warns when it encounters a criss-cross merge.
 
8282
  (Aaron Bentley)
 
8283
 
 
8284
* ``bzr send`` now doesn't require the target e-mail address to be
 
8285
  specified on the command line if an interactive e-mail client is used.
 
8286
  (Lukáš Lalinský)
 
8287
 
 
8288
* ``bzr tags`` now prints the revision number for each tag, instead of
 
8289
  the revision id, unless --show-ids is passed. In addition, tags can be
 
8290
  sorted chronologically instead of lexicographically with --sort=time.
 
8291
  (Adeodato Simó, #120231)
 
8292
 
 
8293
* Windows standalone version of bzr is able to load system-wide plugins from
 
8294
  "plugins" subdirectory in installation directory. In addition standalone
 
8295
  installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
 
8296
  about paths and bzr version. (Alexander Belchenko, #129298)
 
8297
 
 
8298
Documentation
 
8299
*************
 
8300
 
 
8301
Bug Fixes
 
8302
*********
 
8303
 
 
8304
* A progress bar has been added for knitpack -> knitpack fetching.
 
8305
  (Robert Collins, #157789, #159147)
 
8306
 
 
8307
* Branching from a branch via smart server now preserves the repository
 
8308
  format. (Andrew Bennetts,  #164626)
 
8309
 
 
8310
* ``commit`` is now able to invoke an external editor in a non-ascii
 
8311
  directory. (Daniel Watkins, #84043)
 
8312
 
 
8313
* Catch connection errors for ftp.
 
8314
  (Vincent Ladeuil, #164567)
 
8315
 
 
8316
* ``check`` no longer reports spurious unreferenced text versions.
 
8317
  (Robert Collins, John A Meinel, #162931, #165071)
 
8318
 
 
8319
* Conflicts are now resolved recursively by ``revert``.
 
8320
  (Aaron Bentley, #102739)
 
8321
 
 
8322
* Detect invalid transport reuse attempts by catching invalid URLs.
 
8323
  (Vincent Ladeuil, #161819)
 
8324
 
 
8325
* Deleting a file without removing it shows a correct diff, not a traceback.
 
8326
  (Aaron Bentley)
 
8327
 
 
8328
* Do no use timeout in HttpServer anymore.
 
8329
  (Vincent Ladeuil, #158972).
 
8330
 
 
8331
* Don't catch the exceptions related to the http pipeline status before
 
8332
  retrying an http request or some programming errors may be masked.
 
8333
  (Vincent Ladeuil, #160012)
 
8334
 
 
8335
* Fix ``bzr rm`` to not delete modified and ignored files.
 
8336
  (Lukáš Lalinský, #172598)
 
8337
 
 
8338
* Fix exception when revisionspec contains merge revisons but log
 
8339
  formatter doesn't support merge revisions. (Kent Gibson, #148908)
 
8340
 
 
8341
* Fix exception when ScopeReplacer is assigned to before any members have
 
8342
  been retrieved.  (Aaron Bentley)
 
8343
 
 
8344
* Fix multiple connections during checkout --lightweight.
 
8345
  (Vincent Ladeuil, #159150)
 
8346
 
 
8347
* Fix possible error in insert_data_stream when copying between
 
8348
  pack repositories over bzr+ssh or bzr+http.
 
8349
  KnitVersionedFile.get_data_stream now makes sure that requested
 
8350
  compression parents are sent before any delta hunks that depend
 
8351
  on them.
 
8352
  (Martin Pool, #164637)
 
8353
 
 
8354
* Fix typo in limiting offsets coalescing for http, leading to
 
8355
  whole files being downloaded instead of parts.
 
8356
  (Vincent Ladeuil, #165061)
 
8357
 
 
8358
* FTP server errors don't error in the error handling code.
 
8359
  (Robert Collins, #161240)
 
8360
 
 
8361
* Give a clearer message when a pull fails because the source needs
 
8362
  to be reconciled.
 
8363
  (Martin Pool, #164443)
 
8364
 
 
8365
* It is clearer when a plugin cannot be loaded because of its name, and a
 
8366
  suggestion for an acceptable name is given. (Daniel Watkins, #103023)
 
8367
 
 
8368
* Leave port as None in transport objects if user doesn't
 
8369
  specify a port in urls.
 
8370
  (vincent Ladeuil, #150860)
 
8371
 
 
8372
* Make sure Repository.fetch(self) is properly a no-op for all
 
8373
  Repository implementations. (John Arbash Meinel, #158333)
 
8374
 
 
8375
* Mark .bzr directories as "hidden" on Windows.
 
8376
  (Alexander Belchenko, #71147)
 
8377
 
 
8378
* ``merge --uncommitted`` can now operate on a single file.
 
8379
  (Aaron Bentley, Lukáš Lalinský, #136890)
 
8380
 
 
8381
* Obsolete packs are now cleaned up by pack and autopack operations.
 
8382
  (Robert Collins, #153789)
 
8383
 
 
8384
* Operations pulling data from a smart server where the underlying
 
8385
  repositories are not both annotated/both unannotated will now work.
 
8386
  (Robert Collins, #165304).
 
8387
 
 
8388
* Reconcile now shows progress bars. (Robert Collins, #159351)
 
8389
 
 
8390
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
 
8391
  properly. (John Arbash Meinel, #162486)
 
8392
 
 
8393
* Removing an already-removed file reports the file does not exist. (Daniel
 
8394
  Watkins, #152811)
 
8395
 
 
8396
* Rename on Windows is able to change filename case.
 
8397
  (Alexander Belchenko, #77740)
 
8398
 
 
8399
* Return error instead of a traceback for ``bzr log -r0``.
 
8400
  (Kent Gibson, #133751)
 
8401
 
 
8402
* Return error instead of a traceback when bzr is unable to create
 
8403
  symlink on some platforms (e.g. on Windows).
 
8404
  (Alexander Belchenko, workaround for #81689)
 
8405
 
 
8406
* Revert doesn't crash when restoring a single file from a deleted
 
8407
  directory. (Aaron Bentley)
 
8408
 
 
8409
* Stderr output via logging mechanism now goes through encoded wrapper
 
8410
  and no more uses utf-8, but terminal encoding instead. So all unicode
 
8411
  strings now should be readable in non-utf-8 terminal.
 
8412
  (Alexander Belchenko, #54173)
 
8413
 
 
8414
* The error message when ``move --after`` should be used makes how to do so
 
8415
  clearer. (Daniel Watkins, #85237)
 
8416
 
 
8417
* Unicode-safe output from ``bzr info``. The output will be encoded
 
8418
  using the terminal encoding and unrepresentable characters will be
 
8419
  replaced by '?'. (Lukáš Lalinský, #151844)
 
8420
 
 
8421
* Working trees are no longer created when pushing into a local no-trees
 
8422
  repo. (Daniel Watkins, #50582)
 
8423
 
 
8424
* Upgrade util/configobj to version 4.4.0.
 
8425
  (Vincent Ladeuil, #151208).
 
8426
 
 
8427
* Wrap medusa ftp test server as an FTPServer feature.
 
8428
  (Vincent Ladeuil, #157752)
 
8429
 
 
8430
API Breaks
 
8431
**********
 
8432
 
 
8433
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
 
8434
  during very long time. (Alexander Belchenko)
 
8435
 
 
8436
* The return value of
 
8437
  ``VersionedFile.iter_lines_added_or_present_in_versions`` has been
 
8438
  changed. Previously it was an iterator of lines, now it is an iterator of
 
8439
  (line, version_id) tuples. This change has been made to aid reconcile and
 
8440
  fetch operations. (Robert Collins)
 
8441
 
 
8442
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
 
8443
  (Robert Collins)
 
8444
 
 
8445
* The Repository format registry default has been removed; it was previously
 
8446
  obsoleted by the bzrdir format default, which implies a default repository
 
8447
  format.
 
8448
  (Martin Pool)
 
8449
 
 
8450
Internals
 
8451
*********
 
8452
 
 
8453
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
 
8454
  ``bzrlib.pack``.  These classes provide more convenient APIs for generating
 
8455
  and parsing containers from streams rather than from files.  (Andrew
 
8456
  Bennetts)
 
8457
 
 
8458
* New module ``lru_cache`` providing a cache for use by tasks that need
 
8459
  semi-random access to large amounts of data. (John A Meinel)
 
8460
 
 
8461
* InventoryEntry.diff is now deprecated.  Please use diff.DiffTree instead.
 
8462
 
 
8463
 
 
8464
bzr 0.92
 
8465
########
 
8466
 
 
8467
:Released: 2007-11-05
 
8468
 
 
8469
Changes
 
8470
*******
 
8471
 
 
8472
  * New uninstaller on Win32.  (Alexander Belchenko)
 
8473
 
 
8474
 
 
8475
bzr 0.92rc1
 
8476
###########
 
8477
 
 
8478
:Released: 2007-10-29
 
8479
 
 
8480
Changes
 
8481
*******
 
8482
 
 
8483
* ``bzr`` now returns exit code 4 if an internal error occurred, and
 
8484
  3 if a normal error occurred.  (Martin Pool)
 
8485
 
 
8486
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
 
8487
  repository index errors that occured as a result of the Weave disk format.
 
8488
  Instead the ``reconcile`` command needs to be run to correct those
 
8489
  problems if they exist (and it has been able to fix most such problems
 
8490
  since bzr 0.8). Some new problems have been identified during this release
 
8491
  and you should run ``bzr check`` once on every repository to see if you
 
8492
  need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
 
8493
  repository due to mismatched parent errors - a symptom of index errors -
 
8494
  you should simply take a full copy of that remote repository to a clean
 
8495
  directory outside any local repositories, then run reconcile on it, and
 
8496
  finally pull from it locally. (And naturally email the repositories owner
 
8497
  to ask them to upgrade and run reconcile).
 
8498
  (Robert Collins)
 
8499
 
 
8500
Features
 
8501
********
 
8502
 
 
8503
* New ``knitpack-experimental`` repository format. This is interoperable with
 
8504
  the ``dirstate-tags`` format but uses a smarter storage design that greatly
 
8505
  speeds up many operations, both local and remote. This new format can be
 
8506
  used as an option to the ``init``, ``init-repository`` and ``upgrade``
 
8507
  commands. (Robert Collins)
 
8508
 
 
8509
* For users of bzr-svn (and those testing the prototype subtree support) that
 
8510
  wish to try packs, a new ``knitpack-subtree-experimental`` format has also
 
8511
  been added. This is interoperable with the ``dirstate-subtrees`` format.
 
8512
  (Robert Collins)
 
8513
 
 
8514
* New ``reconfigure`` command. (Aaron Bentley)
 
8515
 
 
8516
* New ``revert --forget-merges`` command, which removes the record of a pending
 
8517
  merge without affecting the working tree contents.  (Martin Pool)
 
8518
 
 
8519
* New ``bzr_remote_path`` configuration variable allows finer control of
 
8520
  remote bzr locations than BZR_REMOTE_PATH environment variable.
 
8521
  (Aaron Bentley)
 
8522
 
 
8523
* New ``launchpad-login`` command to tell Bazaar your Launchpad
 
8524
  user ID.  This can then be used by other functions of the
 
8525
  Launchpad plugin. (James Henstridge)
 
8526
 
 
8527
Performance
 
8528
***********
 
8529
 
 
8530
* Commit in quiet mode is now slightly faster as the information to
 
8531
  output is no longer calculated. (Ian Clatworthy)
 
8532
 
 
8533
* Commit no longer checks for new text keys during insertion when the
 
8534
  revision id was deterministically unique. (Robert Collins)
 
8535
 
 
8536
* Committing a change which is not a merge and does not change the number of
 
8537
  files in the tree is faster by utilising the data about whether files are
 
8538
  changed to determine if the tree is unchanged rather than recalculating
 
8539
  it at the end of the commit process. (Robert Collins)
 
8540
 
 
8541
* Inventory serialisation no longer double-sha's the content.
 
8542
  (Robert Collins)
 
8543
 
 
8544
* Knit text reconstruction now avoids making copies of the lines list for
 
8545
  interim texts when building a single text. The new ``apply_delta`` method
 
8546
  on ``KnitContent`` aids this by allowing modification of the revision id
 
8547
  such objects represent. (Robert Collins)
 
8548
 
 
8549
* Pack indices are now partially parsed for specific key lookup using a
 
8550
  bisection approach. (Robert Collins)
 
8551
 
 
8552
* Partial commits are now approximately 40% faster by walking over the
 
8553
  unselected current tree more efficiently. (Robert Collins)
 
8554
 
 
8555
* XML inventory serialisation takes 20% less time while being stricter about
 
8556
  the contents. (Robert Collins)
 
8557
 
 
8558
* Graph ``heads()`` queries have been fixed to no longer access all history
 
8559
  unnecessarily. (Robert Collins)
 
8560
 
 
8561
Improvements
 
8562
************
 
8563
 
 
8564
* ``bzr+https://`` smart server across https now supported.
 
8565
  (John Ferlito, Martin Pool, #128456)
 
8566
 
 
8567
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
 
8568
  bazaar.conf and ``send`` will use mutt. (Keir Mierle)
 
8569
 
 
8570
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
 
8571
  changes from one revision. (Alexander Belchenko, #141368)
 
8572
 
 
8573
* Show encodings, locale and list of plugins in the traceback message.
 
8574
  (Martin Pool, #63894)
 
8575
 
 
8576
* Experimental directory formats can now be marked with
 
8577
  ``experimental = True`` during registration. (Ian Clatworthy)
 
8578
 
 
8579
Documentation
 
8580
*************
 
8581
 
 
8582
* New *Bazaar in Five Minutes* guide.  (Matthew Revell)
 
8583
 
 
8584
* The hooks reference documentation is now converted to html as expected.
 
8585
  (Ian Clatworthy)
 
8586
 
 
8587
Bug Fixes
 
8588
*********
 
8589
 
 
8590
* Connection error reporting for the smart server has been fixed to
 
8591
  display a user friendly message instead of a traceback.
 
8592
  (Ian Clatworthy, #115601)
 
8593
 
 
8594
* Make sure to use ``O_BINARY`` when opening files to check their
 
8595
  sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
 
8596
 
 
8597
* Fix a problem with Win32 handling of the executable bit.
 
8598
  (John Arbash Meinel, #149113)
 
8599
 
 
8600
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
 
8601
  no longer assume that means port 22.  This allows people using OpenSSH to
 
8602
  override the default port in their ``~/.ssh/config`` if they wish.  This
 
8603
  fixes a bug introduced in bzr 0.91.  (Andrew Bennetts, #146715)
 
8604
 
 
8605
* Commands reporting exceptions can now be profiled and still have their
 
8606
  data correctly dumped to a file. For example, a ``bzr commit`` with
 
8607
  no changes still reports the operation as pointless but doing so no
 
8608
  longer throws away the profiling data if this command is run with
 
8609
  ``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
 
8610
 
 
8611
* Fallback to ftp when paramiko is not installed and sftp can't be used for
 
8612
  ``tests/commands`` so that the test suite is still usable without
 
8613
  paramiko.
 
8614
  (Vincent Ladeuil, #59150)
 
8615
 
 
8616
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
 
8617
 
 
8618
* Fix long standing bug in partial commit when there are renames
 
8619
  left in tree. (Robert Collins, #140419)
 
8620
 
 
8621
* Fix selftest semi-random noise during http related tests.
 
8622
  (Vincent Ladeuil, #140614)
 
8623
 
 
8624
* Fix typo in ftp.py making the reconnection fail on temporary errors.
 
8625
  (Vincent Ladeuil, #154259)
 
8626
 
 
8627
* Fix failing test by comparing real paths to cover the case where the TMPDIR
 
8628
  contains a symbolic link.
 
8629
  (Vincent Ladeuil, #141382).
 
8630
 
 
8631
* Fix log against smart server branches that don't support tags.
 
8632
  (James Westby, #140615)
 
8633
 
 
8634
* Fix pycurl http implementation by defining error codes from
 
8635
  pycurl instead of relying on an old curl definition.
 
8636
  (Vincent Ladeuil, #147530)
 
8637
 
 
8638
* Fix 'unprintable error' message when displaying BzrCheckError and
 
8639
  some other exceptions on Python 2.5.
 
8640
  (Martin Pool, #144633)
 
8641
 
 
8642
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
 
8643
 
 
8644
* Handles default value for ListOption in cmd_commit.
 
8645
  (Vincent Ladeuil, #140432)
 
8646
 
 
8647
* HttpServer and FtpServer need to be closed properly or a listening socket
 
8648
  will remain opened.
 
8649
  (Vincent Ladeuil, #140055)
 
8650
 
 
8651
* Monitor the .bzr directory created in the top level test
 
8652
  directory to detect leaking tests.
 
8653
  (Vincent Ladeuil, #147986)
 
8654
 
 
8655
* The basename, not the full path, is now used when checking whether
 
8656
  the profiling dump file begins with ``callgrind.out`` or not. This
 
8657
  fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
 
8658
 
 
8659
* Trivial fix for invoking command ``reconfigure`` without arguments.
 
8660
  (Rob Weir, #141629)
 
8661
 
 
8662
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
 
8663
  new path causes bzr to be unable to access the file. (Robert Collins)
 
8664
 
 
8665
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
 
8666
  Merwe)
 
8667
 
 
8668
API Breaks
 
8669
**********
 
8670
 
 
8671
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
 
8672
  constructor, for enabling bisection searches. (Robert Collins)
 
8673
 
 
8674
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
 
8675
  tree be supplied to it, previously failing to do so would trigger a
 
8676
  deprecation warning. (Robert Collins)
 
8677
 
 
8678
* ``KnitVersionedFile.add*`` will no longer cache added records even when
 
8679
  enable_cache() has been called - the caching feature is now exclusively for
 
8680
  reading existing data. (Robert Collins)
 
8681
 
 
8682
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
 
8683
  appropriate.  (Martin Pool)
 
8684
 
 
8685
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
 
8686
  ``trace+`` transport instead. (Robert Collins)
 
8687
 
 
8688
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
 
8689
  deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
 
8690
  (Martin Pool)
 
8691
 
 
8692
* Removed previous deprecated ``basis_knit`` parameter to the
 
8693
  ``KnitVersionedFile`` constructor. (Robert Collins)
 
8694
 
 
8695
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
 
8696
  class that needs it.
 
8697
  (Martin Pool)
 
8698
 
 
8699
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
 
8700
  ``KnitRepository`` by parameters to the constructor. (Robert Collins)
 
8701
 
 
8702
* The ``VersionedFile`` interface now allows content checks to be bypassed
 
8703
  by supplying check_content=False.  This saves nearly 30% of the minimum
 
8704
  cost to store a version of a file. (Robert Collins)
 
8705
 
 
8706
* Tree's with bad state such as files with no length or sha will no longer
 
8707
  be silently accepted by the repository XML serialiser. To serialise
 
8708
  inventories without such data, pass working=True to write_inventory.
 
8709
  (Robert Collins)
 
8710
 
 
8711
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
 
8712
  ``VersionedFile.join`` will no longer accept different parents on either
 
8713
  side of a join - it will either ignore them, or error, depending on the
 
8714
  implementation. See notes when upgrading for more information.
 
8715
  (Robert Collins)
 
8716
 
 
8717
Internals
 
8718
*********
 
8719
 
 
8720
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
 
8721
  put by the method call, to allow avoiding stat-after-write or
 
8722
  housekeeping in callers. (Robert Collins)
 
8723
 
 
8724
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
 
8725
  mandatory attributes are present on serialisation and deserialisation.
 
8726
  This fixes some holes in API usage and allows better separation between
 
8727
  physical storage and object serialisation. (Robert Collins)
 
8728
 
 
8729
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
 
8730
  shorthand for deriving from BzrError and setting internal_error = True.
 
8731
  (Robert Collins)
 
8732
 
 
8733
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
 
8734
  moving the state of a parent tree to a new version via a delta rather than
 
8735
  a complete replacement tree. (Robert Collins)
 
8736
 
 
8737
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
 
8738
  duplication from user input, when a user mentions both a path and an item
 
8739
  contained within that path. (Robert Collins)
 
8740
 
 
8741
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
 
8742
  determining if a repository is write locked. (Robert Collins)
 
8743
 
 
8744
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
 
8745
  tuple containing the key information about a path for commit processing
 
8746
  to complete. (Robert Collins)
 
8747
 
 
8748
* New method on xml serialisers, write_inventory_to_lines, which matches the
 
8749
  API used by knits for adding content. (Robert Collins)
 
8750
 
 
8751
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
 
8752
  logic, currently only available for byte-based lookup
 
8753
  (``bisect_multi_bytes``). (Robert Collins)
 
8754
 
 
8755
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
 
8756
  and returns a gzipped version of the same. This is used to avoid a bunch
 
8757
  of api friction during adding of knit hunks. (Robert Collins)
 
8758
 
 
8759
* New parameter on ``bzrlib.transport.Transport.readv``
 
8760
  ``adjust_for_latency`` which changes readv from returning strictly the
 
8761
  requested data to inserted return larger ranges and in forward read order
 
8762
  to reduce the effect of network latency. (Robert Collins)
 
8763
 
 
8764
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
 
8765
  causes the parents of a selected id to be returned recursively, so all the
 
8766
  paths from the root down to each element of selected_file_ids are
 
8767
  returned. (Robert Collins)
 
8768
 
 
8769
* Knit joining has been enhanced to support plain to annotated conversion
 
8770
  and annotated to plain conversion. (Ian Clatworthy)
 
8771
 
 
8772
* The CommitBuilder method ``record_entry_contents`` now returns summary
 
8773
  information about the effect of the commit on the repository. This tuple
 
8774
  contains an inventory delta item if the entry changed from the basis, and a
 
8775
  boolean indicating whether a new file graph node was recorded.
 
8776
  (Robert Collins)
 
8777
 
 
8778
* The python path used in the Makefile can now be overridden.
 
8779
  (Andrew Bennetts, Ian Clatworthy)
 
8780
 
 
8781
Testing
 
8782
*******
 
8783
 
 
8784
* New transport implementation ``trace+`` which is useful for testing,
 
8785
  logging activity taken to its _activity attribute. (Robert Collins)
 
8786
 
 
8787
* When running bzr commands within the test suite, internal exceptions are
 
8788
  not caught and reported in the usual way, but rather allowed to propagate
 
8789
  up and be visible to the test suite.  A new API ``run_bzr_catch_user_errors``
 
8790
  makes this behavior available to other users.
 
8791
  (Martin Pool)
 
8792
 
 
8793
* New method ``TestCase.call_catch_warnings`` for testing methods that
 
8794
  raises a Python warning.  (Martin Pool)
 
8795
 
 
8796
 
 
8797
bzr 0.91
 
8798
########
 
8799
 
 
8800
:Released: 2007-09-26
 
8801
 
 
8802
Bug Fixes
 
8803
*********
 
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
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
8810
 
 
8811
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
 
8812
  an implicit port.  We were incorrectly raising PathNotChild due to
 
8813
  inconsistent treatment of the ''_port'' attribute on the Transport object.
 
8814
  (Andrew Bennetts, #133965)
 
8815
 
 
8816
* Make RemoteRepository.sprout cope gracefully with servers that don't
 
8817
  support the ``Repository.tarball`` request.
 
8818
  (Andrew Bennetts)
 
8819
 
 
8820
 
 
8821
bzr 0.91rc2
 
8822
###########
 
8823
 
 
8824
:Released: 2007-09-11
 
8825
 
 
8826
* Replaced incorrect tarball for previous release; a debug statement was left
 
8827
  in bzrlib/remote.py.
 
8828
 
 
8829
 
 
8830
bzr 0.91rc1
 
8831
###########
 
8832
 
 
8833
:Released: 2007-09-11
 
8834
 
 
8835
Changes
 
8836
*******
 
8837
 
 
8838
* The default branch and repository format has changed to
 
8839
  ``dirstate-tags``, so tag commands are active by default.
 
8840
  This format is compatible with Bazaar 0.15 and later.
 
8841
  This incidentally fixes bug #126141.
 
8842
  (Martin Pool)
 
8843
 
 
8844
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
 
8845
  must now appear after the command name. Scripts doing things like
 
8846
  ``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
 
8847
  (Ian Clatworthy)
 
8848
 
 
8849
Features
 
8850
********
 
8851
 
 
8852
* New option ``--author`` in ``bzr commit`` to specify the author of the
 
8853
  change, if it's different from the committer. ``bzr log`` and
 
8854
  ``bzr annotate`` display the author instead of the committer.
 
8855
  (Lukáš Lalinský)
 
8856
 
 
8857
* In addition to global options and command specific options, a set of
 
8858
  standard options are now supported. Standard options are legal for
 
8859
  all commands. The initial set of standard options are:
 
8860
 
 
8861
  * ``--help`` or ``-h`` - display help message
 
8862
  * ``--verbose`` or ``-v`` - display additional information
 
8863
  * ``--quiet``  or ``-q`` - only output warnings and errors.
 
8864
 
 
8865
  Unlike global options, standard options can be used in aliases and
 
8866
  may have command-specific help. (Ian Clatworthy)
 
8867
 
 
8868
* Verbosity level processing has now been unified. If ``--verbose``
 
8869
  or ``-v`` is specified on the command line multiple times, the
 
8870
  verbosity level is made positive the first time then increased.
 
8871
  If ``--quiet`` or ``-q`` is specified on the command line
 
8872
  multiple times, the verbosity level is made negative the first
 
8873
  time then decreased. To get the default verbosity level of zero,
 
8874
  either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
 
8875
  Note that most commands currently ignore the magnitude of the
 
8876
  verbosity level but do respect *quiet vs normal vs verbose* when
 
8877
  generating output. (Ian Clatworthy)
 
8878
 
 
8879
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
 
8880
  is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
 
8881
 
 
8882
* New ``Repository.stream_knit_data_for_revisions`` request added to the
 
8883
  network protocol for greatly reduced roundtrips when retrieving a set of
 
8884
  revisions. (Andrew Bennetts)
 
8885
 
 
8886
Bug Fixes
 
8887
*********
 
8888
 
 
8889
* ``bzr plugins`` now lists the version number for each plugin in square
 
8890
  brackets after the path. (Robert Collins, #125421)
 
8891
 
 
8892
* Pushing, pulling and branching branches with subtree references was not
 
8893
  copying the subtree weave, preventing the file graph from being accessed
 
8894
  and causing errors in commits in clones. (Robert Collins)
 
8895
 
 
8896
* Suppress warning "integer argument expected, got float" from Paramiko,
 
8897
  which sometimes caused false test failures.  (Martin Pool)
 
8898
 
 
8899
* Fix bug in bundle 4 that could cause attempts to write data to wrong
 
8900
  versionedfile.  (Aaron Bentley)
 
8901
 
 
8902
* Diffs generated using "diff -p" no longer break the patch parser.
 
8903
  (Aaron Bentley)
 
8904
 
 
8905
* get_transport treats an empty possible_transports list the same as a non-
 
8906
  empty one.  (Aaron Bentley)
 
8907
 
 
8908
* patch verification for merge directives is reactivated, and works with
 
8909
  CRLF and CR files.  (Aaron Bentley)
 
8910
 
 
8911
* Accept ..\ as a path in revision specifiers. This fixes for example
 
8912
  "-r branch:..\other-branch" on Windows.  (Lukáš Lalinský)
 
8913
 
 
8914
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
 
8915
  (Blake Winton, #129299)
 
8916
 
 
8917
* man page no longer lists hidden options (#131667, Aaron Bentley)
 
8918
 
 
8919
* ``uncommit --help`` now explains the -r option adequately.  (Daniel
 
8920
  Watkins, #106726)
 
8921
 
 
8922
* Error messages are now better formatted with parameters (such as
 
8923
  filenames) quoted when necessary. This avoids confusion when directory
 
8924
  names ending in a '.' at the end of messages were confused with a
 
8925
  full stop that may or not have been there. (Daniel Watkins, #129791)
 
8926
 
 
8927
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
 
8928
 
 
8929
* If a particular command is an alias, ``help`` will show the alias
 
8930
  instead of claiming there is no help for said alias. (Daniel Watkins,
 
8931
  #133548)
 
8932
 
 
8933
* TreeTransform-based operations, like pull, merge, revert, and branch,
 
8934
  now roll back if they encounter an error.  (Aaron Bentley, #67699)
 
8935
 
 
8936
* ``bzr commit`` now exits cleanly if a character unsupported by the
 
8937
  current encoding is used in the commit message.  (Daniel Watkins,
 
8938
  #116143)
 
8939
 
 
8940
* bzr send uses default values for ranges when only half of an elipsis
 
8941
  is specified ("-r..5" or "-r5..").  (#61685, Aaron Bentley)
 
8942
 
 
8943
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
 
8944
  binary is present.  (Martin Albisetti, #107155)
 
8945
 
 
8946
* ``bzr remove`` should remove clean subtrees.  Now it will remove (without
 
8947
  needing ``--force``) subtrees that contain no files with text changes or
 
8948
  modified files.  With ``--force`` it removes the subtree regardless of
 
8949
  text changes or unknown files. Directories with renames in or out (but
 
8950
  not changed otherwise) will now be removed without needing ``--force``.
 
8951
  Unknown ignored files will be deleted without needing ``--force``.
 
8952
  (Marius Kruger, #111665)
 
8953
 
 
8954
* When two plugins conflict, the source of both the losing and now the
 
8955
  winning definition is shown.  (Konstantin Mikhaylov, #5454)
 
8956
 
 
8957
* When committing to a branch, the location being committed to is
 
8958
  displayed.  (Daniel Watkins, #52479)
 
8959
 
 
8960
* ``bzr --version`` takes care about encoding of stdout, especially
 
8961
  when output is redirected. (Alexander Belchenko, #131100)
 
8962
 
 
8963
* Prompt for an ftp password if none is provided.
 
8964
  (Vincent Ladeuil, #137044)
 
8965
 
 
8966
* Reuse bound branch associated transport to avoid multiple
 
8967
  connections.
 
8968
  (Vincent Ladeuil, #128076, #131396)
 
8969
 
 
8970
* Overwrite conflicting tags by ``push`` and ``pull`` if the
 
8971
  ``--overwrite`` option is specified.  (Lukáš Lalinský, #93947)
 
8972
 
 
8973
* In checkouts, tags are copied into the master branch when created,
 
8974
  changed or deleted, and are copied into the checkout when it is
 
8975
  updated.  (Martin Pool, #93856, #93860)
 
8976
 
 
8977
* Print a warning instead of aborting the ``python setup.py install``
 
8978
  process if building of a C extension is not possible.
 
8979
  (Lukáš Lalinský, Alexander Belchenko)
 
8980
 
 
8981
Improvements
 
8982
************
 
8983
 
 
8984
* Add the option "--show-diff" to the commit command in order to display
 
8985
  the diff during the commit log creation. (Goffredo Baroncelli)
 
8986
 
 
8987
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
 
8988
  (Aaron Bentley)
 
8989
 
 
8990
* ``pull -v`` no longer includes deltas, making it much faster.
 
8991
  (Aaron Bentley)
 
8992
 
 
8993
* ``send`` now sends the directive as an attachment by default.
 
8994
  (Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
 
8995
 
 
8996
* Documentation updates (Martin Albisetti)
 
8997
 
 
8998
* Help on debug flags is now included in ``help global-options``.
 
8999
  (Daniel Watkins, #124853)
 
9000
 
 
9001
* Parameters passed on the command line are checked to ensure they are
 
9002
  supported by the encoding in use. (Daniel Watkins)
 
9003
 
 
9004
* The compression used within the bzr repository has changed from zlib
 
9005
  level 9 to the zlib default level. This improves commit performance with
 
9006
  only a small increase in space used (and in some cases a reduction in
 
9007
  space). (Robert Collins)
 
9008
 
 
9009
* Initial commit no longer SHAs files twice and now reuses the path
 
9010
  rather than looking it up again, making it faster.
 
9011
  (Ian Clatworthy)
 
9012
 
 
9013
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
 
9014
  changes in one revision.  (Lukáš Lalinský)
 
9015
 
 
9016
* If versioned files match a given ignore pattern, a warning is now
 
9017
  given. (Daniel Watkins, #48623)
 
9018
 
 
9019
* ``bzr status`` now has -S as a short name for --short and -V as a
 
9020
  short name for --versioned. These have been added to assist users
 
9021
  migrating from Subversion: ``bzr status -SV`` is now like
 
9022
  ``svn status -q``.  (Daniel Watkins, #115990)
 
9023
 
 
9024
* Added C implementation of  ``PatienceSequenceMatcher``, which is about
 
9025
  10x faster than the Python version. This speeds up commands that
 
9026
  need file diffing, such as ``bzr commit`` or ``bzr diff``.
 
9027
  (Lukáš Lalinský)
 
9028
 
 
9029
* HACKING has been extended with a large section on core developer tasks.
 
9030
  (Ian Clatworthy)
 
9031
 
 
9032
* Add ``branches`` and ``standalone-trees`` as online help topics and
 
9033
  include them as Concepts within the User Reference.
 
9034
  (Paul Moore, Ian Clatworthy)
 
9035
 
 
9036
* ``check`` can detect versionedfile parent references that are
 
9037
  inconsistent with revision and inventory info, and ``reconcile`` can fix
 
9038
  them.  These faulty references were generated by 0.8-era releases,
 
9039
  so repositories which were manipulated by old bzrs should be
 
9040
  checked, and possibly reconciled ASAP.  (Aaron Bentley, Andrew Bennetts)
 
9041
 
 
9042
API Breaks
 
9043
**********
 
9044
 
 
9045
* ``Branch.append_revision`` is removed altogether; please use
 
9046
  ``Branch.set_last_revision_info`` instead.  (Martin Pool)
 
9047
 
 
9048
* CommitBuilder now advertises itself as requiring the root entry to be
 
9049
  supplied. This only affects foreign repository implementations which reuse
 
9050
  CommitBuilder directly and have changed record_entry_contents to require
 
9051
  that the root not be supplied. This should be precisely zero plugins
 
9052
  affected. (Robert Collins)
 
9053
 
 
9054
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
 
9055
  its return value to include the sha1 and length of the inserted text. This
 
9056
  allows the avoidance of double-sha1 calculations during commit.
 
9057
  (Robert Collins)
 
9058
 
 
9059
* ``Transport.should_cache`` has been removed.  It was not called in the
 
9060
  previous release.  (Martin Pool)
 
9061
 
 
9062
Testing
 
9063
*******
 
9064
 
 
9065
* Tests may now raise TestNotApplicable to indicate they shouldn't be
 
9066
  run in a particular scenario.  (Martin Pool)
 
9067
 
 
9068
* New function multiply_tests_from_modules to give a simpler interface
 
9069
  to test parameterization.  (Martin Pool, Robert Collins)
 
9070
 
 
9071
* ``Transport.should_cache`` has been removed.  It was not called in the
 
9072
  previous release.  (Martin Pool)
 
9073
 
 
9074
* NULL_REVISION is returned to indicate the null revision, not None.
 
9075
  (Aaron Bentley)
 
9076
 
 
9077
* Use UTF-8 encoded StringIO for log tests to avoid failures on
 
9078
  non-ASCII committer names.  (Lukáš Lalinský)
 
9079
 
 
9080
Internals
 
9081
*********
 
9082
 
 
9083
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
 
9084
  ``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
 
9085
  useful functionality for determining the path of a plugin, its tests, and
 
9086
  its version information. (Robert Collins)
 
9087
 
 
9088
* Add the option user_encoding to the function 'show_diff_trees()'
 
9089
  in order to move the user encoding at the UI level. (Goffredo Baroncelli)
 
9090
 
 
9091
* Add the function make_commit_message_template_encoded() and the function
 
9092
  edit_commit_message_encoded() which handle encoded strings.
 
9093
  This is done in order to mix the commit messages (which is a unicode
 
9094
  string), and the diff which is a raw string. (Goffredo Baroncelli)
 
9095
 
 
9096
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
 
9097
  overhead on non-weave repositories which don't require all parents to be
 
9098
  present. (Robert Collins)
 
9099
 
 
9100
* Deprecated method ``find_previous_heads`` on
 
9101
  ``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
 
9102
  of ``parent_candidates`` and a separate heads check via the repository
 
9103
  API. (Robert Collins)
 
9104
 
 
9105
* New trace function ``mutter_callsite`` will print out a subset of the
 
9106
  stack to the log, which can be useful for gathering debug details.
 
9107
  (Robert Collins)
 
9108
 
 
9109
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
 
9110
  added via a public attribute records_written. (Robert Collins)
 
9111
 
 
9112
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
 
9113
  This provides a hint to users of transports as to the reasonable
 
9114
  minimum data to read. In principle this can take latency and
 
9115
  bandwidth into account on a per-connection basis, but for now it
 
9116
  just has hard coded values based on the url. (e.g. http:// has a large
 
9117
  page size, file:// has a small one.) (Robert Collins)
 
9118
 
 
9119
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
 
9120
  incremental addition of data to a file without requiring that all the
 
9121
  data be buffered in memory. (Robert Collins)
 
9122
 
 
9123
* New methods on ``bzrlib.knit.KnitVersionedFile``:
 
9124
  ``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
 
9125
  ``get_format_signature()``.  These provide some infrastructure for
 
9126
  efficiently streaming the knit data for a set of versions over the smart
 
9127
  protocol.
 
9128
 
 
9129
* Knits with no annotation cache still produce correct annotations.
 
9130
  (Aaron Bentley)
 
9131
 
 
9132
* Three new methods have been added to ``bzrlib.trace``:
 
9133
  ``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
 
9134
  ``set_verbosity_level`` expects a numeric value: negative for quiet,
 
9135
  zero for normal, positive for verbose. The size of the number can be
 
9136
  used to determine just how quiet or verbose the application should be.
 
9137
  The existing ``be_quiet`` and ``is_quiet`` routines have been
 
9138
  integrated into this new scheme. (Ian Clatworthy)
 
9139
 
 
9140
* Options can now be delcared with a ``custom_callback`` parameter. If
 
9141
  set, this routine is called after the option is processed. This feature
 
9142
  is now used by the standard options ``verbose`` and ``quiet`` so that
 
9143
  setting one implicitly resets the other. (Ian Clatworthy)
 
9144
 
 
9145
* Rather than declaring a new option from scratch in order to provide
 
9146
  custom help, a centrally registered option can be decorated using the
 
9147
  new ``bzrlib.Option.custom_help`` routine. In particular, this routine
 
9148
  is useful when declaring better help for the ``verbose`` and ``quiet``
 
9149
  standard options as the base definition of these is now more complex
 
9150
  than before thanks to their use of a custom callback. (Ian Clatworthy)
 
9151
 
 
9152
* Tree._iter_changes(specific_file=[]) now iterates through no files,
 
9153
  instead of iterating through all files.  None is used to iterate through
 
9154
  all files.  (Aaron Bentley)
 
9155
 
 
9156
* WorkingTree.revert() now accepts None to revert all files.  The use of
 
9157
  [] to revert all files is deprecated.  (Aaron Bentley)
 
9158
 
 
9159
 
 
9160
bzr 0.90
 
9161
########
 
9162
 
 
9163
:Released: 2007-08-28
 
9164
 
 
9165
Improvements
 
9166
************
 
9167
 
 
9168
* Documentation is now organized into multiple directories with a level
 
9169
  added for different languages or locales. Added the Mini Tutorial
 
9170
  and Quick Start Summary (en) documents from the Wiki, improving the
 
9171
  content and readability of the former. Formatted NEWS as Release Notes
 
9172
  complete with a Table of Conents, one heading per release. Moved the
 
9173
  Developer Guide into the main document catalog and provided a link
 
9174
  from the developer document catalog back to the main one.
 
9175
  (Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
 
9176
 
 
9177
 
 
9178
API Changes
 
9179
***********
 
9180
 
 
9181
* The static convenience method ``BzrDir.create_repository``
 
9182
  is deprecated.  Callers should instead create a ``BzrDir`` instance
 
9183
  and call ``create_repository`` on that.  (Martin Pool)
 
9184
 
 
9185
 
 
9186
bzr 0.90rc1
 
9187
###########
 
9188
 
 
9189
:Released: 2007-08-14
 
9190
 
 
9191
Bugfixes
 
9192
********
 
9193
 
 
9194
* ``bzr init`` should connect to the remote location one time only.  We
 
9195
  have been connecting several times because we forget to pass around the
 
9196
  Transport object. This modifies ``BzrDir.create_branch_convenience``,
 
9197
  so that we can give it the Transport we already have.
 
9198
  (John Arbash Meinel, Vincent Ladeuil, #111702)
 
9199
 
 
9200
* Get rid of sftp connection cache (get rid of the FTP one too).
 
9201
  (Vincent Ladeuil, #43731)
 
9202
 
 
9203
* bzr branch {local|remote} remote don't try to create a working tree
 
9204
  anymore.
 
9205
  (Vincent Ladeuil, #112173)
 
9206
 
 
9207
* All identified multiple connections for a single bzr command have been
 
9208
  fixed. See bzrlib/tests/commands directory.
 
9209
  (Vincent Ladeuil)
 
9210
 
 
9211
* ``bzr rm`` now does not insist on ``--force`` to delete files that
 
9212
  have been renamed but not otherwise modified.  (Marius Kruger,
 
9213
  #111664)
 
9214
 
 
9215
* ``bzr selftest --bench`` no longer emits deprecation warnings
 
9216
  (Lukáš Lalinský)
 
9217
 
 
9218
* ``bzr status`` now honours FILE parameters for conflict lists
 
9219
  (Aaron Bentley, #127606)
 
9220
 
 
9221
* ``bzr checkout`` now honours -r when reconstituting a working tree.
 
9222
  It also honours -r 0.  (Aaron Bentley, #127708)
 
9223
 
 
9224
* ``bzr add *`` no more fails on Windows if working tree contains
 
9225
  non-ascii file names. (Kuno Meyer, #127361)
 
9226
 
 
9227
* allow ``easy_install bzr`` runs without fatal errors.
 
9228
  (Alexander Belchenko, #125521)
 
9229
 
 
9230
* Graph._filter_candidate_lca does not raise KeyError if a candidate
 
9231
  is eliminated just before it would normally be examined.  (Aaron Bentley)
 
9232
 
 
9233
* SMTP connection failures produce a nice message, not a traceback.
 
9234
  (Aaron Bentley)
 
9235
 
 
9236
Improvements
 
9237
************
 
9238
 
 
9239
* Don't show "dots" progress indicators when run non-interactively, such
 
9240
  as from cron.  (Martin Pool)
 
9241
 
 
9242
* ``info`` now formats locations more nicely and lists "submit" and
 
9243
  "public" branches (Aaron Bentley)
 
9244
 
 
9245
* New ``pack`` command that will trigger database compression within
 
9246
  the repository (Robert Collins)
 
9247
 
 
9248
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
 
9249
  version is approximately 2-3x faster at parsing a ``.kndx`` file.
 
9250
  Which yields a measurable improvement for commands which have to
 
9251
  read from the repository, such as a 1s => 0.75s improvement in
 
9252
  ``bzr diff`` when there are changes to be shown.  (John Arbash Meinel)
 
9253
 
 
9254
* Merge is now faster.  Depending on the scenario, it can be more than 2x
 
9255
  faster. (Aaron Bentley)
 
9256
 
 
9257
* Give a clearer warning, and allow ``python setup.py install`` to
 
9258
  succeed even if pyrex is not available.
 
9259
  (John Arbash Meinel)
 
9260
 
 
9261
* ``DirState._read_dirblocks`` now has an optional Pyrex
 
9262
  implementation. This improves the speed of any command that has to
 
9263
  read the entire DirState. (``diff``, ``status``, etc, improve by
 
9264
  about 10%).
 
9265
  ``bisect_dirblocks`` has also been improved, which helps all
 
9266
  ``_get_entry`` type calls (whenever we are searching for a
 
9267
  particular entry in the in-memory DirState).
 
9268
  (John Arbash Meinel)
 
9269
 
 
9270
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
 
9271
  branch revision history for ui display unless -v is supplied.
 
9272
  (Robert Collins)
 
9273
 
 
9274
* ``bzr log -rA..B`` output shifted to the left margin if the log only
 
9275
  contains merge revisions. (Kent Gibson)
 
9276
 
 
9277
* The ``plugins`` command is now public with improved help.
 
9278
  (Ian Clatworthy)
 
9279
 
 
9280
* New bundle and merge directive formats are faster to generate, and
 
9281
 
 
9282
* Annotate merge now works when there are local changes. (Aaron Bentley)
 
9283
 
 
9284
* Commit now only shows the progress in terms of directories instead of
 
9285
  entries. (Ian Clatworthy)
 
9286
 
 
9287
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
 
9288
  times. This makes ``get_revision_graph`` 2x faster. (John Arbash
 
9289
  Meinel)
 
9290
 
 
9291
* Fix ``VersionedFile.get_graph()`` to avoid using
 
9292
  ``set.difference_update(other)``, which has bad scaling when
 
9293
  ``other`` is large. This improves ``VF.get_graph([version_id])`` for
 
9294
  a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
 
9295
 
 
9296
* The ``--lsprof-file`` option now generates output for KCacheGrind if
 
9297
  the file starts with ``callgrind.out``. This matches the default file
 
9298
  filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
 
9299
 
 
9300
* Fix ``bzr update`` to avoid an unnecessary
 
9301
  ``branch.get_master_branch`` call, which avoids 1 extra connection
 
9302
  to the remote server. (Partial fix for #128076, John Arbash Meinel)
 
9303
 
 
9304
* Log errors from the smart server in the trace file, to make debugging
 
9305
  test failures (and live failures!) easier.  (Andrew Bennetts)
 
9306
 
 
9307
* The HTML version of the man page has been superceded by a more
 
9308
  comprehensive manual called the Bazaar User Reference. This manual
 
9309
  is completed generated from the online help topics. As part of this
 
9310
  change, limited reStructuredText is now explicitly supported in help
 
9311
  topics and command help with 'unnatural' markup being removed prior
 
9312
  to display by the online help or inclusion in the man page.
 
9313
  (Ian Clatworthy)
 
9314
 
 
9315
* HTML documentation now use files extension ``*.html``
 
9316
  (Alexander Belchenko)
 
9317
 
 
9318
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
 
9319
  so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
 
9320
 
 
9321
* ``bzr selftest --strict`` fails if there are any missing features or
 
9322
  expected test failures. (Daniel Watkins, #111914)
 
9323
 
 
9324
* Link to registration survey added to README. (Ian Clatworthy)
 
9325
 
 
9326
* Windows standalone installer show link to registration survey
 
9327
  when installation finished. (Alexander Belchenko)
 
9328
 
 
9329
Library API Breaks
 
9330
******************
 
9331
 
 
9332
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
 
9333
  Options are now required to provide a help string and it must
 
9334
  comply with the style guide by being one or more sentences with an
 
9335
  initial capital and final period. (Martin Pool)
 
9336
 
 
9337
* KnitIndex.get_parents now returns tuples. (Robert Collins)
 
9338
 
 
9339
* Ancient unused ``Repository.text_store`` attribute has been removed.
 
9340
  (Robert Collins)
 
9341
 
 
9342
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
 
9343
  rather than just bytestrings, making it easier to represent multiple
 
9344
  element names. As this interface was not used by any internal facilities
 
9345
  since it was introduced in 0.18 no API compatibility is being preserved.
 
9346
  The serialised form of these packs is identical with 0.18 when a single
 
9347
  element tuple is in use. (Robert Collins)
 
9348
 
 
9349
Internals
 
9350
*********
 
9351
 
 
9352
* merge now uses ``iter_changes`` to calculate changes, which makes room for
 
9353
  future performance increases.  It is also more consistent with other
 
9354
  operations that perform comparisons, and reduces reliance on
 
9355
  Tree.inventory.  (Aaron Bentley)
 
9356
 
 
9357
* Refactoring of transport classes connected to a remote server.
 
9358
  ConnectedTransport is a new class that serves as a basis for all
 
9359
  transports needing to connect to a remote server.  transport.split_url
 
9360
  have been deprecated, use the static method on the object instead. URL
 
9361
  tests have been refactored too.
 
9362
  (Vincent Ladeuil)
 
9363
 
 
9364
* Better connection sharing for ConnectedTransport objects.
 
9365
  transport.get_transport() now accepts a 'possible_transports' parameter.
 
9366
  If a newly requested transport can share a connection with one of the
 
9367
  list, it will.
 
9368
  (Vincent Ladeuil)
 
9369
 
 
9370
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
 
9371
  the null revision, and consider using ``None`` for this purpose
 
9372
  deprecated.  (Aaron Bentley)
 
9373
 
 
9374
* New ``index`` module with abstract index functionality. This will be
 
9375
  used during the planned changes in the repository layer. Currently the
 
9376
  index layer provides a graph aware immutable index, a builder for the
 
9377
  same index type to allow creating them, and finally a composer for
 
9378
  such indices to allow the use of many indices in a single query. The
 
9379
  index performance is not optimised, however the API is stable to allow
 
9380
  development on top of the index. (Robert Collins)
 
9381
 
 
9382
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
 
9383
  their directory sections. This is equivalent to comparing
 
9384
  ``path.split('/')``, only without having to split the paths.
 
9385
  This has a Pyrex implementation available.
 
9386
  (John Arbash Meinel)
 
9387
 
 
9388
* New transport decorator 'unlistable+' which disables the list_dir
 
9389
  functionality for testing.
 
9390
 
 
9391
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
 
9392
 
 
9393
* RevisionTree.get_weave is now deprecated.  Tree.plan_merge is now used
 
9394
  for performing annotate-merge.  (Aaron Bentley)
 
9395
 
 
9396
* New EmailMessage class to create email messages. (Adeodato Simó)
 
9397
 
 
9398
* Unused functions on the private interface KnitIndex have been removed.
 
9399
  (Robert Collins)
 
9400
 
 
9401
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
 
9402
  of a ``index.GraphIndex``. (Robert Collins)
 
9403
 
 
9404
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
 
9405
  the parents of many knit nodes at once, reducing round trips to the
 
9406
  underlying index. (Robert Collins)
 
9407
 
 
9408
* Graph now has an is_ancestor method, various bits use it.
 
9409
  (Aaron Bentley)
 
9410
 
 
9411
* The ``-Dhpss`` flag now includes timing information. As well as
 
9412
  logging when a new connection is opened. (John Arbash Meinel)
 
9413
 
 
9414
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
 
9415
  callers when inserting data, allowing generation of readv style access
 
9416
  during pack creation, without needing a separate pass across the output
 
9417
  pack to gather such details. (Robert Collins)
 
9418
 
 
9419
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
 
9420
  files that are stored on a transport. (Robert Collins)
 
9421
 
 
9422
* New ``Repository.has_same_location`` method that reports if two
 
9423
  repository objects refer to the same repository (although with some risk
 
9424
  of false negatives).  (Andrew Bennetts)
 
9425
 
 
9426
* InterTree.compare now passes require_versioned on correctly.
 
9427
  (Marius Kruger)
 
9428
 
 
9429
* New methods on Repository - ``start_write_group``,
 
9430
  ``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
 
9431
  which provide a clean hook point for transactional Repositories - ones
 
9432
  where all the data for a fetch or commit needs to be made atomically
 
9433
  available in one step. This allows the write lock to remain while making
 
9434
  a series of data insertions.  (e.g. data conversion). (Robert Collins)
 
9435
 
 
9436
* In ``bzrlib.knit`` the internal interface has been altered to use
 
9437
  3-tuples (index, pos, length) rather than two-tuples (pos, length) to
 
9438
  describe where data in a knit is, allowing knits to be split into
 
9439
  many files. (Robert Collins)
 
9440
 
 
9441
* ``bzrlib.knit._KnitData`` split into cache management and physical access
 
9442
  with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
 
9443
  The former provides access into a .pack file, and the latter provides the
 
9444
  current production repository form of .knit files. (Robert Collins)
 
9445
 
 
9446
Testing
 
9447
*******
 
9448
 
 
9449
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
 
9450
  ``--keep-output`` options, which are obsolete now that tests
 
9451
  are done within directories in $TMPDIR.  (Martin Pool)
 
9452
 
 
9453
* The SSH_AUTH_SOCK environment variable is now reset to avoid
 
9454
  interaction with any running ssh agents.  (Jelmer Vernooij, #125955)
 
9455
 
 
9456
* run_bzr_subprocess handles parameters the same way as run_bzr:
 
9457
  either a string or a list of strings should be passed as the first
 
9458
  parameter.  Varargs-style parameters are deprecated. (Aaron Bentley)
 
9459
 
 
9460
 
 
9461
bzr 0.18
 
9462
########
 
9463
 
 
9464
:Released:  2007-07-17
 
9465
 
 
9466
Bugfixes
 
9467
********
 
9468
 
 
9469
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
 
9470
 
 
9471
 
 
9472
bzr 0.18rc1
 
9473
###########
 
9474
 
 
9475
:Released:  2007-07-10
 
9476
 
 
9477
Bugfixes
 
9478
********
 
9479
 
 
9480
* Do not suppress pipe errors, etc. in non-display commands
 
9481
  (Alexander Belchenko, #87178)
 
9482
 
 
9483
* Display a useful error message when the user requests to annotate
 
9484
  a file that is not present in the specified revision.
 
9485
  (James Westby, #122656)
 
9486
 
 
9487
* Commands that use status flags now have a reference to 'help
 
9488
  status-flags'.  (Daniel Watkins, #113436)
 
9489
 
 
9490
* Work around python-2.4.1 inhability to correctly parse the
 
9491
  authentication header.
 
9492
  (Vincent Ladeuil, #121889)
 
9493
 
 
9494
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
 
9495
 
 
9496
* Fix tempfile permissions error in smart server tar bundling under
 
9497
  Windows. (Martin _, #119330)
 
9498
 
 
9499
* Fix detection of directory entries in the inventory. (James Westby)
 
9500
 
 
9501
* Fix handling of http code 400: Bad Request When issuing too many ranges.
 
9502
  (Vincent Ladeuil, #115209)
 
9503
 
 
9504
* Issue a CONNECT request when connecting to an https server
 
9505
  via a proxy to enable SSL tunneling.
 
9506
  (Vincent Ladeuil, #120678)
 
9507
 
 
9508
* Fix ``bzr log -r`` to support selecting merge revisions, both
 
9509
  individually and as part of revision ranges.
 
9510
  (Kent Gibson, #4663)
 
9511
 
 
9512
* Don't leave cruft behind when failing to acquire a lockdir.
 
9513
  (Martin Pool, #109169)
 
9514
 
 
9515
* Don't use the '-f' strace option during tests.
 
9516
  (Vincent Ladeuil, #102019).
 
9517
 
 
9518
* Warn when setting ``push_location`` to a value that will be masked by
 
9519
  locations.conf.  (Aaron Bentley, #122286)
 
9520
 
 
9521
* Fix commit ordering in corner case (Aaron Bentley, #94975)
 
9522
 
 
9523
*  Make annotate behave in a non-ASCII world (Adeodato Simó).
 
9524
 
 
9525
Improvements
 
9526
************
 
9527
 
 
9528
* The --lsprof-file option now dumps a text rendering of the profiling
 
9529
  information if the filename ends in ".txt". It will also convert the
 
9530
  profiling information to a format suitable for KCacheGrind if the
 
9531
  output filename ends in ".callgrind". Fixes to the lsprofcalltree
 
9532
  conversion process by Jean Paul Calderone and Itamar were also merged.
 
9533
  See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
 
9534
 
 
9535
* ``info`` now defaults to non-verbose mode, displaying only paths and
 
9536
  abbreviated format info.  ``info -v`` displays all the information
 
9537
  formerly displayed by ``info``.  (Aaron Bentley, Adeodato Simó)
 
9538
 
 
9539
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
 
9540
  (Elliot Murphy)
 
9541
 
 
9542
* The internal ``weave-list`` command has become ``versionedfile-list``,
 
9543
  and now lists knits as well as weaves.  (Aaron Bentley)
 
9544
 
 
9545
* Automatic merge base selection uses a faster algorithm that chooses
 
9546
  better bases in criss-cross merge situations (Aaron Bentley)
 
9547
 
 
9548
* Progress reporting in ``commit`` has been improved. The various logical
 
9549
  stages are now reported on as follows, namely:
 
9550
 
 
9551
  * Collecting changes [Entry x/y] - Stage n/m
 
9552
  * Saving data locally - Stage n/m
 
9553
  * Uploading data to master branch - Stage n/m
 
9554
  * Updating the working tree - Stage n/m
 
9555
  * Running post commit hooks - Stage n/m
 
9556
 
 
9557
  If there is no master branch, the 3rd stage is omitted and the total
 
9558
  number of stages is adjusted accordingly.
 
9559
 
 
9560
  Each hook that is run after commit is listed with a name (as hooks
 
9561
  can be slow it is useful feedback).
 
9562
  (Ian Clatworthy, Robert Collins)
 
9563
 
 
9564
* Various operations that are now faster due to avoiding unnecessary
 
9565
  topological sorts. (Aaron Bentley)
 
9566
 
 
9567
* Make merge directives robust against broken bundles. (Aaron Bentley)
 
9568
 
 
9569
* The lsprof filename note is emitted via trace.note(), not standard
 
9570
  output.  (Aaron Bentley)
 
9571
 
 
9572
* ``bzrlib`` now exports explicit API compatibility information to assist
 
9573
  library users and plugins. See the ``bzrlib.api`` module for details.
 
9574
  (Robert Collins)
 
9575
 
 
9576
* Remove unnecessary lock probes when acquiring a lockdir.
 
9577
  (Martin Pool)
 
9578
 
 
9579
* ``bzr --version`` now shows the location of the bzr log file, which
 
9580
  is especially useful on Windows.  (Martin Pool)
 
9581
 
 
9582
* -D now supports hooks to get debug tracing of hooks (though its currently
 
9583
  minimal in nature). (Robert Collins)
 
9584
 
 
9585
* Long log format reports deltas on merge revisions.
 
9586
  (John Arbash Meinel, Kent Gibson)
 
9587
 
 
9588
* Make initial push over ftp more resilient. (John Arbash Meinel)
 
9589
 
 
9590
* Print a summary of changes for update just like pull does.
 
9591
  (Daniel Watkins, #113990)
 
9592
 
 
9593
* Add a -Dhpss option to trace smart protocol requests and responses.
 
9594
  (Andrew Bennetts)
 
9595
 
 
9596
Library API Breaks
 
9597
******************
 
9598
 
 
9599
* Testing cleanups -
 
9600
  ``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
 
9601
  to ``bzrlib.tests.repository_implementations``;
 
9602
  ``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
 
9603
  to ``bzrlib.tests.interrepository_implementations``;
 
9604
  ``bzrlib.transport.TransportTestProviderAdapter`` has moved to
 
9605
  ``bzrlib.tests.test_transport_implementations``.
 
9606
  ``bzrlib.branch.BranchTestProviderAdapter`` has moved to
 
9607
  ``bzrlib.tests.branch_implementations``.
 
9608
  ``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
 
9609
  ``bzrlib.tests.bzrdir_implementations``.
 
9610
  ``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
 
9611
  to ``bzrlib.tests.interversionedfile_implementations``.
 
9612
  ``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
 
9613
  ``bzrlib.tests.revisionstore_implementations``.
 
9614
  ``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
 
9615
  ``bzrlib.tests.workingtree_implementations``.
 
9616
  These changes are an API break in the testing infrastructure only.
 
9617
  (Robert Collins)
 
9618
 
 
9619
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
 
9620
 
 
9621
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
 
9622
  win32. Callers of the function should do this and use the new
 
9623
  ``MutableTree.smart_add`` method instead. (Robert Collins)
 
9624
 
 
9625
* ``bzrlib.add.glob_expand_for_win32`` is now
 
9626
  ``bzrlib.win32utils.glob_expand``.  (Robert Collins)
 
9627
 
 
9628
* ``bzrlib.add.FastPath`` is now private and moved to
 
9629
  ``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
 
9630
 
 
9631
* ``LockDir.wait`` removed.  (Martin Pool)
 
9632
 
 
9633
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
 
9634
  ``server_stopped`` hooks. The first parameter is now an iterable of
 
9635
  backing URLs rather than a single URL. This is to reflect that many
 
9636
  URLs may map to the external URL of the server. E.g. the server interally
 
9637
  may have a chrooted URL but also the local file:// URL will be at the
 
9638
  same location. (Robert Collins)
 
9639
 
 
9640
Internals
 
9641
*********
 
9642
 
 
9643
* New SMTPConnection class to unify email handling.  (Adeodato Simó)
 
9644
 
 
9645
* Fix documentation of BzrError. (Adeodato Simó)
 
9646
 
 
9647
* Make BzrBadParameter an internal error. (Adeodato Simó)
 
9648
 
 
9649
* Remove use of 'assert False' to raise an exception unconditionally.
 
9650
  (Martin Pool)
 
9651
 
 
9652
* Give a cleaner error when failing to decode knit index entry.
 
9653
  (Martin Pool)
 
9654
 
 
9655
* TreeConfig would mistakenly search the top level when asked for options
 
9656
  from a section. It now respects the section argument and only
 
9657
  searches the specified section. (James Westby)
 
9658
 
 
9659
* Improve ``make api-docs`` output. (John Arbash Meinel)
 
9660
 
 
9661
* Use os.lstat rather than os.stat for osutils.make_readonly and
 
9662
  osutils.make_writeable. This makes the difftools plugin more
 
9663
  robust when dangling symlinks are found. (Elliot Murphy)
 
9664
 
 
9665
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
 
9666
  lockdirs are taken or released.  (Martin Pool)
 
9667
 
 
9668
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
 
9669
  allows a nicer UI when hooks are running as the current hook can
 
9670
  be displayed. (Robert Collins)
 
9671
 
 
9672
* ``Transport.get`` has had its interface made more clear for ease of use.
 
9673
  Retrieval of a directory must now fail with either 'PathError' at open
 
9674
  time, or raise 'ReadError' on a read. (Robert Collins)
 
9675
 
 
9676
* New method ``_maybe_expand_globs`` on the ``Command`` class for
 
9677
  dealing with unexpanded glob lists - e.g. on the win32 platform. This
 
9678
  was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
 
9679
 
 
9680
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
 
9681
  deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
 
9682
  Martin Pool)
 
9683
 
 
9684
* New method ``external_url`` on Transport for obtaining the url to
 
9685
  hand to external processes. (Robert Collins)
 
9686
 
 
9687
* Teach windows installers to build pyrex/C extensions.
 
9688
  (Alexander Belchenko)
 
9689
 
 
9690
Testing
 
9691
*******
 
9692
 
 
9693
* Removed the ``--keep-output`` option from selftest and clean up test
 
9694
  directories as they're used.  This reduces the IO load from
 
9695
  running the test suite and cuts the time by about half.
 
9696
  (Andrew Bennetts, Martin Pool)
 
9697
 
 
9698
* Add scenarios as a public attribute on the TestAdapter classes to allow
 
9699
  modification of the generated scenarios before adaption and easier
 
9700
  testing. (Robert Collins)
 
9701
 
 
9702
* New testing support class ``TestScenarioApplier`` which multiplies
 
9703
  out a single teste by a list of supplied scenarios. (RobertCollins)
 
9704
 
 
9705
* Setting ``repository_to_test_repository`` on a repository_implementations
 
9706
  test will cause it to be called during repository creation, allowing the
 
9707
  testing of repository classes which are not based around the Format
 
9708
  concept. For example a repository adapter can be tested in this manner,
 
9709
  by altering the repository scenarios to include a scenario that sets this
 
9710
  attribute during the test parameterisation in
 
9711
  ``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
 
9712
 
 
9713
* Clean up many of the APIs for blackbox testing of Bazaar.  The standard
 
9714
  interface is now self.run_bzr.  The command to run can be passed as
 
9715
  either a list of parameters, a string containing the command line, or
 
9716
  (deprecated) varargs parameters.  (Martin Pool)
 
9717
 
 
9718
* The base TestCase now isolates tests from -D parameters by clearing
 
9719
  ``debug.debug_flags`` and restores it afterwards. (Robert Collins)
 
9720
 
 
9721
* Add a relpath parameter to get_transport methods in test framework to
 
9722
  avoid useless cloning.
 
9723
  (Vincent Ladeuil, #110448)
 
9724
 
 
9725
 
 
9726
bzr 0.17
 
9727
########
 
9728
 
 
9729
:Released:  2007-06-18
 
9730
 
 
9731
Bugfixes
 
9732
********
 
9733
 
 
9734
* Fix crash of commit due to wrong lookup of filesystem encoding.
 
9735
  (Colin Watson, #120647)
 
9736
 
 
9737
* Revert logging just to stderr in commit as broke unicode filenames.
 
9738
  (Aaron Bentley, Ian Clatworthy, #120930)
 
9739
 
 
9740
 
 
9741
bzr 0.17rc1
 
9742
###########
 
9743
 
 
9744
:Released:  2007-06-12
 
9745
 
 
9746
Notes When Upgrading
 
9747
********************
 
9748
 
 
9749
* The kind() and is_executable() APIs on the WorkingTree interface no
 
9750
  longer implicitly (read) locks and unlocks the tree. This *might*
 
9751
  impact some plug-ins and tools using this part of the API. If you find
 
9752
  an issue that may be caused by this change, please let us know,
 
9753
  particularly the plug-in/tool maintainer. If encountered, the API
 
9754
  fix is to surround kind() and is_executable() calls with lock_read()
 
9755
  and unlock() like so::
 
9756
 
 
9757
    work_tree.lock_read()
 
9758
    try:
 
9759
        kind = work_tree.kind(...)
 
9760
    finally:
 
9761
        work_tree.unlock()
 
9762
 
 
9763
Internals
 
9764
*********
 
9765
* Rework of LogFormatter API to provide beginning/end of log hooks and to
 
9766
  encapsulate the details of the revision to be logged in a LogRevision
 
9767
  object.
 
9768
  In long log formats, merge revision ids are only shown when --show-ids
 
9769
  is specified, and are labelled "revision-id:", as per mainline
 
9770
  revisions, instead of "merged:". (Kent Gibson)
 
9771
 
 
9772
* New ``BranchBuilder`` API which allows the construction of particular
 
9773
  histories quickly. Useful for testing and potentially other applications
 
9774
  too. (Robert Collins)
 
9775
 
 
9776
Improvements
 
9777
************
 
9778
 
 
9779
* There are two new help topics, working-trees and repositories that
 
9780
  attempt to explain these concepts. (James Westby, John Arbash Meinel,
 
9781
  Aaron Bentley)
 
9782
 
 
9783
* Added ``bzr log --limit`` to report a limited number of revisions.
 
9784
  (Kent Gibson, #3659)
 
9785
 
 
9786
* Revert does not try to preserve file contents that were originally
 
9787
  produced by reverting to a historical revision.  (Aaron Bentley)
 
9788
 
 
9789
* ``bzr log --short`` now includes ``[merge]`` for revisions which
 
9790
  have more than one parent. This is a small improvement to help
 
9791
  understanding what changes have occurred
 
9792
  (John Arbash Meinel, #83887)
 
9793
 
 
9794
* TreeTransform avoids many renames when contructing large trees,
 
9795
  improving speed.  3.25x speedups have been observed for construction of
 
9796
  kernel-sized-trees, and checkouts are 1.28x faster.  (Aaron Bentley)
 
9797
 
 
9798
* Commit on large trees is now faster. In my environment, a commit of
 
9799
  a small change to the Mozilla tree (55k files) has dropped from
 
9800
  66 seconds to 32 seconds. For a small tree of 600 files, commit of a
 
9801
  small change is 33% faster. (Ian Clatworthy)
 
9802
 
 
9803
* New --create-prefix option to bzr init, like for push.  (Daniel Watkins,
 
9804
  #56322)
 
9805
 
 
9806
Bugfixes
 
9807
********
 
9808
 
 
9809
* ``bzr push`` should only connect to the remote location one time.
 
9810
  We have been connecting 3 times because we forget to pass around
 
9811
  the Transport object. This adds ``BzrDir.clone_on_transport()``, so
 
9812
  that we can pass in the Transport that we already have.
 
9813
  (John Arbash Meinel, #75721)
 
9814
 
 
9815
* ``DirState.set_state_from_inventory()`` needs to properly order
 
9816
  based on split paths, not just string paths.
 
9817
  (John Arbash Meinel, #115947)
 
9818
 
 
9819
* Let TestUIFactoy encode the password prompt with its own stdout.
 
9820
  (Vincent Ladeuil, #110204)
 
9821
 
 
9822
* pycurl should take use the range header that takes the range hint
 
9823
  into account.
 
9824
  (Vincent Ladeuil, #112719)
 
9825
 
 
9826
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
 
9827
  on a missing file.  (Aaron Bentley, #118186)
 
9828
 
 
9829
* WorkingTree.remove works correctly with tree references, and when pwd is
 
9830
  not the tree root. (Aaron Bentley)
 
9831
 
 
9832
* Merge no longer fails when a file is renamed in one tree and deleted
 
9833
  in the other. (Aaron Bentley, #110279)
 
9834
 
 
9835
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
 
9836
  and defaults to the last revision (Matthew Fuller, #90048)
 
9837
 
 
9838
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
 
9839
  (Daniel Watkins, #111958)
 
9840
 
 
9841
* ``bzr branch -r revid:foo`` can be used to branch any revision in
 
9842
  your repository. (Previously Branch6 only supported revisions in your
 
9843
  mainline). (John Arbash Meinel, #115343)
 
9844
 
 
9845
bzr 0.16
 
9846
########
 
9847
 
 
9848
:Released:  2007-05-07
 
9849
 
 
9850
Bugfixes
 
9851
********
 
9852
 
 
9853
* Handle when you have 2 directories with similar names, but one has a
 
9854
  hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
 
9855
  iterator was using direct comparison and ``'abc/a'`` sorts after
 
9856
  ``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
 
9857
  (John Arbash Meinel, #111227)
 
9858
 
 
9859
* Handle when someone renames a file on disk without telling bzr.
 
9860
  Previously we would report the first file as missing, but not show
 
9861
  the new unknown file. (John Arbash Meinel, #111288)
 
9862
 
 
9863
* Avoid error when running hooks after pulling into or pushing from
 
9864
  a branch bound to a smartserver branch.  (Martin Pool, #111968)
 
9865
 
 
9866
Improvements
 
9867
************
 
9868
 
 
9869
* Move developer documentation to doc/developers/. This reduces clutter in
 
9870
  the root of the source tree and allows HACKING to be split into multiple
 
9871
  files. (Robert Collins, Alexander Belchenko)
 
9872
 
 
9873
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
 
9874
  ``DirState.update_entry()``. This optimizes the core logic for ``bzr
 
9875
  diff`` and ``bzr status`` significantly improving the speed of
 
9876
  both. (John Arbash Meinel)
 
9877
 
 
9878
bzr 0.16rc2
 
9879
###########
 
9880
 
 
9881
:Released:  2007-04-30
 
9882
 
 
9883
Bugfixes
 
9884
********
 
9885
 
 
9886
* Handle the case when you delete a file, and then rename another file
 
9887
  on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
 
9888
  status`` should show the removed file and an unknown file in its
 
9889
  place. (John Arbash Meinel, #109993)
 
9890
 
 
9891
* Bundles properly read and write revision properties that have an
 
9892
  empty value. And when the value is not ASCII.
 
9893
  (John Arbash Meinel, #109613)
 
9894
 
 
9895
* Fix the bzr commit message to be in text mode.
 
9896
  (Alexander Belchenko, #110901)
 
9897
 
 
9898
* Also handle when you rename a file and create a file where it used
 
9899
  to be. (John Arbash Meinel, #110256)
 
9900
 
 
9901
* ``WorkingTree4._iter_changes`` should not descend into unversioned
 
9902
  directories. (John Arbash Meinel, #110399)
 
9903
 
 
9904
bzr 0.16rc1
 
9905
###########
 
9906
 
 
9907
:Released:  2007-04-26
 
9908
 
 
9909
Notes When Upgrading
 
9910
********************
 
9911
 
 
9912
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
 
9913
  it could be recovered again.
 
9914
  This has been done for consistency with svn and the unix rm command.
 
9915
  The old ``remove`` behaviour has been retained in the new option
 
9916
  ``bzr remove --keep``, which will just stop versioning the file,
 
9917
  but not delete it.
 
9918
  ``bzr remove --force`` have been added which will always delete the
 
9919
  files.
 
9920
  ``bzr remove`` is also more verbose.
 
9921
  (Marius Kruger, #82602)
 
9922
 
 
9923
Improvements
 
9924
************
 
9925
 
 
9926
* Merge directives can now be supplied as input to `merge` and `pull`,
 
9927
  like bundles can.  (Aaron Bentley)
 
9928
 
 
9929
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
 
9930
  pressing Control-Backslash, drops bzr into a debugger.  Type ``'c'``
 
9931
  to continue.  This can be disabled by setting the environment variable
 
9932
  ``BZR_SIGQUIT_PDB=0``.  (Martin Pool)
 
9933
 
 
9934
* selftest now supports --list-only to list tests instead of running
 
9935
  them. (Ian Clatworthy)
 
9936
 
 
9937
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
 
9938
  tests with names that match that regular expression.
 
9939
  (Ian Clatworthy, #102679)
 
9940
 
 
9941
* selftest now supports --randomize SEED to run tests in a random order.
 
9942
  SEED is typically the value 'now' meaning 'use the current time'.
 
9943
  (Ian Clatworthy, #102686)
 
9944
 
 
9945
* New option ``--fixes`` to commit, which stores bug fixing annotations as
 
9946
  revision properties. Built-in support for Launchpad, Debian, Trac and
 
9947
  Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
 
9948
 
 
9949
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
 
9950
  other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
 
9951
  Robert Collins)
 
9952
 
 
9953
* ``selftest`` has new short options ``-f`` and ``-1``.  (Martin
 
9954
  Pool)
 
9955
 
 
9956
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
 
9957
  into using local variables instead of going through ``self._var``.
 
9958
  Improves the time to ``merge_sort`` a 10k revision graph by
 
9959
  approximately 40% (~700->400ms).  (John Arbash Meinel)
 
9960
 
 
9961
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
 
9962
  (Robert Collins)
 
9963
 
 
9964
* ``bzr help`` now provides cross references to other help topics using
 
9965
  the _see_also facility on command classes. Likewise the bzr_man
 
9966
  documentation, and the bzr.1 man page also include this information.
 
9967
  (Robert Collins)
 
9968
 
 
9969
* Tags are now included in logs, that use the long log formatter.
 
9970
  (Erik Bågfors, Alexander Belchenko)
 
9971
 
 
9972
* ``bzr help`` provides a clearer message when a help topic cannot be
 
9973
  found. (Robert Collins, #107656)
 
9974
 
 
9975
* ``bzr help`` now accepts optional prefixes for command help. The help
 
9976
  for all commands can now be found at ``bzr help commands/COMMANDNAME``
 
9977
  as well as ``bzr help COMMANDNAME`` (which only works for commands
 
9978
  where the name is not the same as a more general help topic).
 
9979
  (Robert Collins)
 
9980
 
 
9981
* ``bzr help PLUGINNAME`` will now return the module docstring from the
 
9982
  plugin PLUGINNAME. (Robert Collins, #50408)
 
9983
 
 
9984
* New help topic ``urlspec`` which lists the availables transports.
 
9985
  (Goffredo Baroncelli)
 
9986
 
 
9987
* doc/server.txt updated to document the default bzr:// port
 
9988
  and also update the blurb about the hpss' current status.
 
9989
  (Robert Collins, #107125).
 
9990
 
 
9991
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
 
9992
  serve out to the local LAN (and anyone in the world that can reach the
 
9993
  machine running ``bzr serve``. (Robert Collins, #98918)
 
9994
 
 
9995
* A new smart server protocol version has been added.  It prefixes requests
 
9996
  and responses with an explicit version identifier so that future protocol
 
9997
  revisions can be dealt with gracefully.  (Andrew Bennetts, Robert Collins)
 
9998
 
 
9999
* The bzr protocol version 2 indicates success or failure in every response
 
10000
  without depending on particular commands encoding that consistently,
 
10001
  allowing future client refactorings to be much more robust about error
 
10002
  handling. (Robert Collins, Martin Pool, Andrew Bennetts)
 
10003
 
 
10004
* The smart protocol over HTTP client has been changed to always post to the
 
10005
  same ``.bzr/smart`` URL under the original location when it can.  This allows
 
10006
  HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
 
10007
  server handler, and not arbitrary ``.bzr/*/smart`` URLs.  (Andrew Bennetts)
 
10008
 
 
10009
* digest authentication is now supported for proxies and HTTP by the urllib
 
10010
  based http implementation. Tested against Apache 2.0.55 and Squid
 
10011
  2.6.5. Basic and digest authentication are handled coherently for HTTP
 
10012
  and proxy: if the user is provided in the url (bzr command line for HTTP,
 
10013
  proxy environment variables for proxies), the password is prompted for
 
10014
  (only once). If the password is provided, it is taken into account. Once
 
10015
  the first authentication is successful, all further authentication
 
10016
  roundtrips are avoided by preventively setting the right authentication
 
10017
  header(s).
 
10018
  (Vincent Ladeuil).
 
10019
 
 
10020
Internals
 
10021
*********
 
10022
 
 
10023
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
 
10024
  code paths. (Robert Collins)
 
10025
 
 
10026
* Change the format of chroot urls so that they can be safely manipulated
 
10027
  by generic url utilities without causing the resulting urls to have
 
10028
  escaped the chroot. A side effect of this is that creating a chroot
 
10029
  requires an explicit action using a ChrootServer.
 
10030
  (Robert Collins, Andrew Bennetts)
 
10031
 
 
10032
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
 
10033
  rather than fixing bug #96847.  (Aaron Bentley)
 
10034
 
 
10035
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
 
10036
  ``WorkingTree._write_inventory``.  (Aaron Bentley)
 
10037
 
 
10038
* Convenience method ``TestCase.expectFailure`` ensures that known failures
 
10039
  do not silently pass.  (Aaron Bentley)
 
10040
 
 
10041
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
 
10042
  ``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
 
10043
 
 
10044
* New SmartServer hooks facility. There are two initial hooks documented
 
10045
  in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
 
10046
  plugins to execute code upon server startup and shutdown.
 
10047
  (Robert Collins).
 
10048
 
 
10049
* SmartServer in standalone mode will now close its listening socket
 
10050
  when it stops, rather than waiting for garbage collection. This primarily
 
10051
  fixes test suite hangs when a test tries to connect to a shutdown server.
 
10052
  It may also help improve behaviour when dealing with a server running
 
10053
  on a specific port (rather than dynamically assigned ports).
 
10054
  (Robert Collins)
 
10055
 
 
10056
* Move most SmartServer code into a new package, bzrlib/smart.
 
10057
  bzrlib/transport/remote.py contains just the Transport classes that used
 
10058
  to be in bzrlib/transport/smart.py.  (Andrew Bennetts)
 
10059
 
 
10060
* urllib http implementation avoid roundtrips associated with
 
10061
  401 (and 407) errors once the authentication succeeds.
 
10062
  (Vincent Ladeuil).
 
10063
 
 
10064
* urlib http now supports querying the user for a proxy password if
 
10065
  needed. Realm is shown in the prompt for both HTTP and proxy
 
10066
  authentication when the user is required to type a password.
 
10067
  (Vincent Ladeuil).
 
10068
 
 
10069
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
 
10070
  RemoteTransport (and subclasses to RemoteTCPTransport, etc).  This is more
 
10071
  consistent with its new home in ``bzrlib/transport/remote.py``, and because
 
10072
  it's not really a "smart" transport, just one that does file operations
 
10073
  via remote procedure calls.  (Andrew Bennetts)
 
10074
 
 
10075
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
 
10076
  ``Branch`` now accept a ``token`` keyword argument, so that separate
 
10077
  instances of those objects can share a lock if it has the right token.
 
10078
  (Andrew Bennetts, Robert Collins)
 
10079
 
 
10080
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
 
10081
  branch references - which the smart server component needs.
 
10082
 
 
10083
* The Repository API ``make_working_trees`` is now permitted to return
 
10084
  False when ``set_make_working_trees`` is not implemented - previously
 
10085
  an unimplemented ``set_make_working_trees`` implied the result True
 
10086
  from ``make_working_trees``. This has been changed to accomodate the
 
10087
  smart server, where it does not make sense (at this point) to ever
 
10088
  make working trees by default. (Robert Collins)
 
10089
 
 
10090
* Command objects can now declare related help topics by having _see_also
 
10091
  set to a list of related topic. (Robert Collins)
 
10092
 
 
10093
* ``bzrlib.help`` now delegates to the Command class for Command specific
 
10094
  help. (Robert Collins)
 
10095
 
 
10096
* New class ``TransportListRegistry``, derived from the Registry class, which
 
10097
  simplifies tracking the available Transports. (Goffredo Baroncelli)
 
10098
 
 
10099
* New function ``Branch.get_revision_id_to_revno_map`` which will
 
10100
  return a dictionary mapping revision ids to dotted revnos. Since
 
10101
  dotted revnos are defined in the context of the branch tip, it makes
 
10102
  sense to generate them from a ``Branch`` object.
 
10103
  (John Arbash Meinel)
 
10104
 
 
10105
* Fix the 'Unprintable error' message display to use the repr of the
 
10106
  exception that prevented printing the error because the str value
 
10107
  for it is often not useful in debugging (e.g. KeyError('foo') has a
 
10108
  str() of 'foo' but a repr of 'KeyError('foo')' which is much more
 
10109
  useful. (Robert Collins)
 
10110
 
 
10111
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
 
10112
  (Andrew Bennetts)
 
10113
 
 
10114
Bugfixes
 
10115
********
 
10116
 
 
10117
* Don't fail bundle selftest if email has 'two' embedded.
 
10118
  (Ian Clatworthy, #98510)
 
10119
 
 
10120
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
 
10121
  (Robert Widhopf-Fenk, #98591)
 
10122
 
 
10123
* Remove ``--basis`` from the checkout/branch commands - it didn't work
 
10124
  properly and is no longer beneficial.
 
10125
  (Robert Collins, #53675, #43486)
 
10126
 
 
10127
* Don't produce encoding error when adding duplicate files.
 
10128
  (Aaron Bentley)
 
10129
 
 
10130
* Fix ``bzr log <file>`` so it only logs the revisions that changed
 
10131
  the file, and does it faster.
 
10132
  (Kent Gibson, John Arbash Meinel, #51980, #69477)
 
10133
 
 
10134
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
 
10135
  an empty versioned directory, which now has files in it.
 
10136
  (John Arbash Meinel, #104257)
 
10137
 
 
10138
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
 
10139
  inside the ancestry of the other. Saves a lot of graph processing
 
10140
  (with an ancestry of 16k revisions, ``bzr merge ../already-merged``
 
10141
  changes from 2m10s to 13s).  (John Arbash Meinel, #103757)
 
10142
 
 
10143
* Fix ``show_diff_trees`` to handle the case when a file is modified,
 
10144
  and the containing directory is renamed. (The file path is different
 
10145
  in this versus base, but it isn't marked as a rename).
 
10146
  (John Arbash Meinel, #103870)
 
10147
 
 
10148
* FTP now works even when the FTP server does not support atomic rename.
 
10149
  (Aaron Bentley, #89436)
 
10150
 
 
10151
* Correct handling in bundles and merge directives of timezones with
 
10152
  that are not an integer number of hours offset from UTC.  Always
 
10153
  represent the epoch time in UTC to avoid problems with formatting
 
10154
  earlier times on win32.  (Martin Pool, Alexander Belchenko, John
 
10155
  Arbash Meinel)
 
10156
 
 
10157
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
 
10158
 
 
10159
* "dirstate" and "dirstate-tags" formats now produce branches compatible
 
10160
  with old versions of bzr. (Aaron Bentley, #107168))
 
10161
 
 
10162
* Handle moving a directory when children have been added, removed,
 
10163
  and renamed. (John Arbash Meinel, #105479)
 
10164
 
 
10165
* Don't preventively use basic authentication for proxy before receiving a
 
10166
  407 error. Otherwise people willing to use other authentication schemes
 
10167
  may expose their password in the clear (or nearly). This add one
 
10168
  roundtrip in case basic authentication should be used, but plug the
 
10169
  security hole.
 
10170
  (Vincent Ladeuil)
 
10171
 
 
10172
* Handle http and proxy digest authentication.
 
10173
  (Vincent Ladeuil, #94034).
 
10174
 
 
10175
Testing
 
10176
*******
 
10177
 
 
10178
* Added ``bzrlib.strace.strace`` which will strace a single callable and
 
10179
  return a StraceResult object which contains just the syscalls involved
 
10180
  in running it. (Robert Collins)
 
10181
 
 
10182
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
 
10183
  default time down to one suitable for tests. (Andrew Bennetts)
 
10184
 
 
10185
* Add new ``vfs_transport_factory`` attribute on tests which provides the
 
10186
  common vfs backing for both the readonly and readwrite transports.
 
10187
  This allows the RemoteObject tests to back onto local disk or memory,
 
10188
  and use the existing ``transport_server`` attribute all tests know about
 
10189
  to be the smart server transport. This in turn allows tests to
 
10190
  differentiate between 'transport to access the branch', and
 
10191
  'transport which is a VFS' - which matters in Remote* tests.
 
10192
  (Robert Collins, Andrew Bennetts)
 
10193
 
 
10194
* The ``make_branch_and_tree`` method for tests will now create a
 
10195
  lightweight checkout for the tree if the ``vfs_transport_factory`` is not
 
10196
  a LocalURLServer. (Robert Collins, Andrew Bennetts)
 
10197
 
 
10198
* Branch implementation tests have been audited to ensure that all urls
 
10199
  passed to Branch APIs use proper urls, except when local-disk paths
 
10200
  are intended. This is so that tests correctly access the test transport
 
10201
  which is often not equivalent to local disk in Remote* tests. As part
 
10202
  of this many tests were adjusted to remove dependencies on local disk
 
10203
  access.
 
10204
  (Robert Collins, Andrew Bennetts)
 
10205
 
 
10206
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
 
10207
  functions by adding a ``__unittest`` global attribute. (Robert Collins,
 
10208
  Andrew Bennetts, Martin Pool, Jonathan Lange)
 
10209
 
 
10210
* Refactored proxy and authentication handling to simplify the
 
10211
  implementation of new auth schemes for both http and proxy.
 
10212
  (Vincent Ladeuil)
 
10213
 
 
10214
bzr 0.15
 
10215
########
 
10216
 
 
10217
:Released: 2007-04-01
 
10218
 
 
10219
Bugfixes
 
10220
********
 
10221
 
 
10222
* Handle incompatible repositories as a user issue when fetching.
 
10223
  (Aaron Bentley)
 
10224
 
 
10225
* Don't give a recommendation to upgrade when branching or
 
10226
  checking out a branch that contains an old-format working tree.
 
10227
  (Martin Pool)
 
10228
 
 
10229
bzr 0.15rc3
 
10230
###########
 
10231
 
 
10232
:Released:  2007-03-26
 
10233
 
 
10234
Changes
 
10235
*******
 
10236
 
 
10237
* A warning is now displayed when opening working trees in older
 
10238
  formats, to encourage people to upgrade to WorkingTreeFormat4.
 
10239
  (Martin Pool)
 
10240
 
 
10241
Improvements
 
10242
************
 
10243
 
 
10244
* HTTP redirections are now taken into account when a branch (or a
 
10245
  bundle) is accessed for the first time. A message is issued at each
 
10246
  redirection to inform the user. In the past, http redirections were
 
10247
  silently followed for each request which significantly degraded the
 
10248
  performances. The http redirections are not followed anymore by
 
10249
  default, instead a RedirectRequested exception is raised. For bzrlib
 
10250
  users needing to follow http redirections anyway,
 
10251
  ``bzrlib.transport.do_catching_redirections`` provide an easy transition
 
10252
  path.  (vila)
 
10253
 
 
10254
Internals
 
10255
*********
 
10256
 
 
10257
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
 
10258
  lock to an OS write lock. Linux can do this without unlocking, Win32
 
10259
  needs to unlock in between. (John Arbash Meinel)
 
10260
 
 
10261
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
 
10262
  to silence (when false) warnings about opening old formats.
 
10263
  (Martin Pool)
 
10264
 
 
10265
* Fix minor performance regression with bzr-0.15 on pre-dirstate
 
10266
  trees. (We were reading the working inventory too many times).
 
10267
  (John Arbash Meinel)
 
10268
 
 
10269
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
 
10270
  ``revision_history``.  Branch subclasses should override
 
10271
  ``_gen_revision_history`` rather than ``revision_history`` to make use of
 
10272
  this cache, and call ``_clear_revision_history_cache`` and
 
10273
  ``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
 
10274
 
 
10275
Bugfixes
 
10276
********
 
10277
 
 
10278
* Take ``smtp_server`` from user config into account.
 
10279
  (vila, #92195)
 
10280
 
 
10281
* Restore Unicode filename handling for versioned and unversioned files.
 
10282
  (John Arbash Meinel, #92608)
 
10283
 
 
10284
* Don't fail during ``bzr commit`` if a file is marked removed, and
 
10285
  the containing directory is auto-removed.  (John Arbash Meinel, #93681)
 
10286
 
 
10287
* ``bzr status FILENAME`` failed on Windows because of an uncommon
 
10288
  errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
 
10289
  (Wouter van Heyst, John Arbash Meinel, #90819)
 
10290
 
 
10291
* ``bzr checkout source`` should create a local branch in the same
 
10292
  format as source. (John Arbash Meinel, #93854)
 
10293
 
 
10294
* ``bzr commit`` with a kind change was failing to update the
 
10295
  last-changed-revision for directories.  The
 
10296
  InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
 
10297
  ignoring the fact that the kind could have changed, too.
 
10298
  (John Arbash Meinel, #90111)
 
10299
 
 
10300
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
 
10301
  the directory. So that there was a chance it would break commit,
 
10302
  etc. (John Arbash Meinel, #94037)
 
10303
 
 
10304
* Correctly handles mutiple permanent http redirections.
 
10305
  (vila, #88780)
 
10306
 
 
10307
bzr 0.15rc2
 
10308
###########
 
10309
 
 
10310
:Released:  2007-03-14
 
10311
 
 
10312
Notes When Upgrading
 
10313
********************
 
10314
 
 
10315
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
 
10316
  default to ``--trees`` instead of ``--no-trees``.
 
10317
  Existing shared repositories are not affected.
 
10318
 
 
10319
Improvements
 
10320
************
 
10321
 
 
10322
* New ``merge-directive`` command to generate machine- and human-readable
 
10323
  merge requests.  (Aaron Bentley)
 
10324
 
 
10325
* New ``submit:`` revision specifier makes it easy to diff against the
 
10326
  common ancestor with the submit location (Aaron Bentley)
 
10327
 
 
10328
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
 
10329
 
 
10330
* Added ``bzr status --versioned`` to report only versioned files,
 
10331
  not unknowns. (Kent Gibson)
 
10332
 
 
10333
* Merge now autodetects the correct line-ending style for its conflict
 
10334
  markers.  (Aaron Bentley)
 
10335
 
 
10336
Internals
 
10337
*********
 
10338
 
 
10339
* Refactored SSH vendor registration into SSHVendorManager class.
 
10340
  (Dmitry Vasiliev)
 
10341
 
 
10342
Bugfixes
 
10343
********
 
10344
 
 
10345
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
 
10346
  numbered dirs for TestCaseInTempDir. This is default behavior
 
10347
  on Windows. Anyone can force named dirs on Windows
 
10348
  with ``--no-numbered-dirs``. (Alexander Belchenko)
 
10349
 
 
10350
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
 
10351
  from the command line. (Marien Zwart, #90501)
 
10352
 
 
10353
* Fix ``TreeTransform._iter_changes`` when both the source and
 
10354
  destination are missing. (Aaron Bentley, #88842)
 
10355
 
 
10356
* Fix commit of merges with symlinks in dirstate trees.
 
10357
  (Marien Zwart)
 
10358
 
 
10359
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
 
10360
  (Wouter van Heyst, #53483)
 
10361
 
 
10362
 
 
10363
bzr 0.15rc1
 
10364
###########
 
10365
 
 
10366
:Released:  2007-03-07
 
10367
 
 
10368
Surprises
 
10369
*********
 
10370
 
 
10371
* The default disk format has changed. Please run 'bzr upgrade' in your
 
10372
  working trees to upgrade. This new default is compatible for network
 
10373
  operations, but not for local operations. That is, if you have two
 
10374
  versions of bzr installed locally, after upgrading you can only use the
 
10375
  bzr 0.15 version. This new default does not enable tags or nested-trees
 
10376
  as they are incompatible with bzr versions before 0.15 over the network.
 
10377
 
 
10378
* For users of bzrlib: Two major changes have been made to the working tree
 
10379
  api in bzrlib. The first is that many methods and attributes, including
 
10380
  the inventory attribute, are no longer valid for use until one of
 
10381
  ``lock_read``/``lock_write``/``lock_tree_write`` has been called,
 
10382
  and become invalid again after unlock is called. This has been done
 
10383
  to improve performance and correctness as part of the dirstate
 
10384
  development.
 
10385
  (Robert Collins, John A Meinel, Martin Pool, and others).
 
10386
 
 
10387
* For users of bzrlib: The attribute 'tree.inventory' should be considered
 
10388
  readonly. Previously it was possible to directly alter this attribute, or
 
10389
  its contents, and have the tree notice this. This has been made
 
10390
  unsupported - it may work in some tree formats, but in the newer dirstate
 
10391
  format such actions will have no effect and will be ignored, or even
 
10392
  cause assertions. All operations possible can still be carried out by a
 
10393
  combination of the tree API, and the bzrlib.transform API. (Robert
 
10394
  Collins, John A Meinel, Martin Pool, and others).
 
10395
 
 
10396
Improvements
 
10397
************
 
10398
 
 
10399
* Support for OS Windows 98. Also .bzr.log on any windows system
 
10400
  saved in My Documents folder. (Alexander Belchenko)
 
10401
 
 
10402
* ``bzr mv`` enhanced to support already moved files.
 
10403
  In the past the mv command would have failed if the source file doesn't
 
10404
  exist. In this situation ``bzr mv`` would now detect that the file has
 
10405
  already moved and update the repository accordingly, if the target file
 
10406
  does exist.
 
10407
  A new option ``--after`` has been added so that if two files already
 
10408
  exist, you could notify Bazaar that you have moved a (versioned) file
 
10409
  and replaced it with another. Thus in this case ``bzr move --after``
 
10410
  will only update the Bazaar identifier.
 
10411
  (Steffen Eichenberg, Marius Kruger)
 
10412
 
 
10413
* ``ls`` now works on treeless branches and remote branches.
 
10414
  (Aaron Bentley)
 
10415
 
 
10416
* ``bzr help global-options`` describes the global options.
 
10417
  (Aaron Bentley)
 
10418
 
 
10419
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
 
10420
  (Robert Collins)
 
10421
 
 
10422
* Files are now allowed to change kind (e.g. from file to symlink).
 
10423
  Supported by ``commit``, ``revert`` and ``status``
 
10424
  (Aaron Bentley)
 
10425
 
 
10426
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
 
10427
  (Aaron Bentley)
 
10428
 
 
10429
* ``bzr help checkouts`` descibes what checkouts are and some possible
 
10430
  uses of them. (James Westby, Aaron Bentley)
 
10431
 
 
10432
* A new ``-d`` option to push, pull and merge overrides the default
 
10433
  directory.  (Martin Pool)
 
10434
 
 
10435
* Branch format 6: smaller, and potentially faster than format 5.  Supports
 
10436
  ``append_history_only`` mode, where the log view and revnos do not change,
 
10437
  except by being added to.  Stores policy settings in
 
10438
  ".bzr/branch/branch.conf".
 
10439
 
 
10440
* ``append_only`` branches:  Format 6 branches may be configured so that log
 
10441
  view and revnos are always consistent.  Either create the branch using
 
10442
  "bzr init --append-revisions-only" or edit the config file as descriped
 
10443
  in docs/configuration.txt.
 
10444
 
 
10445
* rebind: Format 6 branches retain the last-used bind location, so if you
 
10446
  "bzr unbind", you can "bzr bind" to bind to the previously-selected
 
10447
  bind location.
 
10448
 
 
10449
* Builtin tags support, created and deleted by the ``tag`` command and
 
10450
  stored in the branch.  Tags can be accessed with the revisionspec
 
10451
  ``-rtag:``, and listed with ``bzr tags``.  Tags are not versioned
 
10452
  at present. Tags require a network incompatible upgrade. To perform this
 
10453
  upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
 
10454
  repositories. (Martin Pool)
 
10455
 
 
10456
* The ``bzr://`` transport now has a well-known port number, 4155,
 
10457
  which it will use by default.  (Andrew Bennetts, Martin Pool)
 
10458
 
 
10459
* Bazaar now looks for user-installed plugins before looking for site-wide
 
10460
  plugins. (Jonathan Lange)
 
10461
 
 
10462
* ``bzr resolve`` now detects and marks resolved text conflicts.
 
10463
  (Aaron Bentley)
 
10464
 
 
10465
Internals
 
10466
*********
 
10467
 
 
10468
* Internally revision ids and file ids are now passed around as utf-8
 
10469
  bytestrings, rather than treating them as Unicode strings. This has
 
10470
  performance benefits for Knits, since we no longer need to decode the
 
10471
  revision id for each line of content, nor for each entry in the index.
 
10472
  This will also help with the future dirstate format.
 
10473
  (John Arbash Meinel)
 
10474
 
 
10475
* Reserved ids (any revision-id ending in a colon) are rejected by
 
10476
  versionedfiles, repositories, branches, and working trees
 
10477
  (Aaron Bentley)
 
10478
 
 
10479
* Minor performance improvement by not creating a ProgressBar for
 
10480
  every KnitIndex we create. (about 90ms for a bzr.dev tree)
 
10481
  (John Arbash Meinel)
 
10482
 
 
10483
* New easier to use Branch hooks facility. There are five initial hooks,
 
10484
  all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
 
10485
  ``'post_push'``, ``'post_pull'``, ``'post_commit'``,
 
10486
  ``'post_uncommit'``. These hooks fire after the matching operation
 
10487
  on a branch has taken place, and were originally added for the
 
10488
  branchrss plugin. (Robert Collins)
 
10489
 
 
10490
* New method ``Branch.push()`` which should be used when pushing from a
 
10491
  branch as it makes performance and policy decisions to match the UI
 
10492
  level command ``push``. (Robert Collins).
 
10493
 
 
10494
* Add a new method ``Tree.revision_tree`` which allows access to cached
 
10495
  trees for arbitrary revisions. This allows the in development dirstate
 
10496
  tree format to provide access to the callers to cached copies of
 
10497
  inventory data which are cheaper to access than inventories from the
 
10498
  repository.
 
10499
  (Robert Collins, Martin Pool)
 
10500
 
 
10501
* New ``Branch.last_revision_info`` method, this is being done to allow
 
10502
  optimization of requests for both the number of revisions and the last
 
10503
  revision of a branch with smartservers and potentially future branch
 
10504
  formats. (Wouter van Heyst, Robert Collins)
 
10505
 
 
10506
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
 
10507
  yet been loaded by ``load_plugins()``. This allows plugins to depend on each
 
10508
  other for code reuse without requiring users to perform file-renaming
 
10509
  gymnastics. (Robert Collins)
 
10510
 
 
10511
* New Repository method ``'gather_stats'`` for statistic data collection.
 
10512
  This is expected to grow to cover a number of related uses mainly
 
10513
  related to bzr info. (Robert Collins)
 
10514
 
 
10515
* Log formatters are now managed with a registry.
 
10516
  ``log.register_formatter`` continues to work, but callers accessing
 
10517
  the FORMATTERS dictionary directly will not.
 
10518
 
 
10519
* Allow a start message to be passed to the ``edit_commit_message``
 
10520
  function.  This will be placed in the message offered to the user
 
10521
  for editing above the separator. It allows a template commit message
 
10522
  to be used more easily. (James Westby)
 
10523
 
 
10524
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
 
10525
  you pass a Unicode string rather than an 8-bit string. Callers need
 
10526
  to be updated to encode first. (John Arbash Meinel)
 
10527
 
 
10528
* Branch.push, pull, merge now return Result objects with information
 
10529
  about what happened, rather than a scattering of various methods.  These
 
10530
  are also passed to the post hooks.  (Martin Pool)
 
10531
 
 
10532
* File formats and architecture is in place for managing a forest of trees
 
10533
  in bzr, and splitting up existing trees into smaller subtrees, and
 
10534
  finally joining trees to make a larger tree. This is the first iteration
 
10535
  of this support, and the user-facing aspects still require substantial
 
10536
  work.  If you wish to experiment with it, use ``bzr upgrade
 
10537
  --dirstate-with-subtree`` in your working trees and repositories.
 
10538
  You can use the hidden commands ``split`` and ``join`` and to create
 
10539
  and manipulate nested trees, but please consider using the nested-trees
 
10540
  branch, which contains substantial UI improvements, instead.
 
10541
  http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
 
10542
  (Aaron Bentley, Martin Pool, Robert Collins).
 
10543
 
 
10544
Bugfixes
 
10545
********
 
10546
 
 
10547
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
 
10548
  branch, rather than the last changed revision of the file.
 
10549
  (John Arbash Meinel, #82158)
 
10550
 
 
10551
* Lock operations no longer hang if they encounter a permission problem.
 
10552
  (Aaron Bentley)
 
10553
 
 
10554
* ``bzr push`` can resume a push that was canceled before it finished.
 
10555
  Also, it can push even if the target directory exists if you supply
 
10556
  the ``--use-existing-dir`` flag.
 
10557
  (John Arbash Meinel, #30576, #45504)
 
10558
 
 
10559
* Fix http proxy authentication when user and an optional
 
10560
  password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
 
10561
  #83954).
 
10562
 
 
10563
* ``bzr log branch/file`` works for local treeless branches
 
10564
  (Aaron Bentley, #84247)
 
10565
 
 
10566
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
 
10567
 
 
10568
* Searching location of CA bundle for PyCurl in env variable
 
10569
  (``CURL_CA_BUNDLE``), and on win32 along the PATH.
 
10570
  (Alexander Belchenko, #82086)
 
10571
 
 
10572
* ``bzr init`` works with unicode argument LOCATION.
 
10573
  (Alexander Belchenko, #85599)
 
10574
 
 
10575
* Raise ``DependencyNotPresent`` if pycurl do not support https.
 
10576
  (Vincent Ladeuil, #85305)
 
10577
 
 
10578
* Invalid proxy env variables should not cause a traceback.
 
10579
  (Vincent Ladeuil, #87765)
 
10580
 
 
10581
* Ignore patterns normalised to use '/' path separator.
 
10582
  (Kent Gibson, #86451)
 
10583
 
 
10584
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
 
10585
 
 
10586
* Fix bzrtools shelve command for removed lines beginning with "--"
 
10587
  (Johan Dahlberg, #75577)
 
10588
 
 
10589
Testing
 
10590
*******
 
10591
 
 
10592
* New ``--first`` option to ``bzr selftest`` to run specified tests
 
10593
  before the rest of the suite.  (Martin Pool)
 
10594
 
 
10595
 
 
10596
bzr 0.14
 
10597
########
 
10598
 
 
10599
:Released:  2007-01-23
 
10600
 
 
10601
Improvements
 
10602
************
 
10603
 
 
10604
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
 
10605
 
 
10606
Bug Fixes
 
10607
*********
 
10608
 
 
10609
* Skip documentation generation tests if the tools to do so are not
 
10610
  available. Fixes running selftest for installled copies of bzr.
 
10611
  (John Arbash Meinel, #80330)
 
10612
 
 
10613
* Fix the code that discovers whether bzr is being run from it's
 
10614
  working tree to handle the case when it isn't but the directory
 
10615
  it is in is below a repository. (James Westby, #77306)
 
10616
 
 
10617
 
 
10618
bzr 0.14rc1
 
10619
###########
 
10620
 
 
10621
:Released:  2007-01-16
 
10622
 
 
10623
Improvements
 
10624
************
 
10625
 
 
10626
* New connection: ``bzr+http://`` which supports tunnelling the smart
 
10627
  protocol over an HTTP connection. If writing is enabled on the bzr
 
10628
  server, then you can write over the http connection.
 
10629
  (Andrew Bennetts, John Arbash Meinel)
 
10630
 
 
10631
* Aliases now support quotation marks, so they can contain whitespace
 
10632
  (Marius Kruger)
 
10633
 
 
10634
* PyCurlTransport now use a single curl object. By specifying explicitly
 
10635
  the 'Range' header, we avoid the need to use two different curl objects
 
10636
  (and two connections to the same server). (Vincent Ladeuil)
 
10637
 
 
10638
* ``bzr commit`` does not prompt for a message until it is very likely to
 
10639
  succeed.  (Aaron Bentley)
 
10640
 
 
10641
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
 
10642
  (Aaron Bentley)
 
10643
 
 
10644
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
 
10645
  of a list while checking if a revision id was requested. Takes 10s
 
10646
  off of the ``fileids_affected_by_revision_ids`` time, which is 10s
 
10647
  of the ``bzr branch`` time. Also improve ``fileids_...`` time by
 
10648
  filtering lines with a regex rather than multiple ``str.find()``
 
10649
  calls. (saves another 300ms) (John Arbash Meinel)
 
10650
 
 
10651
* Policy can be set for each configuration key. This allows keys to be
 
10652
  inherited properly across configuration entries. For example, this
 
10653
  should enable you to do::
 
10654
 
 
10655
    [/home/user/project]
 
10656
    push_location = sftp://host/srv/project/
 
10657
    push_location:policy = appendpath
 
10658
 
 
10659
  And then a branch like ``/home/user/project/mybranch`` should get an
 
10660
  automatic push location of ``sftp://host/srv/project/mybranch``.
 
10661
  (James Henstridge)
 
10662
 
 
10663
* Added ``bzr status --short`` to make status report svn style flags
 
10664
  for each file.  For example::
 
10665
 
 
10666
    $ bzr status --short
 
10667
    A  foo
 
10668
    A  bar
 
10669
    D  baz
 
10670
    ?  wooley
 
10671
 
 
10672
* 'bzr selftest --clean-output' allows easily clean temporary tests
 
10673
  directories without running tests. (Alexander Belchenko)
 
10674
 
 
10675
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
 
10676
 
 
10677
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
 
10678
  local is fully merged into remote. (Jan Hudec)
 
10679
 
 
10680
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
 
10681
 
 
10682
Internals
 
10683
*********
 
10684
 
 
10685
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
 
10686
  help speed up processing, as well allowing to extract unannotated
 
10687
  lines. Between the two ``fileids_affected_by_revision_ids`` is
 
10688
  improved by approx 10%. (John Arbash Meinel)
 
10689
 
 
10690
* Change Revision serialization to only write out millisecond
 
10691
  resolution. Rather than expecting floating point serialization to
 
10692
  preserve more resolution than we need. (Henri Weichers, Martin Pool)
 
10693
 
 
10694
* Test suite ends cleanly on Windows.  (Vincent Ladeuil)
 
10695
 
 
10696
* When ``encoding_type`` attribute of class Command is equal to 'exact',
 
10697
  force sys.stdout to be a binary stream on Windows, and therefore
 
10698
  keep exact line-endings (without LF -> CRLF conversion).
 
10699
  (Alexander Belchenko)
 
10700
 
 
10701
* Single-letter short options are no longer globally declared.  (Martin
 
10702
  Pool)
 
10703
 
 
10704
* Before using detected user/terminal encoding bzr should check
 
10705
  that Python has corresponding codec. (Alexander Belchenko)
 
10706
 
 
10707
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
 
10708
 
 
10709
Bug Fixes
 
10710
*********
 
10711
 
 
10712
* ``bzr missing --verbose`` was showing adds/removals in the wrong
 
10713
  direction. (John Arbash Meinel)
 
10714
 
 
10715
* ``bzr annotate`` now defaults to showing dotted revnos for merged
 
10716
  revisions. It cuts them off at a depth of 12 characters, but you can
 
10717
  supply ``--long`` to see the full number. You can also use
 
10718
  ``--show-ids`` to display the original revision ids, rather than
 
10719
  revision numbers and committer names. (John Arbash Meinel, #75637)
 
10720
 
 
10721
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
 
10722
  (Alexander Belchenko, #57869)
 
10723
 
 
10724
* Win32-specific: output of cat, bundle and diff commands don't mangle
 
10725
  line-endings (Alexander Belchenko, #55276)
 
10726
 
 
10727
* Replace broken fnmatch based ignore pattern matching with custom pattern
 
10728
  matcher.
 
10729
  (Kent Gibson, Jan Hudec #57637)
 
10730
 
 
10731
* pycurl and urllib can detect short reads at different places. Update
 
10732
  the test suite to test more cases. Also detect http error code 416
 
10733
  which was raised for that specific bug. Also enhance the urllib
 
10734
  robustness by detecting invalid ranges (and pycurl's one by detecting
 
10735
  short reads during the initial GET). (Vincent Ladeuil, #73948)
 
10736
 
 
10737
* The urllib connection sharing interacts badly with urllib2
 
10738
  proxy setting (the connections didn't go thru the proxy
 
10739
  anymore). Defining a proper ProxyHandler solves the
 
10740
  problem.  (Vincent Ladeuil, #74759)
 
10741
 
 
10742
* Use urlutils to generate relative URLs, not osutils
 
10743
  (Aaron Bentley, #76229)
 
10744
 
 
10745
* ``bzr status`` in a readonly directory should work without giving
 
10746
  lots of errors. (John Arbash Meinel, #76299)
 
10747
 
 
10748
* Mention the revisionspec topic for the revision option help.
 
10749
  (Wouter van Heyst, #31663)
 
10750
 
 
10751
* Allow plugins import from zip archives.
 
10752
  (Alexander Belchenko, #68124)
 
10753
 
 
10754
 
 
10755
bzr 0.13
 
10756
########
 
10757
 
 
10758
:Released:  2006-12-05
 
10759
 
 
10760
No changes from 0.13rc
 
10761
 
 
10762
 
 
10763
bzr 0.13rc1
 
10764
###########
 
10765
 
 
10766
:Released:  2006-11-27
 
10767
 
 
10768
Improvements
 
10769
************
 
10770
 
 
10771
* New command ``bzr remove-tree`` allows the removal of the working
 
10772
  tree from a branch.
 
10773
  (Daniel Silverstone)
 
10774
 
 
10775
* urllib uses shared keep-alive connections, so http
 
10776
  operations are substantially faster.
 
10777
  (Vincent Ladeuil, #53654)
 
10778
 
 
10779
* ``bzr export`` allows an optional branch parameter, to export a bzr
 
10780
  tree from some other url. For example:
 
10781
  ``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
 
10782
  (Daniel Silverstone)
 
10783
 
 
10784
* Added ``bzr help topics`` to the bzr help system. This gives a
 
10785
  location for general information, outside of a specific command.
 
10786
  This includes updates for ``bzr help revisionspec`` the first topic
 
10787
  included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
 
10788
 
 
10789
* WSGI-compatible HTTP smart server.  See ``doc/http_smart_server.txt``.
 
10790
  (Andrew Bennetts)
 
10791
 
 
10792
* Knit files will now cache full texts only when the size of the
 
10793
  deltas is as large as the size of the fulltext. (Or after 200
 
10794
  deltas, whichever comes first). This has the most benefit on large
 
10795
  files with small changes, such as the inventory for a large project.
 
10796
  (eg For a project with 2500 files, and 7500 revisions, it changes
 
10797
  the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
 
10798
 
 
10799
Internals
 
10800
*********
 
10801
 
 
10802
* New -D option given before the command line turns on debugging output
 
10803
  for particular areas.  -Derror shows tracebacks on all errors.
 
10804
  (Martin Pool)
 
10805
 
 
10806
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
10807
  and remove benchmarks that take longer than 10min to run.
 
10808
  (John Arbash Meinel)
 
10809
 
 
10810
* Use ``time.time()`` instead of ``time.clock()`` to decide on
 
10811
  progress throttling. Because ``time.clock()`` is actually CPU time,
 
10812
  so over a high-latency connection, too many updates get throttled.
 
10813
  (John Arbash Meinel)
 
10814
 
 
10815
* ``MemoryTransport.list_dir()`` would strip the first character for
 
10816
  files or directories in root directory. (John Arbash Meinel)
 
10817
 
 
10818
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
 
10819
  branch references - which the smart server component needs.
 
10820
 
 
10821
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
 
10822
  prefix.  It disallows any access to locations above a set URL.  (Andrew
 
10823
  Bennetts)
 
10824
 
 
10825
Bug Fixes
 
10826
*********
 
10827
 
 
10828
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
 
10829
  And optimize the knit index parsing code.
 
10830
  (Dmitry Vasiliev, John Arbash Meinel)
 
10831
 
 
10832
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
 
10833
  without importing it. This prevented ``bzr upgrade`` from working
 
10834
  unless a plugin already imported ``bzrlib.workingtree``
 
10835
  (John Arbash Meinel, #70716)
 
10836
 
 
10837
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
 
10838
 
 
10839
* Give nicer error message when an http server returns a 403
 
10840
  error code. (Vincent Ladeuil, #57644).
 
10841
 
 
10842
* When a multi-range http GET request fails, try a single
 
10843
  range one. If it fails too, forget about ranges. Remember that until
 
10844
  the death of the transport and propagates that to the clones.
 
10845
  (Vincent Ladeuil, #62276, #62029).
 
10846
 
 
10847
* Handles user/passwords supplied in url from command
 
10848
  line (for the urllib implementation). Don't request already
 
10849
  known passwords (Vincent Ladeuil, #42383, #44647, #48527)
 
10850
 
 
10851
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
 
10852
  are added. This fixes bug where fetching remote revisions records
 
10853
  them as full references rather than integers.
 
10854
  (John Arbash Meinel, #64789)
 
10855
 
 
10856
* ``bzr ignore`` strips trailing slashes in patterns.
 
10857
  Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
 
10858
 
 
10859
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
 
10860
 
 
10861
* mv correctly handles paths that traverse symlinks.
 
10862
  (Aaron Bentley, #66964)
 
10863
 
 
10864
* Give nicer looking error messages when failing to connect over ssh.
 
10865
  (John Arbash Meinel, #49172)
 
10866
 
 
10867
* Pushing to a remote branch does not currently update the remote working
 
10868
  tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
 
10869
  machine now show that the working tree is out of date.
 
10870
  (Cheuksan Edward Wang #48136)
 
10871
 
 
10872
* Use patiencediff instead of difflib for determining deltas to insert
 
10873
  into knits. This avoids the O(N^3) behavior of difflib. Patience
 
10874
  diff should be O(N^2). (Cheuksan Edward Wang, #65714)
 
10875
 
 
10876
* Running ``bzr log`` on nonexistent file gives an error instead of the
 
10877
  entire log history. (Cheuksan Edward Wang #50793)
 
10878
 
 
10879
* ``bzr cat`` can look up contents of removed or renamed files. If the
 
10880
  pathname is ambiguous, i.e. the files in the old and new trees have
 
10881
  different id's, the default is the file in the new tree. The user can
 
10882
  use "--name-from-revision" to select the file in the old tree.
 
10883
  (Cheuksan Edward Wang, #30190)
 
10884
 
 
10885
Testing
 
10886
*******
 
10887
 
 
10888
* TestingHTTPRequestHandler really handles the Range header
 
10889
  (previously it was ignoring it and returning the whole file,).
 
10890
 
 
10891
bzr 0.12
 
10892
########
 
10893
 
 
10894
:Released:  2006-10-30
 
10895
 
 
10896
Internals
 
10897
*********
 
10898
 
 
10899
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
 
10900
  and remove benchmarks that take longer than 10min to run.
 
10901
  (John Arbash Meinel)
 
10902
 
 
10903
bzr 0.12rc1
 
10904
###########
 
10905
 
 
10906
:Released:  2006-10-23
 
10907
 
 
10908
Improvements
 
10909
************
 
10910
 
 
10911
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
 
10912
  rather than just showing a decimal revision number for revisions on the
 
10913
  mainline. These revision numbers are not yet accepted as input into bzr
 
10914
  commands such as log, diff etc. (Robert Collins)
 
10915
 
 
10916
* revisions can now be specified using dotted-decimal revision numbers.
 
10917
  For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
 
10918
 
 
10919
* ``bzr help commands`` output is now shorter (Aaron Bentley)
 
10920
 
 
10921
* ``bzr`` now uses lazy importing to reduce the startup time. This has
 
10922
  a moderate effect on lots of actions, especially ones that have
 
10923
  little to do. For example ``bzr rocks`` time is down to 116ms from
 
10924
  283ms. (John Arbash Meinel)
 
10925
 
 
10926
* New Registry class to provide name-to-object registry-like support,
 
10927
  for example for schemes where plugins can register new classes to
 
10928
  do certain tasks (e.g. log formatters). Also provides lazy registration
 
10929
  to allow modules to be loaded on request.
 
10930
  (John Arbash Meinel, Adeodato Simó)
 
10931
 
 
10932
API Incompatability
 
10933
*******************
 
10934
 
 
10935
* LogFormatter subclasses show now expect the 'revno' parameter to
 
10936
  show() to be a string rather than an int. (Robert Collins)
 
10937
 
 
10938
Internals
 
10939
*********
 
10940
 
 
10941
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
 
10942
  can take a ``working_dir='foo'`` parameter, which will change directory
 
10943
  for the command. (John Arbash Meinel)
 
10944
 
 
10945
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
 
10946
  around a regex, which defers compilation until first use.
 
10947
  (John Arbash Meinel)
 
10948
 
 
10949
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
 
10950
  ``--no-plugins`` parameter to ensure test reproducability, and avoid
 
10951
  problems with system-wide installed plugins. (John Arbash Meinel)
 
10952
 
 
10953
* Unique tree root ids are now supported. Newly created trees still
 
10954
  use the common root id for compatibility with bzr versions before 0.12.
 
10955
  (Aaron Bentley)
 
10956
 
 
10957
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
 
10958
  pass in ``inventory.ROOT_ID`` if you want the default root id value.
 
10959
  (Robert Collins, John Arbash Meinel)
 
10960
 
 
10961
* New method ``WorkingTree.flush()`` which will write the current memory
 
10962
  inventory out to disk. At the same time, ``read_working_inventory`` will
 
10963
  no longer trash the current tree inventory if it has been modified within
 
10964
  the current lock, and the tree will now ``flush()`` automatically on
 
10965
  ``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
 
10966
  advantage of this functionality. (Robert Collins, John Arbash Meinel)
 
10967
 
 
10968
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
 
10969
  parameter will cause it to add another column to its output, which
 
10970
  contains the dotted-decimal revno for each revision, as a tuple.
 
10971
  (Robert Collins)
 
10972
 
 
10973
* ``LogFormatter.show_merge`` is deprecated in favour of
 
10974
  ``LogFormatter.show_merge_revno``. (Robert Collins)
 
10975
 
 
10976
Bug Fixes
 
10977
*********
 
10978
 
 
10979
* Avoid circular imports by creating a deprecated function for
 
10980
  ``bzrlib.tree.RevisionTree``. Callers should have been using
 
10981
  ``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
 
10982
  #66349)
 
10983
 
 
10984
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
 
10985
  platforms. (Martin Pool, #66356)
 
10986
 
 
10987
* Don't require ``Content-Type`` in range responses. Assume they are a
 
10988
  single range if ``Content-Type`` does not exist.
 
10989
  (John Arbash Meinel, #62473)
 
10990
 
 
10991
* bzr branch/pull no longer complain about progress bar cleanup when
 
10992
  interrupted during fetch.  (Aaron Bentley, #54000)
 
10993
 
 
10994
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
 
10995
  the basis inventory, rather than going through the repository. This
 
10996
  allows us to have 1 inventory read, and 2 inventory writes when
 
10997
  committing a new tree. (John Arbash Meinel)
 
10998
 
 
10999
* When reverting, files that are not locally modified that do not exist
 
11000
  in the target are deleted, not just unversioned (Aaron Bentley)
 
11001
 
 
11002
* When trying to acquire a lock, don't fail immediately. Instead, try
 
11003
  a few times (up to 1 hour) before timing out. Also, report why the
 
11004
  lock is unavailable (John Arbash Meinel, #43521, #49556)
 
11005
 
 
11006
* Leave HttpTransportBase daughter classes decides how they
 
11007
  implement cloning. (Vincent Ladeuil, #61606)
 
11008
 
 
11009
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
 
11010
 
 
11011
* If a commit fails, the commit message is stored in a file at the root of
 
11012
  the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
 
11013
  #32054)
 
11014
 
 
11015
Testing
 
11016
*******
 
11017
 
 
11018
* New test base class TestCaseWithMemoryTransport offers memory-only
 
11019
  testing facilities: its not suitable for tests that need to mutate disk
 
11020
  state, but most tests should not need that and should be converted to
 
11021
  TestCaseWithMemoryTransport. (Robert Collins)
 
11022
 
 
11023
* ``TestCase.make_branch_and_memory_tree`` now takes a format
 
11024
  option to set the BzrDir, Repository and Branch formats of the
 
11025
  created objects. (Robert Collins, John Arbash Meinel)
 
11026
 
 
11027
bzr 0.11
 
11028
########
 
11029
 
 
11030
:Released:  2006-10-02
 
11031
 
 
11032
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
 
11033
 
 
11034
bzr 0.11rc2
 
11035
###########
 
11036
 
 
11037
:Released:  2006-09-27
 
11038
 
 
11039
Bug Fixes
 
11040
*********
 
11041
 
 
11042
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
 
11043
 
 
11044
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
 
11045
  Arbash Meinel).
 
11046
 
 
11047
bzr 0.11rc1
 
11048
###########
 
11049
 
 
11050
:Released:  2006-09-25
 
11051
 
 
11052
Improvements
 
11053
************
 
11054
 
 
11055
* Knit files now wait to create their contents until the first data is
 
11056
  added. The old code used to create an empty .knit and a .kndx with just
 
11057
  the header. However, this caused a lot of extra round trips over sftp.
 
11058
  This can change the time for ``bzr push`` to create a new remote branch
 
11059
  from 160s down to 100s. This also affects ``bzr commit`` performance when
 
11060
  adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
 
11061
  down to 40s (John Arbash Meinel, #44692)
 
11062
 
 
11063
* When an entire subtree has been deleted, commit will now report that
 
11064
  just the top of the subtree has been deleted, rather than reporting
 
11065
  all the individual items. (Robert Collins)
 
11066
 
 
11067
* Commit performs one less XML parse. (Robert Collins)
 
11068
 
 
11069
* ``bzr checkout`` now operates on readonly branches as well
 
11070
  as readwrite branches. This fixes bug #39542. (Robert Collins)
 
11071
 
 
11072
* ``bzr bind`` no longer synchronises history with the master branch.
 
11073
  Binding should be followed by an update or push to synchronise the
 
11074
  two branches. This is closely related to the fix for bug #39542.
 
11075
  (Robert Collins)
 
11076
 
 
11077
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
 
11078
  objects.  This allows all imports to stay at the global scope, but
 
11079
  modules will not actually be imported if they are not used.
 
11080
  (John Arbash Meinel)
 
11081
 
 
11082
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
 
11083
  transport which will be used with the upcoming high-performance smart
 
11084
  server. The new command ``bzr serve`` will invoke bzr in server mode,
 
11085
  which processes these requests. (Andrew Bennetts, Robert Collins, Martin
 
11086
  Pool)
 
11087
 
 
11088
* New command ``bzr version-info`` which can be used to get a summary
 
11089
  of the current state of the tree. This is especially useful as part
 
11090
  of a build commands. See ``doc/version_info.txt`` for more information
 
11091
  (John Arbash Meinel)
 
11092
 
 
11093
Bug Fixes
 
11094
*********
 
11095
 
 
11096
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
 
11097
  specific set of files. (John Arbash Meinel, #3631)
 
11098
 
 
11099
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
 
11100
 
 
11101
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
 
11102
  when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
 
11103
  reading a nested Stanza. (John Arbash Meinel)
 
11104
 
 
11105
* Transform._set_mode() needs to stat the right file.
 
11106
  (John Arbash Meinel, #56549)
 
11107
 
 
11108
* Raise WeaveFormatError rather than StopIteration when trying to read
 
11109
  an empty Weave file. (John Arbash Meinel, #46871)
 
11110
 
 
11111
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
 
11112
  (Vincent Ladeuil, #59835)
 
11113
 
 
11114
* Handle boundary="" lines properly to allow access through a Squid proxy.
 
11115
  (John Arbash Meinel, #57723)
 
11116
 
 
11117
* revert now removes newly-added directories (Aaron Bentley, #54172)
 
11118
 
 
11119
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
 
11120
  isn't a working tree. (David Allouche, #40679)
 
11121
 
 
11122
* Give nicer error messages when a user supplies an invalid --revision
 
11123
  parameter. (John Arbash Meinel, #55420)
 
11124
 
 
11125
* Handle when LANG is not recognized by python. Emit a warning, but
 
11126
  just revert to using 'ascii'. (John Arbash Meinel, #35392)
 
11127
 
 
11128
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
 
11129
  (John Arbash Meinel)
 
11130
 
 
11131
* Skip specific tests when the dependencies aren't met. This includes
 
11132
  some ``setup.py`` tests when ``python-dev`` is not available, and
 
11133
  some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
 
11134
 
 
11135
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
 
11136
  the system. (Andrew Bennetts, John Arbash Meinel)
 
11137
 
 
11138
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
 
11139
  other branch, and will not push or pull between the two branches.
 
11140
  API users will need to perform a push or pull or update operation if they
 
11141
  require branch synchronisation to take place. (Robert Collins, #47344)
 
11142
 
 
11143
* When creating a tarball or zipfile export, export unicode names as utf-8
 
11144
  paths. This may not work perfectly on all platforms, but has the best
 
11145
  chance of working in the common case. (John Arbash Meinel, #56816)
 
11146
 
 
11147
* When committing, only files that exist in working tree or basis tree
 
11148
  may be specified (Aaron Bentley, #50793)
 
11149
 
 
11150
Portability
 
11151
***********
 
11152
 
 
11153
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
 
11154
 
 
11155
Internals
 
11156
*********
 
11157
 
 
11158
* TestCaseInTempDir now creates a separate directory for HOME, rather
 
11159
  than having HOME set to the same location as the working directory.
 
11160
  (John Arbash Meinel)
 
11161
 
 
11162
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
 
11163
  which will update os.environ inside the spawned child. It also can
 
11164
  take a ``universal_newlines=True``, which helps when checking the output
 
11165
  of the command. (John Arbash Meinel)
 
11166
 
 
11167
* Refactor SFTP vendors to allow easier re-use when ssh is used.
 
11168
  (Andrew Bennetts)
 
11169
 
 
11170
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
 
11171
  return urlescaped paths. This is now tested (there were bugs in a few
 
11172
  of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
 
11173
 
 
11174
* New utility function ``symbol_versioning.deprecation_string``. Returns the
 
11175
  formatted string for a callable, deprecation format pair. (Robert Collins)
 
11176
 
 
11177
* New TestCase helper applyDeprecated. This allows you to call a callable
 
11178
  which is deprecated without it spewing to the screen, just by supplying
 
11179
  the deprecation format string issued for it. (Robert Collins)
 
11180
 
 
11181
* Transport.append and Transport.put have been deprecated in favor of
 
11182
  ``.append_bytes``, ``.append_file``, ``.put_bytes``, and
 
11183
  ``.put_file``. This removes the ambiguity in what type of object the
 
11184
  functions take.  ``Transport.non_atomic_put_{bytes,file}`` has also
 
11185
  been added. Which works similarly to ``Transport.append()`` except for
 
11186
  SFTP, it doesn't have a round trip when opening the file. Also, it
 
11187
  provides functionality for creating a parent directory when trying
 
11188
  to create a file, rather than raise NoSuchFile and forcing the
 
11189
  caller to repeat their request.
 
11190
  (John Arbash Meinel)
 
11191
 
 
11192
* WorkingTree has a new api ``unversion`` which allow the unversioning of
 
11193
  entries by their file id. (Robert Collins)
 
11194
 
 
11195
* ``WorkingTree.pending_merges`` is deprecated.  Please use the
 
11196
  ``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
 
11197
 
 
11198
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
 
11199
  read rather than write. This is appropriate for actions which only need
 
11200
  the branch data for reference rather than mutation. A new decorator
 
11201
  ``needs_tree_write_lock`` is provided in the workingtree module. Like the
 
11202
  ``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
 
11203
  declaration of the locking requirements of a function to ensure that
 
11204
  a lock is taken out for casual scripts. (Robert Collins, #54107)
 
11205
 
 
11206
* All WorkingTree methods which write to the tree, but not to the branch
 
11207
  have been converted to use ``needs_tree_write_lock`` rather than
 
11208
  ``needs_write_lock``. Also converted is the revert, conflicts and tree
 
11209
  transform modules. This provides a modest performance improvement on
 
11210
  metadir style trees, due to the reduce lock-acquisition, and a more
 
11211
  significant performance improvement on lightweight checkouts from
 
11212
  remote branches, where trivial operations used to pay a significant
 
11213
  penalty. It also provides the basis for allowing readonly checkouts.
 
11214
  (Robert Collins)
 
11215
 
 
11216
* Special case importing the standard library 'copy' module. This shaves
 
11217
  off 40ms of startup time, while retaining compatibility. See:
 
11218
  ``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
 
11219
 
 
11220
* WorkingTree has a new parent class MutableTree which represents the
 
11221
  specialisations of Tree which are able to be altered. (Robert Collins)
 
11222
 
 
11223
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
 
11224
  mutate the tree and its contents. (Robert Collins)
 
11225
 
 
11226
* Transport behaviour at the root of the URL is now defined and tested.
 
11227
  (Andrew Bennetts, Robert Collins)
 
11228
 
 
11229
Testing
 
11230
*******
 
11231
 
 
11232
* New test helper classs MemoryTree. This is typically accessed via
 
11233
  ``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
 
11234
 
 
11235
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
 
11236
  code to continue running concurrently with a subprocess of bzr.
 
11237
  (Andrew Bennetts, Robert Collins)
 
11238
 
 
11239
* Add a new method ``Transport.get_smart_client()``. This is provided to
 
11240
  allow upgrades to a richer interface than the VFS one provided by
 
11241
  Transport. (Andrew Bennetts, Martin Pool)
 
11242
 
 
11243
bzr 0.10
 
11244
########
 
11245
 
 
11246
:Released:  2006-08-29
 
11247
 
 
11248
Improvements
 
11249
************
 
11250
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
 
11251
  tree.  (Aaron Bentley)
 
11252
 
 
11253
* 'bzr add --file-ids-from' can be used to specify another path to use
 
11254
  for creating file ids, rather than generating all new ones. Internally,
 
11255
  the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
 
11256
  will be used, rather than having bzrlib generate new ones.
 
11257
  (John Arbash Meinel, #55781)
 
11258
 
 
11259
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
 
11260
  This will cache some of the intermediate trees, and decrease the
 
11261
  setup time for benchmark tests. (John Arbash Meinel)
 
11262
 
 
11263
* Inverse forms are provided for all boolean options.  For example,
 
11264
  --strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
 
11265
 
 
11266
* Serialize out Inventories directly, rather than using ElementTree.
 
11267
  Writing out a kernel sized inventory drops from 2s down to ~350ms.
 
11268
  (Robert Collins, John Arbash Meinel)
 
11269
 
 
11270
Bug Fixes
 
11271
*********
 
11272
 
 
11273
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
 
11274
 
 
11275
* Change LockDir so that if the lock directory doesn't exist when
 
11276
  ``lock_write()`` is called, an attempt will be made to create it.
 
11277
  (John Arbash Meinel, #56974)
 
11278
 
 
11279
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
 
11280
 
 
11281
* Active FTP transport now works as intended. (ghozzy, #56472)
 
11282
 
 
11283
* Really fix mutter() so that it won't ever raise a UnicodeError.
 
11284
  It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
 
11285
  But it is a debugging log, not a real user file.
 
11286
  (John Arbash Meinel, #56947, #53880)
 
11287
 
 
11288
* Change Command handle to allow Unicode command and options.
 
11289
  At present we cannot register Unicode command names, so we will get
 
11290
  BzrCommandError('unknown command'), or BzrCommandError('unknown option')
 
11291
  But that is better than a UnicodeError + a traceback.
 
11292
  (John Arbash Meinel, #57123)
 
11293
 
 
11294
* Handle TZ=UTC properly when reading/writing revisions.
 
11295
  (John Arbash Meinel, #55783, #56290)
 
11296
 
 
11297
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
 
11298
  (passing text to sign in on stdin). (John Arbash Meinel, #54468)
 
11299
 
 
11300
* External diff does the right thing for binaries even in foreign
 
11301
  languages. (John Arbash Meinel, #56307)
 
11302
 
 
11303
* Testament handles more cases when content is unicode. Specific bug was
 
11304
  in handling of revision properties.
 
11305
  (John Arbash Meinel, Holger Krekel, #54723)
 
11306
 
 
11307
* The bzr selftest was failing on installed versions due to a bug in a new
 
11308
  test helper. (John Arbash Meinel, Robert Collins, #58057)
 
11309
 
 
11310
Internals
 
11311
*********
 
11312
 
 
11313
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
 
11314
  which can be used to cache the conversion between utf8 and Unicode.
 
11315
  Especially helpful for some of the knit annotation code, which has to
 
11316
  convert revision ids to utf8 to annotate lines in storage.
 
11317
  (John Arbash Meinel)
 
11318
 
 
11319
* ``setup.py`` now searches the filesystem to find all packages which
 
11320
  need to be installed. This should help make the life of packagers
 
11321
  easier. (John Arbash Meinel)
 
11322
 
 
11323
bzr 0.9.0
 
11324
#########
 
11325
 
 
11326
:Released:  2006-08-11
 
11327
 
 
11328
Surprises
 
11329
*********
 
11330
 
 
11331
* The hard-coded built-in ignore rules have been removed. There are
 
11332
  now two rulesets which are enforced. A user global one in
 
11333
  ``~/.bazaar/ignore`` which will apply to every tree, and the tree
 
11334
  specific one '.bzrignore'.
 
11335
  ``~/.bazaar/ignore`` will be created if it does not exist, but with
 
11336
  a more conservative list than the old default.
 
11337
  This fixes bugs with default rules being enforced no matter what.
 
11338
  The old list of ignore rules from bzr is available by
 
11339
  running 'bzr ignore --old-default-rules'.
 
11340
  (Robert Collins, Martin Pool, John Arbash Meinel)
 
11341
 
 
11342
* 'branches.conf' has been changed to 'locations.conf', since it can apply
 
11343
  to more locations than just branch locations.
 
11344
  (Aaron Bentley)
 
11345
 
 
11346
Improvements
 
11347
************
 
11348
 
 
11349
* The revision specifier "revno:" is extended to accept the syntax
 
11350
  revno:N:branch. For example,
 
11351
  revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
 
11352
  bzr.dev.  (Matthieu Moy)
 
11353
 
 
11354
* Tests updates to ensure proper URL handling, UNICODE support, and
 
11355
  proper printing when the user's terminal encoding cannot display
 
11356
  the path of a file that has been versioned.
 
11357
  ``bzr branch`` can take a target URL rather than only a local directory.
 
11358
  ``Branch.get_parent()/set_parent()`` now save a relative path if possible,
 
11359
  and normalize the parent based on root, allowing access across
 
11360
  different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
 
11361
  (Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
 
11362
  #42517, #42514)
 
11363
 
 
11364
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
 
11365
  Use terminal width for single-line logs from ``bzr log --line`` and
 
11366
  pending-merge display.  (Robert Widhopf-Fenk, Gustavo Niemeyer)
 
11367
  (Malone #3507)
 
11368
 
 
11369
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
 
11370
  (Alexander Belchenko)
 
11371
 
 
11372
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
 
11373
 
 
11374
* Show the correct number of revisions pushed when pushing a new branch.
 
11375
  (Robert Collins).
 
11376
 
 
11377
* 'bzr selftest' now shows a progress bar with the number of tests, and
 
11378
  progress made. 'make check' shows tests in -v mode, to be more useful
 
11379
  for the PQM status window. (Robert Collins).
 
11380
  When using a progress bar, failed tests are printed out, rather than
 
11381
  being overwritten by the progress bar until the suite finishes.
 
11382
  (John Arbash Meinel)
 
11383
 
 
11384
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
 
11385
  'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
 
11386
  profile data for the individual profiled calls, allowing for fine
 
11387
  grained analysis of performance.
 
11388
  (Robert Collins, Martin Pool).
 
11389
 
 
11390
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
 
11391
  where commit can take an appreciable time. (Robert Collins)
 
11392
 
 
11393
* 'bzr add' is now less verbose in telling you what ignore globs were
 
11394
  matched by files being ignored. Instead it just tells you how many
 
11395
  were ignored (because you might reasonably be expecting none to be
 
11396
  ignored). 'bzr add -v' is unchanged and will report every ignored
 
11397
  file. (Robert Collins).
 
11398
 
 
11399
* ftp now has a test server if medusa is installed. As part of testing,
 
11400
  ftp support has been improved, including support for supplying a
 
11401
  non-standard port. (John Arbash Meinel).
 
11402
 
 
11403
* 'bzr log --line' shows the revision number, and uses only the
 
11404
  first line of the log message (#5162, Alexander Belchenko;
 
11405
  Matthieu Moy)
 
11406
 
 
11407
* 'bzr status' has had the --all option removed. The 'bzr ls' command
 
11408
  should be used to retrieve all versioned files. (Robert Collins)
 
11409
 
 
11410
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
 
11411
  over email, and applied on the other end, while maintaining ancestry.
 
11412
  This bundle can be applied with either 'bzr merge' or 'bzr pull',
 
11413
  the same way you would apply another branch.
 
11414
  (John Arbash Meinel, Aaron Bentley)
 
11415
 
 
11416
* 'bzr whoami' can now be used to set your identity from the command line,
 
11417
  for a branch or globally.  (Robey Pointer)
 
11418
 
 
11419
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
 
11420
  (Michael Ellerman)
 
11421
 
 
11422
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
 
11423
  (Aaron Bentley)
 
11424
 
 
11425
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
 
11426
  Also updates things like 'http+pycurl://' if pycurl is not present.
 
11427
  (John Arbash Meinel) (Malone #47821, #52204)
 
11428
 
 
11429
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
 
11430
  Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
 
11431
  'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
 
11432
 
 
11433
* Improve the help text for 'bzr diff' to explain what various options do.
 
11434
  (John Arbash Meinel, #6391)
 
11435
 
 
11436
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
 
11437
  revision 10. This makes -r10 more in line with what other commands do.
 
11438
  'bzr uncommit' also now saves the pending merges of the revisions that
 
11439
  were removed. So it is safe to uncommit after a merge, fix something,
 
11440
  and commit again. (John Arbash Meinel, #32526, #31426)
 
11441
 
 
11442
* 'bzr init' now also works on remote locations.
 
11443
  (Wouter van Heyst, #48904)
 
11444
 
 
11445
* HTTP support has been updated. When using pycurl we now support
 
11446
  connection keep-alive, which reduces dns requests and round trips.
 
11447
  And for both urllib and pycurl we support multi-range requests,
 
11448
  which decreases the number of round-trips. Performance results for
 
11449
  ``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
 
11450
  http branching is now 2-3x faster, and ``bzr pull`` in an existing
 
11451
  branch is as much as 4x faster.
 
11452
  (Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
 
11453
 
 
11454
* Performance improvements for sftp. Branching and pulling are now up to
 
11455
  2x faster. Utilize paramiko.readv() support for async requests if it
 
11456
  is available (paramiko > 1.6) (John Arbash Meinel)
 
11457
 
 
11458
Bug Fixes
 
11459
*********
 
11460
 
 
11461
* Fix shadowed definition of TestLocationConfig that caused some
 
11462
  tests not to run.
 
11463
  (Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
 
11464
 
 
11465
* Fix unnecessary requirement of sign-my-commits that it be run from
 
11466
  a working directory.  (Martin Pool, Robert Collins)
 
11467
 
 
11468
* 'bzr push location' will only remember the push location if it succeeds
 
11469
  in connecting to the remote location. (John Arbash Meinel, #49742)
 
11470
 
 
11471
* 'bzr revert' no longer toggles the executable bit on win32
 
11472
  (John Arbash Meinel, #45010)
 
11473
 
 
11474
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
 
11475
 
 
11476
* sftp tests now work correctly on win32 if you have a newer paramiko
 
11477
  (John Arbash Meinel)
 
11478
 
 
11479
* Cleanup win32 test suite, and general cleanup of places where
 
11480
  file handles were being held open. (John Arbash Meinel)
 
11481
 
 
11482
* When specifying filenames for 'diff -r x..y', the name of the file in the
 
11483
  working directory can be used, even if its name is different in both x
 
11484
  and y.
 
11485
 
 
11486
* File-ids containing single- or double-quotes are handled correctly by
 
11487
  push. (Aaron Bentley, #52227)
 
11488
 
 
11489
* Normalize unicode filenames to ensure cross-platform consistency.
 
11490
  (John Arbash Meinel, #43689)
 
11491
 
 
11492
* The argument parser can now handle '-' as an argument. Currently
 
11493
  no code interprets it specially (it is mostly handled as a file named
 
11494
  '-'). But plugins, and future operations can use it.
 
11495
  (John Arbash meinel, #50984)
 
11496
 
 
11497
* Bundles can properly read binary files with a plain '\r' in them.
 
11498
  (John Arbash Meinel, #51927)
 
11499
 
 
11500
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
 
11501
 
 
11502
* Lots of win32 fixes (the test suite passes again).
 
11503
  (John Arbash Meinel, #50155)
 
11504
 
 
11505
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
 
11506
 
 
11507
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
 
11508
 
 
11509
* Removals are only committed if they match the filespec (or if there is
 
11510
  no filespec).  (#46635, Aaron Bentley)
 
11511
 
 
11512
* smart-add recurses through all supplied directories
 
11513
  (John Arbash Meinel, #52578)
 
11514
 
 
11515
* Make the bundle reader extra lines before and after the bundle text.
 
11516
  This allows you to parse an email with the bundle inline.
 
11517
  (John Arbash Meinel, #49182)
 
11518
 
 
11519
* Change the file id generator to squash a little bit more. Helps when
 
11520
  working with long filenames on windows. (Also helps for unicode filenames
 
11521
  not generating hidden files). (John Arbash Meinel, #43801)
 
11522
 
 
11523
* Restore terminal mode on C-c while reading sftp password.  (#48923,
 
11524
  Nicholas Allen, Martin Pool)
 
11525
 
 
11526
* Timestamps are rounded to 1ms, and revision entries can be recreated
 
11527
  exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
 
11528
 
 
11529
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
 
11530
  use local paths, since it is user visible (John Arbash Meinel, #53653)
 
11531
 
 
11532
* ``bzr status foo`` when foo was unversioned used to cause a full delta
 
11533
  to be generated (John Arbash Meinel, #53638)
 
11534
 
 
11535
* When reading revision properties, an empty value should be considered
 
11536
  the empty string, not None (John Arbash Meinel, #47782)
 
11537
 
 
11538
* ``bzr diff --diff-options`` can now handle binary files being changed.
 
11539
  Also, the output is consistent when --diff-options is not supplied.
 
11540
  (John Arbash Meinel, #54651, #52930)
 
11541
 
 
11542
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
 
11543
 
 
11544
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
 
11545
  accessible (John Arbash Meinel, #52976)
 
11546
 
 
11547
Internals
 
11548
*********
 
11549
 
 
11550
* Combine the ignore rules into a single regex rather than looping over
 
11551
  them to reduce the threshold where  N^2 behaviour occurs in operations
 
11552
  like status. (Jan Hudec, Robert Collins).
 
11553
 
 
11554
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
 
11555
  one of the add functions in bzrlib.ignores. (John Arbash Meinel)
 
11556
 
 
11557
* 'bzr push' should only push the ancestry of the current revision, not
 
11558
  all of the history in the repository. This is especially important for
 
11559
  shared repositories. (John Arbash Meinel)
 
11560
 
 
11561
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
 
11562
  rather than randomly walking the inventories. (John Arbash Meinel)
 
11563
 
 
11564
* Doctests are now run in temporary directories which are cleaned up when
 
11565
  they finish, rather than using special ScratchDir/ScratchBranch objects.
 
11566
  (Martin Pool)
 
11567
 
 
11568
* Split ``check`` into separate methods on the branch and on the repository,
 
11569
  so that it can be specialized in ways that are useful or efficient for
 
11570
  different formats.  (Martin Pool, Robert Collins)
 
11571
 
 
11572
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
 
11573
  the global revision graph but only that part leading up to a particular
 
11574
  revision.  (Martin Pool, Robert Collins)
 
11575
 
 
11576
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
 
11577
  that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
 
11578
  (Robert Collins, Jelmer Vernooij).
 
11579
 
 
11580
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
 
11581
  Uses subprocess instead of spawnvp.
 
11582
  (James Henstridge, John Arbash Meinel, #4047, #48914)
 
11583
 
 
11584
* New command line option '--profile-imports', which will install a custom
 
11585
  importer to log time to import modules and regex compilation time to
 
11586
  sys.stderr (John Arbash Meinel)
 
11587
 
 
11588
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
 
11589
  instead. (Robert Collins)
 
11590
 
 
11591
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
 
11592
 
 
11593
bzr 0.8.2
 
11594
#########
 
11595
 
 
11596
:Released:  2006-05-17
 
11597
 
 
11598
Bug Fixes
 
11599
*********
 
11600
 
 
11601
* setup.py failed to install launchpad plugin.  (Martin Pool)
 
11602
 
 
11603
bzr 0.8.1
 
11604
#########
 
11605
 
 
11606
:Released:  2006-05-16
 
11607
 
 
11608
Bug Fixes
 
11609
*********
 
11610
 
 
11611
* Fix failure to commit a merge in a checkout.  (Martin Pool,
 
11612
  Robert Collins, Erik Bågfors, #43959)
 
11613
 
 
11614
* Nicer messages from 'commit' in the case of renames, and correct
 
11615
  messages when a merge has occured. (Robert Collins, Martin Pool)
 
11616
 
 
11617
* Separate functionality from assert statements as they are skipped in
 
11618
  optimized mode of python. Add the same check to pending merges.
 
11619
  (Olaf Conradi, #44443)
 
11620
 
 
11621
Changes
 
11622
*******
 
11623
 
 
11624
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
 
11625
 
 
11626
* Add info on standalone branches without a working tree.
 
11627
  (Olaf Conradi, #44155)
 
11628
 
 
11629
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
 
11630
 
 
11631
Changes
 
11632
*******
 
11633
 
 
11634
* Make editor invocation comply with Debian Policy. First check
 
11635
  environment variables VISUAL and EDITOR, then try editor from
 
11636
  alternatives system. If that all fails, fall back to the pre-defined
 
11637
  list of editors. (Olaf Conradi, #42904)
 
11638
 
 
11639
New Features
 
11640
************
 
11641
 
 
11642
* New 'register-branch' command registers a public branch into
 
11643
  Launchpad.net, where it can be associated with bugs, etc.
 
11644
  (Martin Pool, Bjorn Tillenius, Robert Collins)
 
11645
 
 
11646
Internals
 
11647
*********
 
11648
 
 
11649
* New public api in InventoryEntry - ``describe_change(old, new)`` which
 
11650
  provides a human description of the changes between two old and
 
11651
  new. (Robert Collins, Martin Pool)
 
11652
 
 
11653
Testing
 
11654
*******
 
11655
 
 
11656
* Fix test case for bzr info in upgrading a standalone branch to metadir,
 
11657
  uses bzrlib api now. (Olaf Conradi)
 
11658
 
 
11659
bzr 0.8
 
11660
#######
 
11661
 
 
11662
:Released:  2006-05-08
 
11663
 
 
11664
Notes When Upgrading
 
11665
********************
 
11666
 
 
11667
Release 0.8 of bzr introduces a new format for history storage, called
 
11668
'knit', as an evolution of to the 'weave' format used in 0.7.  Local
 
11669
and remote operations are faster using knits than weaves.  Several
 
11670
operations including 'init', 'init-repo', and 'upgrade' take a
 
11671
--format option that controls this.  Branching from an existing branch
 
11672
will keep the same format.
 
11673
 
 
11674
It is possible to merge, pull and push between branches of different
 
11675
formats but this is slower than moving data between homogenous
 
11676
branches.  It is therefore recommended (but not required) that you
 
11677
upgrade all branches for a project at the same time.  Information on
 
11678
formats is shown by 'bzr info'.
 
11679
 
 
11680
bzr 0.8 now allows creation of 'repositories', which hold the history
 
11681
of files and revisions for several branches.  Previously bzr kept all
 
11682
the history for a branch within the .bzr directory at the root of the
 
11683
branch, and this is still the default.  To create a repository, use
 
11684
the new 'bzr init-repo' command.  Branches exist as directories under
 
11685
the repository and contain just a small amount of information
 
11686
indicating the current revision of the branch.
 
11687
 
 
11688
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
 
11689
subversion.  Checkouts are associated with a branch (optionally in a
 
11690
repository), which contains all the historical information.  The
 
11691
result is that a checkout can be deleted without losing any
 
11692
already-committed revisions.  A new 'update' command is also available.
 
11693
 
 
11694
Repositories and checkouts are not supported with the 0.7 storage
 
11695
format.  To use them you must upgrad to either knits, or to the
 
11696
'metaweave' format, which uses weaves but changes the .bzr directory
 
11697
arrangement.
 
11698
 
 
11699
 
 
11700
Improvements
 
11701
************
 
11702
 
 
11703
* sftp paths can now be relative, or local, according to the lftp
 
11704
  convention. Paths now take the form::
 
11705
 
 
11706
      sftp://user:pass@host:port/~/relative/path
 
11707
      or
 
11708
      sftp://user:pass@host:port/absolute/path
 
11709
 
 
11710
* The FTP transport now tries to reconnect after a temporary
 
11711
  failure. ftp put is made atomic. (Matthieu Moy)
 
11712
 
 
11713
* The FTP transport now maintains a pool of connections, and
 
11714
  reuses them to avoid multiple connections to the same host (like
 
11715
  sftp did). (Daniel Silverstone)
 
11716
 
 
11717
* The ``bzr_man.py`` file has been removed. To create the man page now,
 
11718
  use ``./generate_docs.py man``. The new program can also create other files.
 
11719
  Run ``python generate_docs.py --help`` for usage information.
 
11720
  (Hans Ulrich Niedermann & James Blackwell).
 
11721
 
 
11722
* Man Page now gives full help (James Blackwell).
 
11723
  Help also updated to reflect user config now being stored in .bazaar
 
11724
  (Hans Ulrich Niedermann)
 
11725
 
 
11726
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
 
11727
 
 
11728
* Pull now accepts a --revision argument (Erik Bågfors)
 
11729
 
 
11730
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
 
11731
  line. You can now use the following command to sign all of your old
 
11732
  commits::
 
11733
 
 
11734
    find .bzr/revision-store// -name my@email-* \
 
11735
      | sed 's/.*\/\/..\///' \
 
11736
      | xargs bzr re-sign
 
11737
 
 
11738
* Upgrade can now upgrade over the network. (Robert Collins)
 
11739
 
 
11740
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
 
11741
  behaviour.  By default they will cache history in the checkout, but
 
11742
  with --lightweight almost all data is kept in the master branch.
 
11743
  (Robert Collins)
 
11744
 
 
11745
* 'revert' unversions newly-versioned files, instead of deleting them.
 
11746
 
 
11747
* 'merge' is more robust.  Conflict messages have changed.
 
11748
 
 
11749
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
 
11750
  '.moved'.
 
11751
 
 
11752
* Default log format can be set in configuration and plugins can register
 
11753
  their own formatters. (Erik Bågfors)
 
11754
 
 
11755
* New 'reconcile' command will check branch consistency and repair indexes
 
11756
  that can become out of sync in pre 0.8 formats. (Robert Collins,
 
11757
  Daniel Silverstone)
 
11758
 
 
11759
* New 'bzr init --format' and 'bzr upgrade --format' option to control
 
11760
  what storage format is created or produced.  (Robert Collins,
 
11761
  Martin Pool)
 
11762
 
 
11763
* Add parent location to 'bzr info', if there is one.  (Olaf Conradi)
 
11764
 
 
11765
* New developer commands 'weave-list' and 'weave-join'.  (Martin Pool)
 
11766
 
 
11767
* New 'init-repository' command, plus support for repositories in 'init'
 
11768
  and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
 
11769
 
 
11770
* Improve output of 'info' command. Show all relevant locations related to
 
11771
  working tree, branch and repository. Use kibibytes for binary quantities.
 
11772
  Fix off-by-one error in missing revisions of working tree.  Make 'info'
 
11773
  work on branches, repositories and remote locations.  Show locations
 
11774
  relative to the shared repository, if applicable.  Show locking status
 
11775
  of locations.  (Olaf Conradi)
 
11776
 
 
11777
* Diff and merge now safely handle binary files. (Aaron Bentley)
 
11778
 
 
11779
* 'pull' and 'push' now normalise the revision history, so that any two
 
11780
  branches with the same tip revision will have the same output from 'log'.
 
11781
  (Robert Collins)
 
11782
 
 
11783
* 'merge' accepts --remember option to store parent location, like 'push'
 
11784
  and 'pull'. (Olaf Conradi)
 
11785
 
 
11786
* bzr status and diff when files given as arguments do not exist
 
11787
  in the relevant trees.  (Martin Pool, #3619)
 
11788
 
 
11789
* Add '.hg' to the default ignore list.  (Martin Pool)
 
11790
 
 
11791
* 'knit' is now the default disk format. This improves disk performance and
 
11792
  utilization, increases incremental pull performance, robustness with SFTP
 
11793
  and allows checkouts over SFTP to perform acceptably.
 
11794
  The initial Knit code was contributed by Johan Rydberg based on a
 
11795
  specification by Martin Pool.
 
11796
  (Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
 
11797
 
 
11798
* New tool to generate all-in-one html version of the manual.  (Alexander
 
11799
  Belchenko)
 
11800
 
 
11801
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
 
11802
  to be left in the SFTP repository. (Robert Collins, Martin Pool).
 
11803
 
 
11804
* New option 'diff --prefix' to control how files are named in diff
 
11805
  output, with shortcuts '-p0' and '-p1' corresponding to the options for
 
11806
  GNU patch.  (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
 
11807
 
 
11808
* Add --revision option to 'annotate' command.  (Olaf Conradi)
 
11809
 
 
11810
* If bzr shows an unexpected revision-history after pulling (perhaps due
 
11811
  to a reweave) it can now be corrected by 'bzr reconcile'.
 
11812
  (Robert Collins)
 
11813
 
 
11814
Changes
 
11815
*******
 
11816
 
 
11817
* Commit is now verbose by default, and shows changed filenames and the
 
11818
  new revision number.  (Robert Collins, Martin Pool)
 
11819
 
 
11820
* Unify 'mv', 'move', 'rename'.  (Matthew Fuller, #5379)
 
11821
 
 
11822
* 'bzr -h' shows help.  (Martin Pool, Ian Bicking, #35940)
 
11823
 
 
11824
* Make 'pull' and 'push' remember location on failure using --remember.
 
11825
  (Olaf Conradi)
 
11826
 
 
11827
* For compatibility, make old format for using weaves inside metadir
 
11828
  available as 'metaweave' format.  Rename format 'metadir' to 'default'.
 
11829
  Clean up help for option --format in commands 'init', 'init-repo' and
 
11830
  'upgrade'.  (Olaf Conradi)
 
11831
 
 
11832
Internals
 
11833
*********
 
11834
 
 
11835
* The internal storage of history, and logical branch identity have now
 
11836
  been split into Branch, and Repository. The common locking and file
 
11837
  management routines are now in bzrlib.lockablefiles.
 
11838
  (Aaron Bentley, Robert Collins, Martin Pool)
 
11839
 
 
11840
* Transports can now raise DependencyNotPresent if they need a library
 
11841
  which is not installed, and then another implementation will be
 
11842
  tried.  (Martin Pool)
 
11843
 
 
11844
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
 
11845
  (Martin Pool)
 
11846
 
 
11847
* Using Tree Transform for merge, revert, tree-building
 
11848
 
 
11849
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
 
11850
  Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
 
11851
  replacement API's. (Robert Collins)
 
11852
 
 
11853
* New BzrDir class represents the .bzr control directory and manages
 
11854
  formatting issues. (Robert Collins)
 
11855
 
 
11856
* New repository.InterRepository class encapsulates Repository to
 
11857
  Repository actions and allows for clean selection of optimised code
 
11858
  paths. (Robert Collins)
 
11859
 
 
11860
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
 
11861
  deprecated, please use ``branch.fetch`` or ``repository.fetch``
 
11862
  depending on your needs. (Robert Collins)
 
11863
 
 
11864
* deprecated methods now have a ``is_deprecated`` flag on them that can
 
11865
  be checked, if you need to determine whether a given callable is
 
11866
  deprecated at runtime. (Robert Collins)
 
11867
 
 
11868
* Progress bars are now nested - see
 
11869
  ``bzrlib.ui.ui_factory.nested_progress_bar``.
 
11870
  (Robert Collins, Robey Pointer)
 
11871
 
 
11872
* New API call ``get_format_description()`` for each type of format.
 
11873
  (Olaf Conradi)
 
11874
 
 
11875
* Changed ``branch.set_parent()`` to accept None to remove parent.
 
11876
  (Olaf Conradi)
 
11877
 
 
11878
* Deprecated BzrError AmbiguousBase.  (Olaf Conradi)
 
11879
 
 
11880
* WorkingTree.branch is now a read only property.  (Robert Collins)
 
11881
 
 
11882
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
 
11883
  can be None or a factory that will create a progress bar. This is
 
11884
  useful for testing or for overriding the bzrlib.progress heuristic.
 
11885
  (Robert Collins)
 
11886
 
 
11887
* New API method ``get_physical_lock_status()`` to query locks present on a
 
11888
  transport.  (Olaf Conradi)
 
11889
 
 
11890
* Repository.reconcile now takes a thorough keyword parameter to allow
 
11891
  requesting an indepth reconciliation, rather than just a data-loss
 
11892
  check. (Robert Collins)
 
11893
 
 
11894
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
 
11895
  the user for yes/no style input. (Robert Collins)
 
11896
 
 
11897
Testing
 
11898
*******
 
11899
 
 
11900
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
 
11901
  for testing SFTP protocol support. (Robey Pointer)
 
11902
 
 
11903
* Branch formats are now tested once per implementation (see ``bzrlib.
 
11904
  tests.branch_implementations``. This is analagous to the transport
 
11905
  interface tests, and has been followed up with working tree,
 
11906
  repository and BzrDir tests. (Robert Collins)
 
11907
 
 
11908
* New test base class TestCaseWithTransport provides a transport aware
 
11909
  test environment, useful for testing any transport-interface using
 
11910
  code. The test suite option --transport controls the transport used
 
11911
  by this class (when its not being used as part of implementation
 
11912
  contract testing). (Robert Collins)
 
11913
 
 
11914
* Close logging handler on disabling the test log. This will remove the
 
11915
  handler from the internal list inside python's logging module,
 
11916
  preventing shutdown from closing it twice.  (Olaf Conradi)
 
11917
 
 
11918
* Move test case for uncommit to blackbox tests.  (Olaf Conradi)
 
11919
 
 
11920
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
 
11921
  parameter which will provide String("foo") to the command as its stdin.
 
11922
 
 
11923
bzr 0.7
 
11924
#######
 
11925
 
 
11926
:Released: 2006-01-09
 
11927
 
 
11928
Changes
 
11929
*******
 
11930
 
 
11931
* .bzrignore is excluded from exports, on the grounds that it's a bzr
 
11932
  internal-use file and may not be wanted.  (Jamie Wilkinson)
 
11933
 
 
11934
* The "bzr directories" command were removed in favor of the new
 
11935
  --kind option to the "bzr inventory" command.  To list all
 
11936
  versioned directories, now use "bzr inventory --kind directory".
 
11937
  (Johan Rydberg)
 
11938
 
 
11939
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
 
11940
  by default. (John Arbash Meinel)
 
11941
 
 
11942
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
 
11943
  environment variable. Now the path for it is searched in ``BZR_HOME``,
 
11944
  then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
 
11945
  (usually points to ``C:\Documents and Settings\User Name\Application Data``),
 
11946
  ``HOME``. (John Arbash Meinel)
 
11947
 
 
11948
* Plugins with the same name in different directories in the bzr plugin
 
11949
  path are no longer loaded: only the first successfully loaded one is
 
11950
  used. (Robert Collins)
 
11951
 
 
11952
* Use systems' external ssh command to open connections if possible.
 
11953
  This gives better integration with user settings such as ProxyCommand.
 
11954
  (James Henstridge)
 
11955
 
 
11956
* Permissions on files underneath .bzr/ are inherited from the .bzr
 
11957
  directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
 
11958
  will mean that future file will be created with group write permissions.
 
11959
 
 
11960
* configure.in and config.guess are no longer in the builtin default
 
11961
  ignore list.
 
11962
 
 
11963
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
 
11964
  files.  (John Arbash Meinel, Martin Pool)
 
11965
 
 
11966
Improvements
 
11967
************
 
11968
 
 
11969
* "bzr INIT dir" now initializes the specified directory, and creates
 
11970
  it if it does not exist.  (John Arbash Meinel)
 
11971
 
 
11972
* New remerge command (Aaron Bentley)
 
11973
 
 
11974
* Better zsh completion script.  (Steve Borho)
 
11975
 
 
11976
* 'bzr diff' now returns 1 when there are changes in the working
 
11977
  tree. (Robert Collins)
 
11978
 
 
11979
* 'bzr push' now exists and can push changes to a remote location.
 
11980
  This uses the transport infrastructure, and can store the remote
 
11981
  location in the ~/.bazaar/branches.conf configuration file.
 
11982
  (Robert Collins)
 
11983
 
 
11984
* Test directories are only kept if the test fails and the user requests
 
11985
  that they be kept.
 
11986
 
 
11987
* Tweaks to short log printing
 
11988
 
 
11989
* Added branch nicks, new nick command, printing them in log output.
 
11990
  (Aaron Bentley)
 
11991
 
 
11992
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
 
11993
  occurs.  (Martin Pool)
 
11994
 
 
11995
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
 
11996
  the same as Subversion.  (Martin Pool)
 
11997
 
 
11998
* New ftp transport support (on ftplib), for ftp:// and aftp://
 
11999
  URLs.  (Daniel Silverstone)
 
12000
 
 
12001
* Commit editor temporary files now start with ``bzr_log.``, to allow
 
12002
  text editors to match the file name and set up appropriate modes or
 
12003
  settings.  (Magnus Therning)
 
12004
 
 
12005
* Improved performance when integrating changes from a remote weave.
 
12006
  (Goffredo Baroncelli)
 
12007
 
 
12008
* Sftp will attempt to cache the connection, so it is more likely that
 
12009
  a connection will be reused, rather than requiring multiple password
 
12010
  requests.
 
12011
 
 
12012
* bzr revno now takes an optional argument indicating the branch whose
 
12013
  revno should be printed.  (Michael Ellerman)
 
12014
 
 
12015
* bzr cat defaults to printing the last version of the file.
 
12016
  (Matthieu Moy, #3632)
 
12017
 
 
12018
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
 
12019
  profiler.  (Denys Duchier)
 
12020
 
 
12021
* Faster commits by reading only the headers of affected weave files.
 
12022
  (Denys Duchier)
 
12023
 
 
12024
* 'bzr add' now takes a --dry-run parameter which shows you what would be
 
12025
  added, but doesn't actually add anything. (Michael Ellerman)
 
12026
 
 
12027
* 'bzr add' now lists how many files were ignored per glob.  add --verbose
 
12028
  lists the specific files.  (Aaron Bentley)
 
12029
 
 
12030
* 'bzr missing' now supports displaying changes in diverged trees and can
 
12031
  be limited to show what either end of the comparison is missing.
 
12032
  (Aaron Bently, with a little prompting from Daniel Silverstone)
 
12033
 
 
12034
Bug Fixes
 
12035
*********
 
12036
 
 
12037
* SFTP can walk up to the root path without index errors. (Robert Collins)
 
12038
 
 
12039
* Fix bugs in running bzr with 'python -O'.  (Martin Pool)
 
12040
 
 
12041
* Error when run with -OO
 
12042
 
 
12043
* Fix bug in reporting http errors that don't have an http error code.
 
12044
  (Martin Pool)
 
12045
 
 
12046
* Handle more cases of pipe errors in display commands
 
12047
 
 
12048
* Change status to 3 for all errors
 
12049
 
 
12050
* Files that are added and unlinked before committing are completely
 
12051
  ignored by diff and status
 
12052
 
 
12053
* Stores with some compressed texts and some uncompressed texts are now
 
12054
  able to be used. (John A Meinel)
 
12055
 
 
12056
* Fix for bzr pull failing sometimes under windows
 
12057
 
 
12058
* Fix for sftp transport under windows when using interactive auth
 
12059
 
 
12060
* Show files which are both renamed and modified as such in 'bzr
 
12061
  status' output.  (Daniel Silverstone, #4503)
 
12062
 
 
12063
* Make annotate cope better with revisions committed without a valid
 
12064
  email address.  (Marien Zwart)
 
12065
 
 
12066
* Fix representation of tab characters in commit messages.
 
12067
  (Harald Meland)
 
12068
 
 
12069
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
 
12070
  now parsed properly under Windows. (Alexander Belchenko)
 
12071
 
 
12072
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
 
12073
 
 
12074
* Keep a cached copy of the basis inventory to speed up operations
 
12075
  that need to refer to it.  (Johan Rydberg, Martin Pool)
 
12076
 
 
12077
* Fix bugs in bzr status display of non-ascii characters.
 
12078
  (Martin Pool)
 
12079
 
 
12080
* Remove Makefile.in from default ignore list.
 
12081
  (Tollef Fog Heen, Martin Pool, #6413)
 
12082
 
 
12083
* Fix failure in 'bzr added'.  (Nathan McCallum, Martin Pool)
 
12084
 
 
12085
Testing
 
12086
*******
 
12087
 
 
12088
* Fix selftest asking for passwords when there are no SFTP keys.
 
12089
  (Robey Pointer, Jelmer Vernooij)
 
12090
 
 
12091
* Fix selftest run with 'python -O'.  (Martin Pool)
 
12092
 
 
12093
* Fix HTTP tests under Windows. (John Arbash Meinel)
 
12094
 
 
12095
* Make tests work even if HOME is not set (Aaron Bentley)
 
12096
 
 
12097
* Updated ``build_tree`` to use fixed line-endings for tests which read
 
12098
  the file cotents and compare. Make some tests use this to pass under
 
12099
  Windows. (John Arbash Meinel)
 
12100
 
 
12101
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
 
12102
 
 
12103
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
 
12104
  (John Arbash Meinel)
 
12105
 
 
12106
* Use terminal width to align verbose test output.  (Martin Pool)
 
12107
 
 
12108
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
 
12109
  If adding a new test script please add that to
 
12110
  ``bzrlib.tests.blackbox.__init__``. (Robert Collins)
 
12111
 
 
12112
* Much better error message if one of the test suites can't be
 
12113
  imported.  (Martin Pool)
 
12114
 
 
12115
* Make check now runs the test suite twice - once with the default locale,
 
12116
  and once with all locales forced to C, to expose bugs. This is not
 
12117
  trivially done within python, so for now its only triggered by running
 
12118
  Make check. Integrators and packagers who wish to check for full
 
12119
  platform support should run 'make check' to test the source.
 
12120
  (Robert Collins)
 
12121
 
 
12122
* Tests can now run TestSkipped if they can't execute for any reason.
 
12123
  (Martin Pool) (NB: TestSkipped should only be raised for correctable
 
12124
  reasons - see the wiki spec ImprovingBzrTestSuite).
 
12125
 
 
12126
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
 
12127
  paths for the transport tests. Introduce blackbox remote sftp tests that
 
12128
  test the same permutations. (Robert Collins, Robey Pointer)
 
12129
 
 
12130
* Transport implementation tests are now independent of the local file
 
12131
  system, which allows tests for esoteric transports, and for features
 
12132
  not available in the local file system. They also repeat for variations
 
12133
  on the URL scheme that can introduce issues in the transport code,
 
12134
  see bzrlib.transport.TransportTestProviderAdapter() for this.
 
12135
  (Robert Collins).
 
12136
 
 
12137
* ``TestCase.build_tree`` uses the transport interface to build trees,
 
12138
  pass in a transport parameter to give it an existing connection.
 
12139
  (Robert Collins).
 
12140
 
 
12141
Internals
 
12142
*********
 
12143
 
 
12144
* WorkingTree.pull has been split across Branch and WorkingTree,
 
12145
  to allow Branch only pulls. (Robert Collins)
 
12146
 
 
12147
* ``commands.display_command`` now returns the result of the decorated
 
12148
  function. (Robert Collins)
 
12149
 
 
12150
* LocationConfig now has a ``set_user_option(key, value)`` call to save
 
12151
  a setting in its matching location section (a new one is created
 
12152
  if needed). (Robert Collins)
 
12153
 
 
12154
* Branch has two new methods, ``get_push_location`` and
 
12155
  ``set_push_location`` to respectively, get and set the push location.
 
12156
  (Robert Collins)
 
12157
 
 
12158
* ``commands.register_command`` now takes an optional flag to signal that
 
12159
  the registrant is planning to decorate an existing command. When
 
12160
  given multiple plugins registering a command is not an error, and
 
12161
  the original command class (whether built in or a plugin based one) is
 
12162
  returned to the caller. There is a new error 'MustUseDecorated' for
 
12163
  signalling when a wrapping command should switch to the original
 
12164
  version. (Robert Collins)
 
12165
 
 
12166
* Some option parsing errors will raise 'BzrOptionError', allowing
 
12167
  granular detection for decorating commands. (Robert Collins).
 
12168
 
 
12169
* ``Branch.read_working_inventory`` has moved to
 
12170
  ``WorkingTree.read_working_inventory``. This necessitated changes to
 
12171
  ``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
 
12172
  WorkingTree as well. To make it clear that a WorkingTree cannot always
 
12173
  be obtained ``Branch.working_tree()`` will raise
 
12174
  ``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
 
12175
 
 
12176
* All pending merges operations from Branch are now on WorkingTree.
 
12177
  (Robert Collins)
 
12178
 
 
12179
* The follow operations from Branch have moved to WorkingTree::
 
12180
 
 
12181
      add()
 
12182
      commit()
 
12183
      move()
 
12184
      rename_one()
 
12185
      unknowns()
 
12186
 
 
12187
  (Robert Collins)
 
12188
 
 
12189
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
 
12190
 
 
12191
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
 
12192
 
 
12193
* Rename selftests to ``bzrlib.tests.test_foo``.  (John A Meinel, Martin
 
12194
  Pool)
 
12195
 
 
12196
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
 
12197
  query method. (Robert Collins)
 
12198
 
 
12199
* New options to read only the table-of-contents of a weave.
 
12200
  (Denys Duchier)
 
12201
 
 
12202
* Raise NoSuchFile when someone tries to add a non-existant file.
 
12203
  (Michael Ellerman)
 
12204
 
 
12205
* Simplify handling of DivergedBranches in ``cmd_pull()``.
 
12206
  (Michael Ellerman)
 
12207
 
 
12208
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
 
12209
  is exposed as ``Branch().control_files``. Also this has been altered with the
 
12210
  controlfile pre/suffix replaced by simple method names like 'get' and
 
12211
  'put'. (Aaron Bentley, Robert Collins).
 
12212
 
 
12213
* Deprecated functions and methods can now be marked as such using the
 
12214
  ``bzrlib.symbol_versioning`` module. Marked method have their docstring
 
12215
  updated and will issue a DeprecationWarning using the warnings module
 
12216
  when they are used. (Robert Collins)
 
12217
 
 
12218
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
 
12219
  for functions that need unicode strings. (Robert Collins)
 
12220
 
 
12221
bzr 0.6
 
12222
#######
 
12223
 
 
12224
:Released: 2005-10-28
 
12225
 
 
12226
Improvements
 
12227
************
 
12228
 
 
12229
* pull now takes --verbose to show you what revisions are added or removed
 
12230
  (John A Meinel)
 
12231
 
 
12232
* merge now takes a --show-base option to include the base text in
 
12233
  conflicts.
 
12234
  (Aaron Bentley)
 
12235
 
 
12236
* The config files are now read using ConfigObj, so '=' should be used as
 
12237
  a separator, not ':'.
 
12238
  (Aaron Bentley)
 
12239
 
 
12240
* New 'bzr commit --strict' option refuses to commit if there are
 
12241
  any unknown files in the tree.  To commit, make sure all files are
 
12242
  either ignored, added, or deleted.  (Michael Ellerman)
 
12243
 
 
12244
* The config directory is now ~/.bazaar, and there is a single file
 
12245
  ~/.bazaar/bazaar.conf storing email, editor and other preferences.
 
12246
  (Robert Collins)
 
12247
 
 
12248
* 'bzr add' no longer takes a --verbose option, and a --quiet option
 
12249
  has been added that suppresses all output.
 
12250
 
 
12251
* Improved zsh completion support in contrib/zsh, from Clint
 
12252
  Adams.
 
12253
 
 
12254
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
 
12255
  Goffredo Baroncelli.
 
12256
 
 
12257
* 'bzr check' now accepts -v for verbose reporting, and checks for
 
12258
  ghosts in the branch. (Robert Collins)
 
12259
 
 
12260
* New command 're-sign' which will regenerate the gpg signature for
 
12261
  a revision. (Robert Collins)
 
12262
 
 
12263
* If you set ``check_signatures=require`` for a path in
 
12264
  ``~/.bazaar/branches.conf`` then bzr will invoke your
 
12265
  ``gpg_signing_command`` (defaults to gpg) and record a digital signature
 
12266
  of your commit. (Robert Collins)
 
12267
 
 
12268
* New sftp transport, based on Paramiko.  (Robey Pointer)
 
12269
 
 
12270
* 'bzr pull' now accepts '--clobber' which will discard local changes
 
12271
  and make this branch identical to the source branch. (Robert Collins)
 
12272
 
 
12273
* Just give a quieter warning if a plugin can't be loaded, and
 
12274
  put the details in .bzr.log.  (Martin Pool)
 
12275
 
 
12276
* 'bzr branch' will now set the branch-name to the last component of the
 
12277
  output directory, if one was supplied.
 
12278
 
 
12279
* If the option ``post_commit`` is set to one (or more) python function
 
12280
  names (must be in the bzrlib namespace), then they will be invoked
 
12281
  after the commit has completed, with the branch and ``revision_id`` as
 
12282
  parameters. (Robert Collins)
 
12283
 
 
12284
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
 
12285
 
 
12286
* --merge-type weave is now supported for file contents.  Tree-shape
 
12287
  changes are still three-way based.  (Martin Pool, Aaron Bentley)
 
12288
 
 
12289
* 'bzr check' allows the first revision on revision-history to have
 
12290
  parents - something that is expected for cheap checkouts, and occurs
 
12291
  when conversions from baz do not have all history.  (Robert Collins).
 
12292
 
 
12293
* 'bzr merge' can now graft unrelated trees together, if your specify
 
12294
  0 as a base. (Aaron Bentley)
 
12295
 
 
12296
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
 
12297
  (Aaron Bentley)
 
12298
 
 
12299
* Add '.sconsign*' to default ignore list.  (Alexander Belchenko)
 
12300
 
 
12301
* 'bzr merge --reprocess' minimizes conflicts
 
12302
 
 
12303
Testing
 
12304
*******
 
12305
 
 
12306
* The 'bzr selftest --pattern' option for has been removed, now
 
12307
  test specifiers on the command line can be simple strings, or
 
12308
  regexps, or both. (Robert Collins)
 
12309
 
 
12310
* Passing -v to selftest will now show the time each test took to
 
12311
  complete, which will aid in analysing performance regressions and
 
12312
  related questions. (Robert Collins)
 
12313
 
 
12314
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
 
12315
  is given. (Martin Pool)
 
12316
 
 
12317
* There is a new method for TestCaseInTempDir, assertFileEqual, which
 
12318
  will check that a given content is equal to the content of the named
 
12319
  file. (Robert Collins)
 
12320
 
 
12321
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
 
12322
  (Martin Pool)
 
12323
 
 
12324
Internals
 
12325
*********
 
12326
 
 
12327
* New 'testament' command and concept for making gpg-signatures
 
12328
  of revisions that are not tied to a particular internal
 
12329
  representation.  (Martin Pool).
 
12330
 
 
12331
* Per-revision properties ('revprops') as key-value associated
 
12332
  strings on each revision created when the revision is committed.
 
12333
  Intended mainly for the use of external tools.  (Martin Pool).
 
12334
 
 
12335
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
12336
  (Robert Collins)
 
12337
 
 
12338
* Improved command line option definitions allowing explanations
 
12339
  for individual options, among other things.  Contributed by
 
12340
  Magnus Therning.
 
12341
 
 
12342
* Config options have moved from bzrlib.osutils to bzrlib.config.
 
12343
  Configuration is now done via the config.Config interface:
 
12344
  Depending on whether you have a Branch, a Location or no information
 
12345
  available, construct a ``*Config``, and use its ``signature_checking``,
 
12346
  ``username`` and ``user_email`` methods. (Robert Collins)
 
12347
 
 
12348
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
 
12349
  they are made available for other plugins to use. You should not
 
12350
  import other plugins during the ``__init__`` of your plugin though, as
 
12351
  no ordering is guaranteed, and the plugins directory is not on the
 
12352
  python path. (Robert Collins)
 
12353
 
 
12354
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
 
12355
  no longer takes an inventory, rather it takes an option branch
 
12356
  parameter, and if None is given will open the branch at basedir
 
12357
  implicitly. (Robert Collins)
 
12358
 
 
12359
* Cleaner exception structure and error reporting.  Suggested by
 
12360
  Scott James Remnant.  (Martin Pool)
 
12361
 
 
12362
* Branch.remove has been moved to WorkingTree, which has also gained
 
12363
  ``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
 
12364
  (Robert Collins)
 
12365
 
 
12366
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
 
12367
  added to the branch module. Use these to cause a function to run in a
 
12368
  read or write lock respectively. (Robert Collins)
 
12369
 
 
12370
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
 
12371
  which allows direct access to the common case of 'get me this file
 
12372
  from its branch'. (Robert Collins)
 
12373
 
 
12374
* Transports can register using ``register_lazy_transport``, and they
 
12375
  will be loaded when first used.  (Martin Pool)
 
12376
 
 
12377
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
 
12378
  A new option to WorkingTree.pull has been added, clobber, which will
 
12379
  ignore diverged history and pull anyway.
 
12380
  (Robert Collins)
 
12381
 
 
12382
* config.Config has a ``get_user_option`` call that accepts an option name.
 
12383
  This will be looked up in branches.conf and bazaar.conf as normal.
 
12384
  It is intended that this be used by plugins to support options -
 
12385
  options of built in programs should have specific methods on the config.
 
12386
  (Robert Collins)
 
12387
 
 
12388
* ``merge.merge_inner`` now has tempdir as an optional parameter.
 
12389
  (Robert Collins)
 
12390
 
 
12391
* Tree.kind is not recorded at the top level of the hierarchy, as it was
 
12392
  missing on EmptyTree, leading to a bug with merge on EmptyTrees.
 
12393
  (Robert Collins)
 
12394
 
 
12395
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
 
12396
  doing what it was intended to. See ``WorkingTree.__init__`` for a comment
 
12397
  about future directions. (Robert Collins/Martin Pool)
 
12398
 
 
12399
* bzrlib.transport.http has been modified so that only 404 urllib errors
 
12400
  are returned as NoSuchFile. Other exceptions will propagate as normal.
 
12401
  This allows debuging of actual errors. (Robert Collins)
 
12402
 
 
12403
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
 
12404
  to apis like 'put', 'get' and 'has'. This is to provide consistent
 
12405
  behaviour - it operates on url's only. (Robert Collins)
 
12406
 
 
12407
* Transports can register using ``register_lazy_transport``, and they
 
12408
  will be loaded when first used.  (Martin Pool)
 
12409
 
 
12410
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
 
12411
  is called by ``merge_inner``. This is so that the conflict count can be
 
12412
  retrieved (and potentially manipulated) before returning to the caller
 
12413
  of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
 
12414
  caller. (Robert Collins)
 
12415
 
 
12416
* ``revision.revision_graph`` can handle having only partial history for
 
12417
  a revision - that is no revisions in the graph with no parents.
 
12418
  (Robert Collins).
 
12419
 
 
12420
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
 
12421
  produce a branch and a list of paths, relative to that branch
 
12422
  (Aaron Bentley)
 
12423
 
 
12424
* New TestCase.addCleanup facility.
 
12425
 
 
12426
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
 
12427
  which can be used by programs importing bzrlib.
 
12428
 
 
12429
Bug Fixes
 
12430
*********
 
12431
 
 
12432
* Better handling of branches in directories with non-ascii names.
 
12433
  (Joel Rosdahl, Panagiotis Papadakos)
 
12434
 
 
12435
* Upgrades of trees with no commits will not fail due to accessing
 
12436
  [-1] in the revision-history. (Andres Salomon)
 
12437
 
 
12438
 
 
12439
bzr 0.1.1
 
12440
#########
 
12441
 
 
12442
:Released: 2005-10-12
 
12443
 
 
12444
Bug Fixes
 
12445
*********
 
12446
 
 
12447
* Fix problem in pulling over http from machines that do not
 
12448
  allow directories to be listed.
 
12449
 
 
12450
* Avoid harmless warning about invalid hash cache after
 
12451
  upgrading branch format.
 
12452
 
 
12453
Performance
 
12454
***********
 
12455
 
 
12456
* Avoid some unnecessary http operations in branch and pull.
 
12457
 
 
12458
 
 
12459
bzr 0.1
 
12460
#######
 
12461
 
 
12462
:Released: 2005-10-11
 
12463
 
 
12464
Notes
 
12465
*****
 
12466
 
 
12467
* 'bzr branch' over http initially gives a very high estimate
 
12468
  of completion time but it should fall as the first few
 
12469
  revisions are pulled in.  branch is still slow on
 
12470
  high-latency connections.
 
12471
 
 
12472
Bug Fixes
 
12473
*********
 
12474
 
 
12475
* bzr-man.py has been updated to work again. Contributed by
 
12476
  Rob Weir.
 
12477
 
 
12478
* Locking is now done with fcntl.lockf which works with NFS
 
12479
  file systems. Contributed by Harald Meland.
 
12480
 
 
12481
* When a merge encounters a file that has been deleted on
 
12482
  one side and modified on the other, the old contents are
 
12483
  written out to foo.BASE and foo.SIDE, where SIDE is this
 
12484
  or OTHER. Contributed by Aaron Bentley.
 
12485
 
 
12486
* Export was choosing incorrect file paths for the content of
 
12487
  the tarball, this has been fixed by Aaron Bentley.
 
12488
 
 
12489
* Commit will no longer commit without a log message, an
 
12490
  error is returned instead. Contributed by Jelmer Vernooij.
 
12491
 
 
12492
* If you commit a specific file in a sub directory, any of its
 
12493
  parent directories that are added but not listed will be
 
12494
  automatically included. Suggested by Michael Ellerman.
 
12495
 
 
12496
* bzr commit and upgrade did not correctly record new revisions
 
12497
  for files with only a change to their executable status.
 
12498
  bzr will correct this when it encounters it. Fixed by
 
12499
  Robert Collins
 
12500
 
 
12501
* HTTP tests now force off the use of ``http_proxy`` for the duration.
 
12502
  Contributed by Gustavo Niemeyer.
 
12503
 
 
12504
* Fix problems in merging weave-based branches that have
 
12505
  different partial views of history.
 
12506
 
 
12507
* Symlink support: working with symlinks when not in the root of a
 
12508
  bzr tree was broken, patch from Scott James Remnant.
 
12509
 
 
12510
Improvements
 
12511
************
 
12512
 
 
12513
* 'branch' now accepts a --basis parameter which will take advantage
 
12514
  of local history when making a new branch. This allows faster
 
12515
  branching of remote branches. Contributed by Aaron Bentley.
 
12516
 
 
12517
* New tree format based on weave files, called version 5.
 
12518
  Existing branches can be upgraded to this format using
 
12519
  'bzr upgrade'.
 
12520
 
 
12521
* Symlinks are now versionable. Initial patch by
 
12522
  Erik Toubro Nielsen, updated to head by Robert Collins.
 
12523
 
 
12524
* Executable bits are tracked on files. Patch from Gustavo
 
12525
  Niemeyer.
 
12526
 
 
12527
* 'bzr status' now shows unknown files inside a selected directory.
 
12528
  Patch from Heikki Paajanen.
 
12529
 
 
12530
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
 
12531
  and 'resolve' have needed added, which list and remove those
 
12532
  merge conflicts respectively. A conflicted tree cannot be committed
 
12533
  in. Contributed by Aaron Bentley.
 
12534
 
 
12535
* 'rm' is now an alias for 'remove'.
 
12536
 
 
12537
* Stores now split out their content in a single byte prefixed hash,
 
12538
  dropping the density of files per directory by 256. Contributed by
 
12539
  Gustavo Niemeyer.
 
12540
 
 
12541
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
 
12542
  Contributed by Robert Collins.
 
12543
 
 
12544
* 'bzr log' with the default formatter will show merged revisions,
 
12545
  indented to the right. Initial implementation contributed by Gustavo
 
12546
  Niemeyer, made incremental by Robert Collins.
 
12547
 
 
12548
 
 
12549
Internals
 
12550
*********
 
12551
 
 
12552
* Test case failures have the exception printed after the log
 
12553
  for your viewing pleasure.
 
12554
 
 
12555
* InventoryEntry is now an abstract base class, use one of the
 
12556
  concrete InventoryDirectory etc classes instead.
 
12557
 
 
12558
* Branch raises an UnsupportedFormatError when it detects a
 
12559
  bzr branch it cannot understand. This allows for precise
 
12560
  handling of such circumstances.
 
12561
 
 
12562
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
 
12563
  list of their ids and ``parent_sha1s`` is a list of their corresponding
 
12564
  sha1s (for old branches only at the moment.)
 
12565
 
 
12566
* New method-object style interface for Commit() and Fetch().
 
12567
 
 
12568
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
 
12569
  we call them revisions not patches.
 
12570
 
 
12571
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``.  The destination
 
12572
  directory is created if it doesn't exist.
 
12573
 
 
12574
* Inventories now identify the files which were present by
 
12575
  giving the revision *of that file*.
 
12576
 
 
12577
* Inventory and Revision XML contains a version identifier.
 
12578
  This must be consistent with the overall branch version
 
12579
  but allows for more flexibility in future upgrades.
 
12580
 
 
12581
Testing
 
12582
*******
 
12583
 
 
12584
* Removed testsweet module so that tests can be run after
 
12585
  bzr installed by 'bzr selftest'.
 
12586
 
 
12587
* 'bzr selftest' command-line arguments can now be partial ids
 
12588
  of tests to run, e.g. ``bzr selftest test_weave``
 
12589
 
 
12590
 
 
12591
bzr 0.0.9
 
12592
#########
 
12593
 
 
12594
:Released: 2005-09-23
 
12595
 
 
12596
Bug Fixes
 
12597
*********
 
12598
 
 
12599
* Fixed "branch -r" option.
 
12600
 
 
12601
* Fix remote access to branches containing non-compressed history.
 
12602
  (Robert Collins).
 
12603
 
 
12604
* Better reliability of http server tests.  (John Arbash-Meinel)
 
12605
 
 
12606
* Merge graph maximum distance calculation fix.  (Aaron Bentley)
 
12607
 
 
12608
* Various minor bug in windows support have been fixed, largely in the
 
12609
  test suite. Contributed by Alexander Belchenko.
 
12610
 
 
12611
Improvements
 
12612
************
 
12613
 
 
12614
* Status now accepts a -r argument to give status between chosen
 
12615
  revisions. Contributed by Heikki Paajanen.
 
12616
 
 
12617
* Revision arguments no longer use +/-/= to control ranges, instead
 
12618
  there is a 'before' namespace, which limits the successive namespace.
 
12619
  For example '$ bzr log -r date:yesterday..before:date:today' will
 
12620
  select everything from yesterday and before today. Contributed by
 
12621
  Robey Pointer
 
12622
 
 
12623
* There is now a bzr.bat file created by distutils when building on
 
12624
  Windows. Contributed by Alexander Belchenko.
 
12625
 
 
12626
Internals
 
12627
*********
 
12628
 
 
12629
* Removed uuid() as it was unused.
 
12630
 
 
12631
* Improved 'fetch' code for pulling revisions from one branch into
 
12632
  another (used by pull, merged, etc.)
 
12633
 
 
12634
 
 
12635
bzr 0.0.8
 
12636
#########
 
12637
 
 
12638
:Released: 2005-09-20
 
12639
 
 
12640
 
 
12641
Improvements
 
12642
************
 
12643
 
 
12644
* Adding a file whose parent directory is not versioned will
 
12645
  implicitly add the parent, and so on up to the root. This means
 
12646
  you should never need to explictly add a directory, they'll just
 
12647
  get added when you add a file in the directory.  Contributed by
 
12648
  Michael Ellerman.
 
12649
 
 
12650
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
 
12651
  (Nir Soffer)
 
12652
 
 
12653
* If you set ``BZR_EDITOR`` in the environment, it is checked in
 
12654
  preference to EDITOR and the config file for the interactive commit
 
12655
  editing program. Related to this is a bugfix where a missing program
 
12656
  set in EDITOR would cause editing to fail, now the fallback program
 
12657
  for the operating system is still tried.
 
12658
 
 
12659
* Files that are not directories/symlinks/regular files will no longer
 
12660
  cause bzr to fail, it will just ignore them by default. You cannot add
 
12661
  them to the tree though - they are not versionable.
 
12662
 
 
12663
 
 
12664
Internals
 
12665
*********
 
12666
 
 
12667
* Refactor xml packing/unpacking.
 
12668
 
 
12669
Bug Fixes
 
12670
*********
 
12671
 
 
12672
* Fixed 'bzr mv' by Ollie Rutherfurd.
 
12673
 
 
12674
* Fixed strange error when trying to access a nonexistent http
 
12675
  branch.
 
12676
 
 
12677
* Make sure that the hashcache gets written out if it can't be
 
12678
  read.
 
12679
 
 
12680
 
 
12681
Portability
 
12682
***********
 
12683
 
 
12684
* Various Windows fixes from Ollie Rutherfurd.
 
12685
 
 
12686
* Quieten warnings about locking; patch from Matt Lavin.
 
12687
 
 
12688
 
 
12689
bzr-0.0.7
 
12690
#########
 
12691
 
 
12692
:Released: 2005-09-02
 
12693
 
 
12694
New Features
 
12695
************
 
12696
 
 
12697
* ``bzr shell-complete`` command contributed by Clint Adams to
 
12698
  help with intelligent shell completion.
 
12699
 
 
12700
* New expert command ``bzr find-merge-base`` for debugging merges.
 
12701
 
 
12702
 
 
12703
Enhancements
 
12704
************
 
12705
 
 
12706
* Much better merge support.
 
12707
 
 
12708
* merge3 conflicts are now reported with markers like '<<<<<<<'
 
12709
  (seven characters) which is the same as CVS and pleases things
 
12710
  like emacs smerge.
 
12711
 
 
12712
 
 
12713
Bug Fixes
 
12714
*********
 
12715
 
 
12716
* ``bzr upgrade`` no longer fails when trying to fix trees that
 
12717
  mention revisions that are not present.
 
12718
 
 
12719
* Fixed bugs in listing plugins from ``bzr plugins``.
 
12720
 
 
12721
* Fix case of $EDITOR containing options for the editor.
 
12722
 
 
12723
* Fix log -r refusing to show the last revision.
 
12724
  (Patch from Goffredo Baroncelli.)
 
12725
 
 
12726
 
 
12727
Changes
 
12728
*******
 
12729
 
 
12730
* ``bzr log --show-ids`` shows the revision ids of all parents.
 
12731
 
 
12732
* Externally provided commands on your $BZRPATH no longer need
 
12733
  to recognize --bzr-usage to work properly, and can just handle
 
12734
  --help themselves.
 
12735
 
 
12736
 
 
12737
Library
 
12738
*******
 
12739
 
 
12740
* Changed trace messages to go through the standard logging
 
12741
  framework, so that they can more easily be redirected by
 
12742
  libraries.
 
12743
 
 
12744
 
 
12745
 
 
12746
bzr-0.0.6
 
12747
#########
 
12748
 
 
12749
:Released: 2005-08-18
 
12750
 
 
12751
New Features
 
12752
************
 
12753
 
 
12754
* Python plugins, automatically loaded from the directories on
 
12755
  ``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
 
12756
 
 
12757
* New 'bzr mkdir' command.
 
12758
 
 
12759
* Commit mesage is fetched from an editor if not given on the
 
12760
  command line; patch from Torsten Marek.
 
12761
 
 
12762
* ``bzr log -m FOO`` displays commits whose message matches regexp
 
12763
  FOO.
 
12764
 
 
12765
* ``bzr add`` with no arguments adds everything under the current directory.
 
12766
 
 
12767
* ``bzr mv`` does move or rename depending on its arguments, like
 
12768
  the Unix command.
 
12769
 
 
12770
* ``bzr missing`` command shows a summary of the differences
 
12771
  between two trees.  (Merged from John Arbash-Meinel.)
 
12772
 
 
12773
* An email address for commits to a particular tree can be
 
12774
  specified by putting it into .bzr/email within a branch.  (Based
 
12775
  on a patch from Heikki Paajanen.)
 
12776
 
 
12777
 
 
12778
Enhancements
 
12779
************
 
12780
 
 
12781
* Faster working tree operations.
 
12782
 
 
12783
 
 
12784
Changes
 
12785
*******
 
12786
 
 
12787
* 3rd-party modules shipped with bzr are copied within the bzrlib
 
12788
  python package, so that they can be installed by the setup
 
12789
  script without clashing with anything already existing on the
 
12790
  system.  (Contributed by Gustavo Niemeyer.)
 
12791
 
 
12792
* Moved plugins directory to bzrlib/, so that there's a standard
 
12793
  plugin directory which is not only installed with bzr itself but
 
12794
  is also available when using bzr from the development tree.
 
12795
  ``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
 
12796
  standard plugins directory.
 
12797
 
 
12798
* When exporting to a tarball with ``bzr export --format tgz``, put
 
12799
  everything under a top directory rather than dumping it into the
 
12800
  current directory.   This can be overridden with the ``--root``
 
12801
  option.  Patch from William Dodé and John Meinel.
 
12802
 
 
12803
* New ``bzr upgrade`` command to upgrade the format of a branch,
 
12804
  replacing ``bzr check --update``.
 
12805
 
 
12806
* Files within store directories are no longer marked readonly on
 
12807
  disk.
 
12808
 
 
12809
* Changed ``bzr log`` output to a more compact form suggested by
 
12810
  John A Meinel.  Old format is available with the ``--long`` or
 
12811
  ``-l`` option, patched by William Dodé.
 
12812
 
 
12813
* By default the commit command refuses to record a revision with
 
12814
  no changes unless the ``--unchanged`` option is given.
 
12815
 
 
12816
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
 
12817
  line options must come before the command name because they
 
12818
  affect what commands are available; all other options must come
 
12819
  after the command name because their interpretation depends on
 
12820
  it.
 
12821
 
 
12822
* ``branch`` and ``clone`` added as aliases for ``branch``.
 
12823
 
 
12824
* Default log format is back to the long format; the compact one
 
12825
  is available with ``--short``.
 
12826
 
 
12827
 
 
12828
Bug Fixes
 
12829
*********
 
12830
 
 
12831
* Fix bugs in committing only selected files or within a subdirectory.
 
12832
 
 
12833
 
 
12834
bzr-0.0.5
 
12835
#########
 
12836
 
 
12837
:Released:  2005-06-15
 
12838
 
 
12839
Changes
 
12840
*******
 
12841
 
 
12842
* ``bzr`` with no command now shows help rather than giving an
 
12843
  error.  Suggested by Michael Ellerman.
 
12844
 
 
12845
* ``bzr status`` output format changed, because svn-style output
 
12846
  doesn't really match the model of bzr.  Now files are grouped by
 
12847
  status and can be shown with their IDs.  ``bzr status --all``
 
12848
  shows all versioned files and unknown files but not ignored files.
 
12849
 
 
12850
* ``bzr log`` runs from most-recent to least-recent, the reverse
 
12851
  of the previous order.  The previous behaviour can be obtained
 
12852
  with the ``--forward`` option.
 
12853
 
 
12854
* ``bzr inventory`` by default shows only filenames, and also ids
 
12855
  if ``--show-ids`` is given, in which case the id is the second
 
12856
  field.
 
12857
 
 
12858
 
 
12859
Enhancements
 
12860
************
 
12861
 
 
12862
* New 'bzr whoami --email' option shows only the email component
 
12863
  of the user identification, from Jo Vermeulen.
 
12864
 
 
12865
* New ``bzr ignore PATTERN`` command.
 
12866
 
 
12867
* Nicer error message for broken pipe, interrupt and similar
 
12868
  conditions that don't indicate an internal error.
 
12869
 
 
12870
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
 
12871
 
 
12872
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
 
12873
  either read or write mode.
 
12874
 
 
12875
* New option ``bzr log --show-ids`` shows revision and file ids.
 
12876
 
 
12877
* New usage ``bzr log FILENAME`` shows only revisions that
 
12878
  affected that file.
 
12879
 
 
12880
* Changed format for describing changes in ``bzr log -v``.
 
12881
 
 
12882
* New option ``bzr commit --file`` to take a message from a file,
 
12883
  suggested by LarstiQ.
 
12884
 
 
12885
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
 
12886
  Oler.  File may be in a branch other than the working directory.
 
12887
 
 
12888
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
 
12889
  a filename.
 
12890
 
 
12891
* Commands can now be defined by external programs or scripts
 
12892
  in a directory on $BZRPATH.
 
12893
 
 
12894
* New "stat cache" avoids reading the contents of files if they
 
12895
  haven't changed since the previous time.
 
12896
 
 
12897
* If the Python interpreter is too old, try to find a better one
 
12898
  or give an error.  Based on a patch from Fredrik Lundh.
 
12899
 
 
12900
* New optional parameter ``bzr info [BRANCH]``.
 
12901
 
 
12902
* New form ``bzr commit SELECTED`` to commit only selected files.
 
12903
 
 
12904
* New form ``bzr log -r FROM:TO`` shows changes in selected
 
12905
  range; contributed by John A Meinel.
 
12906
 
 
12907
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
 
12908
  options through to an external GNU diff.
 
12909
 
 
12910
* New option ``bzr add --no-recurse`` to add a directory but not
 
12911
  their contents.
 
12912
 
 
12913
* ``bzr --version`` now shows more information if bzr is being run
 
12914
  from a branch.
 
12915
 
 
12916
 
 
12917
Bug Fixes
 
12918
*********
 
12919
 
 
12920
* Fixed diff format so that added and removed files will be
 
12921
  handled properly by patch.  Fix from Lalo Martins.
 
12922
 
 
12923
* Various fixes for files whose names contain spaces or other
 
12924
  metacharacters.
 
12925
 
 
12926
 
 
12927
Testing
 
12928
*******
 
12929
 
 
12930
* Converted black-box test suites from Bourne shell into Python;
 
12931
  now run using ``./testbzr``.  Various structural improvements to
 
12932
  the tests.
 
12933
 
 
12934
* testbzr by default runs the version of bzr found in the same
 
12935
  directory as the tests, or the one given as the first parameter.
 
12936
 
 
12937
* testbzr also runs the internal tests, so the only command
 
12938
  required to check is just ``./testbzr``.
 
12939
 
 
12940
* testbzr requires python2.4, but can be used to test bzr running
 
12941
  under a different version.
 
12942
 
 
12943
* Tests added for many other changes in this release.
 
12944
 
 
12945
 
 
12946
Internal
 
12947
********
 
12948
 
 
12949
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
 
12950
 
 
12951
* Refactor command functions into Command objects based on HCT by
 
12952
  Scott James Remnant.
 
12953
 
 
12954
* Better help messages for many commands.
 
12955
 
 
12956
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
 
12957
  this is called trace messages are just discarded.
 
12958
 
 
12959
* New internal function ``find_touching_revisions()`` and hidden
 
12960
  command touching-revisions trace the changes to a given file.
 
12961
 
 
12962
* Simpler and faster ``compare_inventories()`` function.
 
12963
 
 
12964
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
 
12965
 
 
12966
* New AtomicFile class.
 
12967
 
 
12968
* New developer commands ``added``, ``modified``.
 
12969
 
 
12970
 
 
12971
Portability
 
12972
***********
 
12973
 
 
12974
* Cope on Windows on python2.3 by using the weaker random seed.
 
12975
  2.4 is now only recommended.
 
12976
 
 
12977
 
 
12978
bzr-0.0.4
 
12979
#########
 
12980
 
 
12981
:Released:  2005-04-22
 
12982
 
 
12983
Enhancements
 
12984
************
 
12985
 
 
12986
* 'bzr diff' optionally takes a list of files to diff.  Still a bit
 
12987
  basic.  Patch from QuantumG.
 
12988
 
 
12989
* More default ignore patterns.
 
12990
 
 
12991
* New 'bzr log --verbose' shows a list of files changed in the
 
12992
  changeset.  Patch from Sebastian Cote.
 
12993
 
 
12994
* Roll over ~/.bzr.log if it gets too large.
 
12995
 
 
12996
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
 
12997
  by Jason Diamon.
 
12998
 
 
12999
* New 'bzr help commands' based on a patch from Denys Duchier.
 
13000
 
 
13001
 
 
13002
Changes
 
13003
*******
 
13004
 
 
13005
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
 
13006
  or $EMAIL.  All are decoded by the locale preferred encoding.
 
13007
  If none of these are present user@hostname is used.  The host's
 
13008
  fully-qualified name is not used because that tends to fail when
 
13009
  there are DNS problems.
 
13010
 
 
13011
* New 'bzr whoami' command instead of username user-email.
 
13012
 
 
13013
 
 
13014
Bug Fixes
 
13015
*********
 
13016
 
 
13017
* Make commit safe for hardlinked bzr trees.
 
13018
 
 
13019
* Some Unicode/locale fixes.
 
13020
 
 
13021
* Partial workaround for ``difflib.unified_diff`` not handling
 
13022
  trailing newlines properly.
 
13023
 
 
13024
 
 
13025
Internal
 
13026
********
 
13027
 
 
13028
* Allow docstrings for help to be in PEP0257 format.  Patch from
 
13029
  Matt Brubeck.
 
13030
 
 
13031
* More tests in test.sh.
 
13032
 
 
13033
* Write profile data to a temporary file not into working
 
13034
  directory and delete it when done.
 
13035
 
 
13036
* Smaller .bzr.log with process ids.
 
13037
 
 
13038
 
 
13039
Portability
 
13040
***********
 
13041
 
 
13042
* Fix opening of ~/.bzr.log on Windows.  Patch from Andrew
 
13043
  Bennetts.
 
13044
 
 
13045
* Some improvements in handling paths on Windows, based on a patch
 
13046
  from QuantumG.
 
13047
 
 
13048
 
 
13049
bzr-0.0.3
 
13050
#########
 
13051
 
 
13052
:Released:  2005-04-06
 
13053
 
 
13054
Enhancements
 
13055
************
 
13056
 
 
13057
* New "directories" internal command lists versioned directories
 
13058
  in the tree.
 
13059
 
 
13060
* Can now say "bzr commit --help".
 
13061
 
 
13062
* New "rename" command to rename one file to a different name
 
13063
  and/or directory.
 
13064
 
 
13065
* New "move" command to move one or more files into a different
 
13066
  directory.
 
13067
 
 
13068
* New "renames" command lists files renamed since base revision.
 
13069
 
 
13070
* New cat command contributed by janmar.
 
13071
 
 
13072
Changes
 
13073
*******
 
13074
 
 
13075
* .bzr.log is placed in $HOME (not pwd) and is always written in
 
13076
  UTF-8.  (Probably not a completely good long-term solution, but
 
13077
  will do for now.)
 
13078
 
 
13079
Portability
 
13080
***********
 
13081
 
 
13082
* Workaround for difflib bug in Python 2.3 that causes an
 
13083
  exception when comparing empty files.  Reported by Erik Toubro
 
13084
  Nielsen.
 
13085
 
 
13086
Internal
 
13087
********
 
13088
 
 
13089
* Refactored inventory storage to insert a root entry at the top.
 
13090
 
 
13091
Testing
 
13092
*******
 
13093
 
 
13094
* Start of shell-based black-box testing in test.sh.
 
13095
 
 
13096
 
 
13097
bzr-0.0.2.1
 
13098
###########
 
13099
 
 
13100
Portability
 
13101
***********
 
13102
 
 
13103
* Win32 fixes from Steve Brown.
 
13104
 
 
13105
 
 
13106
bzr-0.0.2
 
13107
#########
 
13108
 
 
13109
:Codename: "black cube"
 
13110
:Released: 2005-03-31
 
13111
 
 
13112
Enhancements
 
13113
************
 
13114
 
 
13115
* Default ignore list extended (see bzrlib/__init__.py).
 
13116
 
 
13117
* Patterns in .bzrignore are now added to the default ignore list,
 
13118
  rather than replacing it.
 
13119
 
 
13120
* Ignore list isn't reread for every file.
 
13121
 
 
13122
* More help topics.
 
13123
 
 
13124
* Reinstate the 'bzr check' command to check invariants of the
 
13125
  branch.
 
13126
 
 
13127
* New 'ignored' command lists which files are ignored and why;
 
13128
  'deleted' lists files deleted in the current working tree.
 
13129
 
 
13130
* Performance improvements.
 
13131
 
 
13132
* New global --profile option.
 
13133
 
 
13134
* Ignore patterns like './config.h' now correctly match files in
 
13135
  the root directory only.
 
13136
 
 
13137
 
 
13138
bzr-0.0.1
 
13139
#########
 
13140
 
 
13141
:Released:  2005-03-26
 
13142
 
 
13143
Enhancements
 
13144
************
 
13145
 
 
13146
* More information from info command.
 
13147
 
 
13148
* Can now say "bzr help COMMAND" for more detailed help.
 
13149
 
 
13150
* Less file flushing and faster performance when writing logs and
 
13151
  committing to stores.
 
13152
 
 
13153
* More useful verbose output from some commands.
 
13154
 
 
13155
Bug Fixes
 
13156
*********
 
13157
 
 
13158
* Fix inverted display of 'R' and 'M' during 'commit -v'.
 
13159
 
 
13160
Portability
 
13161
***********
 
13162
 
 
13163
* Include a subset of ElementTree-1.2.20040618 to make
 
13164
  installation easier.
 
13165
 
 
13166
* Fix time.localtime call to work with Python 2.3 (the minimum
 
13167
  supported).
 
13168
 
 
13169
 
 
13170
bzr-0.0.0.69
 
13171
############
 
13172
 
 
13173
:Released:  2005-03-22
 
13174
 
 
13175
Enhancements
 
13176
************
 
13177
 
 
13178
* First public release.
 
13179
 
 
13180
* Storage of local versions: init, add, remove, rm, info, log,
 
13181
  diff, status, etc.
 
13182
 
 
13183
 
 
13184
..
 
13185
   vim: tw=74 ft=rst ff=unix encoding=utf-8