10
This release adds a translation of some of the user documentation into Spanish.
11
(Contributions of other translations would be very welcome.)
17
* Deprecation warnings will not be suppressed when running ``bzr selftest``
18
so that developers can see if their code is using deprecated functions.
23
* Adding ``-Derror`` will now display a traceback when a plugin fails to
26
* There is a new version of the network protocol used for bzr://, bzr+ssh://
27
and bzr+http:// connections. This will allow more efficient requests and
28
responses, and more graceful fallback when a server is too old to
29
recognise a request from a more recent client. Bazaar 1.6 will
30
interoperate with 0.16 and later versions, but servers should be upgraded
31
when possible. Bazaar 1.6 no longer interoperates with 0.15 and earlier via
32
these protocols. Use alternatives like SFTP or upgrade those servers.
33
(Andrew Bennetts, #83935)
37
* ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``.
38
(Jerad Cramp, #165086)
40
* ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
41
``Graph.find_differences`` to determine missing revisions without having
42
to search the whole ancestry. (John Arbash Meinel, #174625)
46
* ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
47
fails. (Andrew Bennetts, #234229)
49
* Correctly track the base URL of a smart medium when using bzr+http://
50
URLs, which was causing spurious "No repository present" errors with
51
branches in shared repositories accessed over bzr+http.
52
(Andrew Bennetts, #230550)
54
* Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
55
implementations have the attribute. Fixes 'PyCurlTransport' object has no
56
attribute '_remote_is_at_least_1_2' attribute errors.
57
(Andrew Bennetts, #220806)
59
* Failure to delete an obsolete pack file should just give a warning
60
message, not a fatal error. It may for example fail if the file is still
61
in use by another process.
64
* Fix MemoryError during large fetches over HTTP by limiting the amount of
65
data we try to read per ``recv`` call. The problem was observed with
66
Windows and a proxy, but might affect other environments as well.
67
(Eric Holmberg, #215426)
69
* Handle old merge directives correctly in Merger.from_mergeable. Stricter
70
get_parent_map requirements exposed a latent bug here. (Aaron Bentley)
72
* Issue a warning and ignore passwords declared in authentication.conf when
73
used for an ssh scheme (sftp or bzr+ssh).
74
(Vincent Ladeuil, #203186)
76
* Make both http implementations raise appropriate exceptions on 403
77
Forbidden when POSTing smart requests.
78
(Vincent Ladeuil, #230223)
80
* Properly *title* header names in http requests instead of capitalizing
82
(Vincent Ladeuil, #229076)
84
* Treat an encoding of '' as ascii; this can happen when bzr is run
85
under vim on Mac OS X.
86
(Neil Martinsen-Burrell)
90
* Added directory structure and started translation of docs in spanish.
91
(Martin Albisetti, Lucio Albenga)
93
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
94
on the plugin and integration chapters of the User Guide.
97
* More Bazaar developer documentation about packaging and release process,
98
and about use of Python reprs.
99
(Martin Pool, Martin Albisetti)
101
* Updated Tortise strategy document. (Mark Hammond)
105
* New helper function for splitting test suites
106
``split_suite_by_condition``. (Robert Collins)
112
* ``Branch.abspath`` is deprecated; use the Tree or Transport
113
instead. (Martin Pool)
115
* Branch, Repository, Tree and BzrDir should expose a Transport as an
116
attribute if they have one, rather than having it indirectly accessible
117
as ``.control_files._transport``. This doesn't add a requirement
118
to support a Transport in cases where it was not needed before;
119
it just simplifies the way it is reached. (Martin Pool)
121
* ``bzr missing --mine-only`` will return status code 0 if you have no
122
new revisions, but the remote does. Similarly for ``--theirs-only``.
123
The new code only checks one side, so it doesn't know if the other
124
side has changes. This seems more accurate with the request anyway.
125
It also changes the output to print '[This|Other] branch is up to
126
date.' rather than displaying nothing. (John Arbash Meinel)
128
* ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
129
are now deprecated in favor of using Transport operations.
132
* Many methods on ``VersionedFile``, ``Repository`` and in
133
``bzrlib.revision`` deprecated before bzrlib 1.5 have been removed.
136
* The constructors of ``SmartClientMedium`` and its subclasses now require a
137
``base`` parameter. ``SmartClientMedium`` implementations now also need
138
to provide a ``remote_path_from_transport`` method. (Andrew Bennetts)
140
* The default permissions for creating new files and directories
141
should now be obtained from ``BzrDir._get_file_mode()`` and
142
``_get_dir_mode()``, rather than from LockableFiles. The ``_set_file_mode``
143
and ``_set_dir_mode`` variables on LockableFiles which were advertised
144
as a way for plugins to control this are no longer consulted.
147
* ``VersionedFile.join`` is deprecated. This method required local
148
instances of both versioned file objects and was thus hostile to being
149
used for streaming from a smart server. The new get_record_stream and
150
insert_record_stream are meant to efficiently replace this method.
153
* ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
160
This release of Bazaar includes several updates to the documentation, and fixes
161
to prepare for making rich root support the default format. Many bugs have been
162
squashed, including fixes to log, bzr+ssh inter-operation with older servers.
166
* Suppress deprecation warnings when bzrlib is a 'final' release. This way
167
users of packaged software won't be bothered with DeprecationWarnings,
168
but developers and testers will still see them. (John Arbash Meinel)
172
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
173
on the plugin and integration chapters of the User Guide.
177
bzr 1.5rc1 2008-05-09
178
---------------------
180
NOTES WHEN UPGRADING:
184
* Broader support of GNU Emacs mail clients. Set
185
``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
186
bundle in a mail buffer according to the value of ``mail-user-agent``
187
variable. (Xavier Maillard)
193
* Diff now handles revision specs like "branch:" and "submit:" more
194
efficiently. (Aaron Bentley)
196
* More friendly error given when attempt to start the smart server
197
on an address already in use. (Andrea Corbellini, #200575)
199
* Pull completes much faster when there is nothing to pull.
204
* Authentication.conf can define sections without password.
205
(Vincent Ladeuil, #199440)
207
* Avoid muttering every time a child update does not cause a progress bar
208
update. (John Arbash Meinel, #213771)
210
* ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
211
to fix when a Branch has a non-canonical mainline history. ``bzr check``
212
also detects this condition. (John Arbash Meinel, #177855)
214
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
215
for ``revision_id=None`` which was not a string.
216
(John Arbash Meinel, #211661)
218
* ``bzr commit`` now works with Microsoft's FTP service.
221
* Catch definitions outside sections in authentication.conf.
222
(Vincent Ladeuil, #217650)
224
* Conversion from non-rich-root to rich-root(-pack) updates inventory
225
sha1s, even when bundles are used. (Aaron Bentley, #181391)
227
* Conversion from non-rich-root to rich-root(-pack) works correctly even
228
though search keys are not topologically sorted. (Aaron Bentley)
230
* Conversion from non-rich-root to rich-root(-pack) works even when a
231
parent revision has a different root id. (Aaron Bentley, #177874)
233
* Disable strace testing until strace is fixed (see bug #103133) and emit a
234
warning when selftest ends to remind us of leaking tests.
235
(Vincent Ladeuil, #226769)
237
* Fetching all revisions from a repository does not cause pack collisions.
238
(Robert Collins, Aaron Bentley, #212908)
240
* Fix error about "attempt to add line-delta in non-delta knit".
241
(Andrew Bennetts, #217701)
243
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
244
if the remote server was < version 1.2. This was due to a bug in the
245
RemoteRepository.get_parent_map() fallback code.
246
(John Arbash Meinel, #214894)
248
* Remove leftover code in ``bzr_branch`` that inappropriately creates
249
a ``branch-name`` file in the branch control directory.
252
* Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
253
rebinding the socket when starting the server a second time.
254
(John Arbash Meinel, Martin Pool, #164288)
256
* Severe performance degradation in fetching from knit repositories to
257
knits and packs due to parsing the entire revisions.kndx on every graph
258
walk iteration fixed by using the Repository.get_graph API. There was
259
another regression in knit => knit fetching which re-read the index for
260
every revision each side had in common.
261
(Robert Collins, John Arbash Meinel)
263
* When logging the changes to a particular file, there was a bug if there
264
were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
266
* xs4all's ftp server returns a temporary error when trying to list an
267
empty directory, rather than returning an empty list. Adding a
268
workaround so that we don't get spurious failures.
269
(John Arbash Meinel, #215522)
273
* Expanded the User Guide to include new chapters on popular plugins and
274
integrating Bazaar into your environment. The *Best practices* chapter
275
was renamed to *Miscellaneous topics* as suggested by community
276
feedback as well. (Ian Clatworthy)
278
* Document outlining strategies for TortoiseBzr. (Mark Hammond)
280
* Improved the documentation on hooks. (Ian Clatworthy)
282
* Update authentication docs regarding ssh agents.
283
(Vincent Ladeuil, #183705)
287
* Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
288
make it easy to identify which test spawned a thread with an unhandled
289
exception. (Andrew Bennetts)
291
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
292
options for debugging tests, these are complementary to the the -D
293
options. The ``-Dselftest_debug`` global option has been replaced by the
294
``-E=allow_debug`` option for selftest. (Andrew Bennetts)
296
* Parameterised test ids are preserved correctly to aid diagnosis of test
297
failures. (Robert Collins, Andrew Bennetts)
299
* selftest now accepts --starting-with <id> to load only the tests whose id
300
starts with the one specified. This greatly speeds up running the test
301
suite on a limited set of tests and can be used to run the tests for a
302
single module, a single class or even a single test. (Vincent Ladeuil)
304
* The test suite modules have been modified to define load_tests() instead
305
of test_suite(). That speeds up selective loading (via --load-list)
306
significantly and provides many examples on how to migrate (grep for
307
load_tests). (Vincent Ladeuil)
311
* ``Hooks.install_hook`` is now deprecated in favour of
312
``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
313
avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
315
* Implement xml8 serializer. (Aaron Bentley)
317
* New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making
318
deprecation wrappers. (Martin Pool)
320
* ``Repository.revision_parents`` is now deprecated in favour of
321
``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
323
* The Python ``assert`` statement is no longer used in Bazaar source, and
324
a test checks this. (Martin Pool)
328
* ``bzrlib.status.show_pending_merges`` requires the repository to be
329
locked by the caller. Callers should have been doing it anyway, but it
330
will now raise an exception if they do not. (John Arbash Meinel)
332
* Repository.get_data_stream, Repository.get_data_stream_for_search(),
333
Repository.get_deltas_for_revsions(), Repository.revision_trees(),
334
Repository.item_keys_introduced_by() no longer take read locks.
337
* ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
338
towards removing LockableFiles and ``.control_files`` entirely.
341
* Methods deprecated prior to 1.1 have been removed.
348
This release of Bazaar includes handy improvements to the speed of log and
349
status, new options for several commands, improved documentation, and better
350
hooks, including initial code for server-side hooks. A number of bugs have
351
been fixed, particularly in interoperability between different formats or
352
different releases of Bazaar over there network. There's been substantial
353
internal work in both the repository and network code to enable new features
354
and faster performance.
358
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
359
if the remote server was < version 1.2. This was due to a bug in the
360
RemoteRepository.get_parent_map() fallback code.
361
(John Arbash Meinel, Andrew Bennetts, #214894)
364
bzr 1.4rc2 2008-04-21
365
---------------------
369
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
370
for ``revision_id=None`` which was not a string.
371
(John Arbash Meinel, #211661)
373
* Fixed a bug in handling ghost revisions when logging changes in a
374
particular file. (John Arbash Meinel, #209948)
376
* Fix error about "attempt to add line-delta in non-delta knit".
377
(Andrew Bennetts, #205156)
379
* Fixed performance degradation in fetching from knit repositories to
380
knits and packs due to parsing the entire revisions.kndx on every graph
381
walk iteration fixed by using the Repository.get_graph API. There was
382
another regression in knit => knit fetching which re-read the index for
383
every revision each side had in common.
384
(Robert Collins, John Arbash Meinel)
387
bzr 1.4rc1 2008-04-11
388
---------------------
392
* bzr main script cannot be imported (Benjamin Peterson)
394
* On Linux bzr additionally looks for plugins in arch-independent site
395
directory. (Toshio Kuratomi)
397
* The ``set_rh`` branch hook is now deprecated. Please migrate
398
any plugins using this hook to use an alternative, e.g.
399
``post_change_branch_tip``. (Ian Clatworthy)
401
* When a plugin cannot be loaded as the file path is not a valid
402
python module name bzr will now strip a ``bzr_`` prefix from the
403
front of the suggested name, as many plugins (e.g. bzr-svn)
404
want to be installed without this prefix. It is a common mistake
405
to have a folder named "bzr-svn" for that plugin, especially
406
as this is what bzr branch lp:bzr-svn will give you. (James Westby,
409
* UniqueIntegerBugTracker now appends bug-ids instead of joining
410
them to the base URL. Plugins that register bug trackers may
411
need a trailing / added to the base URL if one is not already there.
412
(James Wesby, Andrew Cowie)
416
* Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
418
* ``status`` now accepts ``--no-pending`` to show the status without
419
listing pending merges, which speeds up the command a lot on large
420
histories. (James Westby, #202830)
422
* New ``post_change_branch_tip`` hook that is called after the
423
branch tip is moved but while the branch is still write-locked.
424
See the User Reference for signature details.
425
(Ian Clatworthy, James Henstridge)
427
* Reconfigure can convert a branch to be standalone or to use a shared
428
repository. (Aaron Bentley)
432
* The smart protocol now has support for setting branches' revision info
433
directly. This should make operations like push slightly faster, and is a
434
step towards server-side hooks. The new request method name is
435
``Branch.set_last_revision_info``. (Andrew Bennetts)
437
* ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
438
(James Westby, Andrew Cowie)
440
* ``bzr switch`` will attempt to find branches to switch to relative to the
441
current branch. E.g. ``bzr switch branchname`` will look for
442
``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
445
* Diff is now more specific about execute-bit changes it describes
448
* Fetching data over HTTP is a bit faster when urllib is used. This is done
449
by forcing it to recv 64k at a time when reading lines in HTTP headers,
450
rather than just 1 byte at a time. (Andrew Bennetts)
452
* Log --short and --line are much faster when -r is not specified.
455
* Merge is faster. We no longer check a file's existence unnecessarily
456
when merging the execute bit. (Aaron Bentley)
458
* ``bzr status`` on an explicit list of files no longer shows pending
459
merges, making it much faster on large trees. (John Arbash Meinel)
461
* The launchpad directory service now warns the user if they have not set
462
their launchpad login and are trying to resolve a URL using it, just
463
in case they want to do a write operation with it. (James Westby)
465
* The smart protocol client is slightly faster, because it now only queries
466
the server for the protocol version once per connection. Also, the HTTP
467
transport will now automatically probe for and use a smart server if
468
one is present. You can use the new ``nosmart+`` transport decorator
469
to get the old behaviour. (Andrew Bennetts)
471
* The ``version`` command takes a ``--short`` option to print just the
472
version number, for easier use in scripts. (Martin Pool)
474
* Various operations with revision specs and commands that calculate
475
revnos and revision ids are faster. (John A. Meinel, Aaron Bentley)
479
* Add ``root_client_path`` parameter to SmartWSGIApp and
480
SmartServerRequest. This makes it possible to publish filesystem
481
locations that don't exactly match URL paths. SmartServerRequest
482
subclasses should use the new ``translate_client_path`` and
483
``transport_from_client_path`` methods when dealing with paths received
484
from a client to take this into account. (Andrew Bennetts, #124089)
486
* ``bzr mv a b`` can be now used also to rename previously renamed
487
directories, not only files. (Lukáš Lalinský, #107967)
489
* ``bzr uncommit --local`` can now remove revisions from the local
490
branch to be symmetric with ``bzr commit --local``.
491
(John Arbash Meinel, #93412)
493
* Don't ask for a password if there is no real terminal.
494
(Alexander Belchenko, #69851)
496
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
497
fetching revisions from a knit to pack repository or vice versa using
498
bzr:// (including over http or ssh).
499
(#208418, Andrew Bennetts, Martin Pool, Robert Collins)
501
* Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy. Also
502
fixed ``_get_bytes`` in the same module to use the push back buffer.
503
These bugs had no known impact in normal use, but were problematic for
504
developers working on the code, and were likely to cause real bugs sooner
505
or later. (Andrew Bennetts)
507
* Implement handling of basename parameter for DefaultMail. (James Westby)
509
* Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
510
(Andrew Bennetts, #213425)
512
* Launchpad locations (lp: URLs) can be pulled. (Aaron Bentley, #181945)
514
* Merges that add files to deleted root directories complete. They
515
do create conflicts. (Aaron Bentley, #210092)
517
* vsftp's return ``550 RNFR command failed.`` supported.
518
(Marcus Trautwig, #129786)
522
* Improved documentation on send/merge relationship. (Peter Schuller)
524
* Minor fixes to the User Guide. (Matthew Fuller)
526
* Reduced the evangelism in the User Guide. (Ian Clatworthy)
528
* Added Integrating with Bazaar document for developers (Martin Albisetti)
532
* Attempting to pull data from a ghost aware repository (e.g. knits) into a
533
non-ghost aware repository such as weaves will now fail if there are
534
ghosts. (Robert Collins)
536
* ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
537
now requires the ``index`` and ``access_method`` parameters to be
538
supplied. A compatible shim has been kept in the new function
539
``knit.make_file_knit``. (Robert Collins)
541
* Log formatters must now provide log_revision instead of show and
542
show_merge_revno methods. The latter had been deprecated since the 0.17
543
release. (James Westby)
545
* ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
548
* ``osutils.backup_file`` is removed. (Alexander Belchenko)
550
* ``Repository.get_revision_graph`` is deprecated, with no replacement
551
method. The method was size(history) and not desirable. (Robert Collins)
553
* ``revision.revision_graph`` is deprecated, with no replacement function.
554
The function was size(history) and not desirable. (Robert Collins)
556
* ``Transport.get_shared_medium`` is deprecated. Use
557
``Transport.get_smart_medium`` instead. (Andrew Bennetts)
559
* ``VersionedFile`` factories now accept a get_scope parameter rather
560
than using a call to ``transaction_finished``, allowing the removal of
561
the fixed list of versioned files per repository. (Robert Collins)
563
* ``VersionedFile.annotate_iter`` is deprecated. While in principle this
564
allowed lower memory use, all users of annotations wanted full file
565
annotations, and there is no storage format suitable for incremental
566
line-by-line annotation. (Robert Collins)
568
* ``VersionedFile.clone_text`` is deprecated. This performance optimisation
569
is no longer used - reading the content of a file that is undergoing a
570
file level merge to identical state on two branches is rare enough, and
571
not expensive enough to special case. (Robert Collins)
573
* ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
574
These methods added significant complexity to the ``VersionedFile``
575
implementation, but were only used for optimising fetches from knits -
576
which can be done from outside the knit layer, or via a caching
577
decorator. As knits are not the default format, the complexity is no
578
longer worth paying. (Robert Collins)
580
* ``VersionedFile.create_empty`` is removed. This method presupposed a
581
sensible mapping to a transport for individual files, but pack backed
582
versioned files have no such mapping. (Robert Collins)
584
* ``VersionedFile.get_graph`` is deprecated, with no replacement method.
585
The method was size(history) and not desirable. (Robert Collins)
587
* ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
588
replacement method. The method was size(history) and not desirable.
591
* ``VersionedFile.get_parents`` is deprecated, please use
592
``VersionedFile.get_parent_map``. (Robert Collins)
594
* ``VersionedFile.get_sha1`` is deprecated, please use
595
``VersionedFile.get_sha1s``. (Robert Collins)
597
* ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
598
and unused outside of a single test. (Robert Collins)
600
* ``VersionedFile.iter_parents`` is now deprecated in favour of
601
``get_parent_map`` which can be used to instantiate a Graph on a
602
VersionedFile. (Robert Collins)
604
* ``VersionedFileStore`` no longer uses the transaction parameter given
605
to most methods; amongst other things this means that the
606
get_weave_or_empty method no longer guarantees errors on a missing weave
607
in a readonly transaction, and no longer caches versioned file instances
608
which reduces memory pressure (but requires more careful management by
609
callers to preserve performance). (Robert Collins)
613
* New -Dselftest_debug flag disables clearing of the debug flags during
614
tests. This is useful if you want to use e.g. -Dhpss to help debug a
615
failing test. Be aware that using this feature is likely to cause
616
spurious test failures if used with the full suite. (Andrew Bennetts)
618
* selftest --load-list now uses a new more agressive test loader that will
619
avoid loading unneeded modules and building their tests. Plugins can use
620
this new loader by defining a load_tests function instead of a test_suite
621
function. (a forthcoming patch will provide many examples on how to
625
* selftest --load-list now does some sanity checks regarding duplicate test
626
IDs and tests present in the list but not found in the actual test suite.
629
* Slightly more concise format for the selftest progress bar, so there's
630
more space to show the test name. (Martin Pool) ::
632
[2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
634
* The test suite takes much less memory to run, and is a bit faster. This
635
is done by clearing most attributes of TestCases after running them, if
636
they succeeded. (Andrew Bennetts)
640
* Added ``_build_client_protocol`` to ``_SmartClient``. (Andrew Bennetts)
642
* Added basic infrastructure for automatic plugin suggestion.
645
* If a ``LockableFiles`` object is not explicitly unlocked (for example
646
because of a missing ``try/finally`` block, it will give a warning but
647
not automatically unlock itself. (Previously they did.) This
648
sometimes caused knock-on errors if for example the network connection
649
had already failed, and should not be relied upon by code.
650
(Martin Pool, #109520)
652
* ``make dist`` target to build a release tarball, and also
653
``check-dist-tarball`` and ``dist-upload-escudero``. (Martin Pool)
655
* The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
656
classes will now raise ``UnknownSmartMethod`` when appropriate, so that
657
callers don't need to try distinguish unknown request errors from other
658
errors. (Andrew Bennetts)
660
* ``set_make_working_trees`` is now implemented provided on all repository
661
implementations (Aaron Bentley)
663
* ``VersionedFile`` now has a new method ``get_parent_map`` which, like
664
``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
670
No changes from 1.3.1rc1.
673
bzr 1.3rc1 2008-04-04
674
---------------------
678
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
679
fetching revisions from a knit to pack repository or vice versa using
680
bzr:// (including over http or ssh).
681
(#208418, Andrew Bennetts, Martin Pool, Robert Collins)
687
Bazaar has become part of the GNU project <http://www.gnu.org>
689
Many operations that act on history, including ``log`` and ``annotate`` are now
690
substantially faster. Several bugs have been fixed and several new options and
691
features have been added.
695
* Avoid spurious failure of ``TestVersion.test_version`` matching
697
(#202778, Martin Pool)
700
bzr 1.3rc1 2008-03-16
701
---------------------
703
NOTES WHEN UPGRADING:
705
* The backup directory created by ``upgrade`` is now called
706
``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
710
* A new repository format 'development' has been added. This format will
711
represent the latest 'in-progress' format that the bzr developers are
712
interested in getting early-adopter testing and feedback on.
713
``doc/developers/development-repo.txt`` has detailed information.
716
* BZR_LOG environment variable controls location of .bzr.log trace file.
717
User can suppress writing messages to .bzr.log by using '/dev/null'
718
filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
719
is not defined but BZR_HOME is defined then default location
720
for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
721
(Alexander Belchenko)
723
* ``launchpad`` builtin plugin now shipped as separate part in standalone
724
bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
725
and standalone installer allows user to skip installation of this plugin.
726
(Alexander Belchenko)
728
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
730
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
731
missing final fields. (Martin Pool)
735
* ``branch`` and ``checkout`` can hard-link working tree files, which is
736
faster and saves space. (Aaron Bentley)
738
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
739
the submit branch to determine the email address to send to.
744
* BzrBranch._lefthand_history is faster on pack repos. (Aaron Bentley)
746
* Branch6.generate_revision_history is faster. (Aaron Bentley)
748
* Directory services can now be registered, allowing special URLs to be
749
dereferenced into real URLs. This is a generalization and cleanup of
750
the lp: transport lookup. (Aaron Bentley)
752
* Merge directives that are automatically attached to emails have nicer
753
filenames, based on branch-nick + revno. (Aaron Bentley)
755
* ``push`` has a ``--revision`` option, to specify what revision to push up
758
* Significantly reducing execution time and network traffic for trivial
759
case of running ``bzr missing`` command for two identical branches.
760
(Alexander Belchenko)
762
* Speed up operations that look at the revision graph (such as 'bzr log').
763
``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
764
extract the revision history. This allows filtering ghosts while
765
stepping instead of needing to peek ahead. (John Arbash Meinel)
767
* The ``hooks`` command lists installed hooks, to assist in debugging.
770
* Updates to how ``annotate`` work. Should see a measurable improvement in
771
performance and memory consumption for file with a lot of merges.
772
Also, correctly handle when a line is introduced by both parents (it
773
should be attributed to the first merge which notices this, and not
774
to all subsequent merges.) (John Arbash Meinel)
778
* Autopacking no longer holds the full set of inventory lines in
779
memory while copying. For large repositories, this can amount to
780
hundreds of MB of ram consumption.
781
(Ian Clatworthy, John Arbash Meinel)
783
* Cherrypicking when using ``--format=merge3`` now explictly excludes
784
BASE lines. (John Arbash Meinel, #151731)
786
* Disable plink's interactive prompt for password.
787
(#107593, Dmitry Vasiliev)
789
* Encode command line arguments from unicode to user_encoding before
790
invoking external mail client in `bzr send` command.
791
(#139318, Alexander Belchenko)
793
* Fixed problem connecting to ``bzr+https://`` servers.
794
(#198793, John Ferlito)
796
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
799
* Include quick-start-summary.svg file to python-based installer(s)
800
for Windows. (#192924, Alexander Belchenko)
802
* lca merge now respects specified files. (Aaron Bentley)
804
* Make version-info --custom imply --all. (#195560, James Westby)
806
* ``merge --preview`` now works for merges that add or modify
807
symlinks (James Henstridge)
809
* Redirecting the output from ``bzr merge`` (when the remembered
810
location is used) now works. (John Arbash Meinel)
812
* setup.py script explicitly checks for Python version.
813
(Jari Aalto, Alexander Belchenko, #200569)
815
* UnknownFormatErrors no longer refer to branches regardless of kind of
816
unknown format. (Daniel Watkins, #173980)
818
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
819
signs, among other small improvements. (Matt Nordhoff, #86838)
821
* Use correct indices when emitting LCA conflicts. This fixes IndexError
822
errors. (Aaron Bentley, #196780)
826
* Explained how to use ``version-info --custom`` in the User Guide.
827
(Neil Martinsen-Burrell)
831
* Support for loading plugins from zip files and
832
``bzrlib.plugin.load_from_zip()`` function are deprecated.
833
(Alexander Belchenko)
837
* The branch interface tests were invalid for branches using rich-root
838
repositories because the empty string is not a valid file-id.
843
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
844
``Repository.get_revision_graph()`` except it includes ghosts and you can
845
stop part-way through. (John Arbash Meinel)
847
* New module ``tools/package_mf.py`` provide custom module finder for
848
python packages (improves standard python library's modulefinder.py)
849
used by ``setup.py`` script while building standalone bzr.exe.
850
(Alexander Belchenko)
852
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
853
detecting external lookup support on remote repositories. This method is
854
now attempted first when lookup up repositories, leading to an extra
855
round trip on older bzr smart servers. (Robert Collins)
857
* Repository formats have a new supported-feature attribute
858
``supports_external_lookups`` used to indicate repositories which support
859
falling back to other repositories when they have partial data.
862
* ``Repository.get_revision_graph_with_ghosts`` and
863
``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
864
have been deprecated. (John Arbash Meinel)
866
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
867
``Tree._iter_changes``. The api is now considered stable and ready for
868
external users. (Aaron Bentley)
870
* The bzrdir format registry now accepts an ``alias`` keyword to
871
register_metadir, used to indicate that a format name is an alias for
872
some other format and thus should not be reported when describing the
873
format. (Robert Collins)
881
* Fix failing test in Launchpad plugin. (Martin Pool)
884
bzr 1.2rc1 2008-02-13
885
---------------------
887
NOTES WHEN UPGRADING:
889
* Fetching via the smart protocol may need to reconnect once during a fetch
890
if the remote server is running Bazaar 1.1 or earlier, because the client
891
attempts to use more efficient requests that confuse older servers. You
892
may be required to re-enter a password or passphrase when this happens.
893
This won't happen if the server is upgraded to Bazaar 1.2.
898
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
899
consistent with pack-0.92 fetching over SFTP). (Robert Collins)
901
* Formatting of ``bzr plugins`` output is changed to be more human-
902
friendly. Full path of plugins locations will be shown only with
903
``--verbose`` command-line option. (Alexander Belchenko)
905
* ``merge`` now prefers to use the submit branch, but will fall back to
906
parent branch. For many users, this has no effect. But some users who
907
pull and merge on the same branch will notice a change. This change
908
makes it easier to work on a branch on two different machines, pulling
909
between the machines, while merging from the upstream.
910
``merge --remember`` can now be used to set the submit_branch.
915
* ``merge --preview`` produces a diff of the changes merge would make,
916
but does not actually perform the merge. (Aaron Bentley)
918
* New smart method ``Repository.get_parent_map`` for getting revision
919
parent data. This returns additional parent information topologically
920
adjacent to the requested data to reduce round trip latency impacts.
923
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
924
revision data that streams revision data via a chunked encoding. This
925
avoids buffering large amounts of revision data on the server and on the
926
client, and sends less data to the server to request the revisions.
927
(Andrew Bennetts, Robert Collins, #178353)
929
* The launchpad plugin now handles lp urls of the form
930
``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
931
launchpad instance to do the resolution of the branch identities.
932
This is primarily of use to Launchpad developers, but can also
933
be used by other users who want to try out Launchpad as
934
a branch location without messing up their public Launchpad
935
account. Branches that are pushed to the staging environment
936
have an expected lifetime of one day. (Tim Penhey)
940
* Creating a new branch no longer tries to read the entire revision-history
941
unnecessarily over smart server operations. (Robert Collins)
943
* Fetching between different repository formats with compatible models now
944
takes advantage of the smart method to stream revisions. (Andrew Bennetts)
946
* The ``--coverage`` option is now global, rather specific to ``bzr
947
selftest``. (Andrew Bennetts)
949
* The ``register-branch`` command will now use the public url of the branch
950
containing the current directory, if one has been set and no explicit
951
branch is provided. (Robert Collins)
953
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
954
Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
959
* Calculate remote path relative to the shared medium in _SmartClient. This
960
is related to the problem in bug #124089. (Andrew Bennetts)
962
* Cleanly handle connection errors in smart protocol version two, the same
963
way as they are handled by version one. (Andrew Bennetts)
965
* Clearer error when ``version-info --custom`` is used without
966
``--template`` (Lukáš Lalinský)
968
* Don't raise UnavailableFeature during test setup when medusa is not
969
available or tearDown is never called leading to nasty side effects.
970
(#137823, Vincent Ladeuil)
972
* If a plugin's test suite cannot be loaded, for example because of a syntax
973
error in the tests, then ``selftest`` fails, rather than just printing
974
a warning. (Martin Pool, #189771)
976
* List possible values for BZR_SSH environment variable in env-variables
977
help topic. (Alexander Belchenko, #181842)
979
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
980
popping the log redirection now precisely restores the previous state,
981
which makes it easier to use bzr log output from other programs.
982
TestCaseInTempDir no longer depends on a log redirection being established
983
by the test framework, which lets bzr tests cleanly run from a normal
985
(#124153, #124849, Martin Pool, Jonathan Lange)
987
* ``pull --quiet`` is now more quiet, in particular a message is no longer
988
printed when the remembered pull location is used. (James Westby,
991
* ``reconfigure`` can safely be interrupted while fetching.
992
(Aaron Bentley, #179316)
994
* ``reconfigure`` preserves tags when converting to and from lightweight
995
checkouts. (Aaron Bentley, #182040)
997
* Stop polluting /tmp when running selftest.
998
(Vincent Ladeuil, #123623)
1000
* Switch from NFKC => NFC for normalization checks. NFC allows a few
1001
more characters which should be considered valid.
1002
(John Arbash Meinel, #185458)
1004
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
1005
interacting badly with a bug on the launchpad side. (Robert Collins)
1007
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
1008
tracebacks. (Andrew Bennetts, #182849)
1012
* Classes implementing Merge types like Merge3Merger must now accept (and
1013
honour) a do_merge flag in their constructor. (Aaron Bentley)
1015
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
1016
to previously take a write lock (and start a write group.)
1021
* selftest now accepts --load-list <file> to load a test id list. This
1022
speeds up running the test suite on a limited set of tests.
1027
* Add a new method ``get_result`` to graph search objects. The resulting
1028
``SearchResult`` can be used to recreate the search later, which will
1029
be useful in reducing network traffic. (Robert Collins)
1031
* Use convenience function to check whether two repository handles
1032
are referring to the same repository in ``Repository.get_graph``.
1033
(Jelmer Vernooij, #187162)
1035
* Fetching now passes the find_ghosts flag through to the
1036
``InterRepository.missing_revision_ids`` call consistently for all
1037
repository types. This will enable faster missing revision discovery with
1038
bzr+ssh. (Robert Collins)
1040
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
1042
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
1043
``InterRepository.search_missing_revision_ids`` which returns a
1044
``bzrlib.graph.SearchResult`` suitable for making requests from the smart
1045
server. (Robert Collins)
1047
* New error ``NoPublicBranch`` for commands that need a public branch to
1048
operate. (Robert Collins)
1050
* New method ``iter_inventories`` on Repository for access to many
1051
inventories. This is primarily used by the ``revision_trees`` method, as
1052
direct access to inventories is discouraged. (Robert Collins)
1054
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
1055
which will split out ghosts and present parents into two separate sets,
1056
useful for code which needs to be aware of ghosts (e.g. fetching data
1057
cares about ghosts during revision selection). (Robert Collins)
1059
* Record a timestamp against each mutter to the trace file, relative to the
1060
first import of bzrlib. (Andrew Bennetts)
1062
* ``Repository.get_data_stream`` is now deprecated in favour of
1063
``Repository.get_data_stream_for_search`` which allows less network
1064
traffic when requesting data streams over a smart server. (Robert Collins)
1066
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
1067
removing one round trip on many network operations. (Robert Collins)
1069
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
1070
SFTPTransport and HttpTransportBase. (Andrew Bennetts)
1072
* Repository has a new method ``has_revisions`` which signals the presence
1073
of many revisions by returning a set of the revisions listed which are
1074
present. This can be done by index queries without reading data for parent
1075
revision names etc. (Robert Collins)
1081
(no changes from 1.1rc1)
1083
bzr 1.1rc1 2008-01-05
1084
---------------------
1088
* Dotted revision numbers have been revised. Instead of growing longer with
1089
nested branches the branch number just increases. (eg instead of 1.1.1.1.1
1090
we now report 1.2.1.) This helps scale long lived branches which have many
1091
feature branches merged between them. (John Arbash Meinel)
1093
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
1094
Use ``bzr diff branch1 --new branch2`` instead. This change has
1095
been made to remove the ambiguity where ``branch2`` is in fact a
1096
specific file to diff within ``branch1``.
1100
* New option to use custom template-based formats in ``bzr version-info``.
1103
* diff '--using' allows an external diff tool to be used for files.
1106
* New "lca" merge-type for fast everyday merging that also supports
1107
criss-cross merges. (Aaron Bentley)
1111
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
1114
* ``branch`` and ``checkout`` can now use files from a working tree to
1115
to speed up the process. For checkout, this requires the new
1116
--files-from flag. (Aaron Bentley)
1118
* ``bzr diff`` now sorts files in alphabetical order. (Aaron Bentley)
1120
* ``bzr diff`` now works on branches without working trees. Tree-less
1121
branches can also be compared to each other and to working trees using
1122
the new diff options ``--old`` and ``--new``. Diffing between branches,
1123
with or without trees, now supports specific file filtering as well.
1124
(Ian Clatworthy, #6700)
1126
* ``bzr pack`` now orders revision texts in topological order, with newest
1127
at the start of the file, promoting linear reads for ``bzr log`` and the
1128
like. This partially fixes #154129. (Robert Collins)
1130
* Merge directives now fetch prerequisites from the target branch if
1131
needed. (Aaron Bentley)
1133
* pycurl now handles digest authentication.
1136
* ``reconfigure`` can now convert from repositories. (Aaron Bentley)
1138
* ``-l`` is now a short form for ``--limit`` in ``log``. (Matt Nordhoff)
1140
* ``merge`` now warns when merge directives cause cherrypicks.
1143
* ``split`` now supported, to enable splitting large trees into smaller
1144
pieces. (Aaron Bentley)
1148
* Avoid AttributeError when unlocking a pack repository when an error occurs.
1149
(Martin Pool, #180208)
1151
* Better handle short reads when processing multiple range requests.
1152
(Vincent Ladeuil, #179368)
1154
* build_tree acceleration uses the correct path when a file has been moved.
1157
* ``commit`` now succeeds when a checkout and its master branch share a
1158
repository. (Aaron Bentley, #177592)
1160
* Fixed error reporting of unsupported timezone format in
1161
``log --timezone``. (Lukáš Lalinský, #178722)
1163
* Fixed Unicode encoding error in ``ignored`` when the output is
1164
redirected to a pipe. (Lukáš Lalinský)
1166
* Fix traceback when sending large response bodies over the smart protocol
1167
on Windows. (Andrew Bennetts, #115781)
1169
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
1170
pointed to different logical drives on Windows.
1171
(Alexander Belchenko, #90847)
1173
* HTTP test servers are now compatible with the http protocol version 1.1.
1174
(Vincent Ladeuil, #175524)
1176
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
1177
correctly, instead of erroring or attributing incorrect parents to ghosts.
1180
* ``merge --weave --uncommitted`` now works. (Aaron Bentley)
1182
* pycurl authentication handling was broken and incomplete. Fix handling of
1183
user:pass embedded in the urls.
1184
(Vincent Ladeuil, #177643)
1186
* Files inside non-directories are now handled like other conflict types.
1187
(Aaron Bentley, #177390)
1189
* ``reconfigure`` is able to convert trees into lightweight checkouts.
1192
* Reduce lockdir timeout to 0 when running ``bzr serve``. (Andrew Bennetts,
1195
* Test that the old ``version_info_format`` functions still work, even
1196
though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
1198
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
1201
* ``uncommit`` works even when the commit messages of revisions to be
1202
removed use characters not supported in the terminal encoding.
1205
* When dumb http servers return whole files instead of the requested ranges,
1206
read the remaining bytes by chunks to avoid overflowing network buffers.
1207
(Vincent Ladeuil, #175886)
1211
* Minor tweaks made to the bug tracker integration documentation.
1214
* Reference material has now be moved out of the User Guide and added
1215
to the User Reference. The User Reference has gained 4 sections as
1216
a result: Authenication Settings, Configuration Settings, Conflicts
1217
and Hooks. All help topics are now dumped into text format in the
1218
doc/en/user-reference directory for those who like browsing that
1219
information in their editor. (Ian Clatworthy)
1221
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
1225
* find_* methods available for BzrDirs, Branches and WorkingTrees.
1228
* Help topics can now be loaded from files.
1229
(Ian Clatworthy, Alexander Belchenko)
1231
* get_parent_map now always provides tuples as its output. (Aaron Bentley)
1233
* Parent Providers should now implement ``get_parent_map`` returning a
1234
dictionary instead of ``get_parents`` returning a list.
1235
``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
1238
* Patience Diff now supports arbitrary python objects, as long as they
1239
support ``hash()``. (John Arbash Meinel)
1241
* Reduce selftest overhead to establish test names by memoization.
1248
* Modules can now customise their tests by defining a ``load_tests``
1249
attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
1250
for the documentation on this attribute. (Robert Collins)
1252
* New helper function ``bzrlib.tests.condition_id_re`` which helps
1253
filter tests based on a regular expression search on the tests id.
1256
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
1257
filter tests based on class. (Robert Collins)
1259
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
1260
generalises the ``exclude_suite_by_re`` function. (Robert Collins)
1262
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
1263
generalises the ``filter_suite_by_re`` function. (Robert Collins)
1265
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
1266
TestSuite that does not contain tests from the input that matched a
1267
regular expression. (Robert Collins)
1269
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
1270
randomized copy of the input suite. (Robert Collins)
1272
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
1273
suite into two according to a regular expression. (Robert Collins)
1275
* Parametrize all http tests for the transport implementations, the http
1276
protocol versions (1.0 and 1.1) and the authentication schemes.
1279
* The ``exclude_pattern`` and ``random_order`` parameters to the function
1280
``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
1282
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
1283
replaced by the new helper methods added in this release. (Robert Collins)
1291
* More improvements and fixes to the User Guide. (Ian Clatworthy)
1293
* Add information on cherrypicking/rebasing to the User Guide.
1296
* Improve bug tracker integration documentation. (Ian Clatworthy)
1298
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
1299
to the rebasing section of the User Guide from Aaron Bentley.
1303
bzr 1.0rc3 2007-12-11
1304
---------------------
1308
* If a traceback occurs, users are now asked to report the bug
1309
through Launchpad (https://bugs.launchpad.net/bzr/), rather than
1310
by mail to the mailing list.
1315
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
1317
* Give more feedback during long http downloads by making readv deliver data
1318
as it arrives for urllib, and issue more requests for pycurl. High latency
1319
networks are better handled by urllib, the pycurl implementation give more
1320
feedback but also incur more latency.
1321
(Vincent Ladeuil, #173010)
1323
* Implement _make_parents_provider on RemoteRepository, allowing generating
1324
bundles against branches on a smart server. (Andrew Bennetts, #147836)
1328
* Improved user guide. (Ian Clatworthy)
1330
* The single-page quick reference guide is now available as a PDF.
1335
* readv urllib http implementation is now a real iterator above the
1336
underlying socket and deliver data as soon as it arrives. 'get' still
1337
wraps its output in a StringIO.
1341
bzr 1.0rc2 2007-12-07
1342
---------------------
1346
* Added a --coverage option to selftest. (Andrew Bennetts)
1348
* Annotate merge (merge-type=weave) now supports cherrypicking.
1351
* ``bzr commit`` now doesn't print the revision number twice. (Matt
1354
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
1355
define locations of bug trackers that are not directly supported by
1356
bzr or a plugin. The URL will be treated as a template and ``{id}``
1357
placeholders will be replaced by specific bug IDs. (Lukáš Lalinský)
1359
* Support logging single merge revisions with short and line log formatters.
1362
* User Guide enhanced with suggested readability improvements from
1363
Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
1365
* Quick Start Guide renamed to Quick Start Card, moved down in
1366
the catalog, provided in pdf and png format and updated to refer
1367
to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
1369
* ``switch`` can now be used on heavyweight checkouts as well as
1370
lightweight ones. After switching a heavyweight checkout, the
1371
local branch is a mirror/cache of the new bound branch and
1372
uncommitted changes in the working tree are merged. As a safety
1373
check, if there are local commits in a checkout which have not
1374
been committed to the previously bound branch, then ``switch``
1375
fails unless the ``--force`` option is given. This option is
1376
now also required if the branch a lightweight checkout is pointing
1377
to has been moved. (Ian Clatworthy)
1381
* New -Dhttp debug option reports http connections, requests and responses.
1384
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
1388
* Better error message when running ``bzr cat`` on a non-existant branch.
1389
(Lukáš Lalinský, #133782)
1391
* Catch OSError 17 (file exists) in final phase of tree transform and show
1393
(Alexander Belchenko, #111758)
1395
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
1396
allowing multiple GET requests to be issued if too many ranges are
1398
(Vincent Ladeuil, #172701)
1400
* Check for missing basis texts when fetching from packs to packs.
1401
(John Arbash Meinel, #165290)
1403
* Fall back to showing e-mail in ``log --short/--line`` if the
1404
committer/author has only e-mail. (Lukáš Lalinský, #157026)
1408
* Deprecate not passing a ``location`` argument to commit reporters'
1409
``started`` methods. (Matt Nordhoff)
1412
bzr 1.0rc1 2007-11-30
1413
---------------------
1415
NOTES WHEN UPGRADING:
1417
* The default repository format is now ``pack-0.92``. This
1418
default is used when creating new repositories with ``init`` and
1419
``init-repo``, and when branching over bzr+ssh or bzr+hpss.
1420
(See https://bugs.launchpad.net/bugs/164626)
1422
This format can be read and written by Bazaar 0.92 and later, and
1423
data can be transferred to and from older formats.
1425
To upgrade, please reconcile your repository (``bzr reconcile``), and then
1426
upgrade (``bzr upgrade``).
1428
``pack-0.92`` offers substantially better scaling and performance than the
1429
previous knits format. Some operations are slower where the code already
1430
had bad scaling characteristics under knits, the pack format makes such
1431
operations more visible as part of being more scalable overall. We will
1432
correct such operations over the coming releases and encourage the filing
1433
of bugs on any operation which you observe to be slower in a packs
1434
repository. One particular case that we do not intend to fix is pulling
1435
data from a pack repository into a knit repository over a high latency
1436
link; downgrading such data requires reinsertion of the file texts, and
1437
this is a classic space/time tradeoff. The current implementation is
1438
conservative on memory usage because we need to support converting data
1439
from any tree without problems.
1440
(Robert Collins, Martin Pool, #164476)
1444
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
1445
still available if user selects it explicitly with BZR_SSH environment
1446
variable. (Alexander Belchenko, workaround for bug #107593)
1448
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
1449
to enable the subtree functions (for example, for bzr-svn).
1450
See http://doc.bazaar-vcs.org/latest/developer/packrepo.html
1455
* New ``authentication.conf`` file holding the password or other credentials
1456
for remote servers. This can be used for ssh, sftp, smtp and other
1457
supported transports.
1460
* New rich-root and rich-root-pack formats, recording the same data about
1461
tree roots that's recorded for all other directories.
1462
(Aaron Bentley, #164639)
1464
* ``pack-0.92`` repositories can now be reconciled.
1465
(Robert Collins, #154173)
1467
* ``switch`` command added for changing the branch a lightweight checkout
1468
is associated with and updating the tree to reflect the latest content
1469
accordingly. This command was previously part of the BzrTools plug-in.
1470
(Ian Clatworthy, Aaron Bentley, David Allouche)
1472
* ``reconfigure`` command can now convert branches, trees, or checkouts to
1473
lightweight checkouts. (Aaron Bentley)
1477
* Commit updates the state of the working tree via a delta rather than
1478
supplying entirely new basis trees. For commit of a single specified file
1479
this reduces the wall clock time for commit by roughly a 30%.
1480
(Robert Collins, Martin Pool)
1482
* Commit with many automatically found deleted paths no longer performs
1483
linear scanning for the children of those paths during inventory
1484
iteration. This should fix commit performance blowing out when many such
1485
paths occur during commit. (Robert Collins, #156491)
1487
* Fetch with pack repositories will no longer read the entire history graph.
1488
(Robert Collins, #88319)
1490
* Revert takes out an appropriate lock when reverting to a basis tree, and
1491
does not read the basis inventory twice. (Robert Collins)
1493
* Diff does not require an inventory to be generated on dirstate trees.
1494
(Aaron Bentley, #149254)
1496
* New annotate merge (--merge-type=weave) implementation is fast on
1497
versionedfiles withough cached annotations, e.g. pack-0.92.
1502
* ``bzr merge`` now warns when it encounters a criss-cross merge.
1505
* ``bzr send`` now doesn't require the target e-mail address to be
1506
specified on the command line if an interactive e-mail client is used.
1509
* ``bzr tags`` now prints the revision number for each tag, instead of
1510
the revision id, unless --show-ids is passed. In addition, tags can be
1511
sorted chronologically instead of lexicographically with --sort=time.
1512
(Adeodato Simó, #120231)
1514
* Windows standalone version of bzr is able to load system-wide plugins from
1515
"plugins" subdirectory in installation directory. In addition standalone
1516
installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
1517
about paths and bzr version. (Alexander Belchenko, #129298)
1523
* A progress bar has been added for knitpack -> knitpack fetching.
1524
(Robert Collins, #157789, #159147)
1526
* Branching from a branch via smart server now preserves the repository
1527
format. (Andrew Bennetts, #164626)
1529
* ``commit`` is now able to invoke an external editor in a non-ascii
1530
directory. (Daniel Watkins, #84043)
1532
* Catch connection errors for ftp.
1533
(Vincent Ladeuil, #164567)
1535
* ``check`` no longer reports spurious unreferenced text versions.
1536
(Robert Collins, John A Meinel, #162931, #165071)
1538
* Conflicts are now resolved recursively by ``revert``.
1539
(Aaron Bentley, #102739)
1541
* Detect invalid transport reuse attempts by catching invalid URLs.
1542
(Vincent Ladeuil, #161819)
1544
* Deleting a file without removing it shows a correct diff, not a traceback.
1547
* Do no use timeout in HttpServer anymore.
1548
(Vincent Ladeuil, #158972).
1550
* Don't catch the exceptions related to the http pipeline status before
1551
retrying an http request or some programming errors may be masked.
1552
(Vincent Ladeuil, #160012)
1554
* Fix ``bzr rm`` to not delete modified and ignored files.
1555
(Lukáš Lalinský, #172598)
1557
* Fix exception when revisionspec contains merge revisons but log
1558
formatter doesn't support merge revisions. (Kent Gibson, #148908)
1560
* Fix exception when ScopeReplacer is assigned to before any members have
1561
been retrieved. (Aaron Bentley)
1563
* Fix multiple connections during checkout --lightweight.
1564
(Vincent Ladeuil, #159150)
1566
* Fix possible error in insert_data_stream when copying between
1567
pack repositories over bzr+ssh or bzr+http.
1568
KnitVersionedFile.get_data_stream now makes sure that requested
1569
compression parents are sent before any delta hunks that depend
1571
(Martin Pool, #164637)
1573
* Fix typo in limiting offsets coalescing for http, leading to
1574
whole files being downloaded instead of parts.
1575
(Vincent Ladeuil, #165061)
1577
* FTP server errors don't error in the error handling code.
1578
(Robert Collins, #161240)
1580
* Give a clearer message when a pull fails because the source needs
1582
(Martin Pool, #164443)
1584
* It is clearer when a plugin cannot be loaded because of its name, and a
1585
suggestion for an acceptable name is given. (Daniel Watkins, #103023)
1587
* Leave port as None in transport objects if user doesn't
1588
specify a port in urls.
1589
(vincent Ladeuil, #150860)
1591
* Make sure Repository.fetch(self) is properly a no-op for all
1592
Repository implementations. (John Arbash Meinel, #158333)
1594
* Mark .bzr directories as "hidden" on Windows.
1595
(Alexander Belchenko, #71147)
1597
* ``merge --uncommitted`` can now operate on a single file.
1598
(Aaron Bentley, Lukáš Lalinský, #136890)
1600
* Obsolete packs are now cleaned up by pack and autopack operations.
1601
(Robert Collins, #153789)
1603
* Operations pulling data from a smart server where the underlying
1604
repositories are not both annotated/both unannotated will now work.
1605
(Robert Collins, #165304).
1607
* Reconcile now shows progress bars. (Robert Collins, #159351)
1609
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
1610
properly. (John Arbash Meinel, #162486)
1612
* Removing an already-removed file reports the file does not exist. (Daniel
1615
* Rename on Windows is able to change filename case.
1616
(Alexander Belchenko, #77740)
1618
* Return error instead of a traceback for ``bzr log -r0``.
1619
(Kent Gibson, #133751)
1621
* Return error instead of a traceback when bzr is unable to create
1622
symlink on some platforms (e.g. on Windows).
1623
(Alexander Belchenko, workaround for #81689)
1625
* Revert doesn't crash when restoring a single file from a deleted
1626
directory. (Aaron Bentley)
1628
* Stderr output via logging mechanism now goes through encoded wrapper
1629
and no more uses utf-8, but terminal encoding instead. So all unicode
1630
strings now should be readable in non-utf-8 terminal.
1631
(Alexander Belchenko, #54173)
1633
* The error message when ``move --after`` should be used makes how to do so
1634
clearer. (Daniel Watkins, #85237)
1636
* Unicode-safe output from ``bzr info``. The output will be encoded
1637
using the terminal encoding and unrepresentable characters will be
1638
replaced by '?'. (Lukáš Lalinský, #151844)
1640
* Working trees are no longer created when pushing into a local no-trees
1641
repo. (Daniel Watkins, #50582)
1643
* Upgrade util/configobj to version 4.4.0.
1644
(Vincent Ladeuil, #151208).
1646
* Wrap medusa ftp test server as an FTPServer feature.
1647
(Vincent Ladeuil, #157752)
1651
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
1652
during very long time. (Alexander Belchenko)
1654
* The return value of
1655
``VersionedFile.iter_lines_added_or_present_in_versions`` has been
1656
changed. Previously it was an iterator of lines, now it is an iterator of
1657
(line, version_id) tuples. This change has been made to aid reconcile and
1658
fetch operations. (Robert Collins)
1660
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
1663
* The Repository format registry default has been removed; it was previously
1664
obsoleted by the bzrdir format default, which implies a default repository
1670
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
1671
``bzrlib.pack``. These classes provide more convenient APIs for generating
1672
and parsing containers from streams rather than from files. (Andrew
1675
* New module ``lru_cache`` providing a cache for use by tasks that need
1676
semi-random access to large amounts of data. (John A Meinel)
1678
* InventoryEntry.diff is now deprecated. Please use diff.DiffTree instead.
1688
* New uninstaller on Win32. (Alexander Belchenko)
1691
bzr 0.92rc1 2007-10-29
1692
----------------------
1694
NOTES WHEN UPGRADING:
1698
* ``bzr`` now returns exit code 4 if an internal error occurred, and
1699
3 if a normal error occurred. (Martin Pool)
1701
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
1702
repository index errors that occured as a result of the Weave disk format.
1703
Instead the ``reconcile`` command needs to be run to correct those
1704
problems if they exist (and it has been able to fix most such problems
1705
since bzr 0.8). Some new problems have been identified during this release
1706
and you should run ``bzr check`` once on every repository to see if you
1707
need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
1708
repository due to mismatched parent errors - a symptom of index errors -
1709
you should simply take a full copy of that remote repository to a clean
1710
directory outside any local repositories, then run reconcile on it, and
1711
finally pull from it locally. (And naturally email the repositories owner
1712
to ask them to upgrade and run reconcile).
1717
* New ``knitpack-experimental`` repository format. This is interoperable with
1718
the ``dirstate-tags`` format but uses a smarter storage design that greatly
1719
speeds up many operations, both local and remote. This new format can be
1720
used as an option to the ``init``, ``init-repository`` and ``upgrade``
1721
commands. See http://doc.bazaar-vcs.org/0.92/developers/knitpack.html
1722
for further details. (Robert Collins)
1724
* For users of bzr-svn (and those testing the prototype subtree support) that
1725
wish to try packs, a new ``knitpack-subtree-experimental`` format has also
1726
been added. This is interoperable with the ``dirstate-subtrees`` format.
1729
* New ``reconfigure`` command. (Aaron Bentley)
1731
* New ``revert --forget-merges`` command, which removes the record of a pending
1732
merge without affecting the working tree contents. (Martin Pool)
1734
* New ``bzr_remote_path`` configuration variable allows finer control of
1735
remote bzr locations than BZR_REMOTE_PATH environment variable.
1738
* New ``launchpad-login`` command to tell Bazaar your Launchpad
1739
user ID. This can then be used by other functions of the
1740
Launchpad plugin. (James Henstridge)
1744
* Commit in quiet mode is now slightly faster as the information to
1745
output is no longer calculated. (Ian Clatworthy)
1747
* Commit no longer checks for new text keys during insertion when the
1748
revision id was deterministically unique. (Robert Collins)
1750
* Committing a change which is not a merge and does not change the number of
1751
files in the tree is faster by utilising the data about whether files are
1752
changed to determine if the tree is unchanged rather than recalculating
1753
it at the end of the commit process. (Robert Collins)
1755
* Inventory serialisation no longer double-sha's the content.
1758
* Knit text reconstruction now avoids making copies of the lines list for
1759
interim texts when building a single text. The new ``apply_delta`` method
1760
on ``KnitContent`` aids this by allowing modification of the revision id
1761
such objects represent. (Robert Collins)
1763
* Pack indices are now partially parsed for specific key lookup using a
1764
bisection approach. (Robert Collins)
1766
* Partial commits are now approximately 40% faster by walking over the
1767
unselected current tree more efficiently. (Robert Collins)
1769
* XML inventory serialisation takes 20% less time while being stricter about
1770
the contents. (Robert Collins)
1772
* Graph ``heads()`` queries have been fixed to no longer access all history
1773
unnecessarily. (Robert Collins)
1777
* ``bzr+https://`` smart server across https now supported.
1778
(John Ferlito, Martin Pool, #128456)
1780
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
1781
bazaar.conf and ``send`` will use mutt. (Keir Mierle)
1783
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
1784
changes from one revision. (Alexander Belchenko, #141368)
1786
* Show encodings, locale and list of plugins in the traceback message.
1787
(Martin Pool, #63894)
1789
* Experimental directory formats can now be marked with
1790
``experimental = True`` during registration. (Ian Clatworthy)
1794
* New *Bazaar in Five Minutes* guide. (Matthew Revell)
1796
* The hooks reference documentation is now converted to html as expected.
1801
* Connection error reporting for the smart server has been fixed to
1802
display a user friendly message instead of a traceback.
1803
(Ian Clatworthy, #115601)
1805
* Make sure to use ``O_BINARY`` when opening files to check their
1806
sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
1808
* Fix a problem with Win32 handling of the executable bit.
1809
(John Arbash Meinel, #149113)
1811
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
1812
no longer assume that means port 22. This allows people using OpenSSH to
1813
override the default port in their ``~/.ssh/config`` if they wish. This
1814
fixes a bug introduced in bzr 0.91. (Andrew Bennetts, #146715)
1816
* Commands reporting exceptions can now be profiled and still have their
1817
data correctly dumped to a file. For example, a ``bzr commit`` with
1818
no changes still reports the operation as pointless but doing so no
1819
longer throws away the profiling data if this command is run with
1820
``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
1822
* Fallback to ftp when paramiko is not installed and sftp can't be used for
1823
``tests/commands`` so that the test suite is still usable without
1825
(Vincent Ladeuil, #59150)
1827
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
1829
* Fix long standing bug in partial commit when there are renames
1830
left in tree. (Robert Collins, #140419)
1832
* Fix selftest semi-random noise during http related tests.
1833
(Vincent Ladeuil, #140614)
1835
* Fix typo in ftp.py making the reconnection fail on temporary errors.
1836
(Vincent Ladeuil, #154259)
1838
* Fix failing test by comparing real paths to cover the case where the TMPDIR
1839
contains a symbolic link.
1840
(Vincent Ladeuil, #141382).
1842
* Fix log against smart server branches that don't support tags.
1843
(James Westby, #140615)
1845
* Fix pycurl http implementation by defining error codes from
1846
pycurl instead of relying on an old curl definition.
1847
(Vincent Ladeuil, #147530)
1849
* Fix 'unprintable error' message when displaying BzrCheckError and
1850
some other exceptions on Python 2.5.
1851
(Martin Pool, #144633)
1853
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
1855
* Handles default value for ListOption in cmd_commit.
1856
(Vincent Ladeuil, #140432)
1858
* HttpServer and FtpServer need to be closed properly or a listening socket
1860
(Vincent Ladeuil, #140055)
1862
* Monitor the .bzr directory created in the top level test
1863
directory to detect leaking tests.
1864
(Vincent Ladeuil, #147986)
1866
* The basename, not the full path, is now used when checking whether
1867
the profiling dump file begins with ``callgrind.out`` or not. This
1868
fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
1870
* Trivial fix for invoking command ``reconfigure`` without arguments.
1873
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
1874
new path causes bzr to be unable to access the file. (Robert Collins)
1876
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
1881
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
1882
constructor, for enabling bisection searches. (Robert Collins)
1884
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
1885
tree be supplied to it, previously failing to do so would trigger a
1886
deprecation warning. (Robert Collins)
1888
* ``KnitVersionedFile.add*`` will no longer cache added records even when
1889
enable_cache() has been called - the caching feature is now exclusively for
1890
reading existing data. (Robert Collins)
1892
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
1893
appropriate. (Martin Pool)
1895
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
1896
``trace+`` transport instead. (Robert Collins)
1898
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
1899
deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
1902
* Removed previous deprecated ``basis_knit`` parameter to the
1903
``KnitVersionedFile`` constructor. (Robert Collins)
1905
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
1906
class that needs it.
1909
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
1910
``KnitRepository`` by parameters to the constructor. (Robert Collins)
1912
* The ``VersionedFile`` interface now allows content checks to be bypassed
1913
by supplying check_content=False. This saves nearly 30% of the minimum
1914
cost to store a version of a file. (Robert Collins)
1916
* Tree's with bad state such as files with no length or sha will no longer
1917
be silently accepted by the repository XML serialiser. To serialise
1918
inventories without such data, pass working=True to write_inventory.
1921
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
1922
``VersionedFile.join`` will no longer accept different parents on either
1923
side of a join - it will either ignore them, or error, depending on the
1924
implementation. See notes when upgrading for more information.
1929
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
1930
put by the method call, to allow avoiding stat-after-write or
1931
housekeeping in callers. (Robert Collins)
1933
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
1934
mandatory attributes are present on serialisation and deserialisation.
1935
This fixes some holes in API usage and allows better separation between
1936
physical storage and object serialisation. (Robert Collins)
1938
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
1939
shorthand for deriving from BzrError and setting internal_error = True.
1942
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
1943
moving the state of a parent tree to a new version via a delta rather than
1944
a complete replacement tree. (Robert Collins)
1946
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
1947
duplication from user input, when a user mentions both a path and an item
1948
contained within that path. (Robert Collins)
1950
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
1951
determining if a repository is write locked. (Robert Collins)
1953
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
1954
tuple containing the key information about a path for commit processing
1955
to complete. (Robert Collins)
1957
* New method on xml serialisers, write_inventory_to_lines, which matches the
1958
API used by knits for adding content. (Robert Collins)
1960
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
1961
logic, currently only available for byte-based lookup
1962
(``bisect_multi_bytes``). (Robert Collins)
1964
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
1965
and returns a gzipped version of the same. This is used to avoid a bunch
1966
of api friction during adding of knit hunks. (Robert Collins)
1968
* New parameter on ``bzrlib.transport.Transport.readv``
1969
``adjust_for_latency`` which changes readv from returning strictly the
1970
requested data to inserted return larger ranges and in forward read order
1971
to reduce the effect of network latency. (Robert Collins)
1973
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
1974
causes the parents of a selected id to be returned recursively, so all the
1975
paths from the root down to each element of selected_file_ids are
1976
returned. (Robert Collins)
1978
* Knit joining has been enhanced to support plain to annotated conversion
1979
and annotated to plain conversion. (Ian Clatworthy)
1981
* The CommitBuilder method ``record_entry_contents`` now returns summary
1982
information about the effect of the commit on the repository. This tuple
1983
contains an inventory delta item if the entry changed from the basis, and a
1984
boolean indicating whether a new file graph node was recorded.
1987
* The python path used in the Makefile can now be overridden.
1988
(Andrew Bennetts, Ian Clatworthy)
1992
* New transport implementation ``trace+`` which is useful for testing,
1993
logging activity taken to its _activity attribute. (Robert Collins)
1995
* When running bzr commands within the test suite, internal exceptions are
1996
not caught and reported in the usual way, but rather allowed to propagate
1997
up and be visible to the test suite. A new API ``run_bzr_catch_user_errors``
1998
makes this behavior available to other users.
2001
* New method ``TestCase.call_catch_warnings`` for testing methods that
2002
raises a Python warning. (Martin Pool)
2010
* Print a warning instead of aborting the ``python setup.py install``
2011
process if building of a C extension is not possible.
2012
(Lukáš Lalinský, Alexander Belchenko)
2014
* Fix commit ordering in corner case (Aaron Bentley, #94975)
2016
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
2017
an implicit port. We were incorrectly raising PathNotChild due to
2018
inconsistent treatment of the ''_port'' attribute on the Transport object.
2019
(Andrew Bennetts, #133965)
2021
* Make RemoteRepository.sprout cope gracefully with servers that don't
2022
support the ``Repository.tarball`` request.
2026
bzr 0.91rc2 2007-09-11
2027
----------------------
2029
* Replaced incorrect tarball for previous release; a debug statement was left
2030
in bzrlib/remote.py.
2033
bzr 0.91rc1 2007-09-11
2034
----------------------
2038
* The default branch and repository format has changed to
2039
``dirstate-tags``, so tag commands are active by default.
2040
This format is compatible with Bazaar 0.15 and later.
2041
This incidentally fixes bug #126141.
2044
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
2045
must now appear after the command name. Scripts doing things like
2046
``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
2051
* New option ``--author`` in ``bzr commit`` to specify the author of the
2052
change, if it's different from the committer. ``bzr log`` and
2053
``bzr annotate`` display the author instead of the committer.
2056
* In addition to global options and command specific options, a set of
2057
standard options are now supported. Standard options are legal for
2058
all commands. The initial set of standard options are:
2060
* ``--help`` or ``-h`` - display help message
2061
* ``--verbose`` or ``-v`` - display additional information
2062
* ``--quiet`` or ``-q`` - only output warnings and errors.
2064
Unlike global options, standard options can be used in aliases and
2065
may have command-specific help. (Ian Clatworthy)
2067
* Verbosity level processing has now been unified. If ``--verbose``
2068
or ``-v`` is specified on the command line multiple times, the
2069
verbosity level is made positive the first time then increased.
2070
If ``--quiet`` or ``-q`` is specified on the command line
2071
multiple times, the verbosity level is made negative the first
2072
time then decreased. To get the default verbosity level of zero,
2073
either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
2074
Note that most commands currently ignore the magnitude of the
2075
verbosity level but do respect *quiet vs normal vs verbose* when
2076
generating output. (Ian Clatworthy)
2078
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
2079
is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
2081
* New ``Repository.stream_knit_data_for_revisions`` request added to the
2082
network protocol for greatly reduced roundtrips when retrieving a set of
2083
revisions. (Andrew Bennetts)
2087
* ``bzr plugins`` now lists the version number for each plugin in square
2088
brackets after the path. (Robert Collins, #125421)
2090
* Pushing, pulling and branching branches with subtree references was not
2091
copying the subtree weave, preventing the file graph from being accessed
2092
and causing errors in commits in clones. (Robert Collins)
2094
* Suppress warning "integer argument expected, got float" from Paramiko,
2095
which sometimes caused false test failures. (Martin Pool)
2097
* Fix bug in bundle 4 that could cause attempts to write data to wrong
2098
versionedfile. (Aaron Bentley)
2100
* Diffs generated using "diff -p" no longer break the patch parser.
2103
* get_transport treats an empty possible_transports list the same as a non-
2104
empty one. (Aaron Bentley)
2106
* patch verification for merge directives is reactivated, and works with
2107
CRLF and CR files. (Aaron Bentley)
2109
* Accept ..\ as a path in revision specifiers. This fixes for example
2110
"-r branch:..\other-branch" on Windows. (Lukáš Lalinský)
2112
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
2113
(Blake Winton, #129299)
2115
* man page no longer lists hidden options (#131667, Aaron Bentley)
2117
* ``uncommit --help`` now explains the -r option adequately. (Daniel
2120
* Error messages are now better formatted with parameters (such as
2121
filenames) quoted when necessary. This avoids confusion when directory
2122
names ending in a '.' at the end of messages were confused with a
2123
full stop that may or not have been there. (Daniel Watkins, #129791)
2125
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
2127
* If a particular command is an alias, ``help`` will show the alias
2128
instead of claiming there is no help for said alias. (Daniel Watkins,
2131
* TreeTransform-based operations, like pull, merge, revert, and branch,
2132
now roll back if they encounter an error. (Aaron Bentley, #67699)
2134
* ``bzr commit`` now exits cleanly if a character unsupported by the
2135
current encoding is used in the commit message. (Daniel Watkins,
2138
* bzr send uses default values for ranges when only half of an elipsis
2139
is specified ("-r..5" or "-r5.."). (#61685, Aaron Bentley)
2141
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
2142
binary is present. (Martin Albisetti, #107155)
2144
* ``bzr remove`` should remove clean subtrees. Now it will remove (without
2145
needing ``--force``) subtrees that contain no files with text changes or
2146
modified files. With ``--force`` it removes the subtree regardless of
2147
text changes or unknown files. Directories with renames in or out (but
2148
not changed otherwise) will now be removed without needing ``--force``.
2149
Unknown ignored files will be deleted without needing ``--force``.
2150
(Marius Kruger, #111665)
2152
* When two plugins conflict, the source of both the losing and now the
2153
winning definition is shown. (Konstantin Mikhaylov, #5454)
2155
* When committing to a branch, the location being committed to is
2156
displayed. (Daniel Watkins, #52479)
2158
* ``bzr --version`` takes care about encoding of stdout, especially
2159
when output is redirected. (Alexander Belchenko, #131100)
2161
* Prompt for an ftp password if none is provided.
2162
(Vincent Ladeuil, #137044)
2164
* Reuse bound branch associated transport to avoid multiple
2166
(Vincent Ladeuil, #128076, #131396)
2168
* Overwrite conflicting tags by ``push`` and ``pull`` if the
2169
``--overwrite`` option is specified. (Lukáš Lalinský, #93947)
2171
* In checkouts, tags are copied into the master branch when created,
2172
changed or deleted, and are copied into the checkout when it is
2173
updated. (Martin Pool, #93856, #93860)
2175
* Print a warning instead of aborting the ``python setup.py install``
2176
process if building of a C extension is not possible.
2177
(Lukáš Lalinský, Alexander Belchenko)
2181
* Add the option "--show-diff" to the commit command in order to display
2182
the diff during the commit log creation. (Goffredo Baroncelli)
2184
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
2187
* ``pull -v`` no longer includes deltas, making it much faster.
2190
* ``send`` now sends the directive as an attachment by default.
2191
(Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
2193
* Documentation updates (Martin Albisetti)
2195
* Help on debug flags is now included in ``help global-options``.
2196
(Daniel Watkins, #124853)
2198
* Parameters passed on the command line are checked to ensure they are
2199
supported by the encoding in use. (Daniel Watkins)
2201
* The compression used within the bzr repository has changed from zlib
2202
level 9 to the zlib default level. This improves commit performance with
2203
only a small increase in space used (and in some cases a reduction in
2204
space). (Robert Collins)
2206
* Initial commit no longer SHAs files twice and now reuses the path
2207
rather than looking it up again, making it faster.
2210
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
2211
changes in one revision. (Lukáš Lalinský)
2213
* If versioned files match a given ignore pattern, a warning is now
2214
given. (Daniel Watkins, #48623)
2216
* ``bzr status`` now has -S as a short name for --short and -V as a
2217
short name for --versioned. These have been added to assist users
2218
migrating from Subversion: ``bzr status -SV`` is now like
2219
``svn status -q``. (Daniel Watkins, #115990)
2221
* Added C implementation of ``PatienceSequenceMatcher``, which is about
2222
10x faster than the Python version. This speeds up commands that
2223
need file diffing, such as ``bzr commit`` or ``bzr diff``.
2226
* HACKING has been extended with a large section on core developer tasks.
2229
* Add ``branches`` and ``standalone-trees`` as online help topics and
2230
include them as Concepts within the User Reference.
2231
(Paul Moore, Ian Clatworthy)
2233
* ``check`` can detect versionedfile parent references that are
2234
inconsistent with revision and inventory info, and ``reconcile`` can fix
2235
them. These faulty references were generated by 0.8-era releases,
2236
so repositories which were manipulated by old bzrs should be
2237
checked, and possibly reconciled ASAP. (Aaron Bentley, Andrew Bennetts)
2241
* ``Branch.append_revision`` is removed altogether; please use
2242
``Branch.set_last_revision_info`` instead. (Martin Pool)
2244
* CommitBuilder now advertises itself as requiring the root entry to be
2245
supplied. This only affects foreign repository implementations which reuse
2246
CommitBuilder directly and have changed record_entry_contents to require
2247
that the root not be supplied. This should be precisely zero plugins
2248
affected. (Robert Collins)
2250
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
2251
its return value to include the sha1 and length of the inserted text. This
2252
allows the avoidance of double-sha1 calculations during commit.
2255
* ``Transport.should_cache`` has been removed. It was not called in the
2256
previous release. (Martin Pool)
2260
* Tests may now raise TestNotApplicable to indicate they shouldn't be
2261
run in a particular scenario. (Martin Pool)
2263
* New function multiply_tests_from_modules to give a simpler interface
2264
to test parameterization. (Martin Pool, Robert Collins)
2266
* ``Transport.should_cache`` has been removed. It was not called in the
2267
previous release. (Martin Pool)
2269
* NULL_REVISION is returned to indicate the null revision, not None.
2272
* Use UTF-8 encoded StringIO for log tests to avoid failures on
2273
non-ASCII committer names. (Lukáš Lalinský)
2277
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
2278
``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
2279
useful functionality for determining the path of a plugin, its tests, and
2280
its version information. (Robert Collins)
2282
* Add the option user_encoding to the function 'show_diff_trees()'
2283
in order to move the user encoding at the UI level. (Goffredo Baroncelli)
2285
* Add the function make_commit_message_template_encoded() and the function
2286
edit_commit_message_encoded() which handle encoded strings.
2287
This is done in order to mix the commit messages (which is a unicode
2288
string), and the diff which is a raw string. (Goffredo Baroncelli)
2290
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
2291
overhead on non-weave repositories which don't require all parents to be
2292
present. (Robert Collins)
2294
* Deprecated method ``find_previous_heads`` on
2295
``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
2296
of ``parent_candidates`` and a separate heads check via the repository
2297
API. (Robert Collins)
2299
* New trace function ``mutter_callsite`` will print out a subset of the
2300
stack to the log, which can be useful for gathering debug details.
2303
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
2304
added via a public attribute records_written. (Robert Collins)
2306
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
2307
This provides a hint to users of transports as to the reasonable
2308
minimum data to read. In principle this can take latency and
2309
bandwidth into account on a per-connection basis, but for now it
2310
just has hard coded values based on the url. (e.g. http:// has a large
2311
page size, file:// has a small one.) (Robert Collins)
2313
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
2314
incremental addition of data to a file without requiring that all the
2315
data be buffered in memory. (Robert Collins)
2317
* New methods on ``bzrlib.knit.KnitVersionedFile``:
2318
``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
2319
``get_format_signature()``. These provide some infrastructure for
2320
efficiently streaming the knit data for a set of versions over the smart
2323
* Knits with no annotation cache still produce correct annotations.
2326
* Three new methods have been added to ``bzrlib.trace``:
2327
``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
2328
``set_verbosity_level`` expects a numeric value: negative for quiet,
2329
zero for normal, positive for verbose. The size of the number can be
2330
used to determine just how quiet or verbose the application should be.
2331
The existing ``be_quiet`` and ``is_quiet`` routines have been
2332
integrated into this new scheme. (Ian Clatworthy)
2334
* Options can now be delcared with a ``custom_callback`` parameter. If
2335
set, this routine is called after the option is processed. This feature
2336
is now used by the standard options ``verbose`` and ``quiet`` so that
2337
setting one implicitly resets the other. (Ian Clatworthy)
2339
* Rather than declaring a new option from scratch in order to provide
2340
custom help, a centrally registered option can be decorated using the
2341
new ``bzrlib.Option.custom_help`` routine. In particular, this routine
2342
is useful when declaring better help for the ``verbose`` and ``quiet``
2343
standard options as the base definition of these is now more complex
2344
than before thanks to their use of a custom callback. (Ian Clatworthy)
2346
* Tree._iter_changes(specific_file=[]) now iterates through no files,
2347
instead of iterating through all files. None is used to iterate through
2348
all files. (Aaron Bentley)
2350
* WorkingTree.revert() now accepts None to revert all files. The use of
2351
[] to revert all files is deprecated. (Aaron Bentley)
2359
* Documentation is now organized into multiple directories with a level
2360
added for different languages or locales. Added the Mini Tutorial
2361
and Quick Start Summary (en) documents from the Wiki, improving the
2362
content and readability of the former. Formatted NEWS as Release Notes
2363
complete with a Table of Conents, one heading per release. Moved the
2364
Developer Guide into the main document catalog and provided a link
2365
from the developer document catalog back to the main one.
2366
(Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
2371
* The static convenience method ``BzrDir.create_repository``
2372
is deprecated. Callers should instead create a ``BzrDir`` instance
2373
and call ``create_repository`` on that. (Martin Pool)
2376
bzr 0.90rc1 2007-08-14
2377
----------------------
2381
* ``bzr init`` should connect to the remote location one time only. We
2382
have been connecting several times because we forget to pass around the
2383
Transport object. This modifies ``BzrDir.create_branch_convenience``,
2384
so that we can give it the Transport we already have.
2385
(John Arbash Meinel, Vincent Ladeuil, #111702)
2387
* Get rid of sftp connection cache (get rid of the FTP one too).
2388
(Vincent Ladeuil, #43731)
2390
* bzr branch {local|remote} remote don't try to create a working tree
2392
(Vincent Ladeuil, #112173)
2394
* All identified multiple connections for a single bzr command have been
2395
fixed. See bzrlib/tests/commands directory.
2398
* ``bzr rm`` now does not insist on ``--force`` to delete files that
2399
have been renamed but not otherwise modified. (Marius Kruger,
2402
* ``bzr selftest --bench`` no longer emits deprecation warnings
2405
* ``bzr status`` now honours FILE parameters for conflict lists
2406
(Aaron Bentley, #127606)
2408
* ``bzr checkout`` now honours -r when reconstituting a working tree.
2409
It also honours -r 0. (Aaron Bentley, #127708)
2411
* ``bzr add *`` no more fails on Windows if working tree contains
2412
non-ascii file names. (Kuno Meyer, #127361)
2414
* allow ``easy_install bzr`` runs without fatal errors.
2415
(Alexander Belchenko, #125521)
2417
* Graph._filter_candidate_lca does not raise KeyError if a candidate
2418
is eliminated just before it would normally be examined. (Aaron Bentley)
2420
* SMTP connection failures produce a nice message, not a traceback.
2425
* Don't show "dots" progress indicators when run non-interactively, such
2426
as from cron. (Martin Pool)
2428
* ``info`` now formats locations more nicely and lists "submit" and
2429
"public" branches (Aaron Bentley)
2431
* New ``pack`` command that will trigger database compression within
2432
the repository (Robert Collins)
2434
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
2435
version is approximately 2-3x faster at parsing a ``.kndx`` file.
2436
Which yields a measurable improvement for commands which have to
2437
read from the repository, such as a 1s => 0.75s improvement in
2438
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
2440
* Merge is now faster. Depending on the scenario, it can be more than 2x
2441
faster. (Aaron Bentley)
2443
* Give a clearer warning, and allow ``python setup.py install`` to
2444
succeed even if pyrex is not available.
2445
(John Arbash Meinel)
2447
* ``DirState._read_dirblocks`` now has an optional Pyrex
2448
implementation. This improves the speed of any command that has to
2449
read the entire DirState. (``diff``, ``status``, etc, improve by
2451
``bisect_dirblocks`` has also been improved, which helps all
2452
``_get_entry`` type calls (whenever we are searching for a
2453
particular entry in the in-memory DirState).
2454
(John Arbash Meinel)
2456
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
2457
branch revision history for ui display unless -v is supplied.
2460
* ``bzr log -rA..B`` output shifted to the left margin if the log only
2461
contains merge revisions. (Kent Gibson)
2463
* The ``plugins`` command is now public with improved help.
2466
* New bundle and merge directive formats are faster to generate, and
2468
* Annotate merge now works when there are local changes. (Aaron Bentley)
2470
* Commit now only shows the progress in terms of directories instead of
2471
entries. (Ian Clatworthy)
2473
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
2474
times. This makes ``get_revision_graph`` 2x faster. (John Arbash
2477
* Fix ``VersionedFile.get_graph()`` to avoid using
2478
``set.difference_update(other)``, which has bad scaling when
2479
``other`` is large. This improves ``VF.get_graph([version_id])`` for
2480
a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
2482
* The ``--lsprof-file`` option now generates output for KCacheGrind if
2483
the file starts with ``callgrind.out``. This matches the default file
2484
filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
2486
* Fix ``bzr update`` to avoid an unnecessary
2487
``branch.get_master_branch`` call, which avoids 1 extra connection
2488
to the remote server. (Partial fix for #128076, John Arbash Meinel)
2490
* Log errors from the smart server in the trace file, to make debugging
2491
test failures (and live failures!) easier. (Andrew Bennetts)
2493
* The HTML version of the man page has been superceded by a more
2494
comprehensive manual called the Bazaar User Reference. This manual
2495
is completed generated from the online help topics. As part of this
2496
change, limited reStructuredText is now explicitly supported in help
2497
topics and command help with 'unnatural' markup being removed prior
2498
to display by the online help or inclusion in the man page.
2501
* HTML documentation now use files extension ``*.html``
2502
(Alexander Belchenko)
2504
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
2505
so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
2507
* ``bzr selftest --strict`` fails if there are any missing features or
2508
expected test failures. (Daniel Watkins, #111914)
2510
* Link to registration survey added to README. (Ian Clatworthy)
2512
* Windows standalone installer show link to registration survey
2513
when installation finished. (Alexander Belchenko)
2517
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
2518
Options are now required to provide a help string and it must
2519
comply with the style guide by being one or more sentences with an
2520
initial capital and final period. (Martin Pool)
2522
* KnitIndex.get_parents now returns tuples. (Robert Collins)
2524
* Ancient unused ``Repository.text_store`` attribute has been removed.
2527
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
2528
rather than just bytestrings, making it easier to represent multiple
2529
element names. As this interface was not used by any internal facilities
2530
since it was introduced in 0.18 no API compatibility is being preserved.
2531
The serialised form of these packs is identical with 0.18 when a single
2532
element tuple is in use. (Robert Collins)
2536
* merge now uses ``iter_changes`` to calculate changes, which makes room for
2537
future performance increases. It is also more consistent with other
2538
operations that perform comparisons, and reduces reliance on
2539
Tree.inventory. (Aaron Bentley)
2541
* Refactoring of transport classes connected to a remote server.
2542
ConnectedTransport is a new class that serves as a basis for all
2543
transports needing to connect to a remote server. transport.split_url
2544
have been deprecated, use the static method on the object instead. URL
2545
tests have been refactored too.
2548
* Better connection sharing for ConnectedTransport objects.
2549
transport.get_transport() now accepts a 'possible_transports' parameter.
2550
If a newly requested transport can share a connection with one of the
2554
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
2555
the null revision, and consider using ``None`` for this purpose
2556
deprecated. (Aaron Bentley)
2558
* New ``index`` module with abstract index functionality. This will be
2559
used during the planned changes in the repository layer. Currently the
2560
index layer provides a graph aware immutable index, a builder for the
2561
same index type to allow creating them, and finally a composer for
2562
such indices to allow the use of many indices in a single query. The
2563
index performance is not optimised, however the API is stable to allow
2564
development on top of the index. (Robert Collins)
2566
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
2567
their directory sections. This is equivalent to comparing
2568
``path.split('/')``, only without having to split the paths.
2569
This has a Pyrex implementation available.
2570
(John Arbash Meinel)
2572
* New transport decorator 'unlistable+' which disables the list_dir
2573
functionality for testing.
2575
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
2577
* RevisionTree.get_weave is now deprecated. Tree.plan_merge is now used
2578
for performing annotate-merge. (Aaron Bentley)
2580
* New EmailMessage class to create email messages. (Adeodato Simó)
2582
* Unused functions on the private interface KnitIndex have been removed.
2585
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
2586
of a ``index.GraphIndex``. (Robert Collins)
2588
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
2589
the parents of many knit nodes at once, reducing round trips to the
2590
underlying index. (Robert Collins)
2592
* Graph now has an is_ancestor method, various bits use it.
2595
* The ``-Dhpss`` flag now includes timing information. As well as
2596
logging when a new connection is opened. (John Arbash Meinel)
2598
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
2599
callers when inserting data, allowing generation of readv style access
2600
during pack creation, without needing a separate pass across the output
2601
pack to gather such details. (Robert Collins)
2603
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
2604
files that are stored on a transport. (Robert Collins)
2606
* New ``Repository.has_same_location`` method that reports if two
2607
repository objects refer to the same repository (although with some risk
2608
of false negatives). (Andrew Bennetts)
2610
* InterTree.compare now passes require_versioned on correctly.
2613
* New methods on Repository - ``start_write_group``,
2614
``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
2615
which provide a clean hook point for transactional Repositories - ones
2616
where all the data for a fetch or commit needs to be made atomically
2617
available in one step. This allows the write lock to remain while making
2618
a series of data insertions. (e.g. data conversion). (Robert Collins)
2620
* In ``bzrlib.knit`` the internal interface has been altered to use
2621
3-tuples (index, pos, length) rather than two-tuples (pos, length) to
2622
describe where data in a knit is, allowing knits to be split into
2623
many files. (Robert Collins)
2625
* ``bzrlib.knit._KnitData`` split into cache management and physical access
2626
with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
2627
The former provides access into a .pack file, and the latter provides the
2628
current production repository form of .knit files. (Robert Collins)
2632
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
2633
``--keep-output`` options, which are obsolete now that tests
2634
are done within directories in $TMPDIR. (Martin Pool)
2636
* The SSH_AUTH_SOCK environment variable is now reset to avoid
2637
interaction with any running ssh agents. (Jelmer Vernooij, #125955)
2639
* run_bzr_subprocess handles parameters the same way as run_bzr:
2640
either a string or a list of strings should be passed as the first
2641
parameter. Varargs-style parameters are deprecated. (Aaron Bentley)
2645
--------------------
2649
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
2652
bzr 0.18rc1 2007-07-10
2653
-----------------------
2657
* Do not suppress pipe errors, etc. in non-display commands
2658
(Alexander Belchenko, #87178)
2660
* Display a useful error message when the user requests to annotate
2661
a file that is not present in the specified revision.
2662
(James Westby, #122656)
2664
* Commands that use status flags now have a reference to 'help
2665
status-flags'. (Daniel Watkins, #113436)
2667
* Work around python-2.4.1 inhability to correctly parse the
2668
authentication header.
2669
(Vincent Ladeuil, #121889)
2671
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
2673
* Fix tempfile permissions error in smart server tar bundling under
2674
Windows. (Martin _, #119330)
2676
* Fix detection of directory entries in the inventory. (James Westby)
2678
* Fix handling of http code 400: Bad Request When issuing too many ranges.
2679
(Vincent Ladeuil, #115209)
2681
* Issue a CONNECT request when connecting to an https server
2682
via a proxy to enable SSL tunneling.
2683
(Vincent Ladeuil, #120678)
2685
* Fix ``bzr log -r`` to support selecting merge revisions, both
2686
individually and as part of revision ranges.
2687
(Kent Gibson, #4663)
2689
* Don't leave cruft behind when failing to acquire a lockdir.
2690
(Martin Pool, #109169)
2692
* Don't use the '-f' strace option during tests.
2693
(Vincent Ladeuil, #102019).
2695
* Warn when setting ``push_location`` to a value that will be masked by
2696
locations.conf. (Aaron Bentley, #122286)
2698
* Fix commit ordering in corner case (Aaron Bentley, #94975)
2700
* Make annotate behave in a non-ASCII world (Adeodato Simó).
2704
* The --lsprof-file option now dumps a text rendering of the profiling
2705
information if the filename ends in ".txt". It will also convert the
2706
profiling information to a format suitable for KCacheGrind if the
2707
output filename ends in ".callgrind". Fixes to the lsprofcalltree
2708
conversion process by Jean Paul Calderone and Itamar were also merged.
2709
See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
2711
* ``info`` now defaults to non-verbose mode, displaying only paths and
2712
abbreviated format info. ``info -v`` displays all the information
2713
formerly displayed by ``info``. (Aaron Bentley, Adeodato Simó)
2715
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
2718
* The internal ``weave-list`` command has become ``versionedfile-list``,
2719
and now lists knits as well as weaves. (Aaron Bentley)
2721
* Automatic merge base selection uses a faster algorithm that chooses
2722
better bases in criss-cross merge situations (Aaron Bentley)
2724
* Progress reporting in ``commit`` has been improved. The various logical
2725
stages are now reported on as follows, namely:
2727
* Collecting changes [Entry x/y] - Stage n/m
2728
* Saving data locally - Stage n/m
2729
* Uploading data to master branch - Stage n/m
2730
* Updating the working tree - Stage n/m
2731
* Running post commit hooks - Stage n/m
2733
If there is no master branch, the 3rd stage is omitted and the total
2734
number of stages is adjusted accordingly.
2736
Each hook that is run after commit is listed with a name (as hooks
2737
can be slow it is useful feedback).
2738
(Ian Clatworthy, Robert Collins)
2740
* Various operations that are now faster due to avoiding unnecessary
2741
topological sorts. (Aaron Bentley)
2743
* Make merge directives robust against broken bundles. (Aaron Bentley)
2745
* The lsprof filename note is emitted via trace.note(), not standard
2746
output. (Aaron Bentley)
2748
* ``bzrlib`` now exports explicit API compatibility information to assist
2749
library users and plugins. See the ``bzrlib.api`` module for details.
2752
* Remove unnecessary lock probes when acquiring a lockdir.
2755
* ``bzr --version`` now shows the location of the bzr log file, which
2756
is especially useful on Windows. (Martin Pool)
2758
* -D now supports hooks to get debug tracing of hooks (though its currently
2759
minimal in nature). (Robert Collins)
2761
* Long log format reports deltas on merge revisions.
2762
(John Arbash Meinel, Kent Gibson)
2764
* Make initial push over ftp more resilient. (John Arbash Meinel)
2766
* Print a summary of changes for update just like pull does.
2767
(Daniel Watkins, #113990)
2769
* Add a -Dhpss option to trace smart protocol requests and responses.
2774
* Testing cleanups -
2775
``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
2776
to ``bzrlib.tests.repository_implementations``;
2777
``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
2778
to ``bzrlib.tests.interrepository_implementations``;
2779
``bzrlib.transport.TransportTestProviderAdapter`` has moved to
2780
``bzrlib.tests.test_transport_implementations``.
2781
``bzrlib.branch.BranchTestProviderAdapter`` has moved to
2782
``bzrlib.tests.branch_implementations``.
2783
``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
2784
``bzrlib.tests.bzrdir_implementations``.
2785
``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
2786
to ``bzrlib.tests.interversionedfile_implementations``.
2787
``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
2788
``bzrlib.tests.revisionstore_implementations``.
2789
``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
2790
``bzrlib.tests.workingtree_implementations``.
2791
These changes are an API break in the testing infrastructure only.
2794
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
2796
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
2797
win32. Callers of the function should do this and use the new
2798
``MutableTree.smart_add`` method instead. (Robert Collins)
2800
* ``bzrlib.add.glob_expand_for_win32`` is now
2801
``bzrlib.win32utils.glob_expand``. (Robert Collins)
2803
* ``bzrlib.add.FastPath`` is now private and moved to
2804
``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
2806
* ``LockDir.wait`` removed. (Martin Pool)
2808
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
2809
``server_stopped`` hooks. The first parameter is now an iterable of
2810
backing URLs rather than a single URL. This is to reflect that many
2811
URLs may map to the external URL of the server. E.g. the server interally
2812
may have a chrooted URL but also the local file:// URL will be at the
2813
same location. (Robert Collins)
2817
* New SMTPConnection class to unify email handling. (Adeodato Simó)
2819
* Fix documentation of BzrError. (Adeodato Simó)
2821
* Make BzrBadParameter an internal error. (Adeodato Simó)
2823
* Remove use of 'assert False' to raise an exception unconditionally.
2826
* Give a cleaner error when failing to decode knit index entry.
2829
* TreeConfig would mistakenly search the top level when asked for options
2830
from a section. It now respects the section argument and only
2831
searches the specified section. (James Westby)
2833
* Improve ``make api-docs`` output. (John Arbash Meinel)
2835
* Use os.lstat rather than os.stat for osutils.make_readonly and
2836
osutils.make_writeable. This makes the difftools plugin more
2837
robust when dangling symlinks are found. (Elliot Murphy)
2839
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
2840
lockdirs are taken or released. (Martin Pool)
2842
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
2843
allows a nicer UI when hooks are running as the current hook can
2844
be displayed. (Robert Collins)
2846
* ``Transport.get`` has had its interface made more clear for ease of use.
2847
Retrieval of a directory must now fail with either 'PathError' at open
2848
time, or raise 'ReadError' on a read. (Robert Collins)
2850
* New method ``_maybe_expand_globs`` on the ``Command`` class for
2851
dealing with unexpanded glob lists - e.g. on the win32 platform. This
2852
was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
2854
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
2855
deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
2858
* New method ``external_url`` on Transport for obtaining the url to
2859
hand to external processes. (Robert Collins)
2861
* Teach windows installers to build pyrex/C extensions.
2862
(Alexander Belchenko)
2866
* Removed the ``--keep-output`` option from selftest and clean up test
2867
directories as they're used. This reduces the IO load from
2868
running the test suite and cuts the time by about half.
2869
(Andrew Bennetts, Martin Pool)
2871
* Add scenarios as a public attribute on the TestAdapter classes to allow
2872
modification of the generated scenarios before adaption and easier
2873
testing. (Robert Collins)
2875
* New testing support class ``TestScenarioApplier`` which multiplies
2876
out a single teste by a list of supplied scenarios. (RobertCollins)
2878
* Setting ``repository_to_test_repository`` on a repository_implementations
2879
test will cause it to be called during repository creation, allowing the
2880
testing of repository classes which are not based around the Format
2881
concept. For example a repository adapter can be tested in this manner,
2882
by altering the repository scenarios to include a scenario that sets this
2883
attribute during the test parameterisation in
2884
``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
2886
* Clean up many of the APIs for blackbox testing of Bazaar. The standard
2887
interface is now self.run_bzr. The command to run can be passed as
2888
either a list of parameters, a string containing the command line, or
2889
(deprecated) varargs parameters. (Martin Pool)
2891
* The base TestCase now isolates tests from -D parameters by clearing
2892
``debug.debug_flags`` and restores it afterwards. (Robert Collins)
2894
* Add a relpath parameter to get_transport methods in test framework to
2895
avoid useless cloning.
2896
(Vincent Ladeuil, #110448)
2900
--------------------
2904
* Fix crash of commit due to wrong lookup of filesystem encoding.
2905
(Colin Watson, #120647)
2907
* Revert logging just to stderr in commit as broke unicode filenames.
2908
(Aaron Bentley, Ian Clatworthy, #120930)
2911
bzr 0.17rc1 2007-06-12
2912
-----------------------
2914
NOTES WHEN UPGRADING:
2916
* The kind() and is_executable() APIs on the WorkingTree interface no
2917
longer implicitly (read) locks and unlocks the tree. This *might*
2918
impact some plug-ins and tools using this part of the API. If you find
2919
an issue that may be caused by this change, please let us know,
2920
particularly the plug-in/tool maintainer. If encountered, the API
2921
fix is to surround kind() and is_executable() calls with lock_read()
2922
and unlock() like so::
2924
work_tree.lock_read()
2926
kind = work_tree.kind(...)
2931
* Rework of LogFormatter API to provide beginning/end of log hooks and to
2932
encapsulate the details of the revision to be logged in a LogRevision
2934
In long log formats, merge revision ids are only shown when --show-ids
2935
is specified, and are labelled "revision-id:", as per mainline
2936
revisions, instead of "merged:". (Kent Gibson)
2938
* New ``BranchBuilder`` API which allows the construction of particular
2939
histories quickly. Useful for testing and potentially other applications
2940
too. (Robert Collins)
2944
* There are two new help topics, working-trees and repositories that
2945
attempt to explain these concepts. (James Westby, John Arbash Meinel,
2948
* Added ``bzr log --limit`` to report a limited number of revisions.
2949
(Kent Gibson, #3659)
2951
* Revert does not try to preserve file contents that were originally
2952
produced by reverting to a historical revision. (Aaron Bentley)
2954
* ``bzr log --short`` now includes ``[merge]`` for revisions which
2955
have more than one parent. This is a small improvement to help
2956
understanding what changes have occurred
2957
(John Arbash Meinel, #83887)
2959
* TreeTransform avoids many renames when contructing large trees,
2960
improving speed. 3.25x speedups have been observed for construction of
2961
kernel-sized-trees, and checkouts are 1.28x faster. (Aaron Bentley)
2963
* Commit on large trees is now faster. In my environment, a commit of
2964
a small change to the Mozilla tree (55k files) has dropped from
2965
66 seconds to 32 seconds. For a small tree of 600 files, commit of a
2966
small change is 33% faster. (Ian Clatworthy)
2968
* New --create-prefix option to bzr init, like for push. (Daniel Watkins,
2973
* ``bzr push`` should only connect to the remote location one time.
2974
We have been connecting 3 times because we forget to pass around
2975
the Transport object. This adds ``BzrDir.clone_on_transport()``, so
2976
that we can pass in the Transport that we already have.
2977
(John Arbash Meinel, #75721)
2979
* ``DirState.set_state_from_inventory()`` needs to properly order
2980
based on split paths, not just string paths.
2981
(John Arbash Meinel, #115947)
2983
* Let TestUIFactoy encode the password prompt with its own stdout.
2984
(Vincent Ladeuil, #110204)
2986
* pycurl should take use the range header that takes the range hint
2988
(Vincent Ladeuil, #112719)
2990
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
2991
on a missing file. (Aaron Bentley, #118186)
2993
* WorkingTree.remove works correctly with tree references, and when pwd is
2994
not the tree root. (Aaron Bentley)
2996
* Merge no longer fails when a file is renamed in one tree and deleted
2997
in the other. (Aaron Bentley, #110279)
2999
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
3000
and defaults to the last revision (Matthew Fuller, #90048)
3002
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
3003
(Daniel Watkins, #111958)
3005
* ``bzr branch -r revid:foo`` can be used to branch any revision in
3006
your repository. (Previously Branch6 only supported revisions in your
3007
mainline). (John Arbash Meinel, #115343)
3010
--------------------
3014
* Handle when you have 2 directories with similar names, but one has a
3015
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
3016
iterator was using direct comparison and ``'abc/a'`` sorts after
3017
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
3018
(John Arbash Meinel, #111227)
3020
* Handle when someone renames a file on disk without telling bzr.
3021
Previously we would report the first file as missing, but not show
3022
the new unknown file. (John Arbash Meinel, #111288)
3024
* Avoid error when running hooks after pulling into or pushing from
3025
a branch bound to a smartserver branch. (Martin Pool, #111968)
3029
* Move developer documentation to doc/developers/. This reduces clutter in
3030
the root of the source tree and allows HACKING to be split into multiple
3031
files. (Robert Collins, Alexander Belchenko)
3033
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
3034
``DirState.update_entry()``. This optimizes the core logic for ``bzr
3035
diff`` and ``bzr status`` significantly improving the speed of
3036
both. (John Arbash Meinel)
3038
bzr 0.16rc2 2007-04-30
3039
-----------------------
3043
* Handle the case when you delete a file, and then rename another file
3044
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
3045
status`` should show the removed file and an unknown file in its
3046
place. (John Arbash Meinel, #109993)
3048
* Bundles properly read and write revision properties that have an
3049
empty value. And when the value is not ASCII.
3050
(John Arbash Meinel, #109613)
3052
* Fix the bzr commit message to be in text mode.
3053
(Alexander Belchenko, #110901)
3055
* Also handle when you rename a file and create a file where it used
3056
to be. (John Arbash Meinel, #110256)
3058
* ``WorkingTree4._iter_changes`` should not descend into unversioned
3059
directories. (John Arbash Meinel, #110399)
3061
bzr 0.16rc1 2007-04-26
3062
-----------------------
3064
NOTES WHEN UPGRADING:
3066
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
3067
it could be recovered again.
3068
This has been done for consistency with svn and the unix rm command.
3069
The old ``remove`` behaviour has been retained in the new option
3070
``bzr remove --keep``, which will just stop versioning the file,
3072
``bzr remove --force`` have been added which will always delete the
3074
``bzr remove`` is also more verbose.
3075
(Marius Kruger, #82602)
3079
* Merge directives can now be supplied as input to `merge` and `pull`,
3080
like bundles can. (Aaron Bentley)
3082
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
3083
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
3084
to continue. This can be disabled by setting the environment variable
3085
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
3087
* selftest now supports --list-only to list tests instead of running
3088
them. (Ian Clatworthy)
3090
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
3091
tests with names that match that regular expression.
3092
(Ian Clatworthy, #102679)
3094
* selftest now supports --randomize SEED to run tests in a random order.
3095
SEED is typically the value 'now' meaning 'use the current time'.
3096
(Ian Clatworthy, #102686)
3098
* New option ``--fixes`` to commit, which stores bug fixing annotations as
3099
revision properties. Built-in support for Launchpad, Debian, Trac and
3100
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
3102
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
3103
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
3106
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
3109
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
3110
into using local variables instead of going through ``self._var``.
3111
Improves the time to ``merge_sort`` a 10k revision graph by
3112
approximately 40% (~700->400ms). (John Arbash Meinel)
3114
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
3117
* ``bzr help`` now provides cross references to other help topics using
3118
the _see_also facility on command classes. Likewise the bzr_man
3119
documentation, and the bzr.1 man page also include this information.
3122
* Tags are now included in logs, that use the long log formatter.
3123
(Erik Bågfors, Alexander Belchenko)
3125
* ``bzr help`` provides a clearer message when a help topic cannot be
3126
found. (Robert Collins, #107656)
3128
* ``bzr help`` now accepts optional prefixes for command help. The help
3129
for all commands can now be found at ``bzr help commands/COMMANDNAME``
3130
as well as ``bzr help COMMANDNAME`` (which only works for commands
3131
where the name is not the same as a more general help topic).
3134
* ``bzr help PLUGINNAME`` will now return the module docstring from the
3135
plugin PLUGINNAME. (Robert Collins, #50408)
3137
* New help topic ``urlspec`` which lists the availables transports.
3138
(Goffredo Baroncelli)
3140
* doc/server.txt updated to document the default bzr:// port
3141
and also update the blurb about the hpss' current status.
3142
(Robert Collins, #107125).
3144
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
3145
serve out to the local LAN (and anyone in the world that can reach the
3146
machine running ``bzr serve``. (Robert Collins, #98918)
3148
* A new smart server protocol version has been added. It prefixes requests
3149
and responses with an explicit version identifier so that future protocol
3150
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
3152
* The bzr protocol version 2 indicates success or failure in every response
3153
without depending on particular commands encoding that consistently,
3154
allowing future client refactorings to be much more robust about error
3155
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
3157
* The smart protocol over HTTP client has been changed to always post to the
3158
same ``.bzr/smart`` URL under the original location when it can. This allows
3159
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
3160
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
3162
* digest authentication is now supported for proxies and HTTP by the urllib
3163
based http implementation. Tested against Apache 2.0.55 and Squid
3164
2.6.5. Basic and digest authentication are handled coherently for HTTP
3165
and proxy: if the user is provided in the url (bzr command line for HTTP,
3166
proxy environment variables for proxies), the password is prompted for
3167
(only once). If the password is provided, it is taken into account. Once
3168
the first authentication is successful, all further authentication
3169
roundtrips are avoided by preventively setting the right authentication
3175
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
3176
code paths. (Robert Collins)
3178
* Change the format of chroot urls so that they can be safely manipulated
3179
by generic url utilities without causing the resulting urls to have
3180
escaped the chroot. A side effect of this is that creating a chroot
3181
requires an explicit action using a ChrootServer.
3182
(Robert Collins, Andrew Bennetts)
3184
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
3185
rather than fixing bug #96847. (Aaron Bentley)
3187
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
3188
``WorkingTree._write_inventory``. (Aaron Bentley)
3190
* Convenience method ``TestCase.expectFailure`` ensures that known failures
3191
do not silently pass. (Aaron Bentley)
3193
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
3194
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
3196
* New SmartServer hooks facility. There are two initial hooks documented
3197
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
3198
plugins to execute code upon server startup and shutdown.
3201
* SmartServer in standalone mode will now close its listening socket
3202
when it stops, rather than waiting for garbage collection. This primarily
3203
fixes test suite hangs when a test tries to connect to a shutdown server.
3204
It may also help improve behaviour when dealing with a server running
3205
on a specific port (rather than dynamically assigned ports).
3208
* Move most SmartServer code into a new package, bzrlib/smart.
3209
bzrlib/transport/remote.py contains just the Transport classes that used
3210
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
3212
* urllib http implementation avoid roundtrips associated with
3213
401 (and 407) errors once the authentication succeeds.
3216
* urlib http now supports querying the user for a proxy password if
3217
needed. Realm is shown in the prompt for both HTTP and proxy
3218
authentication when the user is required to type a password.
3221
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
3222
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
3223
consistent with its new home in ``bzrlib/transport/remote.py``, and because
3224
it's not really a "smart" transport, just one that does file operations
3225
via remote procedure calls. (Andrew Bennetts)
3227
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
3228
``Branch`` now accept a ``token`` keyword argument, so that separate
3229
instances of those objects can share a lock if it has the right token.
3230
(Andrew Bennetts, Robert Collins)
3232
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
3233
branch references - which the smart server component needs.
3235
* The Repository API ``make_working_trees`` is now permitted to return
3236
False when ``set_make_working_trees`` is not implemented - previously
3237
an unimplemented ``set_make_working_trees`` implied the result True
3238
from ``make_working_trees``. This has been changed to accomodate the
3239
smart server, where it does not make sense (at this point) to ever
3240
make working trees by default. (Robert Collins)
3242
* Command objects can now declare related help topics by having _see_also
3243
set to a list of related topic. (Robert Collins)
3245
* ``bzrlib.help`` now delegates to the Command class for Command specific
3246
help. (Robert Collins)
3248
* New class ``TransportListRegistry``, derived from the Registry class, which
3249
simplifies tracking the available Transports. (Goffredo Baroncelli)
3251
* New function ``Branch.get_revision_id_to_revno_map`` which will
3252
return a dictionary mapping revision ids to dotted revnos. Since
3253
dotted revnos are defined in the context of the branch tip, it makes
3254
sense to generate them from a ``Branch`` object.
3255
(John Arbash Meinel)
3257
* Fix the 'Unprintable error' message display to use the repr of the
3258
exception that prevented printing the error because the str value
3259
for it is often not useful in debugging (e.g. KeyError('foo') has a
3260
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
3261
useful. (Robert Collins)
3263
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
3268
* Don't fail bundle selftest if email has 'two' embedded.
3269
(Ian Clatworthy, #98510)
3271
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
3272
(Robert Widhopf-Fenk, #98591)
3274
* Remove ``--basis`` from the checkout/branch commands - it didn't work
3275
properly and is no longer beneficial.
3276
(Robert Collins, #53675, #43486)
3278
* Don't produce encoding error when adding duplicate files.
3281
* Fix ``bzr log <file>`` so it only logs the revisions that changed
3282
the file, and does it faster.
3283
(Kent Gibson, John Arbash Meinel, #51980, #69477)
3285
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
3286
an empty versioned directory, which now has files in it.
3287
(John Arbash Meinel, #104257)
3289
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
3290
inside the ancestry of the other. Saves a lot of graph processing
3291
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
3292
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
3294
* Fix ``show_diff_trees`` to handle the case when a file is modified,
3295
and the containing directory is renamed. (The file path is different
3296
in this versus base, but it isn't marked as a rename).
3297
(John Arbash Meinel, #103870)
3299
* FTP now works even when the FTP server does not support atomic rename.
3300
(Aaron Bentley, #89436)
3302
* Correct handling in bundles and merge directives of timezones with
3303
that are not an integer number of hours offset from UTC. Always
3304
represent the epoch time in UTC to avoid problems with formatting
3305
earlier times on win32. (Martin Pool, Alexander Belchenko, John
3308
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
3310
* "dirstate" and "dirstate-tags" formats now produce branches compatible
3311
with old versions of bzr. (Aaron Bentley, #107168))
3313
* Handle moving a directory when children have been added, removed,
3314
and renamed. (John Arbash Meinel, #105479)
3316
* Don't preventively use basic authentication for proxy before receiving a
3317
407 error. Otherwise people willing to use other authentication schemes
3318
may expose their password in the clear (or nearly). This add one
3319
roundtrip in case basic authentication should be used, but plug the
3323
* Handle http and proxy digest authentication.
3324
(Vincent Ladeuil, #94034).
3328
* Added ``bzrlib.strace.strace`` which will strace a single callable and
3329
return a StraceResult object which contains just the syscalls involved
3330
in running it. (Robert Collins)
3332
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
3333
default time down to one suitable for tests. (Andrew Bennetts)
3335
* Add new ``vfs_transport_factory`` attribute on tests which provides the
3336
common vfs backing for both the readonly and readwrite transports.
3337
This allows the RemoteObject tests to back onto local disk or memory,
3338
and use the existing ``transport_server`` attribute all tests know about
3339
to be the smart server transport. This in turn allows tests to
3340
differentiate between 'transport to access the branch', and
3341
'transport which is a VFS' - which matters in Remote* tests.
3342
(Robert Collins, Andrew Bennetts)
3344
* The ``make_branch_and_tree`` method for tests will now create a
3345
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
3346
a LocalURLServer. (Robert Collins, Andrew Bennetts)
3348
* Branch implementation tests have been audited to ensure that all urls
3349
passed to Branch APIs use proper urls, except when local-disk paths
3350
are intended. This is so that tests correctly access the test transport
3351
which is often not equivalent to local disk in Remote* tests. As part
3352
of this many tests were adjusted to remove dependencies on local disk
3354
(Robert Collins, Andrew Bennetts)
3356
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
3357
functions by adding a ``__unittest`` global attribute. (Robert Collins,
3358
Andrew Bennetts, Martin Pool, Jonathan Lange)
3360
* Refactored proxy and authentication handling to simplify the
3361
implementation of new auth schemes for both http and proxy.
3369
* Handle incompatible repositories as a user issue when fetching.
3372
* Don't give a recommendation to upgrade when branching or
3373
checking out a branch that contains an old-format working tree.
3376
bzr 0.15rc3 2007-03-26
3377
-----------------------
3381
* A warning is now displayed when opening working trees in older
3382
formats, to encourage people to upgrade to WorkingTreeFormat4.
3387
* HTTP redirections are now taken into account when a branch (or a
3388
bundle) is accessed for the first time. A message is issued at each
3389
redirection to inform the user. In the past, http redirections were
3390
silently followed for each request which significantly degraded the
3391
performances. The http redirections are not followed anymore by
3392
default, instead a RedirectRequested exception is raised. For bzrlib
3393
users needing to follow http redirections anyway,
3394
``bzrlib.transport.do_catching_redirections`` provide an easy transition
3399
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
3400
lock to an OS write lock. Linux can do this without unlocking, Win32
3401
needs to unlock in between. (John Arbash Meinel)
3403
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
3404
to silence (when false) warnings about opening old formats.
3407
* Fix minor performance regression with bzr-0.15 on pre-dirstate
3408
trees. (We were reading the working inventory too many times).
3409
(John Arbash Meinel)
3411
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
3412
``revision_history``. Branch subclasses should override
3413
``_gen_revision_history`` rather than ``revision_history`` to make use of
3414
this cache, and call ``_clear_revision_history_cache`` and
3415
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
3419
* Take ``smtp_server`` from user config into account.
3422
* Restore Unicode filename handling for versioned and unversioned files.
3423
(John Arbash Meinel, #92608)
3425
* Don't fail during ``bzr commit`` if a file is marked removed, and
3426
the containing directory is auto-removed. (John Arbash Meinel, #93681)
3428
* ``bzr status FILENAME`` failed on Windows because of an uncommon
3429
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
3430
(Wouter van Heyst, John Arbash Meinel, #90819)
3432
* ``bzr checkout source`` should create a local branch in the same
3433
format as source. (John Arbash Meinel, #93854)
3435
* ``bzr commit`` with a kind change was failing to update the
3436
last-changed-revision for directories. The
3437
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
3438
ignoring the fact that the kind could have changed, too.
3439
(John Arbash Meinel, #90111)
3441
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
3442
the directory. So that there was a chance it would break commit,
3443
etc. (John Arbash Meinel, #94037)
3445
* Correctly handles mutiple permanent http redirections.
3448
bzr 0.15rc2 2007-03-14
3449
-----------------------
3451
NOTES WHEN UPGRADING:
3453
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
3454
default to ``--trees`` instead of ``--no-trees``.
3455
Existing shared repositories are not affected.
3459
* New ``merge-directive`` command to generate machine- and human-readable
3460
merge requests. (Aaron Bentley)
3462
* New ``submit:`` revision specifier makes it easy to diff against the
3463
common ancestor with the submit location (Aaron Bentley)
3465
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
3467
* Added ``bzr status --versioned`` to report only versioned files,
3468
not unknowns. (Kent Gibson)
3470
* Merge now autodetects the correct line-ending style for its conflict
3471
markers. (Aaron Bentley)
3475
* Refactored SSH vendor registration into SSHVendorManager class.
3480
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
3481
numbered dirs for TestCaseInTempDir. This is default behavior
3482
on Windows. Anyone can force named dirs on Windows
3483
with ``--no-numbered-dirs``. (Alexander Belchenko)
3485
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
3486
from the command line. (Marien Zwart, #90501)
3488
* Fix ``TreeTransform._iter_changes`` when both the source and
3489
destination are missing. (Aaron Bentley, #88842)
3491
* Fix commit of merges with symlinks in dirstate trees.
3494
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
3495
(Wouter van Heyst, #53483)
3498
bzr 0.15rc1 2007-03-07
3499
-----------------------
3503
* The default disk format has changed. Please run 'bzr upgrade' in your
3504
working trees to upgrade. This new default is compatible for network
3505
operations, but not for local operations. That is, if you have two
3506
versions of bzr installed locally, after upgrading you can only use the
3507
bzr 0.15 version. This new default does not enable tags or nested-trees
3508
as they are incompatible with bzr versions before 0.15 over the network.
3510
* For users of bzrlib: Two major changes have been made to the working tree
3511
api in bzrlib. The first is that many methods and attributes, including
3512
the inventory attribute, are no longer valid for use until one of
3513
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
3514
and become invalid again after unlock is called. This has been done
3515
to improve performance and correctness as part of the dirstate
3517
(Robert Collins, John A Meinel, Martin Pool, and others).
3519
* For users of bzrlib: The attribute 'tree.inventory' should be considered
3520
readonly. Previously it was possible to directly alter this attribute, or
3521
its contents, and have the tree notice this. This has been made
3522
unsupported - it may work in some tree formats, but in the newer dirstate
3523
format such actions will have no effect and will be ignored, or even
3524
cause assertions. All operations possible can still be carried out by a
3525
combination of the tree API, and the bzrlib.transform API. (Robert
3526
Collins, John A Meinel, Martin Pool, and others).
3530
* Support for OS Windows 98. Also .bzr.log on any windows system
3531
saved in My Documents folder. (Alexander Belchenko)
3533
* ``bzr mv`` enhanced to support already moved files.
3534
In the past the mv command would have failed if the source file doesn't
3535
exist. In this situation ``bzr mv`` would now detect that the file has
3536
already moved and update the repository accordingly, if the target file
3538
A new option ``--after`` has been added so that if two files already
3539
exist, you could notify Bazaar that you have moved a (versioned) file
3540
and replaced it with another. Thus in this case ``bzr move --after``
3541
will only update the Bazaar identifier.
3542
(Steffen Eichenberg, Marius Kruger)
3544
* ``ls`` now works on treeless branches and remote branches.
3547
* ``bzr help global-options`` describes the global options.
3550
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
3553
* Files are now allowed to change kind (e.g. from file to symlink).
3554
Supported by ``commit``, ``revert`` and ``status``
3557
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
3560
* ``bzr help checkouts`` descibes what checkouts are and some possible
3561
uses of them. (James Westby, Aaron Bentley)
3563
* A new ``-d`` option to push, pull and merge overrides the default
3564
directory. (Martin Pool)
3566
* Branch format 6: smaller, and potentially faster than format 5. Supports
3567
``append_history_only`` mode, where the log view and revnos do not change,
3568
except by being added to. Stores policy settings in
3569
".bzr/branch/branch.conf".
3571
* ``append_only`` branches: Format 6 branches may be configured so that log
3572
view and revnos are always consistent. Either create the branch using
3573
"bzr init --append-revisions-only" or edit the config file as descriped
3574
in docs/configuration.txt.
3576
* rebind: Format 6 branches retain the last-used bind location, so if you
3577
"bzr unbind", you can "bzr bind" to bind to the previously-selected
3580
* Builtin tags support, created and deleted by the ``tag`` command and
3581
stored in the branch. Tags can be accessed with the revisionspec
3582
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
3583
at present. Tags require a network incompatible upgrade. To perform this
3584
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
3585
repositories. (Martin Pool)
3587
* The ``bzr://`` transport now has a well-known port number, 4155,
3588
which it will use by default. (Andrew Bennetts, Martin Pool)
3590
* Bazaar now looks for user-installed plugins before looking for site-wide
3591
plugins. (Jonathan Lange)
3593
* ``bzr resolve`` now detects and marks resolved text conflicts.
3598
* Internally revision ids and file ids are now passed around as utf-8
3599
bytestrings, rather than treating them as Unicode strings. This has
3600
performance benefits for Knits, since we no longer need to decode the
3601
revision id for each line of content, nor for each entry in the index.
3602
This will also help with the future dirstate format.
3603
(John Arbash Meinel)
3605
* Reserved ids (any revision-id ending in a colon) are rejected by
3606
versionedfiles, repositories, branches, and working trees
3609
* Minor performance improvement by not creating a ProgressBar for
3610
every KnitIndex we create. (about 90ms for a bzr.dev tree)
3611
(John Arbash Meinel)
3613
* New easier to use Branch hooks facility. There are five initial hooks,
3614
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
3615
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
3616
``'post_uncommit'``. These hooks fire after the matching operation
3617
on a branch has taken place, and were originally added for the
3618
branchrss plugin. (Robert Collins)
3620
* New method ``Branch.push()`` which should be used when pushing from a
3621
branch as it makes performance and policy decisions to match the UI
3622
level command ``push``. (Robert Collins).
3624
* Add a new method ``Tree.revision_tree`` which allows access to cached
3625
trees for arbitrary revisions. This allows the in development dirstate
3626
tree format to provide access to the callers to cached copies of
3627
inventory data which are cheaper to access than inventories from the
3629
(Robert Collins, Martin Pool)
3631
* New ``Branch.last_revision_info`` method, this is being done to allow
3632
optimization of requests for both the number of revisions and the last
3633
revision of a branch with smartservers and potentially future branch
3634
formats. (Wouter van Heyst, Robert Collins)
3636
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
3637
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
3638
other for code reuse without requiring users to perform file-renaming
3639
gymnastics. (Robert Collins)
3641
* New Repository method ``'gather_stats'`` for statistic data collection.
3642
This is expected to grow to cover a number of related uses mainly
3643
related to bzr info. (Robert Collins)
3645
* Log formatters are now managed with a registry.
3646
``log.register_formatter`` continues to work, but callers accessing
3647
the FORMATTERS dictionary directly will not.
3649
* Allow a start message to be passed to the ``edit_commit_message``
3650
function. This will be placed in the message offered to the user
3651
for editing above the separator. It allows a template commit message
3652
to be used more easily. (James Westby)
3654
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
3655
you pass a Unicode string rather than an 8-bit string. Callers need
3656
to be updated to encode first. (John Arbash Meinel)
3658
* Branch.push, pull, merge now return Result objects with information
3659
about what happened, rather than a scattering of various methods. These
3660
are also passed to the post hooks. (Martin Pool)
3662
* File formats and architecture is in place for managing a forest of trees
3663
in bzr, and splitting up existing trees into smaller subtrees, and
3664
finally joining trees to make a larger tree. This is the first iteration
3665
of this support, and the user-facing aspects still require substantial
3666
work. If you wish to experiment with it, use ``bzr upgrade
3667
--dirstate-with-subtree`` in your working trees and repositories.
3668
You can use the hidden commands ``split`` and ``join`` and to create
3669
and manipulate nested trees, but please consider using the nested-trees
3670
branch, which contains substantial UI improvements, instead.
3671
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
3672
(Aaron Bentley, Martin Pool, Robert Collins).
3676
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
3677
branch, rather than the last changed revision of the file.
3678
(John Arbash Meinel, #82158)
3680
* Lock operations no longer hang if they encounter a permission problem.
3683
* ``bzr push`` can resume a push that was canceled before it finished.
3684
Also, it can push even if the target directory exists if you supply
3685
the ``--use-existing-dir`` flag.
3686
(John Arbash Meinel, #30576, #45504)
3688
* Fix http proxy authentication when user and an optional
3689
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
3692
* ``bzr log branch/file`` works for local treeless branches
3693
(Aaron Bentley, #84247)
3695
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
3697
* Searching location of CA bundle for PyCurl in env variable
3698
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
3699
(Alexander Belchenko, #82086)
3701
* ``bzr init`` works with unicode argument LOCATION.
3702
(Alexander Belchenko, #85599)
3704
* Raise ``DependencyNotPresent`` if pycurl do not support https.
3705
(Vincent Ladeuil, #85305)
3707
* Invalid proxy env variables should not cause a traceback.
3708
(Vincent Ladeuil, #87765)
3710
* Ignore patterns normalised to use '/' path separator.
3711
(Kent Gibson, #86451)
3713
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
3715
* Fix bzrtools shelve command for removed lines beginning with "--"
3716
(Johan Dahlberg, #75577)
3720
* New ``--first`` option to ``bzr selftest`` to run specified tests
3721
before the rest of the suite. (Martin Pool)
3725
--------------------
3729
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
3733
* Skip documentation generation tests if the tools to do so are not
3734
available. Fixes running selftest for installled copies of bzr.
3735
(John Arbash Meinel, #80330)
3737
* Fix the code that discovers whether bzr is being run from it's
3738
working tree to handle the case when it isn't but the directory
3739
it is in is below a repository. (James Westby, #77306)
3742
bzr 0.14rc1 2007-01-16
3743
-----------------------
3747
* New connection: ``bzr+http://`` which supports tunnelling the smart
3748
protocol over an HTTP connection. If writing is enabled on the bzr
3749
server, then you can write over the http connection.
3750
(Andrew Bennetts, John Arbash Meinel)
3752
* Aliases now support quotation marks, so they can contain whitespace
3755
* PyCurlTransport now use a single curl object. By specifying explicitly
3756
the 'Range' header, we avoid the need to use two different curl objects
3757
(and two connections to the same server). (Vincent Ladeuil)
3759
* ``bzr commit`` does not prompt for a message until it is very likely to
3760
succeed. (Aaron Bentley)
3762
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
3765
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
3766
of a list while checking if a revision id was requested. Takes 10s
3767
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
3768
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
3769
filtering lines with a regex rather than multiple ``str.find()``
3770
calls. (saves another 300ms) (John Arbash Meinel)
3772
* Policy can be set for each configuration key. This allows keys to be
3773
inherited properly across configuration entries. For example, this
3774
should enable you to do::
3776
[/home/user/project]
3777
push_location = sftp://host/srv/project/
3778
push_location:policy = appendpath
3780
And then a branch like ``/home/user/project/mybranch`` should get an
3781
automatic push location of ``sftp://host/srv/project/mybranch``.
3784
* Added ``bzr status --short`` to make status report svn style flags
3785
for each file. For example::
3787
$ bzr status --short
3793
* 'bzr selftest --clean-output' allows easily clean temporary tests
3794
directories without running tests. (Alexander Belchenko)
3796
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
3798
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
3799
local is fully merged into remote. (Jan Hudec)
3801
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
3805
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
3806
help speed up processing, as well allowing to extract unannotated
3807
lines. Between the two ``fileids_affected_by_revision_ids`` is
3808
improved by approx 10%. (John Arbash Meinel)
3810
* Change Revision serialization to only write out millisecond
3811
resolution. Rather than expecting floating point serialization to
3812
preserve more resolution than we need. (Henri Weichers, Martin Pool)
3814
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
3816
* When ``encoding_type`` attribute of class Command is equal to 'exact',
3817
force sys.stdout to be a binary stream on Windows, and therefore
3818
keep exact line-endings (without LF -> CRLF conversion).
3819
(Alexander Belchenko)
3821
* Single-letter short options are no longer globally declared. (Martin
3824
* Before using detected user/terminal encoding bzr should check
3825
that Python has corresponding codec. (Alexander Belchenko)
3827
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
3831
* ``bzr missing --verbose`` was showing adds/removals in the wrong
3832
direction. (John Arbash Meinel)
3834
* ``bzr annotate`` now defaults to showing dotted revnos for merged
3835
revisions. It cuts them off at a depth of 12 characters, but you can
3836
supply ``--long`` to see the full number. You can also use
3837
``--show-ids`` to display the original revision ids, rather than
3838
revision numbers and committer names. (John Arbash Meinel, #75637)
3840
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
3841
(Alexander Belchenko, #57869)
3843
* Win32-specific: output of cat, bundle and diff commands don't mangle
3844
line-endings (Alexander Belchenko, #55276)
3846
* Replace broken fnmatch based ignore pattern matching with custom pattern
3848
(Kent Gibson, Jan Hudec #57637)
3850
* pycurl and urllib can detect short reads at different places. Update
3851
the test suite to test more cases. Also detect http error code 416
3852
which was raised for that specific bug. Also enhance the urllib
3853
robustness by detecting invalid ranges (and pycurl's one by detecting
3854
short reads during the initial GET). (Vincent Ladeuil, #73948)
3856
* The urllib connection sharing interacts badly with urllib2
3857
proxy setting (the connections didn't go thru the proxy
3858
anymore). Defining a proper ProxyHandler solves the
3859
problem. (Vincent Ladeuil, #74759)
3861
* Use urlutils to generate relative URLs, not osutils
3862
(Aaron Bentley, #76229)
3864
* ``bzr status`` in a readonly directory should work without giving
3865
lots of errors. (John Arbash Meinel, #76299)
3867
* Mention the revisionspec topic for the revision option help.
3868
(Wouter van Heyst, #31663)
3870
* Allow plugins import from zip archives.
3871
(Alexander Belchenko, #68124)
3875
--------------------
3877
No changes from 0.13rc1
3879
bzr 0.13rc1 2006-11-27
3880
-----------------------
3884
* New command ``bzr remove-tree`` allows the removal of the working
3886
(Daniel Silverstone)
3888
* urllib uses shared keep-alive connections, so http
3889
operations are substantially faster.
3890
(Vincent Ladeuil, #53654)
3892
* ``bzr export`` allows an optional branch parameter, to export a bzr
3893
tree from some other url. For example:
3894
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
3895
(Daniel Silverstone)
3897
* Added ``bzr help topics`` to the bzr help system. This gives a
3898
location for general information, outside of a specific command.
3899
This includes updates for ``bzr help revisionspec`` the first topic
3900
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
3902
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
3905
* Knit files will now cache full texts only when the size of the
3906
deltas is as large as the size of the fulltext. (Or after 200
3907
deltas, whichever comes first). This has the most benefit on large
3908
files with small changes, such as the inventory for a large project.
3909
(eg For a project with 2500 files, and 7500 revisions, it changes
3910
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
3914
* New -D option given before the command line turns on debugging output
3915
for particular areas. -Derror shows tracebacks on all errors.
3918
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
3919
and remove benchmarks that take longer than 10min to run.
3920
(John Arbash Meinel)
3922
* Use ``time.time()`` instead of ``time.clock()`` to decide on
3923
progress throttling. Because ``time.clock()`` is actually CPU time,
3924
so over a high-latency connection, too many updates get throttled.
3925
(John Arbash Meinel)
3927
* ``MemoryTransport.list_dir()`` would strip the first character for
3928
files or directories in root directory. (John Arbash Meinel)
3930
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
3931
branch references - which the smart server component needs.
3933
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
3934
prefix. It disallows any access to locations above a set URL. (Andrew
3939
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
3940
And optimize the knit index parsing code.
3941
(Dmitry Vasiliev, John Arbash Meinel)
3943
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
3944
without importing it. This prevented ``bzr upgrade`` from working
3945
unless a plugin already imported ``bzrlib.workingtree``
3946
(John Arbash Meinel, #70716)
3948
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
3950
* Give nicer error message when an http server returns a 403
3951
error code. (Vincent Ladeuil, #57644).
3953
* When a multi-range http GET request fails, try a single
3954
range one. If it fails too, forget about ranges. Remember that until
3955
the death of the transport and propagates that to the clones.
3956
(Vincent Ladeuil, #62276, #62029).
3958
* Handles user/passwords supplied in url from command
3959
line (for the urllib implementation). Don't request already
3960
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
3962
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
3963
are added. This fixes bug where fetching remote revisions records
3964
them as full references rather than integers.
3965
(John Arbash Meinel, #64789)
3967
* ``bzr ignore`` strips trailing slashes in patterns.
3968
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
3970
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
3972
* mv correctly handles paths that traverse symlinks.
3973
(Aaron Bentley, #66964)
3975
* Give nicer looking error messages when failing to connect over ssh.
3976
(John Arbash Meinel, #49172)
3978
* Pushing to a remote branch does not currently update the remote working
3979
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
3980
machine now show that the working tree is out of date.
3981
(Cheuksan Edward Wang #48136)
3983
* Use patiencediff instead of difflib for determining deltas to insert
3984
into knits. This avoids the O(N^3) behavior of difflib. Patience
3985
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
3987
* Running ``bzr log`` on nonexistent file gives an error instead of the
3988
entire log history. (Cheuksan Edward Wang #50793)
3990
* ``bzr cat`` can look up contents of removed or renamed files. If the
3991
pathname is ambiguous, i.e. the files in the old and new trees have
3992
different id's, the default is the file in the new tree. The user can
3993
use "--name-from-revision" to select the file in the old tree.
3994
(Cheuksan Edward Wang, #30190)
3998
* TestingHTTPRequestHandler really handles the Range header
3999
(previously it was ignoring it and returning the whole file,).
4002
--------------------
4006
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
4007
and remove benchmarks that take longer than 10min to run.
4008
(John Arbash Meinel)
4010
bzr 0.12rc1 2006-10-23
4011
-----------------------
4015
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
4016
rather than just showing a decimal revision number for revisions on the
4017
mainline. These revision numbers are not yet accepted as input into bzr
4018
commands such as log, diff etc. (Robert Collins)
4020
* revisions can now be specified using dotted-decimal revision numbers.
4021
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
4023
* ``bzr help commands`` output is now shorter (Aaron Bentley)
4025
* ``bzr`` now uses lazy importing to reduce the startup time. This has
4026
a moderate effect on lots of actions, especially ones that have
4027
little to do. For example ``bzr rocks`` time is down to 116ms from
4028
283ms. (John Arbash Meinel)
4030
* New Registry class to provide name-to-object registry-like support,
4031
for example for schemes where plugins can register new classes to
4032
do certain tasks (e.g. log formatters). Also provides lazy registration
4033
to allow modules to be loaded on request.
4034
(John Arbash Meinel, Adeodato Simó)
4036
API INCOMPATABILITY:
4038
* LogFormatter subclasses show now expect the 'revno' parameter to
4039
show() to be a string rather than an int. (Robert Collins)
4043
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
4044
can take a ``working_dir='foo'`` parameter, which will change directory
4045
for the command. (John Arbash Meinel)
4047
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
4048
around a regex, which defers compilation until first use.
4049
(John Arbash Meinel)
4051
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
4052
``--no-plugins`` parameter to ensure test reproducability, and avoid
4053
problems with system-wide installed plugins. (John Arbash Meinel)
4055
* Unique tree root ids are now supported. Newly created trees still
4056
use the common root id for compatibility with bzr versions before 0.12.
4059
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
4060
pass in ``inventory.ROOT_ID`` if you want the default root id value.
4061
(Robert Collins, John Arbash Meinel)
4063
* New method ``WorkingTree.flush()`` which will write the current memory
4064
inventory out to disk. At the same time, ``read_working_inventory`` will
4065
no longer trash the current tree inventory if it has been modified within
4066
the current lock, and the tree will now ``flush()`` automatically on
4067
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
4068
advantage of this functionality. (Robert Collins, John Arbash Meinel)
4070
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
4071
parameter will cause it to add another column to its output, which
4072
contains the dotted-decimal revno for each revision, as a tuple.
4075
* ``LogFormatter.show_merge`` is deprecated in favour of
4076
``LogFormatter.show_merge_revno``. (Robert Collins)
4080
* Avoid circular imports by creating a deprecated function for
4081
``bzrlib.tree.RevisionTree``. Callers should have been using
4082
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
4085
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
4086
platforms. (Martin Pool, #66356)
4088
* Don't require ``Content-Type`` in range responses. Assume they are a
4089
single range if ``Content-Type`` does not exist.
4090
(John Arbash Meinel, #62473)
4092
* bzr branch/pull no longer complain about progress bar cleanup when
4093
interrupted during fetch. (Aaron Bentley, #54000)
4095
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
4096
the basis inventory, rather than going through the repository. This
4097
allows us to have 1 inventory read, and 2 inventory writes when
4098
committing a new tree. (John Arbash Meinel)
4100
* When reverting, files that are not locally modified that do not exist
4101
in the target are deleted, not just unversioned (Aaron Bentley)
4103
* When trying to acquire a lock, don't fail immediately. Instead, try
4104
a few times (up to 1 hour) before timing out. Also, report why the
4105
lock is unavailable (John Arbash Meinel, #43521, #49556)
4107
* Leave HttpTransportBase daughter classes decides how they
4108
implement cloning. (Vincent Ladeuil, #61606)
4110
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
4112
* If a commit fails, the commit message is stored in a file at the root of
4113
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
4118
* New test base class TestCaseWithMemoryTransport offers memory-only
4119
testing facilities: its not suitable for tests that need to mutate disk
4120
state, but most tests should not need that and should be converted to
4121
TestCaseWithMemoryTransport. (Robert Collins)
4123
* ``TestCase.make_branch_and_memory_tree`` now takes a format
4124
option to set the BzrDir, Repository and Branch formats of the
4125
created objects. (Robert Collins, John Arbash Meinel)
4128
--------------------
4130
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
4132
bzr 0.11rc2 2006-09-27
4133
-----------------------
4137
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
4139
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
4142
bzr 0.11rc1 2006-09-25
4143
-----------------------
4147
* Knit files now wait to create their contents until the first data is
4148
added. The old code used to create an empty .knit and a .kndx with just
4149
the header. However, this caused a lot of extra round trips over sftp.
4150
This can change the time for ``bzr push`` to create a new remote branch
4151
from 160s down to 100s. This also affects ``bzr commit`` performance when
4152
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
4153
down to 40s (John Arbash Meinel, #44692)
4155
* When an entire subtree has been deleted, commit will now report that
4156
just the top of the subtree has been deleted, rather than reporting
4157
all the individual items. (Robert Collins)
4159
* Commit performs one less XML parse. (Robert Collins)
4161
* ``bzr checkout`` now operates on readonly branches as well
4162
as readwrite branches. This fixes bug #39542. (Robert Collins)
4164
* ``bzr bind`` no longer synchronises history with the master branch.
4165
Binding should be followed by an update or push to synchronise the
4166
two branches. This is closely related to the fix for bug #39542.
4169
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
4170
objects. This allows all imports to stay at the global scope, but
4171
modules will not actually be imported if they are not used.
4172
(John Arbash Meinel)
4174
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
4175
transport which will be used with the upcoming high-performance smart
4176
server. The new command ``bzr serve`` will invoke bzr in server mode,
4177
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
4180
* New command ``bzr version-info`` which can be used to get a summary
4181
of the current state of the tree. This is especially useful as part
4182
of a build commands. See ``doc/version_info.txt`` for more information
4183
(John Arbash Meinel)
4187
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
4188
specific set of files. (John Arbash Meinel, #3631)
4190
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
4192
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
4193
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
4194
reading a nested Stanza. (John Arbash Meinel)
4196
* Transform._set_mode() needs to stat the right file.
4197
(John Arbash Meinel, #56549)
4199
* Raise WeaveFormatError rather than StopIteration when trying to read
4200
an empty Weave file. (John Arbash Meinel, #46871)
4202
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
4203
(Vincent Ladeuil, #59835)
4205
* Handle boundary="" lines properly to allow access through a Squid proxy.
4206
(John Arbash Meinel, #57723)
4208
* revert now removes newly-added directories (Aaron Bentley, #54172)
4210
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
4211
isn't a working tree. (David Allouche, #40679)
4213
* Give nicer error messages when a user supplies an invalid --revision
4214
parameter. (John Arbash Meinel, #55420)
4216
* Handle when LANG is not recognized by python. Emit a warning, but
4217
just revert to using 'ascii'. (John Arbash Meinel, #35392)
4219
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
4220
(John Arbash Meinel)
4222
* Skip specific tests when the dependencies aren't met. This includes
4223
some ``setup.py`` tests when ``python-dev`` is not available, and
4224
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
4226
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
4227
the system. (Andrew Bennetts, John Arbash Meinel)
4229
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
4230
other branch, and will not push or pull between the two branches.
4231
API users will need to perform a push or pull or update operation if they
4232
require branch synchronisation to take place. (Robert Collins, #47344)
4234
* When creating a tarball or zipfile export, export unicode names as utf-8
4235
paths. This may not work perfectly on all platforms, but has the best
4236
chance of working in the common case. (John Arbash Meinel, #56816)
4238
* When committing, only files that exist in working tree or basis tree
4239
may be specified (Aaron Bentley, #50793)
4243
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
4247
* TestCaseInTempDir now creates a separate directory for HOME, rather
4248
than having HOME set to the same location as the working directory.
4249
(John Arbash Meinel)
4251
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
4252
which will update os.environ inside the spawned child. It also can
4253
take a ``universal_newlines=True``, which helps when checking the output
4254
of the command. (John Arbash Meinel)
4256
* Refactor SFTP vendors to allow easier re-use when ssh is used.
4259
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
4260
return urlescaped paths. This is now tested (there were bugs in a few
4261
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
4263
* New utility function ``symbol_versioning.deprecation_string``. Returns the
4264
formatted string for a callable, deprecation format pair. (Robert Collins)
4266
* New TestCase helper applyDeprecated. This allows you to call a callable
4267
which is deprecated without it spewing to the screen, just by supplying
4268
the deprecation format string issued for it. (Robert Collins)
4270
* Transport.append and Transport.put have been deprecated in favor of
4271
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
4272
``.put_file``. This removes the ambiguity in what type of object the
4273
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
4274
been added. Which works similarly to ``Transport.append()`` except for
4275
SFTP, it doesn't have a round trip when opening the file. Also, it
4276
provides functionality for creating a parent directory when trying
4277
to create a file, rather than raise NoSuchFile and forcing the
4278
caller to repeat their request.
4279
(John Arbash Meinel)
4281
* WorkingTree has a new api ``unversion`` which allow the unversioning of
4282
entries by their file id. (Robert Collins)
4284
* ``WorkingTree.pending_merges`` is deprecated. Please use the
4285
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
4287
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
4288
read rather than write. This is appropriate for actions which only need
4289
the branch data for reference rather than mutation. A new decorator
4290
``needs_tree_write_lock`` is provided in the workingtree module. Like the
4291
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
4292
declaration of the locking requirements of a function to ensure that
4293
a lock is taken out for casual scripts. (Robert Collins, #54107)
4295
* All WorkingTree methods which write to the tree, but not to the branch
4296
have been converted to use ``needs_tree_write_lock`` rather than
4297
``needs_write_lock``. Also converted is the revert, conflicts and tree
4298
transform modules. This provides a modest performance improvement on
4299
metadir style trees, due to the reduce lock-acquisition, and a more
4300
significant performance improvement on lightweight checkouts from
4301
remote branches, where trivial operations used to pay a significant
4302
penalty. It also provides the basis for allowing readonly checkouts.
4305
* Special case importing the standard library 'copy' module. This shaves
4306
off 40ms of startup time, while retaining compatibility. See:
4307
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
4309
* WorkingTree has a new parent class MutableTree which represents the
4310
specialisations of Tree which are able to be altered. (Robert Collins)
4312
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
4313
mutate the tree and its contents. (Robert Collins)
4315
* Transport behaviour at the root of the URL is now defined and tested.
4316
(Andrew Bennetts, Robert Collins)
4320
* New test helper classs MemoryTree. This is typically accessed via
4321
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
4323
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
4324
code to continue running concurrently with a subprocess of bzr.
4325
(Andrew Bennetts, Robert Collins)
4327
* Add a new method ``Transport.get_smart_client()``. This is provided to
4328
allow upgrades to a richer interface than the VFS one provided by
4329
Transport. (Andrew Bennetts, Martin Pool)
4332
--------------------
4335
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
4336
tree. (Aaron Bentley)
4338
* 'bzr add --file-ids-from' can be used to specify another path to use
4339
for creating file ids, rather than generating all new ones. Internally,
4340
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
4341
will be used, rather than having bzrlib generate new ones.
4342
(John Arbash Meinel, #55781)
4344
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
4345
This will cache some of the intermediate trees, and decrease the
4346
setup time for benchmark tests. (John Arbash Meinel)
4348
* Inverse forms are provided for all boolean options. For example,
4349
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
4351
* Serialize out Inventories directly, rather than using ElementTree.
4352
Writing out a kernel sized inventory drops from 2s down to ~350ms.
4353
(Robert Collins, John Arbash Meinel)
4357
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
4359
* Change LockDir so that if the lock directory doesn't exist when
4360
``lock_write()`` is called, an attempt will be made to create it.
4361
(John Arbash Meinel, #56974)
4363
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
4365
* Active FTP transport now works as intended. (ghozzy, #56472)
4367
* Really fix mutter() so that it won't ever raise a UnicodeError.
4368
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
4369
But it is a debugging log, not a real user file.
4370
(John Arbash Meinel, #56947, #53880)
4372
* Change Command handle to allow Unicode command and options.
4373
At present we cannot register Unicode command names, so we will get
4374
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
4375
But that is better than a UnicodeError + a traceback.
4376
(John Arbash Meinel, #57123)
4378
* Handle TZ=UTC properly when reading/writing revisions.
4379
(John Arbash Meinel, #55783, #56290)
4381
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
4382
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
4384
* External diff does the right thing for binaries even in foreign
4385
languages. (John Arbash Meinel, #56307)
4387
* Testament handles more cases when content is unicode. Specific bug was
4388
in handling of revision properties.
4389
(John Arbash Meinel, Holger Krekel, #54723)
4391
* The bzr selftest was failing on installed versions due to a bug in a new
4392
test helper. (John Arbash Meinel, Robert Collins, #58057)
4396
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
4397
which can be used to cache the conversion between utf8 and Unicode.
4398
Especially helpful for some of the knit annotation code, which has to
4399
convert revision ids to utf8 to annotate lines in storage.
4400
(John Arbash Meinel)
4402
* ``setup.py`` now searches the filesystem to find all packages which
4403
need to be installed. This should help make the life of packagers
4404
easier. (John Arbash Meinel)
4406
bzr 0.9.0 2006-08-11
4407
---------------------
4411
* The hard-coded built-in ignore rules have been removed. There are
4412
now two rulesets which are enforced. A user global one in
4413
``~/.bazaar/ignore`` which will apply to every tree, and the tree
4414
specific one '.bzrignore'.
4415
``~/.bazaar/ignore`` will be created if it does not exist, but with
4416
a more conservative list than the old default.
4417
This fixes bugs with default rules being enforced no matter what.
4418
The old list of ignore rules from bzr is available by
4419
running 'bzr ignore --old-default-rules'.
4420
(Robert Collins, Martin Pool, John Arbash Meinel)
4422
* 'branches.conf' has been changed to 'locations.conf', since it can apply
4423
to more locations than just branch locations.
4428
* The revision specifier "revno:" is extended to accept the syntax
4429
revno:N:branch. For example,
4430
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
4431
bzr.dev. (Matthieu Moy)
4433
* Tests updates to ensure proper URL handling, UNICODE support, and
4434
proper printing when the user's terminal encoding cannot display
4435
the path of a file that has been versioned.
4436
``bzr branch`` can take a target URL rather than only a local directory.
4437
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
4438
and normalize the parent based on root, allowing access across
4439
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
4440
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
4443
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
4444
Use terminal width for single-line logs from ``bzr log --line`` and
4445
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
4448
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
4449
(Alexander Belchenko)
4451
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
4453
* Show the correct number of revisions pushed when pushing a new branch.
4456
* 'bzr selftest' now shows a progress bar with the number of tests, and
4457
progress made. 'make check' shows tests in -v mode, to be more useful
4458
for the PQM status window. (Robert Collins).
4459
When using a progress bar, failed tests are printed out, rather than
4460
being overwritten by the progress bar until the suite finishes.
4461
(John Arbash Meinel)
4463
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
4464
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
4465
profile data for the individual profiled calls, allowing for fine
4466
grained analysis of performance.
4467
(Robert Collins, Martin Pool).
4469
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
4470
where commit can take an appreciable time. (Robert Collins)
4472
* 'bzr add' is now less verbose in telling you what ignore globs were
4473
matched by files being ignored. Instead it just tells you how many
4474
were ignored (because you might reasonably be expecting none to be
4475
ignored). 'bzr add -v' is unchanged and will report every ignored
4476
file. (Robert Collins).
4478
* ftp now has a test server if medusa is installed. As part of testing,
4479
ftp support has been improved, including support for supplying a
4480
non-standard port. (John Arbash Meinel).
4482
* 'bzr log --line' shows the revision number, and uses only the
4483
first line of the log message (#5162, Alexander Belchenko;
4486
* 'bzr status' has had the --all option removed. The 'bzr ls' command
4487
should be used to retrieve all versioned files. (Robert Collins)
4489
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
4490
over email, and applied on the other end, while maintaining ancestry.
4491
This bundle can be applied with either 'bzr merge' or 'bzr pull',
4492
the same way you would apply another branch.
4493
(John Arbash Meinel, Aaron Bentley)
4495
* 'bzr whoami' can now be used to set your identity from the command line,
4496
for a branch or globally. (Robey Pointer)
4498
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
4501
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
4504
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
4505
Also updates things like 'http+pycurl://' if pycurl is not present.
4506
(John Arbash Meinel) (Malone #47821, #52204)
4508
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
4509
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
4510
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
4512
* Improve the help text for 'bzr diff' to explain what various options do.
4513
(John Arbash Meinel, #6391)
4515
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
4516
revision 10. This makes -r10 more in line with what other commands do.
4517
'bzr uncommit' also now saves the pending merges of the revisions that
4518
were removed. So it is safe to uncommit after a merge, fix something,
4519
and commit again. (John Arbash Meinel, #32526, #31426)
4521
* 'bzr init' now also works on remote locations.
4522
(Wouter van Heyst, #48904)
4524
* HTTP support has been updated. When using pycurl we now support
4525
connection keep-alive, which reduces dns requests and round trips.
4526
And for both urllib and pycurl we support multi-range requests,
4527
which decreases the number of round-trips. Performance results for
4528
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
4529
http branching is now 2-3x faster, and ``bzr pull`` in an existing
4530
branch is as much as 4x faster.
4531
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
4533
* Performance improvements for sftp. Branching and pulling are now up to
4534
2x faster. Utilize paramiko.readv() support for async requests if it
4535
is available (paramiko > 1.6) (John Arbash Meinel)
4539
* Fix shadowed definition of TestLocationConfig that caused some
4541
(Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
4543
* Fix unnecessary requirement of sign-my-commits that it be run from
4544
a working directory. (Martin Pool, Robert Collins)
4546
* 'bzr push location' will only remember the push location if it succeeds
4547
in connecting to the remote location. (John Arbash Meinel, #49742)
4549
* 'bzr revert' no longer toggles the executable bit on win32
4550
(John Arbash Meinel, #45010)
4552
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
4554
* sftp tests now work correctly on win32 if you have a newer paramiko
4555
(John Arbash Meinel)
4557
* Cleanup win32 test suite, and general cleanup of places where
4558
file handles were being held open. (John Arbash Meinel)
4560
* When specifying filenames for 'diff -r x..y', the name of the file in the
4561
working directory can be used, even if its name is different in both x
4564
* File-ids containing single- or double-quotes are handled correctly by
4565
push. (Aaron Bentley, #52227)
4567
* Normalize unicode filenames to ensure cross-platform consistency.
4568
(John Arbash Meinel, #43689)
4570
* The argument parser can now handle '-' as an argument. Currently
4571
no code interprets it specially (it is mostly handled as a file named
4572
'-'). But plugins, and future operations can use it.
4573
(John Arbash meinel, #50984)
4575
* Bundles can properly read binary files with a plain '\r' in them.
4576
(John Arbash Meinel, #51927)
4578
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
4580
* Lots of win32 fixes (the test suite passes again).
4581
(John Arbash Meinel, #50155)
4583
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
4585
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
4587
* Removals are only committed if they match the filespec (or if there is
4588
no filespec). (#46635, Aaron Bentley)
4590
* smart-add recurses through all supplied directories
4591
(John Arbash Meinel, #52578)
4593
* Make the bundle reader extra lines before and after the bundle text.
4594
This allows you to parse an email with the bundle inline.
4595
(John Arbash Meinel, #49182)
4597
* Change the file id generator to squash a little bit more. Helps when
4598
working with long filenames on windows. (Also helps for unicode filenames
4599
not generating hidden files). (John Arbash Meinel, #43801)
4601
* Restore terminal mode on C-c while reading sftp password. (#48923,
4602
Nicholas Allen, Martin Pool)
4604
* Timestamps are rounded to 1ms, and revision entries can be recreated
4605
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
4607
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
4608
use local paths, since it is user visible (John Arbash Meinel, #53653)
4610
* ``bzr status foo`` when foo was unversioned used to cause a full delta
4611
to be generated (John Arbash Meinel, #53638)
4613
* When reading revision properties, an empty value should be considered
4614
the empty string, not None (John Arbash Meinel, #47782)
4616
* ``bzr diff --diff-options`` can now handle binary files being changed.
4617
Also, the output is consistent when --diff-options is not supplied.
4618
(John Arbash Meinel, #54651, #52930)
4620
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
4622
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
4623
accessible (John Arbash Meinel, #52976)
4627
* Combine the ignore rules into a single regex rather than looping over
4628
them to reduce the threshold where N^2 behaviour occurs in operations
4629
like status. (Jan Hudec, Robert Collins).
4631
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
4632
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
4634
* 'bzr push' should only push the ancestry of the current revision, not
4635
all of the history in the repository. This is especially important for
4636
shared repositories. (John Arbash Meinel)
4638
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
4639
rather than randomly walking the inventories. (John Arbash Meinel)
4641
* Doctests are now run in temporary directories which are cleaned up when
4642
they finish, rather than using special ScratchDir/ScratchBranch objects.
4645
* Split ``check`` into separate methods on the branch and on the repository,
4646
so that it can be specialized in ways that are useful or efficient for
4647
different formats. (Martin Pool, Robert Collins)
4649
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
4650
the global revision graph but only that part leading up to a particular
4651
revision. (Martin Pool, Robert Collins)
4653
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
4654
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
4655
(Robert Collins, Jelmer Vernooij).
4657
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
4658
Uses subprocess instead of spawnvp.
4659
(James Henstridge, John Arbash Meinel, #4047, #48914)
4661
* New command line option '--profile-imports', which will install a custom
4662
importer to log time to import modules and regex compilation time to
4663
sys.stderr (John Arbash Meinel)
4665
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
4666
instead. (Robert Collins)
4668
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
4670
bzr 0.8.2 2006-05-17
4671
---------------------
4675
* setup.py failed to install launchpad plugin. (Martin Pool)
4677
bzr 0.8.1 2006-05-16
4678
---------------------
4682
* Fix failure to commit a merge in a checkout. (Martin Pool,
4683
Robert Collins, Erik Bågfors, #43959)
4685
* Nicer messages from 'commit' in the case of renames, and correct
4686
messages when a merge has occured. (Robert Collins, Martin Pool)
4688
* Separate functionality from assert statements as they are skipped in
4689
optimized mode of python. Add the same check to pending merges.
4690
(Olaf Conradi, #44443)
4694
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
4696
* Add info on standalone branches without a working tree.
4697
(Olaf Conradi, #44155)
4699
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
4703
* Make editor invocation comply with Debian Policy. First check
4704
environment variables VISUAL and EDITOR, then try editor from
4705
alternatives system. If that all fails, fall back to the pre-defined
4706
list of editors. (Olaf Conradi, #42904)
4710
* New 'register-branch' command registers a public branch into
4711
Launchpad.net, where it can be associated with bugs, etc.
4712
(Martin Pool, Bjorn Tillenius, Robert Collins)
4716
* New public api in InventoryEntry - ``describe_change(old, new)`` which
4717
provides a human description of the changes between two old and
4718
new. (Robert Collins, Martin Pool)
4722
* Fix test case for bzr info in upgrading a standalone branch to metadir,
4723
uses bzrlib api now. (Olaf Conradi)
4728
3
NOTES WHEN UPGRADING:
4730
5
Release 0.8 of bzr introduces a new format for history storage, called
4731
6
'knit', as an evolution of to the 'weave' format used in 0.7. Local
4732
and remote operations are faster using knits than weaves. Several
7
and remote operations are faster using weaves than knits. Several
4733
8
operations including 'init', 'init-repo', and 'upgrade' take a
4734
9
--format option that controls this. Branching from an existing branch
4735
10
will keep the same format.