12
* Progress bars now show the rate of activity for some sftp
13
operations, and they are drawn different. (Martin Pool, #172741)
20
* By default, ``bzr status`` after a merge now shows just the pending
21
merge tip revisions. This improves the signal-to-noise ratio after
22
merging from trunk and completes much faster. To see all merged
23
revisions, use the new ``-v`` flag. (Ian Clatworthy)
29
* ``bzr init`` will now print a little less verbose output.
34
* ``bzr log FILE`` now correctly shows mainline revisions merging
35
a change to FILE when the ``--short`` and ``--line`` log formats
36
are used. (Ian Clatworthy, #317417)
38
* Fix a problem with CIFS client/server lag on Windows colliding with
39
an invariant-per-process algorithm for generating AtomicFile names
40
(Adrian Wilkins, #304023)
42
* Many socket operations now handle EINTR by retrying the operation.
43
Previously EINTR was treated as an unrecoverable failure. There is
44
a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
55
* ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
56
formatters to retrict the output.
59
bzr 1.11rc1 "Eyes up!" 2009-01-09
60
---------------------------------
62
This first monthly release of Bazaar for 2009 improves Bazaar's operation
63
in Windows, Mac OS X, and other situations where file names are matched
64
without regard to capitalization: Bazaar tries to match the case of an
65
existing file. This release of Bazaar also improves the efficiency of
66
Tortoise Windows Shell integration and lets it work on 64-bit platforms.
68
The UI through which Bazaar supports historic formats has been improved,
69
so 'bzr help formats' now gives a simpler and shorter list, with clear
72
This release also fixes a number of bugs, particularly a glitch that can
73
occur when there are concurrent writes to a pack repository.
77
* Formats using Knit-based repository formats are now explicitly
78
marked as deprecated. (Ian Clatworthy)
82
* Add support for `bzr tags -r 1..2`, that is we now support showing
83
tags applicable for a specified revision range. (Marius Kruger)
85
* ``authentication.conf`` now accepts pluggable read-only credential
86
stores. Such a plugin (``netrc_credential_store``) is now included,
87
handles the ``$HOME/.netrc`` file and can server as an example to
88
implement other plugins.
91
* ``shelve --list`` can now be used to list shelved changes.
96
* Add trailing slash to directories in all output of ``bzr ls``, except
97
``bzr ls --null``. (Gordon P. Hemsley, #306424)
99
* ``bzr revision-info`` now supports a -d option to specify an
100
alternative branch. (Michael Hudson)
102
* Add connection to a C++ implementation of the Windows Shell Extension
103
which is able to fully replace the current Python implemented one.
104
Advantages include 64bit support and reduction in overhead for
105
processes which drag in shell extensions.
108
* Support the Claws mail client directly, rather than via
109
xdg-email. This prevents the display of an unnecessary modal
110
dialog in Claws, informing the user that a file has been
111
attached to the message, and works around bug #291847 in
112
xdg-utils which corrupts the destination address.
114
* When working on a case-insensitive case-preserving file-system, as
115
commonly found with Windows, bzr will often ignore the case of the
116
arguments specified by the user in preference to the case of an existing
117
item on the file-system or in the inventory to help prevent
118
counter-intuitive behaviour on Windows. (Mark Hammond)
122
* Allow BzrDir implementation to implement backing up of
123
control directory. (#139691)
125
* ``bzr push`` creating a new stacked branch will now only open a
126
single connection to the target machine. (John Arbash Meinel)
128
* Don't call iteritems on transport_list_registry, because it may
129
change during iteration. (Martin Pool, #277048)
131
* Don't make a broken branch when pushing an unstackable-format branch
132
that's in a stackable shared repository to a location with default
133
stack-on location. (Andrew Bennetts, #291046)
135
* Don't require embedding user in HTTP(S) URLs do use authentication.conf.
136
(Ben Jansen, Vincent Ladeuil, #300347)
138
* Fix a problem with CIFS client/server lag on windows colliding with
139
an invariant-per-process algorithm for generating AtomicFile names
140
(Adrian Wilkins, #304023)
142
* Fix bogus setUp signature in UnavailableFTPServer.
143
(Gary van der Merwe, #313498)
145
* Fix compilation error in ``_dirstate_helpers_c`` on SunOS/Solaris.
148
* Fix SystemError in ``_patiencediff_c`` module by calling
149
PyErr_NoMemory() before returning NULL in PatienceSequenceMatcher_new.
150
(Andrew Bennetts, #303206)
152
* Give proper error message for diff with non-existent dotted revno.
153
(Marius Kruger, #301969)
155
* Handle EACCES (permission denied) errors when launching a message
156
editor, and emit warnings when a configured editor cannot be
157
started. (Andrew Bennetts)
159
* ``$HOME/.netrc`` file is now recognized as a read-only credential store
160
if configured in ``authentication.conf`` with 'password_encoding=netrc'
161
in the appropriate sections.
162
(Vincent Ladeuil, #103029)
164
* Opening a stacked branch now properly shares the connection, rather
165
than opening a new connection for the stacked-on branch.
168
* Preserve transport decorators while following redirections.
169
(Vincent Ladeuil, #245964, #270863)
171
* Provides a finer and more robust filter for accepted redirections.
172
(Vincent Ladeuil, #303959, #265070)
174
* ``shelve`` paths are now interpreted relative to the current working
175
tree. (Aaron Bentley)
177
* ``Transport.readv()`` defaults to not reading more than 100MB in a
178
single array. Further ``RemoteTransport.readv`` sets this to 5MB to
179
work better with how it splits its requests.
180
(John Arbash Meinel, #303538)
182
* Pack repositories are now able to reload the pack listing and retry
183
the current operation if another action causes the data to be
184
repacked. (John Arbash Meinel, #153786)
186
* ``pull -v`` now respects the log_format configuration variable.
189
* ``push -v`` now works on non-initial pushes. (Aaron Bentley)
191
* Use the short status format when the short format is used for log.
192
(Vincent Ladeuil, #87179)
194
* Allow files to be renamed or moved via remove + add-by-id. (Charles
199
* Improved the formats help topic to explain why multiple formats
200
exist and to provide guidelines in selecting one. Introduced
201
two new supporting help topics: current-formats and other-formats.
206
* ``LRUCache(after_cleanup_size)`` was renamed to
207
``after_cleanup_count`` and the old name deprecated. The new name is
208
used for clarity, and to avoid confusion with
209
``LRUSizeCache(after_cleanup_size)``. (John Arbash Meinel)
211
* New ``ForeignRepository`` base class, to help with foreign branch
212
support (e.g. svn). (Jelmer Vernooij)
214
* ``node_distances`` and ``select_farthest`` can no longer be imported
215
from ``bzrlib.graph``. They can still be imported from
216
``bzrlib.deprecated_graph``, which has been the preferred way to
217
import them since before 1.0. (Andrew Bennetts)
219
* The logic in commit now delegates inventory basis calculations to
220
the ``CommitBuilder`` object; this requires that the commit builder
221
in use has been updated to support the new ``recording_deletes`` and
222
``record_delete`` methods. (Robert Collins)
226
* An HTTPS server is now available (it requires python-2.6). Future bzr
227
versions will allow the use of the python-2.6 ssl module that can be
228
installed for 2.5 and 2.4.
230
* ``bzr selftest`` now fails if new trailing white space is added to
231
the bazaar sources. It only checks changes not committed yet. This
232
means that PQM will now reject changes that introduce new trailing
233
whitespace. (Marius Kruger)
235
* Introduced new experimental formats called ``1.12-preview`` and
236
``1.12-preview-rich-root`` to enable testing of related pending
237
features, namely content filtering and filtered views.
242
* Added an ``InventoryEntry`` cache when deserializing inventories.
243
Can cut the time to iterate over multiple RevisionsTrees in half.
246
* Added ``bzrlib.fifo_cache.FIFOCache`` which is designed to have
247
minimal overhead versus using a plain dict for cache hits, at the
248
cost of not preserving the 'active' set as well as an ``LRUCache``.
251
* ``bzrlib.patience_diff.unified_diff`` now properly uses a tab
252
character to separate the filename from the date stamp, and doesn't
253
add trailing whitespace when a date stamp is not supplied.
254
(Adeodato Simó, John Arbash Meinel)
256
* ``DirStateWorkingTree`` and ``DirStateWorkingTreeFormat`` added
257
as base classes of ``WorkingTree4`` and ``WorkingTreeFormat4``
258
respectively. (Ian Clatworthy)
260
* ``KnitVersionedFiles._check_should_delta()`` now uses the
261
``get_build_details`` api to avoid multiple hits to the index, and
262
to properly follow the ``compression_parent`` rather than assuming
263
it is the left-hand parent. (John Arbash Meinel)
265
* ``KnitVersionedFiles.get_record_stream()`` will now chose a
266
more optimal ordering when the keys are requested 'unordered'.
267
Previously the order was fully random, now the records should be
268
returned from each pack in turn, in forward I/O order.
271
* ``mutter()`` will now flush the ``~/.bzr.log`` if it has been more
272
than 2s since the last time it flushed. (John Arbash Meinel)
274
* New method ``bzrlib.repository.Repository.add_inventory_by_delta``
275
allows adding an inventory via an inventory delta, which can be
276
more efficient for some repository types. (Robert Collins)
278
* Repository ``CommitBuilder`` objects can now accumulate an inventory
279
delta. To enable this functionality call ``builder.recording_deletes``
280
and additionally call ``builder.record_delete`` when a delete
281
against the basis occurs. (Robert Collins)
283
* The default http handler has been changed from pycurl to urllib.
284
The default is still pycurl for https connections. (The only
285
advantage of pycurl is that it checks ssl certificates.)
288
* The progress and UI classes have changed; the main APIs remain the
289
same but code that provides a new UI or progress bar class may
290
need to be updated. (Martin Pool)
292
* ``VersionedFiles.get_record_stream()`` can now return objects with a
293
storage_kind of ``chunked``. This is a collection (list/tuple) of
294
strings. You can use ``osutils.chunks_to_lines()`` to turn them into
295
guaranteed 'lines' or you can use ``''.join(chunks)`` to turn it
296
into a fulltext. This allows for some very good memory savings when
297
asking for many texts that share ancestry, as the individual chunks
298
can be shared between versions of the file. (John Arbash Meinel)
300
* ``pull -v`` and ``push -v`` use new function
301
``bzrlib.log.show_branch_change`` (Aaron Bentley)
308
Bazaar 1.10 has several performance improvements for copying revisions
309
(especially for small updates to large projects). There has also been a
310
significant amount of effort in polishing stacked branches. The commands
311
``shelve`` and ``unshelve`` have become core commands, with an improved
314
The only changes versus bzr-1.10rc1 are bugfixes for stacked branches.
318
* Don't set a pack write cache size from RepoFetcher, because the
319
cache is not coherent with reads and causes ShortReadvErrors.
320
This reverses the change that fixed #294479.
321
(Martin Pool, #303856)
323
* Properly handle when a revision can be inserted as a delta versus
324
when it needs to be expanded to a fulltext for stacked branches.
325
There was a bug involving merge revisions. As a method to help
326
prevent future difficulties, also make stacked fetches sort
327
topologically. (John Arbash Meinel, #304841)
330
bzr 1.10rc1 2008-11-28
331
----------------------
333
This release of Bazaar focuses on performance improvements when pushing
334
and pulling revisions, both locally and to remote networks. The popular
335
``shelve`` and ``unshelve`` commands, used to interactively revert and
336
restore work in progress, have been merged from bzrtools into the bzr
337
core. There are also bug fixes for portability, and for stacked branches.
341
* New ``commit_message_template`` hook that is called by the commit
342
code to generate a template commit message. (Jelmer Vernooij)
344
* New `shelve` and `unshelve` commands allow undoing and redoing changes.
349
* ``(Remote)Branch.copy_content_into`` no longer generates the full revision
350
history just to set the last revision info.
351
(Andrew Bennetts, John Arbash Meinel)
353
* Fetches between formats with different serializers (such as
354
pack-0.92-subtree and 1.9-rich-root) are faster now. This is due to
355
operating on batches of 100 revisions at time rather than
356
one-by-one. (Andrew Bennetts, John Arbash Meinel)
358
* Search index files corresponding to pack files we've already used
359
before searching others, because they are more likely to have the
360
keys we're looking for. This reduces the number of iix and tix
361
files accessed when pushing 1 new revision, for instance.
364
* Signatures to transfer are calculated more efficiently in
365
``item_keys_introduced_by``. (Andrew Bennetts, John Arbash Meinel)
367
* The generic fetch code can once again copy revisions and signatures
368
without extracting them completely to fulltexts and then serializing
369
them back down into byte strings. This is a significant performance
370
improvement when fetching from a stacked branch.
371
(John Arbash Meinel, #300289)
373
* When making a large readv() request over ``bzr+ssh``, break up the
374
request into more manageable chunks. Because the RPC is not yet able
375
to stream, this helps keep us from buffering too much information at
376
once. (John Arbash Meinel)
380
* Better message when the user needs to set their Launchpad ID.
381
(Martin Pool, #289148)
383
* ``bzr commit --local`` doesn't access the master branch anymore.
384
This fixes a regression introduced in 1.9. (Marius Kruger, #299313)
386
* Don't call the system ``chdir()`` with an empty path. Sun OS seems
387
to give an error in that case. Also, don't count on ``getcwd()``
388
being able to allocate a new buffer, which is a gnu extension.
389
(John Arbash Meinel, Martin Pool, Harry Hirsch, #297831)
391
* Don't crash when requesting log --forward <file> for a revision range
392
starting with a dotted revno.
393
(Vincent Ladeuil, #300055)
395
* Don't create text deltas spanning stacked repositories; this could
396
cause "Revision X not present in Y" when later accessing them.
397
(Martin Pool, #288751)
399
* Pack repositories are now able to reload the pack listing and retry
400
the current operation if another action causes the data to be
401
repacked. (John Arbash Meinel, #153786)
403
* PermissionDenied errors from smart servers no longer cause
404
"PermissionDenied: "None"" on the client.
405
(Andrew Bennetts, #299254)
407
* Pushing to a stacked pack repository now batches writes, the same
408
way writes are batched to ordinary pack repository. This makes
409
pushing to a stacked branch over the network much faster.
410
(Andrew Bennetts, #294479)
412
* TooManyConcurrentRequests no longer occur when a fetch fails and
413
tries to abort a write group. This allows the root cause (e.g. a
414
network interruption) to be reported. (Andrew Bennetts, #297014)
416
* RemoteRepository.get_parent_map now uses fallback repositories.
417
(Aaron Bentley, #297991?, #293679?)
421
* ``CommitBuilder`` now validates the strings it will be committing,
422
to ensure that they do not have characters that will not be properly
423
round-tripped. For now, it just checks for characters that are
424
invalid in the XML form. (John Arbash Meinel, #295161)
426
* Constructor parameters for NewPack (internal to pack repositories)
427
have changed incompatibly.
429
* ``Repository.abort_write_group`` now accepts an optional
430
``suppress_errors`` flag. Repository implementations that override
431
``abort_write_group`` will need to be updated to accept the new
432
argument. Subclasses that only override ``_abort_write_group``
433
don't need to change.
435
* Transport implementations must provide copy_tree_to_transport. A default
436
implementation is provided for Transport subclasses.
440
* ``bzr selftest`` now fails if no doctests are found in a module
441
that's expected to have them. (Martin Pool)
443
* Doctests now only report the first failure. (Martin Pool)
449
This release of Bazaar adds a new repository format, ``1.9``, with smaller
450
and more efficient index files. This format can be specified when
451
creating a new repository, or used to losslessly upgrade an existing
452
repository. bzr 1.9 also speeds most operations over the smart server
453
protocol, makes annotate faster, and uses less memory when making
454
checkouts or pulling large amounts of data.
458
* Fix "invalid property value 'branch-nick' for None" regression with
459
branches bound to svn branches. (Martin Pool, #293440)
461
* Fix SSL/https on Python2.6. (Vincent Ladeuil, #293054)
463
* ``SFTPTransport.readv()`` had a bug when requests were out-of-order.
464
This only triggers some-of-the-time on Knit format repositories.
465
(John Arbash Meinel, #293746)
468
bzr 1.9rc1 2008-10-31
469
---------------------
473
* New Branch hook ``transform_fallback_location`` allows a function to
474
be called when looking up the stacked source. (Michael Hudson)
476
* New repository formats ``1.9`` and ``1.9-rich-root``. These have all
477
the functionality of ``1.6``, but use the new btree indexes.
478
These indexes are both smaller and faster for access to historical
479
information. (John Arbash Meinel)
483
* ``BTreeIndex`` code now is able to prefetch extra pages to help tune
484
the tradeoff between bandwidth and latency. Should be tuned
485
appropriately to not impact commands which need minimal information,
486
but provide a significant boost to ones that need more context. Only
487
has a direct impact on the ``--development2`` format which uses
488
btree's for the indexes. (John Arbash Meinel)
490
* ``bzr dump-btree`` is a hidden command introduced to allow dumping
491
the contents of a compressed btree file. (John Arbash Meinel)
493
* ``bzr pack`` now tells the index builders to optimize for size. For
494
btree index repositories, this can save 25% of the index size
495
(mostly in the text indexes). (John Arbash Meinel)
497
* ``bzr push`` to an existing branch or repository on a smart server
498
is faster, due to Bazaar making more use of the ``get_parent_map``
499
RPC when querying the remote branch's revision graph.
502
* default username for bzr+ssh and sftp can be configured in
503
authentication.conf. (Aaron Bentley)
505
* launchpad-login now provides a default username for bzr+ssh and sftp
506
URLs, allowing username-free URLs to work for everyone. (Aaron Bentley)
508
* ``lp:`` lookups no longer include usernames, making them shareable and
509
shorter. (Aaron Bentley)
511
* New ``PackRepository.autopack`` smart server RPC, which does
512
autopacking entirely on the server. This is much faster than
513
autopacking via plain file methods, which downloads a large amount
514
of pack data and then re-uploads the same pack data into a single
515
file. This fixes a major (although infrequent) cause of lengthy
516
delays when using a smart server. For example, pushing the 10th
517
revision to a repository with 9 packs now takes 44 RPCs rather than
518
179, and much less bandwidth too. This requires Bazaar 1.9 on both
519
the client and the server, otherwise the client will fallback to the
520
slower method. (Andrew Bennetts)
524
* A failure to load a plugin due to an IncompatibleAPI exception is
525
now correctly reported. (Robert Collins, #279451)
527
* API versioning support now has a multiple-version checking api
528
``require_any_api``. (Robert Collins, #279447)
530
* ``bzr branch --stacked`` from a smart server to a standalone branch
531
works again. This fixes a regression in 1.7 and 1.8.
532
(Andrew Bennetts, #270397)
534
* ``bzr co`` uses less memory. It used to unpack the entire WT into
535
memory before writing it to disk. This was a little bit faster, but
536
consumed lots of memory. (John Arbash Meinel, #269456)
538
* ``bzr missing --quiet`` no longer prints messages about whether
539
there are missing revisions. The exit code indicates whether there
540
were or not. (Martin Pool, #284748)
542
* Fixes to the ``annotate`` code. The fast-path which re-used the
543
stored deltas was accidentally disabled all the time, instead of
544
only when a branch was stacked. Second, the code would accidentally
545
re-use a delta even if it wasn't against the left-parent, this
546
could only happen if ``bzr reconcile`` decided that the parent
547
ordering was incorrect in the file graph. (John Arbash Meinel)
549
* "Permission denied" errors that occur when pushing a new branch to a
550
smart server no longer cause tracebacks. (Andrew Bennetts, #278673)
552
* Some compatibility fixes for building the extensions with MSVC and
553
for python2.4. (John Arbash Meinel, #277484)
555
* The index logic is now able to reload the list of pack files if and
556
index ends up disappearing. We still don't reload if the pack data
557
itself goes missing after checking the index. This bug appears as a
558
transient failure (file not found) when another process is writing
559
to the repository. (John Arbash Meinel, #153786)
561
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
562
it was previously set. All checkouts will now refer to the bound branch
563
for a nickname if one was not explicitly set.
564
(Marius Kruger, #230903)
568
* Improved hook documentation. (Michael Ernst)
572
* commands.plugins_cmds is now a CommandRegistry, not a dict.
576
* New AuthenticationConfig.set_credentials method allows easy programmatic
577
configuration of authetication credentials.
583
Bazaar 1.8 includes several fixes that improve working tree performance,
584
display of revision logs, and merges. The bzr testsuite now passes on OS
585
X and Python 2.6, and almost completely passes on Windows. The
586
smartserver code has gained several bug fixes and performance
587
improvements, and can now run server-side hooks within an http server.
591
* Fix "Must end write group" error when another error occurs during
592
``bzr push``. (Andrew Bennetts, #230902)
596
* Some Pyrex versions require the WIN32 macro defined to compile on
597
that platform. (Alexander Belchenko, Martin Pool, #277481)
600
bzr 1.8rc1 2008-10-07
601
---------------------
605
* ``bzr log file`` has been changed. It now uses a different method
606
for determining which revisions to show as merging the changes to
607
the file. It now only shows revisions which merged the change
608
towards your mainline. This simplifies the output, makes it faster,
609
and reduces memory consumption. (John Arbash Meinel)
611
* ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
612
``--show-base`` is not supplied. (John Arbash Meinel)
614
* ``bzr+http//`` will now optionally load plugins and write logs on the
615
server. (Marius Kruger)
617
* ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
618
Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
619
explicitly blacklist that version of the compiler for that
620
extension. Packaged versions will include .c files created with
621
pyrex >= 0.9.6 so it doesn't effect releases, only users running
622
from the source tree. (John Arbash Meinel, #276868)
626
* bzr is now compatible with python-2.6. python-2.6 is not yet officially
627
supported (nor released, tests were conducted with the dev version of
628
python-2.6rc2), but all known problems have been fixed. Feedback
630
(Vincent Ladeuil, #269535)
634
* ``bzr annotate`` will now include uncommitted changes from the local
635
working tree by default. Such uncommitted changes are given the
636
revision number they would get if a commit was done, followed with a
637
? to indicate that its not actually known. (Robert Collins, #3439)
639
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
640
standalone branch regardless of the presence of shared repositories.
643
* ``bzr push`` is faster in the case there are no new revisions to
644
push. It is also faster if there are no tags in the local branch.
647
* File changes during a commit will update the tree stat cache.
650
* Location aliases can now accept a trailing path. (Micheal Hudson)
652
* New hooks ``Lock.hooks`` when LockDirs are acquired and released.
653
(Robert Collins, MartinPool)
655
* Switching in heavyweight checkouts uses the master branch's context, not
656
the checkout's context. (Adrian Wilkins)
658
* ``status`` on large trees is now faster, due to optimisations in the
659
walkdirs code. Of particular note, the walkdirs code now performs
660
a temporary ``chdir()`` while reading a single directory; if your
661
platform has non thread-local current working directories (and is
662
not windows which has its own implementation), this may introduce a
663
race condition during concurrent uses of bzrlib. The bzrlib CLI
664
will not encounter this as it is single threaded for working tree
665
operations. (Robert Collins)
667
* The C extensions now build on python 2.4 (Robert Collins, #271939)
669
* The ``-Dhpss`` debug flag now reports the number of smart server
670
calls per medium to stderr. This is in addition to the existing
671
detailed logging to the .bzr.log trace file. (Andrew Bennetts)
675
* Avoid random failures arising from misinterpreted ``errno`` values
676
in ``_readdir_pyx.read_dir``.
677
(Martin Pool, #279381)
679
* Branching from a shared repository on a smart server into a new
680
repository now preserves the repository format.
681
(Andrew Bennetts, #269214)
683
* ``bzr log`` now accepts a ``--change`` option.
684
(Vincent Ladeuil, #248427)
686
* ``bzr missing`` now accepts an ``--include-merges`` option.
687
(Vincent Ladeuil, #233817)
689
* Don't try to filter (internally) '.bzr' from the files to be deleted if
691
(Vincent Ladeuil, #272648)
693
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
696
* Fix TooManyConcurrentRequests errors caused by a connection failure
697
when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
698
(Andrew Bennetts, #246233)
700
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
701
is in a different repository than the current one.
702
(Lukáš Lalinský, #144421)
704
* Make the first line of the manpage preamble a comment again.
705
(David Futcher, #242106)
707
* Remove use of optional parameter in GSSAPI FTP support, since
708
it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
710
* The autopacking logic will now always create a single new pack from
711
all of the content which it deems is worth moving. This avoids the
712
'repack a single pack' bug and should result in better packing
713
overall. (John Arbash Meinel, #242510, #172644)
715
* Trivial documentation fix.
716
(John Arbash Meinel, #270471)
718
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
719
it was previously set. All checkouts will now refer to the bound branch
720
for a nickname if one was not explicitly set.
721
(Marius Kruger, #230903)
725
* Explain revision/range identifiers. (Daniel Clemente)
729
* ``CommitBuilder.record_entry_contents`` returns one more element in
730
its result tuple - an optional file system hash for the hash cache
731
to use. (Robert Collins)
733
* ``dirstate.DirState.update_entry`` will now only calculate the sha1
734
of a file if it is likely to be needed in determining the output
735
of iter_changes. (Robert Collins)
737
* The PackRepository, RepositoryPackCollection, NewPack classes have a
738
slightly changed interface to support different index types; as a
739
result other users of these classes need to supply the index types
740
they want. (Robert Collins)
744
* ``bzrlib.tests.repository_implementations`` has been renamed to
745
``bzrlib.tests.per_repository`` so that we have a common structure
746
(and it is shorter). (John Arbash Meinel, #239343)
748
* ``LocalTransport.abspath()`` now returns a drive letter if the
749
transport has one, fixing numerous tests on Windows.
752
* PreviewTree is now tested via intertree_implementations.
755
* The full test suite is passing again on OSX.
756
(Guillermo Gonzalez, Vincent Ladeuil)
758
* The full test suite passes when run with ``-Eallow_debug``.
763
* A new hook, ``Branch.open``, has been added, which is called when
764
branch objects are opened. (Robert Collins)
766
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
767
tree walking, and modular directory listing code to aid future
768
performance optimisations and refactoring. (Robert Collins)
770
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
771
in the middle of processing. It only reports memory if
772
``/proc/PID/status`` is available. (John Arbash Meinel)
774
* New method ``RevisionSpec.as_tree`` for representing the revision
775
specifier as a revision tree object. (Lukáš Lalinský)
777
* New race-free method on MutableTree ``get_file_with_stat`` for use
778
when generating stat cache results. (Robert Collins)
780
* New win32utils.get_local_appdata_location() provides access to a local
781
directory for storing data. (Mark Hammond)
783
* To be compatible with python-2.6 a few new rules should be
784
observed. 'message' attribute can't be used anymore in exception
785
classes, 'sha' and 'md5' modules have been deprecated (use
786
osutils.[md5|sha]), object__init__ and object.__new__ don't accept
794
No changes from 1.7.1rc1.
797
bzr 1.7.1rc1 2008-09-24
798
-----------------------
800
This release just includes an update to how the merge algorithm handles
801
file paths when we encounter complex history.
805
* If we encounter a criss-cross in history, use information from
806
direct Least Common Ancestors to resolve inventory shape (locations
807
of files, adds, deletes, etc). This is similar in concept to using
808
``--lca`` for merging file texts, only applied to paths.
815
This release includes many bug fixes and a few performance and feature
816
improvements. ``bzr rm`` will now scan for missing files and remove them,
817
like how ``bzr add`` scans for unknown files and adds them. A bit more
818
polish has been applied to the stacking code. The b-tree indexing code has
819
been brought in, with an eye on using it in a future repository format.
820
There are only minor installer changes since bzr-1.7rc2.
824
* Some small updates to the win32 installer. Include localization
825
files found in plugins, and include the builtin distutils as part of
826
packaging qbzr. (Mark Hammond)
829
bzr 1.7rc2 2008-09-17
830
---------------------
832
A few bug fixes from 1.7rc1. The biggest change is a new
833
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
834
trying to access a Stacked branch over the smart protocol, to properly
835
connect to the stacked-on location.
839
* Branching from a shared repository on a smart server into a new
840
repository now preserves the repository format.
841
(Andrew Bennetts, #269214)
843
* Branching from a stacked branch via ``bzr+ssh`` can properly connect
844
to the stacked-on branch. (Martin Pool, #261315)
846
* ``bzr init`` no longer re-opens the BzrDir multiple times.
849
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
853
bzr 1.7rc1 2008-09-09
854
---------------------
856
This release candidate for bzr 1.7 has several bug fixes and a few
857
performance and feature improvements. ``bzr rm`` will now scan for
858
missing files and remove them, like how ``bzr add`` scans for unknown
859
files and adds them. A bit more polish has been applied to the stacking
860
code. The b-tree indexing code has been brought in, with an eye on using
861
it in a future repository format.
866
* ``bzr export`` can now export a subdirectory of a project.
869
* ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
870
changes, unless the ``--force`` option is specified.
871
(Lukáš Lalinský, #74101)
873
* ``bzr rm`` will now scan for files that are missing and remove just
874
them automatically, much as ``bzr add`` scans for new files that
875
are not ignored and adds them automatically. (Robert Collins)
879
* Support for GSSAPI authentication when using FTP as documented in
880
RFC2228. (Jelmer Vernooij, #49623)
882
* Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
886
* A url like ``log+file:///tmp`` will log all access to that Transport
887
to ``.bzr.log``, which may help in debugging or profiling.
890
* ``bzr branch`` and ``bzr push`` use the default stacking policy if the
891
branch format supports it. (Aaron Bentley)
893
* ``bzr init`` and ``bzr init-repo`` will now print out the same as
894
``bzr info`` if it completed successfully.
897
* ``bzr uncommit`` logs the old tip revision id, and displays how to
898
restore the branch to that tip using ``bzr pull``. This allows you
899
to recover if you realize you uncommitted the wrong thing.
902
* Fix problems in accessing stacked repositories over ``bzr://``.
903
(Martin Pool, #261315)
905
* ``SFTPTransport.readv()`` was accidentally using ``list += string``,
906
which 'works', but adds each character separately to the list,
907
rather than using ``list.append(string)``. Fixing this makes the
908
SFTP transport a little bit faster (~20%) and use a bit less memory.
911
* When reading index files, if we happen to read the whole file in a
912
single request treat it as a ``_buffer_all`` request. This happens
913
most often on small indexes over remote transports, where we default
914
to reading 64kB. It saves a round trip for each small index during
915
fetch operations. Also, if we have read more than 50% of an index
916
file, trigger a ``_buffer_all`` on the next request. This works
917
around some inefficiencies because reads don't fall neatly on page
918
boundaries, so we would ignore those bytes, but request them again
919
later. This could trigger a total read size of more than the whole
920
file. (John Arbash Meinel)
924
* ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
925
users. (Robert Collins, #205416)
927
* Catch the infamous "select/poll returned error" which occurs when
928
pycurl try to send a body request to an HTTP/1.0 server which has
929
already refused to handle the request. (Vincent Ladeuil, #225020)
931
* Fix ``ObjectNotLocked`` errors when using various commands
932
(including ``bzr cat`` and ``bzr annotate``) in combination with a
933
smart server URL. (Andrew Bennetts, #237067)
935
* ``FTPTransport.stat()`` would return ``0000`` as the permission bits
936
for the containing ``.bzr/`` directory (it does not implement
937
permissions). This would cause us to set all subdirectories to
938
``0700`` and files to ``0600`` rather than leaving them unmodified.
939
Now we ignore ``0000`` as the permissions and assume they are
940
invalid. (John Arbash Meinel, #259855)
942
* Merging from a previously joined branch will no longer cause
943
a traceback. (Jelmer Vernooij, #203376)
945
* Pack operations on windows network shares will work even with large
946
files. (Robert Collins, #255656)
948
* Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
949
status. Status is also about 7% faster on mozilla sized trees
950
when the path to the root of the tree has been given. Users of
951
the internal ``show_tree_status`` function should be aware that
952
the show_pending flag is now authoritative for showing pending
953
merges, as it was originally. (Robert Collins, #225204)
955
* Set valid default _param_name for Option so that ListOption can embed
956
'-' in names. (Vincent Ladeuil, #263249)
958
* Show proper error rather than traceback when an unknown revision
959
id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
961
* Trailing text in the dirstate file could cause the C dirstate parser
962
to try to allocate an invalid amount of memory. We now properly
963
check and test for parsing a dirstate with invalid trailing data.
964
(John Arbash Meinel, #186014)
966
* Unexpected error responses from a smart server no longer cause the
967
client to traceback. (Andrew Bennetts, #263527)
969
* Use a Windows api function to get a Unicode host name, rather than
970
assuming the host name is ascii.
971
(Mark Hammond, John Arbash Meinel, #256550)
973
* ``WorkingTree4`` trees will now correctly report missing-and-new
974
paths in the output of ``iter_changes``. (Robert Collins)
978
* Updated developer documentation. (Martin Pool)
982
* Exporters now take 4 parameters. (Robert Collins)
984
* ``Tree.iter_changes`` will now return False for the content change
985
field when a file is missing in the basis tree and not present in
986
the target tree. Previously it returned True unconditionally.
989
* The deprecated ``Branch.abspath`` and unimplemented
990
``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
992
* BzrDir.clone_on_transport implementations must now accept a stacked_on
993
parameter. (Aaron Bentley)
995
* BzrDir.cloning_metadir implementations must now take a require_stacking
996
parameter. (Aaron Bentley)
1000
* ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
1001
which are then passed to the cleanup callable as it is run. In
1002
addition, addCleanup no longer requires that the callables passed to
1003
it be unique. (Jonathan Lange)
1005
* Fix some tests that fail on Windows because files are deleted while
1009
* ``selftest``'s ``--starting-with`` option can now use predefined
1010
prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
1011
``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
1013
* ``selftest``'s ``--starting-with`` option now accepts multiple values.
1018
* A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
1019
This allows dynamic log output filtering by plugins.
1022
* ``bzrlib.btree_index`` is now available, providing a b-tree index
1023
layer. The design is memory conservative (limited memory cache),
1024
faster to seek (approx 100 nodes per page, gives 100-way fan out),
1025
and stores compressed pages allowing more keys per page.
1026
(Robert Collins, John Arbash Meinel)
1028
* ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
1029
is unknown in both source and target.
1030
(Robert Collins, Aaron Bentley)
1032
* ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
1033
streamlined a bit. This should make creating large indexes faster.
1034
(In benchmarking, it now takes less time to create a BTree index than
1035
it takes to read the GraphIndex one.) (John Arbash Meinel)
1037
* Mail clients for `bzr send` are now listed in a registry. This
1038
allows plugins to add new clients by registering them with
1039
``bzrlib.mail_client.mail_client_registry``. All of the built-in
1040
clients now use this mechanism. (Neil Martinsen-Burrell)
1043
bzr 1.6.1 2008-09-05
1044
--------------------
1046
A couple regressions were found in the 1.6 release. There was a
1047
performance issue when using ``bzr+ssh`` to branch large repositories,
1048
and some problems with stacking and ``rich-root`` capable repositories.
1051
bzr 1.6.1rc2 2008-09-03
1052
-----------------------
1056
* Copying between ``rich-root`` and ``rich-root-pack`` (and vice
1057
versa) was accidentally using the inter-model fetcher, instead of
1058
recognizing that both were 'rich root' formats.
1059
(John Arbash Meinel, #264321)
1062
bzr 1.6.1rc1 2008-08-29
1063
-----------------------
1065
This release fixes a few regressions found in the 1.6 client. Fetching
1066
changes was using an O(N^2) buffering algorithm, so for large projects it
1067
would cause memory thrashing. There is also a specific problem with the
1068
``--1.6-rich-root`` format, which prevented stacking on top of
1069
``--rich-root-pack`` repositories, and could allow users to accidentally
1070
fetch experimental data (``-subtree``) without representing it properly.
1071
The ``--1.6-rich-root`` format has been deprecated and users are
1072
recommended to upgrade to ``--1.6.1-rich-root`` immediately. Also we
1073
re-introduced a workaround for users who have repositories with incorrect
1074
nodes (not possible if you only used official releases).
1075
I should also clarify that none of this is data loss level issues, but
1076
still sufficient enough to warrant an updated release.
1080
* ``RemoteTransport.readv()`` was being inefficient about how it
1081
buffered the readv data and processed it. It would keep appending to
1082
the same string (causing many copies) and then pop bytes out of the
1083
start of the string (causing more copies).
1084
With this patch "bzr+ssh://local" can improve dramatically,
1085
especially for projects with large files.
1086
(John Arbash Meinel)
1088
* Revision texts were always meant to be stored as fulltexts. There
1089
was a bug in a bzr.dev version that would accidentally create deltas
1090
when copying from a Pack repo to a Knit repo. This has been fixed,
1091
but to support those repositories, we know always request full texts
1092
for Revision texts. (John Arbash Meinel, #261339)
1094
* The previous ``--1.6-rich-root`` format used an incorrect xml
1095
serializer, which would accidentally support fetching from a
1096
repository that supported subtrees, even though the local one would
1097
not. We deprecated that format, and introduced a new one that uses
1098
the correct serializer ``--1.6.1-rich-root``.
1099
(John Arbash Meinel, #262333)
1105
Finally, the long awaited bzr 1.6 has been released. This release includes
1106
new features like Stacked Branches, improved weave merge, and an updated
1107
server protocol (now on v3) which will allow for better cross version
1108
compatibility. With this release we have deprecated Knit format
1109
repositories, and recommend that users upgrade them, we will continue to
1110
support reading and writing them for the forseeable future, but we will
1111
not be tuning them for performance as pack repositories have proven to be
1112
better at scaling. This will also be the first release to bundle
1113
TortoiseBzr in the standalone Windows installer.
1116
bzr 1.6rc5 2008-08-19
1117
---------------------
1121
* Disable automatic detection of stacking based on a containing
1122
directory of the target. It interacted badly with push, and needs a
1123
bit more work to get the edges polished before it should happen
1124
automatically. (John Arbash Meinel, #259275)
1125
(This change was reverted when merged to bzr.dev)
1128
bzr 1.6rc4 2008-08-18
1129
---------------------
1133
* Fix a regression in knit => pack fetching. We had a logic
1134
inversion, causing the fetch to insert fulltexts in random order,
1135
rather than preserving deltas. (John Arbash Meinel, #256757)
1138
bzr 1.6rc3 2008-08-14
1139
---------------------
1143
* Disable reading ``.bzrrules`` as a per-branch rule preferences
1144
file. The feature was not quite ready for a full release.
1149
* Update the windows installer to bundle TortoiseBzr and ``qbzr``
1150
into the standalone installer. This will be the first official
1151
windows release that installs Tortoise by default.
1156
* Fix a regression in ``bzr+http`` support. There was a missing
1157
function (``_read_line``) that needed to be carried over from
1158
``bzr+ssh`` support. (Andrew Bennetts)
1160
* ``GraphIndex`` objects will internally read an entire index if more
1161
than 1/20th of their keyspace is requested in a single operation.
1162
This largely mitigates a performance regression in ``bzr log FILE``
1163
and completely corrects the performance regression in ``bzr log``.
1164
The regression was caused by removing an accomodation which had been
1165
supporting the index format in use. A newer index format is in
1166
development which is substantially faster. (Robert Collins)
1169
bzr 1.6rc2 2008-08-13
1170
---------------------
1172
This release candidate has a few minor bug fixes, and some regression
1177
* ``bzr upgrade`` on remote branches accessed via bzr:// and
1178
bzr+ssh:// now works. (Andrew Bennetts)
1180
* Change the ``get_format_description()`` strings for
1181
``RepositoryFormatKnitPack5`` et al to be single line messages.
1184
* Fix for a regression on Win32 where we would try to call
1185
``os.listdir()`` on a file and not catch the exception properly.
1186
(Windows raises a different exception.) This would manifest in
1187
places like ``bzr rm file`` or ``bzr switch``.
1188
(Mark Hammond, John Arbash Meinel)
1190
* ``Inventory.copy()`` was failing to set the revision property for
1191
the root entry. (Jelmer Vernooij)
1193
* sftp transport: added missing ``FileExists`` case to
1194
``_translate_io_exception`` (Christophe Troestler, #123475)
1196
* The help for ``bzr ignored`` now suggests ``bzr ls --ignored`` for
1197
scripting use. (Robert Collins, #3834)
1199
* The default ``annotate`` logic will now always assign the
1200
last-modified value of a line to one of the revisions that modified
1201
it, rather than a merge revision. This would happen when both sides
1202
claimed to have modified the line resulting in the same text. The
1203
choice is arbitrary but stable, so merges in different directions
1204
will get the same results. (John Arbash Meinel, #232188)
1207
bzr 1.6rc1 2008-08-06
1208
---------------------
1210
This release candidate for bzr 1.6 solidifies the new branch stacking
1211
feature. Bazaar now recommends that users upgrade all knit repositories,
1212
because later formats are much faster. However, we plan to continue read/write and
1213
upgrade support for knit repostories for the forseeable future. Several
1214
other bugs and performance issues were fixed.
1218
* Knit format repositories are deprecated and bzr will now emit
1219
warnings whenever it encounters one. Use ``bzr upgrade`` to upgrade
1220
knit repositories to pack format. (Andrew Bennetts)
1224
* ``bzr check`` can now be told which elements at a location it should
1225
check. (Daniel Watkins)
1227
* Commit now supports ``--exclude`` (or ``-x``) to exclude some files
1228
from the commit. (Robert Collins, #3117)
1230
* Fetching data between repositories that have the same model but no
1231
optimised fetcher will not reserialise all the revisions, increasing
1232
performance. (Robert Collins, John Arbash Meinel)
1234
* Give a more specific error when target branch is not reachable.
1237
* Implemented a custom ``walkdirs_utf8`` implementation for win32.
1238
This uses a pyrex extension to get direct access to the
1239
``FindFirstFileW`` style apis, rather than using ``listdir`` +
1240
``lstat``. Shows a very strong improvement in commands like
1241
``status`` and ``diff`` which have to iterate the working tree.
1242
Anywhere from 2x-6x faster depending on the size of the tree (bigger
1243
trees, bigger benefit.) (John Arbash Meinel)
1245
* New registry for log properties handles and the method in
1246
LongLogFormatter to display the custom properties returned by the
1247
registered handlers. (Guillermo Gonzalez, #162469)
1251
* Add more tests that stacking does not create deltas spanning
1252
physical repository boundaries.
1253
(Martin Pool, #252428)
1255
* Better message about incompatible repositories.
1256
(Martin Pool, #206258)
1258
* ``bzr branch --stacked`` ensures the destination branch format can
1259
support stacking, even if the origin does not.
1262
* ``bzr export`` no longer exports ``.bzrrules``.
1265
* ``bzr serve --directory=/`` now correctly allows the whole
1266
filesystem to be accessed on Windows, not just the root of the drive
1267
that Python is running from.
1268
(Adrian Wilkins, #240910)
1270
* Deleting directories by hand before running ``bzr rm`` will not
1271
cause subsequent errors in ``bzr st`` and ``bzr commit``.
1272
(Robert Collins, #150438)
1274
* Fix a test case that was failing if encoding wasn't UTF-8.
1275
(John Arbash Meinel, #247585)
1277
* Fix "no buffer space available" error when branching with the new
1278
smart server protocol to or from Windows.
1279
(Andrew Bennetts, #246180)
1281
* Fixed problem in branching from smart server.
1282
(#249256, Michael Hudson, Martin Pool)
1284
* Handle a file turning in to a directory in TreeTransform.
1285
(James Westby, #248448)
1289
* ``MutableTree.commit`` has an extra optional keywork parameter
1290
``exclude`` that will be unconditionally supplied by the command
1291
line UI - plugins that add tree formats may need an update.
1294
* The API minimum version for plugin compatibility has been raised to
1295
1.6 - there are significant changes throughout the code base.
1298
* The generic fetch code now uses three attributes on Repository objects
1299
to control fetch. The streams requested are controlled via :
1300
``_fetch_order`` and ``_fetch_uses_deltas``. Setting these
1301
appropriately allows different repository implementations to recieve
1302
data in their optimial form. If the ``_fetch_reconcile`` is set then
1303
a reconcile operation is triggered at the end of the fetch.
1306
* The ``put_on_disk`` and ``get_tar_item`` methods in
1307
``InventoryEntry`` were deprecated. (Ian Clatworthy)
1309
* ``Repository.is_shared`` doesn't take a read lock. It didn't
1310
need one in the first place (nobody cached the value, and
1311
``RemoteRepository`` wasn't taking one either). This saves a round
1312
trip when probing Pack repositories, as they read the ``pack-names``
1313
file when locked. And during probe, locking the repo isn't very
1314
useful. (John Arbash Meinel)
1318
* ``bzrlib.branchbuilder.BranchBuilder`` is now much more capable of
1319
putting together a real history without having to create a full
1320
WorkingTree. It is recommended that tests that are not directly
1321
testing the WorkingTree use BranchBuilder instead. See
1322
``BranchBuilder.build_snapshot`` or
1323
``TestCaseWithMemoryTree.make_branch_builder``. (John Arbash Meinel)
1325
* ``bzrlib.builtins.internal_tree_files`` broken into two giving a new
1326
helper ``safe_relpath_files`` - used by the new ``exclude``
1327
parameter to commit. (Robert Collins)
1329
* Make it easier to introduce new WorkingTree formats.
1332
* The code for exporting trees was refactored not to use the
1333
deprecated ``InventoryEntry`` methods. (Ian Clatworthy)
1335
* RuleSearchers return () instead of [] now when there are no matches.
1339
bzr 1.6beta3 2008-07-17
1340
-----------------------
1342
This release adds a new 'stacked branches' feature allowing branches to
1343
share storage without being in the same repository or on the same machine.
1344
(See the user guide for more details.) It also adds a new hook, improved
1345
weaves, aliases for related locations, faster bzr+ssh push, and several
1350
* New ``pre_change_branch_tip`` hook that is called before the
1351
branch tip is moved, while the branch is write-locked. See the User
1352
Reference for signature details. (Andrew Bennetts)
1354
* Rule-based preferences can now be defined for selected files in
1355
selected branches, allowing commands and plugins to provide
1356
custom behaviour for files matching defined patterns.
1357
See ``Rule-based preferences`` (part of ``Configuring Bazaar``)
1358
in the User Guide and ``bzr help rules`` for more information.
1361
* Sites may suggest a branch to stack new branches on. (Aaron Bentley)
1363
* Stacked branches are now supported. See ``bzr help branch`` and
1364
``bzr help push``. Branches must be in the ``development1`` format
1365
to stack, though the stacked-on branch can be of any format.
1370
* ``bzr export --format=tgz --root=NAME -`` to export a gzipped tarball
1371
to stdout; also ``tar`` and ``tbz2``.
1374
* ``bzr (re)merge --weave`` will now use a standard Weave algorithm,
1375
rather than the annotation-based merge it was using. It does so by
1376
building up a Weave of the important texts, without needing to build
1377
the full ancestry. (John Arbash Meinel, #238895)
1379
* ``bzr send`` documents and better supports ``emacsclient`` (proper
1380
escaping of mail headers and handling of the MUA Mew).
1381
(Christophe Troestler)
1383
* Remembered locations can be specified by aliases, e.g. :parent, :public,
1384
:submit. (Aaron Bentley)
1386
* The smart protocol now has improved support for setting branches'
1387
revision info directly. This makes operations like push
1388
faster. The new request method name is
1389
``Branch.set_last_revision_ex``. (Andrew Bennetts)
1393
* Bazaar is now able to be a client to the web server of IIS 6 and 7.
1394
The broken implementations of RFC822 in Python and RFC2046 in IIS
1395
combined with boundary-line checking in Bazaar previously made this
1396
impossible. (NB, IIS 5 does not suffer from this problem).
1397
(Adrian Wilkins, #247585)
1399
* ``bzr log --long`` with a ghost in your mainline now handles that
1400
ghost properly. (John Arbash Meinel, #243536)
1402
* ``check`` handles the split-up .bzr layout correctly, so no longer
1403
requires a branch to be present.
1404
(Daniel Watkins, #64783)
1406
* Clearer message about how to set the PYTHONPATH if bzrlib can't be
1408
(Martin Pool, #205230)
1410
* Errors about missing libraries are now shown without a traceback,
1411
and with a suggestion to install the library. The full traceback is
1412
still in ``.bzr.log`` and can be shown with ``-Derror``.
1413
(Martin Pool, #240161)
1415
* Fetch from a stacked branch copies all required data.
1416
(Aaron Bentley, #248506)
1418
* Handle urls such as ftp://user@host.com@www.host.com where the user
1420
(Neil Martinsen-Burrell, #228058)
1422
* ``needs_read_lock`` and ``needs_write_lock`` now suppress an error during
1423
``unlock`` if there was an error in the original function. This helps
1424
most when there is a failure with a smart server action, since often the
1425
connection closes and we cannot unlock.
1426
(Andrew Bennetts, John Arbash Meinel, #125784)
1428
* Obsolete hidden command ``bzr fetch`` removed.
1429
(Martin Pool, #172870)
1431
* Raise the correct exception when doing ``-rbefore:0`` or ``-c0``.
1432
(John Arbash Meinel, #239933)
1434
* You can now compare file revisions in Windows diff programs from
1436
(Matt McClure, #209281)
1438
* revision_history now tolerates mainline ghosts for Branch format 6.
1439
(Aaron Bentley, #235055)
1441
* Set locale from environment for third party libs.
1442
(Martin von Gagern, #128496)
1446
* Added *Using stacked branches* to the User Guide.
1449
* Updated developer documentation.
1454
* ``-Dmemory`` will cause /proc/PID/status to be catted before bzr
1455
exits, allowing low-key analysis of peak memory use. (Robert Collins)
1457
* ``TestCaseWithTransport.make_branch_and_tree`` tries harder to return
1458
a tree with a ``branch`` attribute of the right format. This was
1459
preventing some ``RemoteBranch`` tests from actually running with
1460
``RemoteBranch`` instances. (Andrew Bennetts)
1464
* Removed ``Repository.text_store``, ``control_store``, etc. Instead,
1465
there are new attributes ``texts, inventories, revisions,
1466
signatures``, each of which is a ``VersionedFiles``. See the
1467
Repository docstring for more details.
1470
* ``Branch.pull`` now accepts an ``_override_hook_target`` optional
1471
parameter. If you have a subclass of ``Branch`` that overrides
1472
``pull`` then you should add this parameter. (Andrew Bennetts)
1474
* ``bzrlib.check.check()`` has been deprecated in favour of the more
1475
aptly-named ``bzrlib.check.check_branch()``.
1478
* ``Tree.print_file`` and ``Repository.print_file`` are deprecated.
1479
These methods are bad APIs because they write directly to sys.stdout.
1480
bzrlib does not use them internally, and there are no direct tests
1481
for them. (Alexander Belchenko)
1485
* ``cat`` command no longer uses ``Tree.print_file()`` internally.
1486
(Alexander Belchenko)
1488
* New class method ``BzrDir.open_containing_tree_branch_or_repository``
1489
which eases the discovery of the tree, the branch and the repository
1490
containing a given location.
1493
* New ``versionedfile.KeyMapper`` interface to abstract out the access to
1494
underlying .knit/.kndx etc files in repositories with partitioned
1495
storage. (Robert Collins)
1497
* Obsolete developer-use command ``weave-join`` has been removed.
1500
* ``RemoteToOtherFetcher`` and ``get_data_stream_for_search`` removed,
1501
to support new ``VersionedFiles`` layering.
1505
bzr 1.6beta2 2008-06-10
1506
-----------------------
1508
This release contains further progress towards our 1.6 goals of shallow
1509
repositories, and contains a fix for some user-affecting bugs in the
1510
repository layer. Building working trees during checkout and branch is
1515
* Avoid KnitCorrupt error extracting inventories from some repositories.
1516
(The data is not corrupt; an internal check is detecting a problem
1517
reading from the repository.)
1518
(Martin Pool, Andrew Bennetts, Robert Collins, #234748)
1520
* ``bzr status`` was breaking if you merged the same revision twice.
1521
(John Arbash Meinel, #235407)
1523
* Fix infinite loop consuming 100% CPU when a connection is lost while
1524
reading a response body via the smart protocol v1 or v2.
1527
* Inserting a bundle which changes the contents of a file with no trailing
1528
end of line, causing a knit snapshot in a 'knits' repository will no longer
1529
cause KnitCorrupt. (Robert Collins)
1531
* ``RemoteBranch.pull`` needs to return the ``self._real_branch``'s
1532
pull result. It was instead just returning None, which breaks ``bzr
1533
pull``. (John Arbash Meinel, #238149)
1535
* Sanitize branch nick before using it as an attachment filename in
1536
``bzr send``. (Lukáš Lalinský, #210218)
1538
* Squash ``inv_entry.symlink_target`` to a plain string when
1539
generating DirState details. This prevents from getting a
1540
``UnicodeError`` when you have symlinks and non-ascii filenames.
1541
(John Arbash Meinel, #135320)
1545
* Added the 'alias' command to set/unset and display aliases. (Tim Penhey)
1547
* ``added``, ``modified``, and ``unknowns`` behaviour made consistent (all three
1548
now quote paths where required). Added ``--null`` option to ``added`` and
1549
``modified`` (for null-separated unknowns, use ``ls --unknown --null``)
1552
* Faster branching (1.09x) and lightweight checkouts (1.06x) on large trees.
1553
(Ian Clatworthy, Aaron Bentley)
1557
* Added *Bazaar Zen* section to the User Guide. (Ian Clatworthy)
1561
* Fix the test HTTPServer to be isolated from chdir calls made while it is
1562
running, allowing it to be used in blackbox tests. (Robert Collins)
1566
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
1567
which are in the ancestry of other revisions. So if you merge the same
1568
tree twice, or merge an ancestor of an existing merge, it will only
1569
record the newest. (If you merge a descendent, it will replace its
1570
ancestor). (John Arbash Meinel, #235407)
1572
* ``RepositoryPolicy.__init__`` now requires stack_on and stack_on_pwd,
1573
through the derived classes do not. (Aaron Bentley)
1577
* ``bzrlib.bzrdir.BzrDir.sprout`` now accepts ``stacked`` to control
1578
creating stacked branches. (Robert Collins)
1580
* Knit record serialisation is now stricter on what it will accept, to
1581
guard against potential internal bugs, or broken input. (Robert Collins)
1584
bzr 1.6beta1 2008-06-02
1585
-----------------------
1588
Commands that work on the revision history such as push, pull, missing,
1589
uncommit and log are now substantially faster. This release adds a
1590
translation of some of the user documentation into Spanish. (Contributions of
1591
other translations would be very welcome.) Bazaar 1.6beta1 adds a new network
1592
protocol which is used by default and which allows for more efficient transfers
1593
and future extensions.
1596
NOTES WHEN UPGRADING:
1598
* There is a new version of the network protocol used for bzr://, bzr+ssh://
1599
and bzr+http:// connections. This will allow more efficient requests and
1600
responses, and more graceful fallback when a server is too old to
1601
recognise a request from a more recent client. Bazaar 1.6 will
1602
interoperate with 0.16 and later versions, but servers should be upgraded
1603
when possible. Bazaar 1.6 no longer interoperates with 0.15 and earlier via
1604
these protocols. Use alternatives like SFTP or upgrade those servers.
1605
(Andrew Bennetts, #83935)
1609
* Deprecation warnings will not be suppressed when running ``bzr selftest``
1610
so that developers can see if their code is using deprecated functions.
1611
(John Arbash Meinel)
1615
* Adding ``-Derror`` will now display a traceback when a plugin fails to
1616
load. (James Westby)
1620
* ``bzr branch/push/pull -r XXX`` now have a helper function for finding
1621
the revno of the new revision (``Graph.find_distance_to_null``). This
1622
should make something like ``bzr branch -r -100`` in a shared, no-trees
1623
repository much snappier. (John Arbash Meinel)
1625
* ``bzr log --short -r X..Y`` no longer needs to access the full revision
1626
history. This makes it noticeably faster when logging the last few
1627
revisions. (John Arbash Meinel)
1629
* ``bzr ls`` now accepts ``-V`` as an alias for ``--versioned``.
1630
(Jerad Cramp, #165086)
1632
* ``bzr missing`` uses the new ``Graph.find_unique_ancestors`` and
1633
``Graph.find_differences`` to determine missing revisions without having
1634
to search the whole ancestry. (John Arbash Meinel, #174625)
1636
* ``bzr uncommit`` now uses partial history access, rather than always
1637
extracting the full revision history for a branch. This makes it
1638
resolve the appropriate revisions much faster (in testing it drops
1639
uncommit from 1.5s => 0.4s). It also means ``bzr log --short`` is one
1640
step closer to not using full revision history.
1641
(John Arbash Meinel, #172649)
1645
* ``bzr merge --lca`` should handle when two revisions have no common
1646
ancestor other than NULL_REVISION. (John Arbash Meinel, #235715)
1648
* ``bzr status`` was breaking if you merged the same revision twice.
1649
(John Arbash Meinel, #235407)
1651
* ``bzr push`` with both ``--overwrite`` and ``-r NNN`` options no longer
1652
fails. (Andrew Bennetts, #234229)
1654
* Correctly track the base URL of a smart medium when using bzr+http://
1655
URLs, which was causing spurious "No repository present" errors with
1656
branches in shared repositories accessed over bzr+http.
1657
(Andrew Bennetts, #230550)
1659
* Define ``_remote_is_at_least_1_2`` on ``SmartClientMedium`` so that all
1660
implementations have the attribute. Fixes 'PyCurlTransport' object has no
1661
attribute '_remote_is_at_least_1_2' attribute errors.
1662
(Andrew Bennetts, #220806)
1664
* Failure to delete an obsolete pack file should just give a warning
1665
message, not a fatal error. It may for example fail if the file is still
1666
in use by another process.
1669
* Fix MemoryError during large fetches over HTTP by limiting the amount of
1670
data we try to read per ``recv`` call. The problem was observed with
1671
Windows and a proxy, but might affect other environments as well.
1672
(Eric Holmberg, #215426)
1674
* Handle old merge directives correctly in Merger.from_mergeable. Stricter
1675
get_parent_map requirements exposed a latent bug here. (Aaron Bentley)
1677
* Issue a warning and ignore passwords declared in authentication.conf when
1678
used for an ssh scheme (sftp or bzr+ssh).
1679
(Vincent Ladeuil, #203186)
1681
* Make both http implementations raise appropriate exceptions on 403
1682
Forbidden when POSTing smart requests.
1683
(Vincent Ladeuil, #230223)
1685
* Properly *title* header names in http requests instead of capitalizing
1687
(Vincent Ladeuil, #229076)
1689
* The "Unable to obtain lock" error message now also suggests using
1690
``bzr break-lock`` to fix it. (Martin Albisetti, #139202)
1692
* Treat an encoding of '' as ascii; this can happen when bzr is run
1693
under vim on Mac OS X.
1694
(Neil Martinsen-Burrell)
1696
* ``VersionedFile.make_mpdiffs()`` was raising an exception that wasn't in
1697
scope. (Daniel Fischer #235687)
1701
* Added directory structure and started translation of docs in spanish.
1702
(Martin Albisetti, Lucio Albenga)
1704
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
1705
on the plugin and integration chapters of the User Guide.
1708
* More Bazaar developer documentation about packaging and release process,
1709
and about use of Python reprs.
1710
(Martin Pool, Martin Albisetti)
1712
* Updated Tortise strategy document. (Mark Hammond)
1716
* ``bzrlib.tests.adapt_tests`` was broken and unused - it has been fixed.
1719
* Fix the test HTTPServer to be isolated from chdir calls made while it is
1720
running, allowing it to be used in blackbox tests. (Robert Collins)
1722
* New helper function for splitting test suites
1723
``split_suite_by_condition``. (Robert Collins)
1727
* ``Branch.missing_revisions`` has been deprecated. Similar functionality
1728
can be obtained using ``bzrlib.missing.find_unmerged``. The api was
1729
fairly broken, and the function was unused, so we are getting rid of it.
1730
(John Arbash Meinel)
1734
* ``Branch.abspath`` is deprecated; use the Tree or Transport
1735
instead. (Martin Pool)
1737
* ``Branch.update_revisions`` now takes an optional ``Graph``
1738
object. This can be used by ``update_revisions`` when it is
1739
checking ancestry, and allows callers to prefer request to go to a
1740
local branch. (John Arbash Meinel)
1742
* Branch, Repository, Tree and BzrDir should expose a Transport as an
1743
attribute if they have one, rather than having it indirectly accessible
1744
as ``.control_files._transport``. This doesn't add a requirement
1745
to support a Transport in cases where it was not needed before;
1746
it just simplifies the way it is reached. (Martin Pool)
1748
* ``bzr missing --mine-only`` will return status code 0 if you have no
1749
new revisions, but the remote does. Similarly for ``--theirs-only``.
1750
The new code only checks one side, so it doesn't know if the other
1751
side has changes. This seems more accurate with the request anyway.
1752
It also changes the output to print '[This|Other] branch is up to
1753
date.' rather than displaying nothing. (John Arbash Meinel)
1755
* ``LockableFiles.put_utf8``, ``put_bytes`` and ``controlfilename``
1756
are now deprecated in favor of using Transport operations.
1759
* Many methods on ``VersionedFile``, ``Repository`` and in
1760
``bzrlib.revision`` deprecated before bzrlib 1.5 have been removed.
1763
* ``RevisionSpec.wants_revision_history`` can be set to False for a given
1764
``RevisionSpec``. This will disable the existing behavior of passing in
1765
the full revision history to ``self._match_on``. Useful for specs that
1766
don't actually need access to the full history. (John Arbash Meinel)
1768
* The constructors of ``SmartClientMedium`` and its subclasses now require a
1769
``base`` parameter. ``SmartClientMedium`` implementations now also need
1770
to provide a ``remote_path_from_transport`` method. (Andrew Bennetts)
1772
* The default permissions for creating new files and directories
1773
should now be obtained from ``BzrDir._get_file_mode()`` and
1774
``_get_dir_mode()``, rather than from LockableFiles. The ``_set_file_mode``
1775
and ``_set_dir_mode`` variables on LockableFiles which were advertised
1776
as a way for plugins to control this are no longer consulted.
1779
* ``VersionedFile.join`` is deprecated. This method required local
1780
instances of both versioned file objects and was thus hostile to being
1781
used for streaming from a smart server. The new get_record_stream and
1782
insert_record_stream are meant to efficiently replace this method.
1785
* ``WorkingTree.set_parent_(ids/trees)`` will now filter out revisions
1786
which are in the ancestry of other revisions. So if you merge the same
1787
tree twice, or merge an ancestor of an existing merge, it will only
1788
record the newest. (If you merge a descendent, it will replace its
1789
ancestor). (John Arbash Meinel, #235407)
1791
* ``WorkingTreeFormat2.stub_initialize_remote`` is now private.
1798
This release of Bazaar includes several updates to the documentation, and fixes
1799
to prepare for making rich root support the default format. Many bugs have been
1800
squashed, including fixes to log, bzr+ssh inter-operation with older servers.
1804
* Suppress deprecation warnings when bzrlib is a 'final' release. This way
1805
users of packaged software won't be bothered with DeprecationWarnings,
1806
but developers and testers will still see them. (John Arbash Meinel)
1810
* Incorporate feedback from Jelmer Vernooij and Neil Martinsen-Burrell
1811
on the plugin and integration chapters of the User Guide.
1815
bzr 1.5rc1 2008-05-09
1816
---------------------
1818
NOTES WHEN UPGRADING:
1822
* Broader support of GNU Emacs mail clients. Set
1823
``mail_client=emacsclient`` in your bazaar.conf and ``send`` will pop the
1824
bundle in a mail buffer according to the value of ``mail-user-agent``
1825
variable. (Xavier Maillard)
1831
* Diff now handles revision specs like "branch:" and "submit:" more
1832
efficiently. (Aaron Bentley, #202928)
1834
* More friendly error given when attempt to start the smart server
1835
on an address already in use. (Andrea Corbellini, #200575)
1837
* Pull completes much faster when there is nothing to pull.
1842
* Authentication.conf can define sections without password.
1843
(Vincent Ladeuil, #199440)
1845
* Avoid muttering every time a child update does not cause a progress bar
1846
update. (John Arbash Meinel, #213771)
1848
* ``Branch.reconcile()`` is now implemented. This allows ``bzr reconcile``
1849
to fix when a Branch has a non-canonical mainline history. ``bzr check``
1850
also detects this condition. (John Arbash Meinel, #177855)
1852
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
1853
for ``revision_id=None`` which was not a string.
1854
(John Arbash Meinel, #211661)
1856
* ``bzr commit`` now works with Microsoft's FTP service.
1859
* Catch definitions outside sections in authentication.conf.
1860
(Vincent Ladeuil, #217650)
1862
* Conversion from non-rich-root to rich-root(-pack) updates inventory
1863
sha1s, even when bundles are used. (Aaron Bentley, #181391)
1865
* Conversion from non-rich-root to rich-root(-pack) works correctly even
1866
though search keys are not topologically sorted. (Aaron Bentley)
1868
* Conversion from non-rich-root to rich-root(-pack) works even when a
1869
parent revision has a different root id. (Aaron Bentley, #177874)
1871
* Disable strace testing until strace is fixed (see bug #103133) and emit a
1872
warning when selftest ends to remind us of leaking tests.
1873
(Vincent Ladeuil, #226769)
1875
* Fetching all revisions from a repository does not cause pack collisions.
1876
(Robert Collins, Aaron Bentley, #212908)
1878
* Fix error about "attempt to add line-delta in non-delta knit".
1879
(Andrew Bennetts, #217701)
1881
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
1882
if the remote server was < version 1.2. This was due to a bug in the
1883
RemoteRepository.get_parent_map() fallback code.
1884
(John Arbash Meinel, #214894)
1886
* Remove leftover code in ``bzr_branch`` that inappropriately creates
1887
a ``branch-name`` file in the branch control directory.
1890
* Set SO_REUSEADDR on server sockets of ``bzr serve`` to avoid problems
1891
rebinding the socket when starting the server a second time.
1892
(John Arbash Meinel, Martin Pool, #164288)
1894
* Severe performance degradation in fetching from knit repositories to
1895
knits and packs due to parsing the entire revisions.kndx on every graph
1896
walk iteration fixed by using the Repository.get_graph API. There was
1897
another regression in knit => knit fetching which re-read the index for
1898
every revision each side had in common.
1899
(Robert Collins, John Arbash Meinel)
1901
* When logging the changes to a particular file, there was a bug if there
1902
were ghosts in the revision ancestry. (John Arbash Meinel, #209948)
1904
* xs4all's ftp server returns a temporary error when trying to list an
1905
empty directory, rather than returning an empty list. Adding a
1906
workaround so that we don't get spurious failures.
1907
(John Arbash Meinel, #215522)
1911
* Expanded the User Guide to include new chapters on popular plugins and
1912
integrating Bazaar into your environment. The *Best practices* chapter
1913
was renamed to *Miscellaneous topics* as suggested by community
1914
feedback as well. (Ian Clatworthy)
1916
* Document outlining strategies for TortoiseBzr. (Mark Hammond)
1918
* Improved the documentation on hooks. (Ian Clatworthy)
1920
* Update authentication docs regarding ssh agents.
1921
(Vincent Ladeuil, #183705)
1925
* Add ``thread_name_suffix`` parameter to SmartTCPServer_for_testing, to
1926
make it easy to identify which test spawned a thread with an unhandled
1927
exception. (Andrew Bennetts)
1929
* New ``--debugflag``/``-E`` option to ``bzr selftest`` for setting
1930
options for debugging tests, these are complementary to the the -D
1931
options. The ``-Dselftest_debug`` global option has been replaced by the
1932
``-E=allow_debug`` option for selftest. (Andrew Bennetts)
1934
* Parameterised test ids are preserved correctly to aid diagnosis of test
1935
failures. (Robert Collins, Andrew Bennetts)
1937
* selftest now accepts --starting-with <id> to load only the tests whose id
1938
starts with the one specified. This greatly speeds up running the test
1939
suite on a limited set of tests and can be used to run the tests for a
1940
single module, a single class or even a single test. (Vincent Ladeuil)
1942
* The test suite modules have been modified to define load_tests() instead
1943
of test_suite(). That speeds up selective loading (via --load-list)
1944
significantly and provides many examples on how to migrate (grep for
1945
load_tests). (Vincent Ladeuil)
1949
* ``Hooks.install_hook`` is now deprecated in favour of
1950
``Hooks.install_named_hook`` which adds a required ``name`` parameter, to
1951
avoid having to call ``Hooks.name_hook``. (Daniel Watkins)
1953
* Implement xml8 serializer. (Aaron Bentley)
1955
* New form ``@deprecated_method(deprecated_in(1, 5, 0))`` for making
1956
deprecation wrappers. (Martin Pool)
1958
* ``Repository.revision_parents`` is now deprecated in favour of
1959
``Repository.get_parent_map([revid])[revid]``. (Jelmer Vernooij)
1961
* The Python ``assert`` statement is no longer used in Bazaar source, and
1962
a test checks this. (Martin Pool)
1966
* ``bzrlib.status.show_pending_merges`` requires the repository to be
1967
locked by the caller. Callers should have been doing it anyway, but it
1968
will now raise an exception if they do not. (John Arbash Meinel)
1970
* Repository.get_data_stream, Repository.get_data_stream_for_search(),
1971
Repository.get_deltas_for_revsions(), Repository.revision_trees(),
1972
Repository.item_keys_introduced_by() no longer take read locks.
1975
* ``LockableFiles.get_utf8`` and ``.get`` are deprecated, as a start
1976
towards removing LockableFiles and ``.control_files`` entirely.
1979
* Methods deprecated prior to 1.1 have been removed.
1986
This release of Bazaar includes handy improvements to the speed of log and
1987
status, new options for several commands, improved documentation, and better
1988
hooks, including initial code for server-side hooks. A number of bugs have
1989
been fixed, particularly in interoperability between different formats or
1990
different releases of Bazaar over there network. There's been substantial
1991
internal work in both the repository and network code to enable new features
1992
and faster performance.
1996
* Pushing a branch in "dirstate" format (Branch5) over bzr+ssh would break
1997
if the remote server was < version 1.2. This was due to a bug in the
1998
RemoteRepository.get_parent_map() fallback code.
1999
(John Arbash Meinel, Andrew Bennetts, #214894)
2002
bzr 1.4rc2 2008-04-21
2003
---------------------
2007
* ``bzr log -r ..X bzr://`` was failing, because it was getting a request
2008
for ``revision_id=None`` which was not a string.
2009
(John Arbash Meinel, #211661)
2011
* Fixed a bug in handling ghost revisions when logging changes in a
2012
particular file. (John Arbash Meinel, #209948)
2014
* Fix error about "attempt to add line-delta in non-delta knit".
2015
(Andrew Bennetts, #205156)
2017
* Fixed performance degradation in fetching from knit repositories to
2018
knits and packs due to parsing the entire revisions.kndx on every graph
2019
walk iteration fixed by using the Repository.get_graph API. There was
2020
another regression in knit => knit fetching which re-read the index for
2021
every revision each side had in common.
2022
(Robert Collins, John Arbash Meinel)
2025
bzr 1.4rc1 2008-04-11
2026
---------------------
2030
* bzr main script cannot be imported (Benjamin Peterson)
2032
* On Linux bzr additionally looks for plugins in arch-independent site
2033
directory. (Toshio Kuratomi)
2035
* The ``set_rh`` branch hook is now deprecated. Please migrate
2036
any plugins using this hook to use an alternative, e.g.
2037
``post_change_branch_tip``. (Ian Clatworthy)
2039
* When a plugin cannot be loaded as the file path is not a valid
2040
python module name bzr will now strip a ``bzr_`` prefix from the
2041
front of the suggested name, as many plugins (e.g. bzr-svn)
2042
want to be installed without this prefix. It is a common mistake
2043
to have a folder named "bzr-svn" for that plugin, especially
2044
as this is what bzr branch lp:bzr-svn will give you. (James Westby,
2047
* UniqueIntegerBugTracker now appends bug-ids instead of joining
2048
them to the base URL. Plugins that register bug trackers may
2049
need a trailing / added to the base URL if one is not already there.
2050
(James Wesby, Andrew Cowie)
2054
* Added start_commit hook for mutable trees. (Jelmer Vernooij, #186422)
2056
* ``status`` now accepts ``--no-pending`` to show the status without
2057
listing pending merges, which speeds up the command a lot on large
2058
histories. (James Westby, #202830)
2060
* New ``post_change_branch_tip`` hook that is called after the
2061
branch tip is moved but while the branch is still write-locked.
2062
See the User Reference for signature details.
2063
(Ian Clatworthy, James Henstridge)
2065
* Reconfigure can convert a branch to be standalone or to use a shared
2066
repository. (Aaron Bentley)
2070
* The smart protocol now has support for setting branches' revision info
2071
directly. This should make operations like push slightly faster, and is a
2072
step towards server-side hooks. The new request method name is
2073
``Branch.set_last_revision_info``. (Andrew Bennetts)
2075
* ``bzr commit --fixes`` now recognises "gnome" as a tag by default.
2076
(James Westby, Andrew Cowie)
2078
* ``bzr switch`` will attempt to find branches to switch to relative to the
2079
current branch. E.g. ``bzr switch branchname`` will look for
2080
``current_branch/../branchname``. (Robert Collins, Jelmer Vernooij,
2083
* Diff is now more specific about execute-bit changes it describes
2086
* Fetching data over HTTP is a bit faster when urllib is used. This is done
2087
by forcing it to recv 64k at a time when reading lines in HTTP headers,
2088
rather than just 1 byte at a time. (Andrew Bennetts)
2090
* Log --short and --line are much faster when -r is not specified.
2093
* Merge is faster. We no longer check a file's existence unnecessarily
2094
when merging the execute bit. (Aaron Bentley)
2096
* ``bzr status`` on an explicit list of files no longer shows pending
2097
merges, making it much faster on large trees. (John Arbash Meinel)
2099
* The launchpad directory service now warns the user if they have not set
2100
their launchpad login and are trying to resolve a URL using it, just
2101
in case they want to do a write operation with it. (James Westby)
2103
* The smart protocol client is slightly faster, because it now only queries
2104
the server for the protocol version once per connection. Also, the HTTP
2105
transport will now automatically probe for and use a smart server if
2106
one is present. You can use the new ``nosmart+`` transport decorator
2107
to get the old behaviour. (Andrew Bennetts)
2109
* The ``version`` command takes a ``--short`` option to print just the
2110
version number, for easier use in scripts. (Martin Pool)
2112
* Various operations with revision specs and commands that calculate
2113
revnos and revision ids are faster. (John A. Meinel, Aaron Bentley)
2117
* Add ``root_client_path`` parameter to SmartWSGIApp and
2118
SmartServerRequest. This makes it possible to publish filesystem
2119
locations that don't exactly match URL paths. SmartServerRequest
2120
subclasses should use the new ``translate_client_path`` and
2121
``transport_from_client_path`` methods when dealing with paths received
2122
from a client to take this into account. (Andrew Bennetts, #124089)
2124
* ``bzr mv a b`` can be now used also to rename previously renamed
2125
directories, not only files. (Lukáš Lalinský, #107967)
2127
* ``bzr uncommit --local`` can now remove revisions from the local
2128
branch to be symmetric with ``bzr commit --local``.
2129
(John Arbash Meinel, #93412)
2131
* Don't ask for a password if there is no real terminal.
2132
(Alexander Belchenko, #69851)
2134
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
2135
fetching revisions from a knit to pack repository or vice versa using
2136
bzr:// (including over http or ssh).
2137
(#208418, Andrew Bennetts, Martin Pool, Robert Collins)
2139
* Fixed ``_get_line`` in ``bzrlib.smart.medium``, which was buggy. Also
2140
fixed ``_get_bytes`` in the same module to use the push back buffer.
2141
These bugs had no known impact in normal use, but were problematic for
2142
developers working on the code, and were likely to cause real bugs sooner
2143
or later. (Andrew Bennetts)
2145
* Implement handling of basename parameter for DefaultMail. (James Westby)
2147
* Incompatibility with Paramiko versions newer than 1.7.2 was fixed.
2148
(Andrew Bennetts, #213425)
2150
* Launchpad locations (lp: URLs) can be pulled. (Aaron Bentley, #181945)
2152
* Merges that add files to deleted root directories complete. They
2153
do create conflicts. (Aaron Bentley, #210092)
2155
* vsftp's return ``550 RNFR command failed.`` supported.
2156
(Marcus Trautwig, #129786)
2160
* Improved documentation on send/merge relationship. (Peter Schuller)
2162
* Minor fixes to the User Guide. (Matthew Fuller)
2164
* Reduced the evangelism in the User Guide. (Ian Clatworthy)
2166
* Added Integrating with Bazaar document for developers (Martin Albisetti)
2170
* Attempting to pull data from a ghost aware repository (e.g. knits) into a
2171
non-ghost aware repository such as weaves will now fail if there are
2172
ghosts. (Robert Collins)
2174
* ``KnitVersionedFile`` no longer accepts an ``access_mode`` parameter, and
2175
now requires the ``index`` and ``access_method`` parameters to be
2176
supplied. A compatible shim has been kept in the new function
2177
``knit.make_file_knit``. (Robert Collins)
2179
* Log formatters must now provide log_revision instead of show and
2180
show_merge_revno methods. The latter had been deprecated since the 0.17
2181
release. (James Westby)
2183
* ``LoopbackSFTP`` is now called ``SocketAsChannelAdapter``.
2186
* ``osutils.backup_file`` is removed. (Alexander Belchenko)
2188
* ``Repository.get_revision_graph`` is deprecated, with no replacement
2189
method. The method was size(history) and not desirable. (Robert Collins)
2191
* ``revision.revision_graph`` is deprecated, with no replacement function.
2192
The function was size(history) and not desirable. (Robert Collins)
2194
* ``Transport.get_shared_medium`` is deprecated. Use
2195
``Transport.get_smart_medium`` instead. (Andrew Bennetts)
2197
* ``VersionedFile`` factories now accept a get_scope parameter rather
2198
than using a call to ``transaction_finished``, allowing the removal of
2199
the fixed list of versioned files per repository. (Robert Collins)
2201
* ``VersionedFile.annotate_iter`` is deprecated. While in principle this
2202
allowed lower memory use, all users of annotations wanted full file
2203
annotations, and there is no storage format suitable for incremental
2204
line-by-line annotation. (Robert Collins)
2206
* ``VersionedFile.clone_text`` is deprecated. This performance optimisation
2207
is no longer used - reading the content of a file that is undergoing a
2208
file level merge to identical state on two branches is rare enough, and
2209
not expensive enough to special case. (Robert Collins)
2211
* ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
2212
These methods added significant complexity to the ``VersionedFile``
2213
implementation, but were only used for optimising fetches from knits -
2214
which can be done from outside the knit layer, or via a caching
2215
decorator. As knits are not the default format, the complexity is no
2216
longer worth paying. (Robert Collins)
2218
* ``VersionedFile.create_empty`` is removed. This method presupposed a
2219
sensible mapping to a transport for individual files, but pack backed
2220
versioned files have no such mapping. (Robert Collins)
2222
* ``VersionedFile.get_graph`` is deprecated, with no replacement method.
2223
The method was size(history) and not desirable. (Robert Collins)
2225
* ``VersionedFile.get_graph_with_ghosts`` is deprecated, with no
2226
replacement method. The method was size(history) and not desirable.
2229
* ``VersionedFile.get_parents`` is deprecated, please use
2230
``VersionedFile.get_parent_map``. (Robert Collins)
2232
* ``VersionedFile.get_sha1`` is deprecated, please use
2233
``VersionedFile.get_sha1s``. (Robert Collins)
2235
* ``VersionedFile.has_ghost`` is now deprecated, as it is both expensive
2236
and unused outside of a single test. (Robert Collins)
2238
* ``VersionedFile.iter_parents`` is now deprecated in favour of
2239
``get_parent_map`` which can be used to instantiate a Graph on a
2240
VersionedFile. (Robert Collins)
2242
* ``VersionedFileStore`` no longer uses the transaction parameter given
2243
to most methods; amongst other things this means that the
2244
get_weave_or_empty method no longer guarantees errors on a missing weave
2245
in a readonly transaction, and no longer caches versioned file instances
2246
which reduces memory pressure (but requires more careful management by
2247
callers to preserve performance). (Robert Collins)
2251
* New -Dselftest_debug flag disables clearing of the debug flags during
2252
tests. This is useful if you want to use e.g. -Dhpss to help debug a
2253
failing test. Be aware that using this feature is likely to cause
2254
spurious test failures if used with the full suite. (Andrew Bennetts)
2256
* selftest --load-list now uses a new more agressive test loader that will
2257
avoid loading unneeded modules and building their tests. Plugins can use
2258
this new loader by defining a load_tests function instead of a test_suite
2259
function. (a forthcoming patch will provide many examples on how to
2263
* selftest --load-list now does some sanity checks regarding duplicate test
2264
IDs and tests present in the list but not found in the actual test suite.
2267
* Slightly more concise format for the selftest progress bar, so there's
2268
more space to show the test name. (Martin Pool) ::
2270
[2500/10884, 1fail, 3miss in 1m29s] test_revisionnamespaces.TestRev
2272
* The test suite takes much less memory to run, and is a bit faster. This
2273
is done by clearing most attributes of TestCases after running them, if
2274
they succeeded. (Andrew Bennetts)
2278
* Added ``_build_client_protocol`` to ``_SmartClient``. (Andrew Bennetts)
2280
* Added basic infrastructure for automatic plugin suggestion.
2283
* If a ``LockableFiles`` object is not explicitly unlocked (for example
2284
because of a missing ``try/finally`` block, it will give a warning but
2285
not automatically unlock itself. (Previously they did.) This
2286
sometimes caused knock-on errors if for example the network connection
2287
had already failed, and should not be relied upon by code.
2288
(Martin Pool, #109520)
2290
* ``make dist`` target to build a release tarball, and also
2291
``check-dist-tarball`` and ``dist-upload-escudero``. (Martin Pool)
2293
* The ``read_response_tuple`` method of ``SmartClientRequestProtocol*``
2294
classes will now raise ``UnknownSmartMethod`` when appropriate, so that
2295
callers don't need to try distinguish unknown request errors from other
2296
errors. (Andrew Bennetts)
2298
* ``set_make_working_trees`` is now implemented provided on all repository
2299
implementations (Aaron Bentley)
2301
* ``VersionedFile`` now has a new method ``get_parent_map`` which, like
2302
``Graph.get_parent_map`` returns a dict of key:parents. (Robert Collins)
2305
bzr 1.3.1 2008-04-09
2306
--------------------
2308
No changes from 1.3.1rc1.
2311
bzr 1.3rc1 2008-04-04
2312
---------------------
2316
* Fix a bug causing a ValueError crash in ``parse_line_delta_iter`` when
2317
fetching revisions from a knit to pack repository or vice versa using
2318
bzr:// (including over http or ssh).
2319
(#208418, Andrew Bennetts, Martin Pool, Robert Collins)
2325
Bazaar has become part of the GNU project <http://www.gnu.org>
2327
Many operations that act on history, including ``log`` and ``annotate`` are now
2328
substantially faster. Several bugs have been fixed and several new options and
2329
features have been added.
2333
* Avoid spurious failure of ``TestVersion.test_version`` matching
2335
(#202778, Martin Pool)
2338
bzr 1.3rc1 2008-03-16
2339
---------------------
2341
NOTES WHEN UPGRADING:
2343
* The backup directory created by ``upgrade`` is now called
2344
``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
2348
* A new repository format 'development' has been added. This format will
2349
represent the latest 'in-progress' format that the bzr developers are
2350
interested in getting early-adopter testing and feedback on.
2351
``doc/developers/development-repo.txt`` has detailed information.
2354
* BZR_LOG environment variable controls location of .bzr.log trace file.
2355
User can suppress writing messages to .bzr.log by using '/dev/null'
2356
filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
2357
is not defined but BZR_HOME is defined then default location
2358
for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
2359
(Alexander Belchenko, #106117)
2361
* ``launchpad`` builtin plugin now shipped as separate part in standalone
2362
bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
2363
and standalone installer allows user to skip installation of this plugin.
2364
(Alexander Belchenko)
2366
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
2368
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
2369
missing final fields. (Martin Pool)
2373
* ``branch`` and ``checkout`` can hard-link working tree files, which is
2374
faster and saves space. (Aaron Bentley)
2376
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
2377
the submit branch to determine the email address to send to.
2382
* BzrBranch._lefthand_history is faster on pack repos. (Aaron Bentley)
2384
* Branch6.generate_revision_history is faster. (Aaron Bentley)
2386
* Directory services can now be registered, allowing special URLs to be
2387
dereferenced into real URLs. This is a generalization and cleanup of
2388
the lp: transport lookup. (Aaron Bentley)
2390
* Merge directives that are automatically attached to emails have nicer
2391
filenames, based on branch-nick + revno. (Aaron Bentley)
2393
* ``push`` has a ``--revision`` option, to specify what revision to push up
2394
to. (Daniel Watkins)
2396
* Significantly reducing execution time and network traffic for trivial
2397
case of running ``bzr missing`` command for two identical branches.
2398
(Alexander Belchenko)
2400
* Speed up operations that look at the revision graph (such as 'bzr log').
2401
``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
2402
extract the revision history. This allows filtering ghosts while
2403
stepping instead of needing to peek ahead. (John Arbash Meinel)
2405
* The ``hooks`` command lists installed hooks, to assist in debugging.
2408
* Updates to how ``annotate`` work. Should see a measurable improvement in
2409
performance and memory consumption for file with a lot of merges.
2410
Also, correctly handle when a line is introduced by both parents (it
2411
should be attributed to the first merge which notices this, and not
2412
to all subsequent merges.) (John Arbash Meinel)
2416
* Autopacking no longer holds the full set of inventory lines in
2417
memory while copying. For large repositories, this can amount to
2418
hundreds of MB of ram consumption.
2419
(Ian Clatworthy, John Arbash Meinel)
2421
* Cherrypicking when using ``--format=merge3`` now explictly excludes
2422
BASE lines. (John Arbash Meinel, #151731)
2424
* Disable plink's interactive prompt for password.
2425
(#107593, Dmitry Vasiliev)
2427
* Encode command line arguments from unicode to user_encoding before
2428
invoking external mail client in `bzr send` command.
2429
(#139318, Alexander Belchenko)
2431
* Fixed problem connecting to ``bzr+https://`` servers.
2432
(#198793, John Ferlito)
2434
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
2437
* Include quick-start-summary.svg file to python-based installer(s)
2438
for Windows. (#192924, Alexander Belchenko)
2440
* lca merge now respects specified files. (Aaron Bentley)
2442
* Make version-info --custom imply --all. (#195560, James Westby)
2444
* ``merge --preview`` now works for merges that add or modify
2445
symlinks (James Henstridge)
2447
* Redirecting the output from ``bzr merge`` (when the remembered
2448
location is used) now works. (John Arbash Meinel)
2450
* setup.py script explicitly checks for Python version.
2451
(Jari Aalto, Alexander Belchenko, #200569)
2453
* UnknownFormatErrors no longer refer to branches regardless of kind of
2454
unknown format. (Daniel Watkins, #173980)
2456
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
2457
signs, among other small improvements. (Matt Nordhoff, #86838)
2459
* Use correct indices when emitting LCA conflicts. This fixes IndexError
2460
errors. (Aaron Bentley, #196780)
2464
* Explained how to use ``version-info --custom`` in the User Guide.
2465
(Neil Martinsen-Burrell)
2469
* Support for loading plugins from zip files and
2470
``bzrlib.plugin.load_from_zip()`` function are deprecated.
2471
(Alexander Belchenko)
2475
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
2477
* The branch interface tests were invalid for branches using rich-root
2478
repositories because the empty string is not a valid file-id.
2483
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
2484
``Repository.get_revision_graph()`` except it includes ghosts and you can
2485
stop part-way through. (John Arbash Meinel)
2487
* New module ``tools/package_mf.py`` provide custom module finder for
2488
python packages (improves standard python library's modulefinder.py)
2489
used by ``setup.py`` script while building standalone bzr.exe.
2490
(Alexander Belchenko)
2492
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
2493
detecting external lookup support on remote repositories. This method is
2494
now attempted first when lookup up repositories, leading to an extra
2495
round trip on older bzr smart servers. (Robert Collins)
2497
* Repository formats have a new supported-feature attribute
2498
``supports_external_lookups`` used to indicate repositories which support
2499
falling back to other repositories when they have partial data.
2502
* ``Repository.get_revision_graph_with_ghosts`` and
2503
``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
2504
have been deprecated. (John Arbash Meinel)
2506
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
2507
``Tree._iter_changes``. The api is now considered stable and ready for
2508
external users. (Aaron Bentley)
2510
* The bzrdir format registry now accepts an ``alias`` keyword to
2511
register_metadir, used to indicate that a format name is an alias for
2512
some other format and thus should not be reported when describing the
2513
format. (Robert Collins)
2521
* Fix failing test in Launchpad plugin. (Martin Pool)
2524
bzr 1.2rc1 2008-02-13
2525
---------------------
2527
NOTES WHEN UPGRADING:
2529
* Fetching via the smart protocol may need to reconnect once during a fetch
2530
if the remote server is running Bazaar 1.1 or earlier, because the client
2531
attempts to use more efficient requests that confuse older servers. You
2532
may be required to re-enter a password or passphrase when this happens.
2533
This won't happen if the server is upgraded to Bazaar 1.2.
2538
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
2539
consistent with pack-0.92 fetching over SFTP). (Robert Collins)
2541
* Formatting of ``bzr plugins`` output is changed to be more human-
2542
friendly. Full path of plugins locations will be shown only with
2543
``--verbose`` command-line option. (Alexander Belchenko)
2545
* ``merge`` now prefers to use the submit branch, but will fall back to
2546
parent branch. For many users, this has no effect. But some users who
2547
pull and merge on the same branch will notice a change. This change
2548
makes it easier to work on a branch on two different machines, pulling
2549
between the machines, while merging from the upstream.
2550
``merge --remember`` can now be used to set the submit_branch.
2555
* ``merge --preview`` produces a diff of the changes merge would make,
2556
but does not actually perform the merge. (Aaron Bentley)
2558
* New smart method ``Repository.get_parent_map`` for getting revision
2559
parent data. This returns additional parent information topologically
2560
adjacent to the requested data to reduce round trip latency impacts.
2563
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
2564
revision data that streams revision data via a chunked encoding. This
2565
avoids buffering large amounts of revision data on the server and on the
2566
client, and sends less data to the server to request the revisions.
2567
(Andrew Bennetts, Robert Collins, #178353)
2569
* The launchpad plugin now handles lp urls of the form
2570
``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
2571
launchpad instance to do the resolution of the branch identities.
2572
This is primarily of use to Launchpad developers, but can also
2573
be used by other users who want to try out Launchpad as
2574
a branch location without messing up their public Launchpad
2575
account. Branches that are pushed to the staging environment
2576
have an expected lifetime of one day. (Tim Penhey)
2580
* Creating a new branch no longer tries to read the entire revision-history
2581
unnecessarily over smart server operations. (Robert Collins)
2583
* Fetching between different repository formats with compatible models now
2584
takes advantage of the smart method to stream revisions. (Andrew Bennetts)
2586
* The ``--coverage`` option is now global, rather specific to ``bzr
2587
selftest``. (Andrew Bennetts)
2589
* The ``register-branch`` command will now use the public url of the branch
2590
containing the current directory, if one has been set and no explicit
2591
branch is provided. (Robert Collins)
2593
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
2594
Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
2595
(John Arbash Meinel)
2599
* Calculate remote path relative to the shared medium in _SmartClient. This
2600
is related to the problem in bug #124089. (Andrew Bennetts)
2602
* Cleanly handle connection errors in smart protocol version two, the same
2603
way as they are handled by version one. (Andrew Bennetts)
2605
* Clearer error when ``version-info --custom`` is used without
2606
``--template`` (Lukáš Lalinský)
2608
* Don't raise UnavailableFeature during test setup when medusa is not
2609
available or tearDown is never called leading to nasty side effects.
2610
(#137823, Vincent Ladeuil)
2612
* If a plugin's test suite cannot be loaded, for example because of a syntax
2613
error in the tests, then ``selftest`` fails, rather than just printing
2614
a warning. (Martin Pool, #189771)
2616
* List possible values for BZR_SSH environment variable in env-variables
2617
help topic. (Alexander Belchenko, #181842)
2619
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
2620
popping the log redirection now precisely restores the previous state,
2621
which makes it easier to use bzr log output from other programs.
2622
TestCaseInTempDir no longer depends on a log redirection being established
2623
by the test framework, which lets bzr tests cleanly run from a normal
2625
(#124153, #124849, Martin Pool, Jonathan Lange)
2627
* ``pull --quiet`` is now more quiet, in particular a message is no longer
2628
printed when the remembered pull location is used. (James Westby,
2631
* ``reconfigure`` can safely be interrupted while fetching.
2632
(Aaron Bentley, #179316)
2634
* ``reconfigure`` preserves tags when converting to and from lightweight
2635
checkouts. (Aaron Bentley, #182040)
2637
* Stop polluting /tmp when running selftest.
2638
(Vincent Ladeuil, #123623)
2640
* Switch from NFKC => NFC for normalization checks. NFC allows a few
2641
more characters which should be considered valid.
2642
(John Arbash Meinel, #185458)
2644
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
2645
interacting badly with a bug on the launchpad side. (Robert Collins)
2647
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
2648
tracebacks. (Andrew Bennetts, #182849)
2652
* Classes implementing Merge types like Merge3Merger must now accept (and
2653
honour) a do_merge flag in their constructor. (Aaron Bentley)
2655
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
2656
to previously take a write lock (and start a write group.)
2661
* selftest now accepts --load-list <file> to load a test id list. This
2662
speeds up running the test suite on a limited set of tests.
2667
* Add a new method ``get_result`` to graph search objects. The resulting
2668
``SearchResult`` can be used to recreate the search later, which will
2669
be useful in reducing network traffic. (Robert Collins)
2671
* Use convenience function to check whether two repository handles
2672
are referring to the same repository in ``Repository.get_graph``.
2673
(Jelmer Vernooij, #187162)
2675
* Fetching now passes the find_ghosts flag through to the
2676
``InterRepository.missing_revision_ids`` call consistently for all
2677
repository types. This will enable faster missing revision discovery with
2678
bzr+ssh. (Robert Collins)
2680
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
2682
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
2683
``InterRepository.search_missing_revision_ids`` which returns a
2684
``bzrlib.graph.SearchResult`` suitable for making requests from the smart
2685
server. (Robert Collins)
2687
* New error ``NoPublicBranch`` for commands that need a public branch to
2688
operate. (Robert Collins)
2690
* New method ``iter_inventories`` on Repository for access to many
2691
inventories. This is primarily used by the ``revision_trees`` method, as
2692
direct access to inventories is discouraged. (Robert Collins)
2694
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
2695
which will split out ghosts and present parents into two separate sets,
2696
useful for code which needs to be aware of ghosts (e.g. fetching data
2697
cares about ghosts during revision selection). (Robert Collins)
2699
* Record a timestamp against each mutter to the trace file, relative to the
2700
first import of bzrlib. (Andrew Bennetts)
2702
* ``Repository.get_data_stream`` is now deprecated in favour of
2703
``Repository.get_data_stream_for_search`` which allows less network
2704
traffic when requesting data streams over a smart server. (Robert Collins)
2706
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
2707
removing one round trip on many network operations. (Robert Collins)
2709
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
2710
SFTPTransport and HttpTransportBase. (Andrew Bennetts)
2712
* Repository has a new method ``has_revisions`` which signals the presence
2713
of many revisions by returning a set of the revisions listed which are
2714
present. This can be done by index queries without reading data for parent
2715
revision names etc. (Robert Collins)
2721
(no changes from 1.1rc1)
2723
bzr 1.1rc1 2008-01-05
2724
---------------------
2728
* Dotted revision numbers have been revised. Instead of growing longer with
2729
nested branches the branch number just increases. (eg instead of 1.1.1.1.1
2730
we now report 1.2.1.) This helps scale long lived branches which have many
2731
feature branches merged between them. (John Arbash Meinel)
2733
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
2734
Use ``bzr diff branch1 --new branch2`` instead. This change has
2735
been made to remove the ambiguity where ``branch2`` is in fact a
2736
specific file to diff within ``branch1``.
2740
* New option to use custom template-based formats in ``bzr version-info``.
2743
* diff '--using' allows an external diff tool to be used for files.
2746
* New "lca" merge-type for fast everyday merging that also supports
2747
criss-cross merges. (Aaron Bentley)
2751
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
2754
* ``branch`` and ``checkout`` can now use files from a working tree to
2755
to speed up the process. For checkout, this requires the new
2756
--files-from flag. (Aaron Bentley)
2758
* ``bzr diff`` now sorts files in alphabetical order. (Aaron Bentley)
2760
* ``bzr diff`` now works on branches without working trees. Tree-less
2761
branches can also be compared to each other and to working trees using
2762
the new diff options ``--old`` and ``--new``. Diffing between branches,
2763
with or without trees, now supports specific file filtering as well.
2764
(Ian Clatworthy, #6700)
2766
* ``bzr pack`` now orders revision texts in topological order, with newest
2767
at the start of the file, promoting linear reads for ``bzr log`` and the
2768
like. This partially fixes #154129. (Robert Collins)
2770
* Merge directives now fetch prerequisites from the target branch if
2771
needed. (Aaron Bentley)
2773
* pycurl now handles digest authentication.
2776
* ``reconfigure`` can now convert from repositories. (Aaron Bentley)
2778
* ``-l`` is now a short form for ``--limit`` in ``log``. (Matt Nordhoff)
2780
* ``merge`` now warns when merge directives cause cherrypicks.
2783
* ``split`` now supported, to enable splitting large trees into smaller
2784
pieces. (Aaron Bentley)
2788
* Avoid AttributeError when unlocking a pack repository when an error occurs.
2789
(Martin Pool, #180208)
2791
* Better handle short reads when processing multiple range requests.
2792
(Vincent Ladeuil, #179368)
2794
* build_tree acceleration uses the correct path when a file has been moved.
2797
* ``commit`` now succeeds when a checkout and its master branch share a
2798
repository. (Aaron Bentley, #177592)
2800
* Fixed error reporting of unsupported timezone format in
2801
``log --timezone``. (Lukáš Lalinský, #178722)
2803
* Fixed Unicode encoding error in ``ignored`` when the output is
2804
redirected to a pipe. (Lukáš Lalinský)
2806
* Fix traceback when sending large response bodies over the smart protocol
2807
on Windows. (Andrew Bennetts, #115781)
2809
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
2810
pointed to different logical drives on Windows.
2811
(Alexander Belchenko, #90847)
2813
* HTTP test servers are now compatible with the http protocol version 1.1.
2814
(Vincent Ladeuil, #175524)
2816
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
2817
correctly, instead of erroring or attributing incorrect parents to ghosts.
2820
* ``merge --weave --uncommitted`` now works. (Aaron Bentley)
2822
* pycurl authentication handling was broken and incomplete. Fix handling of
2823
user:pass embedded in the urls.
2824
(Vincent Ladeuil, #177643)
2826
* Files inside non-directories are now handled like other conflict types.
2827
(Aaron Bentley, #177390)
2829
* ``reconfigure`` is able to convert trees into lightweight checkouts.
2832
* Reduce lockdir timeout to 0 when running ``bzr serve``. (Andrew Bennetts,
2835
* Test that the old ``version_info_format`` functions still work, even
2836
though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
2838
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
2841
* ``uncommit`` works even when the commit messages of revisions to be
2842
removed use characters not supported in the terminal encoding.
2845
* When dumb http servers return whole files instead of the requested ranges,
2846
read the remaining bytes by chunks to avoid overflowing network buffers.
2847
(Vincent Ladeuil, #175886)
2851
* Minor tweaks made to the bug tracker integration documentation.
2854
* Reference material has now be moved out of the User Guide and added
2855
to the User Reference. The User Reference has gained 4 sections as
2856
a result: Authenication Settings, Configuration Settings, Conflicts
2857
and Hooks. All help topics are now dumped into text format in the
2858
doc/en/user-reference directory for those who like browsing that
2859
information in their editor. (Ian Clatworthy)
2861
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
2865
* find_* methods available for BzrDirs, Branches and WorkingTrees.
2868
* Help topics can now be loaded from files.
2869
(Ian Clatworthy, Alexander Belchenko)
2871
* get_parent_map now always provides tuples as its output. (Aaron Bentley)
2873
* Parent Providers should now implement ``get_parent_map`` returning a
2874
dictionary instead of ``get_parents`` returning a list.
2875
``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
2878
* Patience Diff now supports arbitrary python objects, as long as they
2879
support ``hash()``. (John Arbash Meinel)
2881
* Reduce selftest overhead to establish test names by memoization.
2888
* Modules can now customise their tests by defining a ``load_tests``
2889
attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
2890
for the documentation on this attribute. (Robert Collins)
2892
* New helper function ``bzrlib.tests.condition_id_re`` which helps
2893
filter tests based on a regular expression search on the tests id.
2896
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
2897
filter tests based on class. (Robert Collins)
2899
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
2900
generalises the ``exclude_suite_by_re`` function. (Robert Collins)
2902
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
2903
generalises the ``filter_suite_by_re`` function. (Robert Collins)
2905
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
2906
TestSuite that does not contain tests from the input that matched a
2907
regular expression. (Robert Collins)
2909
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
2910
randomized copy of the input suite. (Robert Collins)
2912
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
2913
suite into two according to a regular expression. (Robert Collins)
2915
* Parametrize all http tests for the transport implementations, the http
2916
protocol versions (1.0 and 1.1) and the authentication schemes.
2919
* The ``exclude_pattern`` and ``random_order`` parameters to the function
2920
``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
2922
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
2923
replaced by the new helper methods added in this release. (Robert Collins)
2931
* More improvements and fixes to the User Guide. (Ian Clatworthy)
2933
* Add information on cherrypicking/rebasing to the User Guide.
2936
* Improve bug tracker integration documentation. (Ian Clatworthy)
2938
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
2939
to the rebasing section of the User Guide from Aaron Bentley.
2943
bzr 1.0rc3 2007-12-11
2944
---------------------
2948
* If a traceback occurs, users are now asked to report the bug
2949
through Launchpad (https://bugs.launchpad.net/bzr/), rather than
2950
by mail to the mailing list.
2955
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
2957
* Give more feedback during long http downloads by making readv deliver data
2958
as it arrives for urllib, and issue more requests for pycurl. High latency
2959
networks are better handled by urllib, the pycurl implementation give more
2960
feedback but also incur more latency.
2961
(Vincent Ladeuil, #173010)
2963
* Implement _make_parents_provider on RemoteRepository, allowing generating
2964
bundles against branches on a smart server. (Andrew Bennetts, #147836)
2968
* Improved user guide. (Ian Clatworthy)
2970
* The single-page quick reference guide is now available as a PDF.
2975
* readv urllib http implementation is now a real iterator above the
2976
underlying socket and deliver data as soon as it arrives. 'get' still
2977
wraps its output in a StringIO.
2981
bzr 1.0rc2 2007-12-07
2982
---------------------
2986
* Added a --coverage option to selftest. (Andrew Bennetts)
2988
* Annotate merge (merge-type=weave) now supports cherrypicking.
2991
* ``bzr commit`` now doesn't print the revision number twice. (Matt
2994
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
2995
define locations of bug trackers that are not directly supported by
2996
bzr or a plugin. The URL will be treated as a template and ``{id}``
2997
placeholders will be replaced by specific bug IDs. (Lukáš Lalinský)
2999
* Support logging single merge revisions with short and line log formatters.
3002
* User Guide enhanced with suggested readability improvements from
3003
Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
3005
* Quick Start Guide renamed to Quick Start Card, moved down in
3006
the catalog, provided in pdf and png format and updated to refer
3007
to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
3009
* ``switch`` can now be used on heavyweight checkouts as well as
3010
lightweight ones. After switching a heavyweight checkout, the
3011
local branch is a mirror/cache of the new bound branch and
3012
uncommitted changes in the working tree are merged. As a safety
3013
check, if there are local commits in a checkout which have not
3014
been committed to the previously bound branch, then ``switch``
3015
fails unless the ``--force`` option is given. This option is
3016
now also required if the branch a lightweight checkout is pointing
3017
to has been moved. (Ian Clatworthy)
3021
* New -Dhttp debug option reports http connections, requests and responses.
3024
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
3028
* Better error message when running ``bzr cat`` on a non-existant branch.
3029
(Lukáš Lalinský, #133782)
3031
* Catch OSError 17 (file exists) in final phase of tree transform and show
3033
(Alexander Belchenko, #111758)
3035
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
3036
allowing multiple GET requests to be issued if too many ranges are
3038
(Vincent Ladeuil, #172701)
3040
* Check for missing basis texts when fetching from packs to packs.
3041
(John Arbash Meinel, #165290)
3043
* Fall back to showing e-mail in ``log --short/--line`` if the
3044
committer/author has only e-mail. (Lukáš Lalinský, #157026)
3048
* Deprecate not passing a ``location`` argument to commit reporters'
3049
``started`` methods. (Matt Nordhoff)
3052
bzr 1.0rc1 2007-11-30
3053
---------------------
3055
NOTES WHEN UPGRADING:
3057
* The default repository format is now ``pack-0.92``. This
3058
default is used when creating new repositories with ``init`` and
3059
``init-repo``, and when branching over bzr+ssh or bzr+hpss.
3060
(See https://bugs.launchpad.net/bugs/164626)
3062
This format can be read and written by Bazaar 0.92 and later, and
3063
data can be transferred to and from older formats.
3065
To upgrade, please reconcile your repository (``bzr reconcile``), and then
3066
upgrade (``bzr upgrade``).
3068
``pack-0.92`` offers substantially better scaling and performance than the
3069
previous knits format. Some operations are slower where the code already
3070
had bad scaling characteristics under knits, the pack format makes such
3071
operations more visible as part of being more scalable overall. We will
3072
correct such operations over the coming releases and encourage the filing
3073
of bugs on any operation which you observe to be slower in a packs
3074
repository. One particular case that we do not intend to fix is pulling
3075
data from a pack repository into a knit repository over a high latency
3076
link; downgrading such data requires reinsertion of the file texts, and
3077
this is a classic space/time tradeoff. The current implementation is
3078
conservative on memory usage because we need to support converting data
3079
from any tree without problems.
3080
(Robert Collins, Martin Pool, #164476)
3084
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
3085
still available if user selects it explicitly with BZR_SSH environment
3086
variable. (Alexander Belchenko, workaround for bug #107593)
3088
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
3089
to enable the subtree functions (for example, for bzr-svn).
3090
See http://doc.bazaar-vcs.org/latest/developer/packrepo.html
3095
* New ``authentication.conf`` file holding the password or other credentials
3096
for remote servers. This can be used for ssh, sftp, smtp and other
3097
supported transports.
3100
* New rich-root and rich-root-pack formats, recording the same data about
3101
tree roots that's recorded for all other directories.
3102
(Aaron Bentley, #164639)
3104
* ``pack-0.92`` repositories can now be reconciled.
3105
(Robert Collins, #154173)
3107
* ``switch`` command added for changing the branch a lightweight checkout
3108
is associated with and updating the tree to reflect the latest content
3109
accordingly. This command was previously part of the BzrTools plug-in.
3110
(Ian Clatworthy, Aaron Bentley, David Allouche)
3112
* ``reconfigure`` command can now convert branches, trees, or checkouts to
3113
lightweight checkouts. (Aaron Bentley)
3117
* Commit updates the state of the working tree via a delta rather than
3118
supplying entirely new basis trees. For commit of a single specified file
3119
this reduces the wall clock time for commit by roughly a 30%.
3120
(Robert Collins, Martin Pool)
3122
* Commit with many automatically found deleted paths no longer performs
3123
linear scanning for the children of those paths during inventory
3124
iteration. This should fix commit performance blowing out when many such
3125
paths occur during commit. (Robert Collins, #156491)
3127
* Fetch with pack repositories will no longer read the entire history graph.
3128
(Robert Collins, #88319)
3130
* Revert takes out an appropriate lock when reverting to a basis tree, and
3131
does not read the basis inventory twice. (Robert Collins)
3133
* Diff does not require an inventory to be generated on dirstate trees.
3134
(Aaron Bentley, #149254)
3136
* New annotate merge (--merge-type=weave) implementation is fast on
3137
versionedfiles withough cached annotations, e.g. pack-0.92.
3142
* ``bzr merge`` now warns when it encounters a criss-cross merge.
3145
* ``bzr send`` now doesn't require the target e-mail address to be
3146
specified on the command line if an interactive e-mail client is used.
3149
* ``bzr tags`` now prints the revision number for each tag, instead of
3150
the revision id, unless --show-ids is passed. In addition, tags can be
3151
sorted chronologically instead of lexicographically with --sort=time.
3152
(Adeodato Simó, #120231)
3154
* Windows standalone version of bzr is able to load system-wide plugins from
3155
"plugins" subdirectory in installation directory. In addition standalone
3156
installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
3157
about paths and bzr version. (Alexander Belchenko, #129298)
3163
* A progress bar has been added for knitpack -> knitpack fetching.
3164
(Robert Collins, #157789, #159147)
3166
* Branching from a branch via smart server now preserves the repository
3167
format. (Andrew Bennetts, #164626)
3169
* ``commit`` is now able to invoke an external editor in a non-ascii
3170
directory. (Daniel Watkins, #84043)
3172
* Catch connection errors for ftp.
3173
(Vincent Ladeuil, #164567)
3175
* ``check`` no longer reports spurious unreferenced text versions.
3176
(Robert Collins, John A Meinel, #162931, #165071)
3178
* Conflicts are now resolved recursively by ``revert``.
3179
(Aaron Bentley, #102739)
3181
* Detect invalid transport reuse attempts by catching invalid URLs.
3182
(Vincent Ladeuil, #161819)
3184
* Deleting a file without removing it shows a correct diff, not a traceback.
3187
* Do no use timeout in HttpServer anymore.
3188
(Vincent Ladeuil, #158972).
3190
* Don't catch the exceptions related to the http pipeline status before
3191
retrying an http request or some programming errors may be masked.
3192
(Vincent Ladeuil, #160012)
3194
* Fix ``bzr rm`` to not delete modified and ignored files.
3195
(Lukáš Lalinský, #172598)
3197
* Fix exception when revisionspec contains merge revisons but log
3198
formatter doesn't support merge revisions. (Kent Gibson, #148908)
3200
* Fix exception when ScopeReplacer is assigned to before any members have
3201
been retrieved. (Aaron Bentley)
3203
* Fix multiple connections during checkout --lightweight.
3204
(Vincent Ladeuil, #159150)
3206
* Fix possible error in insert_data_stream when copying between
3207
pack repositories over bzr+ssh or bzr+http.
3208
KnitVersionedFile.get_data_stream now makes sure that requested
3209
compression parents are sent before any delta hunks that depend
3211
(Martin Pool, #164637)
3213
* Fix typo in limiting offsets coalescing for http, leading to
3214
whole files being downloaded instead of parts.
3215
(Vincent Ladeuil, #165061)
3217
* FTP server errors don't error in the error handling code.
3218
(Robert Collins, #161240)
3220
* Give a clearer message when a pull fails because the source needs
3222
(Martin Pool, #164443)
3224
* It is clearer when a plugin cannot be loaded because of its name, and a
3225
suggestion for an acceptable name is given. (Daniel Watkins, #103023)
3227
* Leave port as None in transport objects if user doesn't
3228
specify a port in urls.
3229
(vincent Ladeuil, #150860)
3231
* Make sure Repository.fetch(self) is properly a no-op for all
3232
Repository implementations. (John Arbash Meinel, #158333)
3234
* Mark .bzr directories as "hidden" on Windows.
3235
(Alexander Belchenko, #71147)
3237
* ``merge --uncommitted`` can now operate on a single file.
3238
(Aaron Bentley, Lukáš Lalinský, #136890)
3240
* Obsolete packs are now cleaned up by pack and autopack operations.
3241
(Robert Collins, #153789)
3243
* Operations pulling data from a smart server where the underlying
3244
repositories are not both annotated/both unannotated will now work.
3245
(Robert Collins, #165304).
3247
* Reconcile now shows progress bars. (Robert Collins, #159351)
3249
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
3250
properly. (John Arbash Meinel, #162486)
3252
* Removing an already-removed file reports the file does not exist. (Daniel
3255
* Rename on Windows is able to change filename case.
3256
(Alexander Belchenko, #77740)
3258
* Return error instead of a traceback for ``bzr log -r0``.
3259
(Kent Gibson, #133751)
3261
* Return error instead of a traceback when bzr is unable to create
3262
symlink on some platforms (e.g. on Windows).
3263
(Alexander Belchenko, workaround for #81689)
3265
* Revert doesn't crash when restoring a single file from a deleted
3266
directory. (Aaron Bentley)
3268
* Stderr output via logging mechanism now goes through encoded wrapper
3269
and no more uses utf-8, but terminal encoding instead. So all unicode
3270
strings now should be readable in non-utf-8 terminal.
3271
(Alexander Belchenko, #54173)
3273
* The error message when ``move --after`` should be used makes how to do so
3274
clearer. (Daniel Watkins, #85237)
3276
* Unicode-safe output from ``bzr info``. The output will be encoded
3277
using the terminal encoding and unrepresentable characters will be
3278
replaced by '?'. (Lukáš Lalinský, #151844)
3280
* Working trees are no longer created when pushing into a local no-trees
3281
repo. (Daniel Watkins, #50582)
3283
* Upgrade util/configobj to version 4.4.0.
3284
(Vincent Ladeuil, #151208).
3286
* Wrap medusa ftp test server as an FTPServer feature.
3287
(Vincent Ladeuil, #157752)
3291
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
3292
during very long time. (Alexander Belchenko)
3294
* The return value of
3295
``VersionedFile.iter_lines_added_or_present_in_versions`` has been
3296
changed. Previously it was an iterator of lines, now it is an iterator of
3297
(line, version_id) tuples. This change has been made to aid reconcile and
3298
fetch operations. (Robert Collins)
3300
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
3303
* The Repository format registry default has been removed; it was previously
3304
obsoleted by the bzrdir format default, which implies a default repository
3310
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
3311
``bzrlib.pack``. These classes provide more convenient APIs for generating
3312
and parsing containers from streams rather than from files. (Andrew
3315
* New module ``lru_cache`` providing a cache for use by tasks that need
3316
semi-random access to large amounts of data. (John A Meinel)
3318
* InventoryEntry.diff is now deprecated. Please use diff.DiffTree instead.
3328
* New uninstaller on Win32. (Alexander Belchenko)
3331
bzr 0.92rc1 2007-10-29
3332
----------------------
3334
NOTES WHEN UPGRADING:
3338
* ``bzr`` now returns exit code 4 if an internal error occurred, and
3339
3 if a normal error occurred. (Martin Pool)
3341
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
3342
repository index errors that occured as a result of the Weave disk format.
3343
Instead the ``reconcile`` command needs to be run to correct those
3344
problems if they exist (and it has been able to fix most such problems
3345
since bzr 0.8). Some new problems have been identified during this release
3346
and you should run ``bzr check`` once on every repository to see if you
3347
need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
3348
repository due to mismatched parent errors - a symptom of index errors -
3349
you should simply take a full copy of that remote repository to a clean
3350
directory outside any local repositories, then run reconcile on it, and
3351
finally pull from it locally. (And naturally email the repositories owner
3352
to ask them to upgrade and run reconcile).
3357
* New ``knitpack-experimental`` repository format. This is interoperable with
3358
the ``dirstate-tags`` format but uses a smarter storage design that greatly
3359
speeds up many operations, both local and remote. This new format can be
3360
used as an option to the ``init``, ``init-repository`` and ``upgrade``
3361
commands. See http://doc.bazaar-vcs.org/0.92/developers/knitpack.html
3362
for further details. (Robert Collins)
3364
* For users of bzr-svn (and those testing the prototype subtree support) that
3365
wish to try packs, a new ``knitpack-subtree-experimental`` format has also
3366
been added. This is interoperable with the ``dirstate-subtrees`` format.
3369
* New ``reconfigure`` command. (Aaron Bentley)
3371
* New ``revert --forget-merges`` command, which removes the record of a pending
3372
merge without affecting the working tree contents. (Martin Pool)
3374
* New ``bzr_remote_path`` configuration variable allows finer control of
3375
remote bzr locations than BZR_REMOTE_PATH environment variable.
3378
* New ``launchpad-login`` command to tell Bazaar your Launchpad
3379
user ID. This can then be used by other functions of the
3380
Launchpad plugin. (James Henstridge)
3384
* Commit in quiet mode is now slightly faster as the information to
3385
output is no longer calculated. (Ian Clatworthy)
3387
* Commit no longer checks for new text keys during insertion when the
3388
revision id was deterministically unique. (Robert Collins)
3390
* Committing a change which is not a merge and does not change the number of
3391
files in the tree is faster by utilising the data about whether files are
3392
changed to determine if the tree is unchanged rather than recalculating
3393
it at the end of the commit process. (Robert Collins)
3395
* Inventory serialisation no longer double-sha's the content.
3398
* Knit text reconstruction now avoids making copies of the lines list for
3399
interim texts when building a single text. The new ``apply_delta`` method
3400
on ``KnitContent`` aids this by allowing modification of the revision id
3401
such objects represent. (Robert Collins)
3403
* Pack indices are now partially parsed for specific key lookup using a
3404
bisection approach. (Robert Collins)
3406
* Partial commits are now approximately 40% faster by walking over the
3407
unselected current tree more efficiently. (Robert Collins)
3409
* XML inventory serialisation takes 20% less time while being stricter about
3410
the contents. (Robert Collins)
3412
* Graph ``heads()`` queries have been fixed to no longer access all history
3413
unnecessarily. (Robert Collins)
3417
* ``bzr+https://`` smart server across https now supported.
3418
(John Ferlito, Martin Pool, #128456)
3420
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
3421
bazaar.conf and ``send`` will use mutt. (Keir Mierle)
3423
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
3424
changes from one revision. (Alexander Belchenko, #141368)
3426
* Show encodings, locale and list of plugins in the traceback message.
3427
(Martin Pool, #63894)
3429
* Experimental directory formats can now be marked with
3430
``experimental = True`` during registration. (Ian Clatworthy)
3434
* New *Bazaar in Five Minutes* guide. (Matthew Revell)
3436
* The hooks reference documentation is now converted to html as expected.
3441
* Connection error reporting for the smart server has been fixed to
3442
display a user friendly message instead of a traceback.
3443
(Ian Clatworthy, #115601)
3445
* Make sure to use ``O_BINARY`` when opening files to check their
3446
sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
3448
* Fix a problem with Win32 handling of the executable bit.
3449
(John Arbash Meinel, #149113)
3451
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
3452
no longer assume that means port 22. This allows people using OpenSSH to
3453
override the default port in their ``~/.ssh/config`` if they wish. This
3454
fixes a bug introduced in bzr 0.91. (Andrew Bennetts, #146715)
3456
* Commands reporting exceptions can now be profiled and still have their
3457
data correctly dumped to a file. For example, a ``bzr commit`` with
3458
no changes still reports the operation as pointless but doing so no
3459
longer throws away the profiling data if this command is run with
3460
``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
3462
* Fallback to ftp when paramiko is not installed and sftp can't be used for
3463
``tests/commands`` so that the test suite is still usable without
3465
(Vincent Ladeuil, #59150)
3467
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
3469
* Fix long standing bug in partial commit when there are renames
3470
left in tree. (Robert Collins, #140419)
3472
* Fix selftest semi-random noise during http related tests.
3473
(Vincent Ladeuil, #140614)
3475
* Fix typo in ftp.py making the reconnection fail on temporary errors.
3476
(Vincent Ladeuil, #154259)
3478
* Fix failing test by comparing real paths to cover the case where the TMPDIR
3479
contains a symbolic link.
3480
(Vincent Ladeuil, #141382).
3482
* Fix log against smart server branches that don't support tags.
3483
(James Westby, #140615)
3485
* Fix pycurl http implementation by defining error codes from
3486
pycurl instead of relying on an old curl definition.
3487
(Vincent Ladeuil, #147530)
3489
* Fix 'unprintable error' message when displaying BzrCheckError and
3490
some other exceptions on Python 2.5.
3491
(Martin Pool, #144633)
3493
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
3495
* Handles default value for ListOption in cmd_commit.
3496
(Vincent Ladeuil, #140432)
3498
* HttpServer and FtpServer need to be closed properly or a listening socket
3500
(Vincent Ladeuil, #140055)
3502
* Monitor the .bzr directory created in the top level test
3503
directory to detect leaking tests.
3504
(Vincent Ladeuil, #147986)
3506
* The basename, not the full path, is now used when checking whether
3507
the profiling dump file begins with ``callgrind.out`` or not. This
3508
fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
3510
* Trivial fix for invoking command ``reconfigure`` without arguments.
3513
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
3514
new path causes bzr to be unable to access the file. (Robert Collins)
3516
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
3521
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
3522
constructor, for enabling bisection searches. (Robert Collins)
3524
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
3525
tree be supplied to it, previously failing to do so would trigger a
3526
deprecation warning. (Robert Collins)
3528
* ``KnitVersionedFile.add*`` will no longer cache added records even when
3529
enable_cache() has been called - the caching feature is now exclusively for
3530
reading existing data. (Robert Collins)
3532
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
3533
appropriate. (Martin Pool)
3535
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
3536
``trace+`` transport instead. (Robert Collins)
3538
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
3539
deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
3542
* Removed previous deprecated ``basis_knit`` parameter to the
3543
``KnitVersionedFile`` constructor. (Robert Collins)
3545
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
3546
class that needs it.
3549
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
3550
``KnitRepository`` by parameters to the constructor. (Robert Collins)
3552
* The ``VersionedFile`` interface now allows content checks to be bypassed
3553
by supplying check_content=False. This saves nearly 30% of the minimum
3554
cost to store a version of a file. (Robert Collins)
3556
* Tree's with bad state such as files with no length or sha will no longer
3557
be silently accepted by the repository XML serialiser. To serialise
3558
inventories without such data, pass working=True to write_inventory.
3561
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
3562
``VersionedFile.join`` will no longer accept different parents on either
3563
side of a join - it will either ignore them, or error, depending on the
3564
implementation. See notes when upgrading for more information.
3569
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
3570
put by the method call, to allow avoiding stat-after-write or
3571
housekeeping in callers. (Robert Collins)
3573
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
3574
mandatory attributes are present on serialisation and deserialisation.
3575
This fixes some holes in API usage and allows better separation between
3576
physical storage and object serialisation. (Robert Collins)
3578
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
3579
shorthand for deriving from BzrError and setting internal_error = True.
3582
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
3583
moving the state of a parent tree to a new version via a delta rather than
3584
a complete replacement tree. (Robert Collins)
3586
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
3587
duplication from user input, when a user mentions both a path and an item
3588
contained within that path. (Robert Collins)
3590
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
3591
determining if a repository is write locked. (Robert Collins)
3593
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
3594
tuple containing the key information about a path for commit processing
3595
to complete. (Robert Collins)
3597
* New method on xml serialisers, write_inventory_to_lines, which matches the
3598
API used by knits for adding content. (Robert Collins)
3600
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
3601
logic, currently only available for byte-based lookup
3602
(``bisect_multi_bytes``). (Robert Collins)
3604
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
3605
and returns a gzipped version of the same. This is used to avoid a bunch
3606
of api friction during adding of knit hunks. (Robert Collins)
3608
* New parameter on ``bzrlib.transport.Transport.readv``
3609
``adjust_for_latency`` which changes readv from returning strictly the
3610
requested data to inserted return larger ranges and in forward read order
3611
to reduce the effect of network latency. (Robert Collins)
3613
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
3614
causes the parents of a selected id to be returned recursively, so all the
3615
paths from the root down to each element of selected_file_ids are
3616
returned. (Robert Collins)
3618
* Knit joining has been enhanced to support plain to annotated conversion
3619
and annotated to plain conversion. (Ian Clatworthy)
3621
* The CommitBuilder method ``record_entry_contents`` now returns summary
3622
information about the effect of the commit on the repository. This tuple
3623
contains an inventory delta item if the entry changed from the basis, and a
3624
boolean indicating whether a new file graph node was recorded.
3627
* The python path used in the Makefile can now be overridden.
3628
(Andrew Bennetts, Ian Clatworthy)
3632
* New transport implementation ``trace+`` which is useful for testing,
3633
logging activity taken to its _activity attribute. (Robert Collins)
3635
* When running bzr commands within the test suite, internal exceptions are
3636
not caught and reported in the usual way, but rather allowed to propagate
3637
up and be visible to the test suite. A new API ``run_bzr_catch_user_errors``
3638
makes this behavior available to other users.
3641
* New method ``TestCase.call_catch_warnings`` for testing methods that
3642
raises a Python warning. (Martin Pool)
3650
* Print a warning instead of aborting the ``python setup.py install``
3651
process if building of a C extension is not possible.
3652
(Lukáš Lalinský, Alexander Belchenko)
3654
* Fix commit ordering in corner case (Aaron Bentley, #94975)
3656
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
3657
an implicit port. We were incorrectly raising PathNotChild due to
3658
inconsistent treatment of the ''_port'' attribute on the Transport object.
3659
(Andrew Bennetts, #133965)
3661
* Make RemoteRepository.sprout cope gracefully with servers that don't
3662
support the ``Repository.tarball`` request.
3666
bzr 0.91rc2 2007-09-11
3667
----------------------
3669
* Replaced incorrect tarball for previous release; a debug statement was left
3670
in bzrlib/remote.py.
3673
bzr 0.91rc1 2007-09-11
3674
----------------------
3678
* The default branch and repository format has changed to
3679
``dirstate-tags``, so tag commands are active by default.
3680
This format is compatible with Bazaar 0.15 and later.
3681
This incidentally fixes bug #126141.
3684
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
3685
must now appear after the command name. Scripts doing things like
3686
``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
3691
* New option ``--author`` in ``bzr commit`` to specify the author of the
3692
change, if it's different from the committer. ``bzr log`` and
3693
``bzr annotate`` display the author instead of the committer.
3696
* In addition to global options and command specific options, a set of
3697
standard options are now supported. Standard options are legal for
3698
all commands. The initial set of standard options are:
3700
* ``--help`` or ``-h`` - display help message
3701
* ``--verbose`` or ``-v`` - display additional information
3702
* ``--quiet`` or ``-q`` - only output warnings and errors.
3704
Unlike global options, standard options can be used in aliases and
3705
may have command-specific help. (Ian Clatworthy)
3707
* Verbosity level processing has now been unified. If ``--verbose``
3708
or ``-v`` is specified on the command line multiple times, the
3709
verbosity level is made positive the first time then increased.
3710
If ``--quiet`` or ``-q`` is specified on the command line
3711
multiple times, the verbosity level is made negative the first
3712
time then decreased. To get the default verbosity level of zero,
3713
either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
3714
Note that most commands currently ignore the magnitude of the
3715
verbosity level but do respect *quiet vs normal vs verbose* when
3716
generating output. (Ian Clatworthy)
3718
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
3719
is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
3721
* New ``Repository.stream_knit_data_for_revisions`` request added to the
3722
network protocol for greatly reduced roundtrips when retrieving a set of
3723
revisions. (Andrew Bennetts)
3727
* ``bzr plugins`` now lists the version number for each plugin in square
3728
brackets after the path. (Robert Collins, #125421)
3730
* Pushing, pulling and branching branches with subtree references was not
3731
copying the subtree weave, preventing the file graph from being accessed
3732
and causing errors in commits in clones. (Robert Collins)
3734
* Suppress warning "integer argument expected, got float" from Paramiko,
3735
which sometimes caused false test failures. (Martin Pool)
3737
* Fix bug in bundle 4 that could cause attempts to write data to wrong
3738
versionedfile. (Aaron Bentley)
3740
* Diffs generated using "diff -p" no longer break the patch parser.
3743
* get_transport treats an empty possible_transports list the same as a non-
3744
empty one. (Aaron Bentley)
3746
* patch verification for merge directives is reactivated, and works with
3747
CRLF and CR files. (Aaron Bentley)
3749
* Accept ..\ as a path in revision specifiers. This fixes for example
3750
"-r branch:..\other-branch" on Windows. (Lukáš Lalinský)
3752
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
3753
(Blake Winton, #129299)
3755
* man page no longer lists hidden options (#131667, Aaron Bentley)
3757
* ``uncommit --help`` now explains the -r option adequately. (Daniel
3760
* Error messages are now better formatted with parameters (such as
3761
filenames) quoted when necessary. This avoids confusion when directory
3762
names ending in a '.' at the end of messages were confused with a
3763
full stop that may or not have been there. (Daniel Watkins, #129791)
3765
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
3767
* If a particular command is an alias, ``help`` will show the alias
3768
instead of claiming there is no help for said alias. (Daniel Watkins,
3771
* TreeTransform-based operations, like pull, merge, revert, and branch,
3772
now roll back if they encounter an error. (Aaron Bentley, #67699)
3774
* ``bzr commit`` now exits cleanly if a character unsupported by the
3775
current encoding is used in the commit message. (Daniel Watkins,
3778
* bzr send uses default values for ranges when only half of an elipsis
3779
is specified ("-r..5" or "-r5.."). (#61685, Aaron Bentley)
3781
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
3782
binary is present. (Martin Albisetti, #107155)
3784
* ``bzr remove`` should remove clean subtrees. Now it will remove (without
3785
needing ``--force``) subtrees that contain no files with text changes or
3786
modified files. With ``--force`` it removes the subtree regardless of
3787
text changes or unknown files. Directories with renames in or out (but
3788
not changed otherwise) will now be removed without needing ``--force``.
3789
Unknown ignored files will be deleted without needing ``--force``.
3790
(Marius Kruger, #111665)
3792
* When two plugins conflict, the source of both the losing and now the
3793
winning definition is shown. (Konstantin Mikhaylov, #5454)
3795
* When committing to a branch, the location being committed to is
3796
displayed. (Daniel Watkins, #52479)
3798
* ``bzr --version`` takes care about encoding of stdout, especially
3799
when output is redirected. (Alexander Belchenko, #131100)
3801
* Prompt for an ftp password if none is provided.
3802
(Vincent Ladeuil, #137044)
3804
* Reuse bound branch associated transport to avoid multiple
3806
(Vincent Ladeuil, #128076, #131396)
3808
* Overwrite conflicting tags by ``push`` and ``pull`` if the
3809
``--overwrite`` option is specified. (Lukáš Lalinský, #93947)
3811
* In checkouts, tags are copied into the master branch when created,
3812
changed or deleted, and are copied into the checkout when it is
3813
updated. (Martin Pool, #93856, #93860)
3815
* Print a warning instead of aborting the ``python setup.py install``
3816
process if building of a C extension is not possible.
3817
(Lukáš Lalinský, Alexander Belchenko)
3821
* Add the option "--show-diff" to the commit command in order to display
3822
the diff during the commit log creation. (Goffredo Baroncelli)
3824
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
3827
* ``pull -v`` no longer includes deltas, making it much faster.
3830
* ``send`` now sends the directive as an attachment by default.
3831
(Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
3833
* Documentation updates (Martin Albisetti)
3835
* Help on debug flags is now included in ``help global-options``.
3836
(Daniel Watkins, #124853)
3838
* Parameters passed on the command line are checked to ensure they are
3839
supported by the encoding in use. (Daniel Watkins)
3841
* The compression used within the bzr repository has changed from zlib
3842
level 9 to the zlib default level. This improves commit performance with
3843
only a small increase in space used (and in some cases a reduction in
3844
space). (Robert Collins)
3846
* Initial commit no longer SHAs files twice and now reuses the path
3847
rather than looking it up again, making it faster.
3850
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
3851
changes in one revision. (Lukáš Lalinský)
3853
* If versioned files match a given ignore pattern, a warning is now
3854
given. (Daniel Watkins, #48623)
3856
* ``bzr status`` now has -S as a short name for --short and -V as a
3857
short name for --versioned. These have been added to assist users
3858
migrating from Subversion: ``bzr status -SV`` is now like
3859
``svn status -q``. (Daniel Watkins, #115990)
3861
* Added C implementation of ``PatienceSequenceMatcher``, which is about
3862
10x faster than the Python version. This speeds up commands that
3863
need file diffing, such as ``bzr commit`` or ``bzr diff``.
3866
* HACKING has been extended with a large section on core developer tasks.
3869
* Add ``branches`` and ``standalone-trees`` as online help topics and
3870
include them as Concepts within the User Reference.
3871
(Paul Moore, Ian Clatworthy)
3873
* ``check`` can detect versionedfile parent references that are
3874
inconsistent with revision and inventory info, and ``reconcile`` can fix
3875
them. These faulty references were generated by 0.8-era releases,
3876
so repositories which were manipulated by old bzrs should be
3877
checked, and possibly reconciled ASAP. (Aaron Bentley, Andrew Bennetts)
3881
* ``Branch.append_revision`` is removed altogether; please use
3882
``Branch.set_last_revision_info`` instead. (Martin Pool)
3884
* CommitBuilder now advertises itself as requiring the root entry to be
3885
supplied. This only affects foreign repository implementations which reuse
3886
CommitBuilder directly and have changed record_entry_contents to require
3887
that the root not be supplied. This should be precisely zero plugins
3888
affected. (Robert Collins)
3890
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
3891
its return value to include the sha1 and length of the inserted text. This
3892
allows the avoidance of double-sha1 calculations during commit.
3895
* ``Transport.should_cache`` has been removed. It was not called in the
3896
previous release. (Martin Pool)
3900
* Tests may now raise TestNotApplicable to indicate they shouldn't be
3901
run in a particular scenario. (Martin Pool)
3903
* New function multiply_tests_from_modules to give a simpler interface
3904
to test parameterization. (Martin Pool, Robert Collins)
3906
* ``Transport.should_cache`` has been removed. It was not called in the
3907
previous release. (Martin Pool)
3909
* NULL_REVISION is returned to indicate the null revision, not None.
3912
* Use UTF-8 encoded StringIO for log tests to avoid failures on
3913
non-ASCII committer names. (Lukáš Lalinský)
3917
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
3918
``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
3919
useful functionality for determining the path of a plugin, its tests, and
3920
its version information. (Robert Collins)
3922
* Add the option user_encoding to the function 'show_diff_trees()'
3923
in order to move the user encoding at the UI level. (Goffredo Baroncelli)
3925
* Add the function make_commit_message_template_encoded() and the function
3926
edit_commit_message_encoded() which handle encoded strings.
3927
This is done in order to mix the commit messages (which is a unicode
3928
string), and the diff which is a raw string. (Goffredo Baroncelli)
3930
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
3931
overhead on non-weave repositories which don't require all parents to be
3932
present. (Robert Collins)
3934
* Deprecated method ``find_previous_heads`` on
3935
``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
3936
of ``parent_candidates`` and a separate heads check via the repository
3937
API. (Robert Collins)
3939
* New trace function ``mutter_callsite`` will print out a subset of the
3940
stack to the log, which can be useful for gathering debug details.
3943
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
3944
added via a public attribute records_written. (Robert Collins)
3946
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
3947
This provides a hint to users of transports as to the reasonable
3948
minimum data to read. In principle this can take latency and
3949
bandwidth into account on a per-connection basis, but for now it
3950
just has hard coded values based on the url. (e.g. http:// has a large
3951
page size, file:// has a small one.) (Robert Collins)
3953
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
3954
incremental addition of data to a file without requiring that all the
3955
data be buffered in memory. (Robert Collins)
3957
* New methods on ``bzrlib.knit.KnitVersionedFile``:
3958
``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
3959
``get_format_signature()``. These provide some infrastructure for
3960
efficiently streaming the knit data for a set of versions over the smart
3963
* Knits with no annotation cache still produce correct annotations.
3966
* Three new methods have been added to ``bzrlib.trace``:
3967
``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
3968
``set_verbosity_level`` expects a numeric value: negative for quiet,
3969
zero for normal, positive for verbose. The size of the number can be
3970
used to determine just how quiet or verbose the application should be.
3971
The existing ``be_quiet`` and ``is_quiet`` routines have been
3972
integrated into this new scheme. (Ian Clatworthy)
3974
* Options can now be delcared with a ``custom_callback`` parameter. If
3975
set, this routine is called after the option is processed. This feature
3976
is now used by the standard options ``verbose`` and ``quiet`` so that
3977
setting one implicitly resets the other. (Ian Clatworthy)
3979
* Rather than declaring a new option from scratch in order to provide
3980
custom help, a centrally registered option can be decorated using the
3981
new ``bzrlib.Option.custom_help`` routine. In particular, this routine
3982
is useful when declaring better help for the ``verbose`` and ``quiet``
3983
standard options as the base definition of these is now more complex
3984
than before thanks to their use of a custom callback. (Ian Clatworthy)
3986
* Tree._iter_changes(specific_file=[]) now iterates through no files,
3987
instead of iterating through all files. None is used to iterate through
3988
all files. (Aaron Bentley)
3990
* WorkingTree.revert() now accepts None to revert all files. The use of
3991
[] to revert all files is deprecated. (Aaron Bentley)
3999
* Documentation is now organized into multiple directories with a level
4000
added for different languages or locales. Added the Mini Tutorial
4001
and Quick Start Summary (en) documents from the Wiki, improving the
4002
content and readability of the former. Formatted NEWS as Release Notes
4003
complete with a Table of Conents, one heading per release. Moved the
4004
Developer Guide into the main document catalog and provided a link
4005
from the developer document catalog back to the main one.
4006
(Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
4011
* The static convenience method ``BzrDir.create_repository``
4012
is deprecated. Callers should instead create a ``BzrDir`` instance
4013
and call ``create_repository`` on that. (Martin Pool)
4016
bzr 0.90rc1 2007-08-14
4017
----------------------
4021
* ``bzr init`` should connect to the remote location one time only. We
4022
have been connecting several times because we forget to pass around the
4023
Transport object. This modifies ``BzrDir.create_branch_convenience``,
4024
so that we can give it the Transport we already have.
4025
(John Arbash Meinel, Vincent Ladeuil, #111702)
4027
* Get rid of sftp connection cache (get rid of the FTP one too).
4028
(Vincent Ladeuil, #43731)
4030
* bzr branch {local|remote} remote don't try to create a working tree
4032
(Vincent Ladeuil, #112173)
4034
* All identified multiple connections for a single bzr command have been
4035
fixed. See bzrlib/tests/commands directory.
4038
* ``bzr rm`` now does not insist on ``--force`` to delete files that
4039
have been renamed but not otherwise modified. (Marius Kruger,
4042
* ``bzr selftest --bench`` no longer emits deprecation warnings
4045
* ``bzr status`` now honours FILE parameters for conflict lists
4046
(Aaron Bentley, #127606)
4048
* ``bzr checkout`` now honours -r when reconstituting a working tree.
4049
It also honours -r 0. (Aaron Bentley, #127708)
4051
* ``bzr add *`` no more fails on Windows if working tree contains
4052
non-ascii file names. (Kuno Meyer, #127361)
4054
* allow ``easy_install bzr`` runs without fatal errors.
4055
(Alexander Belchenko, #125521)
4057
* Graph._filter_candidate_lca does not raise KeyError if a candidate
4058
is eliminated just before it would normally be examined. (Aaron Bentley)
4060
* SMTP connection failures produce a nice message, not a traceback.
4065
* Don't show "dots" progress indicators when run non-interactively, such
4066
as from cron. (Martin Pool)
4068
* ``info`` now formats locations more nicely and lists "submit" and
4069
"public" branches (Aaron Bentley)
4071
* New ``pack`` command that will trigger database compression within
4072
the repository (Robert Collins)
4074
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
4075
version is approximately 2-3x faster at parsing a ``.kndx`` file.
4076
Which yields a measurable improvement for commands which have to
4077
read from the repository, such as a 1s => 0.75s improvement in
4078
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
4080
* Merge is now faster. Depending on the scenario, it can be more than 2x
4081
faster. (Aaron Bentley)
4083
* Give a clearer warning, and allow ``python setup.py install`` to
4084
succeed even if pyrex is not available.
4085
(John Arbash Meinel)
4087
* ``DirState._read_dirblocks`` now has an optional Pyrex
4088
implementation. This improves the speed of any command that has to
4089
read the entire DirState. (``diff``, ``status``, etc, improve by
4091
``bisect_dirblocks`` has also been improved, which helps all
4092
``_get_entry`` type calls (whenever we are searching for a
4093
particular entry in the in-memory DirState).
4094
(John Arbash Meinel)
4096
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
4097
branch revision history for ui display unless -v is supplied.
4100
* ``bzr log -rA..B`` output shifted to the left margin if the log only
4101
contains merge revisions. (Kent Gibson)
4103
* The ``plugins`` command is now public with improved help.
4106
* New bundle and merge directive formats are faster to generate, and
4108
* Annotate merge now works when there are local changes. (Aaron Bentley)
4110
* Commit now only shows the progress in terms of directories instead of
4111
entries. (Ian Clatworthy)
4113
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
4114
times. This makes ``get_revision_graph`` 2x faster. (John Arbash
4117
* Fix ``VersionedFile.get_graph()`` to avoid using
4118
``set.difference_update(other)``, which has bad scaling when
4119
``other`` is large. This improves ``VF.get_graph([version_id])`` for
4120
a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
4122
* The ``--lsprof-file`` option now generates output for KCacheGrind if
4123
the file starts with ``callgrind.out``. This matches the default file
4124
filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
4126
* Fix ``bzr update`` to avoid an unnecessary
4127
``branch.get_master_branch`` call, which avoids 1 extra connection
4128
to the remote server. (Partial fix for #128076, John Arbash Meinel)
4130
* Log errors from the smart server in the trace file, to make debugging
4131
test failures (and live failures!) easier. (Andrew Bennetts)
4133
* The HTML version of the man page has been superceded by a more
4134
comprehensive manual called the Bazaar User Reference. This manual
4135
is completed generated from the online help topics. As part of this
4136
change, limited reStructuredText is now explicitly supported in help
4137
topics and command help with 'unnatural' markup being removed prior
4138
to display by the online help or inclusion in the man page.
4141
* HTML documentation now use files extension ``*.html``
4142
(Alexander Belchenko)
4144
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
4145
so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
4147
* ``bzr selftest --strict`` fails if there are any missing features or
4148
expected test failures. (Daniel Watkins, #111914)
4150
* Link to registration survey added to README. (Ian Clatworthy)
4152
* Windows standalone installer show link to registration survey
4153
when installation finished. (Alexander Belchenko)
4157
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
4158
Options are now required to provide a help string and it must
4159
comply with the style guide by being one or more sentences with an
4160
initial capital and final period. (Martin Pool)
4162
* KnitIndex.get_parents now returns tuples. (Robert Collins)
4164
* Ancient unused ``Repository.text_store`` attribute has been removed.
4167
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
4168
rather than just bytestrings, making it easier to represent multiple
4169
element names. As this interface was not used by any internal facilities
4170
since it was introduced in 0.18 no API compatibility is being preserved.
4171
The serialised form of these packs is identical with 0.18 when a single
4172
element tuple is in use. (Robert Collins)
4176
* merge now uses ``iter_changes`` to calculate changes, which makes room for
4177
future performance increases. It is also more consistent with other
4178
operations that perform comparisons, and reduces reliance on
4179
Tree.inventory. (Aaron Bentley)
4181
* Refactoring of transport classes connected to a remote server.
4182
ConnectedTransport is a new class that serves as a basis for all
4183
transports needing to connect to a remote server. transport.split_url
4184
have been deprecated, use the static method on the object instead. URL
4185
tests have been refactored too.
4188
* Better connection sharing for ConnectedTransport objects.
4189
transport.get_transport() now accepts a 'possible_transports' parameter.
4190
If a newly requested transport can share a connection with one of the
4194
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
4195
the null revision, and consider using ``None`` for this purpose
4196
deprecated. (Aaron Bentley)
4198
* New ``index`` module with abstract index functionality. This will be
4199
used during the planned changes in the repository layer. Currently the
4200
index layer provides a graph aware immutable index, a builder for the
4201
same index type to allow creating them, and finally a composer for
4202
such indices to allow the use of many indices in a single query. The
4203
index performance is not optimised, however the API is stable to allow
4204
development on top of the index. (Robert Collins)
4206
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
4207
their directory sections. This is equivalent to comparing
4208
``path.split('/')``, only without having to split the paths.
4209
This has a Pyrex implementation available.
4210
(John Arbash Meinel)
4212
* New transport decorator 'unlistable+' which disables the list_dir
4213
functionality for testing.
4215
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
4217
* RevisionTree.get_weave is now deprecated. Tree.plan_merge is now used
4218
for performing annotate-merge. (Aaron Bentley)
4220
* New EmailMessage class to create email messages. (Adeodato Simó)
4222
* Unused functions on the private interface KnitIndex have been removed.
4225
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
4226
of a ``index.GraphIndex``. (Robert Collins)
4228
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
4229
the parents of many knit nodes at once, reducing round trips to the
4230
underlying index. (Robert Collins)
4232
* Graph now has an is_ancestor method, various bits use it.
4235
* The ``-Dhpss`` flag now includes timing information. As well as
4236
logging when a new connection is opened. (John Arbash Meinel)
4238
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
4239
callers when inserting data, allowing generation of readv style access
4240
during pack creation, without needing a separate pass across the output
4241
pack to gather such details. (Robert Collins)
4243
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
4244
files that are stored on a transport. (Robert Collins)
4246
* New ``Repository.has_same_location`` method that reports if two
4247
repository objects refer to the same repository (although with some risk
4248
of false negatives). (Andrew Bennetts)
4250
* InterTree.compare now passes require_versioned on correctly.
4253
* New methods on Repository - ``start_write_group``,
4254
``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
4255
which provide a clean hook point for transactional Repositories - ones
4256
where all the data for a fetch or commit needs to be made atomically
4257
available in one step. This allows the write lock to remain while making
4258
a series of data insertions. (e.g. data conversion). (Robert Collins)
4260
* In ``bzrlib.knit`` the internal interface has been altered to use
4261
3-tuples (index, pos, length) rather than two-tuples (pos, length) to
4262
describe where data in a knit is, allowing knits to be split into
4263
many files. (Robert Collins)
4265
* ``bzrlib.knit._KnitData`` split into cache management and physical access
4266
with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
4267
The former provides access into a .pack file, and the latter provides the
4268
current production repository form of .knit files. (Robert Collins)
4272
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
4273
``--keep-output`` options, which are obsolete now that tests
4274
are done within directories in $TMPDIR. (Martin Pool)
4276
* The SSH_AUTH_SOCK environment variable is now reset to avoid
4277
interaction with any running ssh agents. (Jelmer Vernooij, #125955)
4279
* run_bzr_subprocess handles parameters the same way as run_bzr:
4280
either a string or a list of strings should be passed as the first
4281
parameter. Varargs-style parameters are deprecated. (Aaron Bentley)
4285
--------------------
4289
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
4292
bzr 0.18rc1 2007-07-10
4293
-----------------------
4297
* Do not suppress pipe errors, etc. in non-display commands
4298
(Alexander Belchenko, #87178)
4300
* Display a useful error message when the user requests to annotate
4301
a file that is not present in the specified revision.
4302
(James Westby, #122656)
4304
* Commands that use status flags now have a reference to 'help
4305
status-flags'. (Daniel Watkins, #113436)
4307
* Work around python-2.4.1 inhability to correctly parse the
4308
authentication header.
4309
(Vincent Ladeuil, #121889)
4311
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
4313
* Fix tempfile permissions error in smart server tar bundling under
4314
Windows. (Martin _, #119330)
4316
* Fix detection of directory entries in the inventory. (James Westby)
4318
* Fix handling of http code 400: Bad Request When issuing too many ranges.
4319
(Vincent Ladeuil, #115209)
4321
* Issue a CONNECT request when connecting to an https server
4322
via a proxy to enable SSL tunneling.
4323
(Vincent Ladeuil, #120678)
4325
* Fix ``bzr log -r`` to support selecting merge revisions, both
4326
individually and as part of revision ranges.
4327
(Kent Gibson, #4663)
4329
* Don't leave cruft behind when failing to acquire a lockdir.
4330
(Martin Pool, #109169)
4332
* Don't use the '-f' strace option during tests.
4333
(Vincent Ladeuil, #102019).
4335
* Warn when setting ``push_location`` to a value that will be masked by
4336
locations.conf. (Aaron Bentley, #122286)
4338
* Fix commit ordering in corner case (Aaron Bentley, #94975)
4340
* Make annotate behave in a non-ASCII world (Adeodato Simó).
4344
* The --lsprof-file option now dumps a text rendering of the profiling
4345
information if the filename ends in ".txt". It will also convert the
4346
profiling information to a format suitable for KCacheGrind if the
4347
output filename ends in ".callgrind". Fixes to the lsprofcalltree
4348
conversion process by Jean Paul Calderone and Itamar were also merged.
4349
See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
4351
* ``info`` now defaults to non-verbose mode, displaying only paths and
4352
abbreviated format info. ``info -v`` displays all the information
4353
formerly displayed by ``info``. (Aaron Bentley, Adeodato Simó)
4355
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
4358
* The internal ``weave-list`` command has become ``versionedfile-list``,
4359
and now lists knits as well as weaves. (Aaron Bentley)
4361
* Automatic merge base selection uses a faster algorithm that chooses
4362
better bases in criss-cross merge situations (Aaron Bentley)
4364
* Progress reporting in ``commit`` has been improved. The various logical
4365
stages are now reported on as follows, namely:
4367
* Collecting changes [Entry x/y] - Stage n/m
4368
* Saving data locally - Stage n/m
4369
* Uploading data to master branch - Stage n/m
4370
* Updating the working tree - Stage n/m
4371
* Running post commit hooks - Stage n/m
4373
If there is no master branch, the 3rd stage is omitted and the total
4374
number of stages is adjusted accordingly.
4376
Each hook that is run after commit is listed with a name (as hooks
4377
can be slow it is useful feedback).
4378
(Ian Clatworthy, Robert Collins)
4380
* Various operations that are now faster due to avoiding unnecessary
4381
topological sorts. (Aaron Bentley)
4383
* Make merge directives robust against broken bundles. (Aaron Bentley)
4385
* The lsprof filename note is emitted via trace.note(), not standard
4386
output. (Aaron Bentley)
4388
* ``bzrlib`` now exports explicit API compatibility information to assist
4389
library users and plugins. See the ``bzrlib.api`` module for details.
4392
* Remove unnecessary lock probes when acquiring a lockdir.
4395
* ``bzr --version`` now shows the location of the bzr log file, which
4396
is especially useful on Windows. (Martin Pool)
4398
* -D now supports hooks to get debug tracing of hooks (though its currently
4399
minimal in nature). (Robert Collins)
4401
* Long log format reports deltas on merge revisions.
4402
(John Arbash Meinel, Kent Gibson)
4404
* Make initial push over ftp more resilient. (John Arbash Meinel)
4406
* Print a summary of changes for update just like pull does.
4407
(Daniel Watkins, #113990)
4409
* Add a -Dhpss option to trace smart protocol requests and responses.
4414
* Testing cleanups -
4415
``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
4416
to ``bzrlib.tests.repository_implementations``;
4417
``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
4418
to ``bzrlib.tests.interrepository_implementations``;
4419
``bzrlib.transport.TransportTestProviderAdapter`` has moved to
4420
``bzrlib.tests.test_transport_implementations``.
4421
``bzrlib.branch.BranchTestProviderAdapter`` has moved to
4422
``bzrlib.tests.branch_implementations``.
4423
``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
4424
``bzrlib.tests.bzrdir_implementations``.
4425
``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
4426
to ``bzrlib.tests.interversionedfile_implementations``.
4427
``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
4428
``bzrlib.tests.revisionstore_implementations``.
4429
``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
4430
``bzrlib.tests.workingtree_implementations``.
4431
These changes are an API break in the testing infrastructure only.
4434
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
4436
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
4437
win32. Callers of the function should do this and use the new
4438
``MutableTree.smart_add`` method instead. (Robert Collins)
4440
* ``bzrlib.add.glob_expand_for_win32`` is now
4441
``bzrlib.win32utils.glob_expand``. (Robert Collins)
4443
* ``bzrlib.add.FastPath`` is now private and moved to
4444
``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
4446
* ``LockDir.wait`` removed. (Martin Pool)
4448
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
4449
``server_stopped`` hooks. The first parameter is now an iterable of
4450
backing URLs rather than a single URL. This is to reflect that many
4451
URLs may map to the external URL of the server. E.g. the server interally
4452
may have a chrooted URL but also the local file:// URL will be at the
4453
same location. (Robert Collins)
4457
* New SMTPConnection class to unify email handling. (Adeodato Simó)
4459
* Fix documentation of BzrError. (Adeodato Simó)
4461
* Make BzrBadParameter an internal error. (Adeodato Simó)
4463
* Remove use of 'assert False' to raise an exception unconditionally.
4466
* Give a cleaner error when failing to decode knit index entry.
4469
* TreeConfig would mistakenly search the top level when asked for options
4470
from a section. It now respects the section argument and only
4471
searches the specified section. (James Westby)
4473
* Improve ``make api-docs`` output. (John Arbash Meinel)
4475
* Use os.lstat rather than os.stat for osutils.make_readonly and
4476
osutils.make_writeable. This makes the difftools plugin more
4477
robust when dangling symlinks are found. (Elliot Murphy)
4479
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
4480
lockdirs are taken or released. (Martin Pool)
4482
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
4483
allows a nicer UI when hooks are running as the current hook can
4484
be displayed. (Robert Collins)
4486
* ``Transport.get`` has had its interface made more clear for ease of use.
4487
Retrieval of a directory must now fail with either 'PathError' at open
4488
time, or raise 'ReadError' on a read. (Robert Collins)
4490
* New method ``_maybe_expand_globs`` on the ``Command`` class for
4491
dealing with unexpanded glob lists - e.g. on the win32 platform. This
4492
was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
4494
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
4495
deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
4498
* New method ``external_url`` on Transport for obtaining the url to
4499
hand to external processes. (Robert Collins)
4501
* Teach windows installers to build pyrex/C extensions.
4502
(Alexander Belchenko)
4506
* Removed the ``--keep-output`` option from selftest and clean up test
4507
directories as they're used. This reduces the IO load from
4508
running the test suite and cuts the time by about half.
4509
(Andrew Bennetts, Martin Pool)
4511
* Add scenarios as a public attribute on the TestAdapter classes to allow
4512
modification of the generated scenarios before adaption and easier
4513
testing. (Robert Collins)
4515
* New testing support class ``TestScenarioApplier`` which multiplies
4516
out a single teste by a list of supplied scenarios. (RobertCollins)
4518
* Setting ``repository_to_test_repository`` on a repository_implementations
4519
test will cause it to be called during repository creation, allowing the
4520
testing of repository classes which are not based around the Format
4521
concept. For example a repository adapter can be tested in this manner,
4522
by altering the repository scenarios to include a scenario that sets this
4523
attribute during the test parameterisation in
4524
``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
4526
* Clean up many of the APIs for blackbox testing of Bazaar. The standard
4527
interface is now self.run_bzr. The command to run can be passed as
4528
either a list of parameters, a string containing the command line, or
4529
(deprecated) varargs parameters. (Martin Pool)
4531
* The base TestCase now isolates tests from -D parameters by clearing
4532
``debug.debug_flags`` and restores it afterwards. (Robert Collins)
4534
* Add a relpath parameter to get_transport methods in test framework to
4535
avoid useless cloning.
4536
(Vincent Ladeuil, #110448)
4540
--------------------
4544
* Fix crash of commit due to wrong lookup of filesystem encoding.
4545
(Colin Watson, #120647)
4547
* Revert logging just to stderr in commit as broke unicode filenames.
4548
(Aaron Bentley, Ian Clatworthy, #120930)
4551
bzr 0.17rc1 2007-06-12
4552
-----------------------
4554
NOTES WHEN UPGRADING:
4556
* The kind() and is_executable() APIs on the WorkingTree interface no
4557
longer implicitly (read) locks and unlocks the tree. This *might*
4558
impact some plug-ins and tools using this part of the API. If you find
4559
an issue that may be caused by this change, please let us know,
4560
particularly the plug-in/tool maintainer. If encountered, the API
4561
fix is to surround kind() and is_executable() calls with lock_read()
4562
and unlock() like so::
4564
work_tree.lock_read()
4566
kind = work_tree.kind(...)
4571
* Rework of LogFormatter API to provide beginning/end of log hooks and to
4572
encapsulate the details of the revision to be logged in a LogRevision
4574
In long log formats, merge revision ids are only shown when --show-ids
4575
is specified, and are labelled "revision-id:", as per mainline
4576
revisions, instead of "merged:". (Kent Gibson)
4578
* New ``BranchBuilder`` API which allows the construction of particular
4579
histories quickly. Useful for testing and potentially other applications
4580
too. (Robert Collins)
4584
* There are two new help topics, working-trees and repositories that
4585
attempt to explain these concepts. (James Westby, John Arbash Meinel,
4588
* Added ``bzr log --limit`` to report a limited number of revisions.
4589
(Kent Gibson, #3659)
4591
* Revert does not try to preserve file contents that were originally
4592
produced by reverting to a historical revision. (Aaron Bentley)
4594
* ``bzr log --short`` now includes ``[merge]`` for revisions which
4595
have more than one parent. This is a small improvement to help
4596
understanding what changes have occurred
4597
(John Arbash Meinel, #83887)
4599
* TreeTransform avoids many renames when contructing large trees,
4600
improving speed. 3.25x speedups have been observed for construction of
4601
kernel-sized-trees, and checkouts are 1.28x faster. (Aaron Bentley)
4603
* Commit on large trees is now faster. In my environment, a commit of
4604
a small change to the Mozilla tree (55k files) has dropped from
4605
66 seconds to 32 seconds. For a small tree of 600 files, commit of a
4606
small change is 33% faster. (Ian Clatworthy)
4608
* New --create-prefix option to bzr init, like for push. (Daniel Watkins,
4613
* ``bzr push`` should only connect to the remote location one time.
4614
We have been connecting 3 times because we forget to pass around
4615
the Transport object. This adds ``BzrDir.clone_on_transport()``, so
4616
that we can pass in the Transport that we already have.
4617
(John Arbash Meinel, #75721)
4619
* ``DirState.set_state_from_inventory()`` needs to properly order
4620
based on split paths, not just string paths.
4621
(John Arbash Meinel, #115947)
4623
* Let TestUIFactoy encode the password prompt with its own stdout.
4624
(Vincent Ladeuil, #110204)
4626
* pycurl should take use the range header that takes the range hint
4628
(Vincent Ladeuil, #112719)
4630
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
4631
on a missing file. (Aaron Bentley, #118186)
4633
* WorkingTree.remove works correctly with tree references, and when pwd is
4634
not the tree root. (Aaron Bentley)
4636
* Merge no longer fails when a file is renamed in one tree and deleted
4637
in the other. (Aaron Bentley, #110279)
4639
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
4640
and defaults to the last revision (Matthew Fuller, #90048)
4642
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
4643
(Daniel Watkins, #111958)
4645
* ``bzr branch -r revid:foo`` can be used to branch any revision in
4646
your repository. (Previously Branch6 only supported revisions in your
4647
mainline). (John Arbash Meinel, #115343)
4650
--------------------
4654
* Handle when you have 2 directories with similar names, but one has a
4655
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
4656
iterator was using direct comparison and ``'abc/a'`` sorts after
4657
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
4658
(John Arbash Meinel, #111227)
4660
* Handle when someone renames a file on disk without telling bzr.
4661
Previously we would report the first file as missing, but not show
4662
the new unknown file. (John Arbash Meinel, #111288)
4664
* Avoid error when running hooks after pulling into or pushing from
4665
a branch bound to a smartserver branch. (Martin Pool, #111968)
4669
* Move developer documentation to doc/developers/. This reduces clutter in
4670
the root of the source tree and allows HACKING to be split into multiple
4671
files. (Robert Collins, Alexander Belchenko)
4673
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
4674
``DirState.update_entry()``. This optimizes the core logic for ``bzr
4675
diff`` and ``bzr status`` significantly improving the speed of
4676
both. (John Arbash Meinel)
4678
bzr 0.16rc2 2007-04-30
4679
-----------------------
4683
* Handle the case when you delete a file, and then rename another file
4684
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
4685
status`` should show the removed file and an unknown file in its
4686
place. (John Arbash Meinel, #109993)
4688
* Bundles properly read and write revision properties that have an
4689
empty value. And when the value is not ASCII.
4690
(John Arbash Meinel, #109613)
4692
* Fix the bzr commit message to be in text mode.
4693
(Alexander Belchenko, #110901)
4695
* Also handle when you rename a file and create a file where it used
4696
to be. (John Arbash Meinel, #110256)
4698
* ``WorkingTree4._iter_changes`` should not descend into unversioned
4699
directories. (John Arbash Meinel, #110399)
4701
bzr 0.16rc1 2007-04-26
4702
-----------------------
4704
NOTES WHEN UPGRADING:
4706
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
4707
it could be recovered again.
4708
This has been done for consistency with svn and the unix rm command.
4709
The old ``remove`` behaviour has been retained in the new option
4710
``bzr remove --keep``, which will just stop versioning the file,
4712
``bzr remove --force`` have been added which will always delete the
4714
``bzr remove`` is also more verbose.
4715
(Marius Kruger, #82602)
4719
* Merge directives can now be supplied as input to `merge` and `pull`,
4720
like bundles can. (Aaron Bentley)
4722
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
4723
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
4724
to continue. This can be disabled by setting the environment variable
4725
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
4727
* selftest now supports --list-only to list tests instead of running
4728
them. (Ian Clatworthy)
4730
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
4731
tests with names that match that regular expression.
4732
(Ian Clatworthy, #102679)
4734
* selftest now supports --randomize SEED to run tests in a random order.
4735
SEED is typically the value 'now' meaning 'use the current time'.
4736
(Ian Clatworthy, #102686)
4738
* New option ``--fixes`` to commit, which stores bug fixing annotations as
4739
revision properties. Built-in support for Launchpad, Debian, Trac and
4740
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
4742
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
4743
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
4746
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
4749
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
4750
into using local variables instead of going through ``self._var``.
4751
Improves the time to ``merge_sort`` a 10k revision graph by
4752
approximately 40% (~700->400ms). (John Arbash Meinel)
4754
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
4757
* ``bzr help`` now provides cross references to other help topics using
4758
the _see_also facility on command classes. Likewise the bzr_man
4759
documentation, and the bzr.1 man page also include this information.
4762
* Tags are now included in logs, that use the long log formatter.
4763
(Erik Bågfors, Alexander Belchenko)
4765
* ``bzr help`` provides a clearer message when a help topic cannot be
4766
found. (Robert Collins, #107656)
4768
* ``bzr help`` now accepts optional prefixes for command help. The help
4769
for all commands can now be found at ``bzr help commands/COMMANDNAME``
4770
as well as ``bzr help COMMANDNAME`` (which only works for commands
4771
where the name is not the same as a more general help topic).
4774
* ``bzr help PLUGINNAME`` will now return the module docstring from the
4775
plugin PLUGINNAME. (Robert Collins, #50408)
4777
* New help topic ``urlspec`` which lists the availables transports.
4778
(Goffredo Baroncelli)
4780
* doc/server.txt updated to document the default bzr:// port
4781
and also update the blurb about the hpss' current status.
4782
(Robert Collins, #107125).
4784
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
4785
serve out to the local LAN (and anyone in the world that can reach the
4786
machine running ``bzr serve``. (Robert Collins, #98918)
4788
* A new smart server protocol version has been added. It prefixes requests
4789
and responses with an explicit version identifier so that future protocol
4790
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
4792
* The bzr protocol version 2 indicates success or failure in every response
4793
without depending on particular commands encoding that consistently,
4794
allowing future client refactorings to be much more robust about error
4795
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
4797
* The smart protocol over HTTP client has been changed to always post to the
4798
same ``.bzr/smart`` URL under the original location when it can. This allows
4799
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
4800
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
4802
* digest authentication is now supported for proxies and HTTP by the urllib
4803
based http implementation. Tested against Apache 2.0.55 and Squid
4804
2.6.5. Basic and digest authentication are handled coherently for HTTP
4805
and proxy: if the user is provided in the url (bzr command line for HTTP,
4806
proxy environment variables for proxies), the password is prompted for
4807
(only once). If the password is provided, it is taken into account. Once
4808
the first authentication is successful, all further authentication
4809
roundtrips are avoided by preventively setting the right authentication
4815
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
4816
code paths. (Robert Collins)
4818
* Change the format of chroot urls so that they can be safely manipulated
4819
by generic url utilities without causing the resulting urls to have
4820
escaped the chroot. A side effect of this is that creating a chroot
4821
requires an explicit action using a ChrootServer.
4822
(Robert Collins, Andrew Bennetts)
4824
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
4825
rather than fixing bug #96847. (Aaron Bentley)
4827
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
4828
``WorkingTree._write_inventory``. (Aaron Bentley)
4830
* Convenience method ``TestCase.expectFailure`` ensures that known failures
4831
do not silently pass. (Aaron Bentley)
4833
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
4834
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
4836
* New SmartServer hooks facility. There are two initial hooks documented
4837
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
4838
plugins to execute code upon server startup and shutdown.
4841
* SmartServer in standalone mode will now close its listening socket
4842
when it stops, rather than waiting for garbage collection. This primarily
4843
fixes test suite hangs when a test tries to connect to a shutdown server.
4844
It may also help improve behaviour when dealing with a server running
4845
on a specific port (rather than dynamically assigned ports).
4848
* Move most SmartServer code into a new package, bzrlib/smart.
4849
bzrlib/transport/remote.py contains just the Transport classes that used
4850
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
4852
* urllib http implementation avoid roundtrips associated with
4853
401 (and 407) errors once the authentication succeeds.
4856
* urlib http now supports querying the user for a proxy password if
4857
needed. Realm is shown in the prompt for both HTTP and proxy
4858
authentication when the user is required to type a password.
4861
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
4862
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
4863
consistent with its new home in ``bzrlib/transport/remote.py``, and because
4864
it's not really a "smart" transport, just one that does file operations
4865
via remote procedure calls. (Andrew Bennetts)
4867
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
4868
``Branch`` now accept a ``token`` keyword argument, so that separate
4869
instances of those objects can share a lock if it has the right token.
4870
(Andrew Bennetts, Robert Collins)
4872
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
4873
branch references - which the smart server component needs.
4875
* The Repository API ``make_working_trees`` is now permitted to return
4876
False when ``set_make_working_trees`` is not implemented - previously
4877
an unimplemented ``set_make_working_trees`` implied the result True
4878
from ``make_working_trees``. This has been changed to accomodate the
4879
smart server, where it does not make sense (at this point) to ever
4880
make working trees by default. (Robert Collins)
4882
* Command objects can now declare related help topics by having _see_also
4883
set to a list of related topic. (Robert Collins)
4885
* ``bzrlib.help`` now delegates to the Command class for Command specific
4886
help. (Robert Collins)
4888
* New class ``TransportListRegistry``, derived from the Registry class, which
4889
simplifies tracking the available Transports. (Goffredo Baroncelli)
4891
* New function ``Branch.get_revision_id_to_revno_map`` which will
4892
return a dictionary mapping revision ids to dotted revnos. Since
4893
dotted revnos are defined in the context of the branch tip, it makes
4894
sense to generate them from a ``Branch`` object.
4895
(John Arbash Meinel)
4897
* Fix the 'Unprintable error' message display to use the repr of the
4898
exception that prevented printing the error because the str value
4899
for it is often not useful in debugging (e.g. KeyError('foo') has a
4900
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
4901
useful. (Robert Collins)
4903
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
4908
* Don't fail bundle selftest if email has 'two' embedded.
4909
(Ian Clatworthy, #98510)
4911
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
4912
(Robert Widhopf-Fenk, #98591)
4914
* Remove ``--basis`` from the checkout/branch commands - it didn't work
4915
properly and is no longer beneficial.
4916
(Robert Collins, #53675, #43486)
4918
* Don't produce encoding error when adding duplicate files.
4921
* Fix ``bzr log <file>`` so it only logs the revisions that changed
4922
the file, and does it faster.
4923
(Kent Gibson, John Arbash Meinel, #51980, #69477)
4925
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
4926
an empty versioned directory, which now has files in it.
4927
(John Arbash Meinel, #104257)
4929
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
4930
inside the ancestry of the other. Saves a lot of graph processing
4931
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
4932
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
4934
* Fix ``show_diff_trees`` to handle the case when a file is modified,
4935
and the containing directory is renamed. (The file path is different
4936
in this versus base, but it isn't marked as a rename).
4937
(John Arbash Meinel, #103870)
4939
* FTP now works even when the FTP server does not support atomic rename.
4940
(Aaron Bentley, #89436)
4942
* Correct handling in bundles and merge directives of timezones with
4943
that are not an integer number of hours offset from UTC. Always
4944
represent the epoch time in UTC to avoid problems with formatting
4945
earlier times on win32. (Martin Pool, Alexander Belchenko, John
4948
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
4950
* "dirstate" and "dirstate-tags" formats now produce branches compatible
4951
with old versions of bzr. (Aaron Bentley, #107168))
4953
* Handle moving a directory when children have been added, removed,
4954
and renamed. (John Arbash Meinel, #105479)
4956
* Don't preventively use basic authentication for proxy before receiving a
4957
407 error. Otherwise people willing to use other authentication schemes
4958
may expose their password in the clear (or nearly). This add one
4959
roundtrip in case basic authentication should be used, but plug the
4963
* Handle http and proxy digest authentication.
4964
(Vincent Ladeuil, #94034).
4968
* Added ``bzrlib.strace.strace`` which will strace a single callable and
4969
return a StraceResult object which contains just the syscalls involved
4970
in running it. (Robert Collins)
4972
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
4973
default time down to one suitable for tests. (Andrew Bennetts)
4975
* Add new ``vfs_transport_factory`` attribute on tests which provides the
4976
common vfs backing for both the readonly and readwrite transports.
4977
This allows the RemoteObject tests to back onto local disk or memory,
4978
and use the existing ``transport_server`` attribute all tests know about
4979
to be the smart server transport. This in turn allows tests to
4980
differentiate between 'transport to access the branch', and
4981
'transport which is a VFS' - which matters in Remote* tests.
4982
(Robert Collins, Andrew Bennetts)
4984
* The ``make_branch_and_tree`` method for tests will now create a
4985
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
4986
a LocalURLServer. (Robert Collins, Andrew Bennetts)
4988
* Branch implementation tests have been audited to ensure that all urls
4989
passed to Branch APIs use proper urls, except when local-disk paths
4990
are intended. This is so that tests correctly access the test transport
4991
which is often not equivalent to local disk in Remote* tests. As part
4992
of this many tests were adjusted to remove dependencies on local disk
4994
(Robert Collins, Andrew Bennetts)
4996
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
4997
functions by adding a ``__unittest`` global attribute. (Robert Collins,
4998
Andrew Bennetts, Martin Pool, Jonathan Lange)
5000
* Refactored proxy and authentication handling to simplify the
5001
implementation of new auth schemes for both http and proxy.
5009
* Handle incompatible repositories as a user issue when fetching.
5012
* Don't give a recommendation to upgrade when branching or
5013
checking out a branch that contains an old-format working tree.
5016
bzr 0.15rc3 2007-03-26
5017
-----------------------
5021
* A warning is now displayed when opening working trees in older
5022
formats, to encourage people to upgrade to WorkingTreeFormat4.
5027
* HTTP redirections are now taken into account when a branch (or a
5028
bundle) is accessed for the first time. A message is issued at each
5029
redirection to inform the user. In the past, http redirections were
5030
silently followed for each request which significantly degraded the
5031
performances. The http redirections are not followed anymore by
5032
default, instead a RedirectRequested exception is raised. For bzrlib
5033
users needing to follow http redirections anyway,
5034
``bzrlib.transport.do_catching_redirections`` provide an easy transition
5039
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
5040
lock to an OS write lock. Linux can do this without unlocking, Win32
5041
needs to unlock in between. (John Arbash Meinel)
5043
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
5044
to silence (when false) warnings about opening old formats.
5047
* Fix minor performance regression with bzr-0.15 on pre-dirstate
5048
trees. (We were reading the working inventory too many times).
5049
(John Arbash Meinel)
5051
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
5052
``revision_history``. Branch subclasses should override
5053
``_gen_revision_history`` rather than ``revision_history`` to make use of
5054
this cache, and call ``_clear_revision_history_cache`` and
5055
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
5059
* Take ``smtp_server`` from user config into account.
5062
* Restore Unicode filename handling for versioned and unversioned files.
5063
(John Arbash Meinel, #92608)
5065
* Don't fail during ``bzr commit`` if a file is marked removed, and
5066
the containing directory is auto-removed. (John Arbash Meinel, #93681)
5068
* ``bzr status FILENAME`` failed on Windows because of an uncommon
5069
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
5070
(Wouter van Heyst, John Arbash Meinel, #90819)
5072
* ``bzr checkout source`` should create a local branch in the same
5073
format as source. (John Arbash Meinel, #93854)
5075
* ``bzr commit`` with a kind change was failing to update the
5076
last-changed-revision for directories. The
5077
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
5078
ignoring the fact that the kind could have changed, too.
5079
(John Arbash Meinel, #90111)
5081
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
5082
the directory. So that there was a chance it would break commit,
5083
etc. (John Arbash Meinel, #94037)
5085
* Correctly handles mutiple permanent http redirections.
5088
bzr 0.15rc2 2007-03-14
5089
-----------------------
5091
NOTES WHEN UPGRADING:
5093
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
5094
default to ``--trees`` instead of ``--no-trees``.
5095
Existing shared repositories are not affected.
5099
* New ``merge-directive`` command to generate machine- and human-readable
5100
merge requests. (Aaron Bentley)
5102
* New ``submit:`` revision specifier makes it easy to diff against the
5103
common ancestor with the submit location (Aaron Bentley)
5105
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
5107
* Added ``bzr status --versioned`` to report only versioned files,
5108
not unknowns. (Kent Gibson)
5110
* Merge now autodetects the correct line-ending style for its conflict
5111
markers. (Aaron Bentley)
5115
* Refactored SSH vendor registration into SSHVendorManager class.
5120
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
5121
numbered dirs for TestCaseInTempDir. This is default behavior
5122
on Windows. Anyone can force named dirs on Windows
5123
with ``--no-numbered-dirs``. (Alexander Belchenko)
5125
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
5126
from the command line. (Marien Zwart, #90501)
5128
* Fix ``TreeTransform._iter_changes`` when both the source and
5129
destination are missing. (Aaron Bentley, #88842)
5131
* Fix commit of merges with symlinks in dirstate trees.
5134
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
5135
(Wouter van Heyst, #53483)
5138
bzr 0.15rc1 2007-03-07
5139
-----------------------
5143
* The default disk format has changed. Please run 'bzr upgrade' in your
5144
working trees to upgrade. This new default is compatible for network
5145
operations, but not for local operations. That is, if you have two
5146
versions of bzr installed locally, after upgrading you can only use the
5147
bzr 0.15 version. This new default does not enable tags or nested-trees
5148
as they are incompatible with bzr versions before 0.15 over the network.
5150
* For users of bzrlib: Two major changes have been made to the working tree
5151
api in bzrlib. The first is that many methods and attributes, including
5152
the inventory attribute, are no longer valid for use until one of
5153
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
5154
and become invalid again after unlock is called. This has been done
5155
to improve performance and correctness as part of the dirstate
5157
(Robert Collins, John A Meinel, Martin Pool, and others).
5159
* For users of bzrlib: The attribute 'tree.inventory' should be considered
5160
readonly. Previously it was possible to directly alter this attribute, or
5161
its contents, and have the tree notice this. This has been made
5162
unsupported - it may work in some tree formats, but in the newer dirstate
5163
format such actions will have no effect and will be ignored, or even
5164
cause assertions. All operations possible can still be carried out by a
5165
combination of the tree API, and the bzrlib.transform API. (Robert
5166
Collins, John A Meinel, Martin Pool, and others).
5170
* Support for OS Windows 98. Also .bzr.log on any windows system
5171
saved in My Documents folder. (Alexander Belchenko)
5173
* ``bzr mv`` enhanced to support already moved files.
5174
In the past the mv command would have failed if the source file doesn't
5175
exist. In this situation ``bzr mv`` would now detect that the file has
5176
already moved and update the repository accordingly, if the target file
5178
A new option ``--after`` has been added so that if two files already
5179
exist, you could notify Bazaar that you have moved a (versioned) file
5180
and replaced it with another. Thus in this case ``bzr move --after``
5181
will only update the Bazaar identifier.
5182
(Steffen Eichenberg, Marius Kruger)
5184
* ``ls`` now works on treeless branches and remote branches.
5187
* ``bzr help global-options`` describes the global options.
5190
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
5193
* Files are now allowed to change kind (e.g. from file to symlink).
5194
Supported by ``commit``, ``revert`` and ``status``
5197
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
5200
* ``bzr help checkouts`` descibes what checkouts are and some possible
5201
uses of them. (James Westby, Aaron Bentley)
5203
* A new ``-d`` option to push, pull and merge overrides the default
5204
directory. (Martin Pool)
5206
* Branch format 6: smaller, and potentially faster than format 5. Supports
5207
``append_history_only`` mode, where the log view and revnos do not change,
5208
except by being added to. Stores policy settings in
5209
".bzr/branch/branch.conf".
5211
* ``append_only`` branches: Format 6 branches may be configured so that log
5212
view and revnos are always consistent. Either create the branch using
5213
"bzr init --append-revisions-only" or edit the config file as descriped
5214
in docs/configuration.txt.
5216
* rebind: Format 6 branches retain the last-used bind location, so if you
5217
"bzr unbind", you can "bzr bind" to bind to the previously-selected
5220
* Builtin tags support, created and deleted by the ``tag`` command and
5221
stored in the branch. Tags can be accessed with the revisionspec
5222
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
5223
at present. Tags require a network incompatible upgrade. To perform this
5224
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
5225
repositories. (Martin Pool)
5227
* The ``bzr://`` transport now has a well-known port number, 4155,
5228
which it will use by default. (Andrew Bennetts, Martin Pool)
5230
* Bazaar now looks for user-installed plugins before looking for site-wide
5231
plugins. (Jonathan Lange)
5233
* ``bzr resolve`` now detects and marks resolved text conflicts.
5238
* Internally revision ids and file ids are now passed around as utf-8
5239
bytestrings, rather than treating them as Unicode strings. This has
5240
performance benefits for Knits, since we no longer need to decode the
5241
revision id for each line of content, nor for each entry in the index.
5242
This will also help with the future dirstate format.
5243
(John Arbash Meinel)
5245
* Reserved ids (any revision-id ending in a colon) are rejected by
5246
versionedfiles, repositories, branches, and working trees
5249
* Minor performance improvement by not creating a ProgressBar for
5250
every KnitIndex we create. (about 90ms for a bzr.dev tree)
5251
(John Arbash Meinel)
5253
* New easier to use Branch hooks facility. There are five initial hooks,
5254
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
5255
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
5256
``'post_uncommit'``. These hooks fire after the matching operation
5257
on a branch has taken place, and were originally added for the
5258
branchrss plugin. (Robert Collins)
5260
* New method ``Branch.push()`` which should be used when pushing from a
5261
branch as it makes performance and policy decisions to match the UI
5262
level command ``push``. (Robert Collins).
5264
* Add a new method ``Tree.revision_tree`` which allows access to cached
5265
trees for arbitrary revisions. This allows the in development dirstate
5266
tree format to provide access to the callers to cached copies of
5267
inventory data which are cheaper to access than inventories from the
5269
(Robert Collins, Martin Pool)
5271
* New ``Branch.last_revision_info`` method, this is being done to allow
5272
optimization of requests for both the number of revisions and the last
5273
revision of a branch with smartservers and potentially future branch
5274
formats. (Wouter van Heyst, Robert Collins)
5276
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
5277
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
5278
other for code reuse without requiring users to perform file-renaming
5279
gymnastics. (Robert Collins)
5281
* New Repository method ``'gather_stats'`` for statistic data collection.
5282
This is expected to grow to cover a number of related uses mainly
5283
related to bzr info. (Robert Collins)
5285
* Log formatters are now managed with a registry.
5286
``log.register_formatter`` continues to work, but callers accessing
5287
the FORMATTERS dictionary directly will not.
5289
* Allow a start message to be passed to the ``edit_commit_message``
5290
function. This will be placed in the message offered to the user
5291
for editing above the separator. It allows a template commit message
5292
to be used more easily. (James Westby)
5294
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
5295
you pass a Unicode string rather than an 8-bit string. Callers need
5296
to be updated to encode first. (John Arbash Meinel)
5298
* Branch.push, pull, merge now return Result objects with information
5299
about what happened, rather than a scattering of various methods. These
5300
are also passed to the post hooks. (Martin Pool)
5302
* File formats and architecture is in place for managing a forest of trees
5303
in bzr, and splitting up existing trees into smaller subtrees, and
5304
finally joining trees to make a larger tree. This is the first iteration
5305
of this support, and the user-facing aspects still require substantial
5306
work. If you wish to experiment with it, use ``bzr upgrade
5307
--dirstate-with-subtree`` in your working trees and repositories.
5308
You can use the hidden commands ``split`` and ``join`` and to create
5309
and manipulate nested trees, but please consider using the nested-trees
5310
branch, which contains substantial UI improvements, instead.
5311
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
5312
(Aaron Bentley, Martin Pool, Robert Collins).
5316
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
5317
branch, rather than the last changed revision of the file.
5318
(John Arbash Meinel, #82158)
5320
* Lock operations no longer hang if they encounter a permission problem.
5323
* ``bzr push`` can resume a push that was canceled before it finished.
5324
Also, it can push even if the target directory exists if you supply
5325
the ``--use-existing-dir`` flag.
5326
(John Arbash Meinel, #30576, #45504)
5328
* Fix http proxy authentication when user and an optional
5329
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
5332
* ``bzr log branch/file`` works for local treeless branches
5333
(Aaron Bentley, #84247)
5335
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
5337
* Searching location of CA bundle for PyCurl in env variable
5338
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
5339
(Alexander Belchenko, #82086)
5341
* ``bzr init`` works with unicode argument LOCATION.
5342
(Alexander Belchenko, #85599)
5344
* Raise ``DependencyNotPresent`` if pycurl do not support https.
5345
(Vincent Ladeuil, #85305)
5347
* Invalid proxy env variables should not cause a traceback.
5348
(Vincent Ladeuil, #87765)
5350
* Ignore patterns normalised to use '/' path separator.
5351
(Kent Gibson, #86451)
5353
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
5355
* Fix bzrtools shelve command for removed lines beginning with "--"
5356
(Johan Dahlberg, #75577)
5360
* New ``--first`` option to ``bzr selftest`` to run specified tests
5361
before the rest of the suite. (Martin Pool)
5365
--------------------
5369
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
5373
* Skip documentation generation tests if the tools to do so are not
5374
available. Fixes running selftest for installled copies of bzr.
5375
(John Arbash Meinel, #80330)
5377
* Fix the code that discovers whether bzr is being run from it's
5378
working tree to handle the case when it isn't but the directory
5379
it is in is below a repository. (James Westby, #77306)
5382
bzr 0.14rc1 2007-01-16
5383
-----------------------
5387
* New connection: ``bzr+http://`` which supports tunnelling the smart
5388
protocol over an HTTP connection. If writing is enabled on the bzr
5389
server, then you can write over the http connection.
5390
(Andrew Bennetts, John Arbash Meinel)
5392
* Aliases now support quotation marks, so they can contain whitespace
5395
* PyCurlTransport now use a single curl object. By specifying explicitly
5396
the 'Range' header, we avoid the need to use two different curl objects
5397
(and two connections to the same server). (Vincent Ladeuil)
5399
* ``bzr commit`` does not prompt for a message until it is very likely to
5400
succeed. (Aaron Bentley)
5402
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
5405
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
5406
of a list while checking if a revision id was requested. Takes 10s
5407
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
5408
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
5409
filtering lines with a regex rather than multiple ``str.find()``
5410
calls. (saves another 300ms) (John Arbash Meinel)
5412
* Policy can be set for each configuration key. This allows keys to be
5413
inherited properly across configuration entries. For example, this
5414
should enable you to do::
5416
[/home/user/project]
5417
push_location = sftp://host/srv/project/
5418
push_location:policy = appendpath
5420
And then a branch like ``/home/user/project/mybranch`` should get an
5421
automatic push location of ``sftp://host/srv/project/mybranch``.
5424
* Added ``bzr status --short`` to make status report svn style flags
5425
for each file. For example::
5427
$ bzr status --short
5433
* 'bzr selftest --clean-output' allows easily clean temporary tests
5434
directories without running tests. (Alexander Belchenko)
5436
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
5438
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
5439
local is fully merged into remote. (Jan Hudec)
5441
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
5445
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
5446
help speed up processing, as well allowing to extract unannotated
5447
lines. Between the two ``fileids_affected_by_revision_ids`` is
5448
improved by approx 10%. (John Arbash Meinel)
5450
* Change Revision serialization to only write out millisecond
5451
resolution. Rather than expecting floating point serialization to
5452
preserve more resolution than we need. (Henri Weichers, Martin Pool)
5454
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
5456
* When ``encoding_type`` attribute of class Command is equal to 'exact',
5457
force sys.stdout to be a binary stream on Windows, and therefore
5458
keep exact line-endings (without LF -> CRLF conversion).
5459
(Alexander Belchenko)
5461
* Single-letter short options are no longer globally declared. (Martin
5464
* Before using detected user/terminal encoding bzr should check
5465
that Python has corresponding codec. (Alexander Belchenko)
5467
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
5471
* ``bzr missing --verbose`` was showing adds/removals in the wrong
5472
direction. (John Arbash Meinel)
5474
* ``bzr annotate`` now defaults to showing dotted revnos for merged
5475
revisions. It cuts them off at a depth of 12 characters, but you can
5476
supply ``--long`` to see the full number. You can also use
5477
``--show-ids`` to display the original revision ids, rather than
5478
revision numbers and committer names. (John Arbash Meinel, #75637)
5480
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
5481
(Alexander Belchenko, #57869)
5483
* Win32-specific: output of cat, bundle and diff commands don't mangle
5484
line-endings (Alexander Belchenko, #55276)
5486
* Replace broken fnmatch based ignore pattern matching with custom pattern
5488
(Kent Gibson, Jan Hudec #57637)
5490
* pycurl and urllib can detect short reads at different places. Update
5491
the test suite to test more cases. Also detect http error code 416
5492
which was raised for that specific bug. Also enhance the urllib
5493
robustness by detecting invalid ranges (and pycurl's one by detecting
5494
short reads during the initial GET). (Vincent Ladeuil, #73948)
5496
* The urllib connection sharing interacts badly with urllib2
5497
proxy setting (the connections didn't go thru the proxy
5498
anymore). Defining a proper ProxyHandler solves the
5499
problem. (Vincent Ladeuil, #74759)
5501
* Use urlutils to generate relative URLs, not osutils
5502
(Aaron Bentley, #76229)
5504
* ``bzr status`` in a readonly directory should work without giving
5505
lots of errors. (John Arbash Meinel, #76299)
5507
* Mention the revisionspec topic for the revision option help.
5508
(Wouter van Heyst, #31663)
5510
* Allow plugins import from zip archives.
5511
(Alexander Belchenko, #68124)
5515
--------------------
5517
No changes from 0.13rc1
5519
bzr 0.13rc1 2006-11-27
5520
-----------------------
5524
* New command ``bzr remove-tree`` allows the removal of the working
5526
(Daniel Silverstone)
5528
* urllib uses shared keep-alive connections, so http
5529
operations are substantially faster.
5530
(Vincent Ladeuil, #53654)
5532
* ``bzr export`` allows an optional branch parameter, to export a bzr
5533
tree from some other url. For example:
5534
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
5535
(Daniel Silverstone)
5537
* Added ``bzr help topics`` to the bzr help system. This gives a
5538
location for general information, outside of a specific command.
5539
This includes updates for ``bzr help revisionspec`` the first topic
5540
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
5542
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
5545
* Knit files will now cache full texts only when the size of the
5546
deltas is as large as the size of the fulltext. (Or after 200
5547
deltas, whichever comes first). This has the most benefit on large
5548
files with small changes, such as the inventory for a large project.
5549
(eg For a project with 2500 files, and 7500 revisions, it changes
5550
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
5554
* New -D option given before the command line turns on debugging output
5555
for particular areas. -Derror shows tracebacks on all errors.
5558
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
5559
and remove benchmarks that take longer than 10min to run.
5560
(John Arbash Meinel)
5562
* Use ``time.time()`` instead of ``time.clock()`` to decide on
5563
progress throttling. Because ``time.clock()`` is actually CPU time,
5564
so over a high-latency connection, too many updates get throttled.
5565
(John Arbash Meinel)
5567
* ``MemoryTransport.list_dir()`` would strip the first character for
5568
files or directories in root directory. (John Arbash Meinel)
5570
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
5571
branch references - which the smart server component needs.
5573
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
5574
prefix. It disallows any access to locations above a set URL. (Andrew
5579
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
5580
And optimize the knit index parsing code.
5581
(Dmitry Vasiliev, John Arbash Meinel)
5583
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
5584
without importing it. This prevented ``bzr upgrade`` from working
5585
unless a plugin already imported ``bzrlib.workingtree``
5586
(John Arbash Meinel, #70716)
5588
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
5590
* Give nicer error message when an http server returns a 403
5591
error code. (Vincent Ladeuil, #57644).
5593
* When a multi-range http GET request fails, try a single
5594
range one. If it fails too, forget about ranges. Remember that until
5595
the death of the transport and propagates that to the clones.
5596
(Vincent Ladeuil, #62276, #62029).
5598
* Handles user/passwords supplied in url from command
5599
line (for the urllib implementation). Don't request already
5600
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
5602
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
5603
are added. This fixes bug where fetching remote revisions records
5604
them as full references rather than integers.
5605
(John Arbash Meinel, #64789)
5607
* ``bzr ignore`` strips trailing slashes in patterns.
5608
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
5610
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
5612
* mv correctly handles paths that traverse symlinks.
5613
(Aaron Bentley, #66964)
5615
* Give nicer looking error messages when failing to connect over ssh.
5616
(John Arbash Meinel, #49172)
5618
* Pushing to a remote branch does not currently update the remote working
5619
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
5620
machine now show that the working tree is out of date.
5621
(Cheuksan Edward Wang #48136)
5623
* Use patiencediff instead of difflib for determining deltas to insert
5624
into knits. This avoids the O(N^3) behavior of difflib. Patience
5625
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
5627
* Running ``bzr log`` on nonexistent file gives an error instead of the
5628
entire log history. (Cheuksan Edward Wang #50793)
5630
* ``bzr cat`` can look up contents of removed or renamed files. If the
5631
pathname is ambiguous, i.e. the files in the old and new trees have
5632
different id's, the default is the file in the new tree. The user can
5633
use "--name-from-revision" to select the file in the old tree.
5634
(Cheuksan Edward Wang, #30190)
5638
* TestingHTTPRequestHandler really handles the Range header
5639
(previously it was ignoring it and returning the whole file,).
5642
--------------------
5646
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
5647
and remove benchmarks that take longer than 10min to run.
5648
(John Arbash Meinel)
5650
bzr 0.12rc1 2006-10-23
5651
-----------------------
5655
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
5656
rather than just showing a decimal revision number for revisions on the
5657
mainline. These revision numbers are not yet accepted as input into bzr
5658
commands such as log, diff etc. (Robert Collins)
5660
* revisions can now be specified using dotted-decimal revision numbers.
5661
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
5663
* ``bzr help commands`` output is now shorter (Aaron Bentley)
5665
* ``bzr`` now uses lazy importing to reduce the startup time. This has
5666
a moderate effect on lots of actions, especially ones that have
5667
little to do. For example ``bzr rocks`` time is down to 116ms from
5668
283ms. (John Arbash Meinel)
5670
* New Registry class to provide name-to-object registry-like support,
5671
for example for schemes where plugins can register new classes to
5672
do certain tasks (e.g. log formatters). Also provides lazy registration
5673
to allow modules to be loaded on request.
5674
(John Arbash Meinel, Adeodato Simó)
5676
API INCOMPATABILITY:
5678
* LogFormatter subclasses show now expect the 'revno' parameter to
5679
show() to be a string rather than an int. (Robert Collins)
5683
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
5684
can take a ``working_dir='foo'`` parameter, which will change directory
5685
for the command. (John Arbash Meinel)
5687
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
5688
around a regex, which defers compilation until first use.
5689
(John Arbash Meinel)
5691
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
5692
``--no-plugins`` parameter to ensure test reproducability, and avoid
5693
problems with system-wide installed plugins. (John Arbash Meinel)
5695
* Unique tree root ids are now supported. Newly created trees still
5696
use the common root id for compatibility with bzr versions before 0.12.
5699
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
5700
pass in ``inventory.ROOT_ID`` if you want the default root id value.
5701
(Robert Collins, John Arbash Meinel)
5703
* New method ``WorkingTree.flush()`` which will write the current memory
5704
inventory out to disk. At the same time, ``read_working_inventory`` will
5705
no longer trash the current tree inventory if it has been modified within
5706
the current lock, and the tree will now ``flush()`` automatically on
5707
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
5708
advantage of this functionality. (Robert Collins, John Arbash Meinel)
5710
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
5711
parameter will cause it to add another column to its output, which
5712
contains the dotted-decimal revno for each revision, as a tuple.
5715
* ``LogFormatter.show_merge`` is deprecated in favour of
5716
``LogFormatter.show_merge_revno``. (Robert Collins)
5720
* Avoid circular imports by creating a deprecated function for
5721
``bzrlib.tree.RevisionTree``. Callers should have been using
5722
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
5725
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
5726
platforms. (Martin Pool, #66356)
5728
* Don't require ``Content-Type`` in range responses. Assume they are a
5729
single range if ``Content-Type`` does not exist.
5730
(John Arbash Meinel, #62473)
5732
* bzr branch/pull no longer complain about progress bar cleanup when
5733
interrupted during fetch. (Aaron Bentley, #54000)
5735
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
5736
the basis inventory, rather than going through the repository. This
5737
allows us to have 1 inventory read, and 2 inventory writes when
5738
committing a new tree. (John Arbash Meinel)
5740
* When reverting, files that are not locally modified that do not exist
5741
in the target are deleted, not just unversioned (Aaron Bentley)
5743
* When trying to acquire a lock, don't fail immediately. Instead, try
5744
a few times (up to 1 hour) before timing out. Also, report why the
5745
lock is unavailable (John Arbash Meinel, #43521, #49556)
5747
* Leave HttpTransportBase daughter classes decides how they
5748
implement cloning. (Vincent Ladeuil, #61606)
5750
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
5752
* If a commit fails, the commit message is stored in a file at the root of
5753
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
5758
* New test base class TestCaseWithMemoryTransport offers memory-only
5759
testing facilities: its not suitable for tests that need to mutate disk
5760
state, but most tests should not need that and should be converted to
5761
TestCaseWithMemoryTransport. (Robert Collins)
5763
* ``TestCase.make_branch_and_memory_tree`` now takes a format
5764
option to set the BzrDir, Repository and Branch formats of the
5765
created objects. (Robert Collins, John Arbash Meinel)
5768
--------------------
5770
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
5772
bzr 0.11rc2 2006-09-27
5773
-----------------------
5777
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
5779
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
5782
bzr 0.11rc1 2006-09-25
5783
-----------------------
5787
* Knit files now wait to create their contents until the first data is
5788
added. The old code used to create an empty .knit and a .kndx with just
5789
the header. However, this caused a lot of extra round trips over sftp.
5790
This can change the time for ``bzr push`` to create a new remote branch
5791
from 160s down to 100s. This also affects ``bzr commit`` performance when
5792
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
5793
down to 40s (John Arbash Meinel, #44692)
5795
* When an entire subtree has been deleted, commit will now report that
5796
just the top of the subtree has been deleted, rather than reporting
5797
all the individual items. (Robert Collins)
5799
* Commit performs one less XML parse. (Robert Collins)
5801
* ``bzr checkout`` now operates on readonly branches as well
5802
as readwrite branches. This fixes bug #39542. (Robert Collins)
5804
* ``bzr bind`` no longer synchronises history with the master branch.
5805
Binding should be followed by an update or push to synchronise the
5806
two branches. This is closely related to the fix for bug #39542.
5809
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
5810
objects. This allows all imports to stay at the global scope, but
5811
modules will not actually be imported if they are not used.
5812
(John Arbash Meinel)
5814
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
5815
transport which will be used with the upcoming high-performance smart
5816
server. The new command ``bzr serve`` will invoke bzr in server mode,
5817
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
5820
* New command ``bzr version-info`` which can be used to get a summary
5821
of the current state of the tree. This is especially useful as part
5822
of a build commands. See ``doc/version_info.txt`` for more information
5823
(John Arbash Meinel)
5827
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
5828
specific set of files. (John Arbash Meinel, #3631)
5830
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
5832
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
5833
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
5834
reading a nested Stanza. (John Arbash Meinel)
5836
* Transform._set_mode() needs to stat the right file.
5837
(John Arbash Meinel, #56549)
5839
* Raise WeaveFormatError rather than StopIteration when trying to read
5840
an empty Weave file. (John Arbash Meinel, #46871)
5842
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
5843
(Vincent Ladeuil, #59835)
5845
* Handle boundary="" lines properly to allow access through a Squid proxy.
5846
(John Arbash Meinel, #57723)
5848
* revert now removes newly-added directories (Aaron Bentley, #54172)
5850
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
5851
isn't a working tree. (David Allouche, #40679)
5853
* Give nicer error messages when a user supplies an invalid --revision
5854
parameter. (John Arbash Meinel, #55420)
5856
* Handle when LANG is not recognized by python. Emit a warning, but
5857
just revert to using 'ascii'. (John Arbash Meinel, #35392)
5859
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
5860
(John Arbash Meinel)
5862
* Skip specific tests when the dependencies aren't met. This includes
5863
some ``setup.py`` tests when ``python-dev`` is not available, and
5864
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
5866
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
5867
the system. (Andrew Bennetts, John Arbash Meinel)
5869
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
5870
other branch, and will not push or pull between the two branches.
5871
API users will need to perform a push or pull or update operation if they
5872
require branch synchronisation to take place. (Robert Collins, #47344)
5874
* When creating a tarball or zipfile export, export unicode names as utf-8
5875
paths. This may not work perfectly on all platforms, but has the best
5876
chance of working in the common case. (John Arbash Meinel, #56816)
5878
* When committing, only files that exist in working tree or basis tree
5879
may be specified (Aaron Bentley, #50793)
5883
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
5887
* TestCaseInTempDir now creates a separate directory for HOME, rather
5888
than having HOME set to the same location as the working directory.
5889
(John Arbash Meinel)
5891
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
5892
which will update os.environ inside the spawned child. It also can
5893
take a ``universal_newlines=True``, which helps when checking the output
5894
of the command. (John Arbash Meinel)
5896
* Refactor SFTP vendors to allow easier re-use when ssh is used.
5899
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
5900
return urlescaped paths. This is now tested (there were bugs in a few
5901
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
5903
* New utility function ``symbol_versioning.deprecation_string``. Returns the
5904
formatted string for a callable, deprecation format pair. (Robert Collins)
5906
* New TestCase helper applyDeprecated. This allows you to call a callable
5907
which is deprecated without it spewing to the screen, just by supplying
5908
the deprecation format string issued for it. (Robert Collins)
5910
* Transport.append and Transport.put have been deprecated in favor of
5911
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
5912
``.put_file``. This removes the ambiguity in what type of object the
5913
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
5914
been added. Which works similarly to ``Transport.append()`` except for
5915
SFTP, it doesn't have a round trip when opening the file. Also, it
5916
provides functionality for creating a parent directory when trying
5917
to create a file, rather than raise NoSuchFile and forcing the
5918
caller to repeat their request.
5919
(John Arbash Meinel)
5921
* WorkingTree has a new api ``unversion`` which allow the unversioning of
5922
entries by their file id. (Robert Collins)
5924
* ``WorkingTree.pending_merges`` is deprecated. Please use the
5925
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
5927
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
5928
read rather than write. This is appropriate for actions which only need
5929
the branch data for reference rather than mutation. A new decorator
5930
``needs_tree_write_lock`` is provided in the workingtree module. Like the
5931
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
5932
declaration of the locking requirements of a function to ensure that
5933
a lock is taken out for casual scripts. (Robert Collins, #54107)
5935
* All WorkingTree methods which write to the tree, but not to the branch
5936
have been converted to use ``needs_tree_write_lock`` rather than
5937
``needs_write_lock``. Also converted is the revert, conflicts and tree
5938
transform modules. This provides a modest performance improvement on
5939
metadir style trees, due to the reduce lock-acquisition, and a more
5940
significant performance improvement on lightweight checkouts from
5941
remote branches, where trivial operations used to pay a significant
5942
penalty. It also provides the basis for allowing readonly checkouts.
5945
* Special case importing the standard library 'copy' module. This shaves
5946
off 40ms of startup time, while retaining compatibility. See:
5947
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
5949
* WorkingTree has a new parent class MutableTree which represents the
5950
specialisations of Tree which are able to be altered. (Robert Collins)
5952
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
5953
mutate the tree and its contents. (Robert Collins)
5955
* Transport behaviour at the root of the URL is now defined and tested.
5956
(Andrew Bennetts, Robert Collins)
5960
* New test helper classs MemoryTree. This is typically accessed via
5961
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
5963
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
5964
code to continue running concurrently with a subprocess of bzr.
5965
(Andrew Bennetts, Robert Collins)
5967
* Add a new method ``Transport.get_smart_client()``. This is provided to
5968
allow upgrades to a richer interface than the VFS one provided by
5969
Transport. (Andrew Bennetts, Martin Pool)
5972
--------------------
5975
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
5976
tree. (Aaron Bentley)
5978
* 'bzr add --file-ids-from' can be used to specify another path to use
5979
for creating file ids, rather than generating all new ones. Internally,
5980
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
5981
will be used, rather than having bzrlib generate new ones.
5982
(John Arbash Meinel, #55781)
5984
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
5985
This will cache some of the intermediate trees, and decrease the
5986
setup time for benchmark tests. (John Arbash Meinel)
5988
* Inverse forms are provided for all boolean options. For example,
5989
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
5991
* Serialize out Inventories directly, rather than using ElementTree.
5992
Writing out a kernel sized inventory drops from 2s down to ~350ms.
5993
(Robert Collins, John Arbash Meinel)
5997
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
5999
* Change LockDir so that if the lock directory doesn't exist when
6000
``lock_write()`` is called, an attempt will be made to create it.
6001
(John Arbash Meinel, #56974)
6003
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
6005
* Active FTP transport now works as intended. (ghozzy, #56472)
6007
* Really fix mutter() so that it won't ever raise a UnicodeError.
6008
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
6009
But it is a debugging log, not a real user file.
6010
(John Arbash Meinel, #56947, #53880)
6012
* Change Command handle to allow Unicode command and options.
6013
At present we cannot register Unicode command names, so we will get
6014
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
6015
But that is better than a UnicodeError + a traceback.
6016
(John Arbash Meinel, #57123)
6018
* Handle TZ=UTC properly when reading/writing revisions.
6019
(John Arbash Meinel, #55783, #56290)
6021
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
6022
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
6024
* External diff does the right thing for binaries even in foreign
6025
languages. (John Arbash Meinel, #56307)
6027
* Testament handles more cases when content is unicode. Specific bug was
6028
in handling of revision properties.
6029
(John Arbash Meinel, Holger Krekel, #54723)
6031
* The bzr selftest was failing on installed versions due to a bug in a new
6032
test helper. (John Arbash Meinel, Robert Collins, #58057)
6036
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
6037
which can be used to cache the conversion between utf8 and Unicode.
6038
Especially helpful for some of the knit annotation code, which has to
6039
convert revision ids to utf8 to annotate lines in storage.
6040
(John Arbash Meinel)
6042
* ``setup.py`` now searches the filesystem to find all packages which
6043
need to be installed. This should help make the life of packagers
6044
easier. (John Arbash Meinel)
6046
bzr 0.9.0 2006-08-11
6047
---------------------
6051
* The hard-coded built-in ignore rules have been removed. There are
6052
now two rulesets which are enforced. A user global one in
6053
``~/.bazaar/ignore`` which will apply to every tree, and the tree
6054
specific one '.bzrignore'.
6055
``~/.bazaar/ignore`` will be created if it does not exist, but with
6056
a more conservative list than the old default.
6057
This fixes bugs with default rules being enforced no matter what.
6058
The old list of ignore rules from bzr is available by
6059
running 'bzr ignore --old-default-rules'.
6060
(Robert Collins, Martin Pool, John Arbash Meinel)
6062
* 'branches.conf' has been changed to 'locations.conf', since it can apply
6063
to more locations than just branch locations.
6068
* The revision specifier "revno:" is extended to accept the syntax
6069
revno:N:branch. For example,
6070
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
6071
bzr.dev. (Matthieu Moy)
5
6073
* Tests updates to ensure proper URL handling, UNICODE support, and
6
proper printing when the user's terminal encoding cannot display
6074
proper printing when the user's terminal encoding cannot display
7
6075
the path of a file that has been versioned.
8
6076
``bzr branch`` can take a target URL rather than only a local directory.
9
Branch.get_parent()/set_parent() now save a relative path if possible,
6077
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
10
6078
and normalize the parent based on root, allowing access across
11
6079
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
12
6080
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
15
6083
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
16
6084
Use terminal width for single-line logs from ``bzr log --line`` and