5
* ``bzr init`` should connect to the remote location one time only. We
6
have been connecting several times because we forget to pass around the
7
Transport object. This modifies ``BzrDir.create_branch_convenience``,
8
so that we can give it the Transport we already have.
9
(John Arbash Meinel, Vincent Ladeuil, #111702)
11
* Get rid of sftp connection cache (get rid of the FTP one too).
12
(Vincent Ladeuil, #43731)
14
* bzr branch {local|remote} remote don't try to create a working tree
16
(Vincent Ladeuil, #112173)
18
* All identified multiple connections for a single bzr command have been
19
fixed. See bzrlib/tests/commands directory.
22
* ``bzr rm`` now does not insist on ``--force`` to delete files that
23
have been renamed but not otherwise modified. (Marius Kruger,
26
* ``bzr selftest --bench`` no longer emits deprecation warnings
29
* ``bzr status`` now honours FILE parameters for conflict lists
30
(Aaron Bentley, #127606)
32
* ``bzr checkout`` now honours -r when reconstituting a working tree.
33
It also honours -r 0. (Aaron Bentley, #127708)
35
* ``bzr add *`` no more fails on Windows if working tree contains
36
non-ascii file names. (Kuno Meyer, #127361)
40
* Don't show "dots" progress indicators when run non-interactively, such
41
as from cron. (Martin Pool)
43
* ``info`` now formats locations more nicely and lists "submit" and
44
"public" branches (Aaron Bentley)
46
* New ``pack`` command that will trigger database compression within
47
the repository (Robert Collins)
49
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
50
version is approximately 2-3x faster at parsing a ``.kndx`` file.
51
Which yields a measurable improvement for commands which have to
52
read from the repository, such as a 1s => 0.75s improvement in
53
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
55
* Merge is now faster. Depending on the scenario, it can be more than 2x
56
faster. (Aaron Bentley)
58
* Give a clearer warning, and allow ``python setup.py install`` to
59
succeed even if pyrex is not available.
62
* ``DirState._read_dirblocks`` now has an optional Pyrex
63
implementation. This improves the speed of any command that has to
64
read the entire DirState. (``diff``, ``status``, etc, improve by
66
``bisect_dirblocks`` has also been improved, which helps all
67
``_get_entry`` type calls (whenever we are searching for a
68
particular entry in the in-memory DirState).
71
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
72
branch revision history for ui display unless -v is supplied.
75
* ``bzr log -rA..B`` output shifted to the left margin if the log only
76
contains merge revisions. (Kent Gibson)
78
* The ``plugins`` command is now public with improved help.
81
* New bundle and merge directive formats are faster to generate, and
82
more robust against email mangling. New `send` command replaces
83
`bundle-revisions` and `merge-directive`. (Aaron Bentley)
85
* Annotate merge now works when there are local changes. (Aaron Bentley)
87
* Commit now only shows the progress in terms of directories instead of
88
entries. (Ian Clatworthy)
90
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
91
times. This makes ``get_revision_graph`` 2x faster. (John Arbash
94
* Fix ``VersionedFile.get_graph()`` to avoid using
95
``set.difference_update(other)``, which has bad scaling when
96
``other`` is large. This improves ``VF.get_graph([version_id])`` for
97
a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
99
* The ``--lsprof-file`` option now generates output for KCacheGrind if
100
the file starts with ``callgrind.out``. This matches the default file
101
filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
103
* Fix ``bzr update`` to avoid an unnecessary
104
``branch.get_master_branch`` call, which avoids 1 extra connection
105
to the remote server. (Partial fix for #128076, John Arbash Meinel)
110
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
111
Options are now required to provide a help string and it must
112
comply with the style guide by being one or more sentences with an
113
initial capital and final period. (Martin Pool)
115
* KnitIndex.get_parents now returns tuples. (Robert Collins)
117
* Ancient unused ``Repository.text_store`` attribute has been removed.
122
* merge now uses ``iter_changes`` to calculate changes, which makes room for
123
future performance increases. It is also more consistent with other
124
operations that perform comparisons, and reduces reliance on
125
Tree.inventory. (Aaron Bentley)
127
* Refactoring of transport classes connected to a remote server.
128
ConnectedTransport is a new class that serves as a basis for all
129
transports needing to connect to a remote server. transport.split_url
130
have been deprecated, use the static method on the object instead. URL
131
tests have been refactored too.
134
* Better connection sharing for ConnectedTransport objects.
135
transport.get_transport() now accepts a 'possible_transports' parameter.
136
If a newly requested transport can share a connection with one of the
140
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
141
the null revision, and consider using ``None`` for this purpose
142
deprecated. (Aaron Bentley)
144
* New ``index`` module with abstract index functionality. This will be
145
used during the planned changes in the repository layer. Currently the
146
index layer provides a graph aware immutable index, a builder for the
147
same index type to allow creating them, and finally a composer for
148
such indices to allow the use of many indices in a single query. The
149
index performance is not optimised, however the API is stable to allow
150
development on top of the index. (Robert Collins)
152
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
153
their directory sections. This is equivalent to comparing
154
``path.split('/')``, only without having to split the paths.
155
This has a Pyrex implementation available.
158
* New transport decorator 'unlistable+' which disables the list_dir
159
functionality for testing.
161
* New ``file_names.FileNames`` support class which mananges names
162
for unlistable transport situations. (Robert Collins)
164
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
166
* RevisionTree.get_weave is now deprecated. Tree.plan_merge is now used
167
for performing annotate-merge. (Aaron Bentley)
169
* New EmailMessage class to create email messages. (Adeodato Simó)
171
* Unused functions on the private interface KnitIndex have been removed.
174
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
175
of a ``index.GraphIndex``. (Robert Collins)
177
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
178
the parents of many knit nodes at once, reducing round trips to the
179
underlying index. (Robert Collins)
181
* Graph now has an is_ancestor method, various bits use it.
186
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
187
``--keep-output`` options, which are obsolete now that tests
188
are done within directories in $TMPDIR. (Martin Pool)
190
* The SSH_AUTH_SOCK environment variable is now reset to avoid
191
interaction with any running ssh agents. (Jelmer Vernooij, #125955)
198
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
201
bzr 0.18rc1 2007-07-10
205
* Do not suppress pipe errors, etc. in non-display commands
206
(Alexander Belchenko, #87178)
208
* Display a useful error message when the user requests to annotate
209
a file that is not present in the specified revision.
210
(James Westby, #122656)
212
* Commands that use status flags now have a reference to 'help
213
status-flags'. (Daniel Watkins, #113436)
215
* Work around python-2.4.1 inhability to correctly parse the
216
authentication header.
217
(Vincent Ladeuil, #121889)
219
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
221
* Fix tempfile permissions error in smart server tar bundling under
222
Windows. (Martin_, #119330)
224
* Fix detection of directory entries in the inventory. (James Westby)
226
* Fix handling of http code 400: Bad Request When issuing too many ranges.
227
(Vincent Ladeuil, #115209)
229
* Issue a CONNECT request when connecting to an https server
230
via a proxy to enable SSL tunneling.
231
(Vincent Ladeuil, #120678)
233
* Fix ``bzr log -r`` to support selecting merge revisions, both
234
individually and as part of revision ranges.
237
* Don't leave cruft behind when failing to acquire a lockdir.
238
(Martin Pool, #109169)
240
* Don't use the '-f' strace option during tests.
241
(Vincent Ladeuil, #102019).
243
* Warn when setting ``push_location`` to a value that will be masked by
244
locations.conf. (Aaron Bentley, #122286)
246
* Fix commit ordering in corner case (Aaron Bentley, #94975)
248
* Make annotate behave in a non-ASCII world (Adeodato Simó).
252
* The --lsprof-file option now dumps a text rendering of the profiling
253
information if the filename ends in ".txt". It will also convert the
254
profiling information to a format suitable for KCacheGrind if the
255
output filename ends in ".callgrind". Fixes to the lsprofcalltree
256
conversion process by Jean Paul Calderone and Itamar were also merged.
257
See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
259
* ``info`` now defaults to non-verbose mode, displaying only paths and
260
abbreviated format info. ``info -v`` displays all the information
261
formerly displayed by ``info``. (Aaron Bentley, Adeodato Simó)
263
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
266
* The internal ``weave-list`` command has become ``versionedfile-list``,
267
and now lists knits as well as weaves. (Aaron Bentley)
269
* Automatic merge base selection uses a faster algorithm that chooses
270
better bases in criss-cross merge situations (Aaron Bentley)
272
* Progress reporting in ``commit`` has been improved. The various logical
273
stages are now reported on as follows, namely:
275
* Collecting changes [Entry x/y] - Stage n/m
276
* Saving data locally - Stage n/m
277
* Uploading data to master branch - Stage n/m
278
* Updating the working tree - Stage n/m
279
* Running post commit hooks - Stage n/m
281
If there is no master branch, the 3rd stage is omitted and the total
282
number of stages is adjusted accordingly.
284
Each hook that is run after commit is listed with a name (as hooks
285
can be slow it is useful feedback).
286
(Ian Clatworthy, Robert Collins)
288
* Various operations that are now faster due to avoiding unnecessary
289
topological sorts. (Aaron Bentley)
291
* Make merge directives robust against broken bundles. (Aaron Bentley)
293
* The lsprof filename note is emitted via trace.note(), not standard
294
output. (Aaron Bentley)
296
* ``bzrlib`` now exports explicit API compatibility information to assist
297
library users and plugins. See the ``bzrlib.api`` module for details.
300
* Remove unnecessary lock probes when acquiring a lockdir.
303
* ``bzr --version`` now shows the location of the bzr log file, which
304
is especially useful on Windows. (Martin Pool)
306
* -D now supports hooks to get debug tracing of hooks (though its currently
307
minimal in nature). (Robert Collins)
309
* Long log format reports deltas on merge revisions.
310
(John Arbash Meinel, Kent Gibson)
312
* Make initial push over ftp more resilient. (John Arbash Meinel)
314
* Print a summary of changes for update just like pull does.
315
(Daniel Watkins, #113990)
317
* Add a -Dhpss option to trace smart protocol requests and responses.
323
``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
324
to ``bzrlib.tests.repository_implementations``;
325
``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
326
to ``bzrlib.tests.interrepository_implementations``;
327
``bzrlib.transport.TransportTestProviderAdapter`` has moved to
328
``bzrlib.tests.test_transport_implementations``.
329
``bzrlib.branch.BranchTestProviderAdapter`` has moved to
330
``bzrlib.tests.branch_implementations``.
331
``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
332
``bzrlib.tests.bzrdir_implementations``.
333
``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
334
to ``bzrlib.tests.interversionedfile_implementations``.
335
``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
336
``bzrlib.tests.revisionstore_implementations``.
337
``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
338
``bzrlib.tests.workingtree_implementations``.
339
These changes are an API break in the testing infrastructure only.
342
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
344
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
345
win32. Callers of the function should do this and use the new
346
``MutableTree.smart_add`` method instead. (Robert Collins)
348
* ``bzrlib.add.glob_expand_for_win32`` is now
349
``bzrlib.win32utils.glob_expand``. (Robert Collins)
351
* ``bzrlib.add.FastPath`` is now private and moved to
352
``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
354
* ``LockDir.wait`` removed. (Martin Pool)
356
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
357
``server_stopped`` hooks. The first parameter is now an iterable of
358
backing URLs rather than a single URL. This is to reflect that many
359
URLs may map to the external URL of the server. E.g. the server interally
360
may have a chrooted URL but also the local file:// URL will be at the
361
same location. (Robert Collins)
365
* New SMTPConnection class to unify email handling. (Adeodato Simó)
367
* Fix documentation of BzrError. (Adeodato Simó)
369
* Make BzrBadParameter an internal error. (Adeodato Simó)
371
* Remove use of 'assert False' to raise an exception unconditionally.
374
* Give a cleaner error when failing to decode knit index entry.
377
* TreeConfig would mistakenly search the top level when asked for options
378
from a section. It now respects the section argument and only
379
searches the specified section. (James Westby)
381
* Improve ``make api-docs`` output. (John Arbash Meinel)
383
* Use os.lstat rather than os.stat for osutils.make_readonly and
384
osutils.make_writeable. This makes the difftools plugin more
385
robust when dangling symlinks are found. (Elliot Murphy)
387
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
388
lockdirs are taken or released. (Martin Pool)
390
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
391
allows a nicer UI when hooks are running as the current hook can
392
be displayed. (Robert Collins)
394
* ``Transport.get`` has had its interface made more clear for ease of use.
395
Retrieval of a directory must now fail with either 'PathError' at open
396
time, or raise 'ReadError' on a read. (Robert Collins)
398
* New method ``_maybe_expand_globs`` on the ``Command`` class for
399
dealing with unexpanded glob lists - e.g. on the win32 platform. This
400
was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
402
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
403
deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
406
* New method ``external_url`` on Transport for obtaining the url to
407
hand to external processes. (Robert Collins)
409
* Teach windows installers to build pyrex/C extensions.
410
(Alexander Belchenko)
414
* Removed the ``--keep-output`` option from selftest and clean up test
415
directories as they're used. This reduces the IO load from
416
running the test suite and cuts the time by about half.
417
(Andrew Bennetts, Martin Pool)
419
* Add scenarios as a public attribute on the TestAdapter classes to allow
420
modification of the generated scenarios before adaption and easier
421
testing. (Robert Collins)
423
* New testing support class ``TestScenarioApplier`` which multiplies
424
out a single teste by a list of supplied scenarios. (RobertCollins)
426
* Setting ``repository_to_test_repository`` on a repository_implementations
427
test will cause it to be called during repository creation, allowing the
428
testing of repository classes which are not based around the Format
429
concept. For example a repository adapter can be tested in this manner,
430
by altering the repository scenarios to include a scenario that sets this
431
attribute during the test parameterisation in
432
``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
434
* Clean up many of the APIs for blackbox testing of Bazaar. The standard
435
interface is now self.run_bzr. The command to run can be passed as
436
either a list of parameters, a string containing the command line, or
437
(deprecated) varargs parameters. (Martin Pool)
439
* The base TestCase now isolates tests from -D parameters by clearing
440
``debug.debug_flags`` and restores it afterwards. (Robert Collins)
442
* Add a relpath parameter to get_transport methods in test framework to
443
avoid useless cloning.
444
(Vincent Ladeuil, #110448)
451
* Fix crash of commit due to wrong lookup of filesystem encoding.
452
(Colin Watson, #120647)
454
* Revert logging just to stderr in commit as broke unicode filenames.
455
(Aaron Bentley, Ian Clatworthy, #120930)
458
bzr 0.17rc1 2007-06-12
460
NOTES WHEN UPGRADING:
462
* The kind() and is_executable() APIs on the WorkingTree interface no
463
longer implicitly (read) locks and unlocks the tree. This *might*
464
impact some plug-ins and tools using this part of the API. If you find
465
an issue that may be caused by this change, please let us know,
466
particularly the plug-in/tool maintainer. If encountered, the API
467
fix is to surround kind() and is_executable() calls with lock_read()
468
and unlock() like so::
470
work_tree.lock_read()
472
kind = work_tree.kind(...)
477
* Rework of LogFormatter API to provide beginning/end of log hooks and to
478
encapsulate the details of the revision to be logged in a LogRevision
480
In long log formats, merge revision ids are only shown when --show-ids
481
is specified, and are labelled "revision-id:", as per mainline
482
revisions, instead of "merged:". (Kent Gibson)
484
* New ``BranchBuilder`` API which allows the construction of particular
485
histories quickly. Useful for testing and potentially other applications
486
too. (Robert Collins)
490
* There are two new help topics, working-trees and repositories that
491
attempt to explain these concepts. (James Westby, John Arbash Meinel,
494
* Added ``bzr log --limit`` to report a limited number of revisions.
497
* Revert does not try to preserve file contents that were originally
498
produced by reverting to a historical revision. (Aaron Bentley)
500
* ``bzr log --short`` now includes ``[merge]`` for revisions which
501
have more than one parent. This is a small improvement to help
502
understanding what changes have occurred
503
(John Arbash Meinel, #83887)
505
* TreeTransform avoids many renames when contructing large trees,
506
improving speed. 3.25x speedups have been observed for construction of
507
kernel-sized-trees, and checkouts are 1.28x faster. (Aaron Bentley)
509
* Commit on large trees is now faster. In my environment, a commit of
510
a small change to the Mozilla tree (55k files) has dropped from
511
66 seconds to 32 seconds. For a small tree of 600 files, commit of a
512
small change is 33% faster. (Ian Clatworthy)
514
* New --create-prefix option to bzr init, like for push. (Daniel Watkins,
519
* ``bzr push`` should only connect to the remote location one time.
520
We have been connecting 3 times because we forget to pass around
521
the Transport object. This adds ``BzrDir.clone_on_transport()``, so
522
that we can pass in the Transport that we already have.
523
(John Arbash Meinel, #75721)
525
* ``DirState.set_state_from_inventory()`` needs to properly order
526
based on split paths, not just string paths.
527
(John Arbash Meinel, #115947)
529
* Let TestUIFactoy encode the password prompt with its own stdout.
530
(Vincent Ladeuil, #110204)
532
* pycurl should take use the range header that takes the range hint
534
(Vincent Ladeuil, #112719)
536
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
537
on a missing file. (Aaron Bentley, #118186)
539
* WorkingTree.remove works correctly with tree references, and when pwd is
540
not the tree root. (Aaron Bentley)
542
* Merge no longer fails when a file is renamed in one tree and deleted
543
in the other. (Aaron Bentley, #110279)
545
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
546
and defaults to the last revision (Matthew Fuller, #90048)
548
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
549
(Daniel Watkins, #111958)
551
* ``bzr branch -r revid:foo`` can be used to branch any revision in
552
your repository. (Previously Branch6 only supported revisions in your
553
mainline). (John Arbash Meinel, #115343)
559
* Handle when you have 2 directories with similar names, but one has a
560
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
561
iterator was using direct comparison and ``'abc/a'`` sorts after
562
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
563
(John Arbash Meinel, #111227)
565
* Handle when someone renames a file on disk without telling bzr.
566
Previously we would report the first file as missing, but not show
567
the new unknown file. (John Arbash Meinel, #111288)
569
* Avoid error when running hooks after pulling into or pushing from
570
a branch bound to a smartserver branch. (Martin Pool, #111968)
574
* Move developer documentation to doc/developers/. This reduces clutter in
575
the root of the source tree and allows HACKING to be split into multiple
576
files. (Robert Collins, Alexander Belchenko)
578
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
579
``DirState.update_entry()``. This optimizes the core logic for ``bzr
580
diff`` and ``bzr status`` significantly improving the speed of
581
both. (John Arbash Meinel)
583
bzr 0.16rc2 2007-04-30
587
* Handle the case when you delete a file, and then rename another file
588
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
589
status`` should show the removed file and an unknown file in its
590
place. (John Arbash Meinel, #109993)
592
* Bundles properly read and write revision properties that have an
593
empty value. And when the value is not ASCII.
594
(John Arbash Meinel, #109613)
596
* Fix the bzr commit message to be in text mode.
597
(Alexander Belchenko, #110901)
599
* Also handle when you rename a file and create a file where it used
600
to be. (John Arbash Meinel, #110256)
602
* ``WorkingTree4._iter_changes`` should not descend into unversioned
603
directories. (John Arbash Meinel, #110399)
605
bzr 0.16rc1 2007-04-26
607
NOTES WHEN UPGRADING:
609
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
610
it could be recovered again.
611
This has been done for consistency with svn and the unix rm command.
612
The old ``remove`` behaviour has been retained in the new option
613
``bzr remove --keep``, which will just stop versioning the file,
615
``bzr remove --force`` have been added which will always delete the
617
``bzr remove`` is also more verbose.
618
(Marius Kruger, #82602)
622
* Merge directives can now be supplied as input to `merge` and `pull`,
623
like bundles can. (Aaron Bentley)
625
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
626
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
627
to continue. This can be disabled by setting the environment variable
628
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
630
* selftest now supports --list-only to list tests instead of running
631
them. (Ian Clatworthy)
633
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
634
tests with names that match that regular expression.
635
(Ian Clatworthy, #102679)
637
* selftest now supports --randomize SEED to run tests in a random order.
638
SEED is typically the value 'now' meaning 'use the current time'.
639
(Ian Clatworthy, #102686)
641
* New option ``--fixes`` to commit, which stores bug fixing annotations as
642
revision properties. Built-in support for Launchpad, Debian, Trac and
643
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
645
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
646
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
649
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
652
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
653
into using local variables instead of going through ``self._var``.
654
Improves the time to ``merge_sort`` a 10k revision graph by
655
approximately 40% (~700->400ms). (John Arbash Meinel)
657
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
660
* ``bzr help`` now provides cross references to other help topics using
661
the _see_also facility on command classes. Likewise the bzr_man
662
documentation, and the bzr.1 man page also include this information.
665
* Tags are now included in logs, that use the long log formatter.
666
(Erik Bågfors, Alexander Belchenko)
668
* ``bzr help`` provides a clearer message when a help topic cannot be
669
found. (Robert Collins, #107656)
671
* ``bzr help`` now accepts optional prefixes for command help. The help
672
for all commands can now be found at ``bzr help commands/COMMANDNAME``
673
as well as ``bzr help COMMANDNAME`` (which only works for commands
674
where the name is not the same as a more general help topic).
677
* ``bzr help PLUGINNAME`` will now return the module docstring from the
678
plugin PLUGINNAME. (Robert Collins, #50408)
680
* New help topic ``urlspec`` which lists the availables transports.
681
(Goffredo Baroncelli)
683
* doc/server.txt updated to document the default bzr:// port
684
and also update the blurb about the hpss' current status.
685
(Robert Collins, #107125).
687
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
688
serve out to the local LAN (and anyone in the world that can reach the
689
machine running ``bzr serve``. (Robert Collins, #98918)
691
* A new smart server protocol version has been added. It prefixes requests
692
and responses with an explicit version identifier so that future protocol
693
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
695
* The bzr protocol version 2 indicates success or failure in every response
696
without depending on particular commands encoding that consistently,
697
allowing future client refactorings to be much more robust about error
698
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
700
* The smart protocol over HTTP client has been changed to always post to the
701
same ``.bzr/smart`` URL under the original location when it can. This allows
702
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
703
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
705
* digest authentication is now supported for proxies and HTTP by the urllib
706
based http implementation. Tested against Apache 2.0.55 and Squid
707
2.6.5. Basic and digest authentication are handled coherently for HTTP
708
and proxy: if the user is provided in the url (bzr command line for HTTP,
709
proxy environment variables for proxies), the password is prompted for
710
(only once). If the password is provided, it is taken into account. Once
711
the first authentication is successful, all further authentication
712
roundtrips are avoided by preventively setting the right authentication
718
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
719
code paths. (Robert Collins)
721
* Change the format of chroot urls so that they can be safely manipulated
722
by generic url utilities without causing the resulting urls to have
723
escaped the chroot. A side effect of this is that creating a chroot
724
requires an explicit action using a ChrootServer.
725
(Robert Collins, Andrew Bennetts)
727
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
728
rather than fixing bug #96847. (Aaron Bentley)
730
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
731
``WorkingTree._write_inventory``. (Aaron Bentley)
733
* Convenience method ``TestCase.expectFailure`` ensures that known failures
734
do not silently pass. (Aaron Bentley)
736
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
737
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
739
* New SmartServer hooks facility. There are two initial hooks documented
740
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
741
plugins to execute code upon server startup and shutdown.
744
* SmartServer in standalone mode will now close its listening socket
745
when it stops, rather than waiting for garbage collection. This primarily
746
fixes test suite hangs when a test tries to connect to a shutdown server.
747
It may also help improve behaviour when dealing with a server running
748
on a specific port (rather than dynamically assigned ports).
751
* Move most SmartServer code into a new package, bzrlib/smart.
752
bzrlib/transport/remote.py contains just the Transport classes that used
753
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
755
* urllib http implementation avoid roundtrips associated with
756
401 (and 407) errors once the authentication succeeds.
759
* urlib http now supports querying the user for a proxy password if
760
needed. Realm is shown in the prompt for both HTTP and proxy
761
authentication when the user is required to type a password.
764
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
765
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
766
consistent with its new home in ``bzrlib/transport/remote.py``, and because
767
it's not really a "smart" transport, just one that does file operations
768
via remote procedure calls. (Andrew Bennetts)
770
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
771
``Branch`` now accept a ``token`` keyword argument, so that separate
772
instances of those objects can share a lock if it has the right token.
773
(Andrew Bennetts, Robert Collins)
775
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
776
branch references - which the smart server component needs.
778
* The Repository API ``make_working_trees`` is now permitted to return
779
False when ``set_make_working_trees`` is not implemented - previously
780
an unimplemented ``set_make_working_trees`` implied the result True
781
from ``make_working_trees``. This has been changed to accomodate the
782
smart server, where it does not make sense (at this point) to ever
783
make working trees by default. (Robert Collins)
785
* Command objects can now declare related help topics by having _see_also
786
set to a list of related topic. (Robert Collins)
788
* ``bzrlib.help`` now delegates to the Command class for Command specific
789
help. (Robert Collins)
791
* New class ``TransportListRegistry``, derived from the Registry class, which
792
simplifies tracking the available Transports. (Goffredo Baroncelli)
794
* New function ``Branch.get_revision_id_to_revno_map`` which will
795
return a dictionary mapping revision ids to dotted revnos. Since
796
dotted revnos are defined in the context of the branch tip, it makes
797
sense to generate them from a ``Branch`` object.
800
* Fix the 'Unprintable error' message display to use the repr of the
801
exception that prevented printing the error because the str value
802
for it is often not useful in debugging (e.g. KeyError('foo') has a
803
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
804
useful. (Robert Collins)
806
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
811
* Don't fail bundle selftest if email has 'two' embedded.
812
(Ian Clatworthy, #98510)
814
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
815
(Robert Widhopf-Fenk, #98591)
817
* Remove ``--basis`` from the checkout/branch commands - it didn't work
818
properly and is no longer beneficial.
819
(Robert Collins, #53675, #43486)
821
* Don't produce encoding error when adding duplicate files.
824
* Fix ``bzr log <file>`` so it only logs the revisions that changed
825
the file, and does it faster.
826
(Kent Gibson, John Arbash Meinel, #51980, #69477)
828
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
829
an empty versioned directory, which now has files in it.
830
(John Arbash Meinel, #104257)
832
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
833
inside the ancestry of the other. Saves a lot of graph processing
834
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
835
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
837
* Fix ``show_diff_trees`` to handle the case when a file is modified,
838
and the containing directory is renamed. (The file path is different
839
in this versus base, but it isn't marked as a rename).
840
(John Arbash Meinel, #103870)
842
* FTP now works even when the FTP server does not support atomic rename.
843
(Aaron Bentley, #89436)
845
* Correct handling in bundles and merge directives of timezones with
846
that are not an integer number of hours offset from UTC. Always
847
represent the epoch time in UTC to avoid problems with formatting
848
earlier times on win32. (Martin Pool, Alexander Belchenko, John
851
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
853
* "dirstate" and "dirstate-tags" formats now produce branches compatible
854
with old versions of bzr. (Aaron Bentley, #107168))
856
* Handle moving a directory when children have been added, removed,
857
and renamed. (John Arbash Meinel, #105479)
859
* Don't preventively use basic authentication for proxy before receiving a
860
407 error. Otherwise people willing to use other authentication schemes
861
may expose their password in the clear (or nearly). This add one
862
roundtrip in case basic authentication should be used, but plug the
866
* Handle http and proxy digest authentication.
867
(Vincent Ladeuil, #94034).
871
* Added ``bzrlib.strace.strace`` which will strace a single callable and
872
return a StraceResult object which contains just the syscalls involved
873
in running it. (Robert Collins)
875
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
876
default time down to one suitable for tests. (Andrew Bennetts)
878
* Add new ``vfs_transport_factory`` attribute on tests which provides the
879
common vfs backing for both the readonly and readwrite transports.
880
This allows the RemoteObject tests to back onto local disk or memory,
881
and use the existing ``transport_server`` attribute all tests know about
882
to be the smart server transport. This in turn allows tests to
883
differentiate between 'transport to access the branch', and
884
'transport which is a VFS' - which matters in Remote* tests.
885
(Robert Collins, Andrew Bennetts)
887
* The ``make_branch_and_tree`` method for tests will now create a
888
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
889
a LocalURLServer. (Robert Collins, Andrew Bennetts)
891
* Branch implementation tests have been audited to ensure that all urls
892
passed to Branch APIs use proper urls, except when local-disk paths
893
are intended. This is so that tests correctly access the test transport
894
which is often not equivalent to local disk in Remote* tests. As part
895
of this many tests were adjusted to remove dependencies on local disk
897
(Robert Collins, Andrew Bennetts)
899
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
900
functions by adding a ``__unittest`` global attribute. (Robert Collins,
901
Andrew Bennetts, Martin Pool, Jonathan Lange)
903
* Refactored proxy and authentication handling to simplify the
904
implementation of new auth schemes for both http and proxy.
911
* Handle incompatible repositories as a user issue when fetching.
914
* Don't give a recommendation to upgrade when branching or
915
checking out a branch that contains an old-format working tree.
918
bzr 0.15rc3 2007-03-26
922
* A warning is now displayed when opening working trees in older
923
formats, to encourage people to upgrade to WorkingTreeFormat4.
928
* HTTP redirections are now taken into account when a branch (or a
929
bundle) is accessed for the first time. A message is issued at each
930
redirection to inform the user. In the past, http redirections were
931
silently followed for each request which significantly degraded the
932
performances. The http redirections are not followed anymore by
933
default, instead a RedirectRequested exception is raised. For bzrlib
934
users needing to follow http redirections anyway,
935
``bzrlib.transport.do_catching_redirections`` provide an easy transition
940
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
941
lock to an OS write lock. Linux can do this without unlocking, Win32
942
needs to unlock in between. (John Arbash Meinel)
944
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
945
to silence (when false) warnings about opening old formats.
948
* Fix minor performance regression with bzr-0.15 on pre-dirstate
949
trees. (We were reading the working inventory too many times).
952
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
953
``revision_history``. Branch subclasses should override
954
``_gen_revision_history`` rather than ``revision_history`` to make use of
955
this cache, and call ``_clear_revision_history_cache`` and
956
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
960
* Take ``smtp_server`` from user config into account.
963
* Restore Unicode filename handling for versioned and unversioned files.
964
(John Arbash Meinel, #92608)
966
* Don't fail during ``bzr commit`` if a file is marked removed, and
967
the containing directory is auto-removed. (John Arbash Meinel, #93681)
969
* ``bzr status FILENAME`` failed on Windows because of an uncommon
970
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
971
(Wouter van Heyst, John Arbash Meinel, #90819)
973
* ``bzr checkout source`` should create a local branch in the same
974
format as source. (John Arbash Meinel, #93854)
976
* ``bzr commit`` with a kind change was failing to update the
977
last-changed-revision for directories. The
978
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
979
ignoring the fact that the kind could have changed, too.
980
(John Arbash Meinel, #90111)
982
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
983
the directory. So that there was a chance it would break commit,
984
etc. (John Arbash Meinel, #94037)
986
* Correctly handles mutiple permanent http redirections.
989
bzr 0.15rc2 2007-03-14
991
NOTES WHEN UPGRADING:
993
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
994
default to ``--trees`` instead of ``--no-trees``.
995
Existing shared repositories are not affected.
999
* New ``merge-directive`` command to generate machine- and human-readable
1000
merge requests. (Aaron Bentley)
1002
* New ``submit:`` revision specifier makes it easy to diff against the
1003
common ancestor with the submit location (Aaron Bentley)
1005
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
1007
* Added ``bzr status --versioned`` to report only versioned files,
1008
not unknowns. (Kent Gibson)
1010
* Merge now autodetects the correct line-ending style for its conflict
1011
markers. (Aaron Bentley)
1015
* Refactored SSH vendor registration into SSHVendorManager class.
1020
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
1021
numbered dirs for TestCaseInTempDir. This is default behavior
1022
on Windows. Anyone can force named dirs on Windows
1023
with ``--no-numbered-dirs``. (Alexander Belchenko)
1025
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
1026
from the command line. (Marien Zwart, #90501)
1028
* Fix ``TreeTransform._iter_changes`` when both the source and
1029
destination are missing. (Aaron Bentley, #88842)
1031
* Fix commit of merges with symlinks in dirstate trees.
1034
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
1035
(Wouter van Heyst, #53483)
1038
bzr 0.15rc1 2007-03-07
1042
* The default disk format has changed. Please run 'bzr upgrade' in your
1043
working trees to upgrade. This new default is compatible for network
1044
operations, but not for local operations. That is, if you have two
1045
versions of bzr installed locally, after upgrading you can only use the
1046
bzr 0.15 version. This new default does not enable tags or nested-trees
1047
as they are incompatible with bzr versions before 0.15 over the network.
1049
* For users of bzrlib: Two major changes have been made to the working tree
1050
api in bzrlib. The first is that many methods and attributes, including
1051
the inventory attribute, are no longer valid for use until one of
1052
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
1053
and become invalid again after unlock is called. This has been done
1054
to improve performance and correctness as part of the dirstate
1056
(Robert Collins, John A Meinel, Martin Pool, and others).
1058
* For users of bzrlib: The attribute 'tree.inventory' should be considered
1059
readonly. Previously it was possible to directly alter this attribute, or
1060
its contents, and have the tree notice this. This has been made
1061
unsupported - it may work in some tree formats, but in the newer dirstate
1062
format such actions will have no effect and will be ignored, or even
1063
cause assertions. All operations possible can still be carried out by a
1064
combination of the tree API, and the bzrlib.transform API. (Robert
1065
Collins, John A Meinel, Martin Pool, and others).
1069
* Support for OS Windows 98. Also .bzr.log on any windows system
1070
saved in My Documents folder. (Alexander Belchenko)
1072
* ``bzr mv`` enhanced to support already moved files.
1073
In the past the mv command would have failed if the source file doesn't
1074
exist. In this situation ``bzr mv`` would now detect that the file has
1075
already moved and update the repository accordingly, if the target file
1077
A new option ``--after`` has been added so that if two files already
1078
exist, you could notify Bazaar that you have moved a (versioned) file
1079
and replaced it with another. Thus in this case ``bzr move --after``
1080
will only update the Bazaar identifier.
1081
(Steffen Eichenberg, Marius Kruger)
1083
* ``ls`` now works on treeless branches and remote branches.
1086
* ``bzr help global-options`` describes the global options.
1089
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
1092
* Files are now allowed to change kind (e.g. from file to symlink).
1093
Supported by ``commit``, ``revert`` and ``status``
1096
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
1099
* ``bzr help checkouts`` descibes what checkouts are and some possible
1100
uses of them. (James Westby, Aaron Bentley)
1102
* A new ``-d`` option to push, pull and merge overrides the default
1103
directory. (Martin Pool)
1105
* Branch format 6: smaller, and potentially faster than format 5. Supports
1106
``append_history_only`` mode, where the log view and revnos do not change,
1107
except by being added to. Stores policy settings in
1108
".bzr/branch/branch.conf".
1110
* ``append_only`` branches: Format 6 branches may be configured so that log
1111
view and revnos are always consistent. Either create the branch using
1112
"bzr init --append-revisions-only" or edit the config file as descriped
1113
in docs/configuration.txt.
1115
* rebind: Format 6 branches retain the last-used bind location, so if you
1116
"bzr unbind", you can "bzr bind" to bind to the previously-selected
1119
* Builtin tags support, created and deleted by the ``tag`` command and
1120
stored in the branch. Tags can be accessed with the revisionspec
1121
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
1122
at present. Tags require a network incompatible upgrade. To perform this
1123
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
1124
repositories. (Martin Pool)
1126
* The ``bzr://`` transport now has a well-known port number, 4155,
1127
which it will use by default. (Andrew Bennetts, Martin Pool)
1129
* Bazaar now looks for user-installed plugins before looking for site-wide
1130
plugins. (Jonathan Lange)
1132
* ``bzr resolve`` now detects and marks resolved text conflicts.
1137
* Internally revision ids and file ids are now passed around as utf-8
1138
bytestrings, rather than treating them as Unicode strings. This has
1139
performance benefits for Knits, since we no longer need to decode the
1140
revision id for each line of content, nor for each entry in the index.
1141
This will also help with the future dirstate format.
1142
(John Arbash Meinel)
1144
* Reserved ids (any revision-id ending in a colon) are rejected by
1145
versionedfiles, repositories, branches, and working trees
1148
* Minor performance improvement by not creating a ProgressBar for
1149
every KnitIndex we create. (about 90ms for a bzr.dev tree)
1150
(John Arbash Meinel)
1152
* New easier to use Branch hooks facility. There are five initial hooks,
1153
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
1154
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
1155
``'post_uncommit'``. These hooks fire after the matching operation
1156
on a branch has taken place, and were originally added for the
1157
branchrss plugin. (Robert Collins)
1159
* New method ``Branch.push()`` which should be used when pushing from a
1160
branch as it makes performance and policy decisions to match the UI
1161
level command ``push``. (Robert Collins).
1163
* Add a new method ``Tree.revision_tree`` which allows access to cached
1164
trees for arbitrary revisions. This allows the in development dirstate
1165
tree format to provide access to the callers to cached copies of
1166
inventory data which are cheaper to access than inventories from the
1168
(Robert Collins, Martin Pool)
1170
* New ``Branch.last_revision_info`` method, this is being done to allow
1171
optimization of requests for both the number of revisions and the last
1172
revision of a branch with smartservers and potentially future branch
1173
formats. (Wouter van Heyst, Robert Collins)
1175
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
1176
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
1177
other for code reuse without requiring users to perform file-renaming
1178
gymnastics. (Robert Collins)
1180
* New Repository method ``'gather_stats'`` for statistic data collection.
1181
This is expected to grow to cover a number of related uses mainly
1182
related to bzr info. (Robert Collins)
1184
* Log formatters are now managed with a registry.
1185
``log.register_formatter`` continues to work, but callers accessing
1186
the FORMATTERS dictionary directly will not.
1188
* Allow a start message to be passed to the ``edit_commit_message``
1189
function. This will be placed in the message offered to the user
1190
for editing above the separator. It allows a template commit message
1191
to be used more easily. (James Westby)
1193
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
1194
you pass a Unicode string rather than an 8-bit string. Callers need
1195
to be updated to encode first. (John Arbash Meinel)
1197
* Branch.push, pull, merge now return Result objects with information
1198
about what happened, rather than a scattering of various methods. These
1199
are also passed to the post hooks. (Martin Pool)
1201
* File formats and architecture is in place for managing a forest of trees
1202
in bzr, and splitting up existing trees into smaller subtrees, and
1203
finally joining trees to make a larger tree. This is the first iteration
1204
of this support, and the user-facing aspects still require substantial
1205
work. If you wish to experiment with it, use ``bzr upgrade
1206
--dirstate-with-subtree`` in your working trees and repositories.
1207
You can use the hidden commands ``split`` and ``join`` and to create
1208
and manipulate nested trees, but please consider using the nested-trees
1209
branch, which contains substantial UI improvements, instead.
1210
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
1211
(Aaron Bentley, Martin Pool, Robert Collins).
1215
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
1216
branch, rather than the last changed revision of the file.
1217
(John Arbash Meinel, #82158)
1219
* Lock operations no longer hang if they encounter a permission problem.
1222
* ``bzr push`` can resume a push that was canceled before it finished.
1223
Also, it can push even if the target directory exists if you supply
1224
the ``--use-existing-dir`` flag.
1225
(John Arbash Meinel, #30576, #45504)
1227
* Fix http proxy authentication when user and an optional
1228
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
1231
* ``bzr log branch/file`` works for local treeless branches
1232
(Aaron Bentley, #84247)
1234
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
1236
* Searching location of CA bundle for PyCurl in env variable
1237
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
1238
(Alexander Belchenko, #82086)
1240
* ``bzr init`` works with unicode argument LOCATION.
1241
(Alexander Belchenko, #85599)
1243
* Raise ``DependencyNotPresent`` if pycurl do not support https.
1244
(Vincent Ladeuil, #85305)
1246
* Invalid proxy env variables should not cause a traceback.
1247
(Vincent Ladeuil, #87765)
1249
* Ignore patterns normalised to use '/' path separator.
1250
(Kent Gibson, #86451)
1252
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
1254
* Fix bzrtools shelve command for removed lines beginning with "--"
1255
(Johan Dahlberg, #75577)
1259
* New ``--first`` option to ``bzr selftest`` to run specified tests
1260
before the rest of the suite. (Martin Pool)
1267
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
1271
* Skip documentation generation tests if the tools to do so are not
1272
available. Fixes running selftest for installled copies of bzr.
1273
(John Arbash Meinel, #80330)
1275
* Fix the code that discovers whether bzr is being run from it's
1276
working tree to handle the case when it isn't but the directory
1277
it is in is below a repository. (James Westby, #77306)
1280
bzr 0.14rc1 2007-01-16
1284
5
* New connection: ``bzr+http://`` which supports tunnelling the smart