16
* ``bzr dump-btree`` is a hidden command introduced to allow dumping
17
the contents of a compressed btree file. (John Arbash Meinel)
19
* default username for bzr+ssh and sftp can be configured in
20
authentication.conf. (Aaron Bentley)
24
* A failure to load a plugin due to an IncompatibleAPI exception is
25
now correctly reported. (Robert Collins, #279451)
27
* API versioning support now has a multiple-version checking api
28
``require_any_api``. (Robert Collins, #279447)
30
* ``bzr co`` uses less memory. It used to unpack the entire WT into
31
memory before writing it to disk. This was a little bit faster, but
32
consumed lots of memory. (John Arbash Meinel, #269456)
48
Bazaar 1.8 includes several fixes that improve working tree performance,
49
display of revision logs, and merges. The bzr testsuite now passes on OS
50
X and Python 2.6, and almost completely passes on Windows. The
51
smartserver code has gained several bug fixes and performance
52
improvements, and can now run server-side hooks within an http server.
56
* Fix "Must end write group" error when another error occurs during
57
``bzr push``. (Andrew Bennetts, #230902)
61
* Some Pyrex versions require the WIN32 macro defined to compile on
62
that platform. (Alexander Belchenko, Martin Pool, #277481)
70
* ``bzr log file`` has been changed. It now uses a different method
71
for determining which revisions to show as merging the changes to
72
the file. It now only shows revisions which merged the change
73
towards your mainline. This simplifies the output, makes it faster,
74
and reduces memory consumption. (John Arbash Meinel)
76
* ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
77
``--show-base`` is not supplied. (John Arbash Meinel)
79
* ``bzr+http//`` will now optionally load plugins and write logs on the
80
server. (Marius Kruger)
82
* ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
83
Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
84
explicitly blacklist that version of the compiler for that
85
extension. Packaged versions will include .c files created with
86
pyrex >= 0.9.6 so it doesn't effect releases, only users running
87
from the source tree. (John Arbash Meinel, #276868)
91
* bzr is now compatible with python-2.6. python-2.6 is not yet officially
92
supported (nor released, tests were conducted with the dev version of
93
python-2.6rc2), but all known problems have been fixed. Feedback
95
(Vincent Ladeuil, #269535)
99
* ``bzr annotate`` will now include uncommitted changes from the local
100
working tree by default. Such uncommitted changes are given the
101
revision number they would get if a commit was done, followed with a
102
? to indicate that its not actually known. (Robert Collins, #3439)
104
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
105
standalone branch regardless of the presence of shared repositories.
108
* ``bzr push`` is faster in the case there are no new revisions to
109
push. It is also faster if there are no tags in the local branch.
112
* File changes during a commit will update the tree stat cache.
115
* Location aliases can now accept a trailing path. (Micheal Hudson)
117
* New hooks ``Lock.hooks`` when LockDirs are acquired and released.
118
(Robert Collins, MartinPool)
120
* Switching in heavyweight checkouts uses the master branch's context, not
121
the checkout's context. (Adrian Wilkins)
123
* ``status`` on large trees is now faster, due to optimisations in the
124
walkdirs code. Of particular note, the walkdirs code now performs
125
a temporary ``chdir()`` while reading a single directory; if your
126
platform has non thread-local current working directories (and is
127
not windows which has its own implementation), this may introduce a
128
race condition during concurrent uses of bzrlib. The bzrlib CLI
129
will not encounter this as it is single threaded for working tree
130
operations. (Robert Collins)
132
* The C extensions now build on python 2.4 (Robert Collins, #271939)
134
* The ``-Dhpss`` debug flag now reports the number of smart server
135
calls per medium to stderr. This is in addition to the existing
136
detailed logging to the .bzr.log trace file. (Andrew Bennetts)
140
* Avoid random failures arising from misinterpreted ``errno`` values
141
in ``_readdir_pyx.read_dir``.
142
(Martin Pool, #279381)
144
* Branching from a shared repository on a smart server into a new
145
repository now preserves the repository format.
146
(Andrew Bennetts, #269214)
148
* ``bzr log`` now accepts a ``--change`` option.
149
(Vincent Ladeuil, #248427)
151
* ``bzr missing`` now accepts an ``--include-merges`` option.
152
(Vincent Ladeuil, #233817)
154
* Don't try to filter (internally) '.bzr' from the files to be deleted if
156
(Vincent Ladeuil, #272648)
158
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
161
* Fix TooManyConcurrentRequests errors caused by a connection failure
162
when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
163
(Andrew Bennetts, #246233)
165
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
166
is in a different repository than the current one.
167
(Lukáš Lalinský, #144421)
169
* Make the first line of the manpage preamble a comment again.
170
(David Futcher, #242106)
172
* Remove use of optional parameter in GSSAPI FTP support, since
173
it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
175
* The autopacking logic will now always create a single new pack from
176
all of the content which it deems is worth moving. This avoids the
177
'repack a single pack' bug and should result in better packing
178
overall. (John Arbash Meinel, #242510, #172644)
180
* Trivial documentation fix.
181
(John Arbash Meinel, #270471)
185
* Explain revision/range identifiers. (Daniel Clemente)
189
* ``CommitBuilder.record_entry_contents`` returns one more element in
190
its result tuple - an optional file system hash for the hash cache
191
to use. (Robert Collins)
193
* ``dirstate.DirState.update_entry`` will now only calculate the sha1
194
of a file if it is likely to be needed in determining the output
195
of iter_changes. (Robert Collins)
197
* The PackRepository, RepositoryPackCollection, NewPack classes have a
198
slightly changed interface to support different index types; as a
199
result other users of these classes need to supply the index types
200
they want. (Robert Collins)
204
* ``bzrlib.tests.repository_implementations`` has been renamed to
205
``bzrlib.tests.per_repository`` so that we have a common structure
206
(and it is shorter). (John Arbash Meinel, #239343)
208
* ``LocalTransport.abspath()`` now returns a drive letter if the
209
transport has one, fixing numerous tests on Windows.
212
* PreviewTree is now tested via intertree_implementations.
215
* The full test suite is passing again on OSX.
216
(Guillermo Gonzalez, Vincent Ladeuil)
218
* The full test suite passes when run with ``-Eallow_debug``.
223
* A new hook, ``Branch.open``, has been added, which is called when
224
branch objects are opened. (Robert Collins)
226
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
227
tree walking, and modular directory listing code to aid future
228
performance optimisations and refactoring. (Robert Collins)
230
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
231
in the middle of processing. It only reports memory if
232
``/proc/PID/status`` is available. (John Arbash Meinel)
234
* New method ``RevisionSpec.as_tree`` for representing the revision
235
specifier as a revision tree object. (Lukáš Lalinský)
237
* New race-free method on MutableTree ``get_file_with_stat`` for use
238
when generating stat cache results. (Robert Collins)
240
* New win32utils.get_local_appdata_location() provides access to a local
241
directory for storing data. (Mark Hammond)
243
* To be compatible with python-2.6 a few new rules should be
244
observed. 'message' attribute can't be used anymore in exception
245
classes, 'sha' and 'md5' modules have been deprecated (use
246
osutils.[md5|sha]), object__init__ and object.__new__ don't accept
254
No changes from 1.7.1rc1.
257
bzr 1.7.1rc1 2008-09-24
258
-----------------------
260
This release just includes an update to how the merge algorithm handles
261
file paths when we encounter complex history.
265
* If we encounter a criss-cross in history, use information from
266
direct Least Common Ancestors to resolve inventory shape (locations
267
of files, adds, deletes, etc). This is similar in concept to using
268
``--lca`` for merging file texts, only applied to paths.
275
This release includes many bug fixes and a few performance and feature
276
improvements. ``bzr rm`` will now scan for missing files and remove them,
277
like how ``bzr add`` scans for unknown files and adds them. A bit more
278
polish has been applied to the stacking code. The b-tree indexing code has
279
been brought in, with an eye on using it in a future repository format.
280
There are only minor installer changes since bzr-1.7rc2.
284
* Some small updates to the win32 installer. Include localization
285
files found in plugins, and include the builtin distutils as part of
286
packaging qbzr. (Mark Hammond)
289
bzr 1.7rc2 2008-09-17
290
---------------------
292
A few bug fixes from 1.7rc1. The biggest change is a new
293
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
294
trying to access a Stacked branch over the smart protocol, to properly
295
connect to the stacked-on location.
299
* Branching from a shared repository on a smart server into a new
300
repository now preserves the repository format.
301
(Andrew Bennetts, #269214)
303
* Branching from a stacked branch via ``bzr+ssh`` can properly connect
304
to the stacked-on branch. (Martin Pool, #261315)
306
* ``bzr init`` no longer re-opens the BzrDir multiple times.
309
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
313
bzr 1.7rc1 2008-09-09
314
---------------------
316
This release candidate for bzr 1.7 has several bug fixes and a few
317
performance and feature improvements. ``bzr rm`` will now scan for
318
missing files and remove them, like how ``bzr add`` scans for unknown
319
files and adds them. A bit more polish has been applied to the stacking
320
code. The b-tree indexing code has been brought in, with an eye on using
321
it in a future repository format.
326
* ``bzr export`` can now export a subdirectory of a project.
329
* ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
330
changes, unless the ``--force`` option is specified.
331
(Lukáš Lalinský, #74101)
333
* ``bzr rm`` will now scan for files that are missing and remove just
334
them automatically, much as ``bzr add`` scans for new files that
335
are not ignored and adds them automatically. (Robert Collins)
339
* Support for GSSAPI authentication when using FTP as documented in
340
RFC2228. (Jelmer Vernooij, #49623)
342
* Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
346
* A url like ``log+file:///tmp`` will log all access to that Transport
347
to ``.bzr.log``, which may help in debugging or profiling.
350
* ``bzr branch`` and ``bzr push`` use the default stacking policy if the
351
branch format supports it. (Aaron Bentley)
353
* ``bzr init`` and ``bzr init-repo`` will now print out the same as
354
``bzr info`` if it completed successfully.
357
* ``bzr uncommit`` logs the old tip revision id, and displays how to
358
restore the branch to that tip using ``bzr pull``. This allows you
359
to recover if you realize you uncommitted the wrong thing.
362
* Fix problems in accessing stacked repositories over ``bzr://``.
363
(Martin Pool, #261315)
365
* ``SFTPTransport.readv()`` was accidentally using ``list += string``,
366
which 'works', but adds each character separately to the list,
367
rather than using ``list.append(string)``. Fixing this makes the
368
SFTP transport a little bit faster (~20%) and use a bit less memory.
371
* When reading index files, if we happen to read the whole file in a
372
single request treat it as a ``_buffer_all`` request. This happens
373
most often on small indexes over remote transports, where we default
374
to reading 64kB. It saves a round trip for each small index during
375
fetch operations. Also, if we have read more than 50% of an index
376
file, trigger a ``_buffer_all`` on the next request. This works
377
around some inefficiencies because reads don't fall neatly on page
378
boundaries, so we would ignore those bytes, but request them again
379
later. This could trigger a total read size of more than the whole
380
file. (John Arbash Meinel)
384
* ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
385
users. (Robert Collins, #205416)
387
* Catch the infamous "select/poll returned error" which occurs when
388
pycurl try to send a body request to an HTTP/1.0 server which has
389
already refused to handle the request. (Vincent Ladeuil, #225020)
391
* Fix ``ObjectNotLocked`` errors when using various commands
392
(including ``bzr cat`` and ``bzr annotate``) in combination with a
393
smart server URL. (Andrew Bennetts, #237067)
395
* ``FTPTransport.stat()`` would return ``0000`` as the permission bits
396
for the containing ``.bzr/`` directory (it does not implement
397
permissions). This would cause us to set all subdirectories to
398
``0700`` and files to ``0600`` rather than leaving them unmodified.
399
Now we ignore ``0000`` as the permissions and assume they are
400
invalid. (John Arbash Meinel, #259855)
402
* Merging from a previously joined branch will no longer cause
403
a traceback. (Jelmer Vernooij, #203376)
405
* Pack operations on windows network shares will work even with large
406
files. (Robert Collins, #255656)
408
* Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
409
status. Status is also about 7% faster on mozilla sized trees
410
when the path to the root of the tree has been given. Users of
411
the internal ``show_tree_status`` function should be aware that
412
the show_pending flag is now authoritative for showing pending
413
merges, as it was originally. (Robert Collins, #225204)
415
* Set valid default _param_name for Option so that ListOption can embed
416
'-' in names. (Vincent Ladeuil, #263249)
418
* Show proper error rather than traceback when an unknown revision
419
id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
421
* Trailing text in the dirstate file could cause the C dirstate parser
422
to try to allocate an invalid amount of memory. We now properly
423
check and test for parsing a dirstate with invalid trailing data.
424
(John Arbash Meinel, #186014)
426
* Unexpected error responses from a smart server no longer cause the
427
client to traceback. (Andrew Bennetts, #263527)
429
* Use a Windows api function to get a Unicode host name, rather than
430
assuming the host name is ascii.
431
(Mark Hammond, John Arbash Meinel, #256550)
433
* ``WorkingTree4`` trees will now correctly report missing-and-new
434
paths in the output of ``iter_changes``. (Robert Collins)
438
* Updated developer documentation. (Martin Pool)
442
* Exporters now take 4 parameters. (Robert Collins)
444
* ``Tree.iter_changes`` will now return False for the content change
445
field when a file is missing in the basis tree and not present in
446
the target tree. Previously it returned True unconditionally.
449
* The deprecated ``Branch.abspath`` and unimplemented
450
``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
452
* BzrDir.clone_on_transport implementations must now accept a stacked_on
453
parameter. (Aaron Bentley)
455
* BzrDir.cloning_metadir implementations must now take a require_stacking
456
parameter. (Aaron Bentley)
460
* ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
461
which are then passed to the cleanup callable as it is run. In
462
addition, addCleanup no longer requires that the callables passed to
463
it be unique. (Jonathan Lange)
465
* Fix some tests that fail on Windows because files are deleted while
469
* ``selftest``'s ``--starting-with`` option can now use predefined
470
prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
471
``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
473
* ``selftest``'s ``--starting-with`` option now accepts multiple values.
478
* A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
479
This allows dynamic log output filtering by plugins.
482
* ``bzrlib.btree_index`` is now available, providing a b-tree index
483
layer. The design is memory conservative (limited memory cache),
484
faster to seek (approx 100 nodes per page, gives 100-way fan out),
485
and stores compressed pages allowing more keys per page.
486
(Robert Collins, John Arbash Meinel)
488
* ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
489
is unknown in both source and target.
490
(Robert Collins, Aaron Bentley)
492
* ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
493
streamlined a bit. This should make creating large indexes faster.
494
(In benchmarking, it now takes less time to create a BTree index than
495
it takes to read the GraphIndex one.) (John Arbash Meinel)
497
* Mail clients for `bzr send` are now listed in a registry. This
498
allows plugins to add new clients by registering them with
499
``bzrlib.mail_client.mail_client_registry``. All of the built-in
500
clients now use this mechanism. (Neil Martinsen-Burrell)
506
A couple regressions were found in the 1.6 release. There was a
507
performance issue when using ``bzr+ssh`` to branch large repositories,
508
and some problems with stacking and ``rich-root`` capable repositories.
511
bzr 1.6.1rc2 2008-09-03
512
-----------------------
516
* Copying between ``rich-root`` and ``rich-root-pack`` (and vice
517
versa) was accidentally using the inter-model fetcher, instead of
518
recognizing that both were 'rich root' formats.
519
(John Arbash Meinel, #264321)
522
bzr 1.6.1rc1 2008-08-29
523
-----------------------
525
This release fixes a few regressions found in the 1.6 client. Fetching
526
changes was using an O(N^2) buffering algorithm, so for large projects it
527
would cause memory thrashing. There is also a specific problem with the
528
``--1.6-rich-root`` format, which prevented stacking on top of
529
``--rich-root-pack`` repositories, and could allow users to accidentally
530
fetch experimental data (``-subtree``) without representing it properly.
531
The ``--1.6-rich-root`` format has been deprecated and users are
532
recommended to upgrade to ``--1.6.1-rich-root`` immediately. Also we
533
re-introduced a workaround for users who have repositories with incorrect
534
nodes (not possible if you only used official releases).
535
I should also clarify that none of this is data loss level issues, but
536
still sufficient enough to warrant an updated release.
540
* ``RemoteTransport.readv()`` was being inefficient about how it
541
buffered the readv data and processed it. It would keep appending to
542
the same string (causing many copies) and then pop bytes out of the
543
start of the string (causing more copies).
544
With this patch "bzr+ssh://local" can improve dramatically,
545
especially for projects with large files.
548
* Revision texts were always meant to be stored as fulltexts. There
549
was a bug in a bzr.dev version that would accidentally create deltas
550
when copying from a Pack repo to a Knit repo. This has been fixed,
551
but to support those repositories, we know always request full texts
552
for Revision texts. (John Arbash Meinel, #261339)
554
* The previous ``--1.6-rich-root`` format used an incorrect xml
555
serializer, which would accidentally support fetching from a
556
repository that supported subtrees, even though the local one would
557
not. We deprecated that format, and introduced a new one that uses
558
the correct serializer ``--1.6.1-rich-root``.
559
(John Arbash Meinel, #262333)
565
Finally, the long awaited bzr 1.6 has been released. This release includes
566
new features like Stacked Branches, improved weave merge, and an updated
567
server protocol (now on v3) which will allow for better cross version
568
compatibility. With this release we have deprecated Knit format
569
repositories, and recommend that users upgrade them, we will continue to
570
support reading and writing them for the forseeable future, but we will
571
not be tuning them for performance as pack repositories have proven to be
572
better at scaling. This will also be the first release to bundle
573
TortoiseBzr in the standalone Windows installer.
576
bzr 1.6rc5 2008-08-19
577
---------------------
581
* Disable automatic detection of stacking based on a containing
582
directory of the target. It interacted badly with push, and needs a
583
bit more work to get the edges polished before it should happen
584
automatically. (John Arbash Meinel, #259275)
585
(This change was reverted when merged to bzr.dev)
588
bzr 1.6rc4 2008-08-18
589
---------------------
593
* Fix a regression in knit => pack fetching. We had a logic
594
inversion, causing the fetch to insert fulltexts in random order,
595
rather than preserving deltas. (John Arbash Meinel, #256757)
598
bzr 1.6rc3 2008-08-14
599
---------------------
603
* Disable reading ``.bzrrules`` as a per-branch rule preferences
604
file. The feature was not quite ready for a full release.
609
* Update the windows installer to bundle TortoiseBzr and ``qbzr``
610
into the standalone installer. This will be the first official
611
windows release that installs Tortoise by default.
616
* Fix a regression in ``bzr+http`` support. There was a missing
617
function (``_read_line``) that needed to be carried over from
618
``bzr+ssh`` support. (Andrew Bennetts)
620
* ``GraphIndex`` objects will internally read an entire index if more
621
than 1/20th of their keyspace is requested in a single operation.
622
This largely mitigates a performance regression in ``bzr log FILE``
623
and completely corrects the performance regression in ``bzr log``.
624
The regression was caused by removing an accomodation which had been
625
supporting the index format in use. A newer index format is in
626
development which is substantially faster. (Robert Collins)
629
bzr 1.6rc2 2008-08-13
630
---------------------
632
This release candidate has a few minor bug fixes, and some regression
637
* ``bzr upgrade`` on remote branches accessed via bzr:// and
638
bzr+ssh:// now works. (Andrew Bennetts)
640
* Change the ``get_format_description()`` strings for
641
``RepositoryFormatKnitPack5`` et al to be single line messages.
644
* Fix for a regression on Win32 where we would try to call
645
``os.listdir()`` on a file and not catch the exception properly.
646
(Windows raises a different exception.) This would manifest in
647
places like ``bzr rm file`` or ``bzr switch``.
648
(Mark Hammond, John Arbash Meinel)
650
* ``Inventory.copy()`` was failing to set the revision property for
651
the root entry. (Jelmer Vernooij)
653
* sftp transport: added missing ``FileExists`` case to
654
``_translate_io_exception`` (Christophe Troestler, #123475)
656
* The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for
657
scripting use. (Robert Collins, #3834)
659
* The default ``annotate`` logic will now always assign the
660
last-modified value of a line to one of the revisions that modified
661
it, rather than a merge revision. This would happen when both sides
662
claimed to have modified the line resulting in the same text. The
663
choice is arbitrary but stable, so merges in different directions
664
will get the same results. (John Arbash Meinel, #232188)
667
bzr 1.6rc1 2008-08-06
668
---------------------
670
This release candidate for bzr 1.6 solidifies the new branch stacking
671
feature. Bazaar now recommends that users upgrade all knit repositories,
672
because later formats are much faster. However, we plan to continue read/write and
673
upgrade support for knit repostories for the forseeable future. Several
674
other bugs and performance issues were fixed.
678
* Knit format repositories are deprecated and bzr will now emit
679
warnings whenever it encounters one. Use ``bzr upgrade`` to upgrade
680
knit repositories to pack format. (Andrew Bennetts)
684
* ``bzr check`` can now be told which elements at a location it should
685
check. (Daniel Watkins)
687
* Commit now supports ``--exclude`` (or ``-x``) to exclude some files
688
from the commit. (Robert Collins, #3117)
690
* Fetching data between repositories that have the same model but no
691
optimised fetcher will not reserialise all the revisions, increasing
692
performance. (Robert Collins, John Arbash Meinel)
694
* Give a more specific error when target branch is not reachable.
697
* Implemented a custom ``walkdirs_utf8`` implementation for win32.
698
This uses a pyrex extension to get direct access to the
699
``FindFirstFileW`` style apis, rather than using ``listdir`` +
700
``lstat``. Shows a very strong improvement in commands like
701
``status`` and ``diff`` which have to iterate the working tree.
702
Anywhere from 2x-6x faster depending on the size of the tree (bigger
703
trees, bigger benefit.) (John Arbash Meinel)
705
* New registry for log properties handles and the method in
706
LongLogFormatter to display the custom properties returned by the
707
registered handlers. (Guillermo Gonzalez, #162469)
711
* Add more tests that stacking does not create deltas spanning
712
physical repository boundaries.
713
(Martin Pool, #252428)
715
* Better message about incompatible repositories.
716
(Martin Pool, #206258)
718
* ``bzr branch --stacked`` ensures the destination branch format can
719
support stacking, even if the origin does not.
722
* ``bzr export`` no longer exports ``.bzrrules``.
725
* ``bzr serve --directory=/`` now correctly allows the whole
726
filesystem to be accessed on Windows, not just the root of the drive
727
that Python is running from.
728
(Adrian Wilkins, #240910)
730
* Deleting directories by hand before running ``bzr rm`` will not
731
cause subsequent errors in ``bzr st`` and ``bzr commit``.
732
(Robert Collins, #150438)
734
* Fix a test case that was failing if encoding wasn't UTF-8.
735
(John Arbash Meinel, #247585)
737
* Fix "no buffer space available" error when branching with the new
738
smart server protocol to or from Windows.
739
(Andrew Bennetts, #246180)
741
* Fixed problem in branching from smart server.
742
(#249256, Michael Hudson, Martin Pool)
744
* Handle a file turning in to a directory in TreeTransform.
745
(James Westby, #248448)
749
* ``MutableTree.commit`` has an extra optional keywork parameter
750
``exclude`` that will be unconditionally supplied by the command
751
line UI - plugins that add tree formats may need an update.
754
* The API minimum version for plugin compatibility has been raised to
755
1.6 - there are significant changes throughout the code base.
758
* The generic fetch code now uses three attributes on Repository objects
759
to control fetch. The streams requested are controlled via :
760
``_fetch_order`` and ``_fetch_uses_deltas``. Setting these
761
appropriately allows different repository implementations to recieve
762
data in their optimial form. If the ``_fetch_reconcile`` is set then
763
a reconcile operation is triggered at the end of the fetch.
766
* The ``put_on_disk`` and ``get_tar_item`` methods in
767
``InventoryEntry`` were deprecated. (Ian Clatworthy)
769
* ``Repository.is_shared`` doesn't take a read lock. It didn't
770
need one in the first place (nobody cached the value, and
771
``RemoteRepository`` wasn't taking one either). This saves a round
772
trip when probing Pack repositories, as they read the ``pack-names``
773
file when locked. And during probe, locking the repo isn't very
774
useful. (John Arbash Meinel)
778
* ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of
779
putting together a real history without having to create a full
780
WorkingTree. It is recommended that tests that are not directly
781
testing the WorkingTree use BranchBuilder instead. See
782
``BranchBuilder.build_snapshot`` or
783
``TestCaseWithMemoryTree.make_branch_builder``. (John Arbash Meinel)
785
* ``bzrlib.builtins.internal_tree_files`` broken into two giving a new
786
helper ``safe_relpath_files`` - used by the new ``exclude``
787
parameter to commit. (Robert Collins)
789
* Make it easier to introduce new WorkingTree formats.
792
* The code for exporting trees was refactored not to use the
793
deprecated ``InventoryEntry`` methods. (Ian Clatworthy)
795
* RuleSearchers return () instead of [] now when there are no matches.
799
bzr 1.6beta3 2008-07-17
800
-----------------------
802
This release adds a new 'stacked branches' feature allowing branches to
803
share storage without being in the same repository or on the same machine.
804
(See the user guide for more details.) It also adds a new hook, improved
805
weaves, aliases for related locations, faster bzr+ssh push, and several
810
* New ``pre_change_branch_tip`` hook that is called before the
811
branch tip is moved, while the branch is write-locked. See the User
812
Reference for signature details. (Andrew Bennetts)
814
* Rule-based preferences can now be defined for selected files in
815
selected branches, allowing commands and plugins to provide
816
custom behaviour for files matching defined patterns.
817
See ``Rule-based preferences`` (part of ``Configuring Bazaar``)
818
in the User Guide and ``bzr help rules`` for more information.
821
* Sites may suggest a branch to stack new branches on. (Aaron Bentley)
823
* Stacked branches are now supported. See ``bzr help branch`` and
824
``bzr help push``. Branches must be in the ``development1`` format
825
to stack, though the stacked-on branch can be of any format.
830
* ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball
831
to stdout; also ``tar`` and ``tbz2``.
834
* ``bzr (re)merge --weave`` will now use a standard Weave algorithm,
835
rather than the annotation-based merge it was using. It does so by
836
building up a Weave of the important texts, without needing to build
837
the full ancestry. (John Arbash Meinel, #238895)
839
* ``bzr send`` documents and better supports ``emacsclient`` (proper
840
escaping of mail headers and handling of the MUA Mew).
841
(Christophe Troestler)
843
* Remembered locations can be specified by aliases, e.g. :parent, :public,
844
:submit. (Aaron Bentley)
846
* The smart protocol now has improved support for setting branches'
847
revision info directly. This makes operations like push
848
faster. The new request method name is
849
``Branch.set_last_revision_ex``. (Andrew Bennetts)
853
* Bazaar is now able to be a client to the web server of IIS 6 and 7.
854
The broken implementations of RFC822 in Python and RFC2046 in IIS
855
combined with boundary-line checking in Bazaar previously made this
856
impossible. (NB, IIS 5 does not suffer from this problem).
857
(Adrian Wilkins, #247585)
859
* ``bzr log --long`` with a ghost in your mainline now handles that
860
ghost properly. (John Arbash Meinel, #243536)
862
* ``check`` handles the split-up .bzr layout correctly, so no longer
863
requires a branch to be present.
864
(Daniel Watkins, #64783)
866
* Clearer message about how to set the PYTHONPATH if bzrlib can't be
868
(Martin Pool, #205230)
870
* Errors about missing libraries are now shown without a traceback,
871
and with a suggestion to install the library. The full traceback is
872
still in ``.bzr.log`` and can be shown with ``-Derror``.
873
(Martin Pool, #240161)
875
* Fetch from a stacked branch copies all required data.
876
(Aaron Bentley, #248506)
878
* Handle urls such as ftp://user@host.com@www.host.com where the user
880
(Neil Martinsen-Burrell, #228058)
882
* ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during
883
``unlock`` if there was an error in the original function. This helps
884
most when there is a failure with a smart server action, since often the
885
connection closes and we cannot unlock.
886
(Andrew Bennetts, John Arbash Meinel, #125784)
888
* Obsolete hidden command ``bzr fetch`` removed.
889
(Martin Pool, #172870)
891
* Raise the correct exception when doing ``-rbefore:0`` or ``-c0``.
892
(John Arbash Meinel, #239933)
894
* You can now compare file revisions in Windows diff programs from
896
(Matt McClure, #209281)
898
* revision_history now tolerates mainline ghosts for Branch format 6.
899
(Aaron Bentley, #235055)
901
* Set locale from environment for third party libs.
902
(Martin von Gagern, #128496)
906
* Added *Using stacked branches* to the User Guide.
909
* Updated developer documentation.
914
* ``-Dmemory`` will cause /proc/PID/status to be catted before bzr
915
exits, allowing low-key analysis of peak memory use. (Robert Collins)
917
* ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return
918
a tree with a ``branch`` attribute of the right format. This was
919
preventing some ``RemoteBranch`` tests from actually running with
920
``RemoteBranch`` instances. (Andrew Bennetts)
924
* Removed ``Repository.text_store``, ``control_store``, etc. Instead,
925
there are new attributes ``texts, inventories, revisions,
926
signatures``, each of which is a ``VersionedFiles``. See the
927
Repository docstring for more details.
930
* ``Branch.pull`` now accepts an ``_override_hook_target`` optional
931
parameter. If you have a subclass of ``Branch`` that overrides
932
``pull`` then you should add this parameter. (Andrew Bennetts)
934
* ``bzrlib.check.check()`` has been deprecated in favour of the more
935
aptly-named ``bzrlib.check.check_branch()``.
938
* ``Tree.print_file`` and ``Repository.print_file`` are deprecated.
939
These methods are bad APIs because they write directly to sys.stdout.
940
bzrlib does not use them internally, and there are no direct tests
941
for them. (Alexander Belchenko)
945
* ``cat`` command no longer uses ``Tree.print_file()`` internally.
946
(Alexander Belchenko)
948
* New class method ``BzrDir.open_containing_tree_branch_or_repository``
949
which eases the discovery of the tree, the branch and the repository
950
containing a given location.
953
* New ``versionedfile.KeyMapper`` interface to abstract out the access to
954
underlying .knit/.kndx etc files in repositories with partitioned
955
storage. (Robert Collins)
957
* Obsolete developer-use command ``weave-join`` has been removed.
960
* ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed,
961
to support new ``VersionedFiles`` layering.
965
bzr 1.6beta2 2008-06-10
966
-----------------------
968
This release contains further progress towards our 1.6 goals of shallow
969
repositories, and contains a fix for some user-affecting bugs in the
970
repository layer. Building working trees during checkout and branch is
975
* Avoid KnitCorrupt error extracting inventories from some repositories.
976
(The data is not corrupt; an internal check is detecting a problem
977
reading from the repository.)
978
(Martin Pool, Andrew Bennetts, Robert Collins, #234748)
980
* ``bzr status`` was breaking if you merged the same revision twice.
981
(John Arbash Meinel, #235407)
983
* Fix infinite loop consuming 100% CPU when a connection is lost while
984
reading a response body via the smart protocol v1 or v2.
987
* Inserting a bundle which changes the contents of a file with no trailing
988
end of line, causing a knit snapshot in a 'knits' repository will no longer
989
cause KnitCorrupt. (Robert Collins)
991
* ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s
992
pull result. It was instead just returning None, which breaks ``bzr
993
pull``. (John Arbash Meinel, #238149)
995
* Sanitize branch nick before using it as an attachment filename in
996
``bzr send``. (Lukáš Lalinský, #210218)
998
* Squash ``inv_entry.symlink_target`` to a plain string when
999
generating DirState details. This prevents from getting a
1000
``UnicodeError`` when you have symlinks and non-ascii filenames.
1001
(John Arbash Meinel, #135320)
1005
* Added the 'alias' command to set/unset and display aliases. (Tim Penhey)
1007
* ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three
1008
now quote paths where required). Added ``--null`` option to ``added`` and
1009
``modified`` (for null-separated unknowns, use ``ls --unknown --null``)
1012
* Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees.
1013
(Ian Clatworthy, Aaron Bentley)
1017
* Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy)
1021
* Fix the test HTTPServer to be isolated from chdir calls made while it is
1022
running, allowing it to be used in blackbox tests. (Robert Collins)
1026
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
1027
which are in the ancestry of other revisions. So if you merge the same
1028
tree twice, or merge an ancestor of an existing merge, it will only
1029
record the newest. (If you merge a descendent, it will replace its
1030
ancestor). (John Arbash Meinel, #235407)
1032
* ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd,
1033
through the derived classes do not. (Aaron Bentley)
1037
* ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control
1038
creating stacked branches. (Robert Collins)
1040
* Knit record serialisation is now stricter on what it will accept, to
1041
guard against potential internal bugs, or broken input. (Robert Collins)
1044
bzr 1.6beta1 2008-06-02
1045
-----------------------
1048
Commands that work on the revision history such as push, pull, missing,
1049
uncommit and log are now substantially faster. This release adds a
1050
translation of some of the user documentation into Spanish. (Contributions of
1051
other translations would be very welcome.) Bazaar 1.6beta1 adds a new network
1052
protocol which is used by default and which allows for more efficient transfers
1053
and future extensions.
1056
NOTES WHEN UPGRADING:
1058
* There is a new version of the network protocol used for bzr://, bzr+ssh://
1059
and bzr+http:// connections. This will allow more efficient requests and
1060
responses, and more graceful fallback when a server is too old to
1061
recognise a request from a more recent client. Bazaar 1.6 will
1062
interoperate with 0.16 and later versions, but servers should be upgraded
1063
when possible. Bazaar 1.6 no longer interoperates with 0.15 and earlier via
1064
these protocols. Use alternatives like SFTP or upgrade those servers.
1065
(Andrew Bennetts, #83935)
1069
* Deprecation warnings will not be suppressed when running ``bzr selftest``
1070
so that developers can see if their code is using deprecated functions.
1071
(John Arbash Meinel)
1075
* Adding ``-Derror`` will now display a traceback when a plugin fails to
1076
load. (James Westby)
1080
* ``bzr branch/push/pull -r XXX`` now have a helper function for finding
1081
the revno of the new revision (``Graph.find_distance_to_null``). This
1082
should make something like ``bzr branch -r -100`` in a shared, no-trees
1083
repository much snappier. (John Arbash Meinel)
1085
* ``bzr log --short -r X..Y`` no longer needs to access the full revision
1086
history. This makes it noticeably faster when logging the last few
1087
revisions. (John Arbash Meinel)
1089
* ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``.
1090
(Jerad Cramp, #165086)
1092
* ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
1093
``Graph.find_differences`` to determine missing revisions without having
1094
to search the whole ancestry. (John Arbash Meinel, #174625)
1096
* ``bzr uncommit`` now uses partial history access, rather than always
1097
extracting the full revision history for a branch. This makes it
1098
resolve the appropriate revisions much faster (in testing it drops
1099
uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one
1100
step closer to not using full revision history.
1101
(John Arbash Meinel, #172649)
1105
* ``bzr merge --lca`` should handle when two revisions have no common
1106
ancestor other than NULL_REVISION. (John Arbash Meinel, #235715)
1108
* ``bzr status`` was breaking if you merged the same revision twice.
1109
(John Arbash Meinel, #235407)
1111
* ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
1112
fails. (Andrew Bennetts, #234229)
1114
* Correctly track the base URL of a smart medium when using bzr+http://
1115
URLs, which was causing spurious "No repository present" errors with
1116
branches in shared repositories accessed over bzr+http.
1117
(Andrew Bennetts, #230550)
1119
* Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
1120
implementations have the attribute. Fixes 'PyCurlTransport' object has no
1121
attribute '_remote_is_at_least_1_2' attribute errors.
1122
(Andrew Bennetts, #220806)
1124
* Failure to delete an obsolete pack file should just give a warning
1125
message, not a fatal error. It may for example fail if the file is still
1126
in use by another process.
1129
* Fix MemoryError during large fetches over HTTP by limiting the amount of
1130
data we try to read per ``recv`` call. The problem was observed with
1131
Windows and a proxy, but might affect other environments as well.
1132
(Eric Holmberg, #215426)
1134
* Handle old merge directives correctly in Merger.from_mergeable. Stricter
1135
get_parent_map requirements exposed a latent bug here. (Aaron Bentley)
1137
* Issue a warning and ignore passwords declared in authentication.conf when
1138
used for an ssh scheme (sftp or bzr+ssh).
1139
(Vincent Ladeuil, #203186)
1141
* Make both http implementations raise appropriate exceptions on 403
1142
Forbidden when POSTing smart requests.
1143
(Vincent Ladeuil, #230223)
1145
* Properly *title* header names in http requests instead of capitalizing
1147
(Vincent Ladeuil, #229076)
1149
* The "Unable to obtain lock" error message now also suggests using
1150
``bzr break-lock`` to fix it. (Martin Albisetti, #139202)
1152
* Treat an encoding of '' as ascii; this can happen when bzr is run
1153
under vim on Mac OS X.
1154
(Neil Martinsen-Burrell)
1156
* ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in
1157
scope. (Daniel Fischer #235687)
1161
* Added directory structure and started translation of docs in spanish.
1162
(Martin Albisetti, Lucio Albenga)
1164
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
1165
on the plugin and integration chapters of the User Guide.
1168
* More Bazaar developer documentation about packaging and release process,
1169
and about use of Python reprs.
1170
(Martin Pool, Martin Albisetti)
1172
* Updated Tortise strategy document. (Mark Hammond)
1176
* ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed.
1179
* Fix the test HTTPServer to be isolated from chdir calls made while it is
1180
running, allowing it to be used in blackbox tests. (Robert Collins)
1182
* New helper function for splitting test suites
1183
``split_suite_by_condition``. (Robert Collins)
1187
* ``Branch.missing_revisions`` has been deprecated. Similar functionality
1188
can be obtained using ``bzrlib.missing.find_unmerged``. The api was
1189
fairly broken, and the function was unused, so we are getting rid of it.
1190
(John Arbash Meinel)
1194
* ``Branch.abspath`` is deprecated; use the Tree or Transport
1195
instead. (Martin Pool)
1197
* ``Branch.update_revisions`` now takes an optional ``Graph``
1198
object. This can be used by ``update_revisions`` when it is
1199
checking ancestry, and allows callers to prefer request to go to a
1200
local branch. (John Arbash Meinel)
1202
* Branch, Repository, Tree and BzrDir should expose a Transport as an
1203
attribute if they have one, rather than having it indirectly accessible
1204
as ``.control_files._transport``. This doesn't add a requirement
1205
to support a Transport in cases where it was not needed before;
1206
it just simplifies the way it is reached. (Martin Pool)
1208
* ``bzr missing --mine-only`` will return status code 0 if you have no
1209
new revisions, but the remote does. Similarly for ``--theirs-only``.
1210
The new code only checks one side, so it doesn't know if the other
1211
side has changes. This seems more accurate with the request anyway.
1212
It also changes the output to print '[This|Other] branch is up to
1213
date.' rather than displaying nothing. (John Arbash Meinel)
1215
* ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
1216
are now deprecated in favor of using Transport operations.
1219
* Many methods on ``VersionedFile``, ``Repository`` and in
1220
``bzrlib.revision`` deprecated before bzrlib 1.5 have been removed.
1223
* ``RevisionSpec.wants_revision_history`` can be set to False for a given
1224
``RevisionSpec``. This will disable the existing behavior of passing in
1225
the full revision history to ``self._match_on``. Useful for specs that
1226
don't actually need access to the full history. (John Arbash Meinel)
1228
* The constructors of ``SmartClientMedium`` and its subclasses now require a
1229
``base`` parameter. ``SmartClientMedium`` implementations now also need
1230
to provide a ``remote_path_from_transport`` method. (Andrew Bennetts)
1232
* The default permissions for creating new files and directories
1233
should now be obtained from ``BzrDir._get_file_mode()`` and
1234
``_get_dir_mode()``, rather than from LockableFiles. The ``_set_file_mode``
1235
and ``_set_dir_mode`` variables on LockableFiles which were advertised
1236
as a way for plugins to control this are no longer consulted.
1239
* ``VersionedFile.join`` is deprecated. This method required local
1240
instances of both versioned file objects and was thus hostile to being
1241
used for streaming from a smart server. The new get_record_stream and
1242
insert_record_stream are meant to efficiently replace this method.
1245
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
1246
which are in the ancestry of other revisions. So if you merge the same
1247
tree twice, or merge an ancestor of an existing merge, it will only
1248
record the newest. (If you merge a descendent, it will replace its
1249
ancestor). (John Arbash Meinel, #235407)
1251
* ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
1258
This release of Bazaar includes several updates to the documentation, and fixes
1259
to prepare for making rich root support the default format. Many bugs have been
1260
squashed, including fixes to log, bzr+ssh inter-operation with older servers.
1264
* Suppress deprecation warnings when bzrlib is a 'final' release. This way
1265
users of packaged software won't be bothered with DeprecationWarnings,
1266
but developers and testers will still see them. (John Arbash Meinel)
1270
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
1271
on the plugin and integration chapters of the User Guide.
1275
bzr 1.5rc1 2008-05-09
1276
---------------------
1278
NOTES WHEN UPGRADING:
1282
* Broader support of GNU Emacs mail clients. Set
1283
``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
1284
bundle in a mail buffer according to the value of ``mail-user-agent``
1285
variable. (Xavier Maillard)
1291
* Diff now handles revision specs like "branch:" and "submit:" more
1292
efficiently. (Aaron Bentley, #202928)
1294
* More friendly error given when attempt to start the smart server
1295
on an address already in use. (Andrea Corbellini, #200575)
1297
* Pull completes much faster when there is nothing to pull.
1302
* Authentication.conf can define sections without password.
1303
(Vincent Ladeuil, #199440)
1305
* Avoid muttering every time a child update does not cause a progress bar
1306
update. (John Arbash Meinel, #213771)
1308
* ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
1309
to fix when a Branch has a non-canonical mainline history. ``bzr check``
1310
also detects this condition. (John Arbash Meinel, #177855)
1312
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
1313
for ``revision_id=None`` which was not a string.
1314
(John Arbash Meinel, #211661)
1316
* ``bzr commit`` now works with Microsoft's FTP service.
1319
* Catch definitions outside sections in authentication.conf.
1320
(Vincent Ladeuil, #217650)
1322
* Conversion from non-rich-root to rich-root(-pack) updates inventory
1323
sha1s, even when bundles are used. (Aaron Bentley, #181391)
1325
* Conversion from non-rich-root to rich-root(-pack) works correctly even
1326
though search keys are not topologically sorted. (Aaron Bentley)
1328
* Conversion from non-rich-root to rich-root(-pack) works even when a
1329
parent revision has a different root id. (Aaron Bentley, #177874)
1331
* Disable strace testing until strace is fixed (see bug #103133) and emit a
1332
warning when selftest ends to remind us of leaking tests.
1333
(Vincent Ladeuil, #226769)
1335
* Fetching all revisions from a repository does not cause pack collisions.
1336
(Robert Collins, Aaron Bentley, #212908)
1338
* Fix error about "attempt to add line-delta in non-delta knit".
1339
(Andrew Bennetts, #217701)
1341
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
1342
if the remote server was < version 1.2. This was due to a bug in the
1343
RemoteRepository.get_parent_map() fallback code.
1344
(John Arbash Meinel, #214894)
1346
* Remove leftover code in ``bzr_branch`` that inappropriately creates
1347
a ``branch-name`` file in the branch control directory.
1350
* Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
1351
rebinding the socket when starting the server a second time.
1352
(John Arbash Meinel, Martin Pool, #164288)
1354
* Severe performance degradation in fetching from knit repositories to
1355
knits and packs due to parsing the entire revisions.kndx on every graph
1356
walk iteration fixed by using the Repository.get_graph API. There was
1357
another regression in knit => knit fetching which re-read the index for
1358
every revision each side had in common.
1359
(Robert Collins, John Arbash Meinel)
1361
* When logging the changes to a particular file, there was a bug if there
1362
were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
1364
* xs4all's ftp server returns a temporary error when trying to list an
1365
empty directory, rather than returning an empty list. Adding a
1366
workaround so that we don't get spurious failures.
1367
(John Arbash Meinel, #215522)
1371
* Expanded the User Guide to include new chapters on popular plugins and
1372
integrating Bazaar into your environment. The *Best practices* chapter
1373
was renamed to *Miscellaneous topics* as suggested by community
1374
feedback as well. (Ian Clatworthy)
1376
* Document outlining strategies for TortoiseBzr. (Mark Hammond)
1378
* Improved the documentation on hooks. (Ian Clatworthy)
1380
* Update authentication docs regarding ssh agents.
1381
(Vincent Ladeuil, #183705)
1385
* Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
1386
make it easy to identify which test spawned a thread with an unhandled
1387
exception. (Andrew Bennetts)
1389
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
1390
options for debugging tests, these are complementary to the the -D
1391
options. The ``-Dselftest_debug`` global option has been replaced by the
1392
``-E=allow_debug`` option for selftest. (Andrew Bennetts)
1394
* Parameterised test ids are preserved correctly to aid diagnosis of test
1395
failures. (Robert Collins, Andrew Bennetts)
1397
* selftest now accepts --starting-with <id> to load only the tests whose id
1398
starts with the one specified. This greatly speeds up running the test
1399
suite on a limited set of tests and can be used to run the tests for a
1400
single module, a single class or even a single test. (Vincent Ladeuil)
1402
* The test suite modules have been modified to define load_tests() instead
1403
of test_suite(). That speeds up selective loading (via --load-list)
1404
significantly and provides many examples on how to migrate (grep for
1405
load_tests). (Vincent Ladeuil)
1409
* ``Hooks.install_hook`` is now deprecated in favour of
1410
``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
1411
avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
1413
* Implement xml8 serializer. (Aaron Bentley)
1415
* New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making
1416
deprecation wrappers. (Martin Pool)
1418
* ``Repository.revision_parents`` is now deprecated in favour of
1419
``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
1421
* The Python ``assert`` statement is no longer used in Bazaar source, and
1422
a test checks this. (Martin Pool)
1426
* ``bzrlib.status.show_pending_merges`` requires the repository to be
1427
locked by the caller. Callers should have been doing it anyway, but it
1428
will now raise an exception if they do not. (John Arbash Meinel)
1430
* Repository.get_data_stream, Repository.get_data_stream_for_search(),
1431
Repository.get_deltas_for_revsions(), Repository.revision_trees(),
1432
Repository.item_keys_introduced_by() no longer take read locks.
1435
* ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
1436
towards removing LockableFiles and ``.control_files`` entirely.
1439
* Methods deprecated prior to 1.1 have been removed.
1446
This release of Bazaar includes handy improvements to the speed of log and
1447
status, new options for several commands, improved documentation, and better
1448
hooks, including initial code for server-side hooks. A number of bugs have
1449
been fixed, particularly in interoperability between different formats or
1450
different releases of Bazaar over there network. There's been substantial
1451
internal work in both the repository and network code to enable new features
1452
and faster performance.
1456
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
1457
if the remote server was < version 1.2. This was due to a bug in the
1458
RemoteRepository.get_parent_map() fallback code.
1459
(John Arbash Meinel, Andrew Bennetts, #214894)
1462
bzr 1.4rc2 2008-04-21
1463
---------------------
1467
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
1468
for ``revision_id=None`` which was not a string.
1469
(John Arbash Meinel, #211661)
1471
* Fixed a bug in handling ghost revisions when logging changes in a
1472
particular file. (John Arbash Meinel, #209948)
1474
* Fix error about "attempt to add line-delta in non-delta knit".
1475
(Andrew Bennetts, #205156)
1477
* Fixed performance degradation in fetching from knit repositories to
1478
knits and packs due to parsing the entire revisions.kndx on every graph
1479
walk iteration fixed by using the Repository.get_graph API. There was
1480
another regression in knit => knit fetching which re-read the index for
1481
every revision each side had in common.
1482
(Robert Collins, John Arbash Meinel)
1485
bzr 1.4rc1 2008-04-11
1486
---------------------
1490
* bzr main script cannot be imported (Benjamin Peterson)
1492
* On Linux bzr additionally looks for plugins in arch-independent site
1493
directory. (Toshio Kuratomi)
1495
* The ``set_rh`` branch hook is now deprecated. Please migrate
1496
any plugins using this hook to use an alternative, e.g.
1497
``post_change_branch_tip``. (Ian Clatworthy)
1499
* When a plugin cannot be loaded as the file path is not a valid
1500
python module name bzr will now strip a ``bzr_`` prefix from the
1501
front of the suggested name, as many plugins (e.g. bzr-svn)
1502
want to be installed without this prefix. It is a common mistake
1503
to have a folder named "bzr-svn" for that plugin, especially
1504
as this is what bzr branch lp:bzr-svn will give you. (James Westby,
1507
* UniqueIntegerBugTracker now appends bug-ids instead of joining
1508
them to the base URL. Plugins that register bug trackers may
1509
need a trailing / added to the base URL if one is not already there.
1510
(James Wesby, Andrew Cowie)
1514
* Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
1516
* ``status`` now accepts ``--no-pending`` to show the status without
1517
listing pending merges, which speeds up the command a lot on large
1518
histories. (James Westby, #202830)
1520
* New ``post_change_branch_tip`` hook that is called after the
1521
branch tip is moved but while the branch is still write-locked.
1522
See the User Reference for signature details.
1523
(Ian Clatworthy, James Henstridge)
1525
* Reconfigure can convert a branch to be standalone or to use a shared
1526
repository. (Aaron Bentley)
1530
* The smart protocol now has support for setting branches' revision info
1531
directly. This should make operations like push slightly faster, and is a
1532
step towards server-side hooks. The new request method name is
1533
``Branch.set_last_revision_info``. (Andrew Bennetts)
1535
* ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
1536
(James Westby, Andrew Cowie)
1538
* ``bzr switch`` will attempt to find branches to switch to relative to the
1539
current branch. E.g. ``bzr switch branchname`` will look for
1540
``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
1543
* Diff is now more specific about execute-bit changes it describes
1546
* Fetching data over HTTP is a bit faster when urllib is used. This is done
1547
by forcing it to recv 64k at a time when reading lines in HTTP headers,
1548
rather than just 1 byte at a time. (Andrew Bennetts)
1550
* Log --short and --line are much faster when -r is not specified.
1553
* Merge is faster. We no longer check a file's existence unnecessarily
1554
when merging the execute bit. (Aaron Bentley)
1556
* ``bzr status`` on an explicit list of files no longer shows pending
1557
merges, making it much faster on large trees. (John Arbash Meinel)
1559
* The launchpad directory service now warns the user if they have not set
1560
their launchpad login and are trying to resolve a URL using it, just
1561
in case they want to do a write operation with it. (James Westby)
1563
* The smart protocol client is slightly faster, because it now only queries
1564
the server for the protocol version once per connection. Also, the HTTP
1565
transport will now automatically probe for and use a smart server if
1566
one is present. You can use the new ``nosmart+`` transport decorator
1567
to get the old behaviour. (Andrew Bennetts)
1569
* The ``version`` command takes a ``--short`` option to print just the
1570
version number, for easier use in scripts. (Martin Pool)
1572
* Various operations with revision specs and commands that calculate
1573
revnos and revision ids are faster. (John A. Meinel, Aaron Bentley)
1577
* Add ``root_client_path`` parameter to SmartWSGIApp and
1578
SmartServerRequest. This makes it possible to publish filesystem
1579
locations that don't exactly match URL paths. SmartServerRequest
1580
subclasses should use the new ``translate_client_path`` and
1581
``transport_from_client_path`` methods when dealing with paths received
1582
from a client to take this into account. (Andrew Bennetts, #124089)
1584
* ``bzr mv a b`` can be now used also to rename previously renamed
1585
directories, not only files. (Lukáš Lalinský, #107967)
1587
* ``bzr uncommit --local`` can now remove revisions from the local
1588
branch to be symmetric with ``bzr commit --local``.
1589
(John Arbash Meinel, #93412)
1591
* Don't ask for a password if there is no real terminal.
1592
(Alexander Belchenko, #69851)
1594
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
1595
fetching revisions from a knit to pack repository or vice versa using
1596
bzr:// (including over http or ssh).
1597
(#208418, Andrew Bennetts, Martin Pool, Robert Collins)
1599
* Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy. Also
1600
fixed ``_get_bytes`` in the same module to use the push back buffer.
1601
These bugs had no known impact in normal use, but were problematic for
1602
developers working on the code, and were likely to cause real bugs sooner
1603
or later. (Andrew Bennetts)
1605
* Implement handling of basename parameter for DefaultMail. (James Westby)
1607
* Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
1608
(Andrew Bennetts, #213425)
1610
* Launchpad locations (lp: URLs) can be pulled. (Aaron Bentley, #181945)
1612
* Merges that add files to deleted root directories complete. They
1613
do create conflicts. (Aaron Bentley, #210092)
1615
* vsftp's return ``550 RNFR command failed.`` supported.
1616
(Marcus Trautwig, #129786)
1620
* Improved documentation on send/merge relationship. (Peter Schuller)
1622
* Minor fixes to the User Guide. (Matthew Fuller)
1624
* Reduced the evangelism in the User Guide. (Ian Clatworthy)
1626
* Added Integrating with Bazaar document for developers (Martin Albisetti)
1630
* Attempting to pull data from a ghost aware repository (e.g. knits) into a
1631
non-ghost aware repository such as weaves will now fail if there are
1632
ghosts. (Robert Collins)
1634
* ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
1635
now requires the ``index`` and ``access_method`` parameters to be
1636
supplied. A compatible shim has been kept in the new function
1637
``knit.make_file_knit``. (Robert Collins)
1639
* Log formatters must now provide log_revision instead of show and
1640
show_merge_revno methods. The latter had been deprecated since the 0.17
1641
release. (James Westby)
1643
* ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
1646
* ``osutils.backup_file`` is removed. (Alexander Belchenko)
1648
* ``Repository.get_revision_graph`` is deprecated, with no replacement
1649
method. The method was size(history) and not desirable. (Robert Collins)
1651
* ``revision.revision_graph`` is deprecated, with no replacement function.
1652
The function was size(history) and not desirable. (Robert Collins)
1654
* ``Transport.get_shared_medium`` is deprecated. Use
1655
``Transport.get_smart_medium`` instead. (Andrew Bennetts)
1657
* ``VersionedFile`` factories now accept a get_scope parameter rather
1658
than using a call to ``transaction_finished``, allowing the removal of
1659
the fixed list of versioned files per repository. (Robert Collins)
1661
* ``VersionedFile.annotate_iter`` is deprecated. While in principle this
1662
allowed lower memory use, all users of annotations wanted full file
1663
annotations, and there is no storage format suitable for incremental
1664
line-by-line annotation. (Robert Collins)
1666
* ``VersionedFile.clone_text`` is deprecated. This performance optimisation
1667
is no longer used - reading the content of a file that is undergoing a
1668
file level merge to identical state on two branches is rare enough, and
1669
not expensive enough to special case. (Robert Collins)
1671
* ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
1672
These methods added significant complexity to the ``VersionedFile``
1673
implementation, but were only used for optimising fetches from knits -
1674
which can be done from outside the knit layer, or via a caching
1675
decorator. As knits are not the default format, the complexity is no
1676
longer worth paying. (Robert Collins)
1678
* ``VersionedFile.create_empty`` is removed. This method presupposed a
1679
sensible mapping to a transport for individual files, but pack backed
1680
versioned files have no such mapping. (Robert Collins)
1682
* ``VersionedFile.get_graph`` is deprecated, with no replacement method.
1683
The method was size(history) and not desirable. (Robert Collins)
1685
* ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
1686
replacement method. The method was size(history) and not desirable.
1689
* ``VersionedFile.get_parents`` is deprecated, please use
1690
``VersionedFile.get_parent_map``. (Robert Collins)
1692
* ``VersionedFile.get_sha1`` is deprecated, please use
1693
``VersionedFile.get_sha1s``. (Robert Collins)
1695
* ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
1696
and unused outside of a single test. (Robert Collins)
1698
* ``VersionedFile.iter_parents`` is now deprecated in favour of
1699
``get_parent_map`` which can be used to instantiate a Graph on a
1700
VersionedFile. (Robert Collins)
1702
* ``VersionedFileStore`` no longer uses the transaction parameter given
1703
to most methods; amongst other things this means that the
1704
get_weave_or_empty method no longer guarantees errors on a missing weave
1705
in a readonly transaction, and no longer caches versioned file instances
1706
which reduces memory pressure (but requires more careful management by
1707
callers to preserve performance). (Robert Collins)
1711
* New -Dselftest_debug flag disables clearing of the debug flags during
1712
tests. This is useful if you want to use e.g. -Dhpss to help debug a
1713
failing test. Be aware that using this feature is likely to cause
1714
spurious test failures if used with the full suite. (Andrew Bennetts)
1716
* selftest --load-list now uses a new more agressive test loader that will
1717
avoid loading unneeded modules and building their tests. Plugins can use
1718
this new loader by defining a load_tests function instead of a test_suite
1719
function. (a forthcoming patch will provide many examples on how to
1723
* selftest --load-list now does some sanity checks regarding duplicate test
1724
IDs and tests present in the list but not found in the actual test suite.
1727
* Slightly more concise format for the selftest progress bar, so there's
1728
more space to show the test name. (Martin Pool) ::
1730
[2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
1732
* The test suite takes much less memory to run, and is a bit faster. This
1733
is done by clearing most attributes of TestCases after running them, if
1734
they succeeded. (Andrew Bennetts)
1738
* Added ``_build_client_protocol`` to ``_SmartClient``. (Andrew Bennetts)
1740
* Added basic infrastructure for automatic plugin suggestion.
1743
* If a ``LockableFiles`` object is not explicitly unlocked (for example
1744
because of a missing ``try/finally`` block, it will give a warning but
1745
not automatically unlock itself. (Previously they did.) This
1746
sometimes caused knock-on errors if for example the network connection
1747
had already failed, and should not be relied upon by code.
1748
(Martin Pool, #109520)
1750
* ``make dist`` target to build a release tarball, and also
1751
``check-dist-tarball`` and ``dist-upload-escudero``. (Martin Pool)
1753
* The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
1754
classes will now raise ``UnknownSmartMethod`` when appropriate, so that
1755
callers don't need to try distinguish unknown request errors from other
1756
errors. (Andrew Bennetts)
1758
* ``set_make_working_trees`` is now implemented provided on all repository
1759
implementations (Aaron Bentley)
1761
* ``VersionedFile`` now has a new method ``get_parent_map`` which, like
1762
``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
1765
bzr 1.3.1 2008-04-09
1766
--------------------
1768
No changes from 1.3.1rc1.
1771
bzr 1.3rc1 2008-04-04
1772
---------------------
1776
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
1777
fetching revisions from a knit to pack repository or vice versa using
1778
bzr:// (including over http or ssh).
1779
(#208418, Andrew Bennetts, Martin Pool, Robert Collins)
1785
Bazaar has become part of the GNU project <http://www.gnu.org>
1787
Many operations that act on history, including ``log`` and ``annotate`` are now
1788
substantially faster. Several bugs have been fixed and several new options and
1789
features have been added.
1793
* Avoid spurious failure of ``TestVersion.test_version`` matching
1795
(#202778, Martin Pool)
1798
bzr 1.3rc1 2008-03-16
1799
---------------------
1801
NOTES WHEN UPGRADING:
1803
* The backup directory created by ``upgrade`` is now called
1804
``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
1808
* A new repository format 'development' has been added. This format will
1809
represent the latest 'in-progress' format that the bzr developers are
1810
interested in getting early-adopter testing and feedback on.
1811
``doc/developers/development-repo.txt`` has detailed information.
1814
* BZR_LOG environment variable controls location of .bzr.log trace file.
1815
User can suppress writing messages to .bzr.log by using '/dev/null'
1816
filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
1817
is not defined but BZR_HOME is defined then default location
1818
for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
1819
(Alexander Belchenko)
1821
* ``launchpad`` builtin plugin now shipped as separate part in standalone
1822
bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
1823
and standalone installer allows user to skip installation of this plugin.
1824
(Alexander Belchenko)
1826
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
1828
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
1829
missing final fields. (Martin Pool)
1833
* ``branch`` and ``checkout`` can hard-link working tree files, which is
1834
faster and saves space. (Aaron Bentley)
1836
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
1837
the submit branch to determine the email address to send to.
1842
* BzrBranch._lefthand_history is faster on pack repos. (Aaron Bentley)
1844
* Branch6.generate_revision_history is faster. (Aaron Bentley)
1846
* Directory services can now be registered, allowing special URLs to be
1847
dereferenced into real URLs. This is a generalization and cleanup of
1848
the lp: transport lookup. (Aaron Bentley)
1850
* Merge directives that are automatically attached to emails have nicer
1851
filenames, based on branch-nick + revno. (Aaron Bentley)
1853
* ``push`` has a ``--revision`` option, to specify what revision to push up
1854
to. (Daniel Watkins)
1856
* Significantly reducing execution time and network traffic for trivial
1857
case of running ``bzr missing`` command for two identical branches.
1858
(Alexander Belchenko)
1860
* Speed up operations that look at the revision graph (such as 'bzr log').
1861
``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
1862
extract the revision history. This allows filtering ghosts while
1863
stepping instead of needing to peek ahead. (John Arbash Meinel)
1865
* The ``hooks`` command lists installed hooks, to assist in debugging.
1868
* Updates to how ``annotate`` work. Should see a measurable improvement in
1869
performance and memory consumption for file with a lot of merges.
1870
Also, correctly handle when a line is introduced by both parents (it
1871
should be attributed to the first merge which notices this, and not
1872
to all subsequent merges.) (John Arbash Meinel)
1876
* Autopacking no longer holds the full set of inventory lines in
1877
memory while copying. For large repositories, this can amount to
1878
hundreds of MB of ram consumption.
1879
(Ian Clatworthy, John Arbash Meinel)
1881
* Cherrypicking when using ``--format=merge3`` now explictly excludes
1882
BASE lines. (John Arbash Meinel, #151731)
1884
* Disable plink's interactive prompt for password.
1885
(#107593, Dmitry Vasiliev)
1887
* Encode command line arguments from unicode to user_encoding before
1888
invoking external mail client in `bzr send` command.
1889
(#139318, Alexander Belchenko)
1891
* Fixed problem connecting to ``bzr+https://`` servers.
1892
(#198793, John Ferlito)
1894
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
1897
* Include quick-start-summary.svg file to python-based installer(s)
1898
for Windows. (#192924, Alexander Belchenko)
1900
* lca merge now respects specified files. (Aaron Bentley)
1902
* Make version-info --custom imply --all. (#195560, James Westby)
1904
* ``merge --preview`` now works for merges that add or modify
1905
symlinks (James Henstridge)
1907
* Redirecting the output from ``bzr merge`` (when the remembered
1908
location is used) now works. (John Arbash Meinel)
1910
* setup.py script explicitly checks for Python version.
1911
(Jari Aalto, Alexander Belchenko, #200569)
1913
* UnknownFormatErrors no longer refer to branches regardless of kind of
1914
unknown format. (Daniel Watkins, #173980)
1916
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
1917
signs, among other small improvements. (Matt Nordhoff, #86838)
1919
* Use correct indices when emitting LCA conflicts. This fixes IndexError
1920
errors. (Aaron Bentley, #196780)
1924
* Explained how to use ``version-info --custom`` in the User Guide.
1925
(Neil Martinsen-Burrell)
1929
* Support for loading plugins from zip files and
1930
``bzrlib.plugin.load_from_zip()`` function are deprecated.
1931
(Alexander Belchenko)
1935
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
1937
* The branch interface tests were invalid for branches using rich-root
1938
repositories because the empty string is not a valid file-id.
1943
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
1944
``Repository.get_revision_graph()`` except it includes ghosts and you can
1945
stop part-way through. (John Arbash Meinel)
1947
* New module ``tools/package_mf.py`` provide custom module finder for
1948
python packages (improves standard python library's modulefinder.py)
1949
used by ``setup.py`` script while building standalone bzr.exe.
1950
(Alexander Belchenko)
1952
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
1953
detecting external lookup support on remote repositories. This method is
1954
now attempted first when lookup up repositories, leading to an extra
1955
round trip on older bzr smart servers. (Robert Collins)
1957
* Repository formats have a new supported-feature attribute
1958
``supports_external_lookups`` used to indicate repositories which support
1959
falling back to other repositories when they have partial data.
1962
* ``Repository.get_revision_graph_with_ghosts`` and
1963
``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
1964
have been deprecated. (John Arbash Meinel)
1966
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
1967
``Tree._iter_changes``. The api is now considered stable and ready for
1968
external users. (Aaron Bentley)
1970
* The bzrdir format registry now accepts an ``alias`` keyword to
1971
register_metadir, used to indicate that a format name is an alias for
1972
some other format and thus should not be reported when describing the
1973
format. (Robert Collins)
1981
* Fix failing test in Launchpad plugin. (Martin Pool)
1984
bzr 1.2rc1 2008-02-13
1985
---------------------
1987
NOTES WHEN UPGRADING:
1989
* Fetching via the smart protocol may need to reconnect once during a fetch
1990
if the remote server is running Bazaar 1.1 or earlier, because the client
1991
attempts to use more efficient requests that confuse older servers. You
1992
may be required to re-enter a password or passphrase when this happens.
1993
This won't happen if the server is upgraded to Bazaar 1.2.
1998
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
1999
consistent with pack-0.92 fetching over SFTP). (Robert Collins)
2001
* Formatting of ``bzr plugins`` output is changed to be more human-
2002
friendly. Full path of plugins locations will be shown only with
2003
``--verbose`` command-line option. (Alexander Belchenko)
2005
* ``merge`` now prefers to use the submit branch, but will fall back to
2006
parent branch. For many users, this has no effect. But some users who
2007
pull and merge on the same branch will notice a change. This change
2008
makes it easier to work on a branch on two different machines, pulling
2009
between the machines, while merging from the upstream.
2010
``merge --remember`` can now be used to set the submit_branch.
2015
* ``merge --preview`` produces a diff of the changes merge would make,
2016
but does not actually perform the merge. (Aaron Bentley)
2018
* New smart method ``Repository.get_parent_map`` for getting revision
2019
parent data. This returns additional parent information topologically
2020
adjacent to the requested data to reduce round trip latency impacts.
2023
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
2024
revision data that streams revision data via a chunked encoding. This
2025
avoids buffering large amounts of revision data on the server and on the
2026
client, and sends less data to the server to request the revisions.
2027
(Andrew Bennetts, Robert Collins, #178353)
2029
* The launchpad plugin now handles lp urls of the form
2030
``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
2031
launchpad instance to do the resolution of the branch identities.
2032
This is primarily of use to Launchpad developers, but can also
2033
be used by other users who want to try out Launchpad as
2034
a branch location without messing up their public Launchpad
2035
account. Branches that are pushed to the staging environment
2036
have an expected lifetime of one day. (Tim Penhey)
2040
* Creating a new branch no longer tries to read the entire revision-history
2041
unnecessarily over smart server operations. (Robert Collins)
2043
* Fetching between different repository formats with compatible models now
2044
takes advantage of the smart method to stream revisions. (Andrew Bennetts)
2046
* The ``--coverage`` option is now global, rather specific to ``bzr
2047
selftest``. (Andrew Bennetts)
2049
* The ``register-branch`` command will now use the public url of the branch
2050
containing the current directory, if one has been set and no explicit
2051
branch is provided. (Robert Collins)
2053
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
2054
Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
2055
(John Arbash Meinel)
2059
* Calculate remote path relative to the shared medium in _SmartClient. This
2060
is related to the problem in bug #124089. (Andrew Bennetts)
2062
* Cleanly handle connection errors in smart protocol version two, the same
2063
way as they are handled by version one. (Andrew Bennetts)
2065
* Clearer error when ``version-info --custom`` is used without
2066
``--template`` (Lukáš Lalinský)
2068
* Don't raise UnavailableFeature during test setup when medusa is not
2069
available or tearDown is never called leading to nasty side effects.
2070
(#137823, Vincent Ladeuil)
2072
* If a plugin's test suite cannot be loaded, for example because of a syntax
2073
error in the tests, then ``selftest`` fails, rather than just printing
2074
a warning. (Martin Pool, #189771)
2076
* List possible values for BZR_SSH environment variable in env-variables
2077
help topic. (Alexander Belchenko, #181842)
2079
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
2080
popping the log redirection now precisely restores the previous state,
2081
which makes it easier to use bzr log output from other programs.
2082
TestCaseInTempDir no longer depends on a log redirection being established
2083
by the test framework, which lets bzr tests cleanly run from a normal
2085
(#124153, #124849, Martin Pool, Jonathan Lange)
2087
* ``pull --quiet`` is now more quiet, in particular a message is no longer
2088
printed when the remembered pull location is used. (James Westby,
2091
* ``reconfigure`` can safely be interrupted while fetching.
2092
(Aaron Bentley, #179316)
2094
* ``reconfigure`` preserves tags when converting to and from lightweight
2095
checkouts. (Aaron Bentley, #182040)
2097
* Stop polluting /tmp when running selftest.
2098
(Vincent Ladeuil, #123623)
2100
* Switch from NFKC => NFC for normalization checks. NFC allows a few
2101
more characters which should be considered valid.
2102
(John Arbash Meinel, #185458)
2104
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
2105
interacting badly with a bug on the launchpad side. (Robert Collins)
2107
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
2108
tracebacks. (Andrew Bennetts, #182849)
2112
* Classes implementing Merge types like Merge3Merger must now accept (and
2113
honour) a do_merge flag in their constructor. (Aaron Bentley)
2115
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
2116
to previously take a write lock (and start a write group.)
2121
* selftest now accepts --load-list <file> to load a test id list. This
2122
speeds up running the test suite on a limited set of tests.
2127
* Add a new method ``get_result`` to graph search objects. The resulting
2128
``SearchResult`` can be used to recreate the search later, which will
2129
be useful in reducing network traffic. (Robert Collins)
2131
* Use convenience function to check whether two repository handles
2132
are referring to the same repository in ``Repository.get_graph``.
2133
(Jelmer Vernooij, #187162)
2135
* Fetching now passes the find_ghosts flag through to the
2136
``InterRepository.missing_revision_ids`` call consistently for all
2137
repository types. This will enable faster missing revision discovery with
2138
bzr+ssh. (Robert Collins)
2140
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
2142
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
2143
``InterRepository.search_missing_revision_ids`` which returns a
2144
``bzrlib.graph.SearchResult`` suitable for making requests from the smart
2145
server. (Robert Collins)
2147
* New error ``NoPublicBranch`` for commands that need a public branch to
2148
operate. (Robert Collins)
2150
* New method ``iter_inventories`` on Repository for access to many
2151
inventories. This is primarily used by the ``revision_trees`` method, as
2152
direct access to inventories is discouraged. (Robert Collins)
2154
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
2155
which will split out ghosts and present parents into two separate sets,
2156
useful for code which needs to be aware of ghosts (e.g. fetching data
2157
cares about ghosts during revision selection). (Robert Collins)
2159
* Record a timestamp against each mutter to the trace file, relative to the
2160
first import of bzrlib. (Andrew Bennetts)
2162
* ``Repository.get_data_stream`` is now deprecated in favour of
2163
``Repository.get_data_stream_for_search`` which allows less network
2164
traffic when requesting data streams over a smart server. (Robert Collins)
2166
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
2167
removing one round trip on many network operations. (Robert Collins)
2169
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
2170
SFTPTransport and HttpTransportBase. (Andrew Bennetts)
2172
* Repository has a new method ``has_revisions`` which signals the presence
2173
of many revisions by returning a set of the revisions listed which are
2174
present. This can be done by index queries without reading data for parent
2175
revision names etc. (Robert Collins)
2181
(no changes from 1.1rc1)
2183
bzr 1.1rc1 2008-01-05
2184
---------------------
2188
* Dotted revision numbers have been revised. Instead of growing longer with
2189
nested branches the branch number just increases. (eg instead of 1.1.1.1.1
2190
we now report 1.2.1.) This helps scale long lived branches which have many
2191
feature branches merged between them. (John Arbash Meinel)
2193
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
2194
Use ``bzr diff branch1 --new branch2`` instead. This change has
2195
been made to remove the ambiguity where ``branch2`` is in fact a
2196
specific file to diff within ``branch1``.
2200
* New option to use custom template-based formats in ``bzr version-info``.
2203
* diff '--using' allows an external diff tool to be used for files.
2206
* New "lca" merge-type for fast everyday merging that also supports
2207
criss-cross merges. (Aaron Bentley)
2211
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
2214
* ``branch`` and ``checkout`` can now use files from a working tree to
2215
to speed up the process. For checkout, this requires the new
2216
--files-from flag. (Aaron Bentley)
2218
* ``bzr diff`` now sorts files in alphabetical order. (Aaron Bentley)
2220
* ``bzr diff`` now works on branches without working trees. Tree-less
2221
branches can also be compared to each other and to working trees using
2222
the new diff options ``--old`` and ``--new``. Diffing between branches,
2223
with or without trees, now supports specific file filtering as well.
2224
(Ian Clatworthy, #6700)
2226
* ``bzr pack`` now orders revision texts in topological order, with newest
2227
at the start of the file, promoting linear reads for ``bzr log`` and the
2228
like. This partially fixes #154129. (Robert Collins)
2230
* Merge directives now fetch prerequisites from the target branch if
2231
needed. (Aaron Bentley)
2233
* pycurl now handles digest authentication.
2236
* ``reconfigure`` can now convert from repositories. (Aaron Bentley)
2238
* ``-l`` is now a short form for ``--limit`` in ``log``. (Matt Nordhoff)
2240
* ``merge`` now warns when merge directives cause cherrypicks.
2243
* ``split`` now supported, to enable splitting large trees into smaller
2244
pieces. (Aaron Bentley)
2248
* Avoid AttributeError when unlocking a pack repository when an error occurs.
2249
(Martin Pool, #180208)
2251
* Better handle short reads when processing multiple range requests.
2252
(Vincent Ladeuil, #179368)
2254
* build_tree acceleration uses the correct path when a file has been moved.
2257
* ``commit`` now succeeds when a checkout and its master branch share a
2258
repository. (Aaron Bentley, #177592)
2260
* Fixed error reporting of unsupported timezone format in
2261
``log --timezone``. (Lukáš Lalinský, #178722)
2263
* Fixed Unicode encoding error in ``ignored`` when the output is
2264
redirected to a pipe. (Lukáš Lalinský)
2266
* Fix traceback when sending large response bodies over the smart protocol
2267
on Windows. (Andrew Bennetts, #115781)
2269
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
2270
pointed to different logical drives on Windows.
2271
(Alexander Belchenko, #90847)
2273
* HTTP test servers are now compatible with the http protocol version 1.1.
2274
(Vincent Ladeuil, #175524)
2276
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
2277
correctly, instead of erroring or attributing incorrect parents to ghosts.
2280
* ``merge --weave --uncommitted`` now works. (Aaron Bentley)
2282
* pycurl authentication handling was broken and incomplete. Fix handling of
2283
user:pass embedded in the urls.
2284
(Vincent Ladeuil, #177643)
2286
* Files inside non-directories are now handled like other conflict types.
2287
(Aaron Bentley, #177390)
2289
* ``reconfigure`` is able to convert trees into lightweight checkouts.
2292
* Reduce lockdir timeout to 0 when running ``bzr serve``. (Andrew Bennetts,
2295
* Test that the old ``version_info_format`` functions still work, even
2296
though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
2298
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
2301
* ``uncommit`` works even when the commit messages of revisions to be
2302
removed use characters not supported in the terminal encoding.
2305
* When dumb http servers return whole files instead of the requested ranges,
2306
read the remaining bytes by chunks to avoid overflowing network buffers.
2307
(Vincent Ladeuil, #175886)
2311
* Minor tweaks made to the bug tracker integration documentation.
2314
* Reference material has now be moved out of the User Guide and added
2315
to the User Reference. The User Reference has gained 4 sections as
2316
a result: Authenication Settings, Configuration Settings, Conflicts
2317
and Hooks. All help topics are now dumped into text format in the
2318
doc/en/user-reference directory for those who like browsing that
2319
information in their editor. (Ian Clatworthy)
2321
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
2325
* find_* methods available for BzrDirs, Branches and WorkingTrees.
2328
* Help topics can now be loaded from files.
2329
(Ian Clatworthy, Alexander Belchenko)
2331
* get_parent_map now always provides tuples as its output. (Aaron Bentley)
2333
* Parent Providers should now implement ``get_parent_map`` returning a
2334
dictionary instead of ``get_parents`` returning a list.
2335
``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
2338
* Patience Diff now supports arbitrary python objects, as long as they
2339
support ``hash()``. (John Arbash Meinel)
2341
* Reduce selftest overhead to establish test names by memoization.
2348
* Modules can now customise their tests by defining a ``load_tests``
2349
attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
2350
for the documentation on this attribute. (Robert Collins)
2352
* New helper function ``bzrlib.tests.condition_id_re`` which helps
2353
filter tests based on a regular expression search on the tests id.
2356
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
2357
filter tests based on class. (Robert Collins)
2359
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
2360
generalises the ``exclude_suite_by_re`` function. (Robert Collins)
2362
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
2363
generalises the ``filter_suite_by_re`` function. (Robert Collins)
2365
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
2366
TestSuite that does not contain tests from the input that matched a
2367
regular expression. (Robert Collins)
2369
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
2370
randomized copy of the input suite. (Robert Collins)
2372
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
2373
suite into two according to a regular expression. (Robert Collins)
2375
* Parametrize all http tests for the transport implementations, the http
2376
protocol versions (1.0 and 1.1) and the authentication schemes.
2379
* The ``exclude_pattern`` and ``random_order`` parameters to the function
2380
``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
2382
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
2383
replaced by the new helper methods added in this release. (Robert Collins)
2391
* More improvements and fixes to the User Guide. (Ian Clatworthy)
2393
* Add information on cherrypicking/rebasing to the User Guide.
2396
* Improve bug tracker integration documentation. (Ian Clatworthy)
2398
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
2399
to the rebasing section of the User Guide from Aaron Bentley.
2403
bzr 1.0rc3 2007-12-11
2404
---------------------
2408
* If a traceback occurs, users are now asked to report the bug
2409
through Launchpad (https://bugs.launchpad.net/bzr/), rather than
2410
by mail to the mailing list.
2415
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
2417
* Give more feedback during long http downloads by making readv deliver data
2418
as it arrives for urllib, and issue more requests for pycurl. High latency
2419
networks are better handled by urllib, the pycurl implementation give more
2420
feedback but also incur more latency.
2421
(Vincent Ladeuil, #173010)
2423
* Implement _make_parents_provider on RemoteRepository, allowing generating
2424
bundles against branches on a smart server. (Andrew Bennetts, #147836)
2428
* Improved user guide. (Ian Clatworthy)
2430
* The single-page quick reference guide is now available as a PDF.
2435
* readv urllib http implementation is now a real iterator above the
2436
underlying socket and deliver data as soon as it arrives. 'get' still
2437
wraps its output in a StringIO.
2441
bzr 1.0rc2 2007-12-07
2442
---------------------
2446
* Added a --coverage option to selftest. (Andrew Bennetts)
2448
* Annotate merge (merge-type=weave) now supports cherrypicking.
2451
* ``bzr commit`` now doesn't print the revision number twice. (Matt
2454
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
2455
define locations of bug trackers that are not directly supported by
2456
bzr or a plugin. The URL will be treated as a template and ``{id}``
2457
placeholders will be replaced by specific bug IDs. (Lukáš Lalinský)
2459
* Support logging single merge revisions with short and line log formatters.
2462
* User Guide enhanced with suggested readability improvements from
2463
Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
2465
* Quick Start Guide renamed to Quick Start Card, moved down in
2466
the catalog, provided in pdf and png format and updated to refer
2467
to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
2469
* ``switch`` can now be used on heavyweight checkouts as well as
2470
lightweight ones. After switching a heavyweight checkout, the
2471
local branch is a mirror/cache of the new bound branch and
2472
uncommitted changes in the working tree are merged. As a safety
2473
check, if there are local commits in a checkout which have not
2474
been committed to the previously bound branch, then ``switch``
2475
fails unless the ``--force`` option is given. This option is
2476
now also required if the branch a lightweight checkout is pointing
2477
to has been moved. (Ian Clatworthy)
2481
* New -Dhttp debug option reports http connections, requests and responses.
2484
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
2488
* Better error message when running ``bzr cat`` on a non-existant branch.
2489
(Lukáš Lalinský, #133782)
2491
* Catch OSError 17 (file exists) in final phase of tree transform and show
2493
(Alexander Belchenko, #111758)
2495
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
2496
allowing multiple GET requests to be issued if too many ranges are
2498
(Vincent Ladeuil, #172701)
2500
* Check for missing basis texts when fetching from packs to packs.
2501
(John Arbash Meinel, #165290)
2503
* Fall back to showing e-mail in ``log --short/--line`` if the
2504
committer/author has only e-mail. (Lukáš Lalinský, #157026)
2508
* Deprecate not passing a ``location`` argument to commit reporters'
2509
``started`` methods. (Matt Nordhoff)
2512
bzr 1.0rc1 2007-11-30
2513
---------------------
2515
NOTES WHEN UPGRADING:
2517
* The default repository format is now ``pack-0.92``. This
2518
default is used when creating new repositories with ``init`` and
2519
``init-repo``, and when branching over bzr+ssh or bzr+hpss.
2520
(See https://bugs.launchpad.net/bugs/164626)
2522
This format can be read and written by Bazaar 0.92 and later, and
2523
data can be transferred to and from older formats.
2525
To upgrade, please reconcile your repository (``bzr reconcile``), and then
2526
upgrade (``bzr upgrade``).
2528
``pack-0.92`` offers substantially better scaling and performance than the
2529
previous knits format. Some operations are slower where the code already
2530
had bad scaling characteristics under knits, the pack format makes such
2531
operations more visible as part of being more scalable overall. We will
2532
correct such operations over the coming releases and encourage the filing
2533
of bugs on any operation which you observe to be slower in a packs
2534
repository. One particular case that we do not intend to fix is pulling
2535
data from a pack repository into a knit repository over a high latency
2536
link; downgrading such data requires reinsertion of the file texts, and
2537
this is a classic space/time tradeoff. The current implementation is
2538
conservative on memory usage because we need to support converting data
2539
from any tree without problems.
2540
(Robert Collins, Martin Pool, #164476)
2544
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
2545
still available if user selects it explicitly with BZR_SSH environment
2546
variable. (Alexander Belchenko, workaround for bug #107593)
2548
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
2549
to enable the subtree functions (for example, for bzr-svn).
2550
See http://doc.bazaar-vcs.org/latest/developer/packrepo.html
2555
* New ``authentication.conf`` file holding the password or other credentials
2556
for remote servers. This can be used for ssh, sftp, smtp and other
2557
supported transports.
2560
* New rich-root and rich-root-pack formats, recording the same data about
2561
tree roots that's recorded for all other directories.
2562
(Aaron Bentley, #164639)
2564
* ``pack-0.92`` repositories can now be reconciled.
2565
(Robert Collins, #154173)
2567
* ``switch`` command added for changing the branch a lightweight checkout
2568
is associated with and updating the tree to reflect the latest content
2569
accordingly. This command was previously part of the BzrTools plug-in.
2570
(Ian Clatworthy, Aaron Bentley, David Allouche)
2572
* ``reconfigure`` command can now convert branches, trees, or checkouts to
2573
lightweight checkouts. (Aaron Bentley)
2577
* Commit updates the state of the working tree via a delta rather than
2578
supplying entirely new basis trees. For commit of a single specified file
2579
this reduces the wall clock time for commit by roughly a 30%.
2580
(Robert Collins, Martin Pool)
2582
* Commit with many automatically found deleted paths no longer performs
2583
linear scanning for the children of those paths during inventory
2584
iteration. This should fix commit performance blowing out when many such
2585
paths occur during commit. (Robert Collins, #156491)
2587
* Fetch with pack repositories will no longer read the entire history graph.
2588
(Robert Collins, #88319)
2590
* Revert takes out an appropriate lock when reverting to a basis tree, and
2591
does not read the basis inventory twice. (Robert Collins)
2593
* Diff does not require an inventory to be generated on dirstate trees.
2594
(Aaron Bentley, #149254)
2596
* New annotate merge (--merge-type=weave) implementation is fast on
2597
versionedfiles withough cached annotations, e.g. pack-0.92.
2602
* ``bzr merge`` now warns when it encounters a criss-cross merge.
2605
* ``bzr send`` now doesn't require the target e-mail address to be
2606
specified on the command line if an interactive e-mail client is used.
2609
* ``bzr tags`` now prints the revision number for each tag, instead of
2610
the revision id, unless --show-ids is passed. In addition, tags can be
2611
sorted chronologically instead of lexicographically with --sort=time.
2612
(Adeodato Simó, #120231)
2614
* Windows standalone version of bzr is able to load system-wide plugins from
2615
"plugins" subdirectory in installation directory. In addition standalone
2616
installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
2617
about paths and bzr version. (Alexander Belchenko, #129298)
2623
* A progress bar has been added for knitpack -> knitpack fetching.
2624
(Robert Collins, #157789, #159147)
2626
* Branching from a branch via smart server now preserves the repository
2627
format. (Andrew Bennetts, #164626)
2629
* ``commit`` is now able to invoke an external editor in a non-ascii
2630
directory. (Daniel Watkins, #84043)
2632
* Catch connection errors for ftp.
2633
(Vincent Ladeuil, #164567)
2635
* ``check`` no longer reports spurious unreferenced text versions.
2636
(Robert Collins, John A Meinel, #162931, #165071)
2638
* Conflicts are now resolved recursively by ``revert``.
2639
(Aaron Bentley, #102739)
2641
* Detect invalid transport reuse attempts by catching invalid URLs.
2642
(Vincent Ladeuil, #161819)
2644
* Deleting a file without removing it shows a correct diff, not a traceback.
2647
* Do no use timeout in HttpServer anymore.
2648
(Vincent Ladeuil, #158972).
2650
* Don't catch the exceptions related to the http pipeline status before
2651
retrying an http request or some programming errors may be masked.
2652
(Vincent Ladeuil, #160012)
2654
* Fix ``bzr rm`` to not delete modified and ignored files.
2655
(Lukáš Lalinský, #172598)
2657
* Fix exception when revisionspec contains merge revisons but log
2658
formatter doesn't support merge revisions. (Kent Gibson, #148908)
2660
* Fix exception when ScopeReplacer is assigned to before any members have
2661
been retrieved. (Aaron Bentley)
2663
* Fix multiple connections during checkout --lightweight.
2664
(Vincent Ladeuil, #159150)
2666
* Fix possible error in insert_data_stream when copying between
2667
pack repositories over bzr+ssh or bzr+http.
2668
KnitVersionedFile.get_data_stream now makes sure that requested
2669
compression parents are sent before any delta hunks that depend
2671
(Martin Pool, #164637)
2673
* Fix typo in limiting offsets coalescing for http, leading to
2674
whole files being downloaded instead of parts.
2675
(Vincent Ladeuil, #165061)
2677
* FTP server errors don't error in the error handling code.
2678
(Robert Collins, #161240)
2680
* Give a clearer message when a pull fails because the source needs
2682
(Martin Pool, #164443)
2684
* It is clearer when a plugin cannot be loaded because of its name, and a
2685
suggestion for an acceptable name is given. (Daniel Watkins, #103023)
2687
* Leave port as None in transport objects if user doesn't
2688
specify a port in urls.
2689
(vincent Ladeuil, #150860)
2691
* Make sure Repository.fetch(self) is properly a no-op for all
2692
Repository implementations. (John Arbash Meinel, #158333)
2694
* Mark .bzr directories as "hidden" on Windows.
2695
(Alexander Belchenko, #71147)
2697
* ``merge --uncommitted`` can now operate on a single file.
2698
(Aaron Bentley, Lukáš Lalinský, #136890)
2700
* Obsolete packs are now cleaned up by pack and autopack operations.
2701
(Robert Collins, #153789)
2703
* Operations pulling data from a smart server where the underlying
2704
repositories are not both annotated/both unannotated will now work.
2705
(Robert Collins, #165304).
2707
* Reconcile now shows progress bars. (Robert Collins, #159351)
2709
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
2710
properly. (John Arbash Meinel, #162486)
2712
* Removing an already-removed file reports the file does not exist. (Daniel
2715
* Rename on Windows is able to change filename case.
2716
(Alexander Belchenko, #77740)
2718
* Return error instead of a traceback for ``bzr log -r0``.
2719
(Kent Gibson, #133751)
2721
* Return error instead of a traceback when bzr is unable to create
2722
symlink on some platforms (e.g. on Windows).
2723
(Alexander Belchenko, workaround for #81689)
2725
* Revert doesn't crash when restoring a single file from a deleted
2726
directory. (Aaron Bentley)
2728
* Stderr output via logging mechanism now goes through encoded wrapper
2729
and no more uses utf-8, but terminal encoding instead. So all unicode
2730
strings now should be readable in non-utf-8 terminal.
2731
(Alexander Belchenko, #54173)
2733
* The error message when ``move --after`` should be used makes how to do so
2734
clearer. (Daniel Watkins, #85237)
2736
* Unicode-safe output from ``bzr info``. The output will be encoded
2737
using the terminal encoding and unrepresentable characters will be
2738
replaced by '?'. (Lukáš Lalinský, #151844)
2740
* Working trees are no longer created when pushing into a local no-trees
2741
repo. (Daniel Watkins, #50582)
2743
* Upgrade util/configobj to version 4.4.0.
2744
(Vincent Ladeuil, #151208).
2746
* Wrap medusa ftp test server as an FTPServer feature.
2747
(Vincent Ladeuil, #157752)
2751
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
2752
during very long time. (Alexander Belchenko)
2754
* The return value of
2755
``VersionedFile.iter_lines_added_or_present_in_versions`` has been
2756
changed. Previously it was an iterator of lines, now it is an iterator of
2757
(line, version_id) tuples. This change has been made to aid reconcile and
2758
fetch operations. (Robert Collins)
2760
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
2763
* The Repository format registry default has been removed; it was previously
2764
obsoleted by the bzrdir format default, which implies a default repository
2770
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
2771
``bzrlib.pack``. These classes provide more convenient APIs for generating
2772
and parsing containers from streams rather than from files. (Andrew
2775
* New module ``lru_cache`` providing a cache for use by tasks that need
2776
semi-random access to large amounts of data. (John A Meinel)
2778
* InventoryEntry.diff is now deprecated. Please use diff.DiffTree instead.
2788
* New uninstaller on Win32. (Alexander Belchenko)
2791
bzr 0.92rc1 2007-10-29
2792
----------------------
2794
NOTES WHEN UPGRADING:
2798
* ``bzr`` now returns exit code 4 if an internal error occurred, and
2799
3 if a normal error occurred. (Martin Pool)
2801
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
2802
repository index errors that occured as a result of the Weave disk format.
2803
Instead the ``reconcile`` command needs to be run to correct those
2804
problems if they exist (and it has been able to fix most such problems
2805
since bzr 0.8). Some new problems have been identified during this release
2806
and you should run ``bzr check`` once on every repository to see if you
2807
need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
2808
repository due to mismatched parent errors - a symptom of index errors -
2809
you should simply take a full copy of that remote repository to a clean
2810
directory outside any local repositories, then run reconcile on it, and
2811
finally pull from it locally. (And naturally email the repositories owner
2812
to ask them to upgrade and run reconcile).
2817
* New ``knitpack-experimental`` repository format. This is interoperable with
2818
the ``dirstate-tags`` format but uses a smarter storage design that greatly
2819
speeds up many operations, both local and remote. This new format can be
2820
used as an option to the ``init``, ``init-repository`` and ``upgrade``
2821
commands. See http://doc.bazaar-vcs.org/0.92/developers/knitpack.html
2822
for further details. (Robert Collins)
2824
* For users of bzr-svn (and those testing the prototype subtree support) that
2825
wish to try packs, a new ``knitpack-subtree-experimental`` format has also
2826
been added. This is interoperable with the ``dirstate-subtrees`` format.
2829
* New ``reconfigure`` command. (Aaron Bentley)
2831
* New ``revert --forget-merges`` command, which removes the record of a pending
2832
merge without affecting the working tree contents. (Martin Pool)
2834
* New ``bzr_remote_path`` configuration variable allows finer control of
2835
remote bzr locations than BZR_REMOTE_PATH environment variable.
2838
* New ``launchpad-login`` command to tell Bazaar your Launchpad
2839
user ID. This can then be used by other functions of the
2840
Launchpad plugin. (James Henstridge)
2844
* Commit in quiet mode is now slightly faster as the information to
2845
output is no longer calculated. (Ian Clatworthy)
2847
* Commit no longer checks for new text keys during insertion when the
2848
revision id was deterministically unique. (Robert Collins)
2850
* Committing a change which is not a merge and does not change the number of
2851
files in the tree is faster by utilising the data about whether files are
2852
changed to determine if the tree is unchanged rather than recalculating
2853
it at the end of the commit process. (Robert Collins)
2855
* Inventory serialisation no longer double-sha's the content.
2858
* Knit text reconstruction now avoids making copies of the lines list for
2859
interim texts when building a single text. The new ``apply_delta`` method
2860
on ``KnitContent`` aids this by allowing modification of the revision id
2861
such objects represent. (Robert Collins)
2863
* Pack indices are now partially parsed for specific key lookup using a
2864
bisection approach. (Robert Collins)
2866
* Partial commits are now approximately 40% faster by walking over the
2867
unselected current tree more efficiently. (Robert Collins)
2869
* XML inventory serialisation takes 20% less time while being stricter about
2870
the contents. (Robert Collins)
2872
* Graph ``heads()`` queries have been fixed to no longer access all history
2873
unnecessarily. (Robert Collins)
2877
* ``bzr+https://`` smart server across https now supported.
2878
(John Ferlito, Martin Pool, #128456)
2880
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
2881
bazaar.conf and ``send`` will use mutt. (Keir Mierle)
2883
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
2884
changes from one revision. (Alexander Belchenko, #141368)
2886
* Show encodings, locale and list of plugins in the traceback message.
2887
(Martin Pool, #63894)
2889
* Experimental directory formats can now be marked with
2890
``experimental = True`` during registration. (Ian Clatworthy)
2894
* New *Bazaar in Five Minutes* guide. (Matthew Revell)
2896
* The hooks reference documentation is now converted to html as expected.
2901
* Connection error reporting for the smart server has been fixed to
2902
display a user friendly message instead of a traceback.
2903
(Ian Clatworthy, #115601)
2905
* Make sure to use ``O_BINARY`` when opening files to check their
2906
sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
2908
* Fix a problem with Win32 handling of the executable bit.
2909
(John Arbash Meinel, #149113)
2911
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
2912
no longer assume that means port 22. This allows people using OpenSSH to
2913
override the default port in their ``~/.ssh/config`` if they wish. This
2914
fixes a bug introduced in bzr 0.91. (Andrew Bennetts, #146715)
2916
* Commands reporting exceptions can now be profiled and still have their
2917
data correctly dumped to a file. For example, a ``bzr commit`` with
2918
no changes still reports the operation as pointless but doing so no
2919
longer throws away the profiling data if this command is run with
2920
``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
2922
* Fallback to ftp when paramiko is not installed and sftp can't be used for
2923
``tests/commands`` so that the test suite is still usable without
2925
(Vincent Ladeuil, #59150)
2927
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
2929
* Fix long standing bug in partial commit when there are renames
2930
left in tree. (Robert Collins, #140419)
2932
* Fix selftest semi-random noise during http related tests.
2933
(Vincent Ladeuil, #140614)
2935
* Fix typo in ftp.py making the reconnection fail on temporary errors.
2936
(Vincent Ladeuil, #154259)
2938
* Fix failing test by comparing real paths to cover the case where the TMPDIR
2939
contains a symbolic link.
2940
(Vincent Ladeuil, #141382).
2942
* Fix log against smart server branches that don't support tags.
2943
(James Westby, #140615)
2945
* Fix pycurl http implementation by defining error codes from
2946
pycurl instead of relying on an old curl definition.
2947
(Vincent Ladeuil, #147530)
2949
* Fix 'unprintable error' message when displaying BzrCheckError and
2950
some other exceptions on Python 2.5.
2951
(Martin Pool, #144633)
2953
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
2955
* Handles default value for ListOption in cmd_commit.
2956
(Vincent Ladeuil, #140432)
2958
* HttpServer and FtpServer need to be closed properly or a listening socket
2960
(Vincent Ladeuil, #140055)
2962
* Monitor the .bzr directory created in the top level test
2963
directory to detect leaking tests.
2964
(Vincent Ladeuil, #147986)
2966
* The basename, not the full path, is now used when checking whether
2967
the profiling dump file begins with ``callgrind.out`` or not. This
2968
fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
2970
* Trivial fix for invoking command ``reconfigure`` without arguments.
2973
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
2974
new path causes bzr to be unable to access the file. (Robert Collins)
2976
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
2981
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
2982
constructor, for enabling bisection searches. (Robert Collins)
2984
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
2985
tree be supplied to it, previously failing to do so would trigger a
2986
deprecation warning. (Robert Collins)
2988
* ``KnitVersionedFile.add*`` will no longer cache added records even when
2989
enable_cache() has been called - the caching feature is now exclusively for
2990
reading existing data. (Robert Collins)
2992
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
2993
appropriate. (Martin Pool)
2995
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
2996
``trace+`` transport instead. (Robert Collins)
2998
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
2999
deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
3002
* Removed previous deprecated ``basis_knit`` parameter to the
3003
``KnitVersionedFile`` constructor. (Robert Collins)
3005
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
3006
class that needs it.
3009
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
3010
``KnitRepository`` by parameters to the constructor. (Robert Collins)
3012
* The ``VersionedFile`` interface now allows content checks to be bypassed
3013
by supplying check_content=False. This saves nearly 30% of the minimum
3014
cost to store a version of a file. (Robert Collins)
3016
* Tree's with bad state such as files with no length or sha will no longer
3017
be silently accepted by the repository XML serialiser. To serialise
3018
inventories without such data, pass working=True to write_inventory.
3021
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
3022
``VersionedFile.join`` will no longer accept different parents on either
3023
side of a join - it will either ignore them, or error, depending on the
3024
implementation. See notes when upgrading for more information.
3029
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
3030
put by the method call, to allow avoiding stat-after-write or
3031
housekeeping in callers. (Robert Collins)
3033
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
3034
mandatory attributes are present on serialisation and deserialisation.
3035
This fixes some holes in API usage and allows better separation between
3036
physical storage and object serialisation. (Robert Collins)
3038
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
3039
shorthand for deriving from BzrError and setting internal_error = True.
3042
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
3043
moving the state of a parent tree to a new version via a delta rather than
3044
a complete replacement tree. (Robert Collins)
3046
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
3047
duplication from user input, when a user mentions both a path and an item
3048
contained within that path. (Robert Collins)
3050
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
3051
determining if a repository is write locked. (Robert Collins)
3053
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
3054
tuple containing the key information about a path for commit processing
3055
to complete. (Robert Collins)
3057
* New method on xml serialisers, write_inventory_to_lines, which matches the
3058
API used by knits for adding content. (Robert Collins)
3060
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
3061
logic, currently only available for byte-based lookup
3062
(``bisect_multi_bytes``). (Robert Collins)
3064
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
3065
and returns a gzipped version of the same. This is used to avoid a bunch
3066
of api friction during adding of knit hunks. (Robert Collins)
3068
* New parameter on ``bzrlib.transport.Transport.readv``
3069
``adjust_for_latency`` which changes readv from returning strictly the
3070
requested data to inserted return larger ranges and in forward read order
3071
to reduce the effect of network latency. (Robert Collins)
3073
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
3074
causes the parents of a selected id to be returned recursively, so all the
3075
paths from the root down to each element of selected_file_ids are
3076
returned. (Robert Collins)
3078
* Knit joining has been enhanced to support plain to annotated conversion
3079
and annotated to plain conversion. (Ian Clatworthy)
3081
* The CommitBuilder method ``record_entry_contents`` now returns summary
3082
information about the effect of the commit on the repository. This tuple
3083
contains an inventory delta item if the entry changed from the basis, and a
3084
boolean indicating whether a new file graph node was recorded.
3087
* The python path used in the Makefile can now be overridden.
3088
(Andrew Bennetts, Ian Clatworthy)
3092
* New transport implementation ``trace+`` which is useful for testing,
3093
logging activity taken to its _activity attribute. (Robert Collins)
3095
* When running bzr commands within the test suite, internal exceptions are
3096
not caught and reported in the usual way, but rather allowed to propagate
3097
up and be visible to the test suite. A new API ``run_bzr_catch_user_errors``
3098
makes this behavior available to other users.
3101
* New method ``TestCase.call_catch_warnings`` for testing methods that
3102
raises a Python warning. (Martin Pool)
3110
* Print a warning instead of aborting the ``python setup.py install``
3111
process if building of a C extension is not possible.
3112
(Lukáš Lalinský, Alexander Belchenko)
3114
* Fix commit ordering in corner case (Aaron Bentley, #94975)
3116
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
3117
an implicit port. We were incorrectly raising PathNotChild due to
3118
inconsistent treatment of the ''_port'' attribute on the Transport object.
3119
(Andrew Bennetts, #133965)
3121
* Make RemoteRepository.sprout cope gracefully with servers that don't
3122
support the ``Repository.tarball`` request.
3126
bzr 0.91rc2 2007-09-11
3127
----------------------
3129
* Replaced incorrect tarball for previous release; a debug statement was left
3130
in bzrlib/remote.py.
3133
bzr 0.91rc1 2007-09-11
3134
----------------------
3138
* The default branch and repository format has changed to
3139
``dirstate-tags``, so tag commands are active by default.
3140
This format is compatible with Bazaar 0.15 and later.
3141
This incidentally fixes bug #126141.
3144
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
3145
must now appear after the command name. Scripts doing things like
3146
``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
3151
* New option ``--author`` in ``bzr commit`` to specify the author of the
3152
change, if it's different from the committer. ``bzr log`` and
3153
``bzr annotate`` display the author instead of the committer.
3156
* In addition to global options and command specific options, a set of
3157
standard options are now supported. Standard options are legal for
3158
all commands. The initial set of standard options are:
3160
* ``--help`` or ``-h`` - display help message
3161
* ``--verbose`` or ``-v`` - display additional information
3162
* ``--quiet`` or ``-q`` - only output warnings and errors.
3164
Unlike global options, standard options can be used in aliases and
3165
may have command-specific help. (Ian Clatworthy)
3167
* Verbosity level processing has now been unified. If ``--verbose``
3168
or ``-v`` is specified on the command line multiple times, the
3169
verbosity level is made positive the first time then increased.
3170
If ``--quiet`` or ``-q`` is specified on the command line
3171
multiple times, the verbosity level is made negative the first
3172
time then decreased. To get the default verbosity level of zero,
3173
either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
3174
Note that most commands currently ignore the magnitude of the
3175
verbosity level but do respect *quiet vs normal vs verbose* when
3176
generating output. (Ian Clatworthy)
3178
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
3179
is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
3181
* New ``Repository.stream_knit_data_for_revisions`` request added to the
3182
network protocol for greatly reduced roundtrips when retrieving a set of
3183
revisions. (Andrew Bennetts)
3187
* ``bzr plugins`` now lists the version number for each plugin in square
3188
brackets after the path. (Robert Collins, #125421)
3190
* Pushing, pulling and branching branches with subtree references was not
3191
copying the subtree weave, preventing the file graph from being accessed
3192
and causing errors in commits in clones. (Robert Collins)
3194
* Suppress warning "integer argument expected, got float" from Paramiko,
3195
which sometimes caused false test failures. (Martin Pool)
3197
* Fix bug in bundle 4 that could cause attempts to write data to wrong
3198
versionedfile. (Aaron Bentley)
3200
* Diffs generated using "diff -p" no longer break the patch parser.
3203
* get_transport treats an empty possible_transports list the same as a non-
3204
empty one. (Aaron Bentley)
3206
* patch verification for merge directives is reactivated, and works with
3207
CRLF and CR files. (Aaron Bentley)
3209
* Accept ..\ as a path in revision specifiers. This fixes for example
3210
"-r branch:..\other-branch" on Windows. (Lukáš Lalinský)
3212
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
3213
(Blake Winton, #129299)
3215
* man page no longer lists hidden options (#131667, Aaron Bentley)
3217
* ``uncommit --help`` now explains the -r option adequately. (Daniel
3220
* Error messages are now better formatted with parameters (such as
3221
filenames) quoted when necessary. This avoids confusion when directory
3222
names ending in a '.' at the end of messages were confused with a
3223
full stop that may or not have been there. (Daniel Watkins, #129791)
3225
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
3227
* If a particular command is an alias, ``help`` will show the alias
3228
instead of claiming there is no help for said alias. (Daniel Watkins,
3231
* TreeTransform-based operations, like pull, merge, revert, and branch,
3232
now roll back if they encounter an error. (Aaron Bentley, #67699)
3234
* ``bzr commit`` now exits cleanly if a character unsupported by the
3235
current encoding is used in the commit message. (Daniel Watkins,
3238
* bzr send uses default values for ranges when only half of an elipsis
3239
is specified ("-r..5" or "-r5.."). (#61685, Aaron Bentley)
3241
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
3242
binary is present. (Martin Albisetti, #107155)
3244
* ``bzr remove`` should remove clean subtrees. Now it will remove (without
3245
needing ``--force``) subtrees that contain no files with text changes or
3246
modified files. With ``--force`` it removes the subtree regardless of
3247
text changes or unknown files. Directories with renames in or out (but
3248
not changed otherwise) will now be removed without needing ``--force``.
3249
Unknown ignored files will be deleted without needing ``--force``.
3250
(Marius Kruger, #111665)
3252
* When two plugins conflict, the source of both the losing and now the
3253
winning definition is shown. (Konstantin Mikhaylov, #5454)
3255
* When committing to a branch, the location being committed to is
3256
displayed. (Daniel Watkins, #52479)
3258
* ``bzr --version`` takes care about encoding of stdout, especially
3259
when output is redirected. (Alexander Belchenko, #131100)
3261
* Prompt for an ftp password if none is provided.
3262
(Vincent Ladeuil, #137044)
3264
* Reuse bound branch associated transport to avoid multiple
3266
(Vincent Ladeuil, #128076, #131396)
3268
* Overwrite conflicting tags by ``push`` and ``pull`` if the
3269
``--overwrite`` option is specified. (Lukáš Lalinský, #93947)
3271
* In checkouts, tags are copied into the master branch when created,
3272
changed or deleted, and are copied into the checkout when it is
3273
updated. (Martin Pool, #93856, #93860)
3275
* Print a warning instead of aborting the ``python setup.py install``
3276
process if building of a C extension is not possible.
3277
(Lukáš Lalinský, Alexander Belchenko)
3281
* Add the option "--show-diff" to the commit command in order to display
3282
the diff during the commit log creation. (Goffredo Baroncelli)
3284
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
3287
* ``pull -v`` no longer includes deltas, making it much faster.
3290
* ``send`` now sends the directive as an attachment by default.
3291
(Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
3293
* Documentation updates (Martin Albisetti)
3295
* Help on debug flags is now included in ``help global-options``.
3296
(Daniel Watkins, #124853)
3298
* Parameters passed on the command line are checked to ensure they are
3299
supported by the encoding in use. (Daniel Watkins)
3301
* The compression used within the bzr repository has changed from zlib
3302
level 9 to the zlib default level. This improves commit performance with
3303
only a small increase in space used (and in some cases a reduction in
3304
space). (Robert Collins)
3306
* Initial commit no longer SHAs files twice and now reuses the path
3307
rather than looking it up again, making it faster.
3310
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
3311
changes in one revision. (Lukáš Lalinský)
3313
* If versioned files match a given ignore pattern, a warning is now
3314
given. (Daniel Watkins, #48623)
3316
* ``bzr status`` now has -S as a short name for --short and -V as a
3317
short name for --versioned. These have been added to assist users
3318
migrating from Subversion: ``bzr status -SV`` is now like
3319
``svn status -q``. (Daniel Watkins, #115990)
3321
* Added C implementation of ``PatienceSequenceMatcher``, which is about
3322
10x faster than the Python version. This speeds up commands that
3323
need file diffing, such as ``bzr commit`` or ``bzr diff``.
3326
* HACKING has been extended with a large section on core developer tasks.
3329
* Add ``branches`` and ``standalone-trees`` as online help topics and
3330
include them as Concepts within the User Reference.
3331
(Paul Moore, Ian Clatworthy)
3333
* ``check`` can detect versionedfile parent references that are
3334
inconsistent with revision and inventory info, and ``reconcile`` can fix
3335
them. These faulty references were generated by 0.8-era releases,
3336
so repositories which were manipulated by old bzrs should be
3337
checked, and possibly reconciled ASAP. (Aaron Bentley, Andrew Bennetts)
3341
* ``Branch.append_revision`` is removed altogether; please use
3342
``Branch.set_last_revision_info`` instead. (Martin Pool)
3344
* CommitBuilder now advertises itself as requiring the root entry to be
3345
supplied. This only affects foreign repository implementations which reuse
3346
CommitBuilder directly and have changed record_entry_contents to require
3347
that the root not be supplied. This should be precisely zero plugins
3348
affected. (Robert Collins)
3350
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
3351
its return value to include the sha1 and length of the inserted text. This
3352
allows the avoidance of double-sha1 calculations during commit.
3355
* ``Transport.should_cache`` has been removed. It was not called in the
3356
previous release. (Martin Pool)
3360
* Tests may now raise TestNotApplicable to indicate they shouldn't be
3361
run in a particular scenario. (Martin Pool)
3363
* New function multiply_tests_from_modules to give a simpler interface
3364
to test parameterization. (Martin Pool, Robert Collins)
3366
* ``Transport.should_cache`` has been removed. It was not called in the
3367
previous release. (Martin Pool)
3369
* NULL_REVISION is returned to indicate the null revision, not None.
3372
* Use UTF-8 encoded StringIO for log tests to avoid failures on
3373
non-ASCII committer names. (Lukáš Lalinský)
3377
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
3378
``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
3379
useful functionality for determining the path of a plugin, its tests, and
3380
its version information. (Robert Collins)
3382
* Add the option user_encoding to the function 'show_diff_trees()'
3383
in order to move the user encoding at the UI level. (Goffredo Baroncelli)
3385
* Add the function make_commit_message_template_encoded() and the function
3386
edit_commit_message_encoded() which handle encoded strings.
3387
This is done in order to mix the commit messages (which is a unicode
3388
string), and the diff which is a raw string. (Goffredo Baroncelli)
3390
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
3391
overhead on non-weave repositories which don't require all parents to be
3392
present. (Robert Collins)
3394
* Deprecated method ``find_previous_heads`` on
3395
``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
3396
of ``parent_candidates`` and a separate heads check via the repository
3397
API. (Robert Collins)
3399
* New trace function ``mutter_callsite`` will print out a subset of the
3400
stack to the log, which can be useful for gathering debug details.
3403
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
3404
added via a public attribute records_written. (Robert Collins)
3406
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
3407
This provides a hint to users of transports as to the reasonable
3408
minimum data to read. In principle this can take latency and
3409
bandwidth into account on a per-connection basis, but for now it
3410
just has hard coded values based on the url. (e.g. http:// has a large
3411
page size, file:// has a small one.) (Robert Collins)
3413
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
3414
incremental addition of data to a file without requiring that all the
3415
data be buffered in memory. (Robert Collins)
3417
* New methods on ``bzrlib.knit.KnitVersionedFile``:
3418
``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
3419
``get_format_signature()``. These provide some infrastructure for
3420
efficiently streaming the knit data for a set of versions over the smart
3423
* Knits with no annotation cache still produce correct annotations.
3426
* Three new methods have been added to ``bzrlib.trace``:
3427
``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
3428
``set_verbosity_level`` expects a numeric value: negative for quiet,
3429
zero for normal, positive for verbose. The size of the number can be
3430
used to determine just how quiet or verbose the application should be.
3431
The existing ``be_quiet`` and ``is_quiet`` routines have been
3432
integrated into this new scheme. (Ian Clatworthy)
3434
* Options can now be delcared with a ``custom_callback`` parameter. If
3435
set, this routine is called after the option is processed. This feature
3436
is now used by the standard options ``verbose`` and ``quiet`` so that
3437
setting one implicitly resets the other. (Ian Clatworthy)
3439
* Rather than declaring a new option from scratch in order to provide
3440
custom help, a centrally registered option can be decorated using the
3441
new ``bzrlib.Option.custom_help`` routine. In particular, this routine
3442
is useful when declaring better help for the ``verbose`` and ``quiet``
3443
standard options as the base definition of these is now more complex
3444
than before thanks to their use of a custom callback. (Ian Clatworthy)
3446
* Tree._iter_changes(specific_file=[]) now iterates through no files,
3447
instead of iterating through all files. None is used to iterate through
3448
all files. (Aaron Bentley)
3450
* WorkingTree.revert() now accepts None to revert all files. The use of
3451
[] to revert all files is deprecated. (Aaron Bentley)
3459
* Documentation is now organized into multiple directories with a level
3460
added for different languages or locales. Added the Mini Tutorial
3461
and Quick Start Summary (en) documents from the Wiki, improving the
3462
content and readability of the former. Formatted NEWS as Release Notes
3463
complete with a Table of Conents, one heading per release. Moved the
3464
Developer Guide into the main document catalog and provided a link
3465
from the developer document catalog back to the main one.
3466
(Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
3471
* The static convenience method ``BzrDir.create_repository``
3472
is deprecated. Callers should instead create a ``BzrDir`` instance
3473
and call ``create_repository`` on that. (Martin Pool)
3476
bzr 0.90rc1 2007-08-14
3477
----------------------
3481
* ``bzr init`` should connect to the remote location one time only. We
3482
have been connecting several times because we forget to pass around the
3483
Transport object. This modifies ``BzrDir.create_branch_convenience``,
3484
so that we can give it the Transport we already have.
3485
(John Arbash Meinel, Vincent Ladeuil, #111702)
3487
* Get rid of sftp connection cache (get rid of the FTP one too).
3488
(Vincent Ladeuil, #43731)
3490
* bzr branch {local|remote} remote don't try to create a working tree
3492
(Vincent Ladeuil, #112173)
3494
* All identified multiple connections for a single bzr command have been
3495
fixed. See bzrlib/tests/commands directory.
3498
* ``bzr rm`` now does not insist on ``--force`` to delete files that
3499
have been renamed but not otherwise modified. (Marius Kruger,
3502
* ``bzr selftest --bench`` no longer emits deprecation warnings
3505
* ``bzr status`` now honours FILE parameters for conflict lists
3506
(Aaron Bentley, #127606)
3508
* ``bzr checkout`` now honours -r when reconstituting a working tree.
3509
It also honours -r 0. (Aaron Bentley, #127708)
3511
* ``bzr add *`` no more fails on Windows if working tree contains
3512
non-ascii file names. (Kuno Meyer, #127361)
3514
* allow ``easy_install bzr`` runs without fatal errors.
3515
(Alexander Belchenko, #125521)
3517
* Graph._filter_candidate_lca does not raise KeyError if a candidate
3518
is eliminated just before it would normally be examined. (Aaron Bentley)
3520
* SMTP connection failures produce a nice message, not a traceback.
3525
* Don't show "dots" progress indicators when run non-interactively, such
3526
as from cron. (Martin Pool)
3528
* ``info`` now formats locations more nicely and lists "submit" and
3529
"public" branches (Aaron Bentley)
3531
* New ``pack`` command that will trigger database compression within
3532
the repository (Robert Collins)
3534
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
3535
version is approximately 2-3x faster at parsing a ``.kndx`` file.
3536
Which yields a measurable improvement for commands which have to
3537
read from the repository, such as a 1s => 0.75s improvement in
3538
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
3540
* Merge is now faster. Depending on the scenario, it can be more than 2x
3541
faster. (Aaron Bentley)
3543
* Give a clearer warning, and allow ``python setup.py install`` to
3544
succeed even if pyrex is not available.
3545
(John Arbash Meinel)
3547
* ``DirState._read_dirblocks`` now has an optional Pyrex
3548
implementation. This improves the speed of any command that has to
3549
read the entire DirState. (``diff``, ``status``, etc, improve by
3551
``bisect_dirblocks`` has also been improved, which helps all
3552
``_get_entry`` type calls (whenever we are searching for a
3553
particular entry in the in-memory DirState).
3554
(John Arbash Meinel)
3556
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
3557
branch revision history for ui display unless -v is supplied.
3560
* ``bzr log -rA..B`` output shifted to the left margin if the log only
3561
contains merge revisions. (Kent Gibson)
3563
* The ``plugins`` command is now public with improved help.
3566
* New bundle and merge directive formats are faster to generate, and
3568
* Annotate merge now works when there are local changes. (Aaron Bentley)
3570
* Commit now only shows the progress in terms of directories instead of
3571
entries. (Ian Clatworthy)
3573
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
3574
times. This makes ``get_revision_graph`` 2x faster. (John Arbash
3577
* Fix ``VersionedFile.get_graph()`` to avoid using
3578
``set.difference_update(other)``, which has bad scaling when
3579
``other`` is large. This improves ``VF.get_graph([version_id])`` for
3580
a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
3582
* The ``--lsprof-file`` option now generates output for KCacheGrind if
3583
the file starts with ``callgrind.out``. This matches the default file
3584
filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
3586
* Fix ``bzr update`` to avoid an unnecessary
3587
``branch.get_master_branch`` call, which avoids 1 extra connection
3588
to the remote server. (Partial fix for #128076, John Arbash Meinel)
3590
* Log errors from the smart server in the trace file, to make debugging
3591
test failures (and live failures!) easier. (Andrew Bennetts)
3593
* The HTML version of the man page has been superceded by a more
3594
comprehensive manual called the Bazaar User Reference. This manual
3595
is completed generated from the online help topics. As part of this
3596
change, limited reStructuredText is now explicitly supported in help
3597
topics and command help with 'unnatural' markup being removed prior
3598
to display by the online help or inclusion in the man page.
3601
* HTML documentation now use files extension ``*.html``
3602
(Alexander Belchenko)
3604
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
3605
so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
3607
* ``bzr selftest --strict`` fails if there are any missing features or
3608
expected test failures. (Daniel Watkins, #111914)
3610
* Link to registration survey added to README. (Ian Clatworthy)
3612
* Windows standalone installer show link to registration survey
3613
when installation finished. (Alexander Belchenko)
3617
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
3618
Options are now required to provide a help string and it must
3619
comply with the style guide by being one or more sentences with an
3620
initial capital and final period. (Martin Pool)
3622
* KnitIndex.get_parents now returns tuples. (Robert Collins)
3624
* Ancient unused ``Repository.text_store`` attribute has been removed.
3627
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
3628
rather than just bytestrings, making it easier to represent multiple
3629
element names. As this interface was not used by any internal facilities
3630
since it was introduced in 0.18 no API compatibility is being preserved.
3631
The serialised form of these packs is identical with 0.18 when a single
3632
element tuple is in use. (Robert Collins)
3636
* merge now uses ``iter_changes`` to calculate changes, which makes room for
3637
future performance increases. It is also more consistent with other
3638
operations that perform comparisons, and reduces reliance on
3639
Tree.inventory. (Aaron Bentley)
3641
* Refactoring of transport classes connected to a remote server.
3642
ConnectedTransport is a new class that serves as a basis for all
3643
transports needing to connect to a remote server. transport.split_url
3644
have been deprecated, use the static method on the object instead. URL
3645
tests have been refactored too.
3648
* Better connection sharing for ConnectedTransport objects.
3649
transport.get_transport() now accepts a 'possible_transports' parameter.
3650
If a newly requested transport can share a connection with one of the
3654
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
3655
the null revision, and consider using ``None`` for this purpose
3656
deprecated. (Aaron Bentley)
3658
* New ``index`` module with abstract index functionality. This will be
3659
used during the planned changes in the repository layer. Currently the
3660
index layer provides a graph aware immutable index, a builder for the
3661
same index type to allow creating them, and finally a composer for
3662
such indices to allow the use of many indices in a single query. The
3663
index performance is not optimised, however the API is stable to allow
3664
development on top of the index. (Robert Collins)
3666
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
3667
their directory sections. This is equivalent to comparing
3668
``path.split('/')``, only without having to split the paths.
3669
This has a Pyrex implementation available.
3670
(John Arbash Meinel)
3672
* New transport decorator 'unlistable+' which disables the list_dir
3673
functionality for testing.
3675
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
3677
* RevisionTree.get_weave is now deprecated. Tree.plan_merge is now used
3678
for performing annotate-merge. (Aaron Bentley)
3680
* New EmailMessage class to create email messages. (Adeodato Simó)
3682
* Unused functions on the private interface KnitIndex have been removed.
3685
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
3686
of a ``index.GraphIndex``. (Robert Collins)
3688
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
3689
the parents of many knit nodes at once, reducing round trips to the
3690
underlying index. (Robert Collins)
3692
* Graph now has an is_ancestor method, various bits use it.
3695
* The ``-Dhpss`` flag now includes timing information. As well as
3696
logging when a new connection is opened. (John Arbash Meinel)
3698
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
3699
callers when inserting data, allowing generation of readv style access
3700
during pack creation, without needing a separate pass across the output
3701
pack to gather such details. (Robert Collins)
3703
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
3704
files that are stored on a transport. (Robert Collins)
3706
* New ``Repository.has_same_location`` method that reports if two
3707
repository objects refer to the same repository (although with some risk
3708
of false negatives). (Andrew Bennetts)
3710
* InterTree.compare now passes require_versioned on correctly.
3713
* New methods on Repository - ``start_write_group``,
3714
``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
3715
which provide a clean hook point for transactional Repositories - ones
3716
where all the data for a fetch or commit needs to be made atomically
3717
available in one step. This allows the write lock to remain while making
3718
a series of data insertions. (e.g. data conversion). (Robert Collins)
3720
* In ``bzrlib.knit`` the internal interface has been altered to use
3721
3-tuples (index, pos, length) rather than two-tuples (pos, length) to
3722
describe where data in a knit is, allowing knits to be split into
3723
many files. (Robert Collins)
3725
* ``bzrlib.knit._KnitData`` split into cache management and physical access
3726
with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
3727
The former provides access into a .pack file, and the latter provides the
3728
current production repository form of .knit files. (Robert Collins)
3732
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
3733
``--keep-output`` options, which are obsolete now that tests
3734
are done within directories in $TMPDIR. (Martin Pool)
3736
* The SSH_AUTH_SOCK environment variable is now reset to avoid
3737
interaction with any running ssh agents. (Jelmer Vernooij, #125955)
3739
* run_bzr_subprocess handles parameters the same way as run_bzr:
3740
either a string or a list of strings should be passed as the first
3741
parameter. Varargs-style parameters are deprecated. (Aaron Bentley)
3745
--------------------
3749
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
3752
bzr 0.18rc1 2007-07-10
3753
-----------------------
3757
* Do not suppress pipe errors, etc. in non-display commands
3758
(Alexander Belchenko, #87178)
3760
* Display a useful error message when the user requests to annotate
3761
a file that is not present in the specified revision.
3762
(James Westby, #122656)
3764
* Commands that use status flags now have a reference to 'help
3765
status-flags'. (Daniel Watkins, #113436)
3767
* Work around python-2.4.1 inhability to correctly parse the
3768
authentication header.
3769
(Vincent Ladeuil, #121889)
3771
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
3773
* Fix tempfile permissions error in smart server tar bundling under
3774
Windows. (Martin _, #119330)
3776
* Fix detection of directory entries in the inventory. (James Westby)
3778
* Fix handling of http code 400: Bad Request When issuing too many ranges.
3779
(Vincent Ladeuil, #115209)
3781
* Issue a CONNECT request when connecting to an https server
3782
via a proxy to enable SSL tunneling.
3783
(Vincent Ladeuil, #120678)
3785
* Fix ``bzr log -r`` to support selecting merge revisions, both
3786
individually and as part of revision ranges.
3787
(Kent Gibson, #4663)
3789
* Don't leave cruft behind when failing to acquire a lockdir.
3790
(Martin Pool, #109169)
3792
* Don't use the '-f' strace option during tests.
3793
(Vincent Ladeuil, #102019).
3795
* Warn when setting ``push_location`` to a value that will be masked by
3796
locations.conf. (Aaron Bentley, #122286)
3798
* Fix commit ordering in corner case (Aaron Bentley, #94975)
3800
* Make annotate behave in a non-ASCII world (Adeodato Simó).
3804
* The --lsprof-file option now dumps a text rendering of the profiling
3805
information if the filename ends in ".txt". It will also convert the
3806
profiling information to a format suitable for KCacheGrind if the
3807
output filename ends in ".callgrind". Fixes to the lsprofcalltree
3808
conversion process by Jean Paul Calderone and Itamar were also merged.
3809
See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
3811
* ``info`` now defaults to non-verbose mode, displaying only paths and
3812
abbreviated format info. ``info -v`` displays all the information
3813
formerly displayed by ``info``. (Aaron Bentley, Adeodato Simó)
3815
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
3818
* The internal ``weave-list`` command has become ``versionedfile-list``,
3819
and now lists knits as well as weaves. (Aaron Bentley)
3821
* Automatic merge base selection uses a faster algorithm that chooses
3822
better bases in criss-cross merge situations (Aaron Bentley)
3824
* Progress reporting in ``commit`` has been improved. The various logical
3825
stages are now reported on as follows, namely:
3827
* Collecting changes [Entry x/y] - Stage n/m
3828
* Saving data locally - Stage n/m
3829
* Uploading data to master branch - Stage n/m
3830
* Updating the working tree - Stage n/m
3831
* Running post commit hooks - Stage n/m
3833
If there is no master branch, the 3rd stage is omitted and the total
3834
number of stages is adjusted accordingly.
3836
Each hook that is run after commit is listed with a name (as hooks
3837
can be slow it is useful feedback).
3838
(Ian Clatworthy, Robert Collins)
3840
* Various operations that are now faster due to avoiding unnecessary
3841
topological sorts. (Aaron Bentley)
3843
* Make merge directives robust against broken bundles. (Aaron Bentley)
3845
* The lsprof filename note is emitted via trace.note(), not standard
3846
output. (Aaron Bentley)
3848
* ``bzrlib`` now exports explicit API compatibility information to assist
3849
library users and plugins. See the ``bzrlib.api`` module for details.
3852
* Remove unnecessary lock probes when acquiring a lockdir.
3855
* ``bzr --version`` now shows the location of the bzr log file, which
3856
is especially useful on Windows. (Martin Pool)
3858
* -D now supports hooks to get debug tracing of hooks (though its currently
3859
minimal in nature). (Robert Collins)
3861
* Long log format reports deltas on merge revisions.
3862
(John Arbash Meinel, Kent Gibson)
3864
* Make initial push over ftp more resilient. (John Arbash Meinel)
3866
* Print a summary of changes for update just like pull does.
3867
(Daniel Watkins, #113990)
3869
* Add a -Dhpss option to trace smart protocol requests and responses.
3874
* Testing cleanups -
3875
``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
3876
to ``bzrlib.tests.repository_implementations``;
3877
``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
3878
to ``bzrlib.tests.interrepository_implementations``;
3879
``bzrlib.transport.TransportTestProviderAdapter`` has moved to
3880
``bzrlib.tests.test_transport_implementations``.
3881
``bzrlib.branch.BranchTestProviderAdapter`` has moved to
3882
``bzrlib.tests.branch_implementations``.
3883
``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
3884
``bzrlib.tests.bzrdir_implementations``.
3885
``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
3886
to ``bzrlib.tests.interversionedfile_implementations``.
3887
``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
3888
``bzrlib.tests.revisionstore_implementations``.
3889
``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
3890
``bzrlib.tests.workingtree_implementations``.
3891
These changes are an API break in the testing infrastructure only.
3894
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
3896
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
3897
win32. Callers of the function should do this and use the new
3898
``MutableTree.smart_add`` method instead. (Robert Collins)
3900
* ``bzrlib.add.glob_expand_for_win32`` is now
3901
``bzrlib.win32utils.glob_expand``. (Robert Collins)
3903
* ``bzrlib.add.FastPath`` is now private and moved to
3904
``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
3906
* ``LockDir.wait`` removed. (Martin Pool)
3908
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
3909
``server_stopped`` hooks. The first parameter is now an iterable of
3910
backing URLs rather than a single URL. This is to reflect that many
3911
URLs may map to the external URL of the server. E.g. the server interally
3912
may have a chrooted URL but also the local file:// URL will be at the
3913
same location. (Robert Collins)
3917
* New SMTPConnection class to unify email handling. (Adeodato Simó)
3919
* Fix documentation of BzrError. (Adeodato Simó)
3921
* Make BzrBadParameter an internal error. (Adeodato Simó)
3923
* Remove use of 'assert False' to raise an exception unconditionally.
3926
* Give a cleaner error when failing to decode knit index entry.
3929
* TreeConfig would mistakenly search the top level when asked for options
3930
from a section. It now respects the section argument and only
3931
searches the specified section. (James Westby)
3933
* Improve ``make api-docs`` output. (John Arbash Meinel)
3935
* Use os.lstat rather than os.stat for osutils.make_readonly and
3936
osutils.make_writeable. This makes the difftools plugin more
3937
robust when dangling symlinks are found. (Elliot Murphy)
3939
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
3940
lockdirs are taken or released. (Martin Pool)
3942
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
3943
allows a nicer UI when hooks are running as the current hook can
3944
be displayed. (Robert Collins)
3946
* ``Transport.get`` has had its interface made more clear for ease of use.
3947
Retrieval of a directory must now fail with either 'PathError' at open
3948
time, or raise 'ReadError' on a read. (Robert Collins)
3950
* New method ``_maybe_expand_globs`` on the ``Command`` class for
3951
dealing with unexpanded glob lists - e.g. on the win32 platform. This
3952
was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
3954
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
3955
deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
3958
* New method ``external_url`` on Transport for obtaining the url to
3959
hand to external processes. (Robert Collins)
3961
* Teach windows installers to build pyrex/C extensions.
3962
(Alexander Belchenko)
3966
* Removed the ``--keep-output`` option from selftest and clean up test
3967
directories as they're used. This reduces the IO load from
3968
running the test suite and cuts the time by about half.
3969
(Andrew Bennetts, Martin Pool)
3971
* Add scenarios as a public attribute on the TestAdapter classes to allow
3972
modification of the generated scenarios before adaption and easier
3973
testing. (Robert Collins)
3975
* New testing support class ``TestScenarioApplier`` which multiplies
3976
out a single teste by a list of supplied scenarios. (RobertCollins)
3978
* Setting ``repository_to_test_repository`` on a repository_implementations
3979
test will cause it to be called during repository creation, allowing the
3980
testing of repository classes which are not based around the Format
3981
concept. For example a repository adapter can be tested in this manner,
3982
by altering the repository scenarios to include a scenario that sets this
3983
attribute during the test parameterisation in
3984
``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
3986
* Clean up many of the APIs for blackbox testing of Bazaar. The standard
3987
interface is now self.run_bzr. The command to run can be passed as
3988
either a list of parameters, a string containing the command line, or
3989
(deprecated) varargs parameters. (Martin Pool)
3991
* The base TestCase now isolates tests from -D parameters by clearing
3992
``debug.debug_flags`` and restores it afterwards. (Robert Collins)
3994
* Add a relpath parameter to get_transport methods in test framework to
3995
avoid useless cloning.
3996
(Vincent Ladeuil, #110448)
4000
--------------------
4004
* Fix crash of commit due to wrong lookup of filesystem encoding.
4005
(Colin Watson, #120647)
4007
* Revert logging just to stderr in commit as broke unicode filenames.
4008
(Aaron Bentley, Ian Clatworthy, #120930)
4011
bzr 0.17rc1 2007-06-12
4012
-----------------------
4014
NOTES WHEN UPGRADING:
4016
* The kind() and is_executable() APIs on the WorkingTree interface no
4017
longer implicitly (read) locks and unlocks the tree. This *might*
4018
impact some plug-ins and tools using this part of the API. If you find
4019
an issue that may be caused by this change, please let us know,
4020
particularly the plug-in/tool maintainer. If encountered, the API
4021
fix is to surround kind() and is_executable() calls with lock_read()
4022
and unlock() like so::
4024
work_tree.lock_read()
4026
kind = work_tree.kind(...)
4031
* Rework of LogFormatter API to provide beginning/end of log hooks and to
4032
encapsulate the details of the revision to be logged in a LogRevision
4034
In long log formats, merge revision ids are only shown when --show-ids
4035
is specified, and are labelled "revision-id:", as per mainline
4036
revisions, instead of "merged:". (Kent Gibson)
4038
* New ``BranchBuilder`` API which allows the construction of particular
4039
histories quickly. Useful for testing and potentially other applications
4040
too. (Robert Collins)
4044
* There are two new help topics, working-trees and repositories that
4045
attempt to explain these concepts. (James Westby, John Arbash Meinel,
4048
* Added ``bzr log --limit`` to report a limited number of revisions.
4049
(Kent Gibson, #3659)
4051
* Revert does not try to preserve file contents that were originally
4052
produced by reverting to a historical revision. (Aaron Bentley)
4054
* ``bzr log --short`` now includes ``[merge]`` for revisions which
4055
have more than one parent. This is a small improvement to help
4056
understanding what changes have occurred
4057
(John Arbash Meinel, #83887)
4059
* TreeTransform avoids many renames when contructing large trees,
4060
improving speed. 3.25x speedups have been observed for construction of
4061
kernel-sized-trees, and checkouts are 1.28x faster. (Aaron Bentley)
4063
* Commit on large trees is now faster. In my environment, a commit of
4064
a small change to the Mozilla tree (55k files) has dropped from
4065
66 seconds to 32 seconds. For a small tree of 600 files, commit of a
4066
small change is 33% faster. (Ian Clatworthy)
4068
* New --create-prefix option to bzr init, like for push. (Daniel Watkins,
4073
* ``bzr push`` should only connect to the remote location one time.
4074
We have been connecting 3 times because we forget to pass around
4075
the Transport object. This adds ``BzrDir.clone_on_transport()``, so
4076
that we can pass in the Transport that we already have.
4077
(John Arbash Meinel, #75721)
4079
* ``DirState.set_state_from_inventory()`` needs to properly order
4080
based on split paths, not just string paths.
4081
(John Arbash Meinel, #115947)
4083
* Let TestUIFactoy encode the password prompt with its own stdout.
4084
(Vincent Ladeuil, #110204)
4086
* pycurl should take use the range header that takes the range hint
4088
(Vincent Ladeuil, #112719)
4090
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
4091
on a missing file. (Aaron Bentley, #118186)
4093
* WorkingTree.remove works correctly with tree references, and when pwd is
4094
not the tree root. (Aaron Bentley)
4096
* Merge no longer fails when a file is renamed in one tree and deleted
4097
in the other. (Aaron Bentley, #110279)
4099
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
4100
and defaults to the last revision (Matthew Fuller, #90048)
4102
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
4103
(Daniel Watkins, #111958)
4105
* ``bzr branch -r revid:foo`` can be used to branch any revision in
4106
your repository. (Previously Branch6 only supported revisions in your
4107
mainline). (John Arbash Meinel, #115343)
4110
--------------------
4114
* Handle when you have 2 directories with similar names, but one has a
4115
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
4116
iterator was using direct comparison and ``'abc/a'`` sorts after
4117
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
4118
(John Arbash Meinel, #111227)
4120
* Handle when someone renames a file on disk without telling bzr.
4121
Previously we would report the first file as missing, but not show
4122
the new unknown file. (John Arbash Meinel, #111288)
4124
* Avoid error when running hooks after pulling into or pushing from
4125
a branch bound to a smartserver branch. (Martin Pool, #111968)
4129
* Move developer documentation to doc/developers/. This reduces clutter in
4130
the root of the source tree and allows HACKING to be split into multiple
4131
files. (Robert Collins, Alexander Belchenko)
4133
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
4134
``DirState.update_entry()``. This optimizes the core logic for ``bzr
4135
diff`` and ``bzr status`` significantly improving the speed of
4136
both. (John Arbash Meinel)
4138
bzr 0.16rc2 2007-04-30
4139
-----------------------
4143
* Handle the case when you delete a file, and then rename another file
4144
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
4145
status`` should show the removed file and an unknown file in its
4146
place. (John Arbash Meinel, #109993)
4148
* Bundles properly read and write revision properties that have an
4149
empty value. And when the value is not ASCII.
4150
(John Arbash Meinel, #109613)
4152
* Fix the bzr commit message to be in text mode.
4153
(Alexander Belchenko, #110901)
4155
* Also handle when you rename a file and create a file where it used
4156
to be. (John Arbash Meinel, #110256)
4158
* ``WorkingTree4._iter_changes`` should not descend into unversioned
4159
directories. (John Arbash Meinel, #110399)
4161
bzr 0.16rc1 2007-04-26
4162
-----------------------
4164
NOTES WHEN UPGRADING:
4166
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
4167
it could be recovered again.
4168
This has been done for consistency with svn and the unix rm command.
4169
The old ``remove`` behaviour has been retained in the new option
4170
``bzr remove --keep``, which will just stop versioning the file,
4172
``bzr remove --force`` have been added which will always delete the
4174
``bzr remove`` is also more verbose.
4175
(Marius Kruger, #82602)
4179
* Merge directives can now be supplied as input to `merge` and `pull`,
4180
like bundles can. (Aaron Bentley)
4182
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
4183
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
4184
to continue. This can be disabled by setting the environment variable
4185
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
4187
* selftest now supports --list-only to list tests instead of running
4188
them. (Ian Clatworthy)
4190
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
4191
tests with names that match that regular expression.
4192
(Ian Clatworthy, #102679)
4194
* selftest now supports --randomize SEED to run tests in a random order.
4195
SEED is typically the value 'now' meaning 'use the current time'.
4196
(Ian Clatworthy, #102686)
4198
* New option ``--fixes`` to commit, which stores bug fixing annotations as
4199
revision properties. Built-in support for Launchpad, Debian, Trac and
4200
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
4202
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
4203
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
4206
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
4209
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
4210
into using local variables instead of going through ``self._var``.
4211
Improves the time to ``merge_sort`` a 10k revision graph by
4212
approximately 40% (~700->400ms). (John Arbash Meinel)
4214
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
4217
* ``bzr help`` now provides cross references to other help topics using
4218
the _see_also facility on command classes. Likewise the bzr_man
4219
documentation, and the bzr.1 man page also include this information.
4222
* Tags are now included in logs, that use the long log formatter.
4223
(Erik Bågfors, Alexander Belchenko)
4225
* ``bzr help`` provides a clearer message when a help topic cannot be
4226
found. (Robert Collins, #107656)
4228
* ``bzr help`` now accepts optional prefixes for command help. The help
4229
for all commands can now be found at ``bzr help commands/COMMANDNAME``
4230
as well as ``bzr help COMMANDNAME`` (which only works for commands
4231
where the name is not the same as a more general help topic).
4234
* ``bzr help PLUGINNAME`` will now return the module docstring from the
4235
plugin PLUGINNAME. (Robert Collins, #50408)
4237
* New help topic ``urlspec`` which lists the availables transports.
4238
(Goffredo Baroncelli)
4240
* doc/server.txt updated to document the default bzr:// port
4241
and also update the blurb about the hpss' current status.
4242
(Robert Collins, #107125).
4244
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
4245
serve out to the local LAN (and anyone in the world that can reach the
4246
machine running ``bzr serve``. (Robert Collins, #98918)
4248
* A new smart server protocol version has been added. It prefixes requests
4249
and responses with an explicit version identifier so that future protocol
4250
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
4252
* The bzr protocol version 2 indicates success or failure in every response
4253
without depending on particular commands encoding that consistently,
4254
allowing future client refactorings to be much more robust about error
4255
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
4257
* The smart protocol over HTTP client has been changed to always post to the
4258
same ``.bzr/smart`` URL under the original location when it can. This allows
4259
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
4260
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
4262
* digest authentication is now supported for proxies and HTTP by the urllib
4263
based http implementation. Tested against Apache 2.0.55 and Squid
4264
2.6.5. Basic and digest authentication are handled coherently for HTTP
4265
and proxy: if the user is provided in the url (bzr command line for HTTP,
4266
proxy environment variables for proxies), the password is prompted for
4267
(only once). If the password is provided, it is taken into account. Once
4268
the first authentication is successful, all further authentication
4269
roundtrips are avoided by preventively setting the right authentication
4275
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
4276
code paths. (Robert Collins)
4278
* Change the format of chroot urls so that they can be safely manipulated
4279
by generic url utilities without causing the resulting urls to have
4280
escaped the chroot. A side effect of this is that creating a chroot
4281
requires an explicit action using a ChrootServer.
4282
(Robert Collins, Andrew Bennetts)
4284
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
4285
rather than fixing bug #96847. (Aaron Bentley)
4287
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
4288
``WorkingTree._write_inventory``. (Aaron Bentley)
4290
* Convenience method ``TestCase.expectFailure`` ensures that known failures
4291
do not silently pass. (Aaron Bentley)
4293
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
4294
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
4296
* New SmartServer hooks facility. There are two initial hooks documented
4297
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
4298
plugins to execute code upon server startup and shutdown.
4301
* SmartServer in standalone mode will now close its listening socket
4302
when it stops, rather than waiting for garbage collection. This primarily
4303
fixes test suite hangs when a test tries to connect to a shutdown server.
4304
It may also help improve behaviour when dealing with a server running
4305
on a specific port (rather than dynamically assigned ports).
4308
* Move most SmartServer code into a new package, bzrlib/smart.
4309
bzrlib/transport/remote.py contains just the Transport classes that used
4310
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
4312
* urllib http implementation avoid roundtrips associated with
4313
401 (and 407) errors once the authentication succeeds.
4316
* urlib http now supports querying the user for a proxy password if
4317
needed. Realm is shown in the prompt for both HTTP and proxy
4318
authentication when the user is required to type a password.
4321
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
4322
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
4323
consistent with its new home in ``bzrlib/transport/remote.py``, and because
4324
it's not really a "smart" transport, just one that does file operations
4325
via remote procedure calls. (Andrew Bennetts)
4327
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
4328
``Branch`` now accept a ``token`` keyword argument, so that separate
4329
instances of those objects can share a lock if it has the right token.
4330
(Andrew Bennetts, Robert Collins)
4332
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
4333
branch references - which the smart server component needs.
4335
* The Repository API ``make_working_trees`` is now permitted to return
4336
False when ``set_make_working_trees`` is not implemented - previously
4337
an unimplemented ``set_make_working_trees`` implied the result True
4338
from ``make_working_trees``. This has been changed to accomodate the
4339
smart server, where it does not make sense (at this point) to ever
4340
make working trees by default. (Robert Collins)
4342
* Command objects can now declare related help topics by having _see_also
4343
set to a list of related topic. (Robert Collins)
4345
* ``bzrlib.help`` now delegates to the Command class for Command specific
4346
help. (Robert Collins)
4348
* New class ``TransportListRegistry``, derived from the Registry class, which
4349
simplifies tracking the available Transports. (Goffredo Baroncelli)
4351
* New function ``Branch.get_revision_id_to_revno_map`` which will
4352
return a dictionary mapping revision ids to dotted revnos. Since
4353
dotted revnos are defined in the context of the branch tip, it makes
4354
sense to generate them from a ``Branch`` object.
4355
(John Arbash Meinel)
4357
* Fix the 'Unprintable error' message display to use the repr of the
4358
exception that prevented printing the error because the str value
4359
for it is often not useful in debugging (e.g. KeyError('foo') has a
4360
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
4361
useful. (Robert Collins)
4363
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
4368
* Don't fail bundle selftest if email has 'two' embedded.
4369
(Ian Clatworthy, #98510)
4371
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
4372
(Robert Widhopf-Fenk, #98591)
4374
* Remove ``--basis`` from the checkout/branch commands - it didn't work
4375
properly and is no longer beneficial.
4376
(Robert Collins, #53675, #43486)
4378
* Don't produce encoding error when adding duplicate files.
4381
* Fix ``bzr log <file>`` so it only logs the revisions that changed
4382
the file, and does it faster.
4383
(Kent Gibson, John Arbash Meinel, #51980, #69477)
4385
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
4386
an empty versioned directory, which now has files in it.
4387
(John Arbash Meinel, #104257)
4389
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
4390
inside the ancestry of the other. Saves a lot of graph processing
4391
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
4392
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
4394
* Fix ``show_diff_trees`` to handle the case when a file is modified,
4395
and the containing directory is renamed. (The file path is different
4396
in this versus base, but it isn't marked as a rename).
4397
(John Arbash Meinel, #103870)
4399
* FTP now works even when the FTP server does not support atomic rename.
4400
(Aaron Bentley, #89436)
4402
* Correct handling in bundles and merge directives of timezones with
4403
that are not an integer number of hours offset from UTC. Always
4404
represent the epoch time in UTC to avoid problems with formatting
4405
earlier times on win32. (Martin Pool, Alexander Belchenko, John
4408
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
4410
* "dirstate" and "dirstate-tags" formats now produce branches compatible
4411
with old versions of bzr. (Aaron Bentley, #107168))
4413
* Handle moving a directory when children have been added, removed,
4414
and renamed. (John Arbash Meinel, #105479)
4416
* Don't preventively use basic authentication for proxy before receiving a
4417
407 error. Otherwise people willing to use other authentication schemes
4418
may expose their password in the clear (or nearly). This add one
4419
roundtrip in case basic authentication should be used, but plug the
4423
* Handle http and proxy digest authentication.
4424
(Vincent Ladeuil, #94034).
4428
* Added ``bzrlib.strace.strace`` which will strace a single callable and
4429
return a StraceResult object which contains just the syscalls involved
4430
in running it. (Robert Collins)
4432
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
4433
default time down to one suitable for tests. (Andrew Bennetts)
4435
* Add new ``vfs_transport_factory`` attribute on tests which provides the
4436
common vfs backing for both the readonly and readwrite transports.
4437
This allows the RemoteObject tests to back onto local disk or memory,
4438
and use the existing ``transport_server`` attribute all tests know about
4439
to be the smart server transport. This in turn allows tests to
4440
differentiate between 'transport to access the branch', and
4441
'transport which is a VFS' - which matters in Remote* tests.
4442
(Robert Collins, Andrew Bennetts)
4444
* The ``make_branch_and_tree`` method for tests will now create a
4445
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
4446
a LocalURLServer. (Robert Collins, Andrew Bennetts)
4448
* Branch implementation tests have been audited to ensure that all urls
4449
passed to Branch APIs use proper urls, except when local-disk paths
4450
are intended. This is so that tests correctly access the test transport
4451
which is often not equivalent to local disk in Remote* tests. As part
4452
of this many tests were adjusted to remove dependencies on local disk
4454
(Robert Collins, Andrew Bennetts)
4456
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
4457
functions by adding a ``__unittest`` global attribute. (Robert Collins,
4458
Andrew Bennetts, Martin Pool, Jonathan Lange)
4460
* Refactored proxy and authentication handling to simplify the
4461
implementation of new auth schemes for both http and proxy.
4469
* Handle incompatible repositories as a user issue when fetching.
4472
* Don't give a recommendation to upgrade when branching or
4473
checking out a branch that contains an old-format working tree.
4476
bzr 0.15rc3 2007-03-26
4477
-----------------------
4481
* A warning is now displayed when opening working trees in older
4482
formats, to encourage people to upgrade to WorkingTreeFormat4.
4487
* HTTP redirections are now taken into account when a branch (or a
4488
bundle) is accessed for the first time. A message is issued at each
4489
redirection to inform the user. In the past, http redirections were
4490
silently followed for each request which significantly degraded the
4491
performances. The http redirections are not followed anymore by
4492
default, instead a RedirectRequested exception is raised. For bzrlib
4493
users needing to follow http redirections anyway,
4494
``bzrlib.transport.do_catching_redirections`` provide an easy transition
4499
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
4500
lock to an OS write lock. Linux can do this without unlocking, Win32
4501
needs to unlock in between. (John Arbash Meinel)
4503
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
4504
to silence (when false) warnings about opening old formats.
4507
* Fix minor performance regression with bzr-0.15 on pre-dirstate
4508
trees. (We were reading the working inventory too many times).
4509
(John Arbash Meinel)
4511
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
4512
``revision_history``. Branch subclasses should override
4513
``_gen_revision_history`` rather than ``revision_history`` to make use of
4514
this cache, and call ``_clear_revision_history_cache`` and
4515
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
4519
* Take ``smtp_server`` from user config into account.
4522
* Restore Unicode filename handling for versioned and unversioned files.
4523
(John Arbash Meinel, #92608)
4525
* Don't fail during ``bzr commit`` if a file is marked removed, and
4526
the containing directory is auto-removed. (John Arbash Meinel, #93681)
4528
* ``bzr status FILENAME`` failed on Windows because of an uncommon
4529
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
4530
(Wouter van Heyst, John Arbash Meinel, #90819)
4532
* ``bzr checkout source`` should create a local branch in the same
4533
format as source. (John Arbash Meinel, #93854)
4535
* ``bzr commit`` with a kind change was failing to update the
4536
last-changed-revision for directories. The
4537
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
4538
ignoring the fact that the kind could have changed, too.
4539
(John Arbash Meinel, #90111)
4541
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
4542
the directory. So that there was a chance it would break commit,
4543
etc. (John Arbash Meinel, #94037)
4545
* Correctly handles mutiple permanent http redirections.
4548
bzr 0.15rc2 2007-03-14
4549
-----------------------
4551
NOTES WHEN UPGRADING:
4553
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
4554
default to ``--trees`` instead of ``--no-trees``.
4555
Existing shared repositories are not affected.
4559
* New ``merge-directive`` command to generate machine- and human-readable
4560
merge requests. (Aaron Bentley)
4562
* New ``submit:`` revision specifier makes it easy to diff against the
4563
common ancestor with the submit location (Aaron Bentley)
4565
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
4567
* Added ``bzr status --versioned`` to report only versioned files,
4568
not unknowns. (Kent Gibson)
4570
* Merge now autodetects the correct line-ending style for its conflict
4571
markers. (Aaron Bentley)
4575
* Refactored SSH vendor registration into SSHVendorManager class.
4580
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
4581
numbered dirs for TestCaseInTempDir. This is default behavior
4582
on Windows. Anyone can force named dirs on Windows
4583
with ``--no-numbered-dirs``. (Alexander Belchenko)
4585
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
4586
from the command line. (Marien Zwart, #90501)
4588
* Fix ``TreeTransform._iter_changes`` when both the source and
4589
destination are missing. (Aaron Bentley, #88842)
4591
* Fix commit of merges with symlinks in dirstate trees.
4594
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
4595
(Wouter van Heyst, #53483)
4598
bzr 0.15rc1 2007-03-07
4599
-----------------------
4603
* The default disk format has changed. Please run 'bzr upgrade' in your
4604
working trees to upgrade. This new default is compatible for network
4605
operations, but not for local operations. That is, if you have two
4606
versions of bzr installed locally, after upgrading you can only use the
4607
bzr 0.15 version. This new default does not enable tags or nested-trees
4608
as they are incompatible with bzr versions before 0.15 over the network.
4610
* For users of bzrlib: Two major changes have been made to the working tree
4611
api in bzrlib. The first is that many methods and attributes, including
4612
the inventory attribute, are no longer valid for use until one of
4613
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
4614
and become invalid again after unlock is called. This has been done
4615
to improve performance and correctness as part of the dirstate
4617
(Robert Collins, John A Meinel, Martin Pool, and others).
4619
* For users of bzrlib: The attribute 'tree.inventory' should be considered
4620
readonly. Previously it was possible to directly alter this attribute, or
4621
its contents, and have the tree notice this. This has been made
4622
unsupported - it may work in some tree formats, but in the newer dirstate
4623
format such actions will have no effect and will be ignored, or even
4624
cause assertions. All operations possible can still be carried out by a
4625
combination of the tree API, and the bzrlib.transform API. (Robert
4626
Collins, John A Meinel, Martin Pool, and others).
4630
* Support for OS Windows 98. Also .bzr.log on any windows system
4631
saved in My Documents folder. (Alexander Belchenko)
4633
* ``bzr mv`` enhanced to support already moved files.
4634
In the past the mv command would have failed if the source file doesn't
4635
exist. In this situation ``bzr mv`` would now detect that the file has
4636
already moved and update the repository accordingly, if the target file
4638
A new option ``--after`` has been added so that if two files already
4639
exist, you could notify Bazaar that you have moved a (versioned) file
4640
and replaced it with another. Thus in this case ``bzr move --after``
4641
will only update the Bazaar identifier.
4642
(Steffen Eichenberg, Marius Kruger)
4644
* ``ls`` now works on treeless branches and remote branches.
4647
* ``bzr help global-options`` describes the global options.
4650
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
4653
* Files are now allowed to change kind (e.g. from file to symlink).
4654
Supported by ``commit``, ``revert`` and ``status``
4657
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
4660
* ``bzr help checkouts`` descibes what checkouts are and some possible
4661
uses of them. (James Westby, Aaron Bentley)
4663
* A new ``-d`` option to push, pull and merge overrides the default
4664
directory. (Martin Pool)
4666
* Branch format 6: smaller, and potentially faster than format 5. Supports
4667
``append_history_only`` mode, where the log view and revnos do not change,
4668
except by being added to. Stores policy settings in
4669
".bzr/branch/branch.conf".
4671
* ``append_only`` branches: Format 6 branches may be configured so that log
4672
view and revnos are always consistent. Either create the branch using
4673
"bzr init --append-revisions-only" or edit the config file as descriped
4674
in docs/configuration.txt.
4676
* rebind: Format 6 branches retain the last-used bind location, so if you
4677
"bzr unbind", you can "bzr bind" to bind to the previously-selected
4680
* Builtin tags support, created and deleted by the ``tag`` command and
4681
stored in the branch. Tags can be accessed with the revisionspec
4682
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
4683
at present. Tags require a network incompatible upgrade. To perform this
4684
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
4685
repositories. (Martin Pool)
4687
* The ``bzr://`` transport now has a well-known port number, 4155,
4688
which it will use by default. (Andrew Bennetts, Martin Pool)
4690
* Bazaar now looks for user-installed plugins before looking for site-wide
4691
plugins. (Jonathan Lange)
4693
* ``bzr resolve`` now detects and marks resolved text conflicts.
4698
* Internally revision ids and file ids are now passed around as utf-8
4699
bytestrings, rather than treating them as Unicode strings. This has
4700
performance benefits for Knits, since we no longer need to decode the
4701
revision id for each line of content, nor for each entry in the index.
4702
This will also help with the future dirstate format.
4703
(John Arbash Meinel)
4705
* Reserved ids (any revision-id ending in a colon) are rejected by
4706
versionedfiles, repositories, branches, and working trees
4709
* Minor performance improvement by not creating a ProgressBar for
4710
every KnitIndex we create. (about 90ms for a bzr.dev tree)
4711
(John Arbash Meinel)
4713
* New easier to use Branch hooks facility. There are five initial hooks,
4714
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
4715
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
4716
``'post_uncommit'``. These hooks fire after the matching operation
4717
on a branch has taken place, and were originally added for the
4718
branchrss plugin. (Robert Collins)
4720
* New method ``Branch.push()`` which should be used when pushing from a
4721
branch as it makes performance and policy decisions to match the UI
4722
level command ``push``. (Robert Collins).
4724
* Add a new method ``Tree.revision_tree`` which allows access to cached
4725
trees for arbitrary revisions. This allows the in development dirstate
4726
tree format to provide access to the callers to cached copies of
4727
inventory data which are cheaper to access than inventories from the
4729
(Robert Collins, Martin Pool)
4731
* New ``Branch.last_revision_info`` method, this is being done to allow
4732
optimization of requests for both the number of revisions and the last
4733
revision of a branch with smartservers and potentially future branch
4734
formats. (Wouter van Heyst, Robert Collins)
4736
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
4737
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
4738
other for code reuse without requiring users to perform file-renaming
4739
gymnastics. (Robert Collins)
4741
* New Repository method ``'gather_stats'`` for statistic data collection.
4742
This is expected to grow to cover a number of related uses mainly
4743
related to bzr info. (Robert Collins)
4745
* Log formatters are now managed with a registry.
4746
``log.register_formatter`` continues to work, but callers accessing
4747
the FORMATTERS dictionary directly will not.
4749
* Allow a start message to be passed to the ``edit_commit_message``
4750
function. This will be placed in the message offered to the user
4751
for editing above the separator. It allows a template commit message
4752
to be used more easily. (James Westby)
4754
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
4755
you pass a Unicode string rather than an 8-bit string. Callers need
4756
to be updated to encode first. (John Arbash Meinel)
4758
* Branch.push, pull, merge now return Result objects with information
4759
about what happened, rather than a scattering of various methods. These
4760
are also passed to the post hooks. (Martin Pool)
4762
* File formats and architecture is in place for managing a forest of trees
4763
in bzr, and splitting up existing trees into smaller subtrees, and
4764
finally joining trees to make a larger tree. This is the first iteration
4765
of this support, and the user-facing aspects still require substantial
4766
work. If you wish to experiment with it, use ``bzr upgrade
4767
--dirstate-with-subtree`` in your working trees and repositories.
4768
You can use the hidden commands ``split`` and ``join`` and to create
4769
and manipulate nested trees, but please consider using the nested-trees
4770
branch, which contains substantial UI improvements, instead.
4771
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
4772
(Aaron Bentley, Martin Pool, Robert Collins).
4776
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
4777
branch, rather than the last changed revision of the file.
4778
(John Arbash Meinel, #82158)
4780
* Lock operations no longer hang if they encounter a permission problem.
4783
* ``bzr push`` can resume a push that was canceled before it finished.
4784
Also, it can push even if the target directory exists if you supply
4785
the ``--use-existing-dir`` flag.
4786
(John Arbash Meinel, #30576, #45504)
4788
* Fix http proxy authentication when user and an optional
4789
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
4792
* ``bzr log branch/file`` works for local treeless branches
4793
(Aaron Bentley, #84247)
4795
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
4797
* Searching location of CA bundle for PyCurl in env variable
4798
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
4799
(Alexander Belchenko, #82086)
4801
* ``bzr init`` works with unicode argument LOCATION.
4802
(Alexander Belchenko, #85599)
4804
* Raise ``DependencyNotPresent`` if pycurl do not support https.
4805
(Vincent Ladeuil, #85305)
4807
* Invalid proxy env variables should not cause a traceback.
4808
(Vincent Ladeuil, #87765)
4810
* Ignore patterns normalised to use '/' path separator.
4811
(Kent Gibson, #86451)
4813
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
4815
* Fix bzrtools shelve command for removed lines beginning with "--"
4816
(Johan Dahlberg, #75577)
4820
* New ``--first`` option to ``bzr selftest`` to run specified tests
4821
before the rest of the suite. (Martin Pool)
4825
--------------------
4829
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
4833
* Skip documentation generation tests if the tools to do so are not
4834
available. Fixes running selftest for installled copies of bzr.
4835
(John Arbash Meinel, #80330)
4837
* Fix the code that discovers whether bzr is being run from it's
4838
working tree to handle the case when it isn't but the directory
4839
it is in is below a repository. (James Westby, #77306)
4842
bzr 0.14rc1 2007-01-16
4843
-----------------------
4847
* New connection: ``bzr+http://`` which supports tunnelling the smart
4848
protocol over an HTTP connection. If writing is enabled on the bzr
4849
server, then you can write over the http connection.
4850
(Andrew Bennetts, John Arbash Meinel)
4852
* Aliases now support quotation marks, so they can contain whitespace
4855
* PyCurlTransport now use a single curl object. By specifying explicitly
4856
the 'Range' header, we avoid the need to use two different curl objects
4857
(and two connections to the same server). (Vincent Ladeuil)
4859
* ``bzr commit`` does not prompt for a message until it is very likely to
4860
succeed. (Aaron Bentley)
4862
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
4865
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
4866
of a list while checking if a revision id was requested. Takes 10s
4867
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
4868
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
4869
filtering lines with a regex rather than multiple ``str.find()``
4870
calls. (saves another 300ms) (John Arbash Meinel)
4872
* Policy can be set for each configuration key. This allows keys to be
4873
inherited properly across configuration entries. For example, this
4874
should enable you to do::
4876
[/home/user/project]
4877
push_location = sftp://host/srv/project/
4878
push_location:policy = appendpath
4880
And then a branch like ``/home/user/project/mybranch`` should get an
4881
automatic push location of ``sftp://host/srv/project/mybranch``.
4884
* Added ``bzr status --short`` to make status report svn style flags
4885
for each file. For example::
4887
$ bzr status --short
4893
* 'bzr selftest --clean-output' allows easily clean temporary tests
4894
directories without running tests. (Alexander Belchenko)
4896
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
4898
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
4899
local is fully merged into remote. (Jan Hudec)
4901
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
4905
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
4906
help speed up processing, as well allowing to extract unannotated
4907
lines. Between the two ``fileids_affected_by_revision_ids`` is
4908
improved by approx 10%. (John Arbash Meinel)
4910
* Change Revision serialization to only write out millisecond
4911
resolution. Rather than expecting floating point serialization to
4912
preserve more resolution than we need. (Henri Weichers, Martin Pool)
4914
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
4916
* When ``encoding_type`` attribute of class Command is equal to 'exact',
4917
force sys.stdout to be a binary stream on Windows, and therefore
4918
keep exact line-endings (without LF -> CRLF conversion).
4919
(Alexander Belchenko)
4921
* Single-letter short options are no longer globally declared. (Martin
4924
* Before using detected user/terminal encoding bzr should check
4925
that Python has corresponding codec. (Alexander Belchenko)
4927
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
4931
* ``bzr missing --verbose`` was showing adds/removals in the wrong
4932
direction. (John Arbash Meinel)
4934
* ``bzr annotate`` now defaults to showing dotted revnos for merged
4935
revisions. It cuts them off at a depth of 12 characters, but you can
4936
supply ``--long`` to see the full number. You can also use
4937
``--show-ids`` to display the original revision ids, rather than
4938
revision numbers and committer names. (John Arbash Meinel, #75637)
4940
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
4941
(Alexander Belchenko, #57869)
4943
* Win32-specific: output of cat, bundle and diff commands don't mangle
4944
line-endings (Alexander Belchenko, #55276)
4946
* Replace broken fnmatch based ignore pattern matching with custom pattern
4948
(Kent Gibson, Jan Hudec #57637)
4950
* pycurl and urllib can detect short reads at different places. Update
4951
the test suite to test more cases. Also detect http error code 416
4952
which was raised for that specific bug. Also enhance the urllib
4953
robustness by detecting invalid ranges (and pycurl's one by detecting
4954
short reads during the initial GET). (Vincent Ladeuil, #73948)
4956
* The urllib connection sharing interacts badly with urllib2
4957
proxy setting (the connections didn't go thru the proxy
4958
anymore). Defining a proper ProxyHandler solves the
4959
problem. (Vincent Ladeuil, #74759)
4961
* Use urlutils to generate relative URLs, not osutils
4962
(Aaron Bentley, #76229)
4964
* ``bzr status`` in a readonly directory should work without giving
4965
lots of errors. (John Arbash Meinel, #76299)
4967
* Mention the revisionspec topic for the revision option help.
4968
(Wouter van Heyst, #31663)
4970
* Allow plugins import from zip archives.
4971
(Alexander Belchenko, #68124)
4975
--------------------
4977
No changes from 0.13rc1
4979
bzr 0.13rc1 2006-11-27
4980
-----------------------
4984
* New command ``bzr remove-tree`` allows the removal of the working
4986
(Daniel Silverstone)
4988
* urllib uses shared keep-alive connections, so http
4989
operations are substantially faster.
4990
(Vincent Ladeuil, #53654)
4992
* ``bzr export`` allows an optional branch parameter, to export a bzr
4993
tree from some other url. For example:
4994
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
4995
(Daniel Silverstone)
4997
* Added ``bzr help topics`` to the bzr help system. This gives a
4998
location for general information, outside of a specific command.
4999
This includes updates for ``bzr help revisionspec`` the first topic
5000
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
5002
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
5005
* Knit files will now cache full texts only when the size of the
5006
deltas is as large as the size of the fulltext. (Or after 200
5007
deltas, whichever comes first). This has the most benefit on large
5008
files with small changes, such as the inventory for a large project.
5009
(eg For a project with 2500 files, and 7500 revisions, it changes
5010
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
5014
* New -D option given before the command line turns on debugging output
5015
for particular areas. -Derror shows tracebacks on all errors.
5018
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
5019
and remove benchmarks that take longer than 10min to run.
5020
(John Arbash Meinel)
5022
* Use ``time.time()`` instead of ``time.clock()`` to decide on
5023
progress throttling. Because ``time.clock()`` is actually CPU time,
5024
so over a high-latency connection, too many updates get throttled.
5025
(John Arbash Meinel)
5027
* ``MemoryTransport.list_dir()`` would strip the first character for
5028
files or directories in root directory. (John Arbash Meinel)
5030
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
5031
branch references - which the smart server component needs.
5033
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
5034
prefix. It disallows any access to locations above a set URL. (Andrew
5039
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
5040
And optimize the knit index parsing code.
5041
(Dmitry Vasiliev, John Arbash Meinel)
5043
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
5044
without importing it. This prevented ``bzr upgrade`` from working
5045
unless a plugin already imported ``bzrlib.workingtree``
5046
(John Arbash Meinel, #70716)
5048
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
5050
* Give nicer error message when an http server returns a 403
5051
error code. (Vincent Ladeuil, #57644).
5053
* When a multi-range http GET request fails, try a single
5054
range one. If it fails too, forget about ranges. Remember that until
5055
the death of the transport and propagates that to the clones.
5056
(Vincent Ladeuil, #62276, #62029).
5058
* Handles user/passwords supplied in url from command
5059
line (for the urllib implementation). Don't request already
5060
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
5062
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
5063
are added. This fixes bug where fetching remote revisions records
5064
them as full references rather than integers.
5065
(John Arbash Meinel, #64789)
5067
* ``bzr ignore`` strips trailing slashes in patterns.
5068
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
5070
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
5072
* mv correctly handles paths that traverse symlinks.
5073
(Aaron Bentley, #66964)
5075
* Give nicer looking error messages when failing to connect over ssh.
5076
(John Arbash Meinel, #49172)
5078
* Pushing to a remote branch does not currently update the remote working
5079
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
5080
machine now show that the working tree is out of date.
5081
(Cheuksan Edward Wang #48136)
5083
* Use patiencediff instead of difflib for determining deltas to insert
5084
into knits. This avoids the O(N^3) behavior of difflib. Patience
5085
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
5087
* Running ``bzr log`` on nonexistent file gives an error instead of the
5088
entire log history. (Cheuksan Edward Wang #50793)
5090
* ``bzr cat`` can look up contents of removed or renamed files. If the
5091
pathname is ambiguous, i.e. the files in the old and new trees have
5092
different id's, the default is the file in the new tree. The user can
5093
use "--name-from-revision" to select the file in the old tree.
5094
(Cheuksan Edward Wang, #30190)
5098
* TestingHTTPRequestHandler really handles the Range header
5099
(previously it was ignoring it and returning the whole file,).
5102
--------------------
5106
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
5107
and remove benchmarks that take longer than 10min to run.
5108
(John Arbash Meinel)
5110
bzr 0.12rc1 2006-10-23
5111
-----------------------
5115
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
5116
rather than just showing a decimal revision number for revisions on the
5117
mainline. These revision numbers are not yet accepted as input into bzr
5118
commands such as log, diff etc. (Robert Collins)
5120
* revisions can now be specified using dotted-decimal revision numbers.
5121
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
5123
* ``bzr help commands`` output is now shorter (Aaron Bentley)
5125
* ``bzr`` now uses lazy importing to reduce the startup time. This has
5126
a moderate effect on lots of actions, especially ones that have
5127
little to do. For example ``bzr rocks`` time is down to 116ms from
5128
283ms. (John Arbash Meinel)
5130
* New Registry class to provide name-to-object registry-like support,
5131
for example for schemes where plugins can register new classes to
5132
do certain tasks (e.g. log formatters). Also provides lazy registration
5133
to allow modules to be loaded on request.
5134
(John Arbash Meinel, Adeodato Simó)
5136
API INCOMPATABILITY:
5138
* LogFormatter subclasses show now expect the 'revno' parameter to
5139
show() to be a string rather than an int. (Robert Collins)
5143
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
5144
can take a ``working_dir='foo'`` parameter, which will change directory
5145
for the command. (John Arbash Meinel)
5147
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
5148
around a regex, which defers compilation until first use.
5149
(John Arbash Meinel)
5151
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
5152
``--no-plugins`` parameter to ensure test reproducability, and avoid
5153
problems with system-wide installed plugins. (John Arbash Meinel)
5155
* Unique tree root ids are now supported. Newly created trees still
5156
use the common root id for compatibility with bzr versions before 0.12.
5159
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
5160
pass in ``inventory.ROOT_ID`` if you want the default root id value.
5161
(Robert Collins, John Arbash Meinel)
5163
* New method ``WorkingTree.flush()`` which will write the current memory
5164
inventory out to disk. At the same time, ``read_working_inventory`` will
5165
no longer trash the current tree inventory if it has been modified within
5166
the current lock, and the tree will now ``flush()`` automatically on
5167
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
5168
advantage of this functionality. (Robert Collins, John Arbash Meinel)
5170
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
5171
parameter will cause it to add another column to its output, which
5172
contains the dotted-decimal revno for each revision, as a tuple.
5175
* ``LogFormatter.show_merge`` is deprecated in favour of
5176
``LogFormatter.show_merge_revno``. (Robert Collins)
5180
* Avoid circular imports by creating a deprecated function for
5181
``bzrlib.tree.RevisionTree``. Callers should have been using
5182
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
5185
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
5186
platforms. (Martin Pool, #66356)
5188
* Don't require ``Content-Type`` in range responses. Assume they are a
5189
single range if ``Content-Type`` does not exist.
5190
(John Arbash Meinel, #62473)
5192
* bzr branch/pull no longer complain about progress bar cleanup when
5193
interrupted during fetch. (Aaron Bentley, #54000)
5195
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
5196
the basis inventory, rather than going through the repository. This
5197
allows us to have 1 inventory read, and 2 inventory writes when
5198
committing a new tree. (John Arbash Meinel)
5200
* When reverting, files that are not locally modified that do not exist
5201
in the target are deleted, not just unversioned (Aaron Bentley)
5203
* When trying to acquire a lock, don't fail immediately. Instead, try
5204
a few times (up to 1 hour) before timing out. Also, report why the
5205
lock is unavailable (John Arbash Meinel, #43521, #49556)
5207
* Leave HttpTransportBase daughter classes decides how they
5208
implement cloning. (Vincent Ladeuil, #61606)
5210
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
5212
* If a commit fails, the commit message is stored in a file at the root of
5213
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
5218
* New test base class TestCaseWithMemoryTransport offers memory-only
5219
testing facilities: its not suitable for tests that need to mutate disk
5220
state, but most tests should not need that and should be converted to
5221
TestCaseWithMemoryTransport. (Robert Collins)
5223
* ``TestCase.make_branch_and_memory_tree`` now takes a format
5224
option to set the BzrDir, Repository and Branch formats of the
5225
created objects. (Robert Collins, John Arbash Meinel)
5228
--------------------
5230
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
5232
bzr 0.11rc2 2006-09-27
5233
-----------------------
5237
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
5239
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
5242
bzr 0.11rc1 2006-09-25
5243
-----------------------
5247
* Knit files now wait to create their contents until the first data is
5248
added. The old code used to create an empty .knit and a .kndx with just
5249
the header. However, this caused a lot of extra round trips over sftp.
5250
This can change the time for ``bzr push`` to create a new remote branch
5251
from 160s down to 100s. This also affects ``bzr commit`` performance when
5252
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
5253
down to 40s (John Arbash Meinel, #44692)
5255
* When an entire subtree has been deleted, commit will now report that
5256
just the top of the subtree has been deleted, rather than reporting
5257
all the individual items. (Robert Collins)
5259
* Commit performs one less XML parse. (Robert Collins)
5261
* ``bzr checkout`` now operates on readonly branches as well
5262
as readwrite branches. This fixes bug #39542. (Robert Collins)
5264
* ``bzr bind`` no longer synchronises history with the master branch.
5265
Binding should be followed by an update or push to synchronise the
5266
two branches. This is closely related to the fix for bug #39542.
5269
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
5270
objects. This allows all imports to stay at the global scope, but
5271
modules will not actually be imported if they are not used.
5272
(John Arbash Meinel)
5274
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
5275
transport which will be used with the upcoming high-performance smart
5276
server. The new command ``bzr serve`` will invoke bzr in server mode,
5277
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
5280
* New command ``bzr version-info`` which can be used to get a summary
5281
of the current state of the tree. This is especially useful as part
5282
of a build commands. See ``doc/version_info.txt`` for more information
5283
(John Arbash Meinel)
5287
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
5288
specific set of files. (John Arbash Meinel, #3631)
5290
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
5292
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
5293
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
5294
reading a nested Stanza. (John Arbash Meinel)
5296
* Transform._set_mode() needs to stat the right file.
5297
(John Arbash Meinel, #56549)
5299
* Raise WeaveFormatError rather than StopIteration when trying to read
5300
an empty Weave file. (John Arbash Meinel, #46871)
5302
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
5303
(Vincent Ladeuil, #59835)
5305
* Handle boundary="" lines properly to allow access through a Squid proxy.
5306
(John Arbash Meinel, #57723)
5308
* revert now removes newly-added directories (Aaron Bentley, #54172)
5310
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
5311
isn't a working tree. (David Allouche, #40679)
5313
* Give nicer error messages when a user supplies an invalid --revision
5314
parameter. (John Arbash Meinel, #55420)
5316
* Handle when LANG is not recognized by python. Emit a warning, but
5317
just revert to using 'ascii'. (John Arbash Meinel, #35392)
5319
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
5320
(John Arbash Meinel)
5322
* Skip specific tests when the dependencies aren't met. This includes
5323
some ``setup.py`` tests when ``python-dev`` is not available, and
5324
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
5326
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
5327
the system. (Andrew Bennetts, John Arbash Meinel)
5329
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
5330
other branch, and will not push or pull between the two branches.
5331
API users will need to perform a push or pull or update operation if they
5332
require branch synchronisation to take place. (Robert Collins, #47344)
5334
* When creating a tarball or zipfile export, export unicode names as utf-8
5335
paths. This may not work perfectly on all platforms, but has the best
5336
chance of working in the common case. (John Arbash Meinel, #56816)
5338
* When committing, only files that exist in working tree or basis tree
5339
may be specified (Aaron Bentley, #50793)
5343
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
5347
* TestCaseInTempDir now creates a separate directory for HOME, rather
5348
than having HOME set to the same location as the working directory.
5349
(John Arbash Meinel)
5351
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
5352
which will update os.environ inside the spawned child. It also can
5353
take a ``universal_newlines=True``, which helps when checking the output
5354
of the command. (John Arbash Meinel)
5356
* Refactor SFTP vendors to allow easier re-use when ssh is used.
5359
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
5360
return urlescaped paths. This is now tested (there were bugs in a few
5361
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
5363
* New utility function ``symbol_versioning.deprecation_string``. Returns the
5364
formatted string for a callable, deprecation format pair. (Robert Collins)
5366
* New TestCase helper applyDeprecated. This allows you to call a callable
5367
which is deprecated without it spewing to the screen, just by supplying
5368
the deprecation format string issued for it. (Robert Collins)
5370
* Transport.append and Transport.put have been deprecated in favor of
5371
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
5372
``.put_file``. This removes the ambiguity in what type of object the
5373
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
5374
been added. Which works similarly to ``Transport.append()`` except for
5375
SFTP, it doesn't have a round trip when opening the file. Also, it
5376
provides functionality for creating a parent directory when trying
5377
to create a file, rather than raise NoSuchFile and forcing the
5378
caller to repeat their request.
5379
(John Arbash Meinel)
5381
* WorkingTree has a new api ``unversion`` which allow the unversioning of
5382
entries by their file id. (Robert Collins)
5384
* ``WorkingTree.pending_merges`` is deprecated. Please use the
5385
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
5387
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
5388
read rather than write. This is appropriate for actions which only need
5389
the branch data for reference rather than mutation. A new decorator
5390
``needs_tree_write_lock`` is provided in the workingtree module. Like the
5391
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
5392
declaration of the locking requirements of a function to ensure that
5393
a lock is taken out for casual scripts. (Robert Collins, #54107)
5395
* All WorkingTree methods which write to the tree, but not to the branch
5396
have been converted to use ``needs_tree_write_lock`` rather than
5397
``needs_write_lock``. Also converted is the revert, conflicts and tree
5398
transform modules. This provides a modest performance improvement on
5399
metadir style trees, due to the reduce lock-acquisition, and a more
5400
significant performance improvement on lightweight checkouts from
5401
remote branches, where trivial operations used to pay a significant
5402
penalty. It also provides the basis for allowing readonly checkouts.
5405
* Special case importing the standard library 'copy' module. This shaves
5406
off 40ms of startup time, while retaining compatibility. See:
5407
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
5409
* WorkingTree has a new parent class MutableTree which represents the
5410
specialisations of Tree which are able to be altered. (Robert Collins)
5412
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
5413
mutate the tree and its contents. (Robert Collins)
5415
* Transport behaviour at the root of the URL is now defined and tested.
5416
(Andrew Bennetts, Robert Collins)
5420
* New test helper classs MemoryTree. This is typically accessed via
5421
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
5423
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
5424
code to continue running concurrently with a subprocess of bzr.
5425
(Andrew Bennetts, Robert Collins)
5427
* Add a new method ``Transport.get_smart_client()``. This is provided to
5428
allow upgrades to a richer interface than the VFS one provided by
5429
Transport. (Andrew Bennetts, Martin Pool)
5432
--------------------
5435
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
5436
tree. (Aaron Bentley)
5438
* 'bzr add --file-ids-from' can be used to specify another path to use
5439
for creating file ids, rather than generating all new ones. Internally,
5440
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
5441
will be used, rather than having bzrlib generate new ones.
5442
(John Arbash Meinel, #55781)
5444
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
5445
This will cache some of the intermediate trees, and decrease the
5446
setup time for benchmark tests. (John Arbash Meinel)
5448
* Inverse forms are provided for all boolean options. For example,
5449
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
5451
* Serialize out Inventories directly, rather than using ElementTree.
5452
Writing out a kernel sized inventory drops from 2s down to ~350ms.
5453
(Robert Collins, John Arbash Meinel)
5457
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
5459
* Change LockDir so that if the lock directory doesn't exist when
5460
``lock_write()`` is called, an attempt will be made to create it.
5461
(John Arbash Meinel, #56974)
5463
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
5465
* Active FTP transport now works as intended. (ghozzy, #56472)
5467
* Really fix mutter() so that it won't ever raise a UnicodeError.
5468
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
5469
But it is a debugging log, not a real user file.
5470
(John Arbash Meinel, #56947, #53880)
5472
* Change Command handle to allow Unicode command and options.
5473
At present we cannot register Unicode command names, so we will get
5474
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
5475
But that is better than a UnicodeError + a traceback.
5476
(John Arbash Meinel, #57123)
5478
* Handle TZ=UTC properly when reading/writing revisions.
5479
(John Arbash Meinel, #55783, #56290)
5481
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
5482
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
5484
* External diff does the right thing for binaries even in foreign
5485
languages. (John Arbash Meinel, #56307)
5487
* Testament handles more cases when content is unicode. Specific bug was
5488
in handling of revision properties.
5489
(John Arbash Meinel, Holger Krekel, #54723)
5491
* The bzr selftest was failing on installed versions due to a bug in a new
5492
test helper. (John Arbash Meinel, Robert Collins, #58057)
5496
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
5497
which can be used to cache the conversion between utf8 and Unicode.
5498
Especially helpful for some of the knit annotation code, which has to
5499
convert revision ids to utf8 to annotate lines in storage.
5500
(John Arbash Meinel)
5502
* ``setup.py`` now searches the filesystem to find all packages which
5503
need to be installed. This should help make the life of packagers
5504
easier. (John Arbash Meinel)
5506
bzr 0.9.0 2006-08-11
5507
---------------------
5511
* The hard-coded built-in ignore rules have been removed. There are
5512
now two rulesets which are enforced. A user global one in
5513
``~/.bazaar/ignore`` which will apply to every tree, and the tree
5514
specific one '.bzrignore'.
5515
``~/.bazaar/ignore`` will be created if it does not exist, but with
5516
a more conservative list than the old default.
5517
This fixes bugs with default rules being enforced no matter what.
5518
The old list of ignore rules from bzr is available by
5519
running 'bzr ignore --old-default-rules'.
5520
(Robert Collins, Martin Pool, John Arbash Meinel)
5522
* 'branches.conf' has been changed to 'locations.conf', since it can apply
5523
to more locations than just branch locations.
5528
* The revision specifier "revno:" is extended to accept the syntax
5529
revno:N:branch. For example,
5530
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
5531
bzr.dev. (Matthieu Moy)
5533
5
* Tests updates to ensure proper URL handling, UNICODE support, and
5534
6
proper printing when the user's terminal encoding cannot display
5535
7
the path of a file that has been versioned.
5536
8
``bzr branch`` can take a target URL rather than only a local directory.
5537
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
9
Branch.get_parent()/set_parent() now save a relative path if possible,
5538
10
and normalize the parent based on root, allowing access across
5539
11
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
5540
12
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
5543
15
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
5544
16
Use terminal width for single-line logs from ``bzr log --line`` and