16
* ``bzr annotate`` will now include uncommitted changes from the local
17
working tree by default. Such uncommitted changes are given the
18
revision number they would get if a commit was done, followed with a
19
? to indicate that its not actually known. (Robert Collins, #3439)
21
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
22
standalone branch regardless of the presence of shared repositories.
25
* ``bzr push`` is faster in the case there are no new revisions to
26
push. It is also faster if there are no tags in the local branch.
29
* Location aliases can now accept a trailing path. (Micheal Hudson)
31
* Switching in heavyweight checkouts uses the master branch's context, not
32
the checkout's context. (Adrian Wilkins)
34
* ``status`` on large trees is now faster, due to optimisations in the
35
walkdirs code. Of particular note, the walkdirs code now performs
36
a temporary ``chdir()`` while reading a single directory; if your
37
platform has non thread-local current working directories (and is
38
not windows which has its own implementation), this may introduce a
39
race condition during concurrent uses of bzrlib. The bzrlib CLI
40
will not encounter this as it is single threaded for working tree
41
operations. (Robert Collins)
45
* Branching from a shared repository on a smart server into a new
46
repository now preserves the repository format.
47
(Andrew Bennetts, #269214)
49
* ``bzr missing`` now accepts an ``--include-merges`` option.
50
(Vincent Ladeuil, #233817)
52
* Don't try to filter (internally) '.bzr' from the files to be deleted if
54
(Vincent Ladeuil, #272648)
56
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
59
* Fix TooManyConcurrentRequests errors caused by a connection failure
60
when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
61
(Andrew Bennetts, #246233)
63
* Make the first line of the manpage preamble a comment again.
64
(David Futcher, #242106)
68
* Explain revision/range identifiers. (Daniel Clemente)
74
* ``bzrlib.tests.repository_implementations`` has been renamed to
75
``bzrlib.tests.per_repository`` so that we have a common structure
76
(and it is shorter). (John Arbash Meinel, #239343)
78
* ``LocalTransport.abspath()`` now returns a drive letter if the
79
transport has one, fixing numerous tests on Windows.
82
* The full test suite is passing again on OSX.
83
(Guillermo Gonzalez, Vincent Ladeuil)
85
* PreviewTree is now tested via intertree_implementations.
90
* A new hook, ``Branch.open``, has been added, which is called when
91
branch objects are opened. (Robert Collins)
93
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
94
tree walking, and modular directory listing code to aid future
95
performance optimisations and refactoring. (Robert Collins)
98
bzr 1.7rc2 IN DEVELOPMENT
99
-------------------------
103
* Branching from a shared repository on a smart server into a new
104
repository now preserves the repository format.
105
(Andrew Bennetts, #269214)
107
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
110
* ``bzr init`` no longer re-opens the BzrDir multiple times.
114
bzr 1.7rc1 2008-09-09
115
---------------------
117
This release candidate for bzr 1.7 has several bug fixes and a few
118
performance and feature improvements. ``bzr rm`` will now scan for
119
missing files and remove them, like how ``bzr add`` scans for unknown
120
files and adds them. A bit more polish has been applied to the stacking
121
code. The b-tree indexing code has been brought in, with an eye on using
122
it in a future repository format.
127
* ``bzr export`` can now export a subdirectory of a project.
130
* ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
131
changes, unless the ``--force`` option is specified.
132
(Lukáš Lalinský, #74101)
134
* ``bzr rm`` will now scan for files that are missing and remove just
135
them automatically, much as ``bzr add`` scans for new files that
136
are not ignored and adds them automatically. (Robert Collins)
140
* Support for GSSAPI authentication when using FTP as documented in
141
RFC2228. (Jelmer Vernooij, #49623)
143
* Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
147
* A url like ``log+file:///tmp`` will log all access to that Transport
148
to ``.bzr.log``, which may help in debugging or profiling.
151
* ``bzr branch`` and ``bzr push`` use the default stacking policy if the
152
branch format supports it. (Aaron Bentley)
154
* ``bzr init`` and ``bzr init-repo`` will now print out the same as
155
``bzr info`` if it completed successfully.
158
* ``bzr uncommit`` logs the old tip revision id, and displays how to
159
restore the branch to that tip using ``bzr pull``. This allows you
160
to recover if you realize you uncommitted the wrong thing.
163
* Fix problems in accessing stacked repositories over ``bzr://``.
164
(Martin Pool, #261315)
166
* ``SFTPTransport.readv()`` was accidentally using ``list += string``,
167
which 'works', but adds each character separately to the list,
168
rather than using ``list.append(string)``. Fixing this makes the
169
SFTP transport a little bit faster (~20%) and use a bit less memory.
172
* When reading index files, if we happen to read the whole file in a
173
single request treat it as a ``_buffer_all`` request. This happens
174
most often on small indexes over remote transports, where we default
175
to reading 64kB. It saves a round trip for each small index during
176
fetch operations. Also, if we have read more than 50% of an index
177
file, trigger a ``_buffer_all`` on the next request. This works
178
around some inefficiencies because reads don't fall neatly on page
179
boundaries, so we would ignore those bytes, but request them again
180
later. This could trigger a total read size of more than the whole
181
file. (John Arbash Meinel)
185
* ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
186
users. (Robert Collins, #205416)
188
* Catch the infamous "select/poll returned error" which occurs when
189
pycurl try to send a body request to an HTTP/1.0 server which has
190
already refused to handle the request. (Vincent Ladeuil, #225020)
192
* Fix ``ObjectNotLocked`` errors when using various commands
193
(including ``bzr cat`` and ``bzr annotate``) in combination with a
194
smart server URL. (Andrew Bennetts, #237067)
196
* ``FTPTransport.stat()`` would return ``0000`` as the permission bits
197
for the containing ``.bzr/`` directory (it does not implement
198
permissions). This would cause us to set all subdirectories to
199
``0700`` and files to ``0600`` rather than leaving them unmodified.
200
Now we ignore ``0000`` as the permissions and assume they are
201
invalid. (John Arbash Meinel, #259855)
203
* Merging from a previously joined branch will no longer cause
204
a traceback. (Jelmer Vernooij, #203376)
206
* Pack operations on windows network shares will work even with large
207
files. (Robert Collins, #255656)
209
* Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
210
status. Status is also about 7% faster on mozilla sized trees
211
when the path to the root of the tree has been given. Users of
212
the internal ``show_tree_status`` function should be aware that
213
the show_pending flag is now authoritative for showing pending
214
merges, as it was originally. (Robert Collins, #225204)
216
* Set valid default _param_name for Option so that ListOption can embed
217
'-' in names. (Vincent Ladeuil, #263249)
219
* Show proper error rather than traceback when an unknown revision
220
id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
222
* Trailing text in the dirstate file could cause the C dirstate parser
223
to try to allocate an invalid amount of memory. We now properly
224
check and test for parsing a dirstate with invalid trailing data.
225
(John Arbash Meinel, #186014)
227
* Unexpected error responses from a smart server no longer cause the
228
client to traceback. (Andrew Bennetts, #263527)
230
* Use a Windows api function to get a Unicode host name, rather than
231
assuming the host name is ascii.
232
(Mark Hammond, John Arbash Meinel, #256550)
234
* ``WorkingTree4`` trees will now correctly report missing-and-new
235
paths in the output of ``iter_changes``. (Robert Collins)
239
* Updated developer documentation. (Martin Pool)
243
* Exporters now take 4 parameters. (Robert Collins)
245
* ``Tree.iter_changes`` will now return False for the content change
246
field when a file is missing in the basis tree and not present in
247
the target tree. Previously it returned True unconditionally.
250
* The deprecated ``Branch.abspath`` and unimplemented
251
``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
253
* BzrDir.clone_on_transport implementations must now accept a stacked_on
254
parameter. (Aaron Bentley)
256
* BzrDir.cloning_metadir implementations must now take a require_stacking
257
parameter. (Aaron Bentley)
261
* ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
262
which are then passed to the cleanup callable as it is run. In
263
addition, addCleanup no longer requires that the callables passed to
264
it be unique. (Jonathan Lange)
266
* Fix some tests that fail on Windows because files are deleted while
270
* ``selftest``'s ``--starting-with`` option can now use predefined
271
prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
272
``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
274
* ``selftest``'s ``--starting-with`` option now accepts multiple values.
279
* A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
280
This allows dynamic log output filtering by plugins.
283
* ``bzrlib.btree_index`` is now available, providing a b-tree index
284
layer. The design is memory conservative (limited memory cache),
285
faster to seek (approx 100 nodes per page, gives 100-way fan out),
286
and stores compressed pages allowing more keys per page.
287
(Robert Collins, John Arbash Meinel)
289
* ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
290
is unknown in both source and target.
291
(Robert Collins, Aaron Bentley)
293
* ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
294
streamlined a bit. This should make creating large indexes faster.
295
(In benchmarking, it now takes less time to create a BTree index than
296
it takes to read the GraphIndex one.) (John Arbash Meinel)
298
* Mail clients for `bzr send` are now listed in a registry. This
299
allows plugins to add new clients by registering them with
300
``bzrlib.mail_client.mail_client_registry``. All of the built-in
301
clients now use this mechanism. (Neil Martinsen-Burrell)
307
A couple regressions were found in the 1.6 release. There was a
308
performance issue when using ``bzr+ssh`` to branch large repositories,
309
and some problems with stacking and ``rich-root`` capable repositories.
312
bzr 1.6.1rc2 2008-09-03
313
-----------------------
317
* Copying between ``rich-root`` and ``rich-root-pack`` (and vice
318
versa) was accidentally using the inter-model fetcher, instead of
319
recognizing that both were 'rich root' formats.
320
(John Arbash Meinel, #264321)
323
bzr 1.6.1rc1 2008-08-29
324
-----------------------
326
This release fixes a few regressions found in the 1.6 client. Fetching
327
changes was using an O(N^2) buffering algorithm, so for large projects it
328
would cause memory thrashing. There is also a specific problem with the
329
``--1.6-rich-root`` format, which prevented stacking on top of
330
``--rich-root-pack`` repositories, and could allow users to accidentally
331
fetch experimental data (``-subtree``) without representing it properly.
332
The ``--1.6-rich-root`` format has been deprecated and users are
333
recommended to upgrade to ``--1.6.1-rich-root`` immediately. Also we
334
re-introduced a workaround for users who have repositories with incorrect
335
nodes (not possible if you only used official releases).
336
I should also clarify that none of this is data loss level issues, but
337
still sufficient enough to warrant an updated release.
341
* ``RemoteTransport.readv()`` was being inefficient about how it
342
buffered the readv data and processed it. It would keep appending to
343
the same string (causing many copies) and then pop bytes out of the
344
start of the string (causing more copies).
345
With this patch "bzr+ssh://local" can improve dramatically,
346
especially for projects with large files.
349
* Revision texts were always meant to be stored as fulltexts. There
350
was a bug in a bzr.dev version that would accidentally create deltas
351
when copying from a Pack repo to a Knit repo. This has been fixed,
352
but to support those repositories, we know always request full texts
353
for Revision texts. (John Arbash Meinel, #261339)
355
* The previous ``--1.6-rich-root`` format used an incorrect xml
356
serializer, which would accidentally support fetching from a
357
repository that supported subtrees, even though the local one would
358
not. We deprecated that format, and introduced a new one that uses
359
the correct serializer ``--1.6.1-rich-root``.
360
(John Arbash Meinel, #262333)
366
Finally, the long awaited bzr 1.6 has been released. This release includes
367
new features like Stacked Branches, improved weave merge, and an updated
368
server protocol (now on v3) which will allow for better cross version
369
compatibility. With this release we have deprecated Knit format
370
repositories, and recommend that users upgrade them, we will continue to
371
support reading and writing them for the forseeable future, but we will
372
not be tuning them for performance as pack repositories have proven to be
373
better at scaling. This will also be the first release to bundle
374
TortoiseBzr in the standalone Windows installer.
377
bzr 1.6rc5 2008-08-19
378
---------------------
382
* Disable automatic detection of stacking based on a containing
383
directory of the target. It interacted badly with push, and needs a
384
bit more work to get the edges polished before it should happen
385
automatically. (John Arbash Meinel, #259275)
386
(This change was reverted when merged to bzr.dev)
389
bzr 1.6rc4 2008-08-18
390
---------------------
394
* Fix a regression in knit => pack fetching. We had a logic
395
inversion, causing the fetch to insert fulltexts in random order,
396
rather than preserving deltas. (John Arbash Meinel, #256757)
399
bzr 1.6rc3 2008-08-14
400
---------------------
404
* Disable reading ``.bzrrules`` as a per-branch rule preferences
405
file. The feature was not quite ready for a full release.
410
* Update the windows installer to bundle TortoiseBzr and ``qbzr``
411
into the standalone installer. This will be the first official
412
windows release that installs Tortoise by default.
417
* Fix a regression in ``bzr+http`` support. There was a missing
418
function (``_read_line``) that needed to be carried over from
419
``bzr+ssh`` support. (Andrew Bennetts)
421
* ``GraphIndex`` objects will internally read an entire index if more
422
than 1/20th of their keyspace is requested in a single operation.
423
This largely mitigates a performance regression in ``bzr log FILE``
424
and completely corrects the performance regression in ``bzr log``.
425
The regression was caused by removing an accomodation which had been
426
supporting the index format in use. A newer index format is in
427
development which is substantially faster. (Robert Collins)
430
bzr 1.6rc2 2008-08-13
431
---------------------
433
This release candidate has a few minor bug fixes, and some regression
438
* ``bzr upgrade`` on remote branches accessed via bzr:// and
439
bzr+ssh:// now works. (Andrew Bennetts)
441
* Change the ``get_format_description()`` strings for
442
``RepositoryFormatKnitPack5`` et al to be single line messages.
445
* Fix for a regression on Win32 where we would try to call
446
``os.listdir()`` on a file and not catch the exception properly.
447
(Windows raises a different exception.) This would manifest in
448
places like ``bzr rm file`` or ``bzr switch``.
449
(Mark Hammond, John Arbash Meinel)
451
* ``Inventory.copy()`` was failing to set the revision property for
452
the root entry. (Jelmer Vernooij)
454
* sftp transport: added missing ``FileExists`` case to
455
``_translate_io_exception`` (Christophe Troestler, #123475)
457
* The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for
458
scripting use. (Robert Collins, #3834)
460
* The default ``annotate`` logic will now always assign the
461
last-modified value of a line to one of the revisions that modified
462
it, rather than a merge revision. This would happen when both sides
463
claimed to have modified the line resulting in the same text. The
464
choice is arbitrary but stable, so merges in different directions
465
will get the same results. (John Arbash Meinel, #232188)
468
bzr 1.6rc1 2008-08-06
469
---------------------
471
This release candidate for bzr 1.6 solidifies the new branch stacking
472
feature. Bazaar now recommends that users upgrade all knit repositories,
473
because later formats are much faster. However, we plan to continue read/write and
474
upgrade support for knit repostories for the forseeable future. Several
475
other bugs and performance issues were fixed.
479
* Knit format repositories are deprecated and bzr will now emit
480
warnings whenever it encounters one. Use ``bzr upgrade`` to upgrade
481
knit repositories to pack format. (Andrew Bennetts)
485
* ``bzr check`` can now be told which elements at a location it should
486
check. (Daniel Watkins)
488
* Commit now supports ``--exclude`` (or ``-x``) to exclude some files
489
from the commit. (Robert Collins, #3117)
491
* Fetching data between repositories that have the same model but no
492
optimised fetcher will not reserialise all the revisions, increasing
493
performance. (Robert Collins, John Arbash Meinel)
495
* Give a more specific error when target branch is not reachable.
498
* Implemented a custom ``walkdirs_utf8`` implementation for win32.
499
This uses a pyrex extension to get direct access to the
500
``FindFirstFileW`` style apis, rather than using ``listdir`` +
501
``lstat``. Shows a very strong improvement in commands like
502
``status`` and ``diff`` which have to iterate the working tree.
503
Anywhere from 2x-6x faster depending on the size of the tree (bigger
504
trees, bigger benefit.) (John Arbash Meinel)
506
* New registry for log properties handles and the method in
507
LongLogFormatter to display the custom properties returned by the
508
registered handlers. (Guillermo Gonzalez, #162469)
512
* Add more tests that stacking does not create deltas spanning
513
physical repository boundaries.
514
(Martin Pool, #252428)
516
* Better message about incompatible repositories.
517
(Martin Pool, #206258)
519
* ``bzr branch --stacked`` ensures the destination branch format can
520
support stacking, even if the origin does not.
523
* ``bzr export`` no longer exports ``.bzrrules``.
526
* ``bzr serve --directory=/`` now correctly allows the whole
527
filesystem to be accessed on Windows, not just the root of the drive
528
that Python is running from.
529
(Adrian Wilkins, #240910)
531
* Deleting directories by hand before running ``bzr rm`` will not
532
cause subsequent errors in ``bzr st`` and ``bzr commit``.
533
(Robert Collins, #150438)
535
* Fix a test case that was failing if encoding wasn't UTF-8.
536
(John Arbash Meinel, #247585)
538
* Fix "no buffer space available" error when branching with the new
539
smart server protocol to or from Windows.
540
(Andrew Bennetts, #246180)
542
* Fixed problem in branching from smart server.
543
(#249256, Michael Hudson, Martin Pool)
545
* Handle a file turning in to a directory in TreeTransform.
546
(James Westby, #248448)
550
* ``MutableTree.commit`` has an extra optional keywork parameter
551
``exclude`` that will be unconditionally supplied by the command
552
line UI - plugins that add tree formats may need an update.
555
* The API minimum version for plugin compatibility has been raised to
556
1.6 - there are significant changes throughout the code base.
559
* The generic fetch code now uses three attributes on Repository objects
560
to control fetch. The streams requested are controlled via :
561
``_fetch_order`` and ``_fetch_uses_deltas``. Setting these
562
appropriately allows different repository implementations to recieve
563
data in their optimial form. If the ``_fetch_reconcile`` is set then
564
a reconcile operation is triggered at the end of the fetch.
567
* The ``put_on_disk`` and ``get_tar_item`` methods in
568
``InventoryEntry`` were deprecated. (Ian Clatworthy)
570
* ``Repository.is_shared`` doesn't take a read lock. It didn't
571
need one in the first place (nobody cached the value, and
572
``RemoteRepository`` wasn't taking one either). This saves a round
573
trip when probing Pack repositories, as they read the ``pack-names``
574
file when locked. And during probe, locking the repo isn't very
575
useful. (John Arbash Meinel)
579
* ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of
580
putting together a real history without having to create a full
581
WorkingTree. It is recommended that tests that are not directly
582
testing the WorkingTree use BranchBuilder instead. See
583
``BranchBuilder.build_snapshot`` or
584
``TestCaseWithMemoryTree.make_branch_builder``. (John Arbash Meinel)
586
* ``bzrlib.builtins.internal_tree_files`` broken into two giving a new
587
helper ``safe_relpath_files`` - used by the new ``exclude``
588
parameter to commit. (Robert Collins)
590
* Make it easier to introduce new WorkingTree formats.
593
* The code for exporting trees was refactored not to use the
594
deprecated ``InventoryEntry`` methods. (Ian Clatworthy)
596
* RuleSearchers return () instead of [] now when there are no matches.
600
bzr 1.6beta3 2008-07-17
601
-----------------------
603
This release adds a new 'stacked branches' feature allowing branches to
604
share storage without being in the same repository or on the same machine.
605
(See the user guide for more details.) It also adds a new hook, improved
606
weaves, aliases for related locations, faster bzr+ssh push, and several
611
* New ``pre_change_branch_tip`` hook that is called before the
612
branch tip is moved, while the branch is write-locked. See the User
613
Reference for signature details. (Andrew Bennetts)
615
* Rule-based preferences can now be defined for selected files in
616
selected branches, allowing commands and plugins to provide
617
custom behaviour for files matching defined patterns.
618
See ``Rule-based preferences`` (part of ``Configuring Bazaar``)
619
in the User Guide and ``bzr help rules`` for more information.
622
* Sites may suggest a branch to stack new branches on. (Aaron Bentley)
624
* Stacked branches are now supported. See ``bzr help branch`` and
625
``bzr help push``. Branches must be in the ``development1`` format
626
to stack, though the stacked-on branch can be of any format.
631
* ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball
632
to stdout; also ``tar`` and ``tbz2``.
635
* ``bzr (re)merge --weave`` will now use a standard Weave algorithm,
636
rather than the annotation-based merge it was using. It does so by
637
building up a Weave of the important texts, without needing to build
638
the full ancestry. (John Arbash Meinel, #238895)
640
* ``bzr send`` documents and better supports ``emacsclient`` (proper
641
escaping of mail headers and handling of the MUA Mew).
642
(Christophe Troestler)
644
* Remembered locations can be specified by aliases, e.g. :parent, :public,
645
:submit. (Aaron Bentley)
647
* The smart protocol now has improved support for setting branches'
648
revision info directly. This makes operations like push
649
faster. The new request method name is
650
``Branch.set_last_revision_ex``. (Andrew Bennetts)
654
* Bazaar is now able to be a client to the web server of IIS 6 and 7.
655
The broken implementations of RFC822 in Python and RFC2046 in IIS
656
combined with boundary-line checking in Bazaar previously made this
657
impossible. (NB, IIS 5 does not suffer from this problem).
658
(Adrian Wilkins, #247585)
660
* ``bzr log --long`` with a ghost in your mainline now handles that
661
ghost properly. (John Arbash Meinel, #243536)
663
* ``check`` handles the split-up .bzr layout correctly, so no longer
664
requires a branch to be present.
665
(Daniel Watkins, #64783)
667
* Clearer message about how to set the PYTHONPATH if bzrlib can't be
669
(Martin Pool, #205230)
671
* Errors about missing libraries are now shown without a traceback,
672
and with a suggestion to install the library. The full traceback is
673
still in ``.bzr.log`` and can be shown with ``-Derror``.
674
(Martin Pool, #240161)
676
* Fetch from a stacked branch copies all required data.
677
(Aaron Bentley, #248506)
679
* Handle urls such as ftp://user@host.com@www.host.com where the user
681
(Neil Martinsen-Burrell, #228058)
683
* ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during
684
``unlock`` if there was an error in the original function. This helps
685
most when there is a failure with a smart server action, since often the
686
connection closes and we cannot unlock.
687
(Andrew Bennetts, John Arbash Meinel, #125784)
689
* Obsolete hidden command ``bzr fetch`` removed.
690
(Martin Pool, #172870)
692
* Raise the correct exception when doing ``-rbefore:0`` or ``-c0``.
693
(John Arbash Meinel, #239933)
695
* You can now compare file revisions in Windows diff programs from
697
(Matt McClure, #209281)
699
* revision_history now tolerates mainline ghosts for Branch format 6.
700
(Aaron Bentley, #235055)
702
* Set locale from environment for third party libs.
703
(Martin von Gagern, #128496)
707
* Added *Using stacked branches* to the User Guide.
710
* Updated developer documentation.
715
* ``-Dmemory`` will cause /proc/PID/status to be catted before bzr
716
exits, allowing low-key analysis of peak memory use. (Robert Collins)
718
* ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return
719
a tree with a ``branch`` attribute of the right format. This was
720
preventing some ``RemoteBranch`` tests from actually running with
721
``RemoteBranch`` instances. (Andrew Bennetts)
725
* Removed ``Repository.text_store``, ``control_store``, etc. Instead,
726
there are new attributes ``texts, inventories, revisions,
727
signatures``, each of which is a ``VersionedFiles``. See the
728
Repository docstring for more details.
731
* ``Branch.pull`` now accepts an ``_override_hook_target`` optional
732
parameter. If you have a subclass of ``Branch`` that overrides
733
``pull`` then you should add this parameter. (Andrew Bennetts)
735
* ``bzrlib.check.check()`` has been deprecated in favour of the more
736
aptly-named ``bzrlib.check.check_branch()``.
739
* ``Tree.print_file`` and ``Repository.print_file`` are deprecated.
740
These methods are bad APIs because they write directly to sys.stdout.
741
bzrlib does not use them internally, and there are no direct tests
742
for them. (Alexander Belchenko)
746
* ``cat`` command no longer uses ``Tree.print_file()`` internally.
747
(Alexander Belchenko)
749
* New class method ``BzrDir.open_containing_tree_branch_or_repository``
750
which eases the discovery of the tree, the branch and the repository
751
containing a given location.
754
* New ``versionedfile.KeyMapper`` interface to abstract out the access to
755
underlying .knit/.kndx etc files in repositories with partitioned
756
storage. (Robert Collins)
758
* Obsolete developer-use command ``weave-join`` has been removed.
761
* ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed,
762
to support new ``VersionedFiles`` layering.
766
bzr 1.6beta2 2008-06-10
767
-----------------------
769
This release contains further progress towards our 1.6 goals of shallow
770
repositories, and contains a fix for some user-affecting bugs in the
771
repository layer. Building working trees during checkout and branch is
776
* Avoid KnitCorrupt error extracting inventories from some repositories.
777
(The data is not corrupt; an internal check is detecting a problem
778
reading from the repository.)
779
(Martin Pool, Andrew Bennetts, Robert Collins, #234748)
781
* ``bzr status`` was breaking if you merged the same revision twice.
782
(John Arbash Meinel, #235407)
784
* Fix infinite loop consuming 100% CPU when a connection is lost while
785
reading a response body via the smart protocol v1 or v2.
788
* Inserting a bundle which changes the contents of a file with no trailing
789
end of line, causing a knit snapshot in a 'knits' repository will no longer
790
cause KnitCorrupt. (Robert Collins)
792
* ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s
793
pull result. It was instead just returning None, which breaks ``bzr
794
pull``. (John Arbash Meinel, #238149)
796
* Sanitize branch nick before using it as an attachment filename in
797
``bzr send``. (Lukáš Lalinský, #210218)
799
* Squash ``inv_entry.symlink_target`` to a plain string when
800
generating DirState details. This prevents from getting a
801
``UnicodeError`` when you have symlinks and non-ascii filenames.
802
(John Arbash Meinel, #135320)
806
* Added the 'alias' command to set/unset and display aliases. (Tim Penhey)
808
* ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three
809
now quote paths where required). Added ``--null`` option to ``added`` and
810
``modified`` (for null-separated unknowns, use ``ls --unknown --null``)
813
* Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees.
814
(Ian Clatworthy, Aaron Bentley)
818
* Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy)
822
* Fix the test HTTPServer to be isolated from chdir calls made while it is
823
running, allowing it to be used in blackbox tests. (Robert Collins)
827
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
828
which are in the ancestry of other revisions. So if you merge the same
829
tree twice, or merge an ancestor of an existing merge, it will only
830
record the newest. (If you merge a descendent, it will replace its
831
ancestor). (John Arbash Meinel, #235407)
833
* ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd,
834
through the derived classes do not. (Aaron Bentley)
838
* ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control
839
creating stacked branches. (Robert Collins)
841
* Knit record serialisation is now stricter on what it will accept, to
842
guard against potential internal bugs, or broken input. (Robert Collins)
845
bzr 1.6beta1 2008-06-02
846
-----------------------
849
Commands that work on the revision history such as push, pull, missing,
850
uncommit and log are now substantially faster. This release adds a
851
translation of some of the user documentation into Spanish. (Contributions of
852
other translations would be very welcome.) Bazaar 1.6beta1 adds a new network
853
protocol which is used by default and which allows for more efficient transfers
854
and future extensions.
857
NOTES WHEN UPGRADING:
859
* There is a new version of the network protocol used for bzr://, bzr+ssh://
860
and bzr+http:// connections. This will allow more efficient requests and
861
responses, and more graceful fallback when a server is too old to
862
recognise a request from a more recent client. Bazaar 1.6 will
863
interoperate with 0.16 and later versions, but servers should be upgraded
864
when possible. Bazaar 1.6 no longer interoperates with 0.15 and earlier via
865
these protocols. Use alternatives like SFTP or upgrade those servers.
866
(Andrew Bennetts, #83935)
870
* Deprecation warnings will not be suppressed when running ``bzr selftest``
871
so that developers can see if their code is using deprecated functions.
876
* Adding ``-Derror`` will now display a traceback when a plugin fails to
881
* ``bzr branch/push/pull -r XXX`` now have a helper function for finding
882
the revno of the new revision (``Graph.find_distance_to_null``). This
883
should make something like ``bzr branch -r -100`` in a shared, no-trees
884
repository much snappier. (John Arbash Meinel)
886
* ``bzr log --short -r X..Y`` no longer needs to access the full revision
887
history. This makes it noticeably faster when logging the last few
888
revisions. (John Arbash Meinel)
890
* ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``.
891
(Jerad Cramp, #165086)
893
* ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
894
``Graph.find_differences`` to determine missing revisions without having
895
to search the whole ancestry. (John Arbash Meinel, #174625)
897
* ``bzr uncommit`` now uses partial history access, rather than always
898
extracting the full revision history for a branch. This makes it
899
resolve the appropriate revisions much faster (in testing it drops
900
uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one
901
step closer to not using full revision history.
902
(John Arbash Meinel, #172649)
906
* ``bzr merge --lca`` should handle when two revisions have no common
907
ancestor other than NULL_REVISION. (John Arbash Meinel, #235715)
909
* ``bzr status`` was breaking if you merged the same revision twice.
910
(John Arbash Meinel, #235407)
912
* ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
913
fails. (Andrew Bennetts, #234229)
915
* Correctly track the base URL of a smart medium when using bzr+http://
916
URLs, which was causing spurious "No repository present" errors with
917
branches in shared repositories accessed over bzr+http.
918
(Andrew Bennetts, #230550)
920
* Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
921
implementations have the attribute. Fixes 'PyCurlTransport' object has no
922
attribute '_remote_is_at_least_1_2' attribute errors.
923
(Andrew Bennetts, #220806)
925
* Failure to delete an obsolete pack file should just give a warning
926
message, not a fatal error. It may for example fail if the file is still
927
in use by another process.
930
* Fix MemoryError during large fetches over HTTP by limiting the amount of
931
data we try to read per ``recv`` call. The problem was observed with
932
Windows and a proxy, but might affect other environments as well.
933
(Eric Holmberg, #215426)
935
* Handle old merge directives correctly in Merger.from_mergeable. Stricter
936
get_parent_map requirements exposed a latent bug here. (Aaron Bentley)
938
* Issue a warning and ignore passwords declared in authentication.conf when
939
used for an ssh scheme (sftp or bzr+ssh).
940
(Vincent Ladeuil, #203186)
942
* Make both http implementations raise appropriate exceptions on 403
943
Forbidden when POSTing smart requests.
944
(Vincent Ladeuil, #230223)
946
* Properly *title* header names in http requests instead of capitalizing
948
(Vincent Ladeuil, #229076)
950
* The "Unable to obtain lock" error message now also suggests using
951
``bzr break-lock`` to fix it. (Martin Albisetti, #139202)
953
* Treat an encoding of '' as ascii; this can happen when bzr is run
954
under vim on Mac OS X.
955
(Neil Martinsen-Burrell)
957
* ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in
958
scope. (Daniel Fischer #235687)
962
* Added directory structure and started translation of docs in spanish.
963
(Martin Albisetti, Lucio Albenga)
965
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
966
on the plugin and integration chapters of the User Guide.
969
* More Bazaar developer documentation about packaging and release process,
970
and about use of Python reprs.
971
(Martin Pool, Martin Albisetti)
973
* Updated Tortise strategy document. (Mark Hammond)
977
* ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed.
980
* Fix the test HTTPServer to be isolated from chdir calls made while it is
981
running, allowing it to be used in blackbox tests. (Robert Collins)
983
* New helper function for splitting test suites
984
``split_suite_by_condition``. (Robert Collins)
988
* ``Branch.missing_revisions`` has been deprecated. Similar functionality
989
can be obtained using ``bzrlib.missing.find_unmerged``. The api was
990
fairly broken, and the function was unused, so we are getting rid of it.
995
* ``Branch.abspath`` is deprecated; use the Tree or Transport
996
instead. (Martin Pool)
998
* ``Branch.update_revisions`` now takes an optional ``Graph``
999
object. This can be used by ``update_revisions`` when it is
1000
checking ancestry, and allows callers to prefer request to go to a
1001
local branch. (John Arbash Meinel)
1003
* Branch, Repository, Tree and BzrDir should expose a Transport as an
1004
attribute if they have one, rather than having it indirectly accessible
1005
as ``.control_files._transport``. This doesn't add a requirement
1006
to support a Transport in cases where it was not needed before;
1007
it just simplifies the way it is reached. (Martin Pool)
1009
* ``bzr missing --mine-only`` will return status code 0 if you have no
1010
new revisions, but the remote does. Similarly for ``--theirs-only``.
1011
The new code only checks one side, so it doesn't know if the other
1012
side has changes. This seems more accurate with the request anyway.
1013
It also changes the output to print '[This|Other] branch is up to
1014
date.' rather than displaying nothing. (John Arbash Meinel)
1016
* ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
1017
are now deprecated in favor of using Transport operations.
1020
* Many methods on ``VersionedFile``, ``Repository`` and in
1021
``bzrlib.revision`` deprecated before bzrlib 1.5 have been removed.
1024
* ``RevisionSpec.wants_revision_history`` can be set to False for a given
1025
``RevisionSpec``. This will disable the existing behavior of passing in
1026
the full revision history to ``self._match_on``. Useful for specs that
1027
don't actually need access to the full history. (John Arbash Meinel)
1029
* The constructors of ``SmartClientMedium`` and its subclasses now require a
1030
``base`` parameter. ``SmartClientMedium`` implementations now also need
1031
to provide a ``remote_path_from_transport`` method. (Andrew Bennetts)
1033
* The default permissions for creating new files and directories
1034
should now be obtained from ``BzrDir._get_file_mode()`` and
1035
``_get_dir_mode()``, rather than from LockableFiles. The ``_set_file_mode``
1036
and ``_set_dir_mode`` variables on LockableFiles which were advertised
1037
as a way for plugins to control this are no longer consulted.
1040
* ``VersionedFile.join`` is deprecated. This method required local
1041
instances of both versioned file objects and was thus hostile to being
1042
used for streaming from a smart server. The new get_record_stream and
1043
insert_record_stream are meant to efficiently replace this method.
1046
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
1047
which are in the ancestry of other revisions. So if you merge the same
1048
tree twice, or merge an ancestor of an existing merge, it will only
1049
record the newest. (If you merge a descendent, it will replace its
1050
ancestor). (John Arbash Meinel, #235407)
1052
* ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
1059
This release of Bazaar includes several updates to the documentation, and fixes
1060
to prepare for making rich root support the default format. Many bugs have been
1061
squashed, including fixes to log, bzr+ssh inter-operation with older servers.
1065
* Suppress deprecation warnings when bzrlib is a 'final' release. This way
1066
users of packaged software won't be bothered with DeprecationWarnings,
1067
but developers and testers will still see them. (John Arbash Meinel)
1071
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
1072
on the plugin and integration chapters of the User Guide.
1076
bzr 1.5rc1 2008-05-09
1077
---------------------
1079
NOTES WHEN UPGRADING:
1083
* Broader support of GNU Emacs mail clients. Set
1084
``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
1085
bundle in a mail buffer according to the value of ``mail-user-agent``
1086
variable. (Xavier Maillard)
1092
* Diff now handles revision specs like "branch:" and "submit:" more
1093
efficiently. (Aaron Bentley, #202928)
1095
* More friendly error given when attempt to start the smart server
1096
on an address already in use. (Andrea Corbellini, #200575)
1098
* Pull completes much faster when there is nothing to pull.
1103
* Authentication.conf can define sections without password.
1104
(Vincent Ladeuil, #199440)
1106
* Avoid muttering every time a child update does not cause a progress bar
1107
update. (John Arbash Meinel, #213771)
1109
* ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
1110
to fix when a Branch has a non-canonical mainline history. ``bzr check``
1111
also detects this condition. (John Arbash Meinel, #177855)
1113
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
1114
for ``revision_id=None`` which was not a string.
1115
(John Arbash Meinel, #211661)
1117
* ``bzr commit`` now works with Microsoft's FTP service.
1120
* Catch definitions outside sections in authentication.conf.
1121
(Vincent Ladeuil, #217650)
1123
* Conversion from non-rich-root to rich-root(-pack) updates inventory
1124
sha1s, even when bundles are used. (Aaron Bentley, #181391)
1126
* Conversion from non-rich-root to rich-root(-pack) works correctly even
1127
though search keys are not topologically sorted. (Aaron Bentley)
1129
* Conversion from non-rich-root to rich-root(-pack) works even when a
1130
parent revision has a different root id. (Aaron Bentley, #177874)
1132
* Disable strace testing until strace is fixed (see bug #103133) and emit a
1133
warning when selftest ends to remind us of leaking tests.
1134
(Vincent Ladeuil, #226769)
1136
* Fetching all revisions from a repository does not cause pack collisions.
1137
(Robert Collins, Aaron Bentley, #212908)
1139
* Fix error about "attempt to add line-delta in non-delta knit".
1140
(Andrew Bennetts, #217701)
1142
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
1143
if the remote server was < version 1.2. This was due to a bug in the
1144
RemoteRepository.get_parent_map() fallback code.
1145
(John Arbash Meinel, #214894)
1147
* Remove leftover code in ``bzr_branch`` that inappropriately creates
1148
a ``branch-name`` file in the branch control directory.
1151
* Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
1152
rebinding the socket when starting the server a second time.
1153
(John Arbash Meinel, Martin Pool, #164288)
1155
* Severe performance degradation in fetching from knit repositories to
1156
knits and packs due to parsing the entire revisions.kndx on every graph
1157
walk iteration fixed by using the Repository.get_graph API. There was
1158
another regression in knit => knit fetching which re-read the index for
1159
every revision each side had in common.
1160
(Robert Collins, John Arbash Meinel)
1162
* When logging the changes to a particular file, there was a bug if there
1163
were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
1165
* xs4all's ftp server returns a temporary error when trying to list an
1166
empty directory, rather than returning an empty list. Adding a
1167
workaround so that we don't get spurious failures.
1168
(John Arbash Meinel, #215522)
1172
* Expanded the User Guide to include new chapters on popular plugins and
1173
integrating Bazaar into your environment. The *Best practices* chapter
1174
was renamed to *Miscellaneous topics* as suggested by community
1175
feedback as well. (Ian Clatworthy)
1177
* Document outlining strategies for TortoiseBzr. (Mark Hammond)
1179
* Improved the documentation on hooks. (Ian Clatworthy)
1181
* Update authentication docs regarding ssh agents.
1182
(Vincent Ladeuil, #183705)
1186
* Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
1187
make it easy to identify which test spawned a thread with an unhandled
1188
exception. (Andrew Bennetts)
1190
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
1191
options for debugging tests, these are complementary to the the -D
1192
options. The ``-Dselftest_debug`` global option has been replaced by the
1193
``-E=allow_debug`` option for selftest. (Andrew Bennetts)
1195
* Parameterised test ids are preserved correctly to aid diagnosis of test
1196
failures. (Robert Collins, Andrew Bennetts)
1198
* selftest now accepts --starting-with <id> to load only the tests whose id
1199
starts with the one specified. This greatly speeds up running the test
1200
suite on a limited set of tests and can be used to run the tests for a
1201
single module, a single class or even a single test. (Vincent Ladeuil)
1203
* The test suite modules have been modified to define load_tests() instead
1204
of test_suite(). That speeds up selective loading (via --load-list)
1205
significantly and provides many examples on how to migrate (grep for
1206
load_tests). (Vincent Ladeuil)
1210
* ``Hooks.install_hook`` is now deprecated in favour of
1211
``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
1212
avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
1214
* Implement xml8 serializer. (Aaron Bentley)
1216
* New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making
1217
deprecation wrappers. (Martin Pool)
1219
* ``Repository.revision_parents`` is now deprecated in favour of
1220
``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
1222
* The Python ``assert`` statement is no longer used in Bazaar source, and
1223
a test checks this. (Martin Pool)
1227
* ``bzrlib.status.show_pending_merges`` requires the repository to be
1228
locked by the caller. Callers should have been doing it anyway, but it
1229
will now raise an exception if they do not. (John Arbash Meinel)
1231
* Repository.get_data_stream, Repository.get_data_stream_for_search(),
1232
Repository.get_deltas_for_revsions(), Repository.revision_trees(),
1233
Repository.item_keys_introduced_by() no longer take read locks.
1236
* ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
1237
towards removing LockableFiles and ``.control_files`` entirely.
1240
* Methods deprecated prior to 1.1 have been removed.
1247
This release of Bazaar includes handy improvements to the speed of log and
1248
status, new options for several commands, improved documentation, and better
1249
hooks, including initial code for server-side hooks. A number of bugs have
1250
been fixed, particularly in interoperability between different formats or
1251
different releases of Bazaar over there network. There's been substantial
1252
internal work in both the repository and network code to enable new features
1253
and faster performance.
1257
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
1258
if the remote server was < version 1.2. This was due to a bug in the
1259
RemoteRepository.get_parent_map() fallback code.
1260
(John Arbash Meinel, Andrew Bennetts, #214894)
1263
bzr 1.4rc2 2008-04-21
1264
---------------------
1268
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
1269
for ``revision_id=None`` which was not a string.
1270
(John Arbash Meinel, #211661)
1272
* Fixed a bug in handling ghost revisions when logging changes in a
1273
particular file. (John Arbash Meinel, #209948)
1275
* Fix error about "attempt to add line-delta in non-delta knit".
1276
(Andrew Bennetts, #205156)
1278
* Fixed performance degradation in fetching from knit repositories to
1279
knits and packs due to parsing the entire revisions.kndx on every graph
1280
walk iteration fixed by using the Repository.get_graph API. There was
1281
another regression in knit => knit fetching which re-read the index for
1282
every revision each side had in common.
1283
(Robert Collins, John Arbash Meinel)
1286
bzr 1.4rc1 2008-04-11
1287
---------------------
1291
* bzr main script cannot be imported (Benjamin Peterson)
1293
* On Linux bzr additionally looks for plugins in arch-independent site
1294
directory. (Toshio Kuratomi)
1296
* The ``set_rh`` branch hook is now deprecated. Please migrate
1297
any plugins using this hook to use an alternative, e.g.
1298
``post_change_branch_tip``. (Ian Clatworthy)
1300
* When a plugin cannot be loaded as the file path is not a valid
1301
python module name bzr will now strip a ``bzr_`` prefix from the
1302
front of the suggested name, as many plugins (e.g. bzr-svn)
1303
want to be installed without this prefix. It is a common mistake
1304
to have a folder named "bzr-svn" for that plugin, especially
1305
as this is what bzr branch lp:bzr-svn will give you. (James Westby,
1308
* UniqueIntegerBugTracker now appends bug-ids instead of joining
1309
them to the base URL. Plugins that register bug trackers may
1310
need a trailing / added to the base URL if one is not already there.
1311
(James Wesby, Andrew Cowie)
1315
* Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
1317
* ``status`` now accepts ``--no-pending`` to show the status without
1318
listing pending merges, which speeds up the command a lot on large
1319
histories. (James Westby, #202830)
1321
* New ``post_change_branch_tip`` hook that is called after the
1322
branch tip is moved but while the branch is still write-locked.
1323
See the User Reference for signature details.
1324
(Ian Clatworthy, James Henstridge)
1326
* Reconfigure can convert a branch to be standalone or to use a shared
1327
repository. (Aaron Bentley)
1331
* The smart protocol now has support for setting branches' revision info
1332
directly. This should make operations like push slightly faster, and is a
1333
step towards server-side hooks. The new request method name is
1334
``Branch.set_last_revision_info``. (Andrew Bennetts)
1336
* ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
1337
(James Westby, Andrew Cowie)
1339
* ``bzr switch`` will attempt to find branches to switch to relative to the
1340
current branch. E.g. ``bzr switch branchname`` will look for
1341
``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
1344
* Diff is now more specific about execute-bit changes it describes
1347
* Fetching data over HTTP is a bit faster when urllib is used. This is done
1348
by forcing it to recv 64k at a time when reading lines in HTTP headers,
1349
rather than just 1 byte at a time. (Andrew Bennetts)
1351
* Log --short and --line are much faster when -r is not specified.
1354
* Merge is faster. We no longer check a file's existence unnecessarily
1355
when merging the execute bit. (Aaron Bentley)
1357
* ``bzr status`` on an explicit list of files no longer shows pending
1358
merges, making it much faster on large trees. (John Arbash Meinel)
1360
* The launchpad directory service now warns the user if they have not set
1361
their launchpad login and are trying to resolve a URL using it, just
1362
in case they want to do a write operation with it. (James Westby)
1364
* The smart protocol client is slightly faster, because it now only queries
1365
the server for the protocol version once per connection. Also, the HTTP
1366
transport will now automatically probe for and use a smart server if
1367
one is present. You can use the new ``nosmart+`` transport decorator
1368
to get the old behaviour. (Andrew Bennetts)
1370
* The ``version`` command takes a ``--short`` option to print just the
1371
version number, for easier use in scripts. (Martin Pool)
1373
* Various operations with revision specs and commands that calculate
1374
revnos and revision ids are faster. (John A. Meinel, Aaron Bentley)
1378
* Add ``root_client_path`` parameter to SmartWSGIApp and
1379
SmartServerRequest. This makes it possible to publish filesystem
1380
locations that don't exactly match URL paths. SmartServerRequest
1381
subclasses should use the new ``translate_client_path`` and
1382
``transport_from_client_path`` methods when dealing with paths received
1383
from a client to take this into account. (Andrew Bennetts, #124089)
1385
* ``bzr mv a b`` can be now used also to rename previously renamed
1386
directories, not only files. (Lukáš Lalinský, #107967)
1388
* ``bzr uncommit --local`` can now remove revisions from the local
1389
branch to be symmetric with ``bzr commit --local``.
1390
(John Arbash Meinel, #93412)
1392
* Don't ask for a password if there is no real terminal.
1393
(Alexander Belchenko, #69851)
1395
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
1396
fetching revisions from a knit to pack repository or vice versa using
1397
bzr:// (including over http or ssh).
1398
(#208418, Andrew Bennetts, Martin Pool, Robert Collins)
1400
* Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy. Also
1401
fixed ``_get_bytes`` in the same module to use the push back buffer.
1402
These bugs had no known impact in normal use, but were problematic for
1403
developers working on the code, and were likely to cause real bugs sooner
1404
or later. (Andrew Bennetts)
1406
* Implement handling of basename parameter for DefaultMail. (James Westby)
1408
* Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
1409
(Andrew Bennetts, #213425)
1411
* Launchpad locations (lp: URLs) can be pulled. (Aaron Bentley, #181945)
1413
* Merges that add files to deleted root directories complete. They
1414
do create conflicts. (Aaron Bentley, #210092)
1416
* vsftp's return ``550 RNFR command failed.`` supported.
1417
(Marcus Trautwig, #129786)
1421
* Improved documentation on send/merge relationship. (Peter Schuller)
1423
* Minor fixes to the User Guide. (Matthew Fuller)
1425
* Reduced the evangelism in the User Guide. (Ian Clatworthy)
1427
* Added Integrating with Bazaar document for developers (Martin Albisetti)
1431
* Attempting to pull data from a ghost aware repository (e.g. knits) into a
1432
non-ghost aware repository such as weaves will now fail if there are
1433
ghosts. (Robert Collins)
1435
* ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
1436
now requires the ``index`` and ``access_method`` parameters to be
1437
supplied. A compatible shim has been kept in the new function
1438
``knit.make_file_knit``. (Robert Collins)
1440
* Log formatters must now provide log_revision instead of show and
1441
show_merge_revno methods. The latter had been deprecated since the 0.17
1442
release. (James Westby)
1444
* ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
1447
* ``osutils.backup_file`` is removed. (Alexander Belchenko)
1449
* ``Repository.get_revision_graph`` is deprecated, with no replacement
1450
method. The method was size(history) and not desirable. (Robert Collins)
1452
* ``revision.revision_graph`` is deprecated, with no replacement function.
1453
The function was size(history) and not desirable. (Robert Collins)
1455
* ``Transport.get_shared_medium`` is deprecated. Use
1456
``Transport.get_smart_medium`` instead. (Andrew Bennetts)
1458
* ``VersionedFile`` factories now accept a get_scope parameter rather
1459
than using a call to ``transaction_finished``, allowing the removal of
1460
the fixed list of versioned files per repository. (Robert Collins)
1462
* ``VersionedFile.annotate_iter`` is deprecated. While in principle this
1463
allowed lower memory use, all users of annotations wanted full file
1464
annotations, and there is no storage format suitable for incremental
1465
line-by-line annotation. (Robert Collins)
1467
* ``VersionedFile.clone_text`` is deprecated. This performance optimisation
1468
is no longer used - reading the content of a file that is undergoing a
1469
file level merge to identical state on two branches is rare enough, and
1470
not expensive enough to special case. (Robert Collins)
1472
* ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
1473
These methods added significant complexity to the ``VersionedFile``
1474
implementation, but were only used for optimising fetches from knits -
1475
which can be done from outside the knit layer, or via a caching
1476
decorator. As knits are not the default format, the complexity is no
1477
longer worth paying. (Robert Collins)
1479
* ``VersionedFile.create_empty`` is removed. This method presupposed a
1480
sensible mapping to a transport for individual files, but pack backed
1481
versioned files have no such mapping. (Robert Collins)
1483
* ``VersionedFile.get_graph`` is deprecated, with no replacement method.
1484
The method was size(history) and not desirable. (Robert Collins)
1486
* ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
1487
replacement method. The method was size(history) and not desirable.
1490
* ``VersionedFile.get_parents`` is deprecated, please use
1491
``VersionedFile.get_parent_map``. (Robert Collins)
1493
* ``VersionedFile.get_sha1`` is deprecated, please use
1494
``VersionedFile.get_sha1s``. (Robert Collins)
1496
* ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
1497
and unused outside of a single test. (Robert Collins)
1499
* ``VersionedFile.iter_parents`` is now deprecated in favour of
1500
``get_parent_map`` which can be used to instantiate a Graph on a
1501
VersionedFile. (Robert Collins)
1503
* ``VersionedFileStore`` no longer uses the transaction parameter given
1504
to most methods; amongst other things this means that the
1505
get_weave_or_empty method no longer guarantees errors on a missing weave
1506
in a readonly transaction, and no longer caches versioned file instances
1507
which reduces memory pressure (but requires more careful management by
1508
callers to preserve performance). (Robert Collins)
1512
* New -Dselftest_debug flag disables clearing of the debug flags during
1513
tests. This is useful if you want to use e.g. -Dhpss to help debug a
1514
failing test. Be aware that using this feature is likely to cause
1515
spurious test failures if used with the full suite. (Andrew Bennetts)
1517
* selftest --load-list now uses a new more agressive test loader that will
1518
avoid loading unneeded modules and building their tests. Plugins can use
1519
this new loader by defining a load_tests function instead of a test_suite
1520
function. (a forthcoming patch will provide many examples on how to
1524
* selftest --load-list now does some sanity checks regarding duplicate test
1525
IDs and tests present in the list but not found in the actual test suite.
1528
* Slightly more concise format for the selftest progress bar, so there's
1529
more space to show the test name. (Martin Pool) ::
1531
[2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
1533
* The test suite takes much less memory to run, and is a bit faster. This
1534
is done by clearing most attributes of TestCases after running them, if
1535
they succeeded. (Andrew Bennetts)
1539
* Added ``_build_client_protocol`` to ``_SmartClient``. (Andrew Bennetts)
1541
* Added basic infrastructure for automatic plugin suggestion.
1544
* If a ``LockableFiles`` object is not explicitly unlocked (for example
1545
because of a missing ``try/finally`` block, it will give a warning but
1546
not automatically unlock itself. (Previously they did.) This
1547
sometimes caused knock-on errors if for example the network connection
1548
had already failed, and should not be relied upon by code.
1549
(Martin Pool, #109520)
1551
* ``make dist`` target to build a release tarball, and also
1552
``check-dist-tarball`` and ``dist-upload-escudero``. (Martin Pool)
1554
* The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
1555
classes will now raise ``UnknownSmartMethod`` when appropriate, so that
1556
callers don't need to try distinguish unknown request errors from other
1557
errors. (Andrew Bennetts)
1559
* ``set_make_working_trees`` is now implemented provided on all repository
1560
implementations (Aaron Bentley)
1562
* ``VersionedFile`` now has a new method ``get_parent_map`` which, like
1563
``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
1566
bzr 1.3.1 2008-04-09
1567
--------------------
1569
No changes from 1.3.1rc1.
1572
bzr 1.3rc1 2008-04-04
1573
---------------------
1577
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
1578
fetching revisions from a knit to pack repository or vice versa using
1579
bzr:// (including over http or ssh).
1580
(#208418, Andrew Bennetts, Martin Pool, Robert Collins)
1586
Bazaar has become part of the GNU project <http://www.gnu.org>
1588
Many operations that act on history, including ``log`` and ``annotate`` are now
1589
substantially faster. Several bugs have been fixed and several new options and
1590
features have been added.
1594
* Avoid spurious failure of ``TestVersion.test_version`` matching
1596
(#202778, Martin Pool)
1599
bzr 1.3rc1 2008-03-16
1600
---------------------
1602
NOTES WHEN UPGRADING:
1604
* The backup directory created by ``upgrade`` is now called
1605
``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
1609
* A new repository format 'development' has been added. This format will
1610
represent the latest 'in-progress' format that the bzr developers are
1611
interested in getting early-adopter testing and feedback on.
1612
``doc/developers/development-repo.txt`` has detailed information.
1615
* BZR_LOG environment variable controls location of .bzr.log trace file.
1616
User can suppress writing messages to .bzr.log by using '/dev/null'
1617
filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
1618
is not defined but BZR_HOME is defined then default location
1619
for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
1620
(Alexander Belchenko)
1622
* ``launchpad`` builtin plugin now shipped as separate part in standalone
1623
bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
1624
and standalone installer allows user to skip installation of this plugin.
1625
(Alexander Belchenko)
1627
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
1629
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
1630
missing final fields. (Martin Pool)
1634
* ``branch`` and ``checkout`` can hard-link working tree files, which is
1635
faster and saves space. (Aaron Bentley)
1637
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
1638
the submit branch to determine the email address to send to.
1643
* BzrBranch._lefthand_history is faster on pack repos. (Aaron Bentley)
1645
* Branch6.generate_revision_history is faster. (Aaron Bentley)
1647
* Directory services can now be registered, allowing special URLs to be
1648
dereferenced into real URLs. This is a generalization and cleanup of
1649
the lp: transport lookup. (Aaron Bentley)
1651
* Merge directives that are automatically attached to emails have nicer
1652
filenames, based on branch-nick + revno. (Aaron Bentley)
1654
* ``push`` has a ``--revision`` option, to specify what revision to push up
1655
to. (Daniel Watkins)
1657
* Significantly reducing execution time and network traffic for trivial
1658
case of running ``bzr missing`` command for two identical branches.
1659
(Alexander Belchenko)
1661
* Speed up operations that look at the revision graph (such as 'bzr log').
1662
``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
1663
extract the revision history. This allows filtering ghosts while
1664
stepping instead of needing to peek ahead. (John Arbash Meinel)
1666
* The ``hooks`` command lists installed hooks, to assist in debugging.
1669
* Updates to how ``annotate`` work. Should see a measurable improvement in
1670
performance and memory consumption for file with a lot of merges.
1671
Also, correctly handle when a line is introduced by both parents (it
1672
should be attributed to the first merge which notices this, and not
1673
to all subsequent merges.) (John Arbash Meinel)
1677
* Autopacking no longer holds the full set of inventory lines in
1678
memory while copying. For large repositories, this can amount to
1679
hundreds of MB of ram consumption.
1680
(Ian Clatworthy, John Arbash Meinel)
1682
* Cherrypicking when using ``--format=merge3`` now explictly excludes
1683
BASE lines. (John Arbash Meinel, #151731)
1685
* Disable plink's interactive prompt for password.
1686
(#107593, Dmitry Vasiliev)
1688
* Encode command line arguments from unicode to user_encoding before
1689
invoking external mail client in `bzr send` command.
1690
(#139318, Alexander Belchenko)
1692
* Fixed problem connecting to ``bzr+https://`` servers.
1693
(#198793, John Ferlito)
1695
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
1698
* Include quick-start-summary.svg file to python-based installer(s)
1699
for Windows. (#192924, Alexander Belchenko)
1701
* lca merge now respects specified files. (Aaron Bentley)
1703
* Make version-info --custom imply --all. (#195560, James Westby)
1705
* ``merge --preview`` now works for merges that add or modify
1706
symlinks (James Henstridge)
1708
* Redirecting the output from ``bzr merge`` (when the remembered
1709
location is used) now works. (John Arbash Meinel)
1711
* setup.py script explicitly checks for Python version.
1712
(Jari Aalto, Alexander Belchenko, #200569)
1714
* UnknownFormatErrors no longer refer to branches regardless of kind of
1715
unknown format. (Daniel Watkins, #173980)
1717
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
1718
signs, among other small improvements. (Matt Nordhoff, #86838)
1720
* Use correct indices when emitting LCA conflicts. This fixes IndexError
1721
errors. (Aaron Bentley, #196780)
1725
* Explained how to use ``version-info --custom`` in the User Guide.
1726
(Neil Martinsen-Burrell)
1730
* Support for loading plugins from zip files and
1731
``bzrlib.plugin.load_from_zip()`` function are deprecated.
1732
(Alexander Belchenko)
1736
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
1738
* The branch interface tests were invalid for branches using rich-root
1739
repositories because the empty string is not a valid file-id.
1744
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
1745
``Repository.get_revision_graph()`` except it includes ghosts and you can
1746
stop part-way through. (John Arbash Meinel)
1748
* New module ``tools/package_mf.py`` provide custom module finder for
1749
python packages (improves standard python library's modulefinder.py)
1750
used by ``setup.py`` script while building standalone bzr.exe.
1751
(Alexander Belchenko)
1753
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
1754
detecting external lookup support on remote repositories. This method is
1755
now attempted first when lookup up repositories, leading to an extra
1756
round trip on older bzr smart servers. (Robert Collins)
1758
* Repository formats have a new supported-feature attribute
1759
``supports_external_lookups`` used to indicate repositories which support
1760
falling back to other repositories when they have partial data.
1763
* ``Repository.get_revision_graph_with_ghosts`` and
1764
``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
1765
have been deprecated. (John Arbash Meinel)
1767
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
1768
``Tree._iter_changes``. The api is now considered stable and ready for
1769
external users. (Aaron Bentley)
1771
* The bzrdir format registry now accepts an ``alias`` keyword to
1772
register_metadir, used to indicate that a format name is an alias for
1773
some other format and thus should not be reported when describing the
1774
format. (Robert Collins)
1782
* Fix failing test in Launchpad plugin. (Martin Pool)
1785
bzr 1.2rc1 2008-02-13
1786
---------------------
1788
NOTES WHEN UPGRADING:
1790
* Fetching via the smart protocol may need to reconnect once during a fetch
1791
if the remote server is running Bazaar 1.1 or earlier, because the client
1792
attempts to use more efficient requests that confuse older servers. You
1793
may be required to re-enter a password or passphrase when this happens.
1794
This won't happen if the server is upgraded to Bazaar 1.2.
1799
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
1800
consistent with pack-0.92 fetching over SFTP). (Robert Collins)
1802
* Formatting of ``bzr plugins`` output is changed to be more human-
1803
friendly. Full path of plugins locations will be shown only with
1804
``--verbose`` command-line option. (Alexander Belchenko)
1806
* ``merge`` now prefers to use the submit branch, but will fall back to
1807
parent branch. For many users, this has no effect. But some users who
1808
pull and merge on the same branch will notice a change. This change
1809
makes it easier to work on a branch on two different machines, pulling
1810
between the machines, while merging from the upstream.
1811
``merge --remember`` can now be used to set the submit_branch.
1816
* ``merge --preview`` produces a diff of the changes merge would make,
1817
but does not actually perform the merge. (Aaron Bentley)
1819
* New smart method ``Repository.get_parent_map`` for getting revision
1820
parent data. This returns additional parent information topologically
1821
adjacent to the requested data to reduce round trip latency impacts.
1824
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
1825
revision data that streams revision data via a chunked encoding. This
1826
avoids buffering large amounts of revision data on the server and on the
1827
client, and sends less data to the server to request the revisions.
1828
(Andrew Bennetts, Robert Collins, #178353)
1830
* The launchpad plugin now handles lp urls of the form
1831
``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
1832
launchpad instance to do the resolution of the branch identities.
1833
This is primarily of use to Launchpad developers, but can also
1834
be used by other users who want to try out Launchpad as
1835
a branch location without messing up their public Launchpad
1836
account. Branches that are pushed to the staging environment
1837
have an expected lifetime of one day. (Tim Penhey)
1841
* Creating a new branch no longer tries to read the entire revision-history
1842
unnecessarily over smart server operations. (Robert Collins)
1844
* Fetching between different repository formats with compatible models now
1845
takes advantage of the smart method to stream revisions. (Andrew Bennetts)
1847
* The ``--coverage`` option is now global, rather specific to ``bzr
1848
selftest``. (Andrew Bennetts)
1850
* The ``register-branch`` command will now use the public url of the branch
1851
containing the current directory, if one has been set and no explicit
1852
branch is provided. (Robert Collins)
1854
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
1855
Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
1856
(John Arbash Meinel)
1860
* Calculate remote path relative to the shared medium in _SmartClient. This
1861
is related to the problem in bug #124089. (Andrew Bennetts)
1863
* Cleanly handle connection errors in smart protocol version two, the same
1864
way as they are handled by version one. (Andrew Bennetts)
1866
* Clearer error when ``version-info --custom`` is used without
1867
``--template`` (Lukáš Lalinský)
1869
* Don't raise UnavailableFeature during test setup when medusa is not
1870
available or tearDown is never called leading to nasty side effects.
1871
(#137823, Vincent Ladeuil)
1873
* If a plugin's test suite cannot be loaded, for example because of a syntax
1874
error in the tests, then ``selftest`` fails, rather than just printing
1875
a warning. (Martin Pool, #189771)
1877
* List possible values for BZR_SSH environment variable in env-variables
1878
help topic. (Alexander Belchenko, #181842)
1880
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
1881
popping the log redirection now precisely restores the previous state,
1882
which makes it easier to use bzr log output from other programs.
1883
TestCaseInTempDir no longer depends on a log redirection being established
1884
by the test framework, which lets bzr tests cleanly run from a normal
1886
(#124153, #124849, Martin Pool, Jonathan Lange)
1888
* ``pull --quiet`` is now more quiet, in particular a message is no longer
1889
printed when the remembered pull location is used. (James Westby,
1892
* ``reconfigure`` can safely be interrupted while fetching.
1893
(Aaron Bentley, #179316)
1895
* ``reconfigure`` preserves tags when converting to and from lightweight
1896
checkouts. (Aaron Bentley, #182040)
1898
* Stop polluting /tmp when running selftest.
1899
(Vincent Ladeuil, #123623)
1901
* Switch from NFKC => NFC for normalization checks. NFC allows a few
1902
more characters which should be considered valid.
1903
(John Arbash Meinel, #185458)
1905
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
1906
interacting badly with a bug on the launchpad side. (Robert Collins)
1908
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
1909
tracebacks. (Andrew Bennetts, #182849)
1913
* Classes implementing Merge types like Merge3Merger must now accept (and
1914
honour) a do_merge flag in their constructor. (Aaron Bentley)
1916
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
1917
to previously take a write lock (and start a write group.)
1922
* selftest now accepts --load-list <file> to load a test id list. This
1923
speeds up running the test suite on a limited set of tests.
1928
* Add a new method ``get_result`` to graph search objects. The resulting
1929
``SearchResult`` can be used to recreate the search later, which will
1930
be useful in reducing network traffic. (Robert Collins)
1932
* Use convenience function to check whether two repository handles
1933
are referring to the same repository in ``Repository.get_graph``.
1934
(Jelmer Vernooij, #187162)
1936
* Fetching now passes the find_ghosts flag through to the
1937
``InterRepository.missing_revision_ids`` call consistently for all
1938
repository types. This will enable faster missing revision discovery with
1939
bzr+ssh. (Robert Collins)
1941
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
1943
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
1944
``InterRepository.search_missing_revision_ids`` which returns a
1945
``bzrlib.graph.SearchResult`` suitable for making requests from the smart
1946
server. (Robert Collins)
1948
* New error ``NoPublicBranch`` for commands that need a public branch to
1949
operate. (Robert Collins)
1951
* New method ``iter_inventories`` on Repository for access to many
1952
inventories. This is primarily used by the ``revision_trees`` method, as
1953
direct access to inventories is discouraged. (Robert Collins)
1955
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
1956
which will split out ghosts and present parents into two separate sets,
1957
useful for code which needs to be aware of ghosts (e.g. fetching data
1958
cares about ghosts during revision selection). (Robert Collins)
1960
* Record a timestamp against each mutter to the trace file, relative to the
1961
first import of bzrlib. (Andrew Bennetts)
1963
* ``Repository.get_data_stream`` is now deprecated in favour of
1964
``Repository.get_data_stream_for_search`` which allows less network
1965
traffic when requesting data streams over a smart server. (Robert Collins)
1967
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
1968
removing one round trip on many network operations. (Robert Collins)
1970
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
1971
SFTPTransport and HttpTransportBase. (Andrew Bennetts)
1973
* Repository has a new method ``has_revisions`` which signals the presence
1974
of many revisions by returning a set of the revisions listed which are
1975
present. This can be done by index queries without reading data for parent
1976
revision names etc. (Robert Collins)
1982
(no changes from 1.1rc1)
1984
bzr 1.1rc1 2008-01-05
1985
---------------------
1989
* Dotted revision numbers have been revised. Instead of growing longer with
1990
nested branches the branch number just increases. (eg instead of 1.1.1.1.1
1991
we now report 1.2.1.) This helps scale long lived branches which have many
1992
feature branches merged between them. (John Arbash Meinel)
1994
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
1995
Use ``bzr diff branch1 --new branch2`` instead. This change has
1996
been made to remove the ambiguity where ``branch2`` is in fact a
1997
specific file to diff within ``branch1``.
2001
* New option to use custom template-based formats in ``bzr version-info``.
2004
* diff '--using' allows an external diff tool to be used for files.
2007
* New "lca" merge-type for fast everyday merging that also supports
2008
criss-cross merges. (Aaron Bentley)
2012
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
2015
* ``branch`` and ``checkout`` can now use files from a working tree to
2016
to speed up the process. For checkout, this requires the new
2017
--files-from flag. (Aaron Bentley)
2019
* ``bzr diff`` now sorts files in alphabetical order. (Aaron Bentley)
2021
* ``bzr diff`` now works on branches without working trees. Tree-less
2022
branches can also be compared to each other and to working trees using
2023
the new diff options ``--old`` and ``--new``. Diffing between branches,
2024
with or without trees, now supports specific file filtering as well.
2025
(Ian Clatworthy, #6700)
2027
* ``bzr pack`` now orders revision texts in topological order, with newest
2028
at the start of the file, promoting linear reads for ``bzr log`` and the
2029
like. This partially fixes #154129. (Robert Collins)
2031
* Merge directives now fetch prerequisites from the target branch if
2032
needed. (Aaron Bentley)
2034
* pycurl now handles digest authentication.
2037
* ``reconfigure`` can now convert from repositories. (Aaron Bentley)
2039
* ``-l`` is now a short form for ``--limit`` in ``log``. (Matt Nordhoff)
2041
* ``merge`` now warns when merge directives cause cherrypicks.
2044
* ``split`` now supported, to enable splitting large trees into smaller
2045
pieces. (Aaron Bentley)
2049
* Avoid AttributeError when unlocking a pack repository when an error occurs.
2050
(Martin Pool, #180208)
2052
* Better handle short reads when processing multiple range requests.
2053
(Vincent Ladeuil, #179368)
2055
* build_tree acceleration uses the correct path when a file has been moved.
2058
* ``commit`` now succeeds when a checkout and its master branch share a
2059
repository. (Aaron Bentley, #177592)
2061
* Fixed error reporting of unsupported timezone format in
2062
``log --timezone``. (Lukáš Lalinský, #178722)
2064
* Fixed Unicode encoding error in ``ignored`` when the output is
2065
redirected to a pipe. (Lukáš Lalinský)
2067
* Fix traceback when sending large response bodies over the smart protocol
2068
on Windows. (Andrew Bennetts, #115781)
2070
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
2071
pointed to different logical drives on Windows.
2072
(Alexander Belchenko, #90847)
2074
* HTTP test servers are now compatible with the http protocol version 1.1.
2075
(Vincent Ladeuil, #175524)
2077
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
2078
correctly, instead of erroring or attributing incorrect parents to ghosts.
2081
* ``merge --weave --uncommitted`` now works. (Aaron Bentley)
2083
* pycurl authentication handling was broken and incomplete. Fix handling of
2084
user:pass embedded in the urls.
2085
(Vincent Ladeuil, #177643)
2087
* Files inside non-directories are now handled like other conflict types.
2088
(Aaron Bentley, #177390)
2090
* ``reconfigure`` is able to convert trees into lightweight checkouts.
2093
* Reduce lockdir timeout to 0 when running ``bzr serve``. (Andrew Bennetts,
2096
* Test that the old ``version_info_format`` functions still work, even
2097
though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
2099
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
2102
* ``uncommit`` works even when the commit messages of revisions to be
2103
removed use characters not supported in the terminal encoding.
2106
* When dumb http servers return whole files instead of the requested ranges,
2107
read the remaining bytes by chunks to avoid overflowing network buffers.
2108
(Vincent Ladeuil, #175886)
2112
* Minor tweaks made to the bug tracker integration documentation.
2115
* Reference material has now be moved out of the User Guide and added
2116
to the User Reference. The User Reference has gained 4 sections as
2117
a result: Authenication Settings, Configuration Settings, Conflicts
2118
and Hooks. All help topics are now dumped into text format in the
2119
doc/en/user-reference directory for those who like browsing that
2120
information in their editor. (Ian Clatworthy)
2122
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
2126
* find_* methods available for BzrDirs, Branches and WorkingTrees.
2129
* Help topics can now be loaded from files.
2130
(Ian Clatworthy, Alexander Belchenko)
2132
* get_parent_map now always provides tuples as its output. (Aaron Bentley)
2134
* Parent Providers should now implement ``get_parent_map`` returning a
2135
dictionary instead of ``get_parents`` returning a list.
2136
``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
2139
* Patience Diff now supports arbitrary python objects, as long as they
2140
support ``hash()``. (John Arbash Meinel)
2142
* Reduce selftest overhead to establish test names by memoization.
2149
* Modules can now customise their tests by defining a ``load_tests``
2150
attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
2151
for the documentation on this attribute. (Robert Collins)
2153
* New helper function ``bzrlib.tests.condition_id_re`` which helps
2154
filter tests based on a regular expression search on the tests id.
2157
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
2158
filter tests based on class. (Robert Collins)
2160
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
2161
generalises the ``exclude_suite_by_re`` function. (Robert Collins)
2163
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
2164
generalises the ``filter_suite_by_re`` function. (Robert Collins)
2166
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
2167
TestSuite that does not contain tests from the input that matched a
2168
regular expression. (Robert Collins)
2170
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
2171
randomized copy of the input suite. (Robert Collins)
2173
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
2174
suite into two according to a regular expression. (Robert Collins)
2176
* Parametrize all http tests for the transport implementations, the http
2177
protocol versions (1.0 and 1.1) and the authentication schemes.
2180
* The ``exclude_pattern`` and ``random_order`` parameters to the function
2181
``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
2183
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
2184
replaced by the new helper methods added in this release. (Robert Collins)
2192
* More improvements and fixes to the User Guide. (Ian Clatworthy)
2194
* Add information on cherrypicking/rebasing to the User Guide.
2197
* Improve bug tracker integration documentation. (Ian Clatworthy)
2199
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
2200
to the rebasing section of the User Guide from Aaron Bentley.
2204
bzr 1.0rc3 2007-12-11
2205
---------------------
2209
* If a traceback occurs, users are now asked to report the bug
2210
through Launchpad (https://bugs.launchpad.net/bzr/), rather than
2211
by mail to the mailing list.
2216
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
2218
* Give more feedback during long http downloads by making readv deliver data
2219
as it arrives for urllib, and issue more requests for pycurl. High latency
2220
networks are better handled by urllib, the pycurl implementation give more
2221
feedback but also incur more latency.
2222
(Vincent Ladeuil, #173010)
2224
* Implement _make_parents_provider on RemoteRepository, allowing generating
2225
bundles against branches on a smart server. (Andrew Bennetts, #147836)
2229
* Improved user guide. (Ian Clatworthy)
2231
* The single-page quick reference guide is now available as a PDF.
2236
* readv urllib http implementation is now a real iterator above the
2237
underlying socket and deliver data as soon as it arrives. 'get' still
2238
wraps its output in a StringIO.
2242
bzr 1.0rc2 2007-12-07
2243
---------------------
2247
* Added a --coverage option to selftest. (Andrew Bennetts)
2249
* Annotate merge (merge-type=weave) now supports cherrypicking.
2252
* ``bzr commit`` now doesn't print the revision number twice. (Matt
2255
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
2256
define locations of bug trackers that are not directly supported by
2257
bzr or a plugin. The URL will be treated as a template and ``{id}``
2258
placeholders will be replaced by specific bug IDs. (Lukáš Lalinský)
2260
* Support logging single merge revisions with short and line log formatters.
2263
* User Guide enhanced with suggested readability improvements from
2264
Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
2266
* Quick Start Guide renamed to Quick Start Card, moved down in
2267
the catalog, provided in pdf and png format and updated to refer
2268
to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
2270
* ``switch`` can now be used on heavyweight checkouts as well as
2271
lightweight ones. After switching a heavyweight checkout, the
2272
local branch is a mirror/cache of the new bound branch and
2273
uncommitted changes in the working tree are merged. As a safety
2274
check, if there are local commits in a checkout which have not
2275
been committed to the previously bound branch, then ``switch``
2276
fails unless the ``--force`` option is given. This option is
2277
now also required if the branch a lightweight checkout is pointing
2278
to has been moved. (Ian Clatworthy)
2282
* New -Dhttp debug option reports http connections, requests and responses.
2285
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
2289
* Better error message when running ``bzr cat`` on a non-existant branch.
2290
(Lukáš Lalinský, #133782)
2292
* Catch OSError 17 (file exists) in final phase of tree transform and show
2294
(Alexander Belchenko, #111758)
2296
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
2297
allowing multiple GET requests to be issued if too many ranges are
2299
(Vincent Ladeuil, #172701)
2301
* Check for missing basis texts when fetching from packs to packs.
2302
(John Arbash Meinel, #165290)
2304
* Fall back to showing e-mail in ``log --short/--line`` if the
2305
committer/author has only e-mail. (Lukáš Lalinský, #157026)
2309
* Deprecate not passing a ``location`` argument to commit reporters'
2310
``started`` methods. (Matt Nordhoff)
2313
bzr 1.0rc1 2007-11-30
2314
---------------------
2316
NOTES WHEN UPGRADING:
2318
* The default repository format is now ``pack-0.92``. This
2319
default is used when creating new repositories with ``init`` and
2320
``init-repo``, and when branching over bzr+ssh or bzr+hpss.
2321
(See https://bugs.launchpad.net/bugs/164626)
2323
This format can be read and written by Bazaar 0.92 and later, and
2324
data can be transferred to and from older formats.
2326
To upgrade, please reconcile your repository (``bzr reconcile``), and then
2327
upgrade (``bzr upgrade``).
2329
``pack-0.92`` offers substantially better scaling and performance than the
2330
previous knits format. Some operations are slower where the code already
2331
had bad scaling characteristics under knits, the pack format makes such
2332
operations more visible as part of being more scalable overall. We will
2333
correct such operations over the coming releases and encourage the filing
2334
of bugs on any operation which you observe to be slower in a packs
2335
repository. One particular case that we do not intend to fix is pulling
2336
data from a pack repository into a knit repository over a high latency
2337
link; downgrading such data requires reinsertion of the file texts, and
2338
this is a classic space/time tradeoff. The current implementation is
2339
conservative on memory usage because we need to support converting data
2340
from any tree without problems.
2341
(Robert Collins, Martin Pool, #164476)
2345
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
2346
still available if user selects it explicitly with BZR_SSH environment
2347
variable. (Alexander Belchenko, workaround for bug #107593)
2349
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
2350
to enable the subtree functions (for example, for bzr-svn).
2351
See http://doc.bazaar-vcs.org/latest/developer/packrepo.html
2356
* New ``authentication.conf`` file holding the password or other credentials
2357
for remote servers. This can be used for ssh, sftp, smtp and other
2358
supported transports.
2361
* New rich-root and rich-root-pack formats, recording the same data about
2362
tree roots that's recorded for all other directories.
2363
(Aaron Bentley, #164639)
2365
* ``pack-0.92`` repositories can now be reconciled.
2366
(Robert Collins, #154173)
2368
* ``switch`` command added for changing the branch a lightweight checkout
2369
is associated with and updating the tree to reflect the latest content
2370
accordingly. This command was previously part of the BzrTools plug-in.
2371
(Ian Clatworthy, Aaron Bentley, David Allouche)
2373
* ``reconfigure`` command can now convert branches, trees, or checkouts to
2374
lightweight checkouts. (Aaron Bentley)
2378
* Commit updates the state of the working tree via a delta rather than
2379
supplying entirely new basis trees. For commit of a single specified file
2380
this reduces the wall clock time for commit by roughly a 30%.
2381
(Robert Collins, Martin Pool)
2383
* Commit with many automatically found deleted paths no longer performs
2384
linear scanning for the children of those paths during inventory
2385
iteration. This should fix commit performance blowing out when many such
2386
paths occur during commit. (Robert Collins, #156491)
2388
* Fetch with pack repositories will no longer read the entire history graph.
2389
(Robert Collins, #88319)
2391
* Revert takes out an appropriate lock when reverting to a basis tree, and
2392
does not read the basis inventory twice. (Robert Collins)
2394
* Diff does not require an inventory to be generated on dirstate trees.
2395
(Aaron Bentley, #149254)
2397
* New annotate merge (--merge-type=weave) implementation is fast on
2398
versionedfiles withough cached annotations, e.g. pack-0.92.
2403
* ``bzr merge`` now warns when it encounters a criss-cross merge.
2406
* ``bzr send`` now doesn't require the target e-mail address to be
2407
specified on the command line if an interactive e-mail client is used.
2410
* ``bzr tags`` now prints the revision number for each tag, instead of
2411
the revision id, unless --show-ids is passed. In addition, tags can be
2412
sorted chronologically instead of lexicographically with --sort=time.
2413
(Adeodato Simó, #120231)
2415
* Windows standalone version of bzr is able to load system-wide plugins from
2416
"plugins" subdirectory in installation directory. In addition standalone
2417
installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
2418
about paths and bzr version. (Alexander Belchenko, #129298)
2424
* A progress bar has been added for knitpack -> knitpack fetching.
2425
(Robert Collins, #157789, #159147)
2427
* Branching from a branch via smart server now preserves the repository
2428
format. (Andrew Bennetts, #164626)
2430
* ``commit`` is now able to invoke an external editor in a non-ascii
2431
directory. (Daniel Watkins, #84043)
2433
* Catch connection errors for ftp.
2434
(Vincent Ladeuil, #164567)
2436
* ``check`` no longer reports spurious unreferenced text versions.
2437
(Robert Collins, John A Meinel, #162931, #165071)
2439
* Conflicts are now resolved recursively by ``revert``.
2440
(Aaron Bentley, #102739)
2442
* Detect invalid transport reuse attempts by catching invalid URLs.
2443
(Vincent Ladeuil, #161819)
2445
* Deleting a file without removing it shows a correct diff, not a traceback.
2448
* Do no use timeout in HttpServer anymore.
2449
(Vincent Ladeuil, #158972).
2451
* Don't catch the exceptions related to the http pipeline status before
2452
retrying an http request or some programming errors may be masked.
2453
(Vincent Ladeuil, #160012)
2455
* Fix ``bzr rm`` to not delete modified and ignored files.
2456
(Lukáš Lalinský, #172598)
2458
* Fix exception when revisionspec contains merge revisons but log
2459
formatter doesn't support merge revisions. (Kent Gibson, #148908)
2461
* Fix exception when ScopeReplacer is assigned to before any members have
2462
been retrieved. (Aaron Bentley)
2464
* Fix multiple connections during checkout --lightweight.
2465
(Vincent Ladeuil, #159150)
2467
* Fix possible error in insert_data_stream when copying between
2468
pack repositories over bzr+ssh or bzr+http.
2469
KnitVersionedFile.get_data_stream now makes sure that requested
2470
compression parents are sent before any delta hunks that depend
2472
(Martin Pool, #164637)
2474
* Fix typo in limiting offsets coalescing for http, leading to
2475
whole files being downloaded instead of parts.
2476
(Vincent Ladeuil, #165061)
2478
* FTP server errors don't error in the error handling code.
2479
(Robert Collins, #161240)
2481
* Give a clearer message when a pull fails because the source needs
2483
(Martin Pool, #164443)
2485
* It is clearer when a plugin cannot be loaded because of its name, and a
2486
suggestion for an acceptable name is given. (Daniel Watkins, #103023)
2488
* Leave port as None in transport objects if user doesn't
2489
specify a port in urls.
2490
(vincent Ladeuil, #150860)
2492
* Make sure Repository.fetch(self) is properly a no-op for all
2493
Repository implementations. (John Arbash Meinel, #158333)
2495
* Mark .bzr directories as "hidden" on Windows.
2496
(Alexander Belchenko, #71147)
2498
* ``merge --uncommitted`` can now operate on a single file.
2499
(Aaron Bentley, Lukáš Lalinský, #136890)
2501
* Obsolete packs are now cleaned up by pack and autopack operations.
2502
(Robert Collins, #153789)
2504
* Operations pulling data from a smart server where the underlying
2505
repositories are not both annotated/both unannotated will now work.
2506
(Robert Collins, #165304).
2508
* Reconcile now shows progress bars. (Robert Collins, #159351)
2510
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
2511
properly. (John Arbash Meinel, #162486)
2513
* Removing an already-removed file reports the file does not exist. (Daniel
2516
* Rename on Windows is able to change filename case.
2517
(Alexander Belchenko, #77740)
2519
* Return error instead of a traceback for ``bzr log -r0``.
2520
(Kent Gibson, #133751)
2522
* Return error instead of a traceback when bzr is unable to create
2523
symlink on some platforms (e.g. on Windows).
2524
(Alexander Belchenko, workaround for #81689)
2526
* Revert doesn't crash when restoring a single file from a deleted
2527
directory. (Aaron Bentley)
2529
* Stderr output via logging mechanism now goes through encoded wrapper
2530
and no more uses utf-8, but terminal encoding instead. So all unicode
2531
strings now should be readable in non-utf-8 terminal.
2532
(Alexander Belchenko, #54173)
2534
* The error message when ``move --after`` should be used makes how to do so
2535
clearer. (Daniel Watkins, #85237)
2537
* Unicode-safe output from ``bzr info``. The output will be encoded
2538
using the terminal encoding and unrepresentable characters will be
2539
replaced by '?'. (Lukáš Lalinský, #151844)
2541
* Working trees are no longer created when pushing into a local no-trees
2542
repo. (Daniel Watkins, #50582)
2544
* Upgrade util/configobj to version 4.4.0.
2545
(Vincent Ladeuil, #151208).
2547
* Wrap medusa ftp test server as an FTPServer feature.
2548
(Vincent Ladeuil, #157752)
2552
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
2553
during very long time. (Alexander Belchenko)
2555
* The return value of
2556
``VersionedFile.iter_lines_added_or_present_in_versions`` has been
2557
changed. Previously it was an iterator of lines, now it is an iterator of
2558
(line, version_id) tuples. This change has been made to aid reconcile and
2559
fetch operations. (Robert Collins)
2561
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
2564
* The Repository format registry default has been removed; it was previously
2565
obsoleted by the bzrdir format default, which implies a default repository
2571
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
2572
``bzrlib.pack``. These classes provide more convenient APIs for generating
2573
and parsing containers from streams rather than from files. (Andrew
2576
* New module ``lru_cache`` providing a cache for use by tasks that need
2577
semi-random access to large amounts of data. (John A Meinel)
2579
* InventoryEntry.diff is now deprecated. Please use diff.DiffTree instead.
2589
* New uninstaller on Win32. (Alexander Belchenko)
2592
bzr 0.92rc1 2007-10-29
2593
----------------------
2595
NOTES WHEN UPGRADING:
2599
* ``bzr`` now returns exit code 4 if an internal error occurred, and
2600
3 if a normal error occurred. (Martin Pool)
2602
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
2603
repository index errors that occured as a result of the Weave disk format.
2604
Instead the ``reconcile`` command needs to be run to correct those
2605
problems if they exist (and it has been able to fix most such problems
2606
since bzr 0.8). Some new problems have been identified during this release
2607
and you should run ``bzr check`` once on every repository to see if you
2608
need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
2609
repository due to mismatched parent errors - a symptom of index errors -
2610
you should simply take a full copy of that remote repository to a clean
2611
directory outside any local repositories, then run reconcile on it, and
2612
finally pull from it locally. (And naturally email the repositories owner
2613
to ask them to upgrade and run reconcile).
2618
* New ``knitpack-experimental`` repository format. This is interoperable with
2619
the ``dirstate-tags`` format but uses a smarter storage design that greatly
2620
speeds up many operations, both local and remote. This new format can be
2621
used as an option to the ``init``, ``init-repository`` and ``upgrade``
2622
commands. See http://doc.bazaar-vcs.org/0.92/developers/knitpack.html
2623
for further details. (Robert Collins)
2625
* For users of bzr-svn (and those testing the prototype subtree support) that
2626
wish to try packs, a new ``knitpack-subtree-experimental`` format has also
2627
been added. This is interoperable with the ``dirstate-subtrees`` format.
2630
* New ``reconfigure`` command. (Aaron Bentley)
2632
* New ``revert --forget-merges`` command, which removes the record of a pending
2633
merge without affecting the working tree contents. (Martin Pool)
2635
* New ``bzr_remote_path`` configuration variable allows finer control of
2636
remote bzr locations than BZR_REMOTE_PATH environment variable.
2639
* New ``launchpad-login`` command to tell Bazaar your Launchpad
2640
user ID. This can then be used by other functions of the
2641
Launchpad plugin. (James Henstridge)
2645
* Commit in quiet mode is now slightly faster as the information to
2646
output is no longer calculated. (Ian Clatworthy)
2648
* Commit no longer checks for new text keys during insertion when the
2649
revision id was deterministically unique. (Robert Collins)
2651
* Committing a change which is not a merge and does not change the number of
2652
files in the tree is faster by utilising the data about whether files are
2653
changed to determine if the tree is unchanged rather than recalculating
2654
it at the end of the commit process. (Robert Collins)
2656
* Inventory serialisation no longer double-sha's the content.
2659
* Knit text reconstruction now avoids making copies of the lines list for
2660
interim texts when building a single text. The new ``apply_delta`` method
2661
on ``KnitContent`` aids this by allowing modification of the revision id
2662
such objects represent. (Robert Collins)
2664
* Pack indices are now partially parsed for specific key lookup using a
2665
bisection approach. (Robert Collins)
2667
* Partial commits are now approximately 40% faster by walking over the
2668
unselected current tree more efficiently. (Robert Collins)
2670
* XML inventory serialisation takes 20% less time while being stricter about
2671
the contents. (Robert Collins)
2673
* Graph ``heads()`` queries have been fixed to no longer access all history
2674
unnecessarily. (Robert Collins)
2678
* ``bzr+https://`` smart server across https now supported.
2679
(John Ferlito, Martin Pool, #128456)
2681
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
2682
bazaar.conf and ``send`` will use mutt. (Keir Mierle)
2684
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
2685
changes from one revision. (Alexander Belchenko, #141368)
2687
* Show encodings, locale and list of plugins in the traceback message.
2688
(Martin Pool, #63894)
2690
* Experimental directory formats can now be marked with
2691
``experimental = True`` during registration. (Ian Clatworthy)
2695
* New *Bazaar in Five Minutes* guide. (Matthew Revell)
2697
* The hooks reference documentation is now converted to html as expected.
2702
* Connection error reporting for the smart server has been fixed to
2703
display a user friendly message instead of a traceback.
2704
(Ian Clatworthy, #115601)
2706
* Make sure to use ``O_BINARY`` when opening files to check their
2707
sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
2709
* Fix a problem with Win32 handling of the executable bit.
2710
(John Arbash Meinel, #149113)
2712
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
2713
no longer assume that means port 22. This allows people using OpenSSH to
2714
override the default port in their ``~/.ssh/config`` if they wish. This
2715
fixes a bug introduced in bzr 0.91. (Andrew Bennetts, #146715)
2717
* Commands reporting exceptions can now be profiled and still have their
2718
data correctly dumped to a file. For example, a ``bzr commit`` with
2719
no changes still reports the operation as pointless but doing so no
2720
longer throws away the profiling data if this command is run with
2721
``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
2723
* Fallback to ftp when paramiko is not installed and sftp can't be used for
2724
``tests/commands`` so that the test suite is still usable without
2726
(Vincent Ladeuil, #59150)
2728
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
2730
* Fix long standing bug in partial commit when there are renames
2731
left in tree. (Robert Collins, #140419)
2733
* Fix selftest semi-random noise during http related tests.
2734
(Vincent Ladeuil, #140614)
2736
* Fix typo in ftp.py making the reconnection fail on temporary errors.
2737
(Vincent Ladeuil, #154259)
2739
* Fix failing test by comparing real paths to cover the case where the TMPDIR
2740
contains a symbolic link.
2741
(Vincent Ladeuil, #141382).
2743
* Fix log against smart server branches that don't support tags.
2744
(James Westby, #140615)
2746
* Fix pycurl http implementation by defining error codes from
2747
pycurl instead of relying on an old curl definition.
2748
(Vincent Ladeuil, #147530)
2750
* Fix 'unprintable error' message when displaying BzrCheckError and
2751
some other exceptions on Python 2.5.
2752
(Martin Pool, #144633)
2754
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
2756
* Handles default value for ListOption in cmd_commit.
2757
(Vincent Ladeuil, #140432)
2759
* HttpServer and FtpServer need to be closed properly or a listening socket
2761
(Vincent Ladeuil, #140055)
2763
* Monitor the .bzr directory created in the top level test
2764
directory to detect leaking tests.
2765
(Vincent Ladeuil, #147986)
2767
* The basename, not the full path, is now used when checking whether
2768
the profiling dump file begins with ``callgrind.out`` or not. This
2769
fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
2771
* Trivial fix for invoking command ``reconfigure`` without arguments.
2774
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
2775
new path causes bzr to be unable to access the file. (Robert Collins)
2777
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
2782
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
2783
constructor, for enabling bisection searches. (Robert Collins)
2785
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
2786
tree be supplied to it, previously failing to do so would trigger a
2787
deprecation warning. (Robert Collins)
2789
* ``KnitVersionedFile.add*`` will no longer cache added records even when
2790
enable_cache() has been called - the caching feature is now exclusively for
2791
reading existing data. (Robert Collins)
2793
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
2794
appropriate. (Martin Pool)
2796
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
2797
``trace+`` transport instead. (Robert Collins)
2799
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
2800
deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
2803
* Removed previous deprecated ``basis_knit`` parameter to the
2804
``KnitVersionedFile`` constructor. (Robert Collins)
2806
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
2807
class that needs it.
2810
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
2811
``KnitRepository`` by parameters to the constructor. (Robert Collins)
2813
* The ``VersionedFile`` interface now allows content checks to be bypassed
2814
by supplying check_content=False. This saves nearly 30% of the minimum
2815
cost to store a version of a file. (Robert Collins)
2817
* Tree's with bad state such as files with no length or sha will no longer
2818
be silently accepted by the repository XML serialiser. To serialise
2819
inventories without such data, pass working=True to write_inventory.
2822
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
2823
``VersionedFile.join`` will no longer accept different parents on either
2824
side of a join - it will either ignore them, or error, depending on the
2825
implementation. See notes when upgrading for more information.
2830
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
2831
put by the method call, to allow avoiding stat-after-write or
2832
housekeeping in callers. (Robert Collins)
2834
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
2835
mandatory attributes are present on serialisation and deserialisation.
2836
This fixes some holes in API usage and allows better separation between
2837
physical storage and object serialisation. (Robert Collins)
2839
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
2840
shorthand for deriving from BzrError and setting internal_error = True.
2843
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
2844
moving the state of a parent tree to a new version via a delta rather than
2845
a complete replacement tree. (Robert Collins)
2847
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
2848
duplication from user input, when a user mentions both a path and an item
2849
contained within that path. (Robert Collins)
2851
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
2852
determining if a repository is write locked. (Robert Collins)
2854
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
2855
tuple containing the key information about a path for commit processing
2856
to complete. (Robert Collins)
2858
* New method on xml serialisers, write_inventory_to_lines, which matches the
2859
API used by knits for adding content. (Robert Collins)
2861
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
2862
logic, currently only available for byte-based lookup
2863
(``bisect_multi_bytes``). (Robert Collins)
2865
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
2866
and returns a gzipped version of the same. This is used to avoid a bunch
2867
of api friction during adding of knit hunks. (Robert Collins)
2869
* New parameter on ``bzrlib.transport.Transport.readv``
2870
``adjust_for_latency`` which changes readv from returning strictly the
2871
requested data to inserted return larger ranges and in forward read order
2872
to reduce the effect of network latency. (Robert Collins)
2874
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
2875
causes the parents of a selected id to be returned recursively, so all the
2876
paths from the root down to each element of selected_file_ids are
2877
returned. (Robert Collins)
2879
* Knit joining has been enhanced to support plain to annotated conversion
2880
and annotated to plain conversion. (Ian Clatworthy)
2882
* The CommitBuilder method ``record_entry_contents`` now returns summary
2883
information about the effect of the commit on the repository. This tuple
2884
contains an inventory delta item if the entry changed from the basis, and a
2885
boolean indicating whether a new file graph node was recorded.
2888
* The python path used in the Makefile can now be overridden.
2889
(Andrew Bennetts, Ian Clatworthy)
2893
* New transport implementation ``trace+`` which is useful for testing,
2894
logging activity taken to its _activity attribute. (Robert Collins)
2896
* When running bzr commands within the test suite, internal exceptions are
2897
not caught and reported in the usual way, but rather allowed to propagate
2898
up and be visible to the test suite. A new API ``run_bzr_catch_user_errors``
2899
makes this behavior available to other users.
2902
* New method ``TestCase.call_catch_warnings`` for testing methods that
2903
raises a Python warning. (Martin Pool)
2911
* Print a warning instead of aborting the ``python setup.py install``
2912
process if building of a C extension is not possible.
2913
(Lukáš Lalinský, Alexander Belchenko)
2915
* Fix commit ordering in corner case (Aaron Bentley, #94975)
2917
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
2918
an implicit port. We were incorrectly raising PathNotChild due to
2919
inconsistent treatment of the ''_port'' attribute on the Transport object.
2920
(Andrew Bennetts, #133965)
2922
* Make RemoteRepository.sprout cope gracefully with servers that don't
2923
support the ``Repository.tarball`` request.
2927
bzr 0.91rc2 2007-09-11
2928
----------------------
2930
* Replaced incorrect tarball for previous release; a debug statement was left
2931
in bzrlib/remote.py.
2934
bzr 0.91rc1 2007-09-11
2935
----------------------
2939
* The default branch and repository format has changed to
2940
``dirstate-tags``, so tag commands are active by default.
2941
This format is compatible with Bazaar 0.15 and later.
2942
This incidentally fixes bug #126141.
2945
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
2946
must now appear after the command name. Scripts doing things like
2947
``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
2952
* New option ``--author`` in ``bzr commit`` to specify the author of the
2953
change, if it's different from the committer. ``bzr log`` and
2954
``bzr annotate`` display the author instead of the committer.
2957
* In addition to global options and command specific options, a set of
2958
standard options are now supported. Standard options are legal for
2959
all commands. The initial set of standard options are:
2961
* ``--help`` or ``-h`` - display help message
2962
* ``--verbose`` or ``-v`` - display additional information
2963
* ``--quiet`` or ``-q`` - only output warnings and errors.
2965
Unlike global options, standard options can be used in aliases and
2966
may have command-specific help. (Ian Clatworthy)
2968
* Verbosity level processing has now been unified. If ``--verbose``
2969
or ``-v`` is specified on the command line multiple times, the
2970
verbosity level is made positive the first time then increased.
2971
If ``--quiet`` or ``-q`` is specified on the command line
2972
multiple times, the verbosity level is made negative the first
2973
time then decreased. To get the default verbosity level of zero,
2974
either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
2975
Note that most commands currently ignore the magnitude of the
2976
verbosity level but do respect *quiet vs normal vs verbose* when
2977
generating output. (Ian Clatworthy)
2979
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
2980
is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
2982
* New ``Repository.stream_knit_data_for_revisions`` request added to the
2983
network protocol for greatly reduced roundtrips when retrieving a set of
2984
revisions. (Andrew Bennetts)
2988
* ``bzr plugins`` now lists the version number for each plugin in square
2989
brackets after the path. (Robert Collins, #125421)
2991
* Pushing, pulling and branching branches with subtree references was not
2992
copying the subtree weave, preventing the file graph from being accessed
2993
and causing errors in commits in clones. (Robert Collins)
2995
* Suppress warning "integer argument expected, got float" from Paramiko,
2996
which sometimes caused false test failures. (Martin Pool)
2998
* Fix bug in bundle 4 that could cause attempts to write data to wrong
2999
versionedfile. (Aaron Bentley)
3001
* Diffs generated using "diff -p" no longer break the patch parser.
3004
* get_transport treats an empty possible_transports list the same as a non-
3005
empty one. (Aaron Bentley)
3007
* patch verification for merge directives is reactivated, and works with
3008
CRLF and CR files. (Aaron Bentley)
3010
* Accept ..\ as a path in revision specifiers. This fixes for example
3011
"-r branch:..\other-branch" on Windows. (Lukáš Lalinský)
3013
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
3014
(Blake Winton, #129299)
3016
* man page no longer lists hidden options (#131667, Aaron Bentley)
3018
* ``uncommit --help`` now explains the -r option adequately. (Daniel
3021
* Error messages are now better formatted with parameters (such as
3022
filenames) quoted when necessary. This avoids confusion when directory
3023
names ending in a '.' at the end of messages were confused with a
3024
full stop that may or not have been there. (Daniel Watkins, #129791)
3026
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
3028
* If a particular command is an alias, ``help`` will show the alias
3029
instead of claiming there is no help for said alias. (Daniel Watkins,
3032
* TreeTransform-based operations, like pull, merge, revert, and branch,
3033
now roll back if they encounter an error. (Aaron Bentley, #67699)
3035
* ``bzr commit`` now exits cleanly if a character unsupported by the
3036
current encoding is used in the commit message. (Daniel Watkins,
3039
* bzr send uses default values for ranges when only half of an elipsis
3040
is specified ("-r..5" or "-r5.."). (#61685, Aaron Bentley)
3042
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
3043
binary is present. (Martin Albisetti, #107155)
3045
* ``bzr remove`` should remove clean subtrees. Now it will remove (without
3046
needing ``--force``) subtrees that contain no files with text changes or
3047
modified files. With ``--force`` it removes the subtree regardless of
3048
text changes or unknown files. Directories with renames in or out (but
3049
not changed otherwise) will now be removed without needing ``--force``.
3050
Unknown ignored files will be deleted without needing ``--force``.
3051
(Marius Kruger, #111665)
3053
* When two plugins conflict, the source of both the losing and now the
3054
winning definition is shown. (Konstantin Mikhaylov, #5454)
3056
* When committing to a branch, the location being committed to is
3057
displayed. (Daniel Watkins, #52479)
3059
* ``bzr --version`` takes care about encoding of stdout, especially
3060
when output is redirected. (Alexander Belchenko, #131100)
3062
* Prompt for an ftp password if none is provided.
3063
(Vincent Ladeuil, #137044)
3065
* Reuse bound branch associated transport to avoid multiple
3067
(Vincent Ladeuil, #128076, #131396)
3069
* Overwrite conflicting tags by ``push`` and ``pull`` if the
3070
``--overwrite`` option is specified. (Lukáš Lalinský, #93947)
3072
* In checkouts, tags are copied into the master branch when created,
3073
changed or deleted, and are copied into the checkout when it is
3074
updated. (Martin Pool, #93856, #93860)
3076
* Print a warning instead of aborting the ``python setup.py install``
3077
process if building of a C extension is not possible.
3078
(Lukáš Lalinský, Alexander Belchenko)
3082
* Add the option "--show-diff" to the commit command in order to display
3083
the diff during the commit log creation. (Goffredo Baroncelli)
3085
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
3088
* ``pull -v`` no longer includes deltas, making it much faster.
3091
* ``send`` now sends the directive as an attachment by default.
3092
(Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
3094
* Documentation updates (Martin Albisetti)
3096
* Help on debug flags is now included in ``help global-options``.
3097
(Daniel Watkins, #124853)
3099
* Parameters passed on the command line are checked to ensure they are
3100
supported by the encoding in use. (Daniel Watkins)
3102
* The compression used within the bzr repository has changed from zlib
3103
level 9 to the zlib default level. This improves commit performance with
3104
only a small increase in space used (and in some cases a reduction in
3105
space). (Robert Collins)
3107
* Initial commit no longer SHAs files twice and now reuses the path
3108
rather than looking it up again, making it faster.
3111
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
3112
changes in one revision. (Lukáš Lalinský)
3114
* If versioned files match a given ignore pattern, a warning is now
3115
given. (Daniel Watkins, #48623)
3117
* ``bzr status`` now has -S as a short name for --short and -V as a
3118
short name for --versioned. These have been added to assist users
3119
migrating from Subversion: ``bzr status -SV`` is now like
3120
``svn status -q``. (Daniel Watkins, #115990)
3122
* Added C implementation of ``PatienceSequenceMatcher``, which is about
3123
10x faster than the Python version. This speeds up commands that
3124
need file diffing, such as ``bzr commit`` or ``bzr diff``.
3127
* HACKING has been extended with a large section on core developer tasks.
3130
* Add ``branches`` and ``standalone-trees`` as online help topics and
3131
include them as Concepts within the User Reference.
3132
(Paul Moore, Ian Clatworthy)
3134
* ``check`` can detect versionedfile parent references that are
3135
inconsistent with revision and inventory info, and ``reconcile`` can fix
3136
them. These faulty references were generated by 0.8-era releases,
3137
so repositories which were manipulated by old bzrs should be
3138
checked, and possibly reconciled ASAP. (Aaron Bentley, Andrew Bennetts)
3142
* ``Branch.append_revision`` is removed altogether; please use
3143
``Branch.set_last_revision_info`` instead. (Martin Pool)
3145
* CommitBuilder now advertises itself as requiring the root entry to be
3146
supplied. This only affects foreign repository implementations which reuse
3147
CommitBuilder directly and have changed record_entry_contents to require
3148
that the root not be supplied. This should be precisely zero plugins
3149
affected. (Robert Collins)
3151
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
3152
its return value to include the sha1 and length of the inserted text. This
3153
allows the avoidance of double-sha1 calculations during commit.
3156
* ``Transport.should_cache`` has been removed. It was not called in the
3157
previous release. (Martin Pool)
3161
* Tests may now raise TestNotApplicable to indicate they shouldn't be
3162
run in a particular scenario. (Martin Pool)
3164
* New function multiply_tests_from_modules to give a simpler interface
3165
to test parameterization. (Martin Pool, Robert Collins)
3167
* ``Transport.should_cache`` has been removed. It was not called in the
3168
previous release. (Martin Pool)
3170
* NULL_REVISION is returned to indicate the null revision, not None.
3173
* Use UTF-8 encoded StringIO for log tests to avoid failures on
3174
non-ASCII committer names. (Lukáš Lalinský)
3178
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
3179
``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
3180
useful functionality for determining the path of a plugin, its tests, and
3181
its version information. (Robert Collins)
3183
* Add the option user_encoding to the function 'show_diff_trees()'
3184
in order to move the user encoding at the UI level. (Goffredo Baroncelli)
3186
* Add the function make_commit_message_template_encoded() and the function
3187
edit_commit_message_encoded() which handle encoded strings.
3188
This is done in order to mix the commit messages (which is a unicode
3189
string), and the diff which is a raw string. (Goffredo Baroncelli)
3191
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
3192
overhead on non-weave repositories which don't require all parents to be
3193
present. (Robert Collins)
3195
* Deprecated method ``find_previous_heads`` on
3196
``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
3197
of ``parent_candidates`` and a separate heads check via the repository
3198
API. (Robert Collins)
3200
* New trace function ``mutter_callsite`` will print out a subset of the
3201
stack to the log, which can be useful for gathering debug details.
3204
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
3205
added via a public attribute records_written. (Robert Collins)
3207
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
3208
This provides a hint to users of transports as to the reasonable
3209
minimum data to read. In principle this can take latency and
3210
bandwidth into account on a per-connection basis, but for now it
3211
just has hard coded values based on the url. (e.g. http:// has a large
3212
page size, file:// has a small one.) (Robert Collins)
3214
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
3215
incremental addition of data to a file without requiring that all the
3216
data be buffered in memory. (Robert Collins)
3218
* New methods on ``bzrlib.knit.KnitVersionedFile``:
3219
``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
3220
``get_format_signature()``. These provide some infrastructure for
3221
efficiently streaming the knit data for a set of versions over the smart
3224
* Knits with no annotation cache still produce correct annotations.
3227
* Three new methods have been added to ``bzrlib.trace``:
3228
``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
3229
``set_verbosity_level`` expects a numeric value: negative for quiet,
3230
zero for normal, positive for verbose. The size of the number can be
3231
used to determine just how quiet or verbose the application should be.
3232
The existing ``be_quiet`` and ``is_quiet`` routines have been
3233
integrated into this new scheme. (Ian Clatworthy)
3235
* Options can now be delcared with a ``custom_callback`` parameter. If
3236
set, this routine is called after the option is processed. This feature
3237
is now used by the standard options ``verbose`` and ``quiet`` so that
3238
setting one implicitly resets the other. (Ian Clatworthy)
3240
* Rather than declaring a new option from scratch in order to provide
3241
custom help, a centrally registered option can be decorated using the
3242
new ``bzrlib.Option.custom_help`` routine. In particular, this routine
3243
is useful when declaring better help for the ``verbose`` and ``quiet``
3244
standard options as the base definition of these is now more complex
3245
than before thanks to their use of a custom callback. (Ian Clatworthy)
3247
* Tree._iter_changes(specific_file=[]) now iterates through no files,
3248
instead of iterating through all files. None is used to iterate through
3249
all files. (Aaron Bentley)
3251
* WorkingTree.revert() now accepts None to revert all files. The use of
3252
[] to revert all files is deprecated. (Aaron Bentley)
3260
* Documentation is now organized into multiple directories with a level
3261
added for different languages or locales. Added the Mini Tutorial
3262
and Quick Start Summary (en) documents from the Wiki, improving the
3263
content and readability of the former. Formatted NEWS as Release Notes
3264
complete with a Table of Conents, one heading per release. Moved the
3265
Developer Guide into the main document catalog and provided a link
3266
from the developer document catalog back to the main one.
3267
(Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
3272
* The static convenience method ``BzrDir.create_repository``
3273
is deprecated. Callers should instead create a ``BzrDir`` instance
3274
and call ``create_repository`` on that. (Martin Pool)
3277
bzr 0.90rc1 2007-08-14
3278
----------------------
3282
* ``bzr init`` should connect to the remote location one time only. We
3283
have been connecting several times because we forget to pass around the
3284
Transport object. This modifies ``BzrDir.create_branch_convenience``,
3285
so that we can give it the Transport we already have.
3286
(John Arbash Meinel, Vincent Ladeuil, #111702)
3288
* Get rid of sftp connection cache (get rid of the FTP one too).
3289
(Vincent Ladeuil, #43731)
3291
* bzr branch {local|remote} remote don't try to create a working tree
3293
(Vincent Ladeuil, #112173)
3295
* All identified multiple connections for a single bzr command have been
3296
fixed. See bzrlib/tests/commands directory.
3299
* ``bzr rm`` now does not insist on ``--force`` to delete files that
3300
have been renamed but not otherwise modified. (Marius Kruger,
3303
* ``bzr selftest --bench`` no longer emits deprecation warnings
3306
* ``bzr status`` now honours FILE parameters for conflict lists
3307
(Aaron Bentley, #127606)
3309
* ``bzr checkout`` now honours -r when reconstituting a working tree.
3310
It also honours -r 0. (Aaron Bentley, #127708)
3312
* ``bzr add *`` no more fails on Windows if working tree contains
3313
non-ascii file names. (Kuno Meyer, #127361)
3315
* allow ``easy_install bzr`` runs without fatal errors.
3316
(Alexander Belchenko, #125521)
3318
* Graph._filter_candidate_lca does not raise KeyError if a candidate
3319
is eliminated just before it would normally be examined. (Aaron Bentley)
3321
* SMTP connection failures produce a nice message, not a traceback.
3326
* Don't show "dots" progress indicators when run non-interactively, such
3327
as from cron. (Martin Pool)
3329
* ``info`` now formats locations more nicely and lists "submit" and
3330
"public" branches (Aaron Bentley)
3332
* New ``pack`` command that will trigger database compression within
3333
the repository (Robert Collins)
3335
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
3336
version is approximately 2-3x faster at parsing a ``.kndx`` file.
3337
Which yields a measurable improvement for commands which have to
3338
read from the repository, such as a 1s => 0.75s improvement in
3339
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
3341
* Merge is now faster. Depending on the scenario, it can be more than 2x
3342
faster. (Aaron Bentley)
3344
* Give a clearer warning, and allow ``python setup.py install`` to
3345
succeed even if pyrex is not available.
3346
(John Arbash Meinel)
3348
* ``DirState._read_dirblocks`` now has an optional Pyrex
3349
implementation. This improves the speed of any command that has to
3350
read the entire DirState. (``diff``, ``status``, etc, improve by
3352
``bisect_dirblocks`` has also been improved, which helps all
3353
``_get_entry`` type calls (whenever we are searching for a
3354
particular entry in the in-memory DirState).
3355
(John Arbash Meinel)
3357
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
3358
branch revision history for ui display unless -v is supplied.
3361
* ``bzr log -rA..B`` output shifted to the left margin if the log only
3362
contains merge revisions. (Kent Gibson)
3364
* The ``plugins`` command is now public with improved help.
3367
* New bundle and merge directive formats are faster to generate, and
3369
* Annotate merge now works when there are local changes. (Aaron Bentley)
3371
* Commit now only shows the progress in terms of directories instead of
3372
entries. (Ian Clatworthy)
3374
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
3375
times. This makes ``get_revision_graph`` 2x faster. (John Arbash
3378
* Fix ``VersionedFile.get_graph()`` to avoid using
3379
``set.difference_update(other)``, which has bad scaling when
3380
``other`` is large. This improves ``VF.get_graph([version_id])`` for
3381
a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
3383
* The ``--lsprof-file`` option now generates output for KCacheGrind if
3384
the file starts with ``callgrind.out``. This matches the default file
3385
filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
3387
* Fix ``bzr update`` to avoid an unnecessary
3388
``branch.get_master_branch`` call, which avoids 1 extra connection
3389
to the remote server. (Partial fix for #128076, John Arbash Meinel)
3391
* Log errors from the smart server in the trace file, to make debugging
3392
test failures (and live failures!) easier. (Andrew Bennetts)
3394
* The HTML version of the man page has been superceded by a more
3395
comprehensive manual called the Bazaar User Reference. This manual
3396
is completed generated from the online help topics. As part of this
3397
change, limited reStructuredText is now explicitly supported in help
3398
topics and command help with 'unnatural' markup being removed prior
3399
to display by the online help or inclusion in the man page.
3402
* HTML documentation now use files extension ``*.html``
3403
(Alexander Belchenko)
3405
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
3406
so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
3408
* ``bzr selftest --strict`` fails if there are any missing features or
3409
expected test failures. (Daniel Watkins, #111914)
3411
* Link to registration survey added to README. (Ian Clatworthy)
3413
* Windows standalone installer show link to registration survey
3414
when installation finished. (Alexander Belchenko)
3418
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
3419
Options are now required to provide a help string and it must
3420
comply with the style guide by being one or more sentences with an
3421
initial capital and final period. (Martin Pool)
3423
* KnitIndex.get_parents now returns tuples. (Robert Collins)
3425
* Ancient unused ``Repository.text_store`` attribute has been removed.
3428
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
3429
rather than just bytestrings, making it easier to represent multiple
3430
element names. As this interface was not used by any internal facilities
3431
since it was introduced in 0.18 no API compatibility is being preserved.
3432
The serialised form of these packs is identical with 0.18 when a single
3433
element tuple is in use. (Robert Collins)
3437
* merge now uses ``iter_changes`` to calculate changes, which makes room for
3438
future performance increases. It is also more consistent with other
3439
operations that perform comparisons, and reduces reliance on
3440
Tree.inventory. (Aaron Bentley)
3442
* Refactoring of transport classes connected to a remote server.
3443
ConnectedTransport is a new class that serves as a basis for all
3444
transports needing to connect to a remote server. transport.split_url
3445
have been deprecated, use the static method on the object instead. URL
3446
tests have been refactored too.
3449
* Better connection sharing for ConnectedTransport objects.
3450
transport.get_transport() now accepts a 'possible_transports' parameter.
3451
If a newly requested transport can share a connection with one of the
3455
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
3456
the null revision, and consider using ``None`` for this purpose
3457
deprecated. (Aaron Bentley)
3459
* New ``index`` module with abstract index functionality. This will be
3460
used during the planned changes in the repository layer. Currently the
3461
index layer provides a graph aware immutable index, a builder for the
3462
same index type to allow creating them, and finally a composer for
3463
such indices to allow the use of many indices in a single query. The
3464
index performance is not optimised, however the API is stable to allow
3465
development on top of the index. (Robert Collins)
3467
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
3468
their directory sections. This is equivalent to comparing
3469
``path.split('/')``, only without having to split the paths.
3470
This has a Pyrex implementation available.
3471
(John Arbash Meinel)
3473
* New transport decorator 'unlistable+' which disables the list_dir
3474
functionality for testing.
3476
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
3478
* RevisionTree.get_weave is now deprecated. Tree.plan_merge is now used
3479
for performing annotate-merge. (Aaron Bentley)
3481
* New EmailMessage class to create email messages. (Adeodato Simó)
3483
* Unused functions on the private interface KnitIndex have been removed.
3486
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
3487
of a ``index.GraphIndex``. (Robert Collins)
3489
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
3490
the parents of many knit nodes at once, reducing round trips to the
3491
underlying index. (Robert Collins)
3493
* Graph now has an is_ancestor method, various bits use it.
3496
* The ``-Dhpss`` flag now includes timing information. As well as
3497
logging when a new connection is opened. (John Arbash Meinel)
3499
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
3500
callers when inserting data, allowing generation of readv style access
3501
during pack creation, without needing a separate pass across the output
3502
pack to gather such details. (Robert Collins)
3504
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
3505
files that are stored on a transport. (Robert Collins)
3507
* New ``Repository.has_same_location`` method that reports if two
3508
repository objects refer to the same repository (although with some risk
3509
of false negatives). (Andrew Bennetts)
3511
* InterTree.compare now passes require_versioned on correctly.
3514
* New methods on Repository - ``start_write_group``,
3515
``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
3516
which provide a clean hook point for transactional Repositories - ones
3517
where all the data for a fetch or commit needs to be made atomically
3518
available in one step. This allows the write lock to remain while making
3519
a series of data insertions. (e.g. data conversion). (Robert Collins)
3521
* In ``bzrlib.knit`` the internal interface has been altered to use
3522
3-tuples (index, pos, length) rather than two-tuples (pos, length) to
3523
describe where data in a knit is, allowing knits to be split into
3524
many files. (Robert Collins)
3526
* ``bzrlib.knit._KnitData`` split into cache management and physical access
3527
with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
3528
The former provides access into a .pack file, and the latter provides the
3529
current production repository form of .knit files. (Robert Collins)
3533
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
3534
``--keep-output`` options, which are obsolete now that tests
3535
are done within directories in $TMPDIR. (Martin Pool)
3537
* The SSH_AUTH_SOCK environment variable is now reset to avoid
3538
interaction with any running ssh agents. (Jelmer Vernooij, #125955)
3540
* run_bzr_subprocess handles parameters the same way as run_bzr:
3541
either a string or a list of strings should be passed as the first
3542
parameter. Varargs-style parameters are deprecated. (Aaron Bentley)
3546
--------------------
3550
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
3553
bzr 0.18rc1 2007-07-10
3554
-----------------------
3558
* Do not suppress pipe errors, etc. in non-display commands
3559
(Alexander Belchenko, #87178)
3561
* Display a useful error message when the user requests to annotate
3562
a file that is not present in the specified revision.
3563
(James Westby, #122656)
3565
* Commands that use status flags now have a reference to 'help
3566
status-flags'. (Daniel Watkins, #113436)
3568
* Work around python-2.4.1 inhability to correctly parse the
3569
authentication header.
3570
(Vincent Ladeuil, #121889)
3572
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
3574
* Fix tempfile permissions error in smart server tar bundling under
3575
Windows. (Martin _, #119330)
3577
* Fix detection of directory entries in the inventory. (James Westby)
3579
* Fix handling of http code 400: Bad Request When issuing too many ranges.
3580
(Vincent Ladeuil, #115209)
3582
* Issue a CONNECT request when connecting to an https server
3583
via a proxy to enable SSL tunneling.
3584
(Vincent Ladeuil, #120678)
3586
* Fix ``bzr log -r`` to support selecting merge revisions, both
3587
individually and as part of revision ranges.
3588
(Kent Gibson, #4663)
3590
* Don't leave cruft behind when failing to acquire a lockdir.
3591
(Martin Pool, #109169)
3593
* Don't use the '-f' strace option during tests.
3594
(Vincent Ladeuil, #102019).
3596
* Warn when setting ``push_location`` to a value that will be masked by
3597
locations.conf. (Aaron Bentley, #122286)
3599
* Fix commit ordering in corner case (Aaron Bentley, #94975)
3601
* Make annotate behave in a non-ASCII world (Adeodato Simó).
3605
* The --lsprof-file option now dumps a text rendering of the profiling
3606
information if the filename ends in ".txt". It will also convert the
3607
profiling information to a format suitable for KCacheGrind if the
3608
output filename ends in ".callgrind". Fixes to the lsprofcalltree
3609
conversion process by Jean Paul Calderone and Itamar were also merged.
3610
See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
3612
* ``info`` now defaults to non-verbose mode, displaying only paths and
3613
abbreviated format info. ``info -v`` displays all the information
3614
formerly displayed by ``info``. (Aaron Bentley, Adeodato Simó)
3616
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
3619
* The internal ``weave-list`` command has become ``versionedfile-list``,
3620
and now lists knits as well as weaves. (Aaron Bentley)
3622
* Automatic merge base selection uses a faster algorithm that chooses
3623
better bases in criss-cross merge situations (Aaron Bentley)
3625
* Progress reporting in ``commit`` has been improved. The various logical
3626
stages are now reported on as follows, namely:
3628
* Collecting changes [Entry x/y] - Stage n/m
3629
* Saving data locally - Stage n/m
3630
* Uploading data to master branch - Stage n/m
3631
* Updating the working tree - Stage n/m
3632
* Running post commit hooks - Stage n/m
3634
If there is no master branch, the 3rd stage is omitted and the total
3635
number of stages is adjusted accordingly.
3637
Each hook that is run after commit is listed with a name (as hooks
3638
can be slow it is useful feedback).
3639
(Ian Clatworthy, Robert Collins)
3641
* Various operations that are now faster due to avoiding unnecessary
3642
topological sorts. (Aaron Bentley)
3644
* Make merge directives robust against broken bundles. (Aaron Bentley)
3646
* The lsprof filename note is emitted via trace.note(), not standard
3647
output. (Aaron Bentley)
3649
* ``bzrlib`` now exports explicit API compatibility information to assist
3650
library users and plugins. See the ``bzrlib.api`` module for details.
3653
* Remove unnecessary lock probes when acquiring a lockdir.
3656
* ``bzr --version`` now shows the location of the bzr log file, which
3657
is especially useful on Windows. (Martin Pool)
3659
* -D now supports hooks to get debug tracing of hooks (though its currently
3660
minimal in nature). (Robert Collins)
3662
* Long log format reports deltas on merge revisions.
3663
(John Arbash Meinel, Kent Gibson)
3665
* Make initial push over ftp more resilient. (John Arbash Meinel)
3667
* Print a summary of changes for update just like pull does.
3668
(Daniel Watkins, #113990)
3670
* Add a -Dhpss option to trace smart protocol requests and responses.
3675
* Testing cleanups -
3676
``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
3677
to ``bzrlib.tests.repository_implementations``;
3678
``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
3679
to ``bzrlib.tests.interrepository_implementations``;
3680
``bzrlib.transport.TransportTestProviderAdapter`` has moved to
3681
``bzrlib.tests.test_transport_implementations``.
3682
``bzrlib.branch.BranchTestProviderAdapter`` has moved to
3683
``bzrlib.tests.branch_implementations``.
3684
``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
3685
``bzrlib.tests.bzrdir_implementations``.
3686
``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
3687
to ``bzrlib.tests.interversionedfile_implementations``.
3688
``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
3689
``bzrlib.tests.revisionstore_implementations``.
3690
``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
3691
``bzrlib.tests.workingtree_implementations``.
3692
These changes are an API break in the testing infrastructure only.
3695
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
3697
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
3698
win32. Callers of the function should do this and use the new
3699
``MutableTree.smart_add`` method instead. (Robert Collins)
3701
* ``bzrlib.add.glob_expand_for_win32`` is now
3702
``bzrlib.win32utils.glob_expand``. (Robert Collins)
3704
* ``bzrlib.add.FastPath`` is now private and moved to
3705
``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
3707
* ``LockDir.wait`` removed. (Martin Pool)
3709
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
3710
``server_stopped`` hooks. The first parameter is now an iterable of
3711
backing URLs rather than a single URL. This is to reflect that many
3712
URLs may map to the external URL of the server. E.g. the server interally
3713
may have a chrooted URL but also the local file:// URL will be at the
3714
same location. (Robert Collins)
3718
* New SMTPConnection class to unify email handling. (Adeodato Simó)
3720
* Fix documentation of BzrError. (Adeodato Simó)
3722
* Make BzrBadParameter an internal error. (Adeodato Simó)
3724
* Remove use of 'assert False' to raise an exception unconditionally.
3727
* Give a cleaner error when failing to decode knit index entry.
3730
* TreeConfig would mistakenly search the top level when asked for options
3731
from a section. It now respects the section argument and only
3732
searches the specified section. (James Westby)
3734
* Improve ``make api-docs`` output. (John Arbash Meinel)
3736
* Use os.lstat rather than os.stat for osutils.make_readonly and
3737
osutils.make_writeable. This makes the difftools plugin more
3738
robust when dangling symlinks are found. (Elliot Murphy)
3740
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
3741
lockdirs are taken or released. (Martin Pool)
3743
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
3744
allows a nicer UI when hooks are running as the current hook can
3745
be displayed. (Robert Collins)
3747
* ``Transport.get`` has had its interface made more clear for ease of use.
3748
Retrieval of a directory must now fail with either 'PathError' at open
3749
time, or raise 'ReadError' on a read. (Robert Collins)
3751
* New method ``_maybe_expand_globs`` on the ``Command`` class for
3752
dealing with unexpanded glob lists - e.g. on the win32 platform. This
3753
was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
3755
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
3756
deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
3759
* New method ``external_url`` on Transport for obtaining the url to
3760
hand to external processes. (Robert Collins)
3762
* Teach windows installers to build pyrex/C extensions.
3763
(Alexander Belchenko)
3767
* Removed the ``--keep-output`` option from selftest and clean up test
3768
directories as they're used. This reduces the IO load from
3769
running the test suite and cuts the time by about half.
3770
(Andrew Bennetts, Martin Pool)
3772
* Add scenarios as a public attribute on the TestAdapter classes to allow
3773
modification of the generated scenarios before adaption and easier
3774
testing. (Robert Collins)
3776
* New testing support class ``TestScenarioApplier`` which multiplies
3777
out a single teste by a list of supplied scenarios. (RobertCollins)
3779
* Setting ``repository_to_test_repository`` on a repository_implementations
3780
test will cause it to be called during repository creation, allowing the
3781
testing of repository classes which are not based around the Format
3782
concept. For example a repository adapter can be tested in this manner,
3783
by altering the repository scenarios to include a scenario that sets this
3784
attribute during the test parameterisation in
3785
``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
3787
* Clean up many of the APIs for blackbox testing of Bazaar. The standard
3788
interface is now self.run_bzr. The command to run can be passed as
3789
either a list of parameters, a string containing the command line, or
3790
(deprecated) varargs parameters. (Martin Pool)
3792
* The base TestCase now isolates tests from -D parameters by clearing
3793
``debug.debug_flags`` and restores it afterwards. (Robert Collins)
3795
* Add a relpath parameter to get_transport methods in test framework to
3796
avoid useless cloning.
3797
(Vincent Ladeuil, #110448)
3801
--------------------
3805
* Fix crash of commit due to wrong lookup of filesystem encoding.
3806
(Colin Watson, #120647)
3808
* Revert logging just to stderr in commit as broke unicode filenames.
3809
(Aaron Bentley, Ian Clatworthy, #120930)
3812
bzr 0.17rc1 2007-06-12
3813
-----------------------
3815
NOTES WHEN UPGRADING:
3817
* The kind() and is_executable() APIs on the WorkingTree interface no
3818
longer implicitly (read) locks and unlocks the tree. This *might*
3819
impact some plug-ins and tools using this part of the API. If you find
3820
an issue that may be caused by this change, please let us know,
3821
particularly the plug-in/tool maintainer. If encountered, the API
3822
fix is to surround kind() and is_executable() calls with lock_read()
3823
and unlock() like so::
3825
work_tree.lock_read()
3827
kind = work_tree.kind(...)
3832
* Rework of LogFormatter API to provide beginning/end of log hooks and to
3833
encapsulate the details of the revision to be logged in a LogRevision
3835
In long log formats, merge revision ids are only shown when --show-ids
3836
is specified, and are labelled "revision-id:", as per mainline
3837
revisions, instead of "merged:". (Kent Gibson)
3839
* New ``BranchBuilder`` API which allows the construction of particular
3840
histories quickly. Useful for testing and potentially other applications
3841
too. (Robert Collins)
3845
* There are two new help topics, working-trees and repositories that
3846
attempt to explain these concepts. (James Westby, John Arbash Meinel,
3849
* Added ``bzr log --limit`` to report a limited number of revisions.
3850
(Kent Gibson, #3659)
3852
* Revert does not try to preserve file contents that were originally
3853
produced by reverting to a historical revision. (Aaron Bentley)
3855
* ``bzr log --short`` now includes ``[merge]`` for revisions which
3856
have more than one parent. This is a small improvement to help
3857
understanding what changes have occurred
3858
(John Arbash Meinel, #83887)
3860
* TreeTransform avoids many renames when contructing large trees,
3861
improving speed. 3.25x speedups have been observed for construction of
3862
kernel-sized-trees, and checkouts are 1.28x faster. (Aaron Bentley)
3864
* Commit on large trees is now faster. In my environment, a commit of
3865
a small change to the Mozilla tree (55k files) has dropped from
3866
66 seconds to 32 seconds. For a small tree of 600 files, commit of a
3867
small change is 33% faster. (Ian Clatworthy)
3869
* New --create-prefix option to bzr init, like for push. (Daniel Watkins,
3874
* ``bzr push`` should only connect to the remote location one time.
3875
We have been connecting 3 times because we forget to pass around
3876
the Transport object. This adds ``BzrDir.clone_on_transport()``, so
3877
that we can pass in the Transport that we already have.
3878
(John Arbash Meinel, #75721)
3880
* ``DirState.set_state_from_inventory()`` needs to properly order
3881
based on split paths, not just string paths.
3882
(John Arbash Meinel, #115947)
3884
* Let TestUIFactoy encode the password prompt with its own stdout.
3885
(Vincent Ladeuil, #110204)
3887
* pycurl should take use the range header that takes the range hint
3889
(Vincent Ladeuil, #112719)
3891
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
3892
on a missing file. (Aaron Bentley, #118186)
3894
* WorkingTree.remove works correctly with tree references, and when pwd is
3895
not the tree root. (Aaron Bentley)
3897
* Merge no longer fails when a file is renamed in one tree and deleted
3898
in the other. (Aaron Bentley, #110279)
3900
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
3901
and defaults to the last revision (Matthew Fuller, #90048)
3903
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
3904
(Daniel Watkins, #111958)
3906
* ``bzr branch -r revid:foo`` can be used to branch any revision in
3907
your repository. (Previously Branch6 only supported revisions in your
3908
mainline). (John Arbash Meinel, #115343)
3911
--------------------
3915
* Handle when you have 2 directories with similar names, but one has a
3916
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
3917
iterator was using direct comparison and ``'abc/a'`` sorts after
3918
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
3919
(John Arbash Meinel, #111227)
3921
* Handle when someone renames a file on disk without telling bzr.
3922
Previously we would report the first file as missing, but not show
3923
the new unknown file. (John Arbash Meinel, #111288)
3925
* Avoid error when running hooks after pulling into or pushing from
3926
a branch bound to a smartserver branch. (Martin Pool, #111968)
3930
* Move developer documentation to doc/developers/. This reduces clutter in
3931
the root of the source tree and allows HACKING to be split into multiple
3932
files. (Robert Collins, Alexander Belchenko)
3934
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
3935
``DirState.update_entry()``. This optimizes the core logic for ``bzr
3936
diff`` and ``bzr status`` significantly improving the speed of
3937
both. (John Arbash Meinel)
3939
bzr 0.16rc2 2007-04-30
3940
-----------------------
3944
* Handle the case when you delete a file, and then rename another file
3945
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
3946
status`` should show the removed file and an unknown file in its
3947
place. (John Arbash Meinel, #109993)
3949
* Bundles properly read and write revision properties that have an
3950
empty value. And when the value is not ASCII.
3951
(John Arbash Meinel, #109613)
3953
* Fix the bzr commit message to be in text mode.
3954
(Alexander Belchenko, #110901)
3956
* Also handle when you rename a file and create a file where it used
3957
to be. (John Arbash Meinel, #110256)
3959
* ``WorkingTree4._iter_changes`` should not descend into unversioned
3960
directories. (John Arbash Meinel, #110399)
3962
bzr 0.16rc1 2007-04-26
3963
-----------------------
3965
NOTES WHEN UPGRADING:
3967
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
3968
it could be recovered again.
3969
This has been done for consistency with svn and the unix rm command.
3970
The old ``remove`` behaviour has been retained in the new option
3971
``bzr remove --keep``, which will just stop versioning the file,
3973
``bzr remove --force`` have been added which will always delete the
3975
``bzr remove`` is also more verbose.
3976
(Marius Kruger, #82602)
3980
* Merge directives can now be supplied as input to `merge` and `pull`,
3981
like bundles can. (Aaron Bentley)
3983
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
3984
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
3985
to continue. This can be disabled by setting the environment variable
3986
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
3988
* selftest now supports --list-only to list tests instead of running
3989
them. (Ian Clatworthy)
3991
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
3992
tests with names that match that regular expression.
3993
(Ian Clatworthy, #102679)
3995
* selftest now supports --randomize SEED to run tests in a random order.
3996
SEED is typically the value 'now' meaning 'use the current time'.
3997
(Ian Clatworthy, #102686)
3999
* New option ``--fixes`` to commit, which stores bug fixing annotations as
4000
revision properties. Built-in support for Launchpad, Debian, Trac and
4001
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
4003
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
4004
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
4007
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
4010
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
4011
into using local variables instead of going through ``self._var``.
4012
Improves the time to ``merge_sort`` a 10k revision graph by
4013
approximately 40% (~700->400ms). (John Arbash Meinel)
4015
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
4018
* ``bzr help`` now provides cross references to other help topics using
4019
the _see_also facility on command classes. Likewise the bzr_man
4020
documentation, and the bzr.1 man page also include this information.
4023
* Tags are now included in logs, that use the long log formatter.
4024
(Erik Bågfors, Alexander Belchenko)
4026
* ``bzr help`` provides a clearer message when a help topic cannot be
4027
found. (Robert Collins, #107656)
4029
* ``bzr help`` now accepts optional prefixes for command help. The help
4030
for all commands can now be found at ``bzr help commands/COMMANDNAME``
4031
as well as ``bzr help COMMANDNAME`` (which only works for commands
4032
where the name is not the same as a more general help topic).
4035
* ``bzr help PLUGINNAME`` will now return the module docstring from the
4036
plugin PLUGINNAME. (Robert Collins, #50408)
4038
* New help topic ``urlspec`` which lists the availables transports.
4039
(Goffredo Baroncelli)
4041
* doc/server.txt updated to document the default bzr:// port
4042
and also update the blurb about the hpss' current status.
4043
(Robert Collins, #107125).
4045
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
4046
serve out to the local LAN (and anyone in the world that can reach the
4047
machine running ``bzr serve``. (Robert Collins, #98918)
4049
* A new smart server protocol version has been added. It prefixes requests
4050
and responses with an explicit version identifier so that future protocol
4051
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
4053
* The bzr protocol version 2 indicates success or failure in every response
4054
without depending on particular commands encoding that consistently,
4055
allowing future client refactorings to be much more robust about error
4056
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
4058
* The smart protocol over HTTP client has been changed to always post to the
4059
same ``.bzr/smart`` URL under the original location when it can. This allows
4060
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
4061
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
4063
* digest authentication is now supported for proxies and HTTP by the urllib
4064
based http implementation. Tested against Apache 2.0.55 and Squid
4065
2.6.5. Basic and digest authentication are handled coherently for HTTP
4066
and proxy: if the user is provided in the url (bzr command line for HTTP,
4067
proxy environment variables for proxies), the password is prompted for
4068
(only once). If the password is provided, it is taken into account. Once
4069
the first authentication is successful, all further authentication
4070
roundtrips are avoided by preventively setting the right authentication
4076
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
4077
code paths. (Robert Collins)
4079
* Change the format of chroot urls so that they can be safely manipulated
4080
by generic url utilities without causing the resulting urls to have
4081
escaped the chroot. A side effect of this is that creating a chroot
4082
requires an explicit action using a ChrootServer.
4083
(Robert Collins, Andrew Bennetts)
4085
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
4086
rather than fixing bug #96847. (Aaron Bentley)
4088
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
4089
``WorkingTree._write_inventory``. (Aaron Bentley)
4091
* Convenience method ``TestCase.expectFailure`` ensures that known failures
4092
do not silently pass. (Aaron Bentley)
4094
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
4095
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
4097
* New SmartServer hooks facility. There are two initial hooks documented
4098
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
4099
plugins to execute code upon server startup and shutdown.
4102
* SmartServer in standalone mode will now close its listening socket
4103
when it stops, rather than waiting for garbage collection. This primarily
4104
fixes test suite hangs when a test tries to connect to a shutdown server.
4105
It may also help improve behaviour when dealing with a server running
4106
on a specific port (rather than dynamically assigned ports).
4109
* Move most SmartServer code into a new package, bzrlib/smart.
4110
bzrlib/transport/remote.py contains just the Transport classes that used
4111
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
4113
* urllib http implementation avoid roundtrips associated with
4114
401 (and 407) errors once the authentication succeeds.
4117
* urlib http now supports querying the user for a proxy password if
4118
needed. Realm is shown in the prompt for both HTTP and proxy
4119
authentication when the user is required to type a password.
4122
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
4123
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
4124
consistent with its new home in ``bzrlib/transport/remote.py``, and because
4125
it's not really a "smart" transport, just one that does file operations
4126
via remote procedure calls. (Andrew Bennetts)
4128
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
4129
``Branch`` now accept a ``token`` keyword argument, so that separate
4130
instances of those objects can share a lock if it has the right token.
4131
(Andrew Bennetts, Robert Collins)
4133
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
4134
branch references - which the smart server component needs.
4136
* The Repository API ``make_working_trees`` is now permitted to return
4137
False when ``set_make_working_trees`` is not implemented - previously
4138
an unimplemented ``set_make_working_trees`` implied the result True
4139
from ``make_working_trees``. This has been changed to accomodate the
4140
smart server, where it does not make sense (at this point) to ever
4141
make working trees by default. (Robert Collins)
4143
* Command objects can now declare related help topics by having _see_also
4144
set to a list of related topic. (Robert Collins)
4146
* ``bzrlib.help`` now delegates to the Command class for Command specific
4147
help. (Robert Collins)
4149
* New class ``TransportListRegistry``, derived from the Registry class, which
4150
simplifies tracking the available Transports. (Goffredo Baroncelli)
4152
* New function ``Branch.get_revision_id_to_revno_map`` which will
4153
return a dictionary mapping revision ids to dotted revnos. Since
4154
dotted revnos are defined in the context of the branch tip, it makes
4155
sense to generate them from a ``Branch`` object.
4156
(John Arbash Meinel)
4158
* Fix the 'Unprintable error' message display to use the repr of the
4159
exception that prevented printing the error because the str value
4160
for it is often not useful in debugging (e.g. KeyError('foo') has a
4161
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
4162
useful. (Robert Collins)
4164
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
4169
* Don't fail bundle selftest if email has 'two' embedded.
4170
(Ian Clatworthy, #98510)
4172
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
4173
(Robert Widhopf-Fenk, #98591)
4175
* Remove ``--basis`` from the checkout/branch commands - it didn't work
4176
properly and is no longer beneficial.
4177
(Robert Collins, #53675, #43486)
4179
* Don't produce encoding error when adding duplicate files.
4182
* Fix ``bzr log <file>`` so it only logs the revisions that changed
4183
the file, and does it faster.
4184
(Kent Gibson, John Arbash Meinel, #51980, #69477)
4186
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
4187
an empty versioned directory, which now has files in it.
4188
(John Arbash Meinel, #104257)
4190
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
4191
inside the ancestry of the other. Saves a lot of graph processing
4192
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
4193
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
4195
* Fix ``show_diff_trees`` to handle the case when a file is modified,
4196
and the containing directory is renamed. (The file path is different
4197
in this versus base, but it isn't marked as a rename).
4198
(John Arbash Meinel, #103870)
4200
* FTP now works even when the FTP server does not support atomic rename.
4201
(Aaron Bentley, #89436)
4203
* Correct handling in bundles and merge directives of timezones with
4204
that are not an integer number of hours offset from UTC. Always
4205
represent the epoch time in UTC to avoid problems with formatting
4206
earlier times on win32. (Martin Pool, Alexander Belchenko, John
4209
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
4211
* "dirstate" and "dirstate-tags" formats now produce branches compatible
4212
with old versions of bzr. (Aaron Bentley, #107168))
4214
* Handle moving a directory when children have been added, removed,
4215
and renamed. (John Arbash Meinel, #105479)
4217
* Don't preventively use basic authentication for proxy before receiving a
4218
407 error. Otherwise people willing to use other authentication schemes
4219
may expose their password in the clear (or nearly). This add one
4220
roundtrip in case basic authentication should be used, but plug the
4224
* Handle http and proxy digest authentication.
4225
(Vincent Ladeuil, #94034).
4229
* Added ``bzrlib.strace.strace`` which will strace a single callable and
4230
return a StraceResult object which contains just the syscalls involved
4231
in running it. (Robert Collins)
4233
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
4234
default time down to one suitable for tests. (Andrew Bennetts)
4236
* Add new ``vfs_transport_factory`` attribute on tests which provides the
4237
common vfs backing for both the readonly and readwrite transports.
4238
This allows the RemoteObject tests to back onto local disk or memory,
4239
and use the existing ``transport_server`` attribute all tests know about
4240
to be the smart server transport. This in turn allows tests to
4241
differentiate between 'transport to access the branch', and
4242
'transport which is a VFS' - which matters in Remote* tests.
4243
(Robert Collins, Andrew Bennetts)
4245
* The ``make_branch_and_tree`` method for tests will now create a
4246
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
4247
a LocalURLServer. (Robert Collins, Andrew Bennetts)
4249
* Branch implementation tests have been audited to ensure that all urls
4250
passed to Branch APIs use proper urls, except when local-disk paths
4251
are intended. This is so that tests correctly access the test transport
4252
which is often not equivalent to local disk in Remote* tests. As part
4253
of this many tests were adjusted to remove dependencies on local disk
4255
(Robert Collins, Andrew Bennetts)
4257
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
4258
functions by adding a ``__unittest`` global attribute. (Robert Collins,
4259
Andrew Bennetts, Martin Pool, Jonathan Lange)
4261
* Refactored proxy and authentication handling to simplify the
4262
implementation of new auth schemes for both http and proxy.
4270
* Handle incompatible repositories as a user issue when fetching.
4273
* Don't give a recommendation to upgrade when branching or
4274
checking out a branch that contains an old-format working tree.
4277
bzr 0.15rc3 2007-03-26
4278
-----------------------
4282
* A warning is now displayed when opening working trees in older
4283
formats, to encourage people to upgrade to WorkingTreeFormat4.
4288
* HTTP redirections are now taken into account when a branch (or a
4289
bundle) is accessed for the first time. A message is issued at each
4290
redirection to inform the user. In the past, http redirections were
4291
silently followed for each request which significantly degraded the
4292
performances. The http redirections are not followed anymore by
4293
default, instead a RedirectRequested exception is raised. For bzrlib
4294
users needing to follow http redirections anyway,
4295
``bzrlib.transport.do_catching_redirections`` provide an easy transition
4300
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
4301
lock to an OS write lock. Linux can do this without unlocking, Win32
4302
needs to unlock in between. (John Arbash Meinel)
4304
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
4305
to silence (when false) warnings about opening old formats.
4308
* Fix minor performance regression with bzr-0.15 on pre-dirstate
4309
trees. (We were reading the working inventory too many times).
4310
(John Arbash Meinel)
4312
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
4313
``revision_history``. Branch subclasses should override
4314
``_gen_revision_history`` rather than ``revision_history`` to make use of
4315
this cache, and call ``_clear_revision_history_cache`` and
4316
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
4320
* Take ``smtp_server`` from user config into account.
4323
* Restore Unicode filename handling for versioned and unversioned files.
4324
(John Arbash Meinel, #92608)
4326
* Don't fail during ``bzr commit`` if a file is marked removed, and
4327
the containing directory is auto-removed. (John Arbash Meinel, #93681)
4329
* ``bzr status FILENAME`` failed on Windows because of an uncommon
4330
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
4331
(Wouter van Heyst, John Arbash Meinel, #90819)
4333
* ``bzr checkout source`` should create a local branch in the same
4334
format as source. (John Arbash Meinel, #93854)
4336
* ``bzr commit`` with a kind change was failing to update the
4337
last-changed-revision for directories. The
4338
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
4339
ignoring the fact that the kind could have changed, too.
4340
(John Arbash Meinel, #90111)
4342
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
4343
the directory. So that there was a chance it would break commit,
4344
etc. (John Arbash Meinel, #94037)
4346
* Correctly handles mutiple permanent http redirections.
4349
bzr 0.15rc2 2007-03-14
4350
-----------------------
4352
NOTES WHEN UPGRADING:
4354
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
4355
default to ``--trees`` instead of ``--no-trees``.
4356
Existing shared repositories are not affected.
4360
* New ``merge-directive`` command to generate machine- and human-readable
4361
merge requests. (Aaron Bentley)
4363
* New ``submit:`` revision specifier makes it easy to diff against the
4364
common ancestor with the submit location (Aaron Bentley)
4366
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
4368
* Added ``bzr status --versioned`` to report only versioned files,
4369
not unknowns. (Kent Gibson)
4371
* Merge now autodetects the correct line-ending style for its conflict
4372
markers. (Aaron Bentley)
4376
* Refactored SSH vendor registration into SSHVendorManager class.
4381
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
4382
numbered dirs for TestCaseInTempDir. This is default behavior
4383
on Windows. Anyone can force named dirs on Windows
4384
with ``--no-numbered-dirs``. (Alexander Belchenko)
4386
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
4387
from the command line. (Marien Zwart, #90501)
4389
* Fix ``TreeTransform._iter_changes`` when both the source and
4390
destination are missing. (Aaron Bentley, #88842)
4392
* Fix commit of merges with symlinks in dirstate trees.
4395
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
4396
(Wouter van Heyst, #53483)
4399
bzr 0.15rc1 2007-03-07
4400
-----------------------
4404
* The default disk format has changed. Please run 'bzr upgrade' in your
4405
working trees to upgrade. This new default is compatible for network
4406
operations, but not for local operations. That is, if you have two
4407
versions of bzr installed locally, after upgrading you can only use the
4408
bzr 0.15 version. This new default does not enable tags or nested-trees
4409
as they are incompatible with bzr versions before 0.15 over the network.
4411
* For users of bzrlib: Two major changes have been made to the working tree
4412
api in bzrlib. The first is that many methods and attributes, including
4413
the inventory attribute, are no longer valid for use until one of
4414
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
4415
and become invalid again after unlock is called. This has been done
4416
to improve performance and correctness as part of the dirstate
4418
(Robert Collins, John A Meinel, Martin Pool, and others).
4420
* For users of bzrlib: The attribute 'tree.inventory' should be considered
4421
readonly. Previously it was possible to directly alter this attribute, or
4422
its contents, and have the tree notice this. This has been made
4423
unsupported - it may work in some tree formats, but in the newer dirstate
4424
format such actions will have no effect and will be ignored, or even
4425
cause assertions. All operations possible can still be carried out by a
4426
combination of the tree API, and the bzrlib.transform API. (Robert
4427
Collins, John A Meinel, Martin Pool, and others).
4431
* Support for OS Windows 98. Also .bzr.log on any windows system
4432
saved in My Documents folder. (Alexander Belchenko)
4434
* ``bzr mv`` enhanced to support already moved files.
4435
In the past the mv command would have failed if the source file doesn't
4436
exist. In this situation ``bzr mv`` would now detect that the file has
4437
already moved and update the repository accordingly, if the target file
4439
A new option ``--after`` has been added so that if two files already
4440
exist, you could notify Bazaar that you have moved a (versioned) file
4441
and replaced it with another. Thus in this case ``bzr move --after``
4442
will only update the Bazaar identifier.
4443
(Steffen Eichenberg, Marius Kruger)
4445
* ``ls`` now works on treeless branches and remote branches.
4448
* ``bzr help global-options`` describes the global options.
4451
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
4454
* Files are now allowed to change kind (e.g. from file to symlink).
4455
Supported by ``commit``, ``revert`` and ``status``
4458
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
4461
* ``bzr help checkouts`` descibes what checkouts are and some possible
4462
uses of them. (James Westby, Aaron Bentley)
4464
* A new ``-d`` option to push, pull and merge overrides the default
4465
directory. (Martin Pool)
4467
* Branch format 6: smaller, and potentially faster than format 5. Supports
4468
``append_history_only`` mode, where the log view and revnos do not change,
4469
except by being added to. Stores policy settings in
4470
".bzr/branch/branch.conf".
4472
* ``append_only`` branches: Format 6 branches may be configured so that log
4473
view and revnos are always consistent. Either create the branch using
4474
"bzr init --append-revisions-only" or edit the config file as descriped
4475
in docs/configuration.txt.
4477
* rebind: Format 6 branches retain the last-used bind location, so if you
4478
"bzr unbind", you can "bzr bind" to bind to the previously-selected
4481
* Builtin tags support, created and deleted by the ``tag`` command and
4482
stored in the branch. Tags can be accessed with the revisionspec
4483
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
4484
at present. Tags require a network incompatible upgrade. To perform this
4485
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
4486
repositories. (Martin Pool)
4488
* The ``bzr://`` transport now has a well-known port number, 4155,
4489
which it will use by default. (Andrew Bennetts, Martin Pool)
4491
* Bazaar now looks for user-installed plugins before looking for site-wide
4492
plugins. (Jonathan Lange)
4494
* ``bzr resolve`` now detects and marks resolved text conflicts.
4499
* Internally revision ids and file ids are now passed around as utf-8
4500
bytestrings, rather than treating them as Unicode strings. This has
4501
performance benefits for Knits, since we no longer need to decode the
4502
revision id for each line of content, nor for each entry in the index.
4503
This will also help with the future dirstate format.
4504
(John Arbash Meinel)
4506
* Reserved ids (any revision-id ending in a colon) are rejected by
4507
versionedfiles, repositories, branches, and working trees
4510
* Minor performance improvement by not creating a ProgressBar for
4511
every KnitIndex we create. (about 90ms for a bzr.dev tree)
4512
(John Arbash Meinel)
4514
* New easier to use Branch hooks facility. There are five initial hooks,
4515
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
4516
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
4517
``'post_uncommit'``. These hooks fire after the matching operation
4518
on a branch has taken place, and were originally added for the
4519
branchrss plugin. (Robert Collins)
4521
* New method ``Branch.push()`` which should be used when pushing from a
4522
branch as it makes performance and policy decisions to match the UI
4523
level command ``push``. (Robert Collins).
4525
* Add a new method ``Tree.revision_tree`` which allows access to cached
4526
trees for arbitrary revisions. This allows the in development dirstate
4527
tree format to provide access to the callers to cached copies of
4528
inventory data which are cheaper to access than inventories from the
4530
(Robert Collins, Martin Pool)
4532
* New ``Branch.last_revision_info`` method, this is being done to allow
4533
optimization of requests for both the number of revisions and the last
4534
revision of a branch with smartservers and potentially future branch
4535
formats. (Wouter van Heyst, Robert Collins)
4537
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
4538
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
4539
other for code reuse without requiring users to perform file-renaming
4540
gymnastics. (Robert Collins)
4542
* New Repository method ``'gather_stats'`` for statistic data collection.
4543
This is expected to grow to cover a number of related uses mainly
4544
related to bzr info. (Robert Collins)
4546
* Log formatters are now managed with a registry.
4547
``log.register_formatter`` continues to work, but callers accessing
4548
the FORMATTERS dictionary directly will not.
4550
* Allow a start message to be passed to the ``edit_commit_message``
4551
function. This will be placed in the message offered to the user
4552
for editing above the separator. It allows a template commit message
4553
to be used more easily. (James Westby)
4555
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
4556
you pass a Unicode string rather than an 8-bit string. Callers need
4557
to be updated to encode first. (John Arbash Meinel)
4559
* Branch.push, pull, merge now return Result objects with information
4560
about what happened, rather than a scattering of various methods. These
4561
are also passed to the post hooks. (Martin Pool)
4563
* File formats and architecture is in place for managing a forest of trees
4564
in bzr, and splitting up existing trees into smaller subtrees, and
4565
finally joining trees to make a larger tree. This is the first iteration
4566
of this support, and the user-facing aspects still require substantial
4567
work. If you wish to experiment with it, use ``bzr upgrade
4568
--dirstate-with-subtree`` in your working trees and repositories.
4569
You can use the hidden commands ``split`` and ``join`` and to create
4570
and manipulate nested trees, but please consider using the nested-trees
4571
branch, which contains substantial UI improvements, instead.
4572
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
4573
(Aaron Bentley, Martin Pool, Robert Collins).
4577
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
4578
branch, rather than the last changed revision of the file.
4579
(John Arbash Meinel, #82158)
4581
* Lock operations no longer hang if they encounter a permission problem.
4584
* ``bzr push`` can resume a push that was canceled before it finished.
4585
Also, it can push even if the target directory exists if you supply
4586
the ``--use-existing-dir`` flag.
4587
(John Arbash Meinel, #30576, #45504)
4589
* Fix http proxy authentication when user and an optional
4590
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
4593
* ``bzr log branch/file`` works for local treeless branches
4594
(Aaron Bentley, #84247)
4596
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
4598
* Searching location of CA bundle for PyCurl in env variable
4599
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
4600
(Alexander Belchenko, #82086)
4602
* ``bzr init`` works with unicode argument LOCATION.
4603
(Alexander Belchenko, #85599)
4605
* Raise ``DependencyNotPresent`` if pycurl do not support https.
4606
(Vincent Ladeuil, #85305)
4608
* Invalid proxy env variables should not cause a traceback.
4609
(Vincent Ladeuil, #87765)
4611
* Ignore patterns normalised to use '/' path separator.
4612
(Kent Gibson, #86451)
4614
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
4616
* Fix bzrtools shelve command for removed lines beginning with "--"
4617
(Johan Dahlberg, #75577)
4621
* New ``--first`` option to ``bzr selftest`` to run specified tests
4622
before the rest of the suite. (Martin Pool)
4626
--------------------
4630
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
4634
* Skip documentation generation tests if the tools to do so are not
4635
available. Fixes running selftest for installled copies of bzr.
4636
(John Arbash Meinel, #80330)
4638
* Fix the code that discovers whether bzr is being run from it's
4639
working tree to handle the case when it isn't but the directory
4640
it is in is below a repository. (James Westby, #77306)
4643
bzr 0.14rc1 2007-01-16
4644
-----------------------
4648
* New connection: ``bzr+http://`` which supports tunnelling the smart
4649
protocol over an HTTP connection. If writing is enabled on the bzr
4650
server, then you can write over the http connection.
4651
(Andrew Bennetts, John Arbash Meinel)
4653
* Aliases now support quotation marks, so they can contain whitespace
4656
* PyCurlTransport now use a single curl object. By specifying explicitly
4657
the 'Range' header, we avoid the need to use two different curl objects
4658
(and two connections to the same server). (Vincent Ladeuil)
4660
* ``bzr commit`` does not prompt for a message until it is very likely to
4661
succeed. (Aaron Bentley)
4663
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
4666
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
4667
of a list while checking if a revision id was requested. Takes 10s
4668
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
4669
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
4670
filtering lines with a regex rather than multiple ``str.find()``
4671
calls. (saves another 300ms) (John Arbash Meinel)
4673
* Policy can be set for each configuration key. This allows keys to be
4674
inherited properly across configuration entries. For example, this
4675
should enable you to do::
4677
[/home/user/project]
4678
push_location = sftp://host/srv/project/
4679
push_location:policy = appendpath
4681
And then a branch like ``/home/user/project/mybranch`` should get an
4682
automatic push location of ``sftp://host/srv/project/mybranch``.
4685
* Added ``bzr status --short`` to make status report svn style flags
4686
for each file. For example::
4688
$ bzr status --short
4694
* 'bzr selftest --clean-output' allows easily clean temporary tests
4695
directories without running tests. (Alexander Belchenko)
4697
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
4699
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
4700
local is fully merged into remote. (Jan Hudec)
4702
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
4706
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
4707
help speed up processing, as well allowing to extract unannotated
4708
lines. Between the two ``fileids_affected_by_revision_ids`` is
4709
improved by approx 10%. (John Arbash Meinel)
4711
* Change Revision serialization to only write out millisecond
4712
resolution. Rather than expecting floating point serialization to
4713
preserve more resolution than we need. (Henri Weichers, Martin Pool)
4715
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
4717
* When ``encoding_type`` attribute of class Command is equal to 'exact',
4718
force sys.stdout to be a binary stream on Windows, and therefore
4719
keep exact line-endings (without LF -> CRLF conversion).
4720
(Alexander Belchenko)
4722
* Single-letter short options are no longer globally declared. (Martin
4725
* Before using detected user/terminal encoding bzr should check
4726
that Python has corresponding codec. (Alexander Belchenko)
4728
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
4732
* ``bzr missing --verbose`` was showing adds/removals in the wrong
4733
direction. (John Arbash Meinel)
4735
* ``bzr annotate`` now defaults to showing dotted revnos for merged
4736
revisions. It cuts them off at a depth of 12 characters, but you can
4737
supply ``--long`` to see the full number. You can also use
4738
``--show-ids`` to display the original revision ids, rather than
4739
revision numbers and committer names. (John Arbash Meinel, #75637)
4741
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
4742
(Alexander Belchenko, #57869)
4744
* Win32-specific: output of cat, bundle and diff commands don't mangle
4745
line-endings (Alexander Belchenko, #55276)
4747
* Replace broken fnmatch based ignore pattern matching with custom pattern
4749
(Kent Gibson, Jan Hudec #57637)
4751
* pycurl and urllib can detect short reads at different places. Update
4752
the test suite to test more cases. Also detect http error code 416
4753
which was raised for that specific bug. Also enhance the urllib
4754
robustness by detecting invalid ranges (and pycurl's one by detecting
4755
short reads during the initial GET). (Vincent Ladeuil, #73948)
4757
* The urllib connection sharing interacts badly with urllib2
4758
proxy setting (the connections didn't go thru the proxy
4759
anymore). Defining a proper ProxyHandler solves the
4760
problem. (Vincent Ladeuil, #74759)
4762
* Use urlutils to generate relative URLs, not osutils
4763
(Aaron Bentley, #76229)
4765
* ``bzr status`` in a readonly directory should work without giving
4766
lots of errors. (John Arbash Meinel, #76299)
4768
* Mention the revisionspec topic for the revision option help.
4769
(Wouter van Heyst, #31663)
4771
* Allow plugins import from zip archives.
4772
(Alexander Belchenko, #68124)
4776
--------------------
4778
No changes from 0.13rc1
4780
bzr 0.13rc1 2006-11-27
4781
-----------------------
4785
* New command ``bzr remove-tree`` allows the removal of the working
4787
(Daniel Silverstone)
4789
* urllib uses shared keep-alive connections, so http
4790
operations are substantially faster.
4791
(Vincent Ladeuil, #53654)
4793
* ``bzr export`` allows an optional branch parameter, to export a bzr
4794
tree from some other url. For example:
4795
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
4796
(Daniel Silverstone)
4798
* Added ``bzr help topics`` to the bzr help system. This gives a
4799
location for general information, outside of a specific command.
4800
This includes updates for ``bzr help revisionspec`` the first topic
4801
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
4803
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
4806
* Knit files will now cache full texts only when the size of the
4807
deltas is as large as the size of the fulltext. (Or after 200
4808
deltas, whichever comes first). This has the most benefit on large
4809
files with small changes, such as the inventory for a large project.
4810
(eg For a project with 2500 files, and 7500 revisions, it changes
4811
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
4815
* New -D option given before the command line turns on debugging output
4816
for particular areas. -Derror shows tracebacks on all errors.
4819
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
4820
and remove benchmarks that take longer than 10min to run.
4821
(John Arbash Meinel)
4823
* Use ``time.time()`` instead of ``time.clock()`` to decide on
4824
progress throttling. Because ``time.clock()`` is actually CPU time,
4825
so over a high-latency connection, too many updates get throttled.
4826
(John Arbash Meinel)
4828
* ``MemoryTransport.list_dir()`` would strip the first character for
4829
files or directories in root directory. (John Arbash Meinel)
4831
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
4832
branch references - which the smart server component needs.
4834
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
4835
prefix. It disallows any access to locations above a set URL. (Andrew
4840
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
4841
And optimize the knit index parsing code.
4842
(Dmitry Vasiliev, John Arbash Meinel)
4844
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
4845
without importing it. This prevented ``bzr upgrade`` from working
4846
unless a plugin already imported ``bzrlib.workingtree``
4847
(John Arbash Meinel, #70716)
4849
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
4851
* Give nicer error message when an http server returns a 403
4852
error code. (Vincent Ladeuil, #57644).
4854
* When a multi-range http GET request fails, try a single
4855
range one. If it fails too, forget about ranges. Remember that until
4856
the death of the transport and propagates that to the clones.
4857
(Vincent Ladeuil, #62276, #62029).
4859
* Handles user/passwords supplied in url from command
4860
line (for the urllib implementation). Don't request already
4861
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
4863
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
4864
are added. This fixes bug where fetching remote revisions records
4865
them as full references rather than integers.
4866
(John Arbash Meinel, #64789)
4868
* ``bzr ignore`` strips trailing slashes in patterns.
4869
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
4871
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
4873
* mv correctly handles paths that traverse symlinks.
4874
(Aaron Bentley, #66964)
4876
* Give nicer looking error messages when failing to connect over ssh.
4877
(John Arbash Meinel, #49172)
4879
* Pushing to a remote branch does not currently update the remote working
4880
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
4881
machine now show that the working tree is out of date.
4882
(Cheuksan Edward Wang #48136)
4884
* Use patiencediff instead of difflib for determining deltas to insert
4885
into knits. This avoids the O(N^3) behavior of difflib. Patience
4886
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
4888
* Running ``bzr log`` on nonexistent file gives an error instead of the
4889
entire log history. (Cheuksan Edward Wang #50793)
4891
* ``bzr cat`` can look up contents of removed or renamed files. If the
4892
pathname is ambiguous, i.e. the files in the old and new trees have
4893
different id's, the default is the file in the new tree. The user can
4894
use "--name-from-revision" to select the file in the old tree.
4895
(Cheuksan Edward Wang, #30190)
4899
* TestingHTTPRequestHandler really handles the Range header
4900
(previously it was ignoring it and returning the whole file,).
4903
--------------------
4907
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
4908
and remove benchmarks that take longer than 10min to run.
4909
(John Arbash Meinel)
4911
bzr 0.12rc1 2006-10-23
4912
-----------------------
4916
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
4917
rather than just showing a decimal revision number for revisions on the
4918
mainline. These revision numbers are not yet accepted as input into bzr
4919
commands such as log, diff etc. (Robert Collins)
4921
* revisions can now be specified using dotted-decimal revision numbers.
4922
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
4924
* ``bzr help commands`` output is now shorter (Aaron Bentley)
4926
* ``bzr`` now uses lazy importing to reduce the startup time. This has
4927
a moderate effect on lots of actions, especially ones that have
4928
little to do. For example ``bzr rocks`` time is down to 116ms from
4929
283ms. (John Arbash Meinel)
4931
* New Registry class to provide name-to-object registry-like support,
4932
for example for schemes where plugins can register new classes to
4933
do certain tasks (e.g. log formatters). Also provides lazy registration
4934
to allow modules to be loaded on request.
4935
(John Arbash Meinel, Adeodato Simó)
4937
API INCOMPATABILITY:
4939
* LogFormatter subclasses show now expect the 'revno' parameter to
4940
show() to be a string rather than an int. (Robert Collins)
4944
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
4945
can take a ``working_dir='foo'`` parameter, which will change directory
4946
for the command. (John Arbash Meinel)
4948
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
4949
around a regex, which defers compilation until first use.
4950
(John Arbash Meinel)
4952
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
4953
``--no-plugins`` parameter to ensure test reproducability, and avoid
4954
problems with system-wide installed plugins. (John Arbash Meinel)
4956
* Unique tree root ids are now supported. Newly created trees still
4957
use the common root id for compatibility with bzr versions before 0.12.
4960
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
4961
pass in ``inventory.ROOT_ID`` if you want the default root id value.
4962
(Robert Collins, John Arbash Meinel)
4964
* New method ``WorkingTree.flush()`` which will write the current memory
4965
inventory out to disk. At the same time, ``read_working_inventory`` will
4966
no longer trash the current tree inventory if it has been modified within
4967
the current lock, and the tree will now ``flush()`` automatically on
4968
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
4969
advantage of this functionality. (Robert Collins, John Arbash Meinel)
4971
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
4972
parameter will cause it to add another column to its output, which
4973
contains the dotted-decimal revno for each revision, as a tuple.
4976
* ``LogFormatter.show_merge`` is deprecated in favour of
4977
``LogFormatter.show_merge_revno``. (Robert Collins)
4981
* Avoid circular imports by creating a deprecated function for
4982
``bzrlib.tree.RevisionTree``. Callers should have been using
4983
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
4986
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
4987
platforms. (Martin Pool, #66356)
4989
* Don't require ``Content-Type`` in range responses. Assume they are a
4990
single range if ``Content-Type`` does not exist.
4991
(John Arbash Meinel, #62473)
4993
* bzr branch/pull no longer complain about progress bar cleanup when
4994
interrupted during fetch. (Aaron Bentley, #54000)
4996
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
4997
the basis inventory, rather than going through the repository. This
4998
allows us to have 1 inventory read, and 2 inventory writes when
4999
committing a new tree. (John Arbash Meinel)
5001
* When reverting, files that are not locally modified that do not exist
5002
in the target are deleted, not just unversioned (Aaron Bentley)
5004
* When trying to acquire a lock, don't fail immediately. Instead, try
5005
a few times (up to 1 hour) before timing out. Also, report why the
5006
lock is unavailable (John Arbash Meinel, #43521, #49556)
5008
* Leave HttpTransportBase daughter classes decides how they
5009
implement cloning. (Vincent Ladeuil, #61606)
5011
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
5013
* If a commit fails, the commit message is stored in a file at the root of
5014
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
5019
* New test base class TestCaseWithMemoryTransport offers memory-only
5020
testing facilities: its not suitable for tests that need to mutate disk
5021
state, but most tests should not need that and should be converted to
5022
TestCaseWithMemoryTransport. (Robert Collins)
5024
* ``TestCase.make_branch_and_memory_tree`` now takes a format
5025
option to set the BzrDir, Repository and Branch formats of the
5026
created objects. (Robert Collins, John Arbash Meinel)
5029
--------------------
5031
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
5033
bzr 0.11rc2 2006-09-27
5034
-----------------------
5038
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
5040
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
5043
bzr 0.11rc1 2006-09-25
5044
-----------------------
5048
* Knit files now wait to create their contents until the first data is
5049
added. The old code used to create an empty .knit and a .kndx with just
5050
the header. However, this caused a lot of extra round trips over sftp.
5051
This can change the time for ``bzr push`` to create a new remote branch
5052
from 160s down to 100s. This also affects ``bzr commit`` performance when
5053
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
5054
down to 40s (John Arbash Meinel, #44692)
5056
* When an entire subtree has been deleted, commit will now report that
5057
just the top of the subtree has been deleted, rather than reporting
5058
all the individual items. (Robert Collins)
5060
* Commit performs one less XML parse. (Robert Collins)
5062
* ``bzr checkout`` now operates on readonly branches as well
5063
as readwrite branches. This fixes bug #39542. (Robert Collins)
5065
* ``bzr bind`` no longer synchronises history with the master branch.
5066
Binding should be followed by an update or push to synchronise the
5067
two branches. This is closely related to the fix for bug #39542.
5070
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
5071
objects. This allows all imports to stay at the global scope, but
5072
modules will not actually be imported if they are not used.
5073
(John Arbash Meinel)
5075
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
5076
transport which will be used with the upcoming high-performance smart
5077
server. The new command ``bzr serve`` will invoke bzr in server mode,
5078
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
5081
* New command ``bzr version-info`` which can be used to get a summary
5082
of the current state of the tree. This is especially useful as part
5083
of a build commands. See ``doc/version_info.txt`` for more information
5084
(John Arbash Meinel)
5088
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
5089
specific set of files. (John Arbash Meinel, #3631)
5091
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
5093
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
5094
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
5095
reading a nested Stanza. (John Arbash Meinel)
5097
* Transform._set_mode() needs to stat the right file.
5098
(John Arbash Meinel, #56549)
5100
* Raise WeaveFormatError rather than StopIteration when trying to read
5101
an empty Weave file. (John Arbash Meinel, #46871)
5103
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
5104
(Vincent Ladeuil, #59835)
5106
* Handle boundary="" lines properly to allow access through a Squid proxy.
5107
(John Arbash Meinel, #57723)
5109
* revert now removes newly-added directories (Aaron Bentley, #54172)
5111
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
5112
isn't a working tree. (David Allouche, #40679)
5114
* Give nicer error messages when a user supplies an invalid --revision
5115
parameter. (John Arbash Meinel, #55420)
5117
* Handle when LANG is not recognized by python. Emit a warning, but
5118
just revert to using 'ascii'. (John Arbash Meinel, #35392)
5120
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
5121
(John Arbash Meinel)
5123
* Skip specific tests when the dependencies aren't met. This includes
5124
some ``setup.py`` tests when ``python-dev`` is not available, and
5125
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
5127
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
5128
the system. (Andrew Bennetts, John Arbash Meinel)
5130
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
5131
other branch, and will not push or pull between the two branches.
5132
API users will need to perform a push or pull or update operation if they
5133
require branch synchronisation to take place. (Robert Collins, #47344)
5135
* When creating a tarball or zipfile export, export unicode names as utf-8
5136
paths. This may not work perfectly on all platforms, but has the best
5137
chance of working in the common case. (John Arbash Meinel, #56816)
5139
* When committing, only files that exist in working tree or basis tree
5140
may be specified (Aaron Bentley, #50793)
5144
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
5148
* TestCaseInTempDir now creates a separate directory for HOME, rather
5149
than having HOME set to the same location as the working directory.
5150
(John Arbash Meinel)
5152
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
5153
which will update os.environ inside the spawned child. It also can
5154
take a ``universal_newlines=True``, which helps when checking the output
5155
of the command. (John Arbash Meinel)
5157
* Refactor SFTP vendors to allow easier re-use when ssh is used.
5160
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
5161
return urlescaped paths. This is now tested (there were bugs in a few
5162
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
5164
* New utility function ``symbol_versioning.deprecation_string``. Returns the
5165
formatted string for a callable, deprecation format pair. (Robert Collins)
5167
* New TestCase helper applyDeprecated. This allows you to call a callable
5168
which is deprecated without it spewing to the screen, just by supplying
5169
the deprecation format string issued for it. (Robert Collins)
5171
* Transport.append and Transport.put have been deprecated in favor of
5172
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
5173
``.put_file``. This removes the ambiguity in what type of object the
5174
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
5175
been added. Which works similarly to ``Transport.append()`` except for
5176
SFTP, it doesn't have a round trip when opening the file. Also, it
5177
provides functionality for creating a parent directory when trying
5178
to create a file, rather than raise NoSuchFile and forcing the
5179
caller to repeat their request.
5180
(John Arbash Meinel)
5182
* WorkingTree has a new api ``unversion`` which allow the unversioning of
5183
entries by their file id. (Robert Collins)
5185
* ``WorkingTree.pending_merges`` is deprecated. Please use the
5186
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
5188
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
5189
read rather than write. This is appropriate for actions which only need
5190
the branch data for reference rather than mutation. A new decorator
5191
``needs_tree_write_lock`` is provided in the workingtree module. Like the
5192
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
5193
declaration of the locking requirements of a function to ensure that
5194
a lock is taken out for casual scripts. (Robert Collins, #54107)
5196
* All WorkingTree methods which write to the tree, but not to the branch
5197
have been converted to use ``needs_tree_write_lock`` rather than
5198
``needs_write_lock``. Also converted is the revert, conflicts and tree
5199
transform modules. This provides a modest performance improvement on
5200
metadir style trees, due to the reduce lock-acquisition, and a more
5201
significant performance improvement on lightweight checkouts from
5202
remote branches, where trivial operations used to pay a significant
5203
penalty. It also provides the basis for allowing readonly checkouts.
5206
* Special case importing the standard library 'copy' module. This shaves
5207
off 40ms of startup time, while retaining compatibility. See:
5208
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
5210
* WorkingTree has a new parent class MutableTree which represents the
5211
specialisations of Tree which are able to be altered. (Robert Collins)
5213
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
5214
mutate the tree and its contents. (Robert Collins)
5216
* Transport behaviour at the root of the URL is now defined and tested.
5217
(Andrew Bennetts, Robert Collins)
5221
* New test helper classs MemoryTree. This is typically accessed via
5222
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
5224
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
5225
code to continue running concurrently with a subprocess of bzr.
5226
(Andrew Bennetts, Robert Collins)
5228
* Add a new method ``Transport.get_smart_client()``. This is provided to
5229
allow upgrades to a richer interface than the VFS one provided by
5230
Transport. (Andrew Bennetts, Martin Pool)
5233
--------------------
5236
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
5237
tree. (Aaron Bentley)
5239
* 'bzr add --file-ids-from' can be used to specify another path to use
5240
for creating file ids, rather than generating all new ones. Internally,
5241
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
5242
will be used, rather than having bzrlib generate new ones.
5243
(John Arbash Meinel, #55781)
5245
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
5246
This will cache some of the intermediate trees, and decrease the
5247
setup time for benchmark tests. (John Arbash Meinel)
5249
* Inverse forms are provided for all boolean options. For example,
5250
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
5252
* Serialize out Inventories directly, rather than using ElementTree.
5253
Writing out a kernel sized inventory drops from 2s down to ~350ms.
5254
(Robert Collins, John Arbash Meinel)
5258
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
5260
* Change LockDir so that if the lock directory doesn't exist when
5261
``lock_write()`` is called, an attempt will be made to create it.
5262
(John Arbash Meinel, #56974)
5264
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
5266
* Active FTP transport now works as intended. (ghozzy, #56472)
5268
* Really fix mutter() so that it won't ever raise a UnicodeError.
5269
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
5270
But it is a debugging log, not a real user file.
5271
(John Arbash Meinel, #56947, #53880)
5273
* Change Command handle to allow Unicode command and options.
5274
At present we cannot register Unicode command names, so we will get
5275
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
5276
But that is better than a UnicodeError + a traceback.
5277
(John Arbash Meinel, #57123)
5279
* Handle TZ=UTC properly when reading/writing revisions.
5280
(John Arbash Meinel, #55783, #56290)
5282
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
5283
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
5285
* External diff does the right thing for binaries even in foreign
5286
languages. (John Arbash Meinel, #56307)
5288
* Testament handles more cases when content is unicode. Specific bug was
5289
in handling of revision properties.
5290
(John Arbash Meinel, Holger Krekel, #54723)
5292
* The bzr selftest was failing on installed versions due to a bug in a new
5293
test helper. (John Arbash Meinel, Robert Collins, #58057)
5297
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
5298
which can be used to cache the conversion between utf8 and Unicode.
5299
Especially helpful for some of the knit annotation code, which has to
5300
convert revision ids to utf8 to annotate lines in storage.
5301
(John Arbash Meinel)
5303
* ``setup.py`` now searches the filesystem to find all packages which
5304
need to be installed. This should help make the life of packagers
5305
easier. (John Arbash Meinel)
5307
bzr 0.9.0 2006-08-11
5308
---------------------
5312
* The hard-coded built-in ignore rules have been removed. There are
5313
now two rulesets which are enforced. A user global one in
5314
``~/.bazaar/ignore`` which will apply to every tree, and the tree
5315
specific one '.bzrignore'.
5316
``~/.bazaar/ignore`` will be created if it does not exist, but with
5317
a more conservative list than the old default.
5318
This fixes bugs with default rules being enforced no matter what.
5319
The old list of ignore rules from bzr is available by
5320
running 'bzr ignore --old-default-rules'.
5321
(Robert Collins, Martin Pool, John Arbash Meinel)
5323
* 'branches.conf' has been changed to 'locations.conf', since it can apply
5324
to more locations than just branch locations.
5329
* The revision specifier "revno:" is extended to accept the syntax
5330
revno:N:branch. For example,
5331
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
5332
bzr.dev. (Matthieu Moy)
5334
* Tests updates to ensure proper URL handling, UNICODE support, and
5335
proper printing when the user's terminal encoding cannot display
5336
the path of a file that has been versioned.
5337
``bzr branch`` can take a target URL rather than only a local directory.
5338
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
5339
and normalize the parent based on root, allowing access across
5340
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
5341
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
5
5344
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
6
5345
Use terminal width for single-line logs from ``bzr log --line`` and