12
* ``bzr export`` can now export a subdirectory of a project.
15
* ``bzr rm`` will now scan for files that are missing and remove just
16
them automatically, much as ``bzr add`` scans for new files that
17
are not ignored and adds them automatically. (Robert Collins)
21
* Support for GSSAPI authentication when using FTP as documented in
22
RFC2228. (Jelmer Vernooij, #49623)
26
* A url like ``log+file:///tmp`` will log all access to that Transport
27
to ``.bzr.log``, which may help in debugging or profiling.
30
* ``bzr branch`` and ``bzr push`` use the default stacking policy if the
31
branch format supports it. (Aaron Bentley)
33
* ``bzr init`` and ``bzr init-repo`` will now print out the same as
34
``bzr info`` if it completed successfully.
37
* ``bzr uncommit`` logs the old tip revision id, and displays how to
38
restore the branch to that tip using ``bzr pull``. This allows you
39
to recover if you realize you uncommitted the wrong thing.
42
* When reading index files, if we happen to read the whole file in a
43
single request treat it as a ``_buffer_all`` request. This happens
44
most often on small indexes over remote transports, where we default
45
to reading 64kB. It saves a round trip for each small index during
46
fetch operations. Also, if we have read more than 50% of an index
47
file, trigger a ``_buffer_all`` on the next request. This works
48
around some inefficiencies because reads don't fall neatly on page
49
boundaries, so we would ignore those bytes, but request them again
50
later. This could trigger a total read size of more than the whole
51
file. (John Arbash Meinel)
55
* ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
56
users. (Robert Collins, #205416)
58
* Catch the infamous "select/poll returned error" which occurs when
59
pycurl try to send a body request to an HTTP/1.0 server which has
60
already refused to handle the request. (Vincent Ladeuil, #225020)
62
* ``FTPTransport.stat()`` would return ``0000`` as the permission bits
63
for the containing ``.bzr/`` directory (it does not implement
64
permissions). This would cause us to set all subdirectories to
65
``0700`` and files to ``0600`` rather than leaving them unmodified.
66
Now we ignore ``0000`` as the permissions and assume they are
67
invalid. (John Arbash Meinel, #259855)
69
* Merging from a previously joined branch will no longer cause
70
a traceback. (Jelmer Vernooij, #203376)
72
* Pack operations on windows network shares will work even with large
73
files. (Robert Collins, #255656)
75
* Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
76
status. Status is also about 7% faster on mozilla sized trees
77
when the path to the root of the tree has been given. Users of
78
the internal ``show_tree_status`` function should be aware that
79
the show_pending flag is now authoritative for showing pending
80
merges, as it was originally. (Robert Collins, #225204)
82
* Set valid default _param_name for Option so that ListOption can embed
83
'-' in names. (Vincent Ladeuil, #263249)
85
* Show proper error rather than traceback when an unknown revision
86
id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
88
* Trailing text in the dirstate file could cause the C dirstate parser
89
to try to allocate an invalid amount of memory. We now properly
90
check and test for parsing a dirstate with invalid trailing data.
91
(John Arbash Meinel, #186014)
93
* Use a Windows api function to get a Unicode host name, rather than
94
assuming the host name is ascii.
95
(Mark Hammond, John Arbash Meinel, #256550)
97
* ``WorkingTree4`` trees will now correctly report missing-and-new
98
paths in the output of ``iter_changes``. (Robert Collins)
102
* Exporters now take 4 parameters. (Robert Collins)
104
* ``Tree.iter_changes`` will now return False for the content change
105
field when a file is missing in the basis tree and not present in
106
the target tree. Previously it returned True unconditionally.
109
* The deprecated ``Branch.abspath`` and unimplemented
110
``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
112
* BzrDir.clone_on_transport implementations must now accept a stacked_on
113
parameter. (Aaron Bentley)
115
* BzrDir.cloning_metadir implementations must now take a require_stacking
116
parameter. (Aaron Bentley)
120
* ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
121
which are then passed to the cleanup callable as it is run. In
122
addition, addCleanup no longer requires that the callables passed to
123
it be unique. (Jonathan Lange)
125
* ``selftest``'s ``--starting-with`` option can now use predefined
126
prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
127
``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
129
* ``selftest``'s ``--starting-with`` option now accepts multiple values.
134
* A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
135
This allows dynamic log output filtering by plugins.
138
* ``bzrlib.btree_index`` is now available, providing a b-tree index
139
layer. The design is memory conservative (limited memory cache),
140
faster to seek (approx 100 nodes per page, gives 100-way fan out),
141
and stores compressed pages allowing more keys per page.
142
(Robert Collins, John Arbash Meinel)
144
* ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
145
is unknown in both source and target.
146
(Robert Collins, Aaron Bentley)
148
* ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
149
streamlined a bit. This should make creating large indexes faster.
150
(In benchmarking, it now takes less time to create a BTree index than
151
it takes to read the GraphIndex one.) (John Arbash Meinel)
153
* Mail clients for `bzr send` are now listed in a registry. This
154
allows plugins to add new clients by registering them with
155
``bzrlib.mail_client.mail_client_registry``. All of the built-in
156
clients now use this mechanism. (Neil Martinsen-Burrell)
159
bzr 1.6.1rc2 2008-09-03
160
-----------------------
164
* Copying between ``rich-root`` and ``rich-root-pack`` (and vice
165
versa) was accidentally using the inter-model fetcher, instead of
166
recognizing that both were 'rich root' formats.
167
(John Arbash Meinel, #264321)
170
bzr 1.6.1rc1 2008-08-29
171
-----------------------
5
.. contents:: List of Releases
11
:2.2b2: NOT RELEASED YET
19
* ``bzr diff`` now supports a --format option, which can be used to
20
select alternative diff formats. (Jelmer Vernooij, #555994)
25
* Make sure the ``ExecutablePath`` and ``InterpreterPath`` are set in
26
Apport crash reports, to avoid "This problem report applies to a program
27
which is not installed any more" error.
28
(Martin Pool, James Westby, #528114)
30
* When invoked with a range revision, ``bzr log`` doesn't show revisions
31
that are not part of the ancestry anymore.
32
(Vincent Ladeuil, #474807)
37
* ``bzr commit`` will prompt before using a commit message that was
38
generated by a template and not edited by the user.
39
(Robert Collins, #530265)
41
* Less code is loaded at startup. (Cold-cache start time is about 10-20%
43
(Martin Pool, #553017)
61
:2.2.0b1: Not released yet
66
* BTreeGraphIndex can now take an offset to indicate that the data starts
67
somewhere other than then beginning of the file. (John Arbash Meinel)
69
* Deleted very old hidden commands ``versionedfile-list``,
70
``weave-plan-merge``, ``weave-merge-text``.
73
* ``Repository.get_inventory_sha1()`` and ``Repository.get_revision_xml()``
74
have been removed. (Jelmer Vernooij)
76
* ``Repository.get_revision_inventory()`` has been removed in favor of
77
``Repository.get_inventory()``. (Jelmer Vernooij)
79
* All test servers have been moved out of the bzrlib.transport hierarchy to
80
bzrlib.tests.test_server *except* for MemoryServer, ChrootServer and
81
PathFilteringServer. ``bzrlib`` users may encounter test failures that can
82
be fixed by updating the related imports from ``bzrlib.transport.xxx`` to
83
``bzrlib.tests.test_server``.
86
* ``BranchReferenceFormat.initialize()`` now takes an optional name argument
87
as its second parameter, for consistency with the initialize() method of
88
other formats. (Jelmer Vernooij)
93
* Added ``bzr remove-branch`` command that can remove a local or remote
94
branch. (Jelmer Vernooij, #276295)
96
* ``bzr export`` now takes an optional argument ``--per-file-timestamps``
97
to set file mtimes to the last timestamp of the last revision in which
98
they were changed rather than the current time. (Jelmer Vernooij)
100
* If the Apport crash-reporting tool is available, bzr crashes are now
101
stored into the ``/var/crash`` apport spool directory, and the user is
102
invited to report them to the developers from there, either
103
automatically or by running ``apport-bug``. No information is sent
104
without specific permission from the user. (Martin Pool, #515052)
106
* Parsing of command lines, for example in ``diff --using``, no longer
107
treats backslash as an escape character on Windows. (Gordon Tyler,
110
* Plugins can be disabled by defining ``BZR_DISABLE_PLUGINS`` as
111
a list of plugin names separated by ':' (';' on windows).
112
(Vincent Ladeuil, #411413)
114
* Plugins can be loaded from arbitrary locations by defining
115
``BZR_PLUGINS_AT`` as a list of name@path separated by ':' (';' on
116
windows). This takes precedence over ``BZR_PLUGIN_PATH`` for the
117
specified plugins. This is targeted at plugin developers for punctual
118
needs and *not* intended to replace ``BZR_PLUGIN_PATH``.
119
(Vincent Ladeuil, #82693)
121
* Tag names can now be determined automatically by ``automatic_tag_name``
122
hooks on ``Branch`` if they are not specified on the command line.
125
* Tree-shape conflicts can be resolved by providing ``--take-this`` and
126
``--take-other`` to the ``bzr resolve`` command. Just marking the conflict
127
as resolved is still accessible via the ``--done`` default action.
130
* Merges can be proposed on Launchpad with the new lp-propose-merge command.
131
(Aaron Bentley, Jonathan Lange)
136
* Added docstring for ``Tree.iter_changes``
137
(John Arbash Meinel, #304182)
139
* Allow additional arguments to
140
``RemoteRepository.add_inventory_by_delta()``. (Jelmer Vernooij, #532631)
142
* Allow exporting a single file using ``bzr export``.
143
(Michal Junák, #511987)
145
* Allow syscalls to automatically restart when ``TextUIFactory``'s
146
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
147
IO, which are often poorly handled by Python's libraries and parts of
148
bzrlib. (Andrew Bennetts, #496813)
150
* Avoid infinite recursion when probing for apport.
151
(Vincent Ladeuil, #516934)
153
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
154
(Martin Pool, #331095)
156
* Avoid truncating svn URLs.
157
(Martin Pool, Martin von Gagern, #545185)
159
* ``bzr add`` will not add conflict related files unless explicitly required.
160
(Vincent Ladeuil, #322767, #414589)
162
* ``bzr dump-btree`` now works on ``*.cix`` and ``*.six`` files. Those
163
indices do not have reference lists, so ``dump-btree`` will simply show
164
``None`` instead. (Andrew Bennetts, #488607)
166
* ``bzr help`` will no longer trigger the get_missing_command hook when
167
doing a topic lookup. This avoids prompting (like 'no command plugins/loom,
168
did you mean log?') when getting help. In future we may trigger the hook
169
deliberately when no help topics match from any help index.
170
(Robert Collins, #396261)
172
* ``bzr log -n0 -r..A.B.C`` should not crash but just consider the None
173
revspec as representing the first revision of the branch.
174
(Vincent Ladeuil, #519862)
176
* ``bzr remove-tree`` can now remove multiple working trees.
177
(Jared Hance, Andrew Bennetts, #253137)
179
* ``bzr resolve --take-this`` and ``--take-other`` now correctly renames
180
the kept file on content conflicts where one side deleted the file.
181
(Vincent Ladeuil, #529968)
183
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
184
permissions as ``.bzr`` directory on a POSIX OS.
185
(Parth Malwankar, #262450)
187
* ``bzr upgrade`` now names backup directory as ``backup.bzr.~N~`` instead
188
of ``backup.bzr``. This directory is ignored by bzr commands such as
190
(Parth Malwankar, #335033, #300001)
192
* Cope with non-utf8 characters inside ``.bzrignore``.
193
(Jason Spashett, #183504)
195
* Correctly interpret "451 Rename/move failure: Directory not empty" from
196
ftp servers while trying to take a lock.
197
(Martin Pool, #528722)
199
* DirStateRevisionTree.kind() was returning wrong result when 'kind'
200
changes occured between the workingtree and one of its parents.
201
(Vincent Ladeuil, #535547)
203
* Fix ``log`` to better check ancestors even if merged revisions are involved.
204
(Vincent Ladeuil, #476293)
206
* Loading a plugin from a given path with ``BZR_PLUGINS_AT`` doesn't depend
207
on os.lisdir() order and is now reliable.
208
(Vincent Ladeuil, #552922).
210
* Many IO operations that returned ``EINTR`` were retried even if it
211
wasn't safe to do so via careless use of ``until_no_eintr``. Bazaar now
212
only retries operations that are safe to retry, and in some cases has
213
switched to operations that can be retried (e.g. ``sock.send`` rather than
215
(Andrew Bennetts, Martin <gzlist@googlemail.com>, #496813)
217
* Path conflicts now support --take-this and --take-other even when a
218
deletion is involved.
219
(Vincent Ladeuil, #531967)
221
* Network transfer amounts and rates are now displayed in SI units according
222
to the Ubuntu Units Policy <https://wiki.ubuntu.com/UnitsPolicy>.
223
(Gordon Tyler, #514399)
225
* Support kind markers for socket and fifo filesystem objects. This
226
prevents ``bzr status --short`` from crashing when those files are
227
present. (John Arbash Meinel, #303275)
229
* ``bzr mkdir DIR`` will not create DIR unless DIR's parent is a versioned
230
directory. (Parth Malwankar, #138600)
232
* SSH child processes will now ignore SIGQUIT on nix systems so breaking into
233
the debugger won't kill the session.
234
(Martin <gzlist@googlemail.com>, #162502)
236
* Tolerate patches with leading noise in ``bzr-handle-patch``.
237
(Toshio Kuratomi, Martin Pool, #502076)
239
* ``.bazaar``, ``.bazaar/bazaar.conf`` and ``.bzr.log`` inherit user and
240
group ownership from the containing directory. This allow bzr to work
242
(Parth Malwankar, #376388)
244
* Use first apparent author not committer in GNU Changelog format.
245
(Martin von Gagern, #513322)
250
* ``bzrlib.merge_directive._BaseMergeDirective`` has been renamed to
251
``bzrlib.merge_directive.BaseMergeDirective`` and is now public.
254
* ``BranchFormat.initialize`` now takes an optional ``name`` of the colocated
255
branch to create. (Jelmer Vernooij)
257
* ``BzrDir.get_branch_transport`` now takes an optional ``name`` of the
258
colocated branch to open. (Jelmer Vernooij)
260
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
261
can set a signal handler and call ``signal.siginterrupt(signum,
262
False)`` for it, if the platform and Python version supports it.
263
(Andrew Bennetts, #496813)
265
* New ``bzrlib.initialize`` is recommended for programs using bzrlib to
266
run when starting up; it sets up several things that previously needed
267
to be done separately.
268
(Martin Pool, #507710)
270
* Exporters now support a ``per_file_timestamps`` argument to write out the
271
timestamp of the commit in which a file revision was introduced.
274
* New method ``BzrDir.list_branches()`` that returns a sequence of branches
275
present in a control directory. (Jelmer Vernooij)
277
* New transport methods ``readlink``, ``symlink`` and ``hardlink``.
280
* Remove unused ``CommandFailed`` exception.
286
* ``bzrlib.branchbuilder.BranchBuilder.build_snapshot`` now accepts a
287
``message_callback`` in the same way that commit does. (Robert Collins)
289
* ``bzrlib.builtins.Commit.run`` raises ``bzrlib.errors.BoundBranchOutOfDate``
290
rather than ``bzrlib.errors.BzrCommandError`` when the bound branch is out
291
of date. (Gary van der Merwe)
293
* ``bzrlib.commands.run_bzr`` is more extensible: callers can supply the
294
functions to load or disable plugins if they wish to use a different
295
plugin mechanism; the --help, --version and no-command name code paths
296
now use the generic pluggable command lookup infrastructure.
299
* ``bzrlib.errors.BoundBranchOutOfDate`` has a new field ``extra_help``
300
which can be set to add extra help to the error. (Gary van der Merwe)
302
* New method ``Branch.automatic_tag_name`` that can be used to find the
303
tag name for a particular revision automatically. (Jelmer Vernooij)
305
* The methods ``BzrDir.create_branch()``, ``BzrDir.destroy_branch()`` and
306
``BzrDir.open_branch()`` now take an optional ``name`` argument.
312
* bzr now has a ``.testr.conf`` file in its source tree configured
313
appropriately for running tests with Testrepository
314
(``https://launchpad.net/testrepository``). (Robert Collins)
316
* Documentation about testing with ``subunit`` has been tweaked.
319
* Known failures has been added for resolve --take-other on ParentLoop
320
conflicts. This reflects bug #537956 without fixing it.
323
* New ``bzrlib.tests.test_import_tariff`` can make assertions about what
324
Python modules are loaded, to guard against startup time or library
325
dependency regressions.
328
* PQM will now run with subunit output. To analyze a PQM error use
329
tribunal, or cat log | subunit-filter | subunit2pyunit. (Robert Collins)
331
* Stop sending apport crash files to ``.cache`` in the directory from
332
which ``bzr selftest`` was run. (Martin Pool, #422350)
334
* Tests no longer fail if "close() called during concurrent
335
operation on the same file object" occurs when closing the log file
336
(which can happen if a thread tries to write to the log file at the
337
wrong moment). An warning will be written to ``stderr`` when this
338
happens, and another warning will be written if the log file could not
339
be closed after retrying 100 times. (Andrew Bennetts, #531746)
346
This is a small bugfix release. Upgrading is recommended for anyone
347
running 2.1.0 or earlier.
352
* Allow syscalls to automatically restart when ``TextUIFactory``'s
353
SIGWINCH handler is invoked, avoiding ``EINTR`` errors during blocking
354
IO, which are often poorly handled by Python's libraries and parts of
355
bzrlib. (Andrew Bennetts, #496813)
357
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
358
(Martin Pool, #331095)
360
* Fix plugin packaging on Windows. (Ian Clatworthy, #524162)
362
* Fix stub sftp test server to call os.getcwdu().
363
(Vincent Ladeuil, #526221, #526353)
365
* Fixed CHM generation by moving the NEWS section template into
366
a separate file. (Ian Clatworthy, #524184)
368
* Merge correctly when this_tree is not a WorkingTree. (Aaron Bentley)
370
* Register SIGWINCH handler only when creating a ``TextUIFactory``; avoids
371
problems importing bzrlib from a non-main thread.
372
(Elliot Murphy, #521989)
374
* Standardize the error handling when creating a new ``StaticTuple``
375
(problems will raise TypeError). (Matt Nordhoff, #457979)
377
* Warn if pyrex is too old to compile the new ``SimpleSet`` and
378
``StaticTuple`` extensions, rather than having the build fail randomly.
379
(John Arbash Meinel, #449776)
384
* Added a link to the Desktop Guide. (Ian Clatworthy)
386
* Added What's New in Bazaar 2.1 document. (Ian Clatworthy)
388
* Drop Google Analytics from the core docs as they caused problems
389
in the CHM files. (Ian Clatworthy, #502010)
394
* Added ``bzrlib.osutils.set_signal_handler``, a convenience function that
395
can set a signal handler and call ``signal.siginterrupt(signum,
396
False)`` for it, if the platform and Python version supports it.
397
(Andrew Bennetts, #496813)
403
:Codename: Strasbourg
406
This release marks our second long-term-stable series. The Bazaar team
407
has decided that we will continue to make bugfix-only 2.0.x and 2.1.x
408
releases, along with 2.2 development releases.
410
This is a fairly incremental update, focusing on polish and bugfixing.
411
There are no changes for supported disk formats. Key updates include
412
reduced memory consumption for many operations, a new per-file merge
413
hook, ignore patterns can now include '!' to exclude files, globbing
414
support for all commands on Windows, and support for addressing home
415
directories via ``bzr+ssh://host/~/`` syntax.
417
Users are encouraged to upgrade from the 2.0 stable series.
422
* Don't require testtools to use sftp.
423
(Vincent Ladeuil, #516183)
425
* Fix "AttributeError in Inter1and2Helper" during fetch.
426
(Martin Pool, #513432)
428
* ``bzr update`` performs the two merges in a more logical order and will stop
429
when it encounters conflicts.
430
(Gerard Krol, #113809)
432
* Give a better error message when doing ``bzr bind`` in an already bound
433
branch. (Neil Martinsen-Burrell, #513063)
435
* Ignore ``KeyError`` from ``remove_index`` during ``_abort_write_group``
436
in a pack repository, which can happen harmlessly if the abort occurs during
437
finishing the write group. Also use ``bzrlib.cleanup`` so that any
438
other errors that occur while aborting the individual packs won't be
439
hidden by secondary failures when removing the corresponding indices.
440
(Andrew Bennetts, #423015)
442
* Set the mtime of files exported to a directory by ``bzr export`` all to
443
the same value to avoid confusing ``make`` and other date-based build
444
systems. (Robert Collins, #515631)
449
* Fetching into experimental formats will now print a warning. (Jelmer
455
* ``Repository.deserialise_inventory`` has been renamed to
456
``Repository._deserialise_inventory`` to indicate it is private.
459
* ``Repository.get_inventory_xml`` has been renamed to
460
``Repository._get_inventory_xml`` to indicate it is private.
463
* ``Repository.serialise_inventory`` has been renamed to
464
``Repository._serialise_inventory`` to indicate it is private.
466
* Using the ``bzrlib.chk_map`` module from within multiple threads at the
467
same time was broken due to race conditions with a module level page
468
cache. This shows up as a KeyError in the ``bzrlib.lru_cache`` code with
469
``bzrlib.chk_map`` in the backtrace, and can be triggered without using
470
the same high level objects such as ``bzrlib.repository.Repository``
471
from different threads. chk_map now uses a thread local cache which may
472
increase memory pressure on processes using threads.
473
(Robert Collins, John Arbash Meinel, #514090)
475
* The new ``merge_file_content`` should now be ok with tests to avoid
477
(Vincent Ladeuil, #515597)
482
* Use ``bzrlib.cleanup`` rather than less robust ``try``/``finally``
483
blocks in several places in ``bzrlib.merge``. This avoids masking prior
484
errors when errors like ``ImmortalPendingDeletion`` occur during cleanup
486
(Andrew Bennetts, #517275)
491
* The ``remove_index`` method of
492
``bzrlib.repofmt.pack_repo.AggregateIndex`` no longer takes a ``pack``
493
argument. This argument was always ignored.
494
(Andrew Bennetts, #423015)
499
:Codename: after the bubbles
500
:2.1.0rc2: 2010-01-29
502
This is a quick-turn-around to update a small issue with our new per-file
503
merge hook. We expect no major changes from this to the final 2.1.0.
508
* The new ``merge_file_content`` hook point has been altered to provide a
509
better API where state for extensions can be stored rather than the
510
too-simple function based approach. This fixes a performance regression
511
where branch configuration would be parsed per-file during merge. As
512
part of this the included news_merger has been refactored into a base
513
helper class ``bzrlib.merge.ConfigurableFileMerger``.
514
(Robert Collins, John Arbash Meinel, #513822)
520
:Codename: the 'new' stable
521
:2.1.0rc1: 2009-01-21
523
This is the first stable release candidate for Bazaar's 2.1 series. From
524
this point onwards, the 2.1 series will be considered stable (as the 2.0
525
series) and only bugfixes are expected to be incorporated. The dozen or so
526
bugfixes in the 2.0.4 release are also included in this release (along
527
with more than 15 more bugfixes). Some of the interesting features are
528
support for per-file merge hooks, ``bzr unshelve --preview``, support
529
for using ! in ignore files to exclude files from being ignored, a small
530
memory leak was squashed, and many ``ObjectNotLocked`` errors were fixed.
531
This looks to be a very good start for a new stable series.
537
* Add bug information to log output when available.
538
(Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
540
* Added ``merge_file_content`` hook point to ``Merger``, allowing plugins
541
to register custom merge logic, e.g. to provide smarter merging for
544
* Bazaar now includes the ``news_merge`` plugin. It is disabled by
545
default, to enable it add a ``news_merge_files`` option to your
546
configuration. Consult ``bzr help news_merge`` for more information.
549
* ``bzr branch`` now takes a ``--bind`` option. This lets you
550
branch and bind all in one command. (Ian Clatworthy)
552
* ``bzr switch`` now takes a ``--revision`` option, to allow switching to
553
a specific revision of a branch. (Daniel Watkins, #183559)
555
* ``bzr unshelve --preview`` can now be used to show how a patch on the
556
shelf would be applied to the working tree.
557
(Guilherme Salgado, #308122)
559
* ``bzr update`` now takes a ``--revision`` argument. This lets you
560
change the revision of the working tree to any revision in the
561
ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
564
* ``-Dbytes`` can now be used to display the total number of bytes
565
transferred for the current command. This information is always logged
566
to ``.bzr.log`` for later inspection. (John Arbash Meinel)
568
* New ignore patterns. Patterns prefixed with '!' are exceptions to
569
ignore patterns and take precedence over regular ignores. Such
570
exceptions are used to specify files that should be versioned which
571
would otherwise be ignored. Patterns prefixed with '!!' act as regular
572
ignore patterns, but have highest precedence, even over the '!'
573
exception patterns. (John Whitley, #428031)
575
* The ``supress_warnings`` configuration option has been introduced to disable
576
various warnings (it currently only supports the ``format_deprecation``
577
warning). The new option can be set in any of the following locations:
578
``bazaar.conf``, ``locations.conf`` and/or ``branch.conf``.
579
(Ted Gould, Matthew Fuller, Vincent Ladeuil)
584
* Always show a message if an OS error occurs while trying to run a
585
user-specified commit message editor.
586
(Martin Pool, #504842)
588
* ``bzr diff`` will now use the epoch when it is unable to determine
589
the timestamp of a file, if the revision it was introduced in is a
590
ghost. (Jelmer Vernooij, #295611)
592
* ``bzr switch -b`` can now create branches that are located using directory
593
services such as ``lp:``, even when the branch name doesn't contain a
594
'/'. (Neil Martinsen-Burrell, #495263)
596
* ``bzr unshelve`` has improved messages about what it is doing.
597
(Neil Martinsen-Burrell, #496917)
599
* Concurrent autopacking is more resilient to already-renamed pack files.
600
If we find that a file we are about to obsolete is already obsoleted, we
601
do not try to rename it, and we leave the file in ``obsolete_packs``.
602
The code is also fault tolerant if a file goes missing, assuming that
603
another process already removed the file.
604
(John Arbash Meinel, Gareth White, #507557)
606
* Fix "Too many concurrent requests" in reconcile when network connection
607
fails. (Andrew Bennetts, #503878)
609
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
610
that caused some tests to fail when run in a non-default order.
611
Probably no user impact. (Martin Pool, #504102)
613
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
614
(Andrew Bennetts, #506274)
616
* FTP transports support Unicode paths by encoding/decoding them as utf8.
617
(Vincent Ladeuil, #472161)
619
* Listen to the SIGWINCH signal to update the terminal width.
620
(Vincent Ladeuil, #316357)
622
* Progress bars are now hidden when ``--quiet`` is given.
623
(Martin Pool, #320035)
625
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
626
whatever is written to it. This un-breaks some plugin tests that
627
depended on this behaviour.
628
(Martin Pool, #499757)
630
* When operations update the working tree, all affected files should end
631
up with the same mtime. (eg. when versioning a generated file, if you
632
update the source and the generated file together, the generated file
633
should appear up-to-date.)
634
(John Arbash Meinel, Martin <gzlist>, #488724)
639
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
640
All the builtin commands now use ``add_cleanup`` rather than
641
``try``/``finally`` blocks where applicable as it is simpler and more
642
robust. (Andrew Bennetts)
644
* All except a small number of storage formats are now hidden, making
645
the help for numerous commands far more digestible. (Ian Clatworthy)
647
* Attempts to open a shared repository as a branch (e.g. ``bzr branch
648
path/to/repo``) will now include "location is a repository" as a hint in
649
the error message. (Brian de Alwis, Andrew Bennetts, #440952)
651
* Push will now inform the user when they are trying to push to a foreign
652
VCS for which roundtripping is not supported, and will suggest them to
653
use dpush. (Jelmer Vernooij)
655
* The version of bzr being run is now written to the log file.
658
* Transport network activity indicator is shown more of the time when
659
Bazaar is doing network IO.
665
* Add documentation on creating merges with more than one parent.
666
(Neil Martinsen-Burrell, #481526)
668
* Better explain the --uncommitted option of merge.
669
(Neil Martinsen-Burrell, #505088)
671
* Improve discussion of pending merges in the documentation for
672
``revert``. (Neil Martinsen-Burrell, #505093)
674
* Improved help for ``bzr send``.
675
(Martin Pool, Bojan Nikolic)
677
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
678
including discussions of installation, relevant plugins, security and
679
backup. (Neil Martinsen-Burrell)
681
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
684
* The User Reference is now presented as a series of topics.
685
Many of the included topics have link and format tweaks applied.
691
* Added ``cachedproperty`` decorator to ``bzrlib.decorators``.
694
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
695
to be consistent with instances being lower case and classes being
696
CamelCase. For the features that were more likely to be used, we added a
697
deprecation thunk, but not all. (John Arbash Meinel)
699
* Merger classes (such as ``Merge3Merger``) now expect a ``this_branch``
700
parameter in their constructors, and provide ``this_branch`` as an
701
attribute. (Andrew Bennetts)
703
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
704
by plugins - the original exceptions are now preserved. (Robert Collins)
706
* The Transport ``Server.tearDown`` method is now renamed to
707
``stop_server`` and ``setUp`` to ``start_server`` for consistency with
708
our normal naming pattern, and to avoid confusion with Python's
709
``TestCase.tearDown``. (Martin Pool)
711
* ``WorkingTree.update`` implementations must now accept a ``revision``
717
* Added ``BzrDir.open_branchV3`` smart server request, which can receive
718
a string of details (such as "location is a repository") as part of a
719
``nobranch`` response. (Andrew Bennetts, #440952)
721
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
722
objects but passes str objects straight through. This is used for
723
selftest but may be useful for diff and other operations that generate
724
mixed output. (Robert Collins)
726
* New exception ``NoRoundtrippingSupport``, for use by foreign branch
727
plugins. (Jelmer Vernooij)
732
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
733
running all tests in the current module, once against a pure python
734
implementation, and once against an extension (pyrex/C) implementation.
735
It can be used to dramatically simplify the implementation of
736
``load_tests``. (John Arbash Meinel)
738
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
739
This permits features in testtools such as getUniqueInteger and
740
getUniqueString to be used. Because of this, testtools version 0.9.2 or
741
newer is now a dependency to run bzr selftest. Running with versions of
742
testtools less than 0.9.2 will cause bzr to error while loading the test
743
suite. (Robert Collins)
745
* Shell-like tests now support the command "mv" for moving files. The
746
syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
747
supported. (Neil Martinsen-Burrell)
749
* The test progress bar no longer distinguishes tests that 'errored' from
750
tests that 'failed' - they're all just failures.
758
:2.0.5: NOT RELEASED YET
763
* Avoid ``malloc(0)`` in ``patiencediff``, which is non-portable.
764
(Martin Pool, #331095)
766
* Concurrent autopacking is more resilient to already-renamed pack files.
767
If we find that a file we are about to obsolete is already obsoleted, we
768
do not try to rename it, and we leave the file in ``obsolete_packs``.
769
The code is also fault tolerant if a file goes missing, assuming that
770
another process already removed the file.
771
(John Arbash Meinel, Gareth White, #507557)
773
* Cope with the lockdir ``held/info`` file being empty, which seems to
774
happen fairly often if the process is suddenly interrupted while taking
776
(Martin Pool, #185103)
778
* Give the warning about potentially slow cross-format fetches much
779
earlier on in the fetch operation. Don't show this message during
780
upgrades, and show the correct format indication for remote
782
(Martin Pool, #456077, #515356, #513157)
784
* Handle renames correctly when there are files or directories that
785
differ only in case. (Chris Jones, Martin Pool, #368931)
787
* Fixed CHM generation by moving the NEWS section template into
788
a separate file. (Ian Clatworthy, #524184)
790
* If ``bzr push --create-prefix`` triggers an unexpected ``NoSuchFile``
791
error, report that error rather than failing with an unhelpful
792
``UnboundLocalError``.
793
(Andrew Bennetts, #423563)
795
* Running ``bzr`` command without any arguments now shows bzr
796
version number along with rest of the help text.
797
(Parth Malwankar, #369501)
799
* Use osutils.O_NOINHERIT for some files on win32 to avoid PermissionDenied
801
(Inada Naoki, #524560)
806
* Added ``location-alias`` help topic.
807
(Andrew Bennetts, #337834)
812
:Codename: smooth sailing
815
The fourth bugfix-only release in the 2.0 series contains more than a
816
dozen bugfixes relative to 2.0.3. The primary focus is on handling
817
interruptions and concurrent operations more cleanly, there is also a fair
818
improvement to ``bzr export`` when exporting a remote branch.
824
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
825
fails with an ``ObjectNotLocked`` error. (Andrew Bennetts, #496590)
827
* ``bzr export dir`` now requests all file content as a record stream,
828
rather than requsting the file content one file-at-a-time. This can make
829
exporting over the network significantly faster (54min => 9min in one
830
case). (John Arbash Meinel, #343218)
832
* ``bzr serve`` no longer slowly leaks memory. The compiled
833
``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
834
free resources, and it should have been using ``__dealloc__``.
835
This will likely have an impact on any other process that is serving for
836
an extended period of time. (John Arbash Meinel, #494406)
838
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
839
returns ``EINTR`` by calling ``PyErr_CheckSignals``. This affected the
840
optional ``_readdir_pyx`` extension. (Andrew Bennetts, #495023)
842
* Concurrent autopacks will no longer lose a newly created pack file.
843
There was a race condition, where if the reload happened at the right
844
time, the second packer would forget the name of the newly added pack
845
file. (John Arbash Meinel, Gareth White, #507566)
847
* Give a clearer message if the lockdir disappears after being apparently
848
successfully taken. (Martin Pool, #498378)
850
* Give a warning when fetching between repositories (local or remote) with
851
sufficiently different formats that the content will need to be
852
serialized (ie ``InterDifferingSerializer`` or ``inventory-deltas``), so
853
the user has a clue that upgrading could make it faster.
854
(Martin Pool, #456077)
856
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
857
than using ``warning()``. The log file is opened before logging is set
858
up, and it leads to very confusing: 'no handlers for "bzr"' messages for
859
users, rather than something nicer.
860
(John Arbash Meinel, Barry Warsaw, #503886)
862
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
863
(Martin Pool, John Arbash Meinel, #449372)
865
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
866
build. (there is still the distutils bug
867
http://bugs.python.org/issue644744) (Joe Julian, #175839)
869
* The 2a format wasn't properly restarting autopacks when something
870
changed underneath it (like another autopack). Now concurrent
871
autopackers will properly succeed. (John Arbash Meinel, #495000)
873
* ``TreeTransform`` can now handle when a delta says that the file id for
874
the tree root changes. Rather than trying to rename your working
875
directory, or failing early saying that you can't have multiple
876
tree roots. This also fixes revert, update, and pull when the root id
877
changes. (John Arbash Meinel, #494269, #504390)
879
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
880
the right time will get propagated, rather than silently failing to move
881
the block pointer. (John Arbash Meinel, Gareth White, #495023)
886
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
887
handle exceptions somehow. (Possibly by setting ``# cannot_raise``
888
rather than an ``except ?:`` clause.) This should help prevent bugs like
889
bug #495023. (John Arbash Meinel)
895
:Codename: san francisco airport
898
The fourth beta release in the 2.1 series brings with it a significant
899
number of bugfixes (~20). The test suite is once again (finally) "green"
900
on Windows, and should remain that way for future releases. There are a
901
few performance related updates (faster upgrade and log), and several UI
902
tweaks. There has also been a significant number of tweaks to the runtime
903
documentation. 2.1.0b4 include everything from the 2.0.3 release.
909
* The BZR_SSH environmental variable may now be set to the path of a secure
910
shell client. If currently set to the value ``ssh`` it will now guess the
911
vendor of the program with that name, to restore the old behaviour that
912
indicated the SSH Corporation client use ``sshcorp`` instead as the magic
913
string. (Martin <gzlist@googlemail.com>, #176292)
918
* ``bzr commit`` now has a ``--commit-time`` option.
919
(Alexander Sack, #459276)
921
* ``-Dhpss`` now increases logging done when run on the bzr server,
922
similarly to how it works on the client. (John Arbash Meinel)
924
* New option ``bzr unshelve --keep`` applies the changes and leaves them
925
on the shelf. (Martin Pool, Oscar Fuentes, #492091)
927
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
928
respect a given terminal width. This can be useful when output is
929
redirected or in obscure cases where the default value is not
930
appropriate. Pagers can use it to get a better control of the line
934
* The new command ``bzr lp-mirror`` will request that Launchpad update its
935
mirror of a local branch. This command will only function if launchpadlib
943
* After renaming a file, the dirstate could accidentally reference
944
``source\\path`` rather than ``source/path`` on Windows. This might be a
945
source of some dirstate-related failures. (John Arbash Meinel)
947
* ``bzr commit`` now detects commit messages that looks like file names
948
and issues a warning.
949
(Gioele Barabucci, #73073)
951
* ``bzr ignore /`` no longer causes an IndexError. (Gorden Tyler, #456036)
953
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
954
(#325618, #484109, Marius Kruger)
956
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
957
files with conflicts (similar to ``--merge3``). The contents of the file
958
is a synthesis of all bases used for the merge.
959
(John Arbash Meinel, #40412)
961
* ``bzr mv --quiet`` really is quiet now. (Gordon Tyler, #271790)
963
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
964
(Robert Collins, #84659)
966
* ``bzr serve --quiet`` really is quiet now. (Gordon Tyler, #252834)
968
* Fix bug with redirected URLs over authenticated HTTP.
969
(Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
971
* Interactive merge doesn't leave branch locks behind. (Aaron Bentley)
973
* Lots of bugfixes for the test suite on Windows. We should once again
974
have a test suite with no failures on Windows. (John Arbash Meinel)
976
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
977
variable but returns None if the terminal is not a tty (when output is
978
redirected for example). Also fixes its usage under OSes that doesn't
979
provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
981
(Joke de Buhr, Vincent Ladeuil, #353370, #62539)
982
(John Arbash Meinel, Vincent Ladeuil, #492561)
984
* Terminate ssh subprocesses when no references to them remain, fixing
985
subprocess and file descriptor leaks. (Andrew Bennetts, #426662)
987
* The ``--hardlink`` option of ``bzr branch`` and ``bzr checkout`` now
988
works for 2a format trees. Only files unaffected by content filters
989
will be hardlinked. (Andrew Bennetts, #408193)
991
* The new glob expansion on Windows would replace all ``\`` characters
992
with ``/`` even if it there wasn't a glob to expand, the arg was quoted,
993
etc. Now only change slashes if there is something being glob expanded.
994
(John Arbash Meinel, #485771)
996
* Use our faster ``KnownGraph.heads()`` functionality when computing the
997
new rich-root heads. This can cut a conversion time in half (mysql from
998
13.5h => 6.2h) (John Arbash Meinel, #487632)
1000
* When launching a external diff tool via bzr diff --using, temporary files
1001
are no longer created, rather, the path to the file in the working tree is
1002
passed to the external diff tool. This allows the file to be edited if the
1003
diff tool provides for this. (Gary van der Merwe, #490738)
1005
* The launchpad-open command can now be used from a subdirectory of a
1006
branch, not just from the root of the branch.
1007
(Neil Martinsen-Burrell, #489102)
1013
* ``bzr log`` is now faster. (Ian Clatworthy)
1015
* ``bzr update`` provides feedback on which branch it is up to date with.
1016
(Neil Martinsen-Burrell)
1018
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
1019
For details see the xml8 patch and heads() improvements.
1020
(John Arbash Meinel)
1022
* ``bzrlib.urlutils.local_path_from_url`` now accepts
1023
'file://localhost/' as well as 'file:///' URLs on POSIX. (Michael
1026
* The progress bar now shows only a spinner and per-operation counts,
1027
not an overall progress bar. The previous bar was often not correlated
1028
with real overall operation progress, either because the operations take
1029
nonlinear time, or because at the start of the operation Bazaar couldn't
1030
estimate how much work there was to do. (Martin Pool)
1035
* Lots of documentation tweaks for inline help topics and command help
1041
* ``bzrlib.textui`` (vestigial module) removed. (Martin Pool)
1043
* The Launchpad plugin now has a function ``login`` which will log in to
1044
Launchpad with launchpadlib, and ``load_branch`` which will return the
1045
Launchpad Branch object corresponding to a given Bazaar Branch object.
1051
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
1052
easier to handle what tests you want to run based on what modules can be
1053
imported. (Rather than lots of custom-implemented features that were
1054
basically copy-and-pasted.) (John Arbash Meinel)
1056
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
1057
``time.clock()`` when you want to do performance timing.
1058
``time.time()`` is limited to 15ms resolution on Windows, but
1059
``time.clock()`` gives CPU and not wall-clock time on other platforms.
1060
(John Arbash Meinel)
1062
* Several code paths that were calling ``Transport.get().read()`` have
1063
been changed to the equalivent ``Transport.get_bytes()``. The main
1064
difference is that the latter will explicitly call ``file.close()``,
1065
rather than expecting the garbage collector to handle it. This helps
1066
with some race conditions on Windows during the test suite and sftp
1067
tests. (John Arbash Meinel)
1072
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
1073
unicode strings. (Michael Hudson, #464174)
1079
:Codename: little italy
1083
The third stable release of Bazaar has a small handful of bugfixes. As
1084
expected, this has no internal or external compatibility changes versus
1090
* ``bzr push --use-existing-dir`` no longer crashes if the directory
1091
exists but contains an invalid ``.bzr`` directory.
1092
(Andrew Bennetts, #423563)
1094
* Content filters are now applied correctly after pull, merge and switch.
1095
(Ian Clatworthy, #385879)
1097
* Fix a potential segfault in the groupcompress hash map handling code.
1098
When inserting new entries, if the final hash bucket was empty, we could
1099
end up trying to access if ``(last_entry+1)->ptr == NULL``.
1100
(John Arbash Meinel, #490228)
1102
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
1108
:Codename: after sprint recovery
1109
:2.1.0b3: 2009-11-16
1111
This release was pushed up from its normal release cycle due to a
1112
regression in python 2.4 compatibility in 2.1.0b2. Since this regression
1113
was caught before 2.1.0b2 was officially announced, the full changelog
1114
includes both 2.1.0b3 and 2.1.0b2 changes.
1116
Highlights of 2.1.0b3 are: new globbing code for all commands on Windows,
1117
the test suite now conforms to python's trunk enhanced semantics (skip,
1118
etc.), and ``bzr info -v`` will now report the correct branch and repo
1119
formats for Remote objects.
1125
* Users can define a shelve editor to provide shelf functionality at a
1126
granularity finer than per-patch-hunk. (Aaron Bentley)
1131
* Fix for shell completion and short options. (Benoît PIERRE)
1133
* Fix ``bzr --profile-imports`` with Python 2.6. (Martin Pool)
1135
* Hooks daughter classes should always call the base constructor.
1136
(Alexander Belchenko, Vincent Ladeuil, #389648)
1138
* Improve "Binary files differ" hunk handling. (Aaron Bentley, #436325)
1140
* On Windows, do glob expansion at the command-line level (as is usually
1141
done in bash, etc.) This means that *all* commands get glob expansion
1142
(bzr status, bzr add, bzr mv, etc). It uses a custom command line
1143
parser, which allows us to know if a given section was quoted. It means
1144
you can now do ``bzr ignore "*.py"``.
1145
(John Arbash Meinel, #425510, #426410, #194450)
1147
* Sanitize commit messages that come in from the '-m' flag. We translate
1148
'\r\n' => '\n' and a plain '\r' => '\n'. The storage layer doesn't
1149
allow those because XML store silently translate it anyway. (The parser
1150
auto-translates \r\n => \n in ways that are hard for us to catch.)
1152
* Show correct branch and repository format descriptions in
1153
``bzr info -v`` on a smart server location. (Andrew Bennetts, #196080)
1155
* The fix for bug #186920 accidentally broke compatibility with python
1156
2.4. (Vincent Ladeuil, #475585)
1158
* Using ``Repository.get_commit_builder().record_iter_changes()`` now
1159
correctly sets ``self.inv_sha1`` to a sha1 string and
1160
``self.new_inventory`` to an Inventory instance after calling
1161
``self.finish_inventory()``. (Previously it accidently set both values
1162
as a tuple on ``self.inv_sha1``. This was missed because
1163
``repo.add_revision`` ignores the supplied inventory sha1 and recomputes
1164
the sha1 from the repo directly. (John Arbash Meinel)
1166
* Shelve command refuse to run if there is no real terminal.
1167
(Alexander Belchenko)
1169
* Avoid unnecessarily flushing of trace file; it's now unbuffered at the
1170
Python level. (Martin Pool)
1175
* Include Japanese translations for documentation (Inada Naoki)
1177
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
1178
(rather than user-interaction) data to stdout. This automatically
1179
coordinates with progress bars or other terminal activity, and can be
1181
(Martin Pool, 493944)
1186
* Some of the core groupcompress functionality now releases the GIL before
1187
operation. Similar to how zlib and bz2 operate without the GIL in the
1188
core compression and decompression routines. (John Arbash Meinel)
1193
* -Dhpssvfs will now trigger on ``RemoteBzrDir._ensure_real``, providing
1194
more debugging of VFS access triggers. (Robert Collins)
1196
* KnownFailure is now signalled to ``ExtendedTestResult`` using the same
1197
method that Python 2.7 uses - ``addExpectedFailure``. (Robert Collins)
1199
* ``--parallel=fork`` is now compatible with --subunit.
1200
(Robert Collins, Vincent Ladeuil, #419776)
1202
* Reporting of failures shows test ids not descriptions and thus shows
1203
parameterised tests correctly. (Robert Collins)
1205
* TestNotApplicable is now handled within the TestCase.run method rather
1206
than being looked for within ``ExtendedTestResult.addError``. This
1207
provides better handling with other ``TestResult`` objects, degrading to
1208
sucess rather than error. (Robert Collins)
1210
* The private method ``_testConcluded`` on ``ExtendedTestResult`` has been
1211
removed - it was empty and unused. (Robert Collins)
1213
* UnavailableFeature is now handled within the TestCase.run method rather
1214
than being looked for within addError. If the Result object does not
1215
have an addNotSupported method, addSkip is attempted instead, and
1216
failing that addSuccess. (Robert Collins)
1218
* When a TestResult does not have an addSkip method, skipped tests are now
1219
reported as successful tests, rather than as errors. This change is
1220
to make it possible to get a clean test run with a less capable
1221
TestResult. (Robert Collins)
1228
:Codename: a load off my mind
1229
:2.1.0b2: 2009-11-02
1231
This is our second feature-filled release since 2.0, pushing us down the
1232
path to a 2.1.0. Once again, all bugfixes in 2.0.2 are present in 2.1.0b2.
1234
Key highlights in this release are: improved handling of
1235
failures-during-cleanup for commit, fixing a long-standing bug with
1236
``bzr+http`` and shared repositories, all ``lp:`` urls to be resolved
1237
behind proxies, and a new StaticTuple datatype, allowing us to reduce
1238
memory consumption (50%) and garbage collector overhead (40% faster) for
1241
* A new ``--concurrency`` option has been added as well as an associated
1242
BZR_CONCURRENCY environment variable to specify the number of
1243
processes that can be run concurrently when running ``bzr selftest``. The
1244
command-line option overrides the environment variable if both are
1245
specified. If none is specified. the number of processes is obtained
1246
from the OS as before. (Matt Nordhoff, Vincent Ladeuil)
1251
* ``bzr+http`` servers no longer give spurious jail break errors when
1252
serving branches inside a shared repository. (Andrew Bennetts, #348308)
1254
* Errors during commit are handled more robustly so that knock-on errors
1255
are less likely to occur, and will not obscure the original error if
1256
they do occur. This fixes some causes of ``TooManyConcurrentRequests``
1257
and similar errors. (Andrew Bennetts, #429747, #243391)
1259
* Launchpad urls can now be resolved from behind proxies.
1260
(Gordon Tyler, Vincent Ladeuil, #186920)
1262
* Reduce the strictness for StaticTuple, instead add a debug flag
1263
``-Dstatic_tuple`` which will change apis to be strict and raise errors.
1264
This way, most users won't see failures, but developers can improve
1265
internals. (John Arbash Meinel, #471193)
1267
* TreeTransform.adjust_path updates the limbo paths of descendants of adjusted
1268
files. (Aaron Bentley)
1270
* Unicode paths are now handled correctly and consistently by the smart
1271
server. (Andrew Bennetts, Michael Hudson, #458762)
1276
* When reading index files, we now use a ``StaticTuple`` rather than a
1277
plain ``tuple`` object. This generally gives a 20% decrease in peak
1278
memory, and can give a performance boost up to 40% on large projects.
1279
(John Arbash Meinel)
1281
* Peak memory under certain operations has been reduced significantly.
1282
(eg, 'bzr branch launchpad standalone' is cut in half)
1283
(John Arbash Meinel)
1288
* Filtered views user documentation upgraded to refer to format 2a
1289
instead of pre-2.0 formats. (Ian Clatworthy)
1294
* Remove deprecated ``CLIUIFactory``. (Martin Pool)
1296
* ``UIFactory`` now has new ``show_error``, ``show_message`` and
1297
``show_warning`` methods, which can be hooked by non-text UIs.
1303
* Added ``bzrlib._simple_set_pyx``. This is a hybrid between a Set and a
1304
Dict (it only holds keys, but you can lookup the object located at a
1305
given key). It has significantly reduced memory consumption versus the
1306
builtin objects (1/2 the size of Set, 1/3rd the size of Dict). This is
1307
used as the interning structure for StaticTuple objects.
1308
(John Arbash Meinel)
1310
* ``bzrlib._static_tuple_c.StaticTuple`` is now available and used by
1311
the btree index parser and the chk map parser. This class functions
1312
similarly to ``tuple`` objects. However, it can only point to a limited
1313
collection of types. (Currently StaticTuple, str, unicode, None, bool,
1314
int, long, float, but not subclasses). This allows us to remove it from
1315
the garbage collector (it cannot be in a cycle), it also allows us to
1316
intern the objects. In testing, this can reduce peak memory by 20-40%,
1317
and significantly improve performance by removing objects from being
1318
inspected by the garbage collector. (John Arbash Meinel)
1320
* ``GroupCompressBlock._ensure_content()`` will now release the
1321
``zlib.decompressobj()`` when the first request is for all of the
1322
content. (Previously it would only be released if you made a request for
1323
part of the content, and then all of it later.) This turns out to be a
1324
significant memory savings, as a ``zstream`` carries around approx 260kB
1325
of internal state and buffers. (For branching bzr.dev this drops peak
1326
memory from 382MB => 345MB.) (John Arbash Meinel)
1328
* When streaming content between ``2a`` format repositories, we now clear
1329
caches from earlier versioned files. (So 'revisions' is cleared when we
1330
start reading 'inventories', etc.) This can have a significant impact on
1331
peak memory for initial copies (~200MB). (John Arbash Meinel)
1337
:Codename: after the scare
1340
The second in our "let's keep the stable bugfixes flowing" series. As
1341
expected this has a few (~9) bugfixes relative to 2.0.1, and no major api
1342
changes or features.
1347
* Avoid "NoneType has no attribute st_mode" error when files disappear
1348
from a directory while it's being read. (Martin Pool, #446033)
1350
* Content filters are now applied correctly after revert.
1353
* Diff parsing handles "Binary files differ" hunks. (Aaron Bentley, #436325)
1355
* Fetching from stacked pre-2a repository via a smart server no longer
1356
fails intermittently with "second push failed to complete".
1357
(Andrew Bennetts, #437626)
1359
* Fix typos left after test_selftest refactoring.
1360
(Vincent Ladeuil, Matt Nordhoff, #461149)
1362
* Fixed ``ObjectNotLocked`` errors during ``bzr log -r NNN somefile``.
1363
(Andrew Bennetts, #445171)
1365
* PreviewTree file names are not limited by the encoding of the temp
1366
directory's filesystem. (Aaron Bentley, #436794)
1371
* ``bzr log`` now read-locks branches exactly once, so makes better use of
1372
data caches. (Andrew Bennetts)
1377
* Filtered views user documentation upgraded to refer to format 2a
1378
instead of pre-2.0 formats. (Ian Clatworthy)
1384
:Codename: While the cat is away
1385
:2.1.0b1: 2009-10-14
1387
This is the first development release in the new split "stable" and
1388
"development" series. As such, the release is a snapshot of bzr.dev
1389
without creating a release candidate first. This release includes a
1390
fair amount of internal changes, with deprecated code being removed,
1391
and several new feature developments. People looking for a stable code
1392
base with only bugfixes should focus on the 2.0.1 release. All bugfixes
1393
present in 2.0.1 are present in 2.1.0b1.
1395
Highlights include support for ``bzr+ssh://host/~/homedir`` style urls,
1396
finer control over the plugin search path via extended BZR_PLUGIN_PATH
1397
syntax, visible warnings when extension modules fail to load, and improved
1398
error handling during unlocking.
1404
* Bazaar can now send mail through Apple OS X Mail.app.
1407
* ``bzr+ssh`` and ``bzr`` paths can now be relative to home directories
1408
specified in the URL. Paths starting with a path segment of ``~`` are
1409
relative to the home directory of the user running the server, and paths
1410
starting with ``~user`` are relative to the home directory of the named
1411
user. For example, for a user "bob" with a home directory of
1412
``/home/bob``, these URLs are all equivalent:
1414
* ``bzr+ssh://bob@host/~/repo``
1415
* ``bzr+ssh://bob@host/~bob/repo``
1416
* ``bzr+ssh://bob@host/home/bob/repo``
1418
If ``bzr serve`` was invoked with a ``--directory`` argument, then no
1419
home directories outside that directory will be accessible via this
1422
This is a feature of ``bzr serve``, so pre-2.1 clients will
1423
automatically benefit from this feature when ``bzr`` on the server is
1424
upgraded. (Andrew Bennetts, #109143)
1426
* Extensions can now be compiled if either Cython or Pyrex is available.
1427
Currently Pyrex is preferred, but that may change in the future.
1430
* Give more control on BZR_PLUGIN_PATH by providing a way to refer to or
1431
disable the user, site and core plugin directories.
1432
(Vincent Ladeuil, #412930, #316192, #145612)
1437
* Bazaar's native protocol code now correctly handles EINTR, which most
1438
noticeably occurs if you break in to the debugger while connected to a
1439
bzr+ssh server. You can now can continue from the debugger (by typing
1440
'c') and the process continues. However, note that pressing C-\ in the
1441
shell may still kill the SSH process, which is bug 162509, so you must
1442
sent a signal to the bzr process specifically, for example by typing
1443
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
1445
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1446
filename will issue a warning and skip over those files.
1447
(Robert Collins, #3918)
1449
* ``bzr dpush`` now aborts if uncommitted changes (including pending merges)
1450
are present in the working tree. The configuration option ``dpush_strict``
1451
can be used to set the default for this behavior.
1452
(Vincent Ladeuil, #438158)
1454
* ``bzr merge`` and ``bzr remove-tree`` now requires --force if pending
1455
merges are present in the working tree.
1456
(Vincent Ladeuil, #426344)
1458
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
1459
traceback. (Martin Pool, #109115)
1461
* Don't give a warning on Windows when failing to import ``_readdir_pyx``
1462
as it is never built. (John Arbash Meinel, #430645)
1464
* Don't restrict the command name used to run the test suite.
1465
(Vincent Ladeuil, #419950)
1467
* ftp transports were built differently when the kerberos python module was
1468
present leading to obscure failures related to ASCII/BINARY modes.
1469
(Vincent Ladeuil, #443041)
1471
* Network streams now decode adjacent records of the same type into a
1472
single stream, reducing layering churn. (Robert Collins)
1474
* PreviewTree behaves correctly when get_file_mtime is invoked on an unmodified
1475
file. (Aaron Bentley, #251532)
1477
* Registry objects should not use iteritems() when asked to use items().
1478
(Vincent Ladeuil, #430510)
1480
* Weave based repositories couldn't be cloned when committers were using
1481
domains or user ids embedding '.sig'. Now they can.
1482
(Matthew Fuller, Vincent Ladeuil, #430868)
1487
* Revision specifiers can now be given in a more DWIM form, without
1488
needing explicit prefixes for specifiers like tags or revision id's.
1489
See ``bzr help revisionspec`` for full details. (Matthew Fuller)
1491
* Bazaar gives a warning before exiting, and writes into ``.bzr.log``, if
1492
compiled extensions can't be loaded. This typically indicates a
1493
packaging or installation problem. In this case Bazaar will keep
1494
running using pure-Python versions, but this may be substantially
1495
slower. The warning can be disabled by setting
1496
``ignore_missing_extensions = True`` in ``bazaar.conf``.
1497
See also <https://answers.launchpad.net/bzr/+faq/703>.
1498
(Martin Pool, #406113, #430529)
1500
* Secondary errors that occur during Branch.unlock and Repository.unlock
1501
no longer obscure the original error. These methods now use a new
1502
decorator, ``only_raises``. This fixes many causes of
1503
``TooManyConcurrentRequests`` and similar errors.
1504
(Andrew Bennetts, #429747)
1509
* Describe the new shell-like test feature. (Vincent Ladeuil)
1511
* Help on hooks no longer says 'Not deprecated' for hooks that are
1512
currently supported. (Ian Clatworthy, #422415)
1517
* ``bzrlib.user_encoding`` has been removed; use
1518
``bzrlib.osutils.get_user_encoding`` instead. (Martin Pool)
1520
* ``bzrlib.tests`` now uses ``stopTestRun`` for its ``TestResult``
1521
subclasses - the same as python's unittest module. (Robert Collins)
1523
* ``diff._get_trees_to_diff`` has been renamed to
1524
``diff.get_trees_and_branches_to_diff``. It is now a public API, and it
1525
returns the old and new branches. (Gary van der Merwe)
1527
* ``bzrlib.trace.log_error``, ``error`` and ``info`` have been deprecated.
1530
* ``MutableTree.has_changes()`` does not require a tree parameter anymore. It
1531
now defaults to comparing to the basis tree. It now checks for pending
1532
merges too. ``Merger.check_basis`` has been deprecated and replaced by the
1533
corresponding has_changes() calls. ``Merge.compare_basis``,
1534
``Merger.file_revisions`` and ``Merger.ensure_revision_trees`` have also
1536
(Vincent Ladeuil, #440631)
1538
* ``ProgressTask.note`` is deprecated.
1544
* Added ``-Drelock`` debug flag. It will ``note`` a message every time a
1545
repository or branch object is unlocked then relocked the same way.
1548
* ``BTreeLeafParser.extract_key`` has been tweaked slightly to reduce
1549
mallocs while parsing the index (approx 3=>1 mallocs per key read).
1550
This results in a 10% speedup while reading an index.
1551
(John Arbash Meinel)
1553
* The ``bzrlib.lsprof`` module has a new class ``BzrProfiler`` which makes
1554
profiling in some situations like callbacks and generators easier.
1560
* Passing ``--lsprof-tests -v`` to bzr selftest will cause lsprof output to
1561
be output for every test. Note that this is very verbose! (Robert Collins)
1563
* Setting ``BZR_TEST_PDB=1`` when running selftest will cause a pdb
1564
post_mortem to be triggered when a test failure occurs. (Robert Collins)
1566
* Shell-like tests can now be written. Code in ``bzrlib/tests/script.py`` ,
1567
documentation in ``developers/testing.txt`` for details.
1570
* Some tests could end up with the same id, that was dormant for
1572
(Vincent Ladeuil, #442980)
1574
* Stop showing the number of tests due to missing features in the test
1575
progress bar. (Martin Pool)
1577
* Test parameterisation now does a shallow copy, not a deep copy of the test
1578
to be parameterised. This is not expected to break external use of test
1579
parameterisation, and is substantially faster. (Robert Collins)
1581
* Tests that try to open a bzr dir on an arbitrary transport will now
1582
fail unless they have explicitly permitted the transport via
1583
``self.permit_url``. The standard test factories such as ``self.get_url``
1584
will permit the urls they provide automatically, so only exceptional
1585
tests should need to do this. (Robert Collins)
1587
* The break-in test no longer cares about clean shutdown of the child,
1588
instead it is happy if the debugger starts up. (Robert Collins)
1590
* The full test suite is expected to pass when the C extensions are not
1591
present. (Vincent Ladeuil, #430749)
1597
:Codename: Stability First
1600
The first of our new ongoing bugfix-only stable releases has arrived. It
1601
includes a collection of 12 bugfixes applied to bzr 2.0.0, but does not
1602
include any of the feature development in the 2.1.0 series.
1608
* ``bzr add`` in a tree that has files with ``\r`` or ``\n`` in the
1609
filename will issue a warning and skip over those files.
1610
(Robert Collins, #3918)
1612
* bzr will attempt to authenticate with SSH servers that support
1613
``keyboard-interactive`` auth but not ``password`` auth when using
1614
Paramiko. (Andrew Bennetts, #433846)
1616
* Fixed fetches from a stacked branch on a smart server that were failing
1617
with some combinations of remote and local formats. This was causing
1618
"unknown object type identifier 60" errors. (Andrew Bennetts, #427736)
1620
* Fixed ``ObjectNotLocked`` errors when doing some log and diff operations
1621
on branches via a smart server. (Andrew Bennetts, #389413)
1623
* Handle things like ``bzr add foo`` and ``bzr rm foo`` when the tree is
1624
at the root of a drive. ``osutils._cicp_canonical_relpath`` always
1625
assumed that ``abspath()`` returned a path that did not have a trailing
1626
``/``, but that is not true when working at the root of the filesystem.
1627
(John Arbash Meinel, Jason Spashett, #322807)
1629
* Hide deprecation warnings for 'final' releases for python2.6.
1630
(John Arbash Meinel, #440062)
1632
* Improve the time for ``bzr log DIR`` for 2a format repositories.
1633
We had been using the same code path as for <2a formats, which required
1634
iterating over all objects in all revisions.
1635
(John Arbash Meinel, #374730)
1637
* Make sure that we unlock the tree if we fail to create a TreeTransform
1638
object when doing a merge, and there is limbo, or pending-deletions
1639
directory. (Gary van der Merwe, #427773)
1641
* Occasional IndexError on renamed files have been fixed. Operations that
1642
set a full inventory in the working tree will now go via the
1643
apply_inventory_delta code path which is simpler and easier to
1644
understand than dirstates set_state_from_inventory method. This may
1645
have a small performance impact on operations built on _write_inventory,
1646
but such operations are already doing full tree scans, so no radical
1647
performance change should be observed. (Robert Collins, #403322)
1649
* Retrieving file text or mtime from a _PreviewTree has good performance when
1650
there are many changes. (Aaron Bentley)
1652
* The CHK index pages now use an unlimited cache size. With a limited
1653
cache and a large project, the random access of chk pages could cause us
1654
to download the entire cix file many times.
1655
(John Arbash Meinel, #402623)
1657
* When a file kind becomes unversionable after being added, a sensible
1658
error will be shown instead of a traceback. (Robert Collins, #438569)
1663
* Improved README. (Ian Clatworthy)
1665
* Improved upgrade documentation for Launchpad branches.
1673
:Codename: Instant Karma
1675
This release of Bazaar makes the 2a (previously 'brisbane-core') format
1676
the default when new branches or repositories are created. This format is
1677
substantially smaller and faster for many operations. Most of the work in
1678
this release focuses on bug fixes and stabilization, covering both 2a and
1679
previous formats. (See the Upgrade Guide for information on migrating
1682
This release also improves the documentation content and presentation,
1683
including adding Windows HtmlHelp manuals.
1685
The Bazaar team decided that 2.0 will be a long-term supported release,
1686
with bugfix-only 2.0.x releases based on it, continuing for at least six
1687
months or until the following stable release.
1689
Changes from 2.0.0rc2 to final
1690
******************************
1692
* Officially branded as 2.0.0 rather than 2.0 to clarify between things
1693
that "want to happen on the 2.0.x stable series" versus things that want
1694
to "land in 2.0.0". (Changes how bzrlib._format_version_tuple() handles
1695
micro = 0.) (John Arbash Meinel)
1701
:2.0.0rc2: 2009-09-10
1706
* Added post_commit hook for mutable trees. This allows the keywords
1707
plugin to expand keywords on files changed by the commit.
1708
(Ian Clatworthy, #408841)
1713
* Bazaar's native protocol code now correctly handles EINTR, which most
1714
noticeably occurs if you break in to the debugger while connected to a
1715
bzr+ssh server. You can now can continue from the debugger (by typing
1716
'c') and the process continues. However, note that pressing C-\ in the
1717
shell may still kill the SSH process, which is bug 162509, so you must
1718
sent a signal to the bzr process specifically, for example by typing
1719
``kill -QUIT PID`` in another shell. (Martin Pool, #341535)
1721
* ``bzr check`` in pack-0.92, 1.6 and 1.9 format repositories will no
1722
longer report incorrect errors about ``Missing inventory ('TREE_ROOT', ...)``
1723
(Robert Collins, #416732)
1725
* ``bzr info -v`` on a 2a format still claimed that it was a "Development
1726
format" (John Arbash Meinel, #424392)
1728
* ``bzr log stacked-branch`` shows the full log including
1729
revisions that are in the fallback repository. (Regressed in 2.0rc1).
1730
(John Arbash Meinel, #419241)
1732
* Clearer message when Bazaar runs out of memory, instead of a ``MemoryError``
1733
traceback. (Martin Pool, #109115)
1735
* Conversion to 2a will create a single pack for all the new revisions (as
1736
long as it ran without interruption). This improves both ``bzr upgrade``
1737
and ``bzr pull`` or ``bzr merge`` from local branches in older formats.
1738
The autopack logic that occurs every 100 revisions during local
1739
conversions was not returning that pack's identifier, which resulted in
1740
the partial packs created during the conversion not being consolidated
1741
at the end of the conversion process. (Robert Collins, #423818)
1743
* Fetches from 2a to 2a are now again requested in 'groupcompress' order.
1744
Groups that are seen as 'underutilized' will be repacked on-the-fly.
1745
This means that when the source is fully packed, there is minimal
1746
overhead during the fetch, but if the source is poorly packed the result
1747
is a fairly well packed repository (not as good as 'bzr pack' but
1748
good-enough.) (Robert Collins, John Arbash Meinel, #402652)
1750
* Fix a potential segmentation fault when doing 'log' of a branch that had
1751
ghosts in its mainline. (Evaluating None as a tuple is bad.)
1752
(John Arbash Meinel, #419241)
1754
* ``groupcompress`` sort order is now more stable, rather than relying on
1755
``topo_sort`` ordering. The implementation is now
1756
``KnownGraph.gc_sort``. (John Arbash Meinel)
1758
* Local data conversion will generate correct deltas. This is a critical
1759
bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before
1760
converting repositories. (Robert Collins, #422849)
1762
* Network streams now decode adjacent records of the same type into a
1763
single stream, reducing layering churn. (Robert Collins)
1765
* Prevent some kinds of incomplete data from being committed to a 2a
1766
repository, such as revisions without inventories, a missing chk_bytes
1767
record for an inventory, or a missing text referenced by an inventory.
1768
(Andrew Bennetts, #423506, #406687)
1773
* Fix assertion error about "_remember_remote_is_before" when pushing to
1774
older smart servers.
1775
(Andrew Bennetts, #418931)
1777
* Help on hooks no longer says 'Not deprecated' for hooks that are
1778
currently supported. (Ian Clatworthy, #422415)
1780
* PDF and CHM (Windows HtmlHelp) formats are now supported for the
1781
user documentation. The HTML documentation is better broken up into
1782
topics. (Ian Clatworthy)
1784
* The developer and foreign language documents are now separated
1785
out so that searching in the HTML and CHM files produces more
1786
useful results. (Ian Clatworthy)
1788
* The main table of contents now provides links to the new Migration Docs
1789
and Plugins Guide. (Ian Clatworthy)
1795
:Codename: no worries
1796
:2.0.0rc1: 2009-08-26
1798
Compatibility Breaks
1799
********************
1801
* The default format for bzr is now ``2a``. This format brings many
1802
significant performance and size improvements. bzr can pull from
1803
any existing repository into a ``2a`` one, but can only transfer
1804
from ``2a`` into ``rich-root`` repositories. The Upgrade guide
1805
has more information about this change. (Robert Collins)
1807
* On Windows auto-detection of Putty's plink.exe is disabled.
1808
Default SSH client for Windows is paramiko. User still can force
1809
usage of plink if explicitly set environment variable BZR_SSH=plink.
1810
(#414743, Alexander Belchenko)
1815
* ``bzr branch --switch`` can now switch the checkout in the current directory
1816
to the newly created branch. (Lukáš Lalinský)
1821
* Further tweaks to handling of ``bzr add`` messages about ignored files.
1822
(Jason Spashett, #76616)
1824
* Fetches were being requested in 'groupcompress' order, but weren't
1825
recombining the groups. Thus they would 'fragment' to get the correct
1826
order, but not 'recombine' to actually benefit from it. Until we get
1827
recombining to work, switching to 'unordered' fetches avoids the
1828
fragmentation. (John Arbash Meinel, #402645)
1830
* Fix a pycurl related test failure on karmic by recognizing an error
1831
raised by newer versions of pycurl.
1832
(Vincent Ladeuil, #306264)
1834
* Fix a test failure on karmic by making a locale test more robust.
1835
(Vincent Ladeuil, #413514)
1837
* Fix IndexError printing CannotBindAddress errors.
1838
(Martin Pool, #286871)
1840
* Fix "Revision ... not present" errors when upgrading stacked branches,
1841
or when doing fetches from a stacked source to a stacked target.
1842
(Andrew Bennetts, #399140)
1844
* ``bzr branch`` of 2a repositories over HTTP is much faster. bzr now
1845
batches together small fetches from 2a repositories, rather than
1846
fetching only a few hundred bytes at a time.
1847
(Andrew Bennetts, #402657)
1852
* A better description of the platform is shown in crash tracebacks, ``bzr
1853
--version`` and ``bzr selftest``.
1854
(Martin Pool, #409137)
1856
* bzr can now (again) capture crash data through the apport library,
1857
so that a single human-readable file can be attached to bug reports.
1858
This can be disabled by using ``-Dno_apport`` on the command line, or by
1859
putting ``no_apport`` into the ``debug_flags`` section of
1861
(Martin Pool, Robert Collins, #389328)
1863
* ``bzr push`` locally on windows will no longer give a locking error with
1864
dirstate based formats. (Robert Collins)
1866
* ``bzr shelve`` and ``bzr unshelve`` now work on windows.
1867
(Robert Collins, #305006)
1869
* Commit of specific files no longer prevents using the iter_changes
1870
codepath. On 2a repositories, commit of specific files should now be as
1871
fast, or slightly faster, than a full commit. (Robert Collins)
1873
* The internal core code that handles specific file operations like
1874
``bzr st FILENAME`` or ``bzr commit FILENAME`` has been changed to
1875
include the parent directories if they have altered, and when a
1876
directory stops being a directory its children are always included. This
1877
fixes a number of causes for ``InconsistentDelta`` errors, and permits
1878
faster commit of specific paths. (Robert Collins, #347649)
1883
* New developer documentation for content filtering.
1889
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
1890
classes changed to manage lock lifetime of the trees they open in a way
1891
consistent with reader-exclusive locks. (Robert Collins, #305006)
1899
:Codename: nein nein nein!
1902
This release fixes two small but worthwhile bugs relevant to users on
1903
Microsoft Windows: some commands that failed on with locking errors will
1904
now work, and a bug that caused poor performance after committing a file
1905
with line-ending conversion has now been fixed. It also fixes a bug in
1906
pushing to older servers.
1911
* Fixed a problem where using content filtering and especially end-of-line
1912
conversion will commit too many copies a file.
1913
(Martin Pool, #415508)
1915
* Fix assertion error about ``_remember_remote_is_before`` in
1916
``set_tags_bytes`` when pushing to older smart servers.
1917
(Andrew Bennetts, Alexander Belchenko, #418931)
1922
* ``bzr push`` locally on Windows will no longer give a locking error with
1923
dirstate based formats. (Robert Collins)
1925
* ``bzr shelve`` and ``bzr unshelve`` now work on Windows.
1926
(Robert Collins, #305006)
1931
* ``bzrlib.shelf_ui`` has had the ``from_args`` convenience methods of its
1932
classes changed to manage lock lifetime of the trees they open in a way
1933
consistent with reader-exclusive locks. (Robert Collins, #305006)
1935
* ``Tree.path_content_summary`` may return a size of None, when called on
1936
a tree with content filtering where the size of the canonical form
1937
cannot be cheaply determined. (Martin Pool)
1939
* When manually creating transport servers in test cases, a new helper
1940
``TestCase.start_server`` that registers a cleanup and starts the server
1941
should be used. (Robert Collins)
1946
Compatibility Breaks
1947
********************
1949
* Committing directly to a stacked branch from a lightweight checkout will
1950
no longer work. In previous versions this would appear to work but would
1951
generate repositories with insufficient data to create deltas, leading
1952
to later errors when branching or reading from the repository.
1953
(Robert Collins, bug #375013)
1961
* Fetching from 2a branches from a version-2 bzr protocol would fail to
1962
copy the internal inventory pages from the CHK store. This cannot happen
1963
in normal use as all 2a compatible clients and servers support the
1964
version-3 protocol, but it does cause test suite failures when testing
1965
downlevel protocol behaviour. (Robert Collins)
1967
* Fix a test failure on karmic by making a locale test more robust.
1968
(Vincent Ladeuil, #413514)
1970
* Fixed "Pack ... already exists" error when running ``bzr pack`` on a
1971
fully packed 2a repository. (Andrew Bennetts, #382463)
1973
* Further tweaks to handling of ``bzr add`` messages about ignored files.
1974
(Jason Spashett, #76616)
1976
* Properly handle fetching into a stacked branch while converting the
1977
data, especially when there are also ghosts. The code was filling in
1978
parent inventories incorrectly, and also not handling when one of the
1979
parents was a ghost. (John Arbash Meinel, #402778, #412198)
1981
* ``RemoteStreamSource.get_stream_for_missing_keys`` will fetch CHK
1982
inventory pages when appropriate (by falling back to the vfs stream
1983
source). (Andrew Bennetts, #406686)
1985
* StreamSource generates rich roots from non-rich root sources correctly
1986
now. (Andrew Bennetts, #368921)
1988
* When deciding whether a repository was compatible for upgrading or
1989
fetching, we previously incorrectly checked the default repository
1990
format for the bzrdir format, rather than the format that was actually
1991
present on disk. (Martin Pool, #408824)
1996
* A better description of the platform is shown in crash tracebacks, ``bzr
1997
--version`` and ``bzr selftest``.
1998
(Martin Pool, #409137)
2000
* Cross-format fetches (such as between 1.9-rich-root and 2a) via the
2001
smart server are more efficient now. They send inventory deltas rather
2002
than full inventories. The smart server has two new requests,
2003
``Repository.get_stream_1.19`` and ``Repository.insert_stream_1.19`` to
2004
support this. (Andrew Bennetts, #374738, #385826)
2006
* Extracting the full ancestry and computing the ``merge_sort`` is now
2007
significantly faster. This effects things like ``bzr log -n0``. (For
2008
example, ``bzr log -r -10..-1 -n0 bzr.dev`` is 2.5s down to 1.0s.
2009
(John Arbash Meinel)
2020
* ``-Dstrict_locks`` can now be used to check that read and write locks
2021
are treated properly w.r.t. exclusivity. (We don't try to take an OS
2022
read lock on a file that we already have an OS write lock on.) This is
2023
now set by default for all tests, if you have a test which cannot be
2024
fixed, you can use ``self.thisFailsStrictLockCheck()`` as a
2025
compatibility knob. (John Arbash Meinel)
2027
* InterDifferingSerializer is now only used locally. Other fetches that
2028
would have used InterDifferingSerializer now use the more network
2029
friendly StreamSource, which now automatically does the same
2030
transformations as InterDifferingSerializer. (Andrew Bennetts)
2032
* ``KnownGraph`` now has a ``.topo_sort`` and ``.merge_sort`` member which
2033
are implemented in pyrex and significantly faster. This is exposed along
2034
with ``CombinedGraphIndex.find_ancestry()`` as
2035
``VersionedFiles.get_known_graph_ancestry(keys)``.
2036
(John Arbash Meinel)
2038
* RemoteBranch.open now honours ignore_fallbacks correctly on bzr-v2
2039
protocols. (Robert Collins)
2041
* The index code now has some specialized routines to extract the full
2042
ancestry of a key in a more efficient manner.
2043
``CombinedGraphIndex.find_ancestry()``. (Time to get ancestry for
2044
bzr.dev drops from 1.5s down to 300ms. For OOo from 33s => 10.5s) (John
2050
* Install the test ssl certificate and key so that installed bzr
2051
can run the https tests. (Denys Duchier, #392401)
2057
:Codename: little traveller
2059
:1.18rc1: 2009-08-10
2061
This release of Bazaar marches on towards the 2.0 release in which the 2a
2062
'brisbane-core' format becomes generally recommended. Most of the work in
2063
this release now focusses on bug fixes and stabilization, covering both 2a
2064
and previous formats. There is a new text-mode interactive merge feature,
2065
a new guide to migration to 2a format in the user documentation, and
2066
pushing branches to a smart server is now much faster.
2068
The Bazaar team decided that 2.0 will be a long-term supported release,
2069
with bugfix-only releases based on it continuing for at least six months
2070
or until the following stable release.
2072
There are no changes from 1.18rc1 to 1.18.
2077
* ``bzr merge --interactive`` applies a user-selected portion of the
2078
merge. The UI is similar to ``shelve``. (Aaron Bentley)
2080
* ``bzr reconfigure`` now takes options ``--stacked-on URL`` and
2081
``--unstacked`` to change stacking of a branch.
2082
(Martin Pool, #391411)
2087
* Annotating on a stacked branch will now succeed in simple scenarios.
2088
There are still some complex scenarios where it will fail (bug #399884)
2089
(John Arbash Meinel, #393366)
2091
* A progress bar is no longer left dangling when ``bzr selftest``
2092
completes, and the progress bar updates with zero latency so the
2093
displayed test name is always the one that's actually running.
2094
(Martin Pool, #123688)
2096
* Authenticating against an ssh server now uses ``auth_none`` to determine
2097
if password authentication is even supported. This fixes a bug where
2098
users would be prompted for a launchpad password, even though launchpad
2099
only supports publickey authentication. (John Arbash Meinel, #375867)
2101
* BranchBuilder now accepts timezone to avoid test failures in countries far
2102
from GMT. (Vincent Ladeuil, #397716)
2104
* ``bzr commit`` no longer saves the unversioning of missing files until
2105
the commit has completed on the branch. This means that aborting a
2106
commit that found a missing file will leave the tree unedited.
2107
(Robert Collins, #282402)
2109
* ``bzr mv`` no longer takes out branch locks, which allows it to work
2110
when the branch is readonly. (Robert Collins, #216541)
2112
* ``bzr revert .`` no longer generates an InconsistentDelta error when
2113
there are missing subtrees. (Robert Collins, #367632)
2115
* ``bzr send`` now generates valid bundles with ``--2a`` formats. However,
2116
do to internal changes necessary to support this, older clients will
2117
fail when trying to insert them. For newer clients, the bundle can be
2118
used to apply the changes to any rich-root compatible format.
2119
(John Arbash Meinel, #393349)
2121
* Cope with FTP servers that don't support restart/append by falling back
2122
to reading and then rewriting the whole file, such as TahoeLAFS. (This
2123
fallback may be slow for some access patterns.) (Nils Durner, #294709)
2125
* Encode the paths in ``mbcs`` encoding on Windows when spawning an
2126
external diff client. This at least allows supporting filenames that are
2127
not ascii, but are present in the current locale. Ideally we would be
2128
able to pass the Unicode path, but that would be client dependent.
2129
(John Arbash Meinel, #382709)
2131
* Fix a compile bug on Solaris having to do with const and
2132
pointer-to-pointers. (John Arbash Meinel, #408441)
2134
* Fixed a NameError that occurs when merging or pulling from a URL that
2135
causes a redirection loop when bzr tries to read a URL as a bundle.
2136
(Andrew Bennetts, #400847)
2138
* Fix ``AttributeError: 'TestUIFactory' object has no attribute 'tick'``
2139
running send and similar commands on 2a formats.
2140
(Martin Pool, #408201)
2142
* Fix crash in some invocations of ``bzr status`` in format 2a.
2143
(Martin Pool, #403523)
2145
* Fixed export to existing directory: if directory is empty then export
2146
will succeed, otherwise it fails with error.
2147
(Alexander Belchenko, #406174)
2149
* Fixed spurious "Source branch does not support stacking" warning when
2150
pushing. (Andrew Bennetts, #388908)
2152
* Fixed spurious transport activity indicator appearing while tests are
2153
running. (Martin Pool, #343532)
2155
* Merge now correctly handles empty right-hand revision specs.
2156
(Aaron Bentley, #333961)
2158
* Renames to lexographically lower basenames in trees that have never been
2159
committed to will no longer corrupt the dirstate. This was caused by an
2160
bug in the dirstate update_minimal method. (Robert Collins, #395556)
2162
* Requests for unknown methods no longer cause the smart server to log
2163
lots of backtraces about ``UnknownSmartMethod``, ``do_chunk`` or
2164
``do_end``. (Andrew Bennetts, #338561)
2166
* Shelve will not shelve the initial add of the tree root. (Aaron Bentley)
2168
* Streaming from bzr servers where there is a chain of stacked branches
2169
(A stacked on B stacked on C) will now work. (Robert Collins, #406597)
2171
* The environment variable ``BZR_PROGRESS_BAR`` set to either ``text`` or ``none``
2172
always forces progress bars either on or off respectively. Otherwise,
2173
they're turned on if ``TERM`` is not ``dumb`` and stderr is a terminal.
2174
bzr always uses the 'text' user interface when run as a command, so
2175
``BZR_USE_TEXT_UI`` is no longer needed.
2176
(Martin Pool, #339385, #387717)
2178
* The optional ``_knit_load_data_pyx`` C extension was never being
2179
imported. This caused significant slowdowns when reading data from
2180
repositories. (Andrew Bennetts, #405653)
2182
* The ``--hardlink`` option to ``branch`` and ``checkout`` is not
2183
supported at the moment on workingtree formats that can do content
2184
filtering. (See <https://bugs.edge.launchpad.net/bzr/+bug/408193>.)
2185
bzr now says so, rather than just ignoring the option. (Martin Pool)
2187
* There was a bug in ``osutils.relpath`` that was only triggered on
2188
Windows. Essentially if you were at the root of a drive, and did
2189
something to a branch/repo on another drive, we would go into an
2190
infinite loop while trying to find a 'relative path'.
2191
(John Arbash Meinel, #394227)
2193
* ``WorkingTree4.unversion`` will no longer fail to unversion ids which
2194
were present in a parent tree but renamed in the working tree.
2195
(Robert Collins, #187207)
2200
* Can now rename/move files even if they have been removed from the inventory.
2203
* Pushing branches with tags via ``bzr://`` and ``bzr+ssh://`` is much
2204
faster, using a new ``Branch.set_tags_bytes`` smart server verb rather
2205
than VFS methods. For example, pushes of small branches with tags take
2206
11 rather than 18 smart server requests. (Andrew Bennetts, #398608)
2208
* Sending Ctrl-Break on Windows will now drop you into the debugger, in
2209
the same way that sending Ctrl-\\ does on other platforms.
2210
(John Arbash Meinel)
2215
* Added Bazaar 2.0 Upgrade Guide. (Ian Clatworthy)
2220
* ``CLIUIFactory`` is deprecated; use ``TextUIFactory`` instead if you
2221
need to subclass or create a specific class, or better yet the existing
2222
``make_ui_for_terminal``. ``SilentUIFactory`` is clarified to do no
2223
user interaction at all, rather than trying to read from stdin but not
2224
writing any output, which would be strange if reading prompts or
2225
passwords. (Martin Pool)
2227
* New TransformPreview.commit() allows committing without a working tree.
2230
* ``pb`` parameter to ``TextTestResult`` is deprecated and ignored.
2233
* ProgressTasks now prefer to talk direct to their ProgressView not to the
2237
* ``WorkingTree._check`` now requires a references dict with keys matching
2238
those returned by ``WorkingTree._get_check_refs``. (Robert Collins)
2243
* ``CHKInventory.path2id`` uses the parent_id to basename hash to avoid
2244
reading the entries along the path, reducing work to lookup ids from
2245
paths. (Robert Collins)
2247
* ``CHKMap.apply_delta`` now raises ``InconsistentDelta`` if a delta adds
2248
as new a key which was already mapped. (Robert Collins)
2250
* Inventory delta application catches more cases of corruption and can
2251
prevent corrupt deltas from affecting consistency of data structures on
2252
disk. (Robert Collins)
2254
* --subunit support now adds timestamps if the subunit version supports
2255
it. (Robert Collins)
2257
* The Windows all-in-one installer now bundles the PyQt image format
2258
plugins, which allows previewing more images as part of 'qdiff'.
2259
(Alexander Belchenko)
2265
* Merge directive cherrypick tests must use the same root id.
2266
(Martin Pool, #409684)
2268
* Spurious failure in ``check`` tests on rich-root formats fixed.
2269
(Martin Pool, #408199)
2271
* The ``bzrlib.tests.TextTestRunner`` will no longer call
2272
``countTestsCases`` on the test being run. Progress information is
2273
instead handled by having the test passed in call ``result.progress``
2274
before running its contents. This improves the behaviour when using
2275
``TextTestRunner`` with test suites that don't support
2276
``countTestsCases``. (Robert Collins)
2279
bzr 1.17.1 (unreleased)
2280
#######################
2285
* The optional ``_knit_load_data_pyx`` C extension was never being
2286
imported. This caused significant slowdowns when reading data from
2287
knit format repositories. (Andrew Bennetts, #405653)
2292
:Codename: so-late-its-brunch
2293
:1.17rc1: 2009-07-13
2297
Bazaar continues to blaze a straight and shining path to the 2.0 release and
2298
the elevation of the ``2a`` beta format to the full glory of "supported and
2301
Highlights in this release include greatly reduced memory consumption during
2302
commits, faster ``ls``, faster ``annotate``, faster network operations if
2303
you're specifying a revision number and the final destruction of those
2304
annoying progress bar artifacts.
2307
Changes from 1.17rc1 to 1.17final
2308
*********************************
2310
* Change an extension to call the python ``frozenset()`` rather than the C
2311
api ``PyFrozenSet_New``. It turns out that python2.4 did not expose the
2312
C api. (John Arbash Meinel, #399366)
2314
* Fixes for the Makefile and the rename of ``generate_docs.py`` to
2315
``tools/generate_docs.py`` to allow everything to be built on Windows.
2316
(John Arbash Meinel, #399356)
2318
* ``bzr serve`` once again applies a ``ChrootServer`` to the given
2319
directory before serving it. (Andrew Bennetts, #400535)
2322
Compatibility Breaks
2323
********************
2325
* ``bzr register-branch`` from the Launchpad plugin now refers to "project"
2326
instead of "product" which is the correct Launchpad terminology. The
2327
--product option is deprecated and users should switch to using --project.
2328
(Neil Martinsen-Burrell, #238764)
2334
* ``bzr push`` now aborts if uncommitted changes (including pending merges)
2335
are present in the working tree (if one is present) and no revision is
2336
specified. The configuration option ``push_strict`` can be used to set the
2337
default for this behavior. (Vincent Ladeuil, #284038, #322808, #65286)
2339
* ``bzr revno`` and ``bzr revision-info`` now have a ``--tree`` option to
2340
show revision info for the working tree instead of the branch.
2341
(Matthew Fuller, John Arbash Meinel)
2343
* ``bzr send`` now aborts if uncommitted changes (including pending merges)
2344
are present in the working tree and no revision is specified. The
2345
configuration option ``send_strict`` can be used to set the default for this
2347
(Vincent Ladeuil, #206577)
2349
* ``bzr switch --create-branch/-b`` can now be used to create and switch
2350
to a new branch. Supplying a name without a ``/`` will create the branch
2351
relative to the existing branch. (similar to how ``bzr switch name``
2352
works when the branch already exists.) (John Arbash Meinel)
2358
* Accept uppercase "Y/N" to prompts such as from break lock.
2359
(#335182, Tim Powell, Martin Pool)
2361
* Add documentation about diverged branches and how to fix them in the
2362
centralized workflow with local commits. Mention ``bzr help
2363
diverged-branches`` when a push fails because the branches have
2364
diverged. (Neil Martinsen-Burrell, #269477)
2366
* Annotate would sometimes 'latch on' to trivial lines, causing important
2367
lines to be incorrectly annotated. (John Arbash Meinel, #387952)
2369
* Automatic format upgrades triggered by default stacking policies on a
2370
1.16rc1 (or later) smart server work again.
2371
(Andrew Bennetts, #388675)
2373
* Avoid progress bar artifacts being left behind on the screen.
2374
(Martin Pool, #321935)
2376
* Better message in ``bzr split`` error suggesting a rich root format.
2377
(Neil Martinsen-Burrell, #220067)
2379
* ``Branch.set_append_revisions_only`` now works with branches on a smart
2380
server. (Andrew Bennetts, #365865)
2382
* By default, ``bzr branch`` will fail if the target directory exists, but
2383
does not already have a control directory. The flag ``--use-existing-dir``
2384
will allow operation to proceed. (Alexander Belchenko, #307554)
2386
* ``bzr ls DIR --from-root`` now shows only things in DIR, not everything.
2389
* Fetch between repositories does not error if they have inconsistent data
2390
that should be irrelevant to the fetch operation. (Aaron Bentley)
2392
* Fix ``AttributeError`` exception when reconfiguring lightweight checkout
2393
of a remote repository.
2394
(Jelmer Vernooij, #332194)
2396
* Fix bug in decoding v3 smart server messages when receiving multiple
2397
lots of excess bytes after an end-of-message.
2400
* Force deletion of readonly files during merge, update and other tree
2402
(Craig Hewetson, Martin Pool, #218206)
2404
* Force socket shutdown in threaded http test servers to avoid client hangs
2405
(pycurl). (Vincent Ladeuil, #383920).
2407
* ``LRUCache`` will maintain the linked list pointers even if a nodes
2408
cleanup function raises an exception. (John Arbash Meinel, #396838)
2410
* Progress bars are now suppressed again when the environment variable
2411
``BZR_PROGRESS_BAR`` is set to ``none``.
2412
(Martin Pool, #339385)
2414
* Reduced memory consumption during ``bzr commit`` of large files. For
2415
pre 2a formats, should be down to ~3x the size of a file.
2416
For ``--2a`` format repositories, it is down to the size of the file
2417
content plus the size of the compressed text. Related to bug #109114.
2418
(John Arbash Meinel)
2420
* Set hidden attribute on .bzr directory below unicode path should never
2421
fail with error. The operation should succeed even if bzr unable to set
2422
the attribute. (Alexander Belchenko, related to bug #335362).
2424
* Stacking will no longer accept requests to stack on the same
2425
branch/repository. Existing branches that incorrectly reference the same
2426
repository in a stacking configuration will now raise
2427
UnstackableLocationError when the branch is opened. This can be fixed by
2428
removing the stacking location inside ``.bzr/branch``.
2429
(Robert Collins, #376243)
2431
* The ``log+`` decorator, useful in debugging or profiling, could cause
2432
"AttributeError: 'list' object has no attribute 'next'". This is now
2433
fixed. The log decorator no longer shows the elapsed time or transfer
2434
rate because they're available in the log prefixes and the transport
2435
activity display respectively.
2436
(Martin Pool, #340347)
2438
* Unshelve works correctly when multiple zero-length files are present on
2439
the shelf. (Aaron Bentley, #363444)
2441
* Progress bars no longer show the network transport scheme or direction.
2444
* launchpad-login now respects the 'verbose' option.
2445
(Jonathan Lange, #217031)
2451
* ``bzrlib.user_encoding`` is now officially deprecated. It is not
2452
possible to write a deprecation wrapper, but the variable will be
2453
removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
2454
instead. (Alexander Belchenko)
2456
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
2457
three new hook points: ``get_command``, ``get_missing_command`` and
2458
``list_commands``, which allow just-in-time command name provision
2459
rather than requiring all command names be known a-priori.
2462
* ``get_app_path`` from win32utils.py now supports REG_EXPAND_SZ data type
2463
and can read path to wordpad.exe. (Alexander Belchenko, #392046)
2465
* ``graph.KnownGraph`` has been added. This is a class that can give
2466
answers to ``heads()`` very quickly. However, it has the assumption that
2467
the whole graph has already been loaded. This is true during
2468
``annotate`` so it is used there with good success (as much as 2x faster
2469
for files with long ancestry and 'cherrypicked' changes.)
2470
(John Arbash Meinel, Vincent Ladeuil)
2472
* OS file locks are now taken out using ``CreateFile`` rather than
2473
``LockFileEx`` on Windows. The locking remains exclusive with
2474
``LockFileEx`` but now it also works on older versions of Windows (such
2475
as Win98). (Martin <gzlist>)
2477
* pack <=> pack fetching is now done via a ``PackStreamSource`` rather
2478
than the ``Packer`` code. The user visible change is that we now
2479
properly fetch the minimum number of texts for non-smart fetching.
2480
(John Arbash Meinel)
2483
* ``VersionedFiles._add_text`` is a new api that lets us insert text into
2484
the repository as a single string, rather than a list of lines. This can
2485
improve memory overhead and performance of committing large files.
2486
(Currently a private api, used only by commit). (John Arbash Meinel)
2492
* ``bzr annotate`` can now be significantly faster. The time for
2493
``bzr annotate NEWS`` is down to 7s from 22s in 1.16. Files with long
2494
histories and lots of 'duplicate insertions' will be improved more than
2495
others. (John Arbash Meinel, Vincent Ladeuil)
2497
* ``bzr ls`` is now faster. On OpenOffice.org, the time drops from 2.4
2498
to 1.1 seconds. The improvement for ``bzr ls -r-1`` is more
2499
substantial dropping from 54.3 to 1.1 seconds. (Ian Clatworthy)
2501
* Improve "Path(s) are not versioned" error reporting for some commands.
2504
* Initial commit performance in ``--2a`` repositories has been improved by
2505
making it cheaper to build the initial CHKMap. (John Arbash Meinel)
2507
* Resolving a revno to a revision id on a branch accessed via ``bzr://``
2508
or ``bzr+ssh://`` is now much faster and involves no VFS operations.
2509
This speeds up commands like ``bzr pull -r 123``. (Andrew Bennetts)
2511
* ``revision-info`` now properly aligns the revnos/revids in the output
2512
and doesn't traceback when given revisions not in the current branch.
2513
Performance is also significantly improved when requesting multiple revs
2514
at once. (Matthew Fuller, John Arbash Meinel)
2516
* Tildes are no longer escaped by Transports. (Andy Kilner)
2522
* Avoid bad text wrapping in generated documentation. Slightly better
2523
formatting in the user reference.
2524
(Martin Pool, #249908)
2526
* Minor clarifications to the help for End-Of-Line conversions.
2532
* Removed overspecific error class ``InvalidProgressBarType``.
2535
* The method ``ProgressView._show_transport_activity`` is now
2536
``show_transport_activity`` because it's part of the contract between
2537
this class and the UI. (Martin Pool)
2543
:Released: 2009-06-26
2545
End user testing of the 2a format revealed two serious bugs. The first,
2546
#365615, caused bzr to raise AbsentContentFactory errors when autopacking.
2547
This meant that commits or pushes to 2a-format repositories failed
2550
The second bug, #390563, caused the smart server to raise AbsentContentFactory
2551
when streaming 2a stacked 2a-format branches. This particularly affected
2552
branches stored on Launchpad in the 2a format.
2554
Both of these bugs cause command failures only, neither of them cause data
2555
corruption or data loss. And, of course, both of these bugs are now fixed.
2560
* We now properly request a more minimal set of file texts when fetching
2561
multiple revisions. (Robert Collins, John Arbash Meinel, #390563)
2563
* Repositories using CHK pages (which includes the new 2a format) will no
2564
longer error during commit or push operations when an autopack operation
2565
is triggered. (Robert Collins, #365615)
2567
* ``chk_map.iter_interesting_nodes`` now properly uses the *intersection*
2568
of referenced nodes rather than the *union* to determine what
2569
uninteresting pages we still need to look at. Prior to this,
2570
incrementally pushing to stacked branch would push the minimal data, but
2571
fetching everything would request extra texts. There are some unhandled
2572
cases wrt trees of different depths, but this fixes the common cases.
2573
(Robert Collins, John Arbash Meinel, #390563)
2575
* ``GroupCompress`` repositories now take advantage of the pack hints
2576
parameter to permit cross-format fetching to incrementally pack the
2577
converted data. (Robert Collins)
2579
* ``Repository.commit_write_group`` now returns opaque data about what
2580
was committed, for passing to the ``Repository.pack``. Repositories
2581
without atomic commits will still return None. (Robert Collins)
2583
* ``Repository.pack`` now takes an optional ``hint`` parameter
2584
which will support doing partial packs for repositories that can do
2585
that. (Robert Collins)
2587
* RepositoryFormat has a new attribute 'pack_compresses' which is True
2588
when doing a pack operation changes the compression of content in the
2589
repository. (Robert Collins)
2591
* ``StreamSink`` and ``InterDifferingSerialiser`` will call
2592
``Repository.pack`` with the hint returned by
2593
``Repository.commit_write_group`` if the formats were different and the
2594
repository can increase compression by doing a pack operation.
2595
(Robert Collins, #376748)
2600
:Codename: yesterday-in-california
2601
:1.16rc1: 2009-06-11
2604
This version of Bazaar contains the beta release of the new ``2a`` repository
2605
format, suitable for testing by fearless, advanced users. This format or an
2606
updated version of it will become the default format in Bazaar 2.0. Please
2607
read the NEWS entry before even thinking about upgrading to the new format.
2609
Also included are speedups for many operations on huge projects, a bug fix for
2610
pushing stacked new stacked branches to smart servers and the usual bevy of
2611
bug fixes and improvements.
2614
Changes from 1.16rc1 to 1.16final
2615
*********************************
2617
* Fix the nested tree flag check so that upgrade from development formats to
2618
2a can work correctly.
2619
(Jelmer Vernooij, #388727)
2621
* Automatic format upgrades triggered by default stacking policies on a
2622
1.16rc1 (or later) smart server work again.
2623
(Andrew Bennetts, #388675)
2626
Compatibility Breaks
2627
********************
2629
* Display prompt on stderr (instead of stdout) when querying users so
2630
that the output of commands can be safely redirected.
2631
(Vincent Ladeuil, #376582)
2637
* A new repository format ``2a`` has been added. This is a beta release
2638
of the brisbane-core (aka group-compress) project. This format now
2639
suitable for wider testing by advanced users willing to deal with some
2640
bugs. We would appreciate test reports, either positive or negative.
2641
Format 2a is substantially smaller and faster for many operations on
2642
many trees. This format or an updated version will become the default
2645
This is a rich-root format, so this repository format can be used with
2646
bzr-svn. Bazaar branches in previous non-rich-root formats can be
2647
converted (including by merge, push and pull) to format 2a, but not vice
2648
versa. We recommend upgrading previous development formats to 2a.
2650
Upgrading to this format can take considerable time because it expands
2651
and more concisely repacks the full history.
2653
If you use stacked branches, you must upgrade the stacked branches
2654
before the stacked-on branches. (See <https://bugs.launchpad.net/bugs/374735>)
2656
* ``--development7-rich-root`` is a new dev format, similar to ``--dev6``
2657
but using a Revision serializer using bencode rather than XML.
2658
(Jelmer Vernooij, John Arbash Meinel)
2660
* mail_client=claws now supports --body (and message body hooks). Also uses
2661
configured from address. (Barry Warsaw)
2667
* ``--development6-rich-root`` can now stack. (Modulo some smart-server
2668
bugs with stacking and non default formats.)
2669
(John Arbash Meinel, #373455)
2671
* ``--development6-rich-root`` delays generating a delta index for the
2672
first object inserted into a group. This has a beneficial impact on
2673
``bzr commit`` since each committed texts goes to its own group. For
2674
committing a 90MB file, it drops peak memory by about 200MB, and speeds
2675
up commit from 7s => 4s. (John Arbash Meinel)
2677
* Numerous operations are now faster for huge projects, i.e. those
2678
with a large number of files and/or a large number of revisions,
2679
particularly when the latest development format is used. These
2680
operations (and improvements on OpenOffice.org) include:
2682
* branch in a shared repository (2X faster)
2683
* branch --no-tree (100X faster)
2689
* Pyrex version of ``bencode`` support. This provides optimized support
2690
for both encoding and decoding, and is now found at ``bzrlib.bencode``.
2691
``bzrlib.utils.bencode`` is now deprecated.
2692
(Alexander Belchenko, Jelmer Vernooij, John Arbash Meinel)
2698
* Bazaar can now pass attachment files to the mutt email client.
2699
(Edwin Grubbs, #384158)
2701
* Better message in ``bzr add`` output suggesting using ``bzr ignored`` to
2702
see which files can also be added. (Jason Spashett, #76616)
2704
* ``bzr pull -r 123`` from a stacked branch on a smart server no longer fails.
2705
Also, the ``Branch.revision_history()`` API now works in the same
2706
situation. (Andrew Bennetts, #380314)
2708
* ``bzr serve`` on Windows no longer displays a traceback simply because a
2709
TCP client disconnected. (Andrew Bennetts)
2711
* Clarify the rules for locking and fallback repositories. Fix bugs in how
2712
``RemoteRepository`` was handling fallbacks along with the
2713
``_real_repository``. (Andrew Bennetts, John Arbash Meinel, #375496)
2715
* Fix a small bug with fetching revisions w/ ghosts into a new stacked
2716
branch. Not often triggered, because it required ghosts to be part of
2717
the fetched revisions, not in the stacked-on ancestry.
2718
(John Arbash Meinel)
2720
* Fix status and commit to work with content filtered trees, addressing
2721
numerous bad bugs with line-ending support. (Ian Clatworthy, #362030)
2723
* Fix problem of "directory not empty" when contending for a lock over
2724
sftp. (Martin Pool, #340352)
2726
* Fix rule handling so that eol is optional, not mandatory.
2727
(Ian Clatworthy, #379370)
2729
* Pushing a new stacked branch to a 1.15 smart server was broken due to a
2730
bug in the ``BzrDirFormat.initialize_ex`` smart verb. This is fixed in
2731
1.16, but required changes to the network protocol, so the
2732
``BzrDirFormat.initialize_ex`` verb has been removed and replaced with a
2733
corrected ``BzrDirFormat.initialize_ex_1.16`` verb. 1.15 clients will
2734
still work with a 1.16 server as they will fallback to slower (and
2736
(Jonathan Lange, Robert Collins, Andrew Bennetts, #385132)
2738
* Reconcile can now deal with text revisions that originated in revisions
2739
that are ghosts. (Jelmer Vernooij, #336749)
2741
* Support cloning of branches with ghosts in the left hand side history.
2742
(Jelmer Vernooij, #248540)
2744
* The ''bzr diff'' now catches OSError from osutils.rmtree and logs a
2745
helpful message to the trace file, unless the temp directory really was
2746
removed (which would be very strange). Since the diff operation has
2747
succeeded from the user's perspective, no output is written to stderr
2748
or stdout. (Maritza Mendez, #363837)
2750
* Translate errors received from a smart server in response to a
2751
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
2752
This was causing tracebacks even for mundane errors like
2753
``PermissionDenied``. (Andrew Bennetts, #381329)
2758
* Added directory structure and started translation of docs in Russian.
2759
(Alexey Shtokalo, Alexander Iljin, Alexander Belchenko, Dmitry Vasiliev,
2760
Volodymyr Kotulskyi)
2765
* Added osutils.parent_directories(). (Ian Clatworthy)
2767
* ``bzrlib.progress.ProgressBar``, ``ChildProgress``, ``DotsProgressBar``,
2768
``TTYProgressBar`` and ``child_progress`` are now deprecated; use
2769
``ui_factory.nested_progress_bar`` instead. (Martin Pool)
2771
* ``graph.StackedParentsProvider`` is now a public API, replacing
2772
``graph._StackedParentsProvider``. The api is now considered stable and ready
2773
for external users. (Gary van der Merwe)
2775
* ``bzrlib.user_encoding`` is deprecated in favor of
2776
``get_user_encoding``. (Alexander Belchenko)
2778
* TreeTransformBase no longer assumes that limbo is provided via disk.
2779
DiskTreeTransform now provides disk functionality. (Aaron Bentley)
2784
* Remove ``weave.py`` script for accessing internals of old weave-format
2785
repositories. (Martin Pool)
2790
* ``make check`` no longer repeats the test run in ``LANG=C``.
2791
(Martin Pool, #386180)
2793
* The number of cores is now correctly detected on OSX. (John Szakmeister)
2795
* The number of cores is also detected on Solaris and win32. (Vincent Ladeuil)
2797
* The number of cores is also detected on FreeBSD. (Matthew Fuller)
2802
:1.15rc1: 2009-05-16
2806
The smart server will no longer raise 'NoSuchRevision' when streaming content
2807
with a size mismatch in a reconstructed graph search. New command ``bzr
2808
dpush``. Plugins can now define their own annotation tie-breaker when two
2809
revisions introduce the exact same line.
2811
Changes from 1.15.1 to 1.15.2
2812
*****************************
2814
* Use zdll on Windows to build ``_chk_map_pyx`` extension.
2815
(Alexander Belchenko)
2817
Changes from 1.15final to 1.15.1
2818
*********************************
2820
* Translate errors received from a smart server in response to a
2821
``BzrDirFormat.initialize`` or ``BzrDirFormat.initialize_ex`` request.
2822
This was causing tracebacks even for mundane errors like
2823
``PermissionDenied``. (Andrew Bennetts, #381329)
2825
Changes from 1.15rc1 to 1.15final
2826
*********************************
2830
Compatibility Breaks
2831
********************
2833
* ``bzr ls`` is no longer recursive by default. To recurse, use the
2834
new ``-R`` option. The old ``--non-recursive`` option has been removed.
2835
If you alias ``ls`` to ``ls -R``, you can disable recursion using
2836
``--no-recursive`` instead. (Ian Clatworthy)
2841
* New command ``bzr dpush`` that can push changes to foreign
2842
branches (svn, git) without setting custom bzr-specific metadata.
2845
* The new development format ``--development6-rich-root`` now supports
2846
stacking. We chose not to use a new format marker, since old clients
2847
will just fail to open stacked branches, the same as if we used a new
2848
format flag. (John Arbash Meinel, #373455)
2850
* Plugins can now define their own annotation tie-breaker when two revisions
2851
introduce the exact same line. See ``bzrlib.annotate._break_annotation_tie``
2852
Be aware though that this is temporary, private (as indicated by the leading
2853
'_') and a first step to address the problem. (Vincent Ladeuil, #348459)
2855
* New command ``bzr dpush`` that can push changes to foreign
2856
branches (svn, git) without setting custom bzr-specific metadata.
2859
* ``bzr send`` will now check the ``child_submit_format`` setting in
2860
the submit branch to determine what format to use, if none was
2861
specified on the command-line. (Jelmer Vernooij)
2866
* -Dhpss output now includes the number of VFS calls made to the remote
2867
server. (Jonathan Lange)
2869
* ``--coverage`` works for code running in threads too.
2870
(Andrew Bennets, Vincent Ladeuil)
2872
* ``bzr pull`` now has a ``--local`` option to only make changes to the
2873
local branch, and not the bound master branch.
2874
(Gary van der Merwe, #194716)
2876
* ``bzr rm *`` is now as fast as ``bzr rm * --keep``. (Johan Walles, #180116)
2881
* Adding now works properly when path contains a symbolic link.
2882
(Geoff Bache, #183831)
2884
* An error is now raised for unknown eol values. (Brian de Alwis, #358199)
2886
* ``bzr merge --weave`` will now generate a conflict if one side deletes a
2887
line, and the other side modifies the line. (John Arbash Meinel, #328171)
2889
* ``bzr reconfigure --standalone`` no longer raises IncompatibleRepositories.
2890
(Martin von Gagern, #248932)
2892
* ``bzr send`` works to send emails again using MAPI.
2893
(Neil Martinsen-Burrell, #346998)
2895
* Check for missing parent inventories in StreamSink. This prevents
2896
incomplete stacked branches being created by 1.13 bzr:// and
2897
bzr+ssh:// clients (which have bug #354036). Instead, the server now
2898
causes those clients to send the missing records. (Andrew Bennetts)
2900
* Correctly handle http servers proposing multiple authentication schemes.
2901
(Vincent Ladeuil, #366107)
2903
* End-Of-Line content filters are now loaded correctly.
2904
(Ian Clatworthy, Brian de Alwis, #355280)
2906
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
2907
longer than 64KiB. (John Arbash Meinel, #364900)
2909
* Fix TypeError in running ``bzr break-lock`` on some URLs.
2910
(Alexander Belchenko, Martin Pool, #365891)
2912
* Non-recursive ``bzr ls`` now works properly when a path is specified.
2913
(Jelmer Vernooij, #357863)
2915
* ssh usernames (defined in ~/.ssh/config) are honoured for bzr+ssh connections.
2916
(Vincent Ladeuil, #367726)
2918
* Several bugs related to unicode symlinks have been fixed and the test suite
2919
enhanced to better catch regressions for them. (Vincent Ladeuil)
2921
* The smart server will no longer raise 'NoSuchRevision' when streaming
2922
content with a size mismatch in a reconstructed graph search: it assumes
2923
that the client will make sure it is happy with what it got, and this
2924
sort of mismatch is normal for stacked environments.
2925
bzr 1.13.0/1 will stream from unstacked branches only - in that case not
2926
getting all the content expected would be a bug. However the graph
2927
search is how we figured out what we wanted, so a mismatch is both odd
2928
and unrecoverable without starting over, and starting over will end up
2929
with the same data as if we just permitted the mismatch. If data is
2930
gc'd, doing a new search will find only the truncated data, so sending
2931
only the truncated data seems reasonable. bzr versions newer than this
2932
will stream from stacked branches and check the stream to find missing
2933
content in the stacked-on branch, and thus will handle the situation
2934
implicitly. (Robert Collins, #360791)
2936
* Upgrading to, or fetching into a 'rich-root' format will now correctly
2937
set the root data the same way that reconcile does.
2938
(Robert Collins, #368921)
2940
* Using unicode Windows API to obtain command-line arguments.
2941
(Alexander Belchenko, #375934)
2949
* ``InterPackRepo.fetch`` and ``RepoFetcher`` now raise ``NoSuchRevision``
2950
instead of ``InstallFailed`` when they detect a missing revision.
2951
``InstallFailed`` itself has been deleted. (Jonathan Lange)
2953
* Not passing arguments to ``bzrlib.commands.main()`` will now grab the
2954
arguments from ``osutils.get_unicode_argv()`` which has proper support
2955
for unicode arguments on windows. Further, the supplied arguments are now
2956
required to be unicode strings, rather than user_encoded strings.
2957
(Alexander Belchenko)
2962
* ``bzrlib.branch.Branch.set_parent`` is now present on the base branch
2963
class and will call ``_set_parent_location`` after doing unicode
2964
encoding. (Robert Collins)
2966
* ``bzrlib.remote.RemoteBranch._set_parent_location`` will use a new verb
2967
``Branch.set_parent_location`` removing further VFS operations.
2970
* ``bzrlib.bzrdir.BzrDir._get_config`` now returns a ``TransportConfig``
2971
or similar when the dir supports configuration settings. The base class
2972
defaults to None. There is a matching new server verb
2973
``BzrDir.get-config_file`` to reduce roundtrips for getting BzrDir
2974
configuration. (Robert Collins)
2976
* ``bzrlib.tests.ExtendedTestResult`` has new methods ``startTests``
2977
called before the first test is started, ``done`` called after the last
2978
test completes, and a new parameter ``strict``. (Robert Collins)
2980
* ``-Dhpss`` when passed to bzr will cause a backtrace to be printed when
2981
VFS operations are started on a smart server repository. This should not
2982
occur on regular push and pull operations, and is a key indicator for
2983
performance regressions. (Robert Collins)
2985
* ``-Dlock`` when passed to the selftest (e.g. ``bzr -Dlock selftest``) will
2986
cause mismatched physical locks to cause test errors rather than just
2987
reporting to the screen. (Robert Collins)
2989
* -Dprogress will cause pdb to start up if a progress view jumps
2990
backwards. (Robert Collins)
2992
* Fallback ``CredentialStore`` instances registered with ``fallback=True``
2993
are now be able to provide credentials if obtaining credentials
2994
via ~/.bazaar/authentication.conf fails. (Jelmer Vernooij,
2995
Vincent Ladeuil, #321918)
2997
* New hook ``Lock.lock_broken`` which runs when a lock is
2998
broken. This is mainly for testing that lock/unlock are
2999
balanced in tests. (Vincent Ladeuil)
3001
* New MergeDirective hook 'merge_request_body' allows hooks to supply or
3002
alter a body for the message produced by ``bzr send``.
3004
* New smart server verb ``BzrDir.initialize_ex`` which implements a
3005
refactoring to the core of clone allowing less round trips on new
3006
branches. (Robert Collins)
3008
* New method ``Tags.rename_revisions`` that can rename revision ids tags
3009
are pointing at. (Jelmer Vernooij)
3011
* Updated the bundled ``ConfigObj`` library to 4.6.0 (Matt Nordhoff)
3016
* ``bzr selftest`` will now fail if lock/unlock are not correctly balanced in
3017
tests. Using ``-Dlock`` will turn the related failures into warnings.
3018
(Vincent Ladeuil, Robert Collins)
3022
:Codename: brisbane-core
3023
:1.14rc1: 2009-04-06
3024
:1.14rc2: 2009-04-19
3028
New formats 1.14 and 1.14-rich-root supporting End-Of-Line (EOL) conversions,
3029
keyword templating (via the bzr-keywords plugin) and generic content filtering.
3030
End-of-line conversion is now supported for formats supporting content
3033
Changes from 1.14final to 1.14.1
3034
********************************
3036
* Change api_minimum_version back to api_minimum_version = (1, 13, 0)
3038
Changes from 1.14rc2 to 1.14final
3039
*********************************
3041
* Fix a bug in the pure-python ``GroupCompress`` code when handling copies
3042
longer than 64KiB. (John Arbash Meinel, #364900)
3044
Changes from 1.14rc1 to 1.14rc2
3045
*******************************
3047
* Fix for bug 358037 Revision not in
3048
bzrlib.groupcompress.GroupCompressVersionedFiles (Brian de Alwis,
3051
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
3052
attribute 'get_bytes_as' exception while pulling from Launchpad
3053
(Jean-Francois Roy, Andrew Bennetts, Robert Collins)
3055
* Fix for bug 355280 eol content filters are never loaded and thus never
3056
applied (Brian de Alwis, Ian Clatworthy)
3058
* bzr.dev -r4280 Change _fetch_uses_deltas = False for CHK repos until we can
3059
write a better fix. (John Arbash Meinel, Robert Collins)
3061
* Fix for bug 361574 uncommit recommends undefined --levels and -n options
3062
(Marius Kruger, Ian Clatworthy)
3064
* bzr.dev r4289 as cherrypicked at lp:~spiv/bzr/stacking-cherrypick-1.14
3065
(Andrew Bennetts, Robert Collins)
3067
Compatibility Breaks
3068
********************
3070
* A previously disabled code path to accelerate getting configuration
3071
settings from a smart server has been reinstated. We think this *may*
3072
cause a incompatibility with servers older than bzr 0.15. We intend
3073
to issue a point release to address this if it turns out to be a
3074
problem. (Robert Collins, Andrew Bennetts)
3076
* bzr no longer autodetects nested trees as 'tree-references'. They
3077
must now be explicitly added tree references. At the commandline, use
3078
join --reference instead of add. (Aaron Bentley)
3080
* The ``--long`` log format (the default) no longer shows merged
3081
revisions implicitly, making it consistent with the ``short`` and
3082
``line`` log formats. To see merged revisions for just a given
3083
revision, use ``bzr log -n0 -rX``. To see every merged revision,
3084
use ``bzr log -n0``. (Ian Clatworthy)
3089
* New formats ``1.14`` and ``1.14-rich-root`` supporting End-Of-Line
3090
(EOL) conversions, keyword templating (via the bzr-keywords plugin)
3091
and generic content filtering. These formats replace the experimental
3092
``development-wt5`` and ``development-wt5-rich-root`` formats
3093
respectively, but have support for filtered views disabled.
3096
* New ``mv --auto`` option recognizes renames after they occur.
3099
* ``bzr`` can now get passwords from stdin without requiring a controlling
3100
terminal (i.e. by redirecting stdin). (Vincent Ladeuil)
3102
* ``bzr log`` now supports filtering of multiple files and directories
3103
and will show changes that touch any of them. Furthermore,
3104
directory filtering now shows the changes to any children of that
3105
directory, not just the directory object itself.
3106
(Ian Clatworthy, #97715)
3108
* ``bzr shelve`` can now apply changes without storing anything on the
3109
shelf, via the new --destroy option. (Aaron Bentley)
3111
* ``bzr send`` now accepts --body to specify an initial message body.
3114
* ``bzr xxx --usage`` where xxx is a command now shows a usage
3115
message and the options without the descriptive help sections
3116
(like Description and Examples). A message is also given
3117
explaining how to see the complete help, i.e. ``bzr help xxx``.
3120
* Content filters can now be used to provide custom conversion
3121
between the canonical format of content (i.e. as stored) and
3122
the convenience format of content (i.e. as created in working
3123
trees). See ``bzr help content-filters`` for further details.
3124
(Ian Clatworthy, Alexander Belchenko)
3126
* End-of-line conversion is now supported for formats supporting
3127
content filtering. See ``bzr help eol`` for details.
3130
* Newly-blessed `join` command allows combining two trees into one.
3136
* A new format name alias ``default-rich-root`` has been added and
3137
points at the closest relative of the default format that supports
3138
rich roots. (Jelmer Vernooij, #338061)
3140
* Branching from a stacked branch using ``bzr*://`` will now stream
3141
the data when the target repository does not need topological
3142
ordering, reducing round trips and network overhead. This uses the
3143
existing smart server methods added in 1.13, so will work on any
3144
1.13 or newer server. (Robert Collins, Andrew Bennetts)
3146
* ``bzr cat`` and ``bzr export`` now supports a ``--filters`` option
3147
that displays/saves the content after content filters are applied.
3150
* ``bzr ignore`` gives a more informative message when existing
3151
version controlled files match the ignore pattern. (Neil
3152
Martinsen-Burrell, #248895)
3154
* ``bzr log`` now has ``--include-merges`` as an alias for ``--levels 0``.
3157
* ``bzr send`` is faster on repositories with deep histories.
3160
* IPv6 literals are accepted in URLs.
3161
(stlman, Martin Pool, Jelmer Vernooij, #165014)
3163
* Progress bars now show the rate of network activity for
3164
``bzr+ssh://`` and ``bzr://`` connections. (Andrew Bennetts)
3166
* Prompt for user names if they are not in the configuration.
3167
(Jelmer Vernooij, #256612)
3169
* Pushing to a stacked pack-format branch on a 1.12 or older smart server
3170
now takes many less round trips. (Andrew Bennetts, Robert Collins,
3173
* Streaming push can be done to older repository formats. This is
3174
implemented using a new ``Repository.insert_stream_locked`` RPC.
3175
(Andrew Bennetts, Robert Collins)
3177
* The "ignoring files outside view: .." message has been re-worded
3178
to "Ignoring files outside view. View is .." to reduce confusion
3179
about what was being considered and what was being ignored.
3182
* The ``long`` log formatter now shows [merge] indicators. If
3183
only one level of revisions is displayed and merges are found,
3184
the ``long`` and ``short`` log formatters now tell the user
3185
how to see the hidden merged revisions. (Ian Clatworthy)
3187
* The ``brisbane-core`` project has delivered its beta format
3188
``development6-rich-root``. This format is suitable for judicious
3189
testing by early adopters. In particular if you are benchmarking bzr
3190
performance please be sure to test using this format. At this stage
3191
more information is best obtained by contacting the Bazaar mailing list
3192
or IRC channel if you are interested in using this format. We will make
3193
end user documentation available closer to blessing the format as
3194
production ready. (Robert Collins, John Arbash Meinel, Ian Clatworthy,
3195
Vincent Ladeuil, Andrew Bennetts, Martin Pool)
3197
* Tildes are no longer escaped. No more %7Euser/project/branch!
3203
* Pushing a new stacked branch will also push the parent inventories for
3204
revisions at the stacking boundary. This makes sure that the stacked
3205
branch has enough data to calculate inventory deltas for all of its
3206
revisions (without requiring the fallback branch). This avoids
3207
"'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
3208
when fetching the stacked branch from a 1.13 (or later) smart server.
3209
This partially fixes #354036. (Andrew Bennetts, Robert Collins)
3211
* End-Of-Line content filters are now loaded correctly.
3212
(Ian Clatworthy, Brian de Alwis, #355280)
3214
* Authentication plugins now receive all the parameters from the request
3215
itself (aka host, port, realm, path, etc). Previously, only the
3216
authentication section name, username and encoded password were
3217
provided. (Jean-Francois Roy)
3219
* bzr gives a better message if an invalid regexp is passed to ``bzr log
3220
-m``. (Anne Mohsen, Martin Pool)
3222
* ``bzr split`` now says "See also: join" (Aaron Bentley, #335015)
3224
* ``bzr version-info`` now works in empty branches. (Jelmer Vernooij,
3227
* Fix "is not a stackable format" error when pushing a
3228
stackable-format branch with an unstackable-format repository to a
3229
destination with a default stacking policy. (Andrew Bennetts)
3231
* Fixed incorrect "Source format does not support stacking" warning
3232
when pushing to a smart server. (Andrew Bennetts, #334114)
3234
* Fix 'make check-dist-tarball' failure by converting paths to unicode when
3235
needed. (Vincent Ladeuil, #355454)
3237
* Fixed "Specified file 'x/y/z' is outside current view: " occurring
3238
on ``bzr add x/y/z`` in formats supporting views when no view is
3239
defined. (Ian Clatworthy, #344708)
3241
* It is no longer possible to fetch between repositories while the
3242
target repository is in a write group. This prevents race conditions
3243
that prevent the use of RPC's to perform fetch, and thus allows
3244
optimising more operations. (Robert Collins, Andrew Bennetts)
3246
* ``merge --force`` works again. (Robert Collins, #342105)
3248
* No more warnings are issued about ``sha`` being deprecated under python-2.6.
3249
(Vincent Ladeuil, #346593)
3251
* Pushing a new branch to a server that has a stacking policy will now
3252
upgrade from the local branch format when the stacking policy points at
3253
a branch which is itself stackable, because we know the client can read
3254
both branches, we know that the trunk for the project can be read too,
3255
so the upgrade will not inconvenience users. (Robert Collins, #345169)
3257
* Pushing a new stacked branch will also push the parent inventories for
3258
revisions at the stacking boundary. This makes sure that the stacked
3259
branch has enough data to calculate inventory deltas for all of its
3260
revisions (without requiring the fallback branch). This avoids
3261
"'AbsentContentFactory' object has no attribute 'get_bytes_as'" errors
3262
when fetching the stacked branch from a 1.13 (or later) smart server.
3263
This partially fixes #354036. (Andrew Bennetts, Robert Collins)
3265
* The full test suite is passing again on OSX. Several minor issues (mostly
3266
test related) have been fixed. (Vincent Ladeuil, #355273).
3268
* The GNU Changelog formatter is slightly improved in the case where
3269
the delta is empty, and now correctly claims not to support tags.
3272
* Shelve can now shelve changes to a symlink target.
3273
(James Westby, #341558)
3275
* The help for the ``info`` command has been corrected.
3276
(Ian Clatworthy, #351931)
3278
* Upgrade will now use a sensible default format if the source repository
3279
uses rich roots. (Jelmer Vernooij, #252908)
3284
* Expanded the index of the developer documentation. (Eric Siegerman)
3286
* New topic `bzr help debug-flags`. (Martin Pool)
3288
* The generated manpage now explicitly lists aliases as commands.
3289
(James Westby, #336998)
3294
* APIs deprecated in 1.6 and previous versions of bzr are now removed.
3297
* ``CommitReporter`` is no longer called with ``unchanged`` status during
3298
commit - this was a full-tree overhead that bzr no longer performs.
3301
* New abstract ``UIFactory`` method ``get_username`` which will be called to
3302
obtain the username to use when connecting to remote machines.
3305
* New API ``Inventory.filter()`` added that filters an inventory by
3306
a set of file-ids so that only those fileids, their parents and
3307
their children are included. (Ian Clatworthy)
3309
* New sort order for ``get_record_stream`` ``groupcompress`` which
3310
sorts optimally for use with groupcompress compressors. (John Arbash
3311
Meinel, Robert Collins)
3313
* Repository APIs ``get_deltas_for_revisions()`` and
3314
``get_revision_delta()`` now support an optional ``specific_fileids``
3315
parameter. If provided, the deltas are filtered so that only those
3316
file-ids, their parents and their children are included.
3319
* The ``get_credentials`` and ``set_credentials`` methods of
3320
``AuthenticationConfig`` now accept an optional realm argument.
3323
* The ``pb`` argument to ``fetch()`` is deprecated.
3326
* The ``Serializer`` class and the serializer ``format registry`` have moved
3327
from ``bzrlib.xml_serializer`` to ``bzrlib.serializer``. (Jelmer Vernooij)
3329
* The smart server jail now hooks into BzrDir.open to prevent any BzrDir
3330
that is not inside the backing transport from being opened. See the
3331
module documentation for ``bzrlib.smart.request`` for details.
3332
(Andrew Bennetts, Robert Collins)
3334
* ``Tree.get_symlink_target`` now always returns a unicode string result
3335
or None. Previously it would return the bytes from reading the link
3336
which could be in any arbitrary encoding. (Robert Collins)
3341
* ``bzrlib.tests.TestCase`` now fails the test if its own ``setUp``
3342
and ``tearDown`` weren't called. This catches faulty tests that
3343
forget to upcall when overriding ``setUp`` and ``tearDown``. Those
3344
faulty tests were not properly isolated.
3345
(Andrew Bennetts, Robert Collins)
3347
* Fix test_msgeditor.MsgEditorTest test isolation.
3348
(Vincent Ladeuil, #347130)
3350
* ``medusa`` is not used anymore as an FTP test server starting with
3351
python2.6. A new FTP test server based on ``pyftplib`` can be used
3352
instead. This new server is a soft dependency as medusa which is still
3353
preferred if both are available (modulo python version).
3359
* Added ``chk_map`` for fast, trie-based storage of tuple to string maps.
3360
(Robert Collins, John Arbash Meinel, Vincent Ladeuil)
3362
* Added ``bzrlib.chk_map`` for fast, trie-based storage of tuple to string
3363
maps. (Robert Collins, John Arbash Meinel, Vincent Ladeuil)
3365
* Added ``bzrlib.inventory_delta`` module. This will be used for
3366
serializing and deserializing inventory deltas for more efficient
3367
streaming on the network. (Robert Collins, Andrew Bennetts)
3369
* ``Branch._get_config`` has been added, which splits out access to the
3370
specific config file from the branch. This is used to let RemoteBranch
3371
avoid constructing real branch objects to access configuration settings.
3372
(Robert Collins, Andrew Bennetts)
3374
* ``Branch`` now implements ``set_stacked_on_url`` in the base class as
3375
the implementation is generic and should impact foreign formats. This
3376
helps performance for ``RemoteBranch`` push operations to new stacked
3377
branches. (Robert Collins, Andrew Bennetts)
3379
* ``BtreeIndex._spill_mem_keys_to_disk()`` now generates disk index with
3380
optmizations turned off. This only has effect when processing > 100,000
3381
keys during something like ``bzr pack``. (John Arbash Meinel)
3383
* ``bzr selftest`` now accepts ``--subunit`` to run in subunit output
3384
mode. Requires ``lp:subunit`` installed to work, but is not a hard
3385
dependency. (Robert Collins)
3387
* ``BzrDir.open_branch`` now takes an optional ``ignore_fallbacks``
3388
parameter for controlling opening of stacked branches.
3389
(Andrew Bennetts, Robert Collins)
3391
* ``CommitBuilder`` has a new method, ``record_iter_changes`` which works
3392
in terms of an iter_changes iterator rather than full tree scanning.
3395
* ``DirState`` can now be passed a custom ``SHA1Provider`` object
3396
enabling it to store the SHA1 and stat of the canonical (post
3397
content filtered) form. (Ian Clatworthy)
3399
* New ``assertLength`` method based on one Martin has squirreled away
3400
somewhere. (Robert Collins, Martin Pool)
3402
* New hook ``BzrDir.pre_open`` which runs before opening ``BzrDir``
3403
objects, allowing better enforcement of the smart server jail when
3404
dealing with stacked branches. (Robert Collins, Andrew Bennetts)
3406
* New hook ``RioVersionInfoBuilder.revision``, allowing extra entries
3407
to be added to the stanza that is printed for a particular revision.
3410
* New repository method ``refresh_data`` to cause any repository to
3411
make visible data inserted into the repository by a smart server
3412
fetch operation. (Robert Collins, Andrew Bennetts)
3414
* ``register_filter_stack_map`` now takes an optional fallback parameter,
3415
a callable to invoke if a preference has a value not in the map
3416
of filter stacks. This enhancement allows, for example, bzr-svn to
3417
handle existing svn properties that define a list of keywords to be
3418
expanded. (Ian Clatworthy)
3420
* ``RemoteBranchConfig`` will use a new verb ``Branch.set_config_option``
3421
to write config settings to smart servers that support this, saving
3422
5 round trips on the stacked streaming acceptance test.
3423
(Robert Collins, Andrew Bennetts)
3425
* ``RemoteBranch`` now provides ``_get_config`` for access to just the
3426
branch specific configuration from a remote server, which uses the
3427
already existing ``Branch.get_config_file`` smart verb.
3428
(Robert Collins, Andrew Bennetts)
3430
* ``RemoteRepository`` will now negatively cache missing revisions during
3431
``get_parent_map`` while read-locked. Write-locks are unaffected.
3432
(Robert Collins, Andrew Bennetts)
3434
* Removed ``InterRemoteToOther``, ``InterOtherToRemote`` and
3435
``InterPackToRemotePack`` classes, as they are now unnecessary.
3438
* ``RepositoryFormat`` as a new attribute ``fast_deltas`` to indicate
3439
whether the repository can efficiently generate deltas between trees
3440
regardless of tree size. (Robert Collins)
3442
* ``Repository.iter_files_bytes()`` now properly returns an "iterable of
3443
byte strings" (aka 'chunked') for the content. It previously was
3444
returning a plain string, which worked, but performed very poorly when
3445
building a working tree (file.writelines(str) is very inefficient). This
3446
can have a large effect on ``bzr checkout`` times. (John Arbash Meinel)
3448
* selftest now supports a --parallel option, with values of 'fork' or
3449
'subprocess' to run the test suite in parallel. Currently only linux
3450
machine work, other platforms need patches submitted. (Robert Collins,
3453
* ``tests.run_suite`` has a new parameter ``suite_decorators``, a list of
3454
callables to use to decorate the test suite. Such decorators can add or
3455
remove tests, or even remote the test suite to another machine if
3456
desired. (Robert Collins)
3458
* The smart server verb ``Repository.get_parent_map`` can now include
3459
information about ghosts when the special revision ``include-missing:``
3460
is in the requested parents map list. With this flag, ghosts are
3461
included as ``missing:REVISION_ID``. (Robert Collins, Andrew Bennetts)
3463
* ``_walk_to_common_revisions`` will now batch up at least 50
3464
revisions before calling ``get_parent_map`` on the target,
3465
regardless of ``InterRepository``.
3466
(Andrew Bennetts, Robert Collins)
3471
:Codename: paraskavedekatriaphobia
3473
:1.13rc1: 2009-03-10
3477
GNU Changelog output can now be produced by ``bzr log --gnu-changelog``. Debug
3478
flags can now be set in ``~/.bazaar/bazaar.conf``. Lightweight checkouts and
3479
stacked branches should both be much faster over remote connections.
3481
Changes From 1.13.1 to 1.13.2
3482
*****************************
3484
A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
3485
a stacked branch they do not take care to push all the parent inventories for
3486
the transferred revisions. This means that a smart server serving that branch
3487
often cannot calculate inventory deltas for the branch (because smart server
3488
does not/cannot open fallback repositories). Prior to 1.13 the server did not
3489
have a verb to stream revisions out of a repository, so that's why this bug has
3495
* Fix for bug 354036 ErrorFromSmartServer - AbsentContentFactory object has no
3496
attribute 'get_bytes_as' exception while pulling from Launchpad
3497
(Jean-Francois Roy, Andrew Bennetts, Robert Collins)
3499
Changes From 1.13final to 1.13.1
3500
********************************
3502
A couple regessions where found in the 1.13 release. The pyrex-generated C
3503
extensions are missing from the .tar.gz and .zip files. Documentation on how
3504
to generate GNU ChangeLogs is wrong.
3509
* Change ``./bzr``'s ``_script_version`` to match ./bzrlib/__init__.py
3510
version_info. (Bob Tanner, Martin Pool, #345232)
3512
* Distribution archives for 1.13 do not contain generated C extension modules
3513
(Jean-Francois Roy, Bob Tanner, #344465)
3515
* GNU ChangeLog output can now be produced by bzr log --format gnu-changelog is
3516
incorrect (Deejay, Bob Tanner, Martin Pool, Robert Collins, #343928)
3518
* ``merge --force`` works again. (Robert Collins, #342105)
3520
Changes From 1.13rc1 to 1.13final
3521
*********************************
3523
* Fix "is not a stackable format" error when pushing a
3524
stackable-format branch with an unstackable-format repository to a
3525
destination with a default stacking policy. (Andrew Bennetts)
3527
* Progress bars now show the rate of network activity for
3528
``bzr+ssh://`` and ``bzr://`` connections. (Andrew Bennetts)
3530
Compatibility Breaks
3531
********************
3533
* ``bzr log --line`` now indicates which revisions are merges with
3534
`[merge]` after the date. Scripts which parse the output of this
3535
command may need to be adjusted.
3536
(Neil Martinsen-Burrell)
3541
* ``bzr reconfigure`` now supports --with-trees and --with-no-trees
3542
options to change the default tree-creation policy of shared
3543
repositories. (Matthew Fuller, Marius Kruger, #145033)
3545
* Debug flags can now be set in ``~/.bazaar/bazaar.conf``.
3548
* Filtered views provide a mask over the tree so that users can focus
3549
on a subset of a tree when doing their work. See ``Filtered views``
3550
in chapter 7 of the User Guide and ``bzr help view`` for details.
3553
* GNU Changelog output can now be produced by ``bzr log --gnu-changelog``.
3554
(Andrea Bolognani, Martin Pool)
3556
* The ``-Dmemory`` flag now gives memory information on Windows.
3557
(John Arbash Meinel)
3559
* Multiple authors for a commit can now be recorded by using the "--author"
3560
option multiple times. (James Westby, #185772)
3562
* New clean-tree command, from bzrtools. (Aaron Bentley, Jelmer Vernooij)
3564
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
3565
branch in your web browser, as long as the branch is on Launchpad at all.
3568
* New API for getting bugs fixed by a revision: Revision.iter_bugs().
3574
* All bzr ``Hooks`` classes are now registered in
3575
``bzrlib.hooks.known_hooks``. This removes the separate list from
3576
``bzrlib.tests`` and ensures that all hooks registered there are
3577
correctly isolated by the test suite (previously
3578
``MutableTreeHooks`` were not being isolated correctly). Further,
3579
documentation for hooks is now dynamically generated from the
3580
present HookPoints. ``bzr hooks`` will now also report on all the
3581
hooks present in the ``bzrlib.hooks.known_hooks`` registry.
3584
* ``bzr add`` no longer prints ``add completed`` on success. Failure
3585
still prints an error message. (Robert Collins)
3587
* ``bzr branch`` now has a ``--no-tree`` option which turns off the
3588
generation of a working tree in the new branch.
3589
(Daniel Watkins, John Klinger, #273993)
3591
* Bazaar will now point out ``bzr+ssh://`` to the user when they
3592
use ssh://. (Jelmer Vernooij, #330535)
3594
* ``bzr -v info`` now omits the number of committers branch statistic,
3595
making it many times faster for large projects. To include that
3596
statistic in the output, use ``bzr -vv info``.
3599
* ``bzr push`` to a ``bzr`` url (``bzr://``, ``bzr+ssh://`` etc) will
3600
stream if the server is version 1.13 or greater, reducing roundtrips
3601
significantly. (Andrew Bennetts, Robert Collins)
3603
* Lightweight Checkouts and Stacked Branches should both be much
3604
faster over remote connections. Building the working tree now
3605
batches up requests into approx 5MB requests, rather than a separate
3606
request for each file. (John Arbash Meinel)
3608
* Support for GSSAPI authentication when using HTTP or HTTPS.
3611
* The ``bzr shelve`` prompt now includes a '?' help option to explain the
3612
short options better. (Daniel Watkins, #327429)
3614
* ``bzr lp-open`` now falls back to the push location if it cannot find a
3615
public location. (Jonathan Lange, #332372)
3617
* ``bzr lp-open`` will try to find the Launchpad URL for the location
3618
passed on the command line. This makes ``bzr lp-open lp:foo`` work as
3619
expected. (Jonathan Lange, #332705)
3621
* ``bzr send`` now supports MH-E via ``emacsclient``. (Eric Gillespie)
3626
* Allows ``bzr log <FILE>`` to be called in an empty branch without
3627
backtracing. (Vincent Ladeuil, #346431)
3629
* Bazaar now gives a better message including the filename if it's
3630
unable to read a file in the working directory, for example because
3631
of a permission error. (Martin Pool, #338653)
3633
* ``bzr cat -r<old> <path>`` doesn't traceback anymore when <path> has a
3634
file id in the working tree different from the one in revision <old>.
3635
(Vincent Ladeuil, #341517, #253806)
3637
* ``bzr send`` help is more specific about how to apply merge
3638
directives. (Neil Martinsen-Burrell, #253470)
3640
* ``bzr missing`` now uses ``Repository.get_revision_delta()`` rather
3641
than fetching trees and determining a delta itself. (Jelmer
3644
* ``bzr push`` to a smart server no longer causes "Revision
3645
{set([('null:',)])} not present ..." errors when the branch has
3646
multiple root revisions. (Andrew Bennetts, #317654)
3648
* ``bzr shelve`` now properly handle patches with no terminating newline.
3649
(Benoît PIERRE, #303569)
3651
* ``bzr unshelve`` gives a more palatable error if passed a non-integer
3652
shelf id. (Daniel Watkins)
3654
* Export now handles files that are not present in the tree.
3655
(James Westby, #174539)
3657
* Fixed incorrect "Source format does not support stacking" warning
3658
when pushing to a smart server. (Andrew Bennetts, #334114)
3660
* Fixed "sprout() got an unexpected keyword argument 'source_branch'"
3661
error branching from old repositories.
3662
(Martin Pool, #321695)
3664
* Make ``bzr push --quiet <non-local location>`` less chatty.
3665
(Kent Gibson, #221461)
3667
* Many Branch hooks would not fire with ``bzr://`` and ``bzr+ssh://``
3668
branches, and this was not noticed due to a bug in the test logic
3669
for branches. This is now fixed and a test added to prevent it
3670
reoccuring. (Robert Collins, Andrew Bennetts)
3672
* Restore the progress bar on Windows. We were disabling it when TERM
3673
wasn't set, but Windows doesn't set TERM. (Alexander Belchenko,
3676
* ``setup.py build_ext`` now gives a proper error when an extension
3677
fails to build. (John Arbash Meinel)
3679
* Symlinks to non ascii file names are now supported.
3680
(Robert Collins, Vincent Ladeuil, #339055, #272444)
3682
* Under rare circumstances (aka nobody reported a bug about it), the ftp
3683
transport could revert to ascii mode. It now stays in binary mode except
3684
when needed. (Vincent Ladeuil)
3686
* Unshelve does not generate warnings about progress bars.
3687
(Aaron Bentley, #328148)
3689
* shelve cleans up properly when unversioned files are specified.
3690
(Benoît Pierre, Aaron Bentley)
3695
* Added ``Organizing your workspace`` to the User Guide appendices,
3696
summarizing some common ways of organizing trees, branches and
3697
repositories and the processes/workflows implied/enabled by each.
3700
* Hooks can now be self documenting. ``bzrlib.hooks.Hooks.create_hook``
3701
is the entry point for this feature. (Robert Collins)
3703
* The documentation for ``shelve`` and ``unshelve`` has been clarified.
3704
(Daniel Watkins, #327421, #327425)
3709
* ``bzr selftest`` now fails if the bazaar sources contain trailing
3710
whitespace, non-unix style line endings and files not ending in a
3711
newline. About 372 files and 3243 lines with trailing whitespace was
3712
updated to comply with this. The code already complied with the other
3713
criteria, but now it is enforced. (Marius Kruger)
3715
* ``bzrlib.branch.PushResult`` was renamed to
3716
``bzrlib.branch.BranchPushResult``. (Jelmer Vernooij)
3718
* ``Branch.fetch`` and ``Repository.fetch`` now return None rather
3719
than a count of copied revisions and failed revisions. A while back
3720
we stopped ever reporting failed revisions because we started
3721
erroring instead, and the copied revisions count is not used in the
3722
UI at all - indeed it only reflects the repository status not
3723
changes to the branch itself. (Robert Collins)
3725
* ``Inventory.apply_delta`` now raises an AssertionError if a file-id
3726
appears multiple times within the delta. (Ian Clatworthy)
3728
* MutableTree.commit now favours the "authors" argument, with the old
3729
"author" argument being deprecated.
3731
* Remove deprecated EmptyTree. (Martin Pool)
3733
* ``Repository.fetch`` now accepts an optional ``fetch_spec``
3734
parameter. A ``SearchResult`` or ``MiniSearchResult`` may be passed
3735
to ``fetch_spec`` instead of a ``last_revision`` to specify exactly
3736
which revisions to fetch. (Andrew Bennetts)
3738
* ``RepositoryAcquisitionPolicy.acquire_repository`` now returns a
3739
tuple of ``(repository, is_new_flag)``, rather than just the
3740
repository. (Andrew Bennetts)
3742
* Revision.get_apparent_author() is now deprecated, replaced by
3743
Revision.get_apparent_authors(), which returns a list. The former
3744
now returns the first item that would be returned from the second.
3746
* The ``BranchBuilder`` test helper now accepts a ``timestamp``
3747
parameter to ``build_commit`` and ``build_snapshot``. (Martin Pool)
3749
* The ``_fetch_*`` attributes on ``Repository`` are now on
3750
``RepositoryFormat``, more accurately reflecting their intent (they
3751
describe a disk format capability, not state of a particular
3752
repository of that format). (Robert Collins)
3757
* Branching from a non-stacked branch on a smart protocol is now
3758
free of virtual file system methods.
3759
(Robert Collins, Andrew Bennetts)
3761
* Branch and Repository creation on a bzr+ssh://server are now done
3762
via RPC calls rather than VFS calls, reducing round trips for
3763
pushing new branches substantially. (Robert Collins)
3765
* ``Branch.clone`` now takes the ``repository_policy`` formerly used
3766
inside ``BzrDir.clone_on_transport``, allowing stacking to be
3767
configured before the branch tags and revision tip are set. This
3768
fixes a race condition cloning stacked branches that would cause
3769
plugins to have hooks called on non-stacked instances.
3770
(Robert Collins, #334187)
3772
* ``BzrDir.cloning_metadir`` now has a RPC call. (Robert Collins)
3774
* ``BzrDirFormat.__str__`` now uses the human readable description
3775
rather than the sometimes-absent disk label. (Robert Collins)
3777
* ``bzrlib.fetch`` is now composed of a sender and a sink component
3778
allowing for decoupling over a network connection. Fetching from
3779
or into a RemoteRepository with a 1.13 server will use this to
3780
stream the operation.
3781
(Andrew Bennetts, Robert Collins)
3783
* ``bzrlib.tests.run_suite`` accepts a runner_class parameter
3784
supporting the use of different runners. (Robert Collins)
3786
* Change how file_ids and revision_ids are interned as part of
3787
inventory deserialization. Now we use the real ``intern()``, rather
3788
than our own workaround that would also cache a Unicode copy of the
3789
string, and never emptied the cache. This should slightly reduce
3790
memory consumption. (John Arbash Meinel)
3792
* New branch method ``create_clone_on_transport`` that returns a
3793
branch object. (Robert Collins)
3795
* New hook Commands['extend_command'] to allow plugins to access a
3796
command object before the command is run (or help generated from
3797
it), without overriding the command. (Robert Collins)
3799
* New version of the ``BzrDir.find_repository`` verb supporting
3800
``_network_name`` to support removing more _ensure_real calls.
3803
* ``RemoteBranchFormat`` no longer claims to have a disk format string.
3806
* ``Repository`` objects now have ``suspend_write_group`` and
3807
``resume_write_group`` methods. These are currently only useful
3808
with pack repositories. (Andrew Bennetts, Robert Collins)
3810
* ``BzrDirFormat``, ``BranchFormat`` and ``RepositoryFormat`` objects
3811
now have a ``network_name`` for passing the format across RPC calls.
3812
(Robert Collins, Andrew Bennetts)
3814
* ``RepositoryFormat`` objects now all have a new attribute
3815
``_serializer`` used by fetch when reserialising is required.
3816
(Robert Collins, Andrew Bennetts)
3818
* Some methods have been pulled up from ``BzrBranch`` to ``Branch``
3819
to aid branch types that are not bzr branch objects (like
3820
RemoteBranch). (Robert Collins, Andrew Bennetts)
3822
* Test adaptation has been made consistent throughout the built in
3823
tests. ``TestScenarioApplier``, ``multiply_tests_from_modules``,
3824
``adapt_tests``, ``adapt_modules`` have all been deleted. Please
3825
use ``multiply_tests``, or for lower level needs ``apply_scenarios``
3826
and ``apply_scenario``. (Robert Collins)
3828
* ``TestSkipped`` is now detected by TestCase and passed to the
3829
``TestResult`` by calling ``addSkip``. For older TestResult objects,
3830
where ``addSkip`` is not available, ``addError`` is still called.
3831
This permits test filtering in subunit to strip out skipped tests
3832
resulting in a faster fix-shrink-list-run cycle. This is compatible
3833
with the testtools protocol for skips. (Robert Collins)
3835
* The ``_index`` of ``KnitVersionedFiles`` now supports the ability
3836
to scan an underlying index that is going to be incorporated into
3837
the ``KnitVersionedFiles`` object, to determine if it has missing
3838
delta references. The method is ``scan_unvalidated_index``.
3839
(Andrew Bennetts, Robert Collins)
3841
* There is a RemoteSink object which handles pushing to smart servers.
3842
(Andrew Bennetts, Robert Collins)
3844
* ``TransportTraceDecorator`` now logs ``put_bytes_non_atomic`` and
3845
``rmdir`` calls. (Robert Collins)
3847
* ``VersionedFiles`` record adapters have had their signature change
3848
from ``(record, record.get_bytes_as(record.storage_kind))`` to
3849
``(record)`` reducing excess duplication and allowing adapters
3850
to access private data in record to obtain content more
3851
efficiently. (Robert Collins)
3853
* We no longer probe to see if we should create a working tree during
3854
clone if we cannot get a local_abspath for the new bzrdir.
3861
:Codename: 1234567890
3863
:1.12rc1: 2009-02-10
3865
This release of Bazaar contains many improvements to the speed,
3866
documentation and functionality of ``bzr log`` and the display of logged
3867
revisions by ``bzr status``. bzr now also gives a better indication of
3868
progress, both in the way operations are drawn onto a text terminal, and
3869
by showing the rate of network IO.
3871
Changes from RC1 to Final
3872
*************************
3874
* ``bzr init --development-wt5[-rich-root]`` would fail because of
3875
circular import errors. (John Arbash Meinel, #328135)
3877
* Expanded the help for log and added a new help topic called
3878
``log-formats``. (Ian Clatworthy)
3880
Compatibility Breaks
3881
********************
3883
* By default, ``bzr status`` after a merge now shows just the pending
3884
merge tip revisions. This improves the signal-to-noise ratio after
3885
merging from trunk and completes much faster. To see all merged
3886
revisions, use the new ``-v`` flag. (Ian Clatworthy)
3888
* ``bzr log --line`` now shows any tags after the date and before
3889
the commit message. If you have scripts which parse the output
3890
from this command, you may need to adjust them accordingly.
3893
* ``bzr log --short`` now shows any additional revision properties
3894
after the date and before the commit message. Scripts that parse
3895
output of the log command in this situation may need to adjust.
3896
(Neil Martinsen-Burrell)
3898
* The experimental formats ``1.12-preview`` and ``1.12-preview-rich-root``
3899
have been renamed ``development-wt5`` and ``development-wt5-rich-root``
3900
respectively, given they are not ready for release in 1.12.
3903
* ``read_bundle_from_url`` has been deprecated. (Vincent Ladeuil)
3908
* Add support for filtering ``bzr missing`` on revisions. Remote revisions
3909
can be filtered using ``bzr missing -r -20..-10`` and local revisions can
3910
be filtered using ``bzr missing --my-revision -20..-10``.
3913
* ``bzr log -p`` displays the patch diff for each revision.
3914
When logging a file, the diff only includes changes to that file.
3915
(Ian Clatworthy, #202331, #227335)
3917
* ``bzr log`` supports a new option called ``-n N`` or ``--level N``.
3918
A value of 0 (zero) means "show all nested merge revisions" while
3919
a value of 1 (one) means "show just the top level". Values above
3920
1 can be used to see a limited amount of nesting. That can be
3921
useful for seeing the level or two below PQM submits for example.
3922
To force the ``--short`` and ``--line`` formats to display all nested
3923
merge revisions just like ``--long`` does by default, use a command
3924
like ``bzr log --short -n0``. To display just the mainline using
3925
``--long`` format, ``bzr log --long -n1``.
3931
* ``bzr add`` more clearly communicates success vs failure.
3934
* ``bzr init`` will now print a little less verbose output.
3937
* ``bzr log`` is now much faster in many use cases, particularly
3938
at incrementally displaying results and filtering by a
3939
revision range. (Ian Clatworthy)
3941
* ``bzr log --short`` and ``bzr log --line`` now show tags, if any,
3942
for each revision. The tags are shown comma-separated inside
3943
``{}``. For short format, the tags appear at the end of line
3944
before the optional ``[merge]`` indicator. For line format,
3945
the tags appear after the date. (Ian Clatworthy)
3947
* Progress bars now show the rate of activity for some sftp
3948
operations, and they are drawn different. (Martin Pool, #172741)
3950
* Progress bars now show the rate of activity for urllib and pycurl based
3951
http client implementations. The operations are tracked at the socket
3952
level for better precision.
3955
* Rule-based preferences can now accept multiple patterns for a set of
3956
rules. (Marius Kruger)
3958
* The ``ancestor:`` revision spec will now default to referring to the
3959
parent of the branch if no other location is given.
3960
(Daniel Watkins, #198417)
3962
* The debugger started as a result of setting ``$BZR_PDB`` works
3963
around a bug in ``pdb``, http://bugs.python.org/issue4150. The bug
3964
can cause truncated tracebacks in Python versions before 2.6.
3967
* VirtualVersionedFiles now implements
3968
``iter_lines_added_or_present_in_keys``. This allows the creation of
3969
new branches based on stacked bzr-svn branches. (#311997)
3974
* ``bzr annotate --show-ids`` doesn't give a backtrace on empty files
3976
(Anne Mohsen, Vincent Ladeuil, #314525)
3978
* ``bzr log FILE`` now correctly shows mainline revisions merging
3979
a change to FILE when the ``--short`` and ``--line`` log formats
3980
are used. (Ian Clatworthy, #317417)
3982
* ``bzr log -rX..Y FILE`` now shows the history of FILE provided
3983
it existed in Y or X, even if the file has since been deleted or
3984
renamed. If no range is given, the current/basis tree and
3985
initial tree are searched in that order. More generally, log
3986
now interprets filenames in their historical context.
3987
(Ian Clatworthy, #175520)
3989
* ``bzr status`` now reports nonexistent files and continues, then
3990
errors (with code 3) at the end. (Karl Fogel, #306394)
3992
* Don't require the present compression base in knits to be the same
3993
when adding records in knits. (Jelmer Vernooij, #307394)
3995
* Fix a problem with CIFS client/server lag on Windows colliding with
3996
an invariant-per-process algorithm for generating AtomicFile names
3997
(Adrian Wilkins, #304023)
3999
* Many socket operations now handle EINTR by retrying the operation.
4000
Previously EINTR was treated as an unrecoverable failure. There is
4001
a new ``until_no_eintr`` helper function in ``bzrlib.osutils``.
4004
* Support symlinks with non-ascii characters in the symlink filename.
4005
(Jelmer Vernooij, #319323)
4007
* There was a bug in how we handled resolving when a file is deleted
4008
in one branch, and modified in the other. If there was a criss-cross
4009
merge, we would cause the deletion to conflict a second time.
4010
(Vincent Ladeuil, John Arbash Meinel)
4012
* There was another bug in how we chose the correct intermediate LCA in
4013
criss-cross merges leading to several kind of changes be incorrectly
4015
(John Arbash Meinel, Vincent Ladeuil)
4017
* Unshelve now handles deleted paths without crashing. (Robert Collins)
4022
* Improved plugin developer documentation. (Martin Pool)
4027
* ``ProgressBarStack`` is deprecated; instead use
4028
``ui_factory.nested_progress_bar`` to create new progress bars.
4031
* ForeignVcsMapping() now requires a ForeignVcs object as first
4032
argument. (Jelmer Vernooij)
4034
* ForeignVcsMapping.show_foreign_revid() has been moved to
4035
ForeignVcs. (Jelmer Vernooij)
4037
* ``read_bundle_from_url`` is deprecated in favor of
4038
``read_mergeable_from_url``. (Vincent Ladeuil)
4040
* Revision specifiers are now registered in
4041
``bzrlib.revisionspec.revspec_registry``, and the old list of
4042
revisionspec classes (``bzrlib.revisionspec.SPEC_TYPES``) has been
4043
deprecated. (Jelmer Vernooij, #321183)
4045
* The progress and UI classes have changed; the main APIs remain the
4046
same but code that provides a new UI or progress bar class may
4047
need to be updated. (Martin Pool)
4052
* Default User Interface (UI) is CLIUIFactory when bzr runs in a dumb
4053
terminal. It is sometimes desirable do override this default by forcing
4054
bzr to use TextUIFactory. This can be achieved by setting the
4055
BZR_USE_TEXT_UI environment variable (emacs shells, as opposed to
4056
compile buffers, are such an example).
4059
* New API ``Branch.iter_merge_sorted_revisions()`` that iterates over
4060
``(revision_id, depth, revno, end_of_merge)`` tuples.
4063
* New ``Branch.dotted_revno_to_revision_id()`` and
4064
``Branch.revision_id_to_dotted_revno()`` APIs that pick the most
4065
efficient way of doing the mapping.
4068
* Refactor cmd_serve so that it's a little easier to build commands that
4069
extend it, and perhaps even a bit easier to read. (Jonathan Lange)
4071
* ``TreeDelta.show()`` now accepts a ``filter`` parameter allowing log
4072
formatters to retrict the output.
4079
:Codename: "Eyes up!"
4080
:Released: 2009-01-19
4082
This first monthly release of Bazaar for 2009 improves Bazaar's operation
4083
in Windows, Mac OS X, and other situations where file names are matched
4084
without regard to capitalization: Bazaar tries to match the case of an
4085
existing file. This release of Bazaar also improves the efficiency of
4086
Tortoise Windows Shell integration and lets it work on 64-bit platforms.
4088
The UI through which Bazaar supports historic formats has been improved,
4089
so 'bzr help formats' now gives a simpler and shorter list, with clear
4092
This release also fixes a number of bugs, particularly a glitch that can
4093
occur when there are concurrent writes to a pack repository.
4098
* Fix failing test when CompiledChunksToLines is not available.
4101
* Stacked branches don't repeatedly open their transport connection.
4102
(John Arbash Meinel)
4109
:Codename: "Eyes up!"
4110
:Released: 2009-01-09
4115
* Formats using Knit-based repository formats are now explicitly
4116
marked as deprecated. (Ian Clatworthy)
4121
* Add support for `bzr tags -r 1..2`, that is we now support showing
4122
tags applicable for a specified revision range. (Marius Kruger)
4124
* ``authentication.conf`` now accepts pluggable read-only credential
4125
stores. Such a plugin (``netrc_credential_store``) is now included,
4126
handles the ``$HOME/.netrc`` file and can server as an example to
4127
implement other plugins.
4130
* ``shelve --list`` can now be used to list shelved changes.
4136
* Add trailing slash to directories in all output of ``bzr ls``, except
4137
``bzr ls --null``. (Gordon P. Hemsley, #306424)
4139
* ``bzr revision-info`` now supports a -d option to specify an
4140
alternative branch. (Michael Hudson)
4142
* Add connection to a C++ implementation of the Windows Shell Extension
4143
which is able to fully replace the current Python implemented one.
4144
Advantages include 64bit support and reduction in overhead for
4145
processes which drag in shell extensions.
4148
* Support the Claws mail client directly, rather than via
4149
xdg-email. This prevents the display of an unnecessary modal
4150
dialog in Claws, informing the user that a file has been
4151
attached to the message, and works around bug #291847 in
4152
xdg-utils which corrupts the destination address.
4154
* When working on a case-insensitive case-preserving file-system, as
4155
commonly found with Windows, bzr will often ignore the case of the
4156
arguments specified by the user in preference to the case of an existing
4157
item on the file-system or in the inventory to help prevent
4158
counter-intuitive behaviour on Windows. (Mark Hammond)
4163
* Allow BzrDir implementation to implement backing up of
4164
control directory. (#139691)
4166
* ``bzr push`` creating a new stacked branch will now only open a
4167
single connection to the target machine. (John Arbash Meinel)
4169
* Don't call iteritems on transport_list_registry, because it may
4170
change during iteration. (Martin Pool, #277048)
4172
* Don't make a broken branch when pushing an unstackable-format branch
4173
that's in a stackable shared repository to a location with default
4174
stack-on location. (Andrew Bennetts, #291046)
4176
* Don't require embedding user in HTTP(S) URLs do use authentication.conf.
4177
(Ben Jansen, Vincent Ladeuil, #300347)
4179
* Fix a problem with CIFS client/server lag on windows colliding with
4180
an invariant-per-process algorithm for generating AtomicFile names
4181
(Adrian Wilkins, #304023)
4183
* Fix bogus setUp signature in UnavailableFTPServer.
4184
(Gary van der Merwe, #313498)
4186
* Fix compilation error in ``_dirstate_helpers_c`` on SunOS/Solaris.
4189
* Fix SystemError in ``_patiencediff_c`` module by calling
4190
PyErr_NoMemory() before returning NULL in PatienceSequenceMatcher_new.
4191
(Andrew Bennetts, #303206)
4193
* Give proper error message for diff with non-existent dotted revno.
4194
(Marius Kruger, #301969)
4196
* Handle EACCES (permission denied) errors when launching a message
4197
editor, and emit warnings when a configured editor cannot be
4198
started. (Andrew Bennetts)
4200
* ``$HOME/.netrc`` file is now recognized as a read-only credential store
4201
if configured in ``authentication.conf`` with 'password_encoding=netrc'
4202
in the appropriate sections.
4203
(Vincent Ladeuil, #103029)
4205
* Opening a stacked branch now properly shares the connection, rather
4206
than opening a new connection for the stacked-on branch.
4207
(John Arbash meinel)
4209
* Preserve transport decorators while following redirections.
4210
(Vincent Ladeuil, #245964, #270863)
4212
* Provides a finer and more robust filter for accepted redirections.
4213
(Vincent Ladeuil, #303959, #265070)
4215
* ``shelve`` paths are now interpreted relative to the current working
4216
tree. (Aaron Bentley)
4218
* ``Transport.readv()`` defaults to not reading more than 100MB in a
4219
single array. Further ``RemoteTransport.readv`` sets this to 5MB to
4220
work better with how it splits its requests.
4221
(John Arbash Meinel, #303538)
4223
* Pack repositories are now able to reload the pack listing and retry
4224
the current operation if another action causes the data to be
4225
repacked. (John Arbash Meinel, #153786)
4227
* ``pull -v`` now respects the log_format configuration variable.
4230
* ``push -v`` now works on non-initial pushes. (Aaron Bentley)
4232
* Use the short status format when the short format is used for log.
4233
(Vincent Ladeuil, #87179)
4235
* Allow files to be renamed or moved via remove + add-by-id. (Charles
4241
* Improved the formats help topic to explain why multiple formats
4242
exist and to provide guidelines in selecting one. Introduced
4243
two new supporting help topics: current-formats and other-formats.
4249
* ``LRUCache(after_cleanup_size)`` was renamed to
4250
``after_cleanup_count`` and the old name deprecated. The new name is
4251
used for clarity, and to avoid confusion with
4252
``LRUSizeCache(after_cleanup_size)``. (John Arbash Meinel)
4254
* New ``ForeignRepository`` base class, to help with foreign branch
4255
support (e.g. svn). (Jelmer Vernooij)
4257
* ``node_distances`` and ``select_farthest`` can no longer be imported
4258
from ``bzrlib.graph``. They can still be imported from
4259
``bzrlib.deprecated_graph``, which has been the preferred way to
4260
import them since before 1.0. (Andrew Bennetts)
4262
* The logic in commit now delegates inventory basis calculations to
4263
the ``CommitBuilder`` object; this requires that the commit builder
4264
in use has been updated to support the new ``recording_deletes`` and
4265
``record_delete`` methods. (Robert Collins)
4270
* An HTTPS server is now available (it requires python-2.6). Future bzr
4271
versions will allow the use of the python-2.6 ssl module that can be
4272
installed for 2.5 and 2.4.
4274
* ``bzr selftest`` now fails if new trailing white space is added to
4275
the bazaar sources. It only checks changes not committed yet. This
4276
means that PQM will now reject changes that introduce new trailing
4277
whitespace. (Marius Kruger)
4279
* Introduced new experimental formats called ``1.12-preview`` and
4280
``1.12-preview-rich-root`` to enable testing of related pending
4281
features, namely content filtering and filtered views.
4287
* Added an ``InventoryEntry`` cache when deserializing inventories.
4288
Can cut the time to iterate over multiple RevisionsTrees in half.
4289
(John Arbash Meinel)
4291
* Added ``bzrlib.fifo_cache.FIFOCache`` which is designed to have
4292
minimal overhead versus using a plain dict for cache hits, at the
4293
cost of not preserving the 'active' set as well as an ``LRUCache``.
4294
(John Arbash Meinel)
4296
* ``bzrlib.patience_diff.unified_diff`` now properly uses a tab
4297
character to separate the filename from the date stamp, and doesn't
4298
add trailing whitespace when a date stamp is not supplied.
4299
(Adeodato Simó, John Arbash Meinel)
4301
* ``DirStateWorkingTree`` and ``DirStateWorkingTreeFormat`` added
4302
as base classes of ``WorkingTree4`` and ``WorkingTreeFormat4``
4303
respectively. (Ian Clatworthy)
4305
* ``KnitVersionedFiles._check_should_delta()`` now uses the
4306
``get_build_details`` api to avoid multiple hits to the index, and
4307
to properly follow the ``compression_parent`` rather than assuming
4308
it is the left-hand parent. (John Arbash Meinel)
4310
* ``KnitVersionedFiles.get_record_stream()`` will now chose a
4311
more optimal ordering when the keys are requested 'unordered'.
4312
Previously the order was fully random, now the records should be
4313
returned from each pack in turn, in forward I/O order.
4314
(John Arbash Meinel)
4316
* ``mutter()`` will now flush the ``~/.bzr.log`` if it has been more
4317
than 2s since the last time it flushed. (John Arbash Meinel)
4319
* New method ``bzrlib.repository.Repository.add_inventory_by_delta``
4320
allows adding an inventory via an inventory delta, which can be
4321
more efficient for some repository types. (Robert Collins)
4323
* Repository ``CommitBuilder`` objects can now accumulate an inventory
4324
delta. To enable this functionality call ``builder.recording_deletes``
4325
and additionally call ``builder.record_delete`` when a delete
4326
against the basis occurs. (Robert Collins)
4328
* The default http handler has been changed from pycurl to urllib.
4329
The default is still pycurl for https connections. (The only
4330
advantage of pycurl is that it checks ssl certificates.)
4331
(John Arbash Meinel)
4333
* ``VersionedFiles.get_record_stream()`` can now return objects with a
4334
storage_kind of ``chunked``. This is a collection (list/tuple) of
4335
strings. You can use ``osutils.chunks_to_lines()`` to turn them into
4336
guaranteed 'lines' or you can use ``''.join(chunks)`` to turn it
4337
into a fulltext. This allows for some very good memory savings when
4338
asking for many texts that share ancestry, as the individual chunks
4339
can be shared between versions of the file. (John Arbash Meinel)
4341
* ``pull -v`` and ``push -v`` use new function
4342
``bzrlib.log.show_branch_change`` (Aaron Bentley)
4349
:Released: 2008-12-05
4351
Bazaar 1.10 has several performance improvements for copying revisions
4352
(especially for small updates to large projects). There has also been a
4353
significant amount of effort in polishing stacked branches. The commands
4354
``shelve`` and ``unshelve`` have become core commands, with an improved
4357
The only changes versus bzr-1.10rc1 are bugfixes for stacked branches.
4362
* Don't set a pack write cache size from RepoFetcher, because the
4363
cache is not coherent with reads and causes ShortReadvErrors.
4364
This reverses the change that fixed #294479.
4365
(Martin Pool, #303856)
4367
* Properly handle when a revision can be inserted as a delta versus
4368
when it needs to be expanded to a fulltext for stacked branches.
4369
There was a bug involving merge revisions. As a method to help
4370
prevent future difficulties, also make stacked fetches sort
4371
topologically. (John Arbash Meinel, #304841)
4377
:Released: 2008-11-28
4379
This release of Bazaar focuses on performance improvements when pushing
4380
and pulling revisions, both locally and to remote networks. The popular
4381
``shelve`` and ``unshelve`` commands, used to interactively revert and
4382
restore work in progress, have been merged from bzrtools into the bzr
4383
core. There are also bug fixes for portability, and for stacked branches.
4388
* New ``commit_message_template`` hook that is called by the commit
4389
code to generate a template commit message. (Jelmer Vernooij)
4391
* New `shelve` and `unshelve` commands allow undoing and redoing changes.
4397
* ``(Remote)Branch.copy_content_into`` no longer generates the full revision
4398
history just to set the last revision info.
4399
(Andrew Bennetts, John Arbash Meinel)
4401
* Fetches between formats with different serializers (such as
4402
pack-0.92-subtree and 1.9-rich-root) are faster now. This is due to
4403
operating on batches of 100 revisions at time rather than
4404
one-by-one. (Andrew Bennetts, John Arbash Meinel)
4406
* Search index files corresponding to pack files we've already used
4407
before searching others, because they are more likely to have the
4408
keys we're looking for. This reduces the number of iix and tix
4409
files accessed when pushing 1 new revision, for instance.
4410
(John Arbash Meinel)
4412
* Signatures to transfer are calculated more efficiently in
4413
``item_keys_introduced_by``. (Andrew Bennetts, John Arbash Meinel)
4415
* The generic fetch code can once again copy revisions and signatures
4416
without extracting them completely to fulltexts and then serializing
4417
them back down into byte strings. This is a significant performance
4418
improvement when fetching from a stacked branch.
4419
(John Arbash Meinel, #300289)
4421
* When making a large readv() request over ``bzr+ssh``, break up the
4422
request into more manageable chunks. Because the RPC is not yet able
4423
to stream, this helps keep us from buffering too much information at
4424
once. (John Arbash Meinel)
4429
* Better message when the user needs to set their Launchpad ID.
4430
(Martin Pool, #289148)
4432
* ``bzr commit --local`` doesn't access the master branch anymore.
4433
This fixes a regression introduced in 1.9. (Marius Kruger, #299313)
4435
* Don't call the system ``chdir()`` with an empty path. Sun OS seems
4436
to give an error in that case. Also, don't count on ``getcwd()``
4437
being able to allocate a new buffer, which is a gnu extension.
4438
(John Arbash Meinel, Martin Pool, Harry Hirsch, #297831)
4440
* Don't crash when requesting log --forward <file> for a revision range
4441
starting with a dotted revno.
4442
(Vincent Ladeuil, #300055)
4444
* Don't create text deltas spanning stacked repositories; this could
4445
cause "Revision X not present in Y" when later accessing them.
4446
(Martin Pool, #288751)
4448
* Pack repositories are now able to reload the pack listing and retry
4449
the current operation if another action causes the data to be
4450
repacked. (John Arbash Meinel, #153786)
4452
* PermissionDenied errors from smart servers no longer cause
4453
"PermissionDenied: "None"" on the client.
4454
(Andrew Bennetts, #299254)
4456
* Pushing to a stacked pack repository now batches writes, the same
4457
way writes are batched to ordinary pack repository. This makes
4458
pushing to a stacked branch over the network much faster.
4459
(Andrew Bennetts, #294479)
4461
* TooManyConcurrentRequests no longer occur when a fetch fails and
4462
tries to abort a write group. This allows the root cause (e.g. a
4463
network interruption) to be reported. (Andrew Bennetts, #297014)
4465
* RemoteRepository.get_parent_map now uses fallback repositories.
4466
(Aaron Bentley, #297991?, #293679?)
4471
* ``CommitBuilder`` now validates the strings it will be committing,
4472
to ensure that they do not have characters that will not be properly
4473
round-tripped. For now, it just checks for characters that are
4474
invalid in the XML form. (John Arbash Meinel, #295161)
4476
* Constructor parameters for NewPack (internal to pack repositories)
4477
have changed incompatibly.
4479
* ``Repository.abort_write_group`` now accepts an optional
4480
``suppress_errors`` flag. Repository implementations that override
4481
``abort_write_group`` will need to be updated to accept the new
4482
argument. Subclasses that only override ``_abort_write_group``
4483
don't need to change.
4485
* Transport implementations must provide copy_tree_to_transport. A default
4486
implementation is provided for Transport subclasses.
4491
* ``bzr selftest`` now fails if no doctests are found in a module
4492
that's expected to have them. (Martin Pool)
4494
* Doctests now only report the first failure. (Martin Pool)
4500
:Released: 2008-11-07
4502
This release of Bazaar adds a new repository format, ``1.9``, with smaller
4503
and more efficient index files. This format can be specified when
4504
creating a new repository, or used to losslessly upgrade an existing
4505
repository. bzr 1.9 also speeds most operations over the smart server
4506
protocol, makes annotate faster, and uses less memory when making
4507
checkouts or pulling large amounts of data.
4512
* Fix "invalid property value 'branch-nick' for None" regression with
4513
branches bound to svn branches. (Martin Pool, #293440)
4515
* Fix SSL/https on Python2.6. (Vincent Ladeuil, #293054)
4517
* ``SFTPTransport.readv()`` had a bug when requests were out-of-order.
4518
This only triggers some-of-the-time on Knit format repositories.
4519
(John Arbash Meinel, #293746)
4525
:Released: 2008-10-31
4530
* New Branch hook ``transform_fallback_location`` allows a function to
4531
be called when looking up the stacked source. (Michael Hudson)
4533
* New repository formats ``1.9`` and ``1.9-rich-root``. These have all
4534
the functionality of ``1.6``, but use the new btree indexes.
4535
These indexes are both smaller and faster for access to historical
4536
information. (John Arbash Meinel)
4541
* ``BTreeIndex`` code now is able to prefetch extra pages to help tune
4542
the tradeoff between bandwidth and latency. Should be tuned
4543
appropriately to not impact commands which need minimal information,
4544
but provide a significant boost to ones that need more context. Only
4545
has a direct impact on the ``--development2`` format which uses
4546
btree's for the indexes. (John Arbash Meinel)
4548
* ``bzr dump-btree`` is a hidden command introduced to allow dumping
4549
the contents of a compressed btree file. (John Arbash Meinel)
4551
* ``bzr pack`` now tells the index builders to optimize for size. For
4552
btree index repositories, this can save 25% of the index size
4553
(mostly in the text indexes). (John Arbash Meinel)
4555
* ``bzr push`` to an existing branch or repository on a smart server
4556
is faster, due to Bazaar making more use of the ``get_parent_map``
4557
RPC when querying the remote branch's revision graph.
4560
* default username for bzr+ssh and sftp can be configured in
4561
authentication.conf. (Aaron Bentley)
4563
* launchpad-login now provides a default username for bzr+ssh and sftp
4564
URLs, allowing username-free URLs to work for everyone. (Aaron Bentley)
4566
* ``lp:`` lookups no longer include usernames, making them shareable and
4567
shorter. (Aaron Bentley)
4569
* New ``PackRepository.autopack`` smart server RPC, which does
4570
autopacking entirely on the server. This is much faster than
4571
autopacking via plain file methods, which downloads a large amount
4572
of pack data and then re-uploads the same pack data into a single
4573
file. This fixes a major (although infrequent) cause of lengthy
4574
delays when using a smart server. For example, pushing the 10th
4575
revision to a repository with 9 packs now takes 44 RPCs rather than
4576
179, and much less bandwidth too. This requires Bazaar 1.9 on both
4577
the client and the server, otherwise the client will fallback to the
4578
slower method. (Andrew Bennetts)
4583
* A failure to load a plugin due to an IncompatibleAPI exception is
4584
now correctly reported. (Robert Collins, #279451)
4586
* API versioning support now has a multiple-version checking api
4587
``require_any_api``. (Robert Collins, #279447)
4589
* ``bzr branch --stacked`` from a smart server to a standalone branch
4590
works again. This fixes a regression in 1.7 and 1.8.
4591
(Andrew Bennetts, #270397)
4593
* ``bzr co`` uses less memory. It used to unpack the entire WT into
4594
memory before writing it to disk. This was a little bit faster, but
4595
consumed lots of memory. (John Arbash Meinel, #269456)
4597
* ``bzr missing --quiet`` no longer prints messages about whether
4598
there are missing revisions. The exit code indicates whether there
4599
were or not. (Martin Pool, #284748)
4601
* Fixes to the ``annotate`` code. The fast-path which re-used the
4602
stored deltas was accidentally disabled all the time, instead of
4603
only when a branch was stacked. Second, the code would accidentally
4604
re-use a delta even if it wasn't against the left-parent, this
4605
could only happen if ``bzr reconcile`` decided that the parent
4606
ordering was incorrect in the file graph. (John Arbash Meinel)
4608
* "Permission denied" errors that occur when pushing a new branch to a
4609
smart server no longer cause tracebacks. (Andrew Bennetts, #278673)
4611
* Some compatibility fixes for building the extensions with MSVC and
4612
for python2.4. (John Arbash Meinel, #277484)
4614
* The index logic is now able to reload the list of pack files if and
4615
index ends up disappearing. We still don't reload if the pack data
4616
itself goes missing after checking the index. This bug appears as a
4617
transient failure (file not found) when another process is writing
4618
to the repository. (John Arbash Meinel, #153786)
4620
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
4621
it was previously set. All checkouts will now refer to the bound branch
4622
for a nickname if one was not explicitly set.
4623
(Marius Kruger, #230903)
4628
* Improved hook documentation. (Michael Ernst)
4633
* commands.plugins_cmds is now a CommandRegistry, not a dict.
4638
* New AuthenticationConfig.set_credentials method allows easy programmatic
4639
configuration of authetication credentials.
4645
:Released: 2008-10-16
4647
Bazaar 1.8 includes several fixes that improve working tree performance,
4648
display of revision logs, and merges. The bzr testsuite now passes on OS
4649
X and Python 2.6, and almost completely passes on Windows. The
4650
smartserver code has gained several bug fixes and performance
4651
improvements, and can now run server-side hooks within an http server.
4656
* Fix "Must end write group" error when another error occurs during
4657
``bzr push``. (Andrew Bennetts, #230902)
4662
* Some Pyrex versions require the WIN32 macro defined to compile on
4663
that platform. (Alexander Belchenko, Martin Pool, #277481)
4669
:Released: 2008-10-07
4674
* ``bzr log file`` has been changed. It now uses a different method
4675
for determining which revisions to show as merging the changes to
4676
the file. It now only shows revisions which merged the change
4677
towards your mainline. This simplifies the output, makes it faster,
4678
and reduces memory consumption. (John Arbash Meinel)
4680
* ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
4681
``--show-base`` is not supplied. (John Arbash Meinel)
4683
* ``bzr+http//`` will now optionally load plugins and write logs on the
4684
server. (Marius Kruger)
4686
* ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
4687
Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
4688
explicitly blacklist that version of the compiler for that
4689
extension. Packaged versions will include .c files created with
4690
pyrex >= 0.9.6 so it doesn't effect releases, only users running
4691
from the source tree. (John Arbash Meinel, #276868)
4696
* bzr is now compatible with python-2.6. python-2.6 is not yet officially
4697
supported (nor released, tests were conducted with the dev version of
4698
python-2.6rc2), but all known problems have been fixed. Feedback
4700
(Vincent Ladeuil, #269535)
4705
* ``bzr annotate`` will now include uncommitted changes from the local
4706
working tree by default. Such uncommitted changes are given the
4707
revision number they would get if a commit was done, followed with a
4708
? to indicate that its not actually known. (Robert Collins, #3439)
4710
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
4711
standalone branch regardless of the presence of shared repositories.
4714
* ``bzr push`` is faster in the case there are no new revisions to
4715
push. It is also faster if there are no tags in the local branch.
4718
* File changes during a commit will update the tree stat cache.
4721
* Location aliases can now accept a trailing path. (Micheal Hudson)
4723
* New hooks ``Lock.hooks`` when LockDirs are acquired and released.
4724
(Robert Collins, MartinPool)
4726
* Switching in heavyweight checkouts uses the master branch's context, not
4727
the checkout's context. (Adrian Wilkins)
4729
* ``status`` on large trees is now faster, due to optimisations in the
4730
walkdirs code. Of particular note, the walkdirs code now performs
4731
a temporary ``chdir()`` while reading a single directory; if your
4732
platform has non thread-local current working directories (and is
4733
not windows which has its own implementation), this may introduce a
4734
race condition during concurrent uses of bzrlib. The bzrlib CLI
4735
will not encounter this as it is single threaded for working tree
4736
operations. (Robert Collins)
4738
* The C extensions now build on python 2.4 (Robert Collins, #271939)
4740
* The ``-Dhpss`` debug flag now reports the number of smart server
4741
calls per medium to stderr. This is in addition to the existing
4742
detailed logging to the .bzr.log trace file. (Andrew Bennetts)
4747
* Avoid random failures arising from misinterpreted ``errno`` values
4748
in ``_readdir_pyx.read_dir``.
4749
(Martin Pool, #279381)
4751
* Branching from a shared repository on a smart server into a new
4752
repository now preserves the repository format.
4753
(Andrew Bennetts, #269214)
4755
* ``bzr log`` now accepts a ``--change`` option.
4756
(Vincent Ladeuil, #248427)
4758
* ``bzr missing`` now accepts an ``--include-merges`` option.
4759
(Vincent Ladeuil, #233817)
4761
* Don't try to filter (internally) '.bzr' from the files to be deleted if
4763
(Vincent Ladeuil, #272648)
4765
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
4768
* Fix TooManyConcurrentRequests errors caused by a connection failure
4769
when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
4770
(Andrew Bennetts, #246233)
4772
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
4773
is in a different repository than the current one.
4774
(Lukáš Lalinský, #144421)
4776
* Make the first line of the manpage preamble a comment again.
4777
(David Futcher, #242106)
4779
* Remove use of optional parameter in GSSAPI FTP support, since
4780
it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
4782
* The autopacking logic will now always create a single new pack from
4783
all of the content which it deems is worth moving. This avoids the
4784
'repack a single pack' bug and should result in better packing
4785
overall. (John Arbash Meinel, #242510, #172644)
4787
* Trivial documentation fix.
4788
(John Arbash Meinel, #270471)
4790
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
4791
it was previously set. All checkouts will now refer to the bound branch
4792
for a nickname if one was not explicitly set.
4793
(Marius Kruger, #230903)
4798
* Explain revision/range identifiers. (Daniel Clemente)
4803
* ``CommitBuilder.record_entry_contents`` returns one more element in
4804
its result tuple - an optional file system hash for the hash cache
4805
to use. (Robert Collins)
4807
* ``dirstate.DirState.update_entry`` will now only calculate the sha1
4808
of a file if it is likely to be needed in determining the output
4809
of iter_changes. (Robert Collins)
4811
* The PackRepository, RepositoryPackCollection, NewPack classes have a
4812
slightly changed interface to support different index types; as a
4813
result other users of these classes need to supply the index types
4814
they want. (Robert Collins)
4819
* ``bzrlib.tests.repository_implementations`` has been renamed to
4820
``bzrlib.tests.per_repository`` so that we have a common structure
4821
(and it is shorter). (John Arbash Meinel, #239343)
4823
* ``LocalTransport.abspath()`` now returns a drive letter if the
4824
transport has one, fixing numerous tests on Windows.
4827
* PreviewTree is now tested via intertree_implementations.
4830
* The full test suite is passing again on OSX.
4831
(Guillermo Gonzalez, Vincent Ladeuil)
4833
* The full test suite passes when run with ``-Eallow_debug``.
4839
* A new hook, ``Branch.open``, has been added, which is called when
4840
branch objects are opened. (Robert Collins)
4842
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
4843
tree walking, and modular directory listing code to aid future
4844
performance optimisations and refactoring. (Robert Collins)
4846
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
4847
in the middle of processing. It only reports memory if
4848
``/proc/PID/status`` is available. (John Arbash Meinel)
4850
* New method ``RevisionSpec.as_tree`` for representing the revision
4851
specifier as a revision tree object. (Lukáš Lalinský)
4853
* New race-free method on MutableTree ``get_file_with_stat`` for use
4854
when generating stat cache results. (Robert Collins)
4856
* New win32utils.get_local_appdata_location() provides access to a local
4857
directory for storing data. (Mark Hammond)
4859
* To be compatible with python-2.6 a few new rules should be
4860
observed. 'message' attribute can't be used anymore in exception
4861
classes, 'sha' and 'md5' modules have been deprecated (use
4862
osutils.[md5|sha]), object__init__ and object.__new__ don't accept
4870
:Released: 2008-10-01
4872
No changes from 1.7.1rc1.
4878
:Released: 2008-09-24
4880
This release just includes an update to how the merge algorithm handles
4881
file paths when we encounter complex history.
4886
* If we encounter a criss-cross in history, use information from
4887
direct Least Common Ancestors to resolve inventory shape (locations
4888
of files, adds, deletes, etc). This is similar in concept to using
4889
``--lca`` for merging file texts, only applied to paths.
4890
(John Arbash Meinel)
4896
:Released: 2008-09-23
4898
This release includes many bug fixes and a few performance and feature
4899
improvements. ``bzr rm`` will now scan for missing files and remove them,
4900
like how ``bzr add`` scans for unknown files and adds them. A bit more
4901
polish has been applied to the stacking code. The b-tree indexing code has
4902
been brought in, with an eye on using it in a future repository format.
4903
There are only minor installer changes since bzr-1.7rc2.
4908
* Some small updates to the win32 installer. Include localization
4909
files found in plugins, and include the builtin distutils as part of
4910
packaging qbzr. (Mark Hammond)
4916
:Released: 2008-09-17
4918
A few bug fixes from 1.7rc1. The biggest change is a new
4919
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
4920
trying to access a Stacked branch over the smart protocol, to properly
4921
connect to the stacked-on location.
4926
* Branching from a shared repository on a smart server into a new
4927
repository now preserves the repository format.
4928
(Andrew Bennetts, #269214)
4930
* Branching from a stacked branch via ``bzr+ssh`` can properly connect
4931
to the stacked-on branch. (Martin Pool, #261315)
4933
* ``bzr init`` no longer re-opens the BzrDir multiple times.
4936
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
4943
:Released: 2008-09-09
4945
This release candidate for bzr 1.7 has several bug fixes and a few
4946
performance and feature improvements. ``bzr rm`` will now scan for
4947
missing files and remove them, like how ``bzr add`` scans for unknown
4948
files and adds them. A bit more polish has been applied to the stacking
4949
code. The b-tree indexing code has been brought in, with an eye on using
4950
it in a future repository format.
4956
* ``bzr export`` can now export a subdirectory of a project.
4959
* ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
4960
changes, unless the ``--force`` option is specified.
4961
(Lukáš Lalinský, #74101)
4963
* ``bzr rm`` will now scan for files that are missing and remove just
4964
them automatically, much as ``bzr add`` scans for new files that
4965
are not ignored and adds them automatically. (Robert Collins)
4970
* Support for GSSAPI authentication when using FTP as documented in
4971
RFC2228. (Jelmer Vernooij, #49623)
4973
* Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
4978
* A url like ``log+file:///tmp`` will log all access to that Transport
4979
to ``.bzr.log``, which may help in debugging or profiling.
4982
* ``bzr branch`` and ``bzr push`` use the default stacking policy if the
4983
branch format supports it. (Aaron Bentley)
4985
* ``bzr init`` and ``bzr init-repo`` will now print out the same as
4986
``bzr info`` if it completed successfully.
4989
* ``bzr uncommit`` logs the old tip revision id, and displays how to
4990
restore the branch to that tip using ``bzr pull``. This allows you
4991
to recover if you realize you uncommitted the wrong thing.
4992
(John Arbash Meinel)
4994
* Fix problems in accessing stacked repositories over ``bzr://``.
4995
(Martin Pool, #261315)
4997
* ``SFTPTransport.readv()`` was accidentally using ``list += string``,
4998
which 'works', but adds each character separately to the list,
4999
rather than using ``list.append(string)``. Fixing this makes the
5000
SFTP transport a little bit faster (~20%) and use a bit less memory.
5001
(John Arbash Meinel)
5003
* When reading index files, if we happen to read the whole file in a
5004
single request treat it as a ``_buffer_all`` request. This happens
5005
most often on small indexes over remote transports, where we default
5006
to reading 64kB. It saves a round trip for each small index during
5007
fetch operations. Also, if we have read more than 50% of an index
5008
file, trigger a ``_buffer_all`` on the next request. This works
5009
around some inefficiencies because reads don't fall neatly on page
5010
boundaries, so we would ignore those bytes, but request them again
5011
later. This could trigger a total read size of more than the whole
5012
file. (John Arbash Meinel)
5017
* ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
5018
users. (Robert Collins, #205416)
5020
* Catch the infamous "select/poll returned error" which occurs when
5021
pycurl try to send a body request to an HTTP/1.0 server which has
5022
already refused to handle the request. (Vincent Ladeuil, #225020)
5024
* Fix ``ObjectNotLocked`` errors when using various commands
5025
(including ``bzr cat`` and ``bzr annotate``) in combination with a
5026
smart server URL. (Andrew Bennetts, #237067)
5028
* ``FTPTransport.stat()`` would return ``0000`` as the permission bits
5029
for the containing ``.bzr/`` directory (it does not implement
5030
permissions). This would cause us to set all subdirectories to
5031
``0700`` and files to ``0600`` rather than leaving them unmodified.
5032
Now we ignore ``0000`` as the permissions and assume they are
5033
invalid. (John Arbash Meinel, #259855)
5035
* Merging from a previously joined branch will no longer cause
5036
a traceback. (Jelmer Vernooij, #203376)
5038
* Pack operations on windows network shares will work even with large
5039
files. (Robert Collins, #255656)
5041
* Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
5042
status. Status is also about 7% faster on mozilla sized trees
5043
when the path to the root of the tree has been given. Users of
5044
the internal ``show_tree_status`` function should be aware that
5045
the show_pending flag is now authoritative for showing pending
5046
merges, as it was originally. (Robert Collins, #225204)
5048
* Set valid default _param_name for Option so that ListOption can embed
5049
'-' in names. (Vincent Ladeuil, #263249)
5051
* Show proper error rather than traceback when an unknown revision
5052
id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
5054
* Trailing text in the dirstate file could cause the C dirstate parser
5055
to try to allocate an invalid amount of memory. We now properly
5056
check and test for parsing a dirstate with invalid trailing data.
5057
(John Arbash Meinel, #186014)
5059
* Unexpected error responses from a smart server no longer cause the
5060
client to traceback. (Andrew Bennetts, #263527)
5062
* Use a Windows api function to get a Unicode host name, rather than
5063
assuming the host name is ascii.
5064
(Mark Hammond, John Arbash Meinel, #256550)
5066
* ``WorkingTree4`` trees will now correctly report missing-and-new
5067
paths in the output of ``iter_changes``. (Robert Collins)
5072
* Updated developer documentation. (Martin Pool)
5077
* Exporters now take 4 parameters. (Robert Collins)
5079
* ``Tree.iter_changes`` will now return False for the content change
5080
field when a file is missing in the basis tree and not present in
5081
the target tree. Previously it returned True unconditionally.
5084
* The deprecated ``Branch.abspath`` and unimplemented
5085
``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
5087
* BzrDir.clone_on_transport implementations must now accept a stacked_on
5088
parameter. (Aaron Bentley)
5090
* BzrDir.cloning_metadir implementations must now take a require_stacking
5091
parameter. (Aaron Bentley)
5096
* ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
5097
which are then passed to the cleanup callable as it is run. In
5098
addition, addCleanup no longer requires that the callables passed to
5099
it be unique. (Jonathan Lange)
5101
* Fix some tests that fail on Windows because files are deleted while
5105
* ``selftest``'s ``--starting-with`` option can now use predefined
5106
prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
5107
``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
5109
* ``selftest``'s ``--starting-with`` option now accepts multiple values.
5115
* A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
5116
This allows dynamic log output filtering by plugins.
5119
* ``bzrlib.btree_index`` is now available, providing a b-tree index
5120
layer. The design is memory conservative (limited memory cache),
5121
faster to seek (approx 100 nodes per page, gives 100-way fan out),
5122
and stores compressed pages allowing more keys per page.
5123
(Robert Collins, John Arbash Meinel)
5125
* ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
5126
is unknown in both source and target.
5127
(Robert Collins, Aaron Bentley)
5129
* ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
5130
streamlined a bit. This should make creating large indexes faster.
5131
(In benchmarking, it now takes less time to create a BTree index than
5132
it takes to read the GraphIndex one.) (John Arbash Meinel)
5134
* Mail clients for `bzr send` are now listed in a registry. This
5135
allows plugins to add new clients by registering them with
5136
``bzrlib.mail_client.mail_client_registry``. All of the built-in
5137
clients now use this mechanism. (Neil Martinsen-Burrell)
5143
:Released: 2008-09-05
5145
A couple regressions were found in the 1.6 release. There was a
5146
performance issue when using ``bzr+ssh`` to branch large repositories,
5147
and some problems with stacking and ``rich-root`` capable repositories.
5153
:Released: 2008-09-03
5158
* Copying between ``rich-root`` and ``rich-root-pack`` (and vice
5159
versa) was accidentally using the inter-model fetcher, instead of
5160
recognizing that both were 'rich root' formats.
5161
(John Arbash Meinel, #264321)
5167
:Released: 2008-08-29
173
5169
This release fixes a few regressions found in the 1.6 client. Fetching
174
5170
changes was using an O(N^2) buffering algorithm, so for large projects it
1436
6514
substantially faster. Several bugs have been fixed and several new options and
1437
6515
features have been added.
1441
* Avoid spurious failure of ``TestVersion.test_version`` matching
1443
(#202778, Martin Pool)
1446
bzr 1.3rc1 2008-03-16
1447
---------------------
1449
NOTES WHEN UPGRADING:
1451
* The backup directory created by ``upgrade`` is now called
1452
``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
1456
* A new repository format 'development' has been added. This format will
1457
represent the latest 'in-progress' format that the bzr developers are
1458
interested in getting early-adopter testing and feedback on.
1459
``doc/developers/development-repo.txt`` has detailed information.
1462
* BZR_LOG environment variable controls location of .bzr.log trace file.
1463
User can suppress writing messages to .bzr.log by using '/dev/null'
1464
filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
1465
is not defined but BZR_HOME is defined then default location
1466
for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
1467
(Alexander Belchenko)
1469
* ``launchpad`` builtin plugin now shipped as separate part in standalone
1470
bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
1471
and standalone installer allows user to skip installation of this plugin.
1472
(Alexander Belchenko)
1474
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
1476
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
1477
missing final fields. (Martin Pool)
1481
* ``branch`` and ``checkout`` can hard-link working tree files, which is
1482
faster and saves space. (Aaron Bentley)
1484
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
1485
the submit branch to determine the email address to send to.
1490
* BzrBranch._lefthand_history is faster on pack repos. (Aaron Bentley)
1492
* Branch6.generate_revision_history is faster. (Aaron Bentley)
1494
* Directory services can now be registered, allowing special URLs to be
1495
dereferenced into real URLs. This is a generalization and cleanup of
1496
the lp: transport lookup. (Aaron Bentley)
1498
* Merge directives that are automatically attached to emails have nicer
1499
filenames, based on branch-nick + revno. (Aaron Bentley)
1501
* ``push`` has a ``--revision`` option, to specify what revision to push up
1502
to. (Daniel Watkins)
1504
* Significantly reducing execution time and network traffic for trivial
1505
case of running ``bzr missing`` command for two identical branches.
1506
(Alexander Belchenko)
1508
* Speed up operations that look at the revision graph (such as 'bzr log').
1509
``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
1510
extract the revision history. This allows filtering ghosts while
1511
stepping instead of needing to peek ahead. (John Arbash Meinel)
1513
* The ``hooks`` command lists installed hooks, to assist in debugging.
1516
* Updates to how ``annotate`` work. Should see a measurable improvement in
1517
performance and memory consumption for file with a lot of merges.
1518
Also, correctly handle when a line is introduced by both parents (it
1519
should be attributed to the first merge which notices this, and not
1520
to all subsequent merges.) (John Arbash Meinel)
1524
* Autopacking no longer holds the full set of inventory lines in
1525
memory while copying. For large repositories, this can amount to
1526
hundreds of MB of ram consumption.
1527
(Ian Clatworthy, John Arbash Meinel)
1529
* Cherrypicking when using ``--format=merge3`` now explictly excludes
1530
BASE lines. (John Arbash Meinel, #151731)
1532
* Disable plink's interactive prompt for password.
1533
(#107593, Dmitry Vasiliev)
1535
* Encode command line arguments from unicode to user_encoding before
1536
invoking external mail client in `bzr send` command.
1537
(#139318, Alexander Belchenko)
1539
* Fixed problem connecting to ``bzr+https://`` servers.
1540
(#198793, John Ferlito)
1542
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
1545
* Include quick-start-summary.svg file to python-based installer(s)
1546
for Windows. (#192924, Alexander Belchenko)
1548
* lca merge now respects specified files. (Aaron Bentley)
1550
* Make version-info --custom imply --all. (#195560, James Westby)
1552
* ``merge --preview`` now works for merges that add or modify
1553
symlinks (James Henstridge)
1555
* Redirecting the output from ``bzr merge`` (when the remembered
1556
location is used) now works. (John Arbash Meinel)
1558
* setup.py script explicitly checks for Python version.
1559
(Jari Aalto, Alexander Belchenko, #200569)
1561
* UnknownFormatErrors no longer refer to branches regardless of kind of
1562
unknown format. (Daniel Watkins, #173980)
1564
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
1565
signs, among other small improvements. (Matt Nordhoff, #86838)
1567
* Use correct indices when emitting LCA conflicts. This fixes IndexError
1568
errors. (Aaron Bentley, #196780)
1572
* Explained how to use ``version-info --custom`` in the User Guide.
1573
(Neil Martinsen-Burrell)
1577
* Support for loading plugins from zip files and
1578
``bzrlib.plugin.load_from_zip()`` function are deprecated.
1579
(Alexander Belchenko)
1583
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
1585
* The branch interface tests were invalid for branches using rich-root
1586
repositories because the empty string is not a valid file-id.
1591
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
1592
``Repository.get_revision_graph()`` except it includes ghosts and you can
1593
stop part-way through. (John Arbash Meinel)
1595
* New module ``tools/package_mf.py`` provide custom module finder for
1596
python packages (improves standard python library's modulefinder.py)
1597
used by ``setup.py`` script while building standalone bzr.exe.
1598
(Alexander Belchenko)
1600
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
1601
detecting external lookup support on remote repositories. This method is
1602
now attempted first when lookup up repositories, leading to an extra
1603
round trip on older bzr smart servers. (Robert Collins)
1605
* Repository formats have a new supported-feature attribute
1606
``supports_external_lookups`` used to indicate repositories which support
1607
falling back to other repositories when they have partial data.
1610
* ``Repository.get_revision_graph_with_ghosts`` and
1611
``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
1612
have been deprecated. (John Arbash Meinel)
1614
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
1615
``Tree._iter_changes``. The api is now considered stable and ready for
1616
external users. (Aaron Bentley)
1618
* The bzrdir format registry now accepts an ``alias`` keyword to
1619
register_metadir, used to indicate that a format name is an alias for
1620
some other format and thus should not be reported when describing the
1621
format. (Robert Collins)
1629
* Fix failing test in Launchpad plugin. (Martin Pool)
1632
bzr 1.2rc1 2008-02-13
1633
---------------------
1635
NOTES WHEN UPGRADING:
1637
* Fetching via the smart protocol may need to reconnect once during a fetch
1638
if the remote server is running Bazaar 1.1 or earlier, because the client
1639
attempts to use more efficient requests that confuse older servers. You
1640
may be required to re-enter a password or passphrase when this happens.
1641
This won't happen if the server is upgraded to Bazaar 1.2.
1646
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
1647
consistent with pack-0.92 fetching over SFTP). (Robert Collins)
1649
* Formatting of ``bzr plugins`` output is changed to be more human-
1650
friendly. Full path of plugins locations will be shown only with
1651
``--verbose`` command-line option. (Alexander Belchenko)
1653
* ``merge`` now prefers to use the submit branch, but will fall back to
1654
parent branch. For many users, this has no effect. But some users who
1655
pull and merge on the same branch will notice a change. This change
1656
makes it easier to work on a branch on two different machines, pulling
1657
between the machines, while merging from the upstream.
1658
``merge --remember`` can now be used to set the submit_branch.
1663
* ``merge --preview`` produces a diff of the changes merge would make,
1664
but does not actually perform the merge. (Aaron Bentley)
1666
* New smart method ``Repository.get_parent_map`` for getting revision
1667
parent data. This returns additional parent information topologically
1668
adjacent to the requested data to reduce round trip latency impacts.
1671
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
1672
revision data that streams revision data via a chunked encoding. This
1673
avoids buffering large amounts of revision data on the server and on the
1674
client, and sends less data to the server to request the revisions.
1675
(Andrew Bennetts, Robert Collins, #178353)
1677
* The launchpad plugin now handles lp urls of the form
1678
``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
1679
launchpad instance to do the resolution of the branch identities.
1680
This is primarily of use to Launchpad developers, but can also
1681
be used by other users who want to try out Launchpad as
1682
a branch location without messing up their public Launchpad
1683
account. Branches that are pushed to the staging environment
1684
have an expected lifetime of one day. (Tim Penhey)
1688
* Creating a new branch no longer tries to read the entire revision-history
1689
unnecessarily over smart server operations. (Robert Collins)
1691
* Fetching between different repository formats with compatible models now
1692
takes advantage of the smart method to stream revisions. (Andrew Bennetts)
1694
* The ``--coverage`` option is now global, rather specific to ``bzr
1695
selftest``. (Andrew Bennetts)
1697
* The ``register-branch`` command will now use the public url of the branch
1698
containing the current directory, if one has been set and no explicit
1699
branch is provided. (Robert Collins)
1701
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
1702
Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
1703
(John Arbash Meinel)
1707
* Calculate remote path relative to the shared medium in _SmartClient. This
1708
is related to the problem in bug #124089. (Andrew Bennetts)
1710
* Cleanly handle connection errors in smart protocol version two, the same
1711
way as they are handled by version one. (Andrew Bennetts)
1713
* Clearer error when ``version-info --custom`` is used without
1714
``--template`` (Lukáš Lalinský)
1716
* Don't raise UnavailableFeature during test setup when medusa is not
1717
available or tearDown is never called leading to nasty side effects.
1718
(#137823, Vincent Ladeuil)
1720
* If a plugin's test suite cannot be loaded, for example because of a syntax
1721
error in the tests, then ``selftest`` fails, rather than just printing
1722
a warning. (Martin Pool, #189771)
1724
* List possible values for BZR_SSH environment variable in env-variables
1725
help topic. (Alexander Belchenko, #181842)
1727
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
1728
popping the log redirection now precisely restores the previous state,
1729
which makes it easier to use bzr log output from other programs.
1730
TestCaseInTempDir no longer depends on a log redirection being established
1731
by the test framework, which lets bzr tests cleanly run from a normal
1733
(#124153, #124849, Martin Pool, Jonathan Lange)
1735
* ``pull --quiet`` is now more quiet, in particular a message is no longer
1736
printed when the remembered pull location is used. (James Westby,
1739
* ``reconfigure`` can safely be interrupted while fetching.
1740
(Aaron Bentley, #179316)
1742
* ``reconfigure`` preserves tags when converting to and from lightweight
1743
checkouts. (Aaron Bentley, #182040)
1745
* Stop polluting /tmp when running selftest.
1746
(Vincent Ladeuil, #123623)
1748
* Switch from NFKC => NFC for normalization checks. NFC allows a few
1749
more characters which should be considered valid.
1750
(John Arbash Meinel, #185458)
1752
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
1753
interacting badly with a bug on the launchpad side. (Robert Collins)
1755
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
1756
tracebacks. (Andrew Bennetts, #182849)
1760
* Classes implementing Merge types like Merge3Merger must now accept (and
1761
honour) a do_merge flag in their constructor. (Aaron Bentley)
1763
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
1764
to previously take a write lock (and start a write group.)
1769
* selftest now accepts --load-list <file> to load a test id list. This
1770
speeds up running the test suite on a limited set of tests.
1775
* Add a new method ``get_result`` to graph search objects. The resulting
1776
``SearchResult`` can be used to recreate the search later, which will
1777
be useful in reducing network traffic. (Robert Collins)
1779
* Use convenience function to check whether two repository handles
1780
are referring to the same repository in ``Repository.get_graph``.
1781
(Jelmer Vernooij, #187162)
1783
* Fetching now passes the find_ghosts flag through to the
1784
``InterRepository.missing_revision_ids`` call consistently for all
1785
repository types. This will enable faster missing revision discovery with
1786
bzr+ssh. (Robert Collins)
1788
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
1790
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
1791
``InterRepository.search_missing_revision_ids`` which returns a
1792
``bzrlib.graph.SearchResult`` suitable for making requests from the smart
1793
server. (Robert Collins)
1795
* New error ``NoPublicBranch`` for commands that need a public branch to
1796
operate. (Robert Collins)
1798
* New method ``iter_inventories`` on Repository for access to many
1799
inventories. This is primarily used by the ``revision_trees`` method, as
1800
direct access to inventories is discouraged. (Robert Collins)
1802
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
1803
which will split out ghosts and present parents into two separate sets,
1804
useful for code which needs to be aware of ghosts (e.g. fetching data
1805
cares about ghosts during revision selection). (Robert Collins)
1807
* Record a timestamp against each mutter to the trace file, relative to the
1808
first import of bzrlib. (Andrew Bennetts)
1810
* ``Repository.get_data_stream`` is now deprecated in favour of
1811
``Repository.get_data_stream_for_search`` which allows less network
1812
traffic when requesting data streams over a smart server. (Robert Collins)
1814
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
1815
removing one round trip on many network operations. (Robert Collins)
1817
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
1818
SFTPTransport and HttpTransportBase. (Andrew Bennetts)
1820
* Repository has a new method ``has_revisions`` which signals the presence
1821
of many revisions by returning a set of the revisions listed which are
1822
present. This can be done by index queries without reading data for parent
1823
revision names etc. (Robert Collins)
6520
* Avoid spurious failure of ``TestVersion.test_version`` matching
6522
(#202778, Martin Pool)
6528
:Released: 2008-03-16
6530
Notes When Upgrading
6531
********************
6533
* The backup directory created by ``upgrade`` is now called
6534
``backup.bzr``, not ``.bzr.backup``. (Martin Albisetti)
6539
* A new repository format 'development' has been added. This format will
6540
represent the latest 'in-progress' format that the bzr developers are
6541
interested in getting early-adopter testing and feedback on.
6542
``doc/developers/development-repo.txt`` has detailed information.
6545
* BZR_LOG environment variable controls location of .bzr.log trace file.
6546
User can suppress writing messages to .bzr.log by using '/dev/null'
6547
filename (on Linux) or 'NUL' (on Windows). If BZR_LOG variable
6548
is not defined but BZR_HOME is defined then default location
6549
for .bzr.log trace file is ``$BZR_HOME/.bzr.log``.
6550
(Alexander Belchenko, #106117)
6552
* ``launchpad`` builtin plugin now shipped as separate part in standalone
6553
bzr.exe, installed to ``C:\Program Files\Bazaar\plugins`` directory,
6554
and standalone installer allows user to skip installation of this plugin.
6555
(Alexander Belchenko)
6557
* Restore auto-detection of plink.exe on Windows. (Dmitry Vasiliev)
6559
* Version number is now shown as "1.2" or "1.2pr2", without zeroed or
6560
missing final fields. (Martin Pool)
6565
* ``branch`` and ``checkout`` can hard-link working tree files, which is
6566
faster and saves space. (Aaron Bentley)
6568
* ``bzr send`` will now also look at the ``child_submit_to`` setting in
6569
the submit branch to determine the email address to send to.
6575
* BzrBranch._lefthand_history is faster on pack repos. (Aaron Bentley)
6577
* Branch6.generate_revision_history is faster. (Aaron Bentley)
6579
* Directory services can now be registered, allowing special URLs to be
6580
dereferenced into real URLs. This is a generalization and cleanup of
6581
the lp: transport lookup. (Aaron Bentley)
6583
* Merge directives that are automatically attached to emails have nicer
6584
filenames, based on branch-nick + revno. (Aaron Bentley)
6586
* ``push`` has a ``--revision`` option, to specify what revision to push up
6587
to. (Daniel Watkins)
6589
* Significantly reducing execution time and network traffic for trivial
6590
case of running ``bzr missing`` command for two identical branches.
6591
(Alexander Belchenko)
6593
* Speed up operations that look at the revision graph (such as 'bzr log').
6594
``KnitPackRepositor.get_revision_graph`` uses ``Graph.iter_ancestry`` to
6595
extract the revision history. This allows filtering ghosts while
6596
stepping instead of needing to peek ahead. (John Arbash Meinel)
6598
* The ``hooks`` command lists installed hooks, to assist in debugging.
6601
* Updates to how ``annotate`` work. Should see a measurable improvement in
6602
performance and memory consumption for file with a lot of merges.
6603
Also, correctly handle when a line is introduced by both parents (it
6604
should be attributed to the first merge which notices this, and not
6605
to all subsequent merges.) (John Arbash Meinel)
6610
* Autopacking no longer holds the full set of inventory lines in
6611
memory while copying. For large repositories, this can amount to
6612
hundreds of MB of ram consumption.
6613
(Ian Clatworthy, John Arbash Meinel)
6615
* Cherrypicking when using ``--format=merge3`` now explictly excludes
6616
BASE lines. (John Arbash Meinel, #151731)
6618
* Disable plink's interactive prompt for password.
6619
(#107593, Dmitry Vasiliev)
6621
* Encode command line arguments from unicode to user_encoding before
6622
invoking external mail client in `bzr send` command.
6623
(#139318, Alexander Belchenko)
6625
* Fixed problem connecting to ``bzr+https://`` servers.
6626
(#198793, John Ferlito)
6628
* Improved error reporting in the Launchpad plugin. (Daniel Watkins,
6631
* Include quick-start-summary.svg file to python-based installer(s)
6632
for Windows. (#192924, Alexander Belchenko)
6634
* lca merge now respects specified files. (Aaron Bentley)
6636
* Make version-info --custom imply --all. (#195560, James Westby)
6638
* ``merge --preview`` now works for merges that add or modify
6639
symlinks (James Henstridge)
6641
* Redirecting the output from ``bzr merge`` (when the remembered
6642
location is used) now works. (John Arbash Meinel)
6644
* setup.py script explicitly checks for Python version.
6645
(Jari Aalto, Alexander Belchenko, #200569)
6647
* UnknownFormatErrors no longer refer to branches regardless of kind of
6648
unknown format. (Daniel Watkins, #173980)
6650
* Upgrade bundled ConfigObj to version 4.5.2, which properly quotes #
6651
signs, among other small improvements. (Matt Nordhoff, #86838)
6653
* Use correct indices when emitting LCA conflicts. This fixes IndexError
6654
errors. (Aaron Bentley, #196780)
6659
* Explained how to use ``version-info --custom`` in the User Guide.
6660
(Neil Martinsen-Burrell)
6665
* Support for loading plugins from zip files and
6666
``bzrlib.plugin.load_from_zip()`` function are deprecated.
6667
(Alexander Belchenko)
6672
* Added missing blackbox tests for ``modified`` (Adrian Wilkins)
6674
* The branch interface tests were invalid for branches using rich-root
6675
repositories because the empty string is not a valid file-id.
6681
* ``Graph.iter_ancestry`` returns the ancestry of revision ids. Similar to
6682
``Repository.get_revision_graph()`` except it includes ghosts and you can
6683
stop part-way through. (John Arbash Meinel)
6685
* New module ``tools/package_mf.py`` provide custom module finder for
6686
python packages (improves standard python library's modulefinder.py)
6687
used by ``setup.py`` script while building standalone bzr.exe.
6688
(Alexander Belchenko)
6690
* New remote method ``RemoteBzrDir.find_repositoryV2`` adding support for
6691
detecting external lookup support on remote repositories. This method is
6692
now attempted first when lookup up repositories, leading to an extra
6693
round trip on older bzr smart servers. (Robert Collins)
6695
* Repository formats have a new supported-feature attribute
6696
``supports_external_lookups`` used to indicate repositories which support
6697
falling back to other repositories when they have partial data.
6700
* ``Repository.get_revision_graph_with_ghosts`` and
6701
``bzrlib.revision.(common_ancestor,MultipleRevisionSources,common_graph)``
6702
have been deprecated. (John Arbash Meinel)
6704
* ``Tree.iter_changes`` is now a public API, replacing the work-in-progress
6705
``Tree._iter_changes``. The api is now considered stable and ready for
6706
external users. (Aaron Bentley)
6708
* The bzrdir format registry now accepts an ``alias`` keyword to
6709
register_metadir, used to indicate that a format name is an alias for
6710
some other format and thus should not be reported when describing the
6711
format. (Robert Collins)
6717
:Released: 2008-02-15
6722
* Fix failing test in Launchpad plugin. (Martin Pool)
6728
:Released: 2008-02-13
6730
Notes When Upgrading
6731
********************
6733
* Fetching via the smart protocol may need to reconnect once during a fetch
6734
if the remote server is running Bazaar 1.1 or earlier, because the client
6735
attempts to use more efficient requests that confuse older servers. You
6736
may be required to re-enter a password or passphrase when this happens.
6737
This won't happen if the server is upgraded to Bazaar 1.2.
6743
* Fetching via bzr+ssh will no longer fill ghosts by default (this is
6744
consistent with pack-0.92 fetching over SFTP). (Robert Collins)
6746
* Formatting of ``bzr plugins`` output is changed to be more human-
6747
friendly. Full path of plugins locations will be shown only with
6748
``--verbose`` command-line option. (Alexander Belchenko)
6750
* ``merge`` now prefers to use the submit branch, but will fall back to
6751
parent branch. For many users, this has no effect. But some users who
6752
pull and merge on the same branch will notice a change. This change
6753
makes it easier to work on a branch on two different machines, pulling
6754
between the machines, while merging from the upstream.
6755
``merge --remember`` can now be used to set the submit_branch.
6761
* ``merge --preview`` produces a diff of the changes merge would make,
6762
but does not actually perform the merge. (Aaron Bentley)
6764
* New smart method ``Repository.get_parent_map`` for getting revision
6765
parent data. This returns additional parent information topologically
6766
adjacent to the requested data to reduce round trip latency impacts.
6769
* New smart method, ``Repository.stream_revisions_chunked``, for fetching
6770
revision data that streams revision data via a chunked encoding. This
6771
avoids buffering large amounts of revision data on the server and on the
6772
client, and sends less data to the server to request the revisions.
6773
(Andrew Bennetts, Robert Collins, #178353)
6775
* The launchpad plugin now handles lp urls of the form
6776
``lp://staging/``, ``lp://demo/``, ``lp://dev/`` to use the appropriate
6777
launchpad instance to do the resolution of the branch identities.
6778
This is primarily of use to Launchpad developers, but can also
6779
be used by other users who want to try out Launchpad as
6780
a branch location without messing up their public Launchpad
6781
account. Branches that are pushed to the staging environment
6782
have an expected lifetime of one day. (Tim Penhey)
6787
* Creating a new branch no longer tries to read the entire revision-history
6788
unnecessarily over smart server operations. (Robert Collins)
6790
* Fetching between different repository formats with compatible models now
6791
takes advantage of the smart method to stream revisions. (Andrew Bennetts)
6793
* The ``--coverage`` option is now global, rather specific to ``bzr
6794
selftest``. (Andrew Bennetts)
6796
* The ``register-branch`` command will now use the public url of the branch
6797
containing the current directory, if one has been set and no explicit
6798
branch is provided. (Robert Collins)
6800
* Tweak the ``reannotate`` code path to optimize the 2-parent case.
6801
Speeds up ``bzr annotate`` with a pack repository by approx 3:2.
6802
(John Arbash Meinel)
6807
* Calculate remote path relative to the shared medium in _SmartClient. This
6808
is related to the problem in bug #124089. (Andrew Bennetts)
6810
* Cleanly handle connection errors in smart protocol version two, the same
6811
way as they are handled by version one. (Andrew Bennetts)
6813
* Clearer error when ``version-info --custom`` is used without
6814
``--template`` (Lukáš Lalinský)
6816
* Don't raise UnavailableFeature during test setup when medusa is not
6817
available or tearDown is never called leading to nasty side effects.
6818
(#137823, Vincent Ladeuil)
6820
* If a plugin's test suite cannot be loaded, for example because of a syntax
6821
error in the tests, then ``selftest`` fails, rather than just printing
6822
a warning. (Martin Pool, #189771)
6824
* List possible values for BZR_SSH environment variable in env-variables
6825
help topic. (Alexander Belchenko, #181842)
6827
* New methods ``push_log_file`` and ``pop_log_file`` to intercept messages:
6828
popping the log redirection now precisely restores the previous state,
6829
which makes it easier to use bzr log output from other programs.
6830
TestCaseInTempDir no longer depends on a log redirection being established
6831
by the test framework, which lets bzr tests cleanly run from a normal
6833
(#124153, #124849, Martin Pool, Jonathan Lange)
6835
* ``pull --quiet`` is now more quiet, in particular a message is no longer
6836
printed when the remembered pull location is used. (James Westby,
6839
* ``reconfigure`` can safely be interrupted while fetching.
6840
(Aaron Bentley, #179316)
6842
* ``reconfigure`` preserves tags when converting to and from lightweight
6843
checkouts. (Aaron Bentley, #182040)
6845
* Stop polluting /tmp when running selftest.
6846
(Vincent Ladeuil, #123363)
6848
* Switch from NFKC => NFC for normalization checks. NFC allows a few
6849
more characters which should be considered valid.
6850
(John Arbash Meinel, #185458)
6852
* The launchpad plugin now uses the ``edge`` xmlrpc server to avoid
6853
interacting badly with a bug on the launchpad side. (Robert Collins)
6855
* Unknown hostnames when connecting to a ``bzr://`` URL no longer cause
6856
tracebacks. (Andrew Bennetts, #182849)
6861
* Classes implementing Merge types like Merge3Merger must now accept (and
6862
honour) a do_merge flag in their constructor. (Aaron Bentley)
6864
* ``Repository.add_inventory`` and ``add_revision`` now require the caller
6865
to previously take a write lock (and start a write group.)
6871
* selftest now accepts --load-list <file> to load a test id list. This
6872
speeds up running the test suite on a limited set of tests.
6878
* Add a new method ``get_result`` to graph search objects. The resulting
6879
``SearchResult`` can be used to recreate the search later, which will
6880
be useful in reducing network traffic. (Robert Collins)
6882
* Use convenience function to check whether two repository handles
6883
are referring to the same repository in ``Repository.get_graph``.
6884
(Jelmer Vernooij, #187162)
6886
* Fetching now passes the find_ghosts flag through to the
6887
``InterRepository.missing_revision_ids`` call consistently for all
6888
repository types. This will enable faster missing revision discovery with
6889
bzr+ssh. (Robert Collins)
6891
* Fix error handling in Repository.insert_data_stream. (Lukas Lalinsky)
6893
* ``InterRepository.missing_revision_ids`` is now deprecated in favour of
6894
``InterRepository.search_missing_revision_ids`` which returns a
6895
``bzrlib.graph.SearchResult`` suitable for making requests from the smart
6896
server. (Robert Collins)
6898
* New error ``NoPublicBranch`` for commands that need a public branch to
6899
operate. (Robert Collins)
6901
* New method ``iter_inventories`` on Repository for access to many
6902
inventories. This is primarily used by the ``revision_trees`` method, as
6903
direct access to inventories is discouraged. (Robert Collins)
6905
* New method ``next_with_ghosts`` on the Graph breadth-first-search objects
6906
which will split out ghosts and present parents into two separate sets,
6907
useful for code which needs to be aware of ghosts (e.g. fetching data
6908
cares about ghosts during revision selection). (Robert Collins)
6910
* Record a timestamp against each mutter to the trace file, relative to the
6911
first import of bzrlib. (Andrew Bennetts)
6913
* ``Repository.get_data_stream`` is now deprecated in favour of
6914
``Repository.get_data_stream_for_search`` which allows less network
6915
traffic when requesting data streams over a smart server. (Robert Collins)
6917
* ``RemoteBzrDir._get_tree_branch`` no longer triggers ``_ensure_real``,
6918
removing one round trip on many network operations. (Robert Collins)
6920
* RemoteTransport's ``recommended_page_size`` method now returns 64k, like
6921
SFTPTransport and HttpTransportBase. (Andrew Bennetts)
6923
* Repository has a new method ``has_revisions`` which signals the presence
6924
of many revisions by returning a set of the revisions listed which are
6925
present. This can be done by index queries without reading data for parent
6926
revision names etc. (Robert Collins)
6932
:Released: 2008-01-15
1829
6934
(no changes from 1.1rc1)
1831
bzr 1.1rc1 2008-01-05
1832
---------------------
1836
* Dotted revision numbers have been revised. Instead of growing longer with
1837
nested branches the branch number just increases. (eg instead of 1.1.1.1.1
1838
we now report 1.2.1.) This helps scale long lived branches which have many
1839
feature branches merged between them. (John Arbash Meinel)
1841
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
1842
Use ``bzr diff branch1 --new branch2`` instead. This change has
1843
been made to remove the ambiguity where ``branch2`` is in fact a
1844
specific file to diff within ``branch1``.
1848
* New option to use custom template-based formats in ``bzr version-info``.
1851
* diff '--using' allows an external diff tool to be used for files.
1854
* New "lca" merge-type for fast everyday merging that also supports
1855
criss-cross merges. (Aaron Bentley)
1859
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
1862
* ``branch`` and ``checkout`` can now use files from a working tree to
1863
to speed up the process. For checkout, this requires the new
1864
--files-from flag. (Aaron Bentley)
1866
* ``bzr diff`` now sorts files in alphabetical order. (Aaron Bentley)
1868
* ``bzr diff`` now works on branches without working trees. Tree-less
1869
branches can also be compared to each other and to working trees using
1870
the new diff options ``--old`` and ``--new``. Diffing between branches,
1871
with or without trees, now supports specific file filtering as well.
1872
(Ian Clatworthy, #6700)
1874
* ``bzr pack`` now orders revision texts in topological order, with newest
1875
at the start of the file, promoting linear reads for ``bzr log`` and the
1876
like. This partially fixes #154129. (Robert Collins)
1878
* Merge directives now fetch prerequisites from the target branch if
1879
needed. (Aaron Bentley)
1881
* pycurl now handles digest authentication.
1884
* ``reconfigure`` can now convert from repositories. (Aaron Bentley)
1886
* ``-l`` is now a short form for ``--limit`` in ``log``. (Matt Nordhoff)
1888
* ``merge`` now warns when merge directives cause cherrypicks.
1891
* ``split`` now supported, to enable splitting large trees into smaller
1892
pieces. (Aaron Bentley)
1896
* Avoid AttributeError when unlocking a pack repository when an error occurs.
1897
(Martin Pool, #180208)
1899
* Better handle short reads when processing multiple range requests.
1900
(Vincent Ladeuil, #179368)
1902
* build_tree acceleration uses the correct path when a file has been moved.
1905
* ``commit`` now succeeds when a checkout and its master branch share a
1906
repository. (Aaron Bentley, #177592)
1908
* Fixed error reporting of unsupported timezone format in
1909
``log --timezone``. (Lukáš Lalinský, #178722)
1911
* Fixed Unicode encoding error in ``ignored`` when the output is
1912
redirected to a pipe. (Lukáš Lalinský)
1914
* Fix traceback when sending large response bodies over the smart protocol
1915
on Windows. (Andrew Bennetts, #115781)
1917
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
1918
pointed to different logical drives on Windows.
1919
(Alexander Belchenko, #90847)
1921
* HTTP test servers are now compatible with the http protocol version 1.1.
1922
(Vincent Ladeuil, #175524)
1924
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
1925
correctly, instead of erroring or attributing incorrect parents to ghosts.
1928
* ``merge --weave --uncommitted`` now works. (Aaron Bentley)
1930
* pycurl authentication handling was broken and incomplete. Fix handling of
1931
user:pass embedded in the urls.
1932
(Vincent Ladeuil, #177643)
1934
* Files inside non-directories are now handled like other conflict types.
1935
(Aaron Bentley, #177390)
1937
* ``reconfigure`` is able to convert trees into lightweight checkouts.
1940
* Reduce lockdir timeout to 0 when running ``bzr serve``. (Andrew Bennetts,
1943
* Test that the old ``version_info_format`` functions still work, even
1944
though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
1946
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
1949
* ``uncommit`` works even when the commit messages of revisions to be
1950
removed use characters not supported in the terminal encoding.
1953
* When dumb http servers return whole files instead of the requested ranges,
1954
read the remaining bytes by chunks to avoid overflowing network buffers.
1955
(Vincent Ladeuil, #175886)
1959
* Minor tweaks made to the bug tracker integration documentation.
1962
* Reference material has now be moved out of the User Guide and added
1963
to the User Reference. The User Reference has gained 4 sections as
1964
a result: Authenication Settings, Configuration Settings, Conflicts
1965
and Hooks. All help topics are now dumped into text format in the
1966
doc/en/user-reference directory for those who like browsing that
1967
information in their editor. (Ian Clatworthy)
1969
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
1973
* find_* methods available for BzrDirs, Branches and WorkingTrees.
1976
* Help topics can now be loaded from files.
1977
(Ian Clatworthy, Alexander Belchenko)
1979
* get_parent_map now always provides tuples as its output. (Aaron Bentley)
1981
* Parent Providers should now implement ``get_parent_map`` returning a
1982
dictionary instead of ``get_parents`` returning a list.
1983
``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
1986
* Patience Diff now supports arbitrary python objects, as long as they
1987
support ``hash()``. (John Arbash Meinel)
1989
* Reduce selftest overhead to establish test names by memoization.
1996
* Modules can now customise their tests by defining a ``load_tests``
1997
attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
1998
for the documentation on this attribute. (Robert Collins)
2000
* New helper function ``bzrlib.tests.condition_id_re`` which helps
2001
filter tests based on a regular expression search on the tests id.
2004
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
2005
filter tests based on class. (Robert Collins)
2007
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
2008
generalises the ``exclude_suite_by_re`` function. (Robert Collins)
2010
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
2011
generalises the ``filter_suite_by_re`` function. (Robert Collins)
2013
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
2014
TestSuite that does not contain tests from the input that matched a
2015
regular expression. (Robert Collins)
2017
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
2018
randomized copy of the input suite. (Robert Collins)
2020
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
2021
suite into two according to a regular expression. (Robert Collins)
2023
* Parametrize all http tests for the transport implementations, the http
2024
protocol versions (1.0 and 1.1) and the authentication schemes.
2027
* The ``exclude_pattern`` and ``random_order`` parameters to the function
2028
``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
2030
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
2031
replaced by the new helper methods added in this release. (Robert Collins)
2039
* More improvements and fixes to the User Guide. (Ian Clatworthy)
2041
* Add information on cherrypicking/rebasing to the User Guide.
2044
* Improve bug tracker integration documentation. (Ian Clatworthy)
2046
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
2047
to the rebasing section of the User Guide from Aaron Bentley.
2051
bzr 1.0rc3 2007-12-11
2052
---------------------
2056
* If a traceback occurs, users are now asked to report the bug
2057
through Launchpad (https://bugs.launchpad.net/bzr/), rather than
2058
by mail to the mailing list.
2063
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
2065
* Give more feedback during long http downloads by making readv deliver data
2066
as it arrives for urllib, and issue more requests for pycurl. High latency
2067
networks are better handled by urllib, the pycurl implementation give more
2068
feedback but also incur more latency.
2069
(Vincent Ladeuil, #173010)
2071
* Implement _make_parents_provider on RemoteRepository, allowing generating
2072
bundles against branches on a smart server. (Andrew Bennetts, #147836)
2076
* Improved user guide. (Ian Clatworthy)
2078
* The single-page quick reference guide is now available as a PDF.
2083
* readv urllib http implementation is now a real iterator above the
2084
underlying socket and deliver data as soon as it arrives. 'get' still
2085
wraps its output in a StringIO.
2089
bzr 1.0rc2 2007-12-07
2090
---------------------
2094
* Added a --coverage option to selftest. (Andrew Bennetts)
2096
* Annotate merge (merge-type=weave) now supports cherrypicking.
2099
* ``bzr commit`` now doesn't print the revision number twice. (Matt
2102
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
2103
define locations of bug trackers that are not directly supported by
2104
bzr or a plugin. The URL will be treated as a template and ``{id}``
2105
placeholders will be replaced by specific bug IDs. (Lukáš Lalinský)
2107
* Support logging single merge revisions with short and line log formatters.
2110
* User Guide enhanced with suggested readability improvements from
2111
Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
2113
* Quick Start Guide renamed to Quick Start Card, moved down in
2114
the catalog, provided in pdf and png format and updated to refer
2115
to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
2117
* ``switch`` can now be used on heavyweight checkouts as well as
2118
lightweight ones. After switching a heavyweight checkout, the
2119
local branch is a mirror/cache of the new bound branch and
2120
uncommitted changes in the working tree are merged. As a safety
2121
check, if there are local commits in a checkout which have not
2122
been committed to the previously bound branch, then ``switch``
2123
fails unless the ``--force`` option is given. This option is
2124
now also required if the branch a lightweight checkout is pointing
2125
to has been moved. (Ian Clatworthy)
2129
* New -Dhttp debug option reports http connections, requests and responses.
2132
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
2136
* Better error message when running ``bzr cat`` on a non-existant branch.
2137
(Lukáš Lalinský, #133782)
2139
* Catch OSError 17 (file exists) in final phase of tree transform and show
2141
(Alexander Belchenko, #111758)
2143
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
2144
allowing multiple GET requests to be issued if too many ranges are
2146
(Vincent Ladeuil, #172701)
2148
* Check for missing basis texts when fetching from packs to packs.
2149
(John Arbash Meinel, #165290)
2151
* Fall back to showing e-mail in ``log --short/--line`` if the
2152
committer/author has only e-mail. (Lukáš Lalinský, #157026)
2156
* Deprecate not passing a ``location`` argument to commit reporters'
2157
``started`` methods. (Matt Nordhoff)
2160
bzr 1.0rc1 2007-11-30
2161
---------------------
2163
NOTES WHEN UPGRADING:
2165
* The default repository format is now ``pack-0.92``. This
2166
default is used when creating new repositories with ``init`` and
2167
``init-repo``, and when branching over bzr+ssh or bzr+hpss.
2168
(See https://bugs.launchpad.net/bugs/164626)
2170
This format can be read and written by Bazaar 0.92 and later, and
2171
data can be transferred to and from older formats.
2173
To upgrade, please reconcile your repository (``bzr reconcile``), and then
2174
upgrade (``bzr upgrade``).
2176
``pack-0.92`` offers substantially better scaling and performance than the
2177
previous knits format. Some operations are slower where the code already
2178
had bad scaling characteristics under knits, the pack format makes such
2179
operations more visible as part of being more scalable overall. We will
2180
correct such operations over the coming releases and encourage the filing
2181
of bugs on any operation which you observe to be slower in a packs
2182
repository. One particular case that we do not intend to fix is pulling
2183
data from a pack repository into a knit repository over a high latency
2184
link; downgrading such data requires reinsertion of the file texts, and
2185
this is a classic space/time tradeoff. The current implementation is
2186
conservative on memory usage because we need to support converting data
2187
from any tree without problems.
2188
(Robert Collins, Martin Pool, #164476)
2192
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
2193
still available if user selects it explicitly with BZR_SSH environment
2194
variable. (Alexander Belchenko, workaround for bug #107593)
2196
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
2197
to enable the subtree functions (for example, for bzr-svn).
2198
See http://doc.bazaar-vcs.org/latest/developer/packrepo.html
2203
* New ``authentication.conf`` file holding the password or other credentials
2204
for remote servers. This can be used for ssh, sftp, smtp and other
2205
supported transports.
2208
* New rich-root and rich-root-pack formats, recording the same data about
2209
tree roots that's recorded for all other directories.
2210
(Aaron Bentley, #164639)
2212
* ``pack-0.92`` repositories can now be reconciled.
2213
(Robert Collins, #154173)
2215
* ``switch`` command added for changing the branch a lightweight checkout
2216
is associated with and updating the tree to reflect the latest content
2217
accordingly. This command was previously part of the BzrTools plug-in.
2218
(Ian Clatworthy, Aaron Bentley, David Allouche)
2220
* ``reconfigure`` command can now convert branches, trees, or checkouts to
2221
lightweight checkouts. (Aaron Bentley)
2225
* Commit updates the state of the working tree via a delta rather than
2226
supplying entirely new basis trees. For commit of a single specified file
2227
this reduces the wall clock time for commit by roughly a 30%.
2228
(Robert Collins, Martin Pool)
2230
* Commit with many automatically found deleted paths no longer performs
2231
linear scanning for the children of those paths during inventory
2232
iteration. This should fix commit performance blowing out when many such
2233
paths occur during commit. (Robert Collins, #156491)
2235
* Fetch with pack repositories will no longer read the entire history graph.
2236
(Robert Collins, #88319)
2238
* Revert takes out an appropriate lock when reverting to a basis tree, and
2239
does not read the basis inventory twice. (Robert Collins)
2241
* Diff does not require an inventory to be generated on dirstate trees.
2242
(Aaron Bentley, #149254)
2244
* New annotate merge (--merge-type=weave) implementation is fast on
2245
versionedfiles withough cached annotations, e.g. pack-0.92.
2250
* ``bzr merge`` now warns when it encounters a criss-cross merge.
2253
* ``bzr send`` now doesn't require the target e-mail address to be
2254
specified on the command line if an interactive e-mail client is used.
2257
* ``bzr tags`` now prints the revision number for each tag, instead of
2258
the revision id, unless --show-ids is passed. In addition, tags can be
2259
sorted chronologically instead of lexicographically with --sort=time.
2260
(Adeodato Simó, #120231)
2262
* Windows standalone version of bzr is able to load system-wide plugins from
2263
"plugins" subdirectory in installation directory. In addition standalone
2264
installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
2265
about paths and bzr version. (Alexander Belchenko, #129298)
2271
* A progress bar has been added for knitpack -> knitpack fetching.
2272
(Robert Collins, #157789, #159147)
2274
* Branching from a branch via smart server now preserves the repository
2275
format. (Andrew Bennetts, #164626)
2277
* ``commit`` is now able to invoke an external editor in a non-ascii
2278
directory. (Daniel Watkins, #84043)
2280
* Catch connection errors for ftp.
2281
(Vincent Ladeuil, #164567)
2283
* ``check`` no longer reports spurious unreferenced text versions.
2284
(Robert Collins, John A Meinel, #162931, #165071)
2286
* Conflicts are now resolved recursively by ``revert``.
2287
(Aaron Bentley, #102739)
2289
* Detect invalid transport reuse attempts by catching invalid URLs.
2290
(Vincent Ladeuil, #161819)
2292
* Deleting a file without removing it shows a correct diff, not a traceback.
2295
* Do no use timeout in HttpServer anymore.
2296
(Vincent Ladeuil, #158972).
2298
* Don't catch the exceptions related to the http pipeline status before
2299
retrying an http request or some programming errors may be masked.
2300
(Vincent Ladeuil, #160012)
2302
* Fix ``bzr rm`` to not delete modified and ignored files.
2303
(Lukáš Lalinský, #172598)
2305
* Fix exception when revisionspec contains merge revisons but log
2306
formatter doesn't support merge revisions. (Kent Gibson, #148908)
2308
* Fix exception when ScopeReplacer is assigned to before any members have
2309
been retrieved. (Aaron Bentley)
2311
* Fix multiple connections during checkout --lightweight.
2312
(Vincent Ladeuil, #159150)
2314
* Fix possible error in insert_data_stream when copying between
2315
pack repositories over bzr+ssh or bzr+http.
2316
KnitVersionedFile.get_data_stream now makes sure that requested
2317
compression parents are sent before any delta hunks that depend
2319
(Martin Pool, #164637)
2321
* Fix typo in limiting offsets coalescing for http, leading to
2322
whole files being downloaded instead of parts.
2323
(Vincent Ladeuil, #165061)
2325
* FTP server errors don't error in the error handling code.
2326
(Robert Collins, #161240)
2328
* Give a clearer message when a pull fails because the source needs
2330
(Martin Pool, #164443)
2332
* It is clearer when a plugin cannot be loaded because of its name, and a
2333
suggestion for an acceptable name is given. (Daniel Watkins, #103023)
2335
* Leave port as None in transport objects if user doesn't
2336
specify a port in urls.
2337
(vincent Ladeuil, #150860)
2339
* Make sure Repository.fetch(self) is properly a no-op for all
2340
Repository implementations. (John Arbash Meinel, #158333)
2342
* Mark .bzr directories as "hidden" on Windows.
2343
(Alexander Belchenko, #71147)
2345
* ``merge --uncommitted`` can now operate on a single file.
2346
(Aaron Bentley, Lukáš Lalinský, #136890)
2348
* Obsolete packs are now cleaned up by pack and autopack operations.
2349
(Robert Collins, #153789)
2351
* Operations pulling data from a smart server where the underlying
2352
repositories are not both annotated/both unannotated will now work.
2353
(Robert Collins, #165304).
2355
* Reconcile now shows progress bars. (Robert Collins, #159351)
2357
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
2358
properly. (John Arbash Meinel, #162486)
2360
* Removing an already-removed file reports the file does not exist. (Daniel
2363
* Rename on Windows is able to change filename case.
2364
(Alexander Belchenko, #77740)
2366
* Return error instead of a traceback for ``bzr log -r0``.
2367
(Kent Gibson, #133751)
2369
* Return error instead of a traceback when bzr is unable to create
2370
symlink on some platforms (e.g. on Windows).
2371
(Alexander Belchenko, workaround for #81689)
2373
* Revert doesn't crash when restoring a single file from a deleted
2374
directory. (Aaron Bentley)
2376
* Stderr output via logging mechanism now goes through encoded wrapper
2377
and no more uses utf-8, but terminal encoding instead. So all unicode
2378
strings now should be readable in non-utf-8 terminal.
2379
(Alexander Belchenko, #54173)
2381
* The error message when ``move --after`` should be used makes how to do so
2382
clearer. (Daniel Watkins, #85237)
2384
* Unicode-safe output from ``bzr info``. The output will be encoded
2385
using the terminal encoding and unrepresentable characters will be
2386
replaced by '?'. (Lukáš Lalinský, #151844)
2388
* Working trees are no longer created when pushing into a local no-trees
2389
repo. (Daniel Watkins, #50582)
2391
* Upgrade util/configobj to version 4.4.0.
2392
(Vincent Ladeuil, #151208).
2394
* Wrap medusa ftp test server as an FTPServer feature.
2395
(Vincent Ladeuil, #157752)
2399
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
2400
during very long time. (Alexander Belchenko)
2402
* The return value of
2403
``VersionedFile.iter_lines_added_or_present_in_versions`` has been
2404
changed. Previously it was an iterator of lines, now it is an iterator of
2405
(line, version_id) tuples. This change has been made to aid reconcile and
2406
fetch operations. (Robert Collins)
2408
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
2411
* The Repository format registry default has been removed; it was previously
2412
obsoleted by the bzrdir format default, which implies a default repository
2418
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
2419
``bzrlib.pack``. These classes provide more convenient APIs for generating
2420
and parsing containers from streams rather than from files. (Andrew
2423
* New module ``lru_cache`` providing a cache for use by tasks that need
2424
semi-random access to large amounts of data. (John A Meinel)
2426
* InventoryEntry.diff is now deprecated. Please use diff.DiffTree instead.
6939
:Released: 2008-01-05
6944
* Dotted revision numbers have been revised. Instead of growing longer with
6945
nested branches the branch number just increases. (eg instead of 1.1.1.1.1
6946
we now report 1.2.1.) This helps scale long lived branches which have many
6947
feature branches merged between them. (John Arbash Meinel)
6949
* The syntax ``bzr diff branch1 branch2`` is no longer supported.
6950
Use ``bzr diff branch1 --new branch2`` instead. This change has
6951
been made to remove the ambiguity where ``branch2`` is in fact a
6952
specific file to diff within ``branch1``.
6957
* New option to use custom template-based formats in ``bzr version-info``.
6960
* diff '--using' allows an external diff tool to be used for files.
6963
* New "lca" merge-type for fast everyday merging that also supports
6964
criss-cross merges. (Aaron Bentley)
6969
* ``annotate`` now doesn't require a working tree. (Lukáš Lalinský,
6972
* ``branch`` and ``checkout`` can now use files from a working tree to
6973
to speed up the process. For checkout, this requires the new
6974
--files-from flag. (Aaron Bentley)
6976
* ``bzr diff`` now sorts files in alphabetical order. (Aaron Bentley)
6978
* ``bzr diff`` now works on branches without working trees. Tree-less
6979
branches can also be compared to each other and to working trees using
6980
the new diff options ``--old`` and ``--new``. Diffing between branches,
6981
with or without trees, now supports specific file filtering as well.
6982
(Ian Clatworthy, #6700)
6984
* ``bzr pack`` now orders revision texts in topological order, with newest
6985
at the start of the file, promoting linear reads for ``bzr log`` and the
6986
like. This partially fixes #154129. (Robert Collins)
6988
* Merge directives now fetch prerequisites from the target branch if
6989
needed. (Aaron Bentley)
6991
* pycurl now handles digest authentication.
6994
* ``reconfigure`` can now convert from repositories. (Aaron Bentley)
6996
* ``-l`` is now a short form for ``--limit`` in ``log``. (Matt Nordhoff)
6998
* ``merge`` now warns when merge directives cause cherrypicks.
7001
* ``split`` now supported, to enable splitting large trees into smaller
7002
pieces. (Aaron Bentley)
7007
* Avoid AttributeError when unlocking a pack repository when an error occurs.
7008
(Martin Pool, #180208)
7010
* Better handle short reads when processing multiple range requests.
7011
(Vincent Ladeuil, #179368)
7013
* build_tree acceleration uses the correct path when a file has been moved.
7016
* ``commit`` now succeeds when a checkout and its master branch share a
7017
repository. (Aaron Bentley, #177592)
7019
* Fixed error reporting of unsupported timezone format in
7020
``log --timezone``. (Lukáš Lalinský, #178722)
7022
* Fixed Unicode encoding error in ``ignored`` when the output is
7023
redirected to a pipe. (Lukáš Lalinský)
7025
* Fix traceback when sending large response bodies over the smart protocol
7026
on Windows. (Andrew Bennetts, #115781)
7028
* Fix ``urlutils.relative_url`` for the case of two ``file:///`` URLs
7029
pointed to different logical drives on Windows.
7030
(Alexander Belchenko, #90847)
7032
* HTTP test servers are now compatible with the http protocol version 1.1.
7033
(Vincent Ladeuil, #175524)
7035
* _KnitParentsProvider.get_parent_map now handles requests for ghosts
7036
correctly, instead of erroring or attributing incorrect parents to ghosts.
7039
* ``merge --weave --uncommitted`` now works. (Aaron Bentley)
7041
* pycurl authentication handling was broken and incomplete. Fix handling of
7042
user:pass embedded in the urls.
7043
(Vincent Ladeuil, #177643)
7045
* Files inside non-directories are now handled like other conflict types.
7046
(Aaron Bentley, #177390)
7048
* ``reconfigure`` is able to convert trees into lightweight checkouts.
7051
* Reduce lockdir timeout to 0 when running ``bzr serve``. (Andrew Bennetts,
7054
* Test that the old ``version_info_format`` functions still work, even
7055
though they are deprecated. (John Arbash Meinel, ShenMaq, #177872)
7057
* Transform failures no longer cause ImmortalLimbo errors (Aaron Bentley,
7060
* ``uncommit`` works even when the commit messages of revisions to be
7061
removed use characters not supported in the terminal encoding.
7064
* When dumb http servers return whole files instead of the requested ranges,
7065
read the remaining bytes by chunks to avoid overflowing network buffers.
7066
(Vincent Ladeuil, #175886)
7071
* Minor tweaks made to the bug tracker integration documentation.
7074
* Reference material has now be moved out of the User Guide and added
7075
to the User Reference. The User Reference has gained 4 sections as
7076
a result: Authenication Settings, Configuration Settings, Conflicts
7077
and Hooks. All help topics are now dumped into text format in the
7078
doc/en/user-reference directory for those who like browsing that
7079
information in their editor. (Ian Clatworthy)
7081
* *Using Bazaar with Launchpad* tutorial added. (Ian Clatworthy)
7086
* find_* methods available for BzrDirs, Branches and WorkingTrees.
7089
* Help topics can now be loaded from files.
7090
(Ian Clatworthy, Alexander Belchenko)
7092
* get_parent_map now always provides tuples as its output. (Aaron Bentley)
7094
* Parent Providers should now implement ``get_parent_map`` returning a
7095
dictionary instead of ``get_parents`` returning a list.
7096
``Graph.get_parents`` is now deprecated. (John Arbash Meinel,
7099
* Patience Diff now supports arbitrary python objects, as long as they
7100
support ``hash()``. (John Arbash Meinel)
7102
* Reduce selftest overhead to establish test names by memoization.
7111
* Modules can now customise their tests by defining a ``load_tests``
7112
attribute. ``pydoc bzrlib.tests.TestUtil.TestLoader.loadTestsFromModule``
7113
for the documentation on this attribute. (Robert Collins)
7115
* New helper function ``bzrlib.tests.condition_id_re`` which helps
7116
filter tests based on a regular expression search on the tests id.
7119
* New helper function ``bzrlib.tests.condition_isinstance`` which helps
7120
filter tests based on class. (Robert Collins)
7122
* New helper function ``bzrlib.tests.exclude_suite_by_condition`` which
7123
generalises the ``exclude_suite_by_re`` function. (Robert Collins)
7125
* New helper function ``bzrlib.tests.filter_suite_by_condition`` which
7126
generalises the ``filter_suite_by_re`` function. (Robert Collins)
7128
* New helper method ``bzrlib.tests.exclude_tests_by_re`` which gives a new
7129
TestSuite that does not contain tests from the input that matched a
7130
regular expression. (Robert Collins)
7132
* New helper method ``bzrlib.tests.randomize_suite`` which returns a
7133
randomized copy of the input suite. (Robert Collins)
7135
* New helper method ``bzrlib.tests.split_suite_by_re`` which splits a test
7136
suite into two according to a regular expression. (Robert Collins)
7138
* Parametrize all http tests for the transport implementations, the http
7139
protocol versions (1.0 and 1.1) and the authentication schemes.
7142
* The ``exclude_pattern`` and ``random_order`` parameters to the function
7143
``bzrlib.tests.filter_suite_by_re`` have been deprecated. (Robert Collins)
7145
* The method ``bzrlib.tests.sort_suite_by_re`` has been deprecated. It is
7146
replaced by the new helper methods added in this release. (Robert Collins)
7152
:Released: 2007-12-14
7157
* More improvements and fixes to the User Guide. (Ian Clatworthy)
7159
* Add information on cherrypicking/rebasing to the User Guide.
7162
* Improve bug tracker integration documentation. (Ian Clatworthy)
7164
* Minor edits to ``Bazaar in five minutes`` from David Roberts and
7165
to the rebasing section of the User Guide from Aaron Bentley.
7172
:Released: 2007-12-11
7177
* If a traceback occurs, users are now asked to report the bug
7178
through Launchpad (https://bugs.launchpad.net/bzr/), rather than
7179
by mail to the mailing list.
7185
* Fix Makefile rules for doc generation. (Ian Clatworthy, #175207)
7187
* Give more feedback during long http downloads by making readv deliver data
7188
as it arrives for urllib, and issue more requests for pycurl. High latency
7189
networks are better handled by urllib, the pycurl implementation give more
7190
feedback but also incur more latency.
7191
(Vincent Ladeuil, #173010)
7193
* Implement _make_parents_provider on RemoteRepository, allowing generating
7194
bundles against branches on a smart server. (Andrew Bennetts, #147836)
7199
* Improved user guide. (Ian Clatworthy)
7201
* The single-page quick reference guide is now available as a PDF.
7207
* readv urllib http implementation is now a real iterator above the
7208
underlying socket and deliver data as soon as it arrives. 'get' still
7209
wraps its output in a StringIO.
7216
:Released: 2007-12-07
7221
* Added a --coverage option to selftest. (Andrew Bennetts)
7223
* Annotate merge (merge-type=weave) now supports cherrypicking.
7226
* ``bzr commit`` now doesn't print the revision number twice. (Matt
7229
* New configuration option ``bugtracker_<tracker_abbrevation>_url`` to
7230
define locations of bug trackers that are not directly supported by
7231
bzr or a plugin. The URL will be treated as a template and ``{id}``
7232
placeholders will be replaced by specific bug IDs. (Lukáš Lalinský)
7234
* Support logging single merge revisions with short and line log formatters.
7237
* User Guide enhanced with suggested readability improvements from
7238
Matt Revell and corrections from John Arbash Meinel. (Ian Clatworthy)
7240
* Quick Start Guide renamed to Quick Start Card, moved down in
7241
the catalog, provided in pdf and png format and updated to refer
7242
to ``send`` instead of ``bundle``. (Ian Clatworthy, #165080)
7244
* ``switch`` can now be used on heavyweight checkouts as well as
7245
lightweight ones. After switching a heavyweight checkout, the
7246
local branch is a mirror/cache of the new bound branch and
7247
uncommitted changes in the working tree are merged. As a safety
7248
check, if there are local commits in a checkout which have not
7249
been committed to the previously bound branch, then ``switch``
7250
fails unless the ``--force`` option is given. This option is
7251
now also required if the branch a lightweight checkout is pointing
7252
to has been moved. (Ian Clatworthy)
7257
* New -Dhttp debug option reports http connections, requests and responses.
7260
* New -Dmerge debug option, which emits merge plans for merge-type=weave.
7265
* Better error message when running ``bzr cat`` on a non-existant branch.
7266
(Lukáš Lalinský, #133782)
7268
* Catch OSError 17 (file exists) in final phase of tree transform and show
7270
(Alexander Belchenko, #111758)
7272
* Catch ShortReadvErrors while using pycurl. Also make readv more robust by
7273
allowing multiple GET requests to be issued if too many ranges are
7275
(Vincent Ladeuil, #172701)
7277
* Check for missing basis texts when fetching from packs to packs.
7278
(John Arbash Meinel, #165290)
7280
* Fall back to showing e-mail in ``log --short/--line`` if the
7281
committer/author has only e-mail. (Lukáš Lalinský, #157026)
7286
* Deprecate not passing a ``location`` argument to commit reporters'
7287
``started`` methods. (Matt Nordhoff)
7293
:Released: 2007-11-30
7295
Notes When Upgrading
7296
********************
7298
* The default repository format is now ``pack-0.92``. This
7299
default is used when creating new repositories with ``init`` and
7300
``init-repo``, and when branching over bzr+ssh or bzr+hpss.
7301
(See https://bugs.launchpad.net/bugs/164626)
7303
This format can be read and written by Bazaar 0.92 and later, and
7304
data can be transferred to and from older formats.
7306
To upgrade, please reconcile your repository (``bzr reconcile``), and then
7307
upgrade (``bzr upgrade``).
7309
``pack-0.92`` offers substantially better scaling and performance than the
7310
previous knits format. Some operations are slower where the code already
7311
had bad scaling characteristics under knits, the pack format makes such
7312
operations more visible as part of being more scalable overall. We will
7313
correct such operations over the coming releases and encourage the filing
7314
of bugs on any operation which you observe to be slower in a packs
7315
repository. One particular case that we do not intend to fix is pulling
7316
data from a pack repository into a knit repository over a high latency
7317
link; downgrading such data requires reinsertion of the file texts, and
7318
this is a classic space/time tradeoff. The current implementation is
7319
conservative on memory usage because we need to support converting data
7320
from any tree without problems.
7321
(Robert Collins, Martin Pool, #164476)
7326
* Disable detection of plink.exe as possible ssh vendor. Plink vendor
7327
still available if user selects it explicitly with BZR_SSH environment
7328
variable. (Alexander Belchenko, workaround for bug #107593)
7330
* The pack format is now accessible as "pack-0.92", or "pack-0.92-subtree"
7331
to enable the subtree functions (for example, for bzr-svn).
7337
* New ``authentication.conf`` file holding the password or other credentials
7338
for remote servers. This can be used for ssh, sftp, smtp and other
7339
supported transports.
7342
* New rich-root and rich-root-pack formats, recording the same data about
7343
tree roots that's recorded for all other directories.
7344
(Aaron Bentley, #164639)
7346
* ``pack-0.92`` repositories can now be reconciled.
7347
(Robert Collins, #154173)
7349
* ``switch`` command added for changing the branch a lightweight checkout
7350
is associated with and updating the tree to reflect the latest content
7351
accordingly. This command was previously part of the BzrTools plug-in.
7352
(Ian Clatworthy, Aaron Bentley, David Allouche)
7354
* ``reconfigure`` command can now convert branches, trees, or checkouts to
7355
lightweight checkouts. (Aaron Bentley)
7360
* Commit updates the state of the working tree via a delta rather than
7361
supplying entirely new basis trees. For commit of a single specified file
7362
this reduces the wall clock time for commit by roughly a 30%.
7363
(Robert Collins, Martin Pool)
7365
* Commit with many automatically found deleted paths no longer performs
7366
linear scanning for the children of those paths during inventory
7367
iteration. This should fix commit performance blowing out when many such
7368
paths occur during commit. (Robert Collins, #156491)
7370
* Fetch with pack repositories will no longer read the entire history graph.
7371
(Robert Collins, #88319)
7373
* Revert takes out an appropriate lock when reverting to a basis tree, and
7374
does not read the basis inventory twice. (Robert Collins)
7376
* Diff does not require an inventory to be generated on dirstate trees.
7377
(Aaron Bentley, #149254)
7379
* New annotate merge (--merge-type=weave) implementation is fast on
7380
versionedfiles withough cached annotations, e.g. pack-0.92.
7386
* ``bzr merge`` now warns when it encounters a criss-cross merge.
7389
* ``bzr send`` now doesn't require the target e-mail address to be
7390
specified on the command line if an interactive e-mail client is used.
7393
* ``bzr tags`` now prints the revision number for each tag, instead of
7394
the revision id, unless --show-ids is passed. In addition, tags can be
7395
sorted chronologically instead of lexicographically with --sort=time.
7396
(Adeodato Simó, #120231)
7398
* Windows standalone version of bzr is able to load system-wide plugins from
7399
"plugins" subdirectory in installation directory. In addition standalone
7400
installer write to the registry (HKLM\SOFTWARE\Bazaar) useful info
7401
about paths and bzr version. (Alexander Belchenko, #129298)
7409
* A progress bar has been added for knitpack -> knitpack fetching.
7410
(Robert Collins, #157789, #159147)
7412
* Branching from a branch via smart server now preserves the repository
7413
format. (Andrew Bennetts, #164626)
7415
* ``commit`` is now able to invoke an external editor in a non-ascii
7416
directory. (Daniel Watkins, #84043)
7418
* Catch connection errors for ftp.
7419
(Vincent Ladeuil, #164567)
7421
* ``check`` no longer reports spurious unreferenced text versions.
7422
(Robert Collins, John A Meinel, #162931, #165071)
7424
* Conflicts are now resolved recursively by ``revert``.
7425
(Aaron Bentley, #102739)
7427
* Detect invalid transport reuse attempts by catching invalid URLs.
7428
(Vincent Ladeuil, #161819)
7430
* Deleting a file without removing it shows a correct diff, not a traceback.
7433
* Do no use timeout in HttpServer anymore.
7434
(Vincent Ladeuil, #158972).
7436
* Don't catch the exceptions related to the http pipeline status before
7437
retrying an http request or some programming errors may be masked.
7438
(Vincent Ladeuil, #160012)
7440
* Fix ``bzr rm`` to not delete modified and ignored files.
7441
(Lukáš Lalinský, #172598)
7443
* Fix exception when revisionspec contains merge revisons but log
7444
formatter doesn't support merge revisions. (Kent Gibson, #148908)
7446
* Fix exception when ScopeReplacer is assigned to before any members have
7447
been retrieved. (Aaron Bentley)
7449
* Fix multiple connections during checkout --lightweight.
7450
(Vincent Ladeuil, #159150)
7452
* Fix possible error in insert_data_stream when copying between
7453
pack repositories over bzr+ssh or bzr+http.
7454
KnitVersionedFile.get_data_stream now makes sure that requested
7455
compression parents are sent before any delta hunks that depend
7457
(Martin Pool, #164637)
7459
* Fix typo in limiting offsets coalescing for http, leading to
7460
whole files being downloaded instead of parts.
7461
(Vincent Ladeuil, #165061)
7463
* FTP server errors don't error in the error handling code.
7464
(Robert Collins, #161240)
7466
* Give a clearer message when a pull fails because the source needs
7468
(Martin Pool, #164443)
7470
* It is clearer when a plugin cannot be loaded because of its name, and a
7471
suggestion for an acceptable name is given. (Daniel Watkins, #103023)
7473
* Leave port as None in transport objects if user doesn't
7474
specify a port in urls.
7475
(vincent Ladeuil, #150860)
7477
* Make sure Repository.fetch(self) is properly a no-op for all
7478
Repository implementations. (John Arbash Meinel, #158333)
7480
* Mark .bzr directories as "hidden" on Windows.
7481
(Alexander Belchenko, #71147)
7483
* ``merge --uncommitted`` can now operate on a single file.
7484
(Aaron Bentley, Lukáš Lalinský, #136890)
7486
* Obsolete packs are now cleaned up by pack and autopack operations.
7487
(Robert Collins, #153789)
7489
* Operations pulling data from a smart server where the underlying
7490
repositories are not both annotated/both unannotated will now work.
7491
(Robert Collins, #165304).
7493
* Reconcile now shows progress bars. (Robert Collins, #159351)
7495
* ``RemoteBranch`` was not initializing ``self._revision_id_to_revno_map``
7496
properly. (John Arbash Meinel, #162486)
7498
* Removing an already-removed file reports the file does not exist. (Daniel
7501
* Rename on Windows is able to change filename case.
7502
(Alexander Belchenko, #77740)
7504
* Return error instead of a traceback for ``bzr log -r0``.
7505
(Kent Gibson, #133751)
7507
* Return error instead of a traceback when bzr is unable to create
7508
symlink on some platforms (e.g. on Windows).
7509
(Alexander Belchenko, workaround for #81689)
7511
* Revert doesn't crash when restoring a single file from a deleted
7512
directory. (Aaron Bentley)
7514
* Stderr output via logging mechanism now goes through encoded wrapper
7515
and no more uses utf-8, but terminal encoding instead. So all unicode
7516
strings now should be readable in non-utf-8 terminal.
7517
(Alexander Belchenko, #54173)
7519
* The error message when ``move --after`` should be used makes how to do so
7520
clearer. (Daniel Watkins, #85237)
7522
* Unicode-safe output from ``bzr info``. The output will be encoded
7523
using the terminal encoding and unrepresentable characters will be
7524
replaced by '?'. (Lukáš Lalinský, #151844)
7526
* Working trees are no longer created when pushing into a local no-trees
7527
repo. (Daniel Watkins, #50582)
7529
* Upgrade util/configobj to version 4.4.0.
7530
(Vincent Ladeuil, #151208).
7532
* Wrap medusa ftp test server as an FTPServer feature.
7533
(Vincent Ladeuil, #157752)
7538
* ``osutils.backup_file`` is deprecated. Actually it's not used in bzrlib
7539
during very long time. (Alexander Belchenko)
7541
* The return value of
7542
``VersionedFile.iter_lines_added_or_present_in_versions`` has been
7543
changed. Previously it was an iterator of lines, now it is an iterator of
7544
(line, version_id) tuples. This change has been made to aid reconcile and
7545
fetch operations. (Robert Collins)
7547
* ``bzrlib.repository.get_versioned_file_checker`` is now private.
7550
* The Repository format registry default has been removed; it was previously
7551
obsoleted by the bzrdir format default, which implies a default repository
7558
* Added ``ContainerSerialiser`` and ``ContainerPushParser`` to
7559
``bzrlib.pack``. These classes provide more convenient APIs for generating
7560
and parsing containers from streams rather than from files. (Andrew
7563
* New module ``lru_cache`` providing a cache for use by tasks that need
7564
semi-random access to large amounts of data. (John A Meinel)
7566
* InventoryEntry.diff is now deprecated. Please use diff.DiffTree instead.
7572
:Released: 2007-11-05
2436
7577
* New uninstaller on Win32. (Alexander Belchenko)
2439
bzr 0.92rc1 2007-10-29
2440
----------------------
2442
NOTES WHEN UPGRADING:
2446
* ``bzr`` now returns exit code 4 if an internal error occurred, and
2447
3 if a normal error occurred. (Martin Pool)
2449
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
2450
repository index errors that occured as a result of the Weave disk format.
2451
Instead the ``reconcile`` command needs to be run to correct those
2452
problems if they exist (and it has been able to fix most such problems
2453
since bzr 0.8). Some new problems have been identified during this release
2454
and you should run ``bzr check`` once on every repository to see if you
2455
need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
2456
repository due to mismatched parent errors - a symptom of index errors -
2457
you should simply take a full copy of that remote repository to a clean
2458
directory outside any local repositories, then run reconcile on it, and
2459
finally pull from it locally. (And naturally email the repositories owner
2460
to ask them to upgrade and run reconcile).
2465
* New ``knitpack-experimental`` repository format. This is interoperable with
2466
the ``dirstate-tags`` format but uses a smarter storage design that greatly
2467
speeds up many operations, both local and remote. This new format can be
2468
used as an option to the ``init``, ``init-repository`` and ``upgrade``
2469
commands. See http://doc.bazaar-vcs.org/0.92/developers/knitpack.html
2470
for further details. (Robert Collins)
2472
* For users of bzr-svn (and those testing the prototype subtree support) that
2473
wish to try packs, a new ``knitpack-subtree-experimental`` format has also
2474
been added. This is interoperable with the ``dirstate-subtrees`` format.
2477
* New ``reconfigure`` command. (Aaron Bentley)
2479
* New ``revert --forget-merges`` command, which removes the record of a pending
2480
merge without affecting the working tree contents. (Martin Pool)
2482
* New ``bzr_remote_path`` configuration variable allows finer control of
2483
remote bzr locations than BZR_REMOTE_PATH environment variable.
2486
* New ``launchpad-login`` command to tell Bazaar your Launchpad
2487
user ID. This can then be used by other functions of the
2488
Launchpad plugin. (James Henstridge)
2492
* Commit in quiet mode is now slightly faster as the information to
2493
output is no longer calculated. (Ian Clatworthy)
2495
* Commit no longer checks for new text keys during insertion when the
2496
revision id was deterministically unique. (Robert Collins)
2498
* Committing a change which is not a merge and does not change the number of
2499
files in the tree is faster by utilising the data about whether files are
2500
changed to determine if the tree is unchanged rather than recalculating
2501
it at the end of the commit process. (Robert Collins)
2503
* Inventory serialisation no longer double-sha's the content.
2506
* Knit text reconstruction now avoids making copies of the lines list for
2507
interim texts when building a single text. The new ``apply_delta`` method
2508
on ``KnitContent`` aids this by allowing modification of the revision id
2509
such objects represent. (Robert Collins)
2511
* Pack indices are now partially parsed for specific key lookup using a
2512
bisection approach. (Robert Collins)
2514
* Partial commits are now approximately 40% faster by walking over the
2515
unselected current tree more efficiently. (Robert Collins)
2517
* XML inventory serialisation takes 20% less time while being stricter about
2518
the contents. (Robert Collins)
2520
* Graph ``heads()`` queries have been fixed to no longer access all history
2521
unnecessarily. (Robert Collins)
2525
* ``bzr+https://`` smart server across https now supported.
2526
(John Ferlito, Martin Pool, #128456)
2528
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
2529
bazaar.conf and ``send`` will use mutt. (Keir Mierle)
2531
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
2532
changes from one revision. (Alexander Belchenko, #141368)
2534
* Show encodings, locale and list of plugins in the traceback message.
2535
(Martin Pool, #63894)
2537
* Experimental directory formats can now be marked with
2538
``experimental = True`` during registration. (Ian Clatworthy)
2542
* New *Bazaar in Five Minutes* guide. (Matthew Revell)
2544
* The hooks reference documentation is now converted to html as expected.
2549
* Connection error reporting for the smart server has been fixed to
2550
display a user friendly message instead of a traceback.
2551
(Ian Clatworthy, #115601)
2553
* Make sure to use ``O_BINARY`` when opening files to check their
2554
sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
2556
* Fix a problem with Win32 handling of the executable bit.
2557
(John Arbash Meinel, #149113)
2559
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
2560
no longer assume that means port 22. This allows people using OpenSSH to
2561
override the default port in their ``~/.ssh/config`` if they wish. This
2562
fixes a bug introduced in bzr 0.91. (Andrew Bennetts, #146715)
2564
* Commands reporting exceptions can now be profiled and still have their
2565
data correctly dumped to a file. For example, a ``bzr commit`` with
2566
no changes still reports the operation as pointless but doing so no
2567
longer throws away the profiling data if this command is run with
2568
``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
2570
* Fallback to ftp when paramiko is not installed and sftp can't be used for
2571
``tests/commands`` so that the test suite is still usable without
2573
(Vincent Ladeuil, #59150)
2575
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
2577
* Fix long standing bug in partial commit when there are renames
2578
left in tree. (Robert Collins, #140419)
2580
* Fix selftest semi-random noise during http related tests.
2581
(Vincent Ladeuil, #140614)
2583
* Fix typo in ftp.py making the reconnection fail on temporary errors.
2584
(Vincent Ladeuil, #154259)
2586
* Fix failing test by comparing real paths to cover the case where the TMPDIR
2587
contains a symbolic link.
2588
(Vincent Ladeuil, #141382).
2590
* Fix log against smart server branches that don't support tags.
2591
(James Westby, #140615)
2593
* Fix pycurl http implementation by defining error codes from
2594
pycurl instead of relying on an old curl definition.
2595
(Vincent Ladeuil, #147530)
2597
* Fix 'unprintable error' message when displaying BzrCheckError and
2598
some other exceptions on Python 2.5.
2599
(Martin Pool, #144633)
2601
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
2603
* Handles default value for ListOption in cmd_commit.
2604
(Vincent Ladeuil, #140432)
2606
* HttpServer and FtpServer need to be closed properly or a listening socket
2608
(Vincent Ladeuil, #140055)
2610
* Monitor the .bzr directory created in the top level test
2611
directory to detect leaking tests.
2612
(Vincent Ladeuil, #147986)
2614
* The basename, not the full path, is now used when checking whether
2615
the profiling dump file begins with ``callgrind.out`` or not. This
2616
fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
2618
* Trivial fix for invoking command ``reconfigure`` without arguments.
2621
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
2622
new path causes bzr to be unable to access the file. (Robert Collins)
2624
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
2629
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
2630
constructor, for enabling bisection searches. (Robert Collins)
2632
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
2633
tree be supplied to it, previously failing to do so would trigger a
2634
deprecation warning. (Robert Collins)
2636
* ``KnitVersionedFile.add*`` will no longer cache added records even when
2637
enable_cache() has been called - the caching feature is now exclusively for
2638
reading existing data. (Robert Collins)
2640
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
2641
appropriate. (Martin Pool)
2643
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
2644
``trace+`` transport instead. (Robert Collins)
2646
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
2647
deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
2650
* Removed previous deprecated ``basis_knit`` parameter to the
2651
``KnitVersionedFile`` constructor. (Robert Collins)
2653
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
2654
class that needs it.
2657
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
2658
``KnitRepository`` by parameters to the constructor. (Robert Collins)
2660
* The ``VersionedFile`` interface now allows content checks to be bypassed
2661
by supplying check_content=False. This saves nearly 30% of the minimum
2662
cost to store a version of a file. (Robert Collins)
2664
* Tree's with bad state such as files with no length or sha will no longer
2665
be silently accepted by the repository XML serialiser. To serialise
2666
inventories without such data, pass working=True to write_inventory.
2669
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
2670
``VersionedFile.join`` will no longer accept different parents on either
2671
side of a join - it will either ignore them, or error, depending on the
2672
implementation. See notes when upgrading for more information.
2677
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
2678
put by the method call, to allow avoiding stat-after-write or
2679
housekeeping in callers. (Robert Collins)
2681
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
2682
mandatory attributes are present on serialisation and deserialisation.
2683
This fixes some holes in API usage and allows better separation between
2684
physical storage and object serialisation. (Robert Collins)
2686
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
2687
shorthand for deriving from BzrError and setting internal_error = True.
2690
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
2691
moving the state of a parent tree to a new version via a delta rather than
2692
a complete replacement tree. (Robert Collins)
2694
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
2695
duplication from user input, when a user mentions both a path and an item
2696
contained within that path. (Robert Collins)
2698
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
2699
determining if a repository is write locked. (Robert Collins)
2701
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
2702
tuple containing the key information about a path for commit processing
2703
to complete. (Robert Collins)
2705
* New method on xml serialisers, write_inventory_to_lines, which matches the
2706
API used by knits for adding content. (Robert Collins)
2708
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
2709
logic, currently only available for byte-based lookup
2710
(``bisect_multi_bytes``). (Robert Collins)
2712
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
2713
and returns a gzipped version of the same. This is used to avoid a bunch
2714
of api friction during adding of knit hunks. (Robert Collins)
2716
* New parameter on ``bzrlib.transport.Transport.readv``
2717
``adjust_for_latency`` which changes readv from returning strictly the
2718
requested data to inserted return larger ranges and in forward read order
2719
to reduce the effect of network latency. (Robert Collins)
2721
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
2722
causes the parents of a selected id to be returned recursively, so all the
2723
paths from the root down to each element of selected_file_ids are
2724
returned. (Robert Collins)
2726
* Knit joining has been enhanced to support plain to annotated conversion
2727
and annotated to plain conversion. (Ian Clatworthy)
2729
* The CommitBuilder method ``record_entry_contents`` now returns summary
2730
information about the effect of the commit on the repository. This tuple
2731
contains an inventory delta item if the entry changed from the basis, and a
2732
boolean indicating whether a new file graph node was recorded.
2735
* The python path used in the Makefile can now be overridden.
2736
(Andrew Bennetts, Ian Clatworthy)
2740
* New transport implementation ``trace+`` which is useful for testing,
2741
logging activity taken to its _activity attribute. (Robert Collins)
2743
* When running bzr commands within the test suite, internal exceptions are
2744
not caught and reported in the usual way, but rather allowed to propagate
2745
up and be visible to the test suite. A new API ``run_bzr_catch_user_errors``
2746
makes this behavior available to other users.
2749
* New method ``TestCase.call_catch_warnings`` for testing methods that
2750
raises a Python warning. (Martin Pool)
2758
* Print a warning instead of aborting the ``python setup.py install``
2759
process if building of a C extension is not possible.
2760
(Lukáš Lalinský, Alexander Belchenko)
2762
* Fix commit ordering in corner case (Aaron Bentley, #94975)
2764
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
2765
an implicit port. We were incorrectly raising PathNotChild due to
2766
inconsistent treatment of the ''_port'' attribute on the Transport object.
2767
(Andrew Bennetts, #133965)
2769
* Make RemoteRepository.sprout cope gracefully with servers that don't
2770
support the ``Repository.tarball`` request.
2774
bzr 0.91rc2 2007-09-11
2775
----------------------
2777
* Replaced incorrect tarball for previous release; a debug statement was left
2778
in bzrlib/remote.py.
2781
bzr 0.91rc1 2007-09-11
2782
----------------------
2786
* The default branch and repository format has changed to
2787
``dirstate-tags``, so tag commands are active by default.
2788
This format is compatible with Bazaar 0.15 and later.
2789
This incidentally fixes bug #126141.
2792
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
2793
must now appear after the command name. Scripts doing things like
2794
``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
2799
* New option ``--author`` in ``bzr commit`` to specify the author of the
2800
change, if it's different from the committer. ``bzr log`` and
2801
``bzr annotate`` display the author instead of the committer.
2804
* In addition to global options and command specific options, a set of
2805
standard options are now supported. Standard options are legal for
2806
all commands. The initial set of standard options are:
2808
* ``--help`` or ``-h`` - display help message
2809
* ``--verbose`` or ``-v`` - display additional information
2810
* ``--quiet`` or ``-q`` - only output warnings and errors.
2812
Unlike global options, standard options can be used in aliases and
2813
may have command-specific help. (Ian Clatworthy)
2815
* Verbosity level processing has now been unified. If ``--verbose``
2816
or ``-v`` is specified on the command line multiple times, the
2817
verbosity level is made positive the first time then increased.
2818
If ``--quiet`` or ``-q`` is specified on the command line
2819
multiple times, the verbosity level is made negative the first
2820
time then decreased. To get the default verbosity level of zero,
2821
either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
2822
Note that most commands currently ignore the magnitude of the
2823
verbosity level but do respect *quiet vs normal vs verbose* when
2824
generating output. (Ian Clatworthy)
2826
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
2827
is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
2829
* New ``Repository.stream_knit_data_for_revisions`` request added to the
2830
network protocol for greatly reduced roundtrips when retrieving a set of
2831
revisions. (Andrew Bennetts)
2835
* ``bzr plugins`` now lists the version number for each plugin in square
2836
brackets after the path. (Robert Collins, #125421)
2838
* Pushing, pulling and branching branches with subtree references was not
2839
copying the subtree weave, preventing the file graph from being accessed
2840
and causing errors in commits in clones. (Robert Collins)
2842
* Suppress warning "integer argument expected, got float" from Paramiko,
2843
which sometimes caused false test failures. (Martin Pool)
2845
* Fix bug in bundle 4 that could cause attempts to write data to wrong
2846
versionedfile. (Aaron Bentley)
2848
* Diffs generated using "diff -p" no longer break the patch parser.
2851
* get_transport treats an empty possible_transports list the same as a non-
2852
empty one. (Aaron Bentley)
2854
* patch verification for merge directives is reactivated, and works with
2855
CRLF and CR files. (Aaron Bentley)
2857
* Accept ..\ as a path in revision specifiers. This fixes for example
2858
"-r branch:..\other-branch" on Windows. (Lukáš Lalinský)
2860
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
2861
(Blake Winton, #129299)
2863
* man page no longer lists hidden options (#131667, Aaron Bentley)
2865
* ``uncommit --help`` now explains the -r option adequately. (Daniel
2868
* Error messages are now better formatted with parameters (such as
2869
filenames) quoted when necessary. This avoids confusion when directory
2870
names ending in a '.' at the end of messages were confused with a
2871
full stop that may or not have been there. (Daniel Watkins, #129791)
2873
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
2875
* If a particular command is an alias, ``help`` will show the alias
2876
instead of claiming there is no help for said alias. (Daniel Watkins,
2879
* TreeTransform-based operations, like pull, merge, revert, and branch,
2880
now roll back if they encounter an error. (Aaron Bentley, #67699)
2882
* ``bzr commit`` now exits cleanly if a character unsupported by the
2883
current encoding is used in the commit message. (Daniel Watkins,
2886
* bzr send uses default values for ranges when only half of an elipsis
2887
is specified ("-r..5" or "-r5.."). (#61685, Aaron Bentley)
2889
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
2890
binary is present. (Martin Albisetti, #107155)
2892
* ``bzr remove`` should remove clean subtrees. Now it will remove (without
2893
needing ``--force``) subtrees that contain no files with text changes or
2894
modified files. With ``--force`` it removes the subtree regardless of
2895
text changes or unknown files. Directories with renames in or out (but
2896
not changed otherwise) will now be removed without needing ``--force``.
2897
Unknown ignored files will be deleted without needing ``--force``.
2898
(Marius Kruger, #111665)
2900
* When two plugins conflict, the source of both the losing and now the
2901
winning definition is shown. (Konstantin Mikhaylov, #5454)
2903
* When committing to a branch, the location being committed to is
2904
displayed. (Daniel Watkins, #52479)
2906
* ``bzr --version`` takes care about encoding of stdout, especially
2907
when output is redirected. (Alexander Belchenko, #131100)
2909
* Prompt for an ftp password if none is provided.
2910
(Vincent Ladeuil, #137044)
2912
* Reuse bound branch associated transport to avoid multiple
2914
(Vincent Ladeuil, #128076, #131396)
2916
* Overwrite conflicting tags by ``push`` and ``pull`` if the
2917
``--overwrite`` option is specified. (Lukáš Lalinský, #93947)
2919
* In checkouts, tags are copied into the master branch when created,
2920
changed or deleted, and are copied into the checkout when it is
2921
updated. (Martin Pool, #93856, #93860)
2923
* Print a warning instead of aborting the ``python setup.py install``
2924
process if building of a C extension is not possible.
2925
(Lukáš Lalinský, Alexander Belchenko)
2929
* Add the option "--show-diff" to the commit command in order to display
2930
the diff during the commit log creation. (Goffredo Baroncelli)
2932
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
2935
* ``pull -v`` no longer includes deltas, making it much faster.
2938
* ``send`` now sends the directive as an attachment by default.
2939
(Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
2941
* Documentation updates (Martin Albisetti)
2943
* Help on debug flags is now included in ``help global-options``.
2944
(Daniel Watkins, #124853)
2946
* Parameters passed on the command line are checked to ensure they are
2947
supported by the encoding in use. (Daniel Watkins)
2949
* The compression used within the bzr repository has changed from zlib
2950
level 9 to the zlib default level. This improves commit performance with
2951
only a small increase in space used (and in some cases a reduction in
2952
space). (Robert Collins)
2954
* Initial commit no longer SHAs files twice and now reuses the path
2955
rather than looking it up again, making it faster.
2958
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
2959
changes in one revision. (Lukáš Lalinský)
2961
* If versioned files match a given ignore pattern, a warning is now
2962
given. (Daniel Watkins, #48623)
2964
* ``bzr status`` now has -S as a short name for --short and -V as a
2965
short name for --versioned. These have been added to assist users
2966
migrating from Subversion: ``bzr status -SV`` is now like
2967
``svn status -q``. (Daniel Watkins, #115990)
2969
* Added C implementation of ``PatienceSequenceMatcher``, which is about
2970
10x faster than the Python version. This speeds up commands that
2971
need file diffing, such as ``bzr commit`` or ``bzr diff``.
2974
* HACKING has been extended with a large section on core developer tasks.
2977
* Add ``branches`` and ``standalone-trees`` as online help topics and
2978
include them as Concepts within the User Reference.
2979
(Paul Moore, Ian Clatworthy)
2981
* ``check`` can detect versionedfile parent references that are
2982
inconsistent with revision and inventory info, and ``reconcile`` can fix
2983
them. These faulty references were generated by 0.8-era releases,
2984
so repositories which were manipulated by old bzrs should be
2985
checked, and possibly reconciled ASAP. (Aaron Bentley, Andrew Bennetts)
2989
* ``Branch.append_revision`` is removed altogether; please use
2990
``Branch.set_last_revision_info`` instead. (Martin Pool)
2992
* CommitBuilder now advertises itself as requiring the root entry to be
2993
supplied. This only affects foreign repository implementations which reuse
2994
CommitBuilder directly and have changed record_entry_contents to require
2995
that the root not be supplied. This should be precisely zero plugins
2996
affected. (Robert Collins)
2998
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
2999
its return value to include the sha1 and length of the inserted text. This
3000
allows the avoidance of double-sha1 calculations during commit.
3003
* ``Transport.should_cache`` has been removed. It was not called in the
3004
previous release. (Martin Pool)
3008
* Tests may now raise TestNotApplicable to indicate they shouldn't be
3009
run in a particular scenario. (Martin Pool)
3011
* New function multiply_tests_from_modules to give a simpler interface
3012
to test parameterization. (Martin Pool, Robert Collins)
3014
* ``Transport.should_cache`` has been removed. It was not called in the
3015
previous release. (Martin Pool)
3017
* NULL_REVISION is returned to indicate the null revision, not None.
3020
* Use UTF-8 encoded StringIO for log tests to avoid failures on
3021
non-ASCII committer names. (Lukáš Lalinský)
3025
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
3026
``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
3027
useful functionality for determining the path of a plugin, its tests, and
3028
its version information. (Robert Collins)
3030
* Add the option user_encoding to the function 'show_diff_trees()'
3031
in order to move the user encoding at the UI level. (Goffredo Baroncelli)
3033
* Add the function make_commit_message_template_encoded() and the function
3034
edit_commit_message_encoded() which handle encoded strings.
3035
This is done in order to mix the commit messages (which is a unicode
3036
string), and the diff which is a raw string. (Goffredo Baroncelli)
3038
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
3039
overhead on non-weave repositories which don't require all parents to be
3040
present. (Robert Collins)
3042
* Deprecated method ``find_previous_heads`` on
3043
``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
3044
of ``parent_candidates`` and a separate heads check via the repository
3045
API. (Robert Collins)
3047
* New trace function ``mutter_callsite`` will print out a subset of the
3048
stack to the log, which can be useful for gathering debug details.
3051
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
3052
added via a public attribute records_written. (Robert Collins)
3054
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
3055
This provides a hint to users of transports as to the reasonable
3056
minimum data to read. In principle this can take latency and
3057
bandwidth into account on a per-connection basis, but for now it
3058
just has hard coded values based on the url. (e.g. http:// has a large
3059
page size, file:// has a small one.) (Robert Collins)
3061
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
3062
incremental addition of data to a file without requiring that all the
3063
data be buffered in memory. (Robert Collins)
3065
* New methods on ``bzrlib.knit.KnitVersionedFile``:
3066
``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
3067
``get_format_signature()``. These provide some infrastructure for
3068
efficiently streaming the knit data for a set of versions over the smart
3071
* Knits with no annotation cache still produce correct annotations.
3074
* Three new methods have been added to ``bzrlib.trace``:
3075
``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
3076
``set_verbosity_level`` expects a numeric value: negative for quiet,
3077
zero for normal, positive for verbose. The size of the number can be
3078
used to determine just how quiet or verbose the application should be.
3079
The existing ``be_quiet`` and ``is_quiet`` routines have been
3080
integrated into this new scheme. (Ian Clatworthy)
3082
* Options can now be delcared with a ``custom_callback`` parameter. If
3083
set, this routine is called after the option is processed. This feature
3084
is now used by the standard options ``verbose`` and ``quiet`` so that
3085
setting one implicitly resets the other. (Ian Clatworthy)
3087
* Rather than declaring a new option from scratch in order to provide
3088
custom help, a centrally registered option can be decorated using the
3089
new ``bzrlib.Option.custom_help`` routine. In particular, this routine
3090
is useful when declaring better help for the ``verbose`` and ``quiet``
3091
standard options as the base definition of these is now more complex
3092
than before thanks to their use of a custom callback. (Ian Clatworthy)
3094
* Tree._iter_changes(specific_file=[]) now iterates through no files,
3095
instead of iterating through all files. None is used to iterate through
3096
all files. (Aaron Bentley)
3098
* WorkingTree.revert() now accepts None to revert all files. The use of
3099
[] to revert all files is deprecated. (Aaron Bentley)
3107
* Documentation is now organized into multiple directories with a level
3108
added for different languages or locales. Added the Mini Tutorial
3109
and Quick Start Summary (en) documents from the Wiki, improving the
3110
content and readability of the former. Formatted NEWS as Release Notes
3111
complete with a Table of Conents, one heading per release. Moved the
3112
Developer Guide into the main document catalog and provided a link
3113
from the developer document catalog back to the main one.
3114
(Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
3119
* The static convenience method ``BzrDir.create_repository``
3120
is deprecated. Callers should instead create a ``BzrDir`` instance
3121
and call ``create_repository`` on that. (Martin Pool)
3124
bzr 0.90rc1 2007-08-14
3125
----------------------
3129
* ``bzr init`` should connect to the remote location one time only. We
3130
have been connecting several times because we forget to pass around the
3131
Transport object. This modifies ``BzrDir.create_branch_convenience``,
3132
so that we can give it the Transport we already have.
3133
(John Arbash Meinel, Vincent Ladeuil, #111702)
3135
* Get rid of sftp connection cache (get rid of the FTP one too).
3136
(Vincent Ladeuil, #43731)
3138
* bzr branch {local|remote} remote don't try to create a working tree
3140
(Vincent Ladeuil, #112173)
3142
* All identified multiple connections for a single bzr command have been
3143
fixed. See bzrlib/tests/commands directory.
3146
* ``bzr rm`` now does not insist on ``--force`` to delete files that
3147
have been renamed but not otherwise modified. (Marius Kruger,
3150
* ``bzr selftest --bench`` no longer emits deprecation warnings
3153
* ``bzr status`` now honours FILE parameters for conflict lists
3154
(Aaron Bentley, #127606)
3156
* ``bzr checkout`` now honours -r when reconstituting a working tree.
3157
It also honours -r 0. (Aaron Bentley, #127708)
3159
* ``bzr add *`` no more fails on Windows if working tree contains
3160
non-ascii file names. (Kuno Meyer, #127361)
3162
* allow ``easy_install bzr`` runs without fatal errors.
3163
(Alexander Belchenko, #125521)
3165
* Graph._filter_candidate_lca does not raise KeyError if a candidate
3166
is eliminated just before it would normally be examined. (Aaron Bentley)
3168
* SMTP connection failures produce a nice message, not a traceback.
3173
* Don't show "dots" progress indicators when run non-interactively, such
3174
as from cron. (Martin Pool)
3176
* ``info`` now formats locations more nicely and lists "submit" and
3177
"public" branches (Aaron Bentley)
3179
* New ``pack`` command that will trigger database compression within
3180
the repository (Robert Collins)
3182
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
3183
version is approximately 2-3x faster at parsing a ``.kndx`` file.
3184
Which yields a measurable improvement for commands which have to
3185
read from the repository, such as a 1s => 0.75s improvement in
3186
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
3188
* Merge is now faster. Depending on the scenario, it can be more than 2x
3189
faster. (Aaron Bentley)
3191
* Give a clearer warning, and allow ``python setup.py install`` to
3192
succeed even if pyrex is not available.
3193
(John Arbash Meinel)
3195
* ``DirState._read_dirblocks`` now has an optional Pyrex
3196
implementation. This improves the speed of any command that has to
3197
read the entire DirState. (``diff``, ``status``, etc, improve by
3199
``bisect_dirblocks`` has also been improved, which helps all
3200
``_get_entry`` type calls (whenever we are searching for a
3201
particular entry in the in-memory DirState).
3202
(John Arbash Meinel)
3204
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
3205
branch revision history for ui display unless -v is supplied.
3208
* ``bzr log -rA..B`` output shifted to the left margin if the log only
3209
contains merge revisions. (Kent Gibson)
3211
* The ``plugins`` command is now public with improved help.
3214
* New bundle and merge directive formats are faster to generate, and
3216
* Annotate merge now works when there are local changes. (Aaron Bentley)
3218
* Commit now only shows the progress in terms of directories instead of
3219
entries. (Ian Clatworthy)
3221
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
3222
times. This makes ``get_revision_graph`` 2x faster. (John Arbash
3225
* Fix ``VersionedFile.get_graph()`` to avoid using
3226
``set.difference_update(other)``, which has bad scaling when
3227
``other`` is large. This improves ``VF.get_graph([version_id])`` for
3228
a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
3230
* The ``--lsprof-file`` option now generates output for KCacheGrind if
3231
the file starts with ``callgrind.out``. This matches the default file
3232
filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
3234
* Fix ``bzr update`` to avoid an unnecessary
3235
``branch.get_master_branch`` call, which avoids 1 extra connection
3236
to the remote server. (Partial fix for #128076, John Arbash Meinel)
3238
* Log errors from the smart server in the trace file, to make debugging
3239
test failures (and live failures!) easier. (Andrew Bennetts)
3241
* The HTML version of the man page has been superceded by a more
3242
comprehensive manual called the Bazaar User Reference. This manual
3243
is completed generated from the online help topics. As part of this
3244
change, limited reStructuredText is now explicitly supported in help
3245
topics and command help with 'unnatural' markup being removed prior
3246
to display by the online help or inclusion in the man page.
3249
* HTML documentation now use files extension ``*.html``
3250
(Alexander Belchenko)
3252
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
3253
so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
3255
* ``bzr selftest --strict`` fails if there are any missing features or
3256
expected test failures. (Daniel Watkins, #111914)
3258
* Link to registration survey added to README. (Ian Clatworthy)
3260
* Windows standalone installer show link to registration survey
3261
when installation finished. (Alexander Belchenko)
3265
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
3266
Options are now required to provide a help string and it must
3267
comply with the style guide by being one or more sentences with an
3268
initial capital and final period. (Martin Pool)
3270
* KnitIndex.get_parents now returns tuples. (Robert Collins)
3272
* Ancient unused ``Repository.text_store`` attribute has been removed.
3275
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
3276
rather than just bytestrings, making it easier to represent multiple
3277
element names. As this interface was not used by any internal facilities
3278
since it was introduced in 0.18 no API compatibility is being preserved.
3279
The serialised form of these packs is identical with 0.18 when a single
3280
element tuple is in use. (Robert Collins)
3284
* merge now uses ``iter_changes`` to calculate changes, which makes room for
3285
future performance increases. It is also more consistent with other
3286
operations that perform comparisons, and reduces reliance on
3287
Tree.inventory. (Aaron Bentley)
3289
* Refactoring of transport classes connected to a remote server.
3290
ConnectedTransport is a new class that serves as a basis for all
3291
transports needing to connect to a remote server. transport.split_url
3292
have been deprecated, use the static method on the object instead. URL
3293
tests have been refactored too.
3296
* Better connection sharing for ConnectedTransport objects.
3297
transport.get_transport() now accepts a 'possible_transports' parameter.
3298
If a newly requested transport can share a connection with one of the
3302
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
3303
the null revision, and consider using ``None`` for this purpose
3304
deprecated. (Aaron Bentley)
3306
* New ``index`` module with abstract index functionality. This will be
3307
used during the planned changes in the repository layer. Currently the
3308
index layer provides a graph aware immutable index, a builder for the
3309
same index type to allow creating them, and finally a composer for
3310
such indices to allow the use of many indices in a single query. The
3311
index performance is not optimised, however the API is stable to allow
3312
development on top of the index. (Robert Collins)
3314
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
3315
their directory sections. This is equivalent to comparing
3316
``path.split('/')``, only without having to split the paths.
3317
This has a Pyrex implementation available.
3318
(John Arbash Meinel)
3320
* New transport decorator 'unlistable+' which disables the list_dir
3321
functionality for testing.
3323
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
3325
* RevisionTree.get_weave is now deprecated. Tree.plan_merge is now used
3326
for performing annotate-merge. (Aaron Bentley)
3328
* New EmailMessage class to create email messages. (Adeodato Simó)
3330
* Unused functions on the private interface KnitIndex have been removed.
3333
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
3334
of a ``index.GraphIndex``. (Robert Collins)
3336
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
3337
the parents of many knit nodes at once, reducing round trips to the
3338
underlying index. (Robert Collins)
3340
* Graph now has an is_ancestor method, various bits use it.
3343
* The ``-Dhpss`` flag now includes timing information. As well as
3344
logging when a new connection is opened. (John Arbash Meinel)
3346
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
3347
callers when inserting data, allowing generation of readv style access
3348
during pack creation, without needing a separate pass across the output
3349
pack to gather such details. (Robert Collins)
3351
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
3352
files that are stored on a transport. (Robert Collins)
3354
* New ``Repository.has_same_location`` method that reports if two
3355
repository objects refer to the same repository (although with some risk
3356
of false negatives). (Andrew Bennetts)
3358
* InterTree.compare now passes require_versioned on correctly.
3361
* New methods on Repository - ``start_write_group``,
3362
``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
3363
which provide a clean hook point for transactional Repositories - ones
3364
where all the data for a fetch or commit needs to be made atomically
3365
available in one step. This allows the write lock to remain while making
3366
a series of data insertions. (e.g. data conversion). (Robert Collins)
3368
* In ``bzrlib.knit`` the internal interface has been altered to use
3369
3-tuples (index, pos, length) rather than two-tuples (pos, length) to
3370
describe where data in a knit is, allowing knits to be split into
3371
many files. (Robert Collins)
3373
* ``bzrlib.knit._KnitData`` split into cache management and physical access
3374
with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
3375
The former provides access into a .pack file, and the latter provides the
3376
current production repository form of .knit files. (Robert Collins)
3380
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
3381
``--keep-output`` options, which are obsolete now that tests
3382
are done within directories in $TMPDIR. (Martin Pool)
3384
* The SSH_AUTH_SOCK environment variable is now reset to avoid
3385
interaction with any running ssh agents. (Jelmer Vernooij, #125955)
3387
* run_bzr_subprocess handles parameters the same way as run_bzr:
3388
either a string or a list of strings should be passed as the first
3389
parameter. Varargs-style parameters are deprecated. (Aaron Bentley)
3393
--------------------
3397
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
3400
bzr 0.18rc1 2007-07-10
3401
-----------------------
3405
* Do not suppress pipe errors, etc. in non-display commands
3406
(Alexander Belchenko, #87178)
3408
* Display a useful error message when the user requests to annotate
3409
a file that is not present in the specified revision.
3410
(James Westby, #122656)
3412
* Commands that use status flags now have a reference to 'help
3413
status-flags'. (Daniel Watkins, #113436)
3415
* Work around python-2.4.1 inhability to correctly parse the
3416
authentication header.
3417
(Vincent Ladeuil, #121889)
3419
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
3421
* Fix tempfile permissions error in smart server tar bundling under
3422
Windows. (Martin _, #119330)
3424
* Fix detection of directory entries in the inventory. (James Westby)
3426
* Fix handling of http code 400: Bad Request When issuing too many ranges.
3427
(Vincent Ladeuil, #115209)
3429
* Issue a CONNECT request when connecting to an https server
3430
via a proxy to enable SSL tunneling.
3431
(Vincent Ladeuil, #120678)
3433
* Fix ``bzr log -r`` to support selecting merge revisions, both
3434
individually and as part of revision ranges.
3435
(Kent Gibson, #4663)
3437
* Don't leave cruft behind when failing to acquire a lockdir.
3438
(Martin Pool, #109169)
3440
* Don't use the '-f' strace option during tests.
3441
(Vincent Ladeuil, #102019).
3443
* Warn when setting ``push_location`` to a value that will be masked by
3444
locations.conf. (Aaron Bentley, #122286)
3446
* Fix commit ordering in corner case (Aaron Bentley, #94975)
3448
* Make annotate behave in a non-ASCII world (Adeodato Simó).
3452
* The --lsprof-file option now dumps a text rendering of the profiling
3453
information if the filename ends in ".txt". It will also convert the
3454
profiling information to a format suitable for KCacheGrind if the
3455
output filename ends in ".callgrind". Fixes to the lsprofcalltree
3456
conversion process by Jean Paul Calderone and Itamar were also merged.
3457
See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
3459
* ``info`` now defaults to non-verbose mode, displaying only paths and
3460
abbreviated format info. ``info -v`` displays all the information
3461
formerly displayed by ``info``. (Aaron Bentley, Adeodato Simó)
3463
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
3466
* The internal ``weave-list`` command has become ``versionedfile-list``,
3467
and now lists knits as well as weaves. (Aaron Bentley)
3469
* Automatic merge base selection uses a faster algorithm that chooses
3470
better bases in criss-cross merge situations (Aaron Bentley)
3472
* Progress reporting in ``commit`` has been improved. The various logical
3473
stages are now reported on as follows, namely:
3475
* Collecting changes [Entry x/y] - Stage n/m
3476
* Saving data locally - Stage n/m
3477
* Uploading data to master branch - Stage n/m
3478
* Updating the working tree - Stage n/m
3479
* Running post commit hooks - Stage n/m
3481
If there is no master branch, the 3rd stage is omitted and the total
3482
number of stages is adjusted accordingly.
3484
Each hook that is run after commit is listed with a name (as hooks
3485
can be slow it is useful feedback).
3486
(Ian Clatworthy, Robert Collins)
3488
* Various operations that are now faster due to avoiding unnecessary
3489
topological sorts. (Aaron Bentley)
3491
* Make merge directives robust against broken bundles. (Aaron Bentley)
3493
* The lsprof filename note is emitted via trace.note(), not standard
3494
output. (Aaron Bentley)
3496
* ``bzrlib`` now exports explicit API compatibility information to assist
3497
library users and plugins. See the ``bzrlib.api`` module for details.
3500
* Remove unnecessary lock probes when acquiring a lockdir.
3503
* ``bzr --version`` now shows the location of the bzr log file, which
3504
is especially useful on Windows. (Martin Pool)
3506
* -D now supports hooks to get debug tracing of hooks (though its currently
3507
minimal in nature). (Robert Collins)
3509
* Long log format reports deltas on merge revisions.
3510
(John Arbash Meinel, Kent Gibson)
3512
* Make initial push over ftp more resilient. (John Arbash Meinel)
3514
* Print a summary of changes for update just like pull does.
3515
(Daniel Watkins, #113990)
3517
* Add a -Dhpss option to trace smart protocol requests and responses.
3522
* Testing cleanups -
3523
``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
3524
to ``bzrlib.tests.repository_implementations``;
3525
``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
3526
to ``bzrlib.tests.interrepository_implementations``;
3527
``bzrlib.transport.TransportTestProviderAdapter`` has moved to
3528
``bzrlib.tests.test_transport_implementations``.
3529
``bzrlib.branch.BranchTestProviderAdapter`` has moved to
3530
``bzrlib.tests.branch_implementations``.
3531
``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
3532
``bzrlib.tests.bzrdir_implementations``.
3533
``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
3534
to ``bzrlib.tests.interversionedfile_implementations``.
3535
``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
3536
``bzrlib.tests.revisionstore_implementations``.
3537
``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
3538
``bzrlib.tests.workingtree_implementations``.
3539
These changes are an API break in the testing infrastructure only.
3542
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
3544
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
3545
win32. Callers of the function should do this and use the new
3546
``MutableTree.smart_add`` method instead. (Robert Collins)
3548
* ``bzrlib.add.glob_expand_for_win32`` is now
3549
``bzrlib.win32utils.glob_expand``. (Robert Collins)
3551
* ``bzrlib.add.FastPath`` is now private and moved to
3552
``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
3554
* ``LockDir.wait`` removed. (Martin Pool)
3556
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
3557
``server_stopped`` hooks. The first parameter is now an iterable of
3558
backing URLs rather than a single URL. This is to reflect that many
3559
URLs may map to the external URL of the server. E.g. the server interally
3560
may have a chrooted URL but also the local file:// URL will be at the
3561
same location. (Robert Collins)
3565
* New SMTPConnection class to unify email handling. (Adeodato Simó)
3567
* Fix documentation of BzrError. (Adeodato Simó)
3569
* Make BzrBadParameter an internal error. (Adeodato Simó)
3571
* Remove use of 'assert False' to raise an exception unconditionally.
3574
* Give a cleaner error when failing to decode knit index entry.
3577
* TreeConfig would mistakenly search the top level when asked for options
3578
from a section. It now respects the section argument and only
3579
searches the specified section. (James Westby)
3581
* Improve ``make api-docs`` output. (John Arbash Meinel)
3583
* Use os.lstat rather than os.stat for osutils.make_readonly and
3584
osutils.make_writeable. This makes the difftools plugin more
3585
robust when dangling symlinks are found. (Elliot Murphy)
3587
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
3588
lockdirs are taken or released. (Martin Pool)
3590
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
3591
allows a nicer UI when hooks are running as the current hook can
3592
be displayed. (Robert Collins)
3594
* ``Transport.get`` has had its interface made more clear for ease of use.
3595
Retrieval of a directory must now fail with either 'PathError' at open
3596
time, or raise 'ReadError' on a read. (Robert Collins)
3598
* New method ``_maybe_expand_globs`` on the ``Command`` class for
3599
dealing with unexpanded glob lists - e.g. on the win32 platform. This
3600
was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
3602
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
3603
deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
3606
* New method ``external_url`` on Transport for obtaining the url to
3607
hand to external processes. (Robert Collins)
3609
* Teach windows installers to build pyrex/C extensions.
3610
(Alexander Belchenko)
3614
* Removed the ``--keep-output`` option from selftest and clean up test
3615
directories as they're used. This reduces the IO load from
3616
running the test suite and cuts the time by about half.
3617
(Andrew Bennetts, Martin Pool)
3619
* Add scenarios as a public attribute on the TestAdapter classes to allow
3620
modification of the generated scenarios before adaption and easier
3621
testing. (Robert Collins)
3623
* New testing support class ``TestScenarioApplier`` which multiplies
3624
out a single teste by a list of supplied scenarios. (RobertCollins)
3626
* Setting ``repository_to_test_repository`` on a repository_implementations
3627
test will cause it to be called during repository creation, allowing the
3628
testing of repository classes which are not based around the Format
3629
concept. For example a repository adapter can be tested in this manner,
3630
by altering the repository scenarios to include a scenario that sets this
3631
attribute during the test parameterisation in
3632
``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
3634
* Clean up many of the APIs for blackbox testing of Bazaar. The standard
3635
interface is now self.run_bzr. The command to run can be passed as
3636
either a list of parameters, a string containing the command line, or
3637
(deprecated) varargs parameters. (Martin Pool)
3639
* The base TestCase now isolates tests from -D parameters by clearing
3640
``debug.debug_flags`` and restores it afterwards. (Robert Collins)
3642
* Add a relpath parameter to get_transport methods in test framework to
3643
avoid useless cloning.
3644
(Vincent Ladeuil, #110448)
3648
--------------------
3652
* Fix crash of commit due to wrong lookup of filesystem encoding.
3653
(Colin Watson, #120647)
3655
* Revert logging just to stderr in commit as broke unicode filenames.
3656
(Aaron Bentley, Ian Clatworthy, #120930)
3659
bzr 0.17rc1 2007-06-12
3660
-----------------------
3662
NOTES WHEN UPGRADING:
3664
* The kind() and is_executable() APIs on the WorkingTree interface no
3665
longer implicitly (read) locks and unlocks the tree. This *might*
3666
impact some plug-ins and tools using this part of the API. If you find
3667
an issue that may be caused by this change, please let us know,
3668
particularly the plug-in/tool maintainer. If encountered, the API
3669
fix is to surround kind() and is_executable() calls with lock_read()
3670
and unlock() like so::
3672
work_tree.lock_read()
3674
kind = work_tree.kind(...)
3679
* Rework of LogFormatter API to provide beginning/end of log hooks and to
3680
encapsulate the details of the revision to be logged in a LogRevision
3682
In long log formats, merge revision ids are only shown when --show-ids
3683
is specified, and are labelled "revision-id:", as per mainline
3684
revisions, instead of "merged:". (Kent Gibson)
3686
* New ``BranchBuilder`` API which allows the construction of particular
3687
histories quickly. Useful for testing and potentially other applications
3688
too. (Robert Collins)
3692
* There are two new help topics, working-trees and repositories that
3693
attempt to explain these concepts. (James Westby, John Arbash Meinel,
3696
* Added ``bzr log --limit`` to report a limited number of revisions.
3697
(Kent Gibson, #3659)
3699
* Revert does not try to preserve file contents that were originally
3700
produced by reverting to a historical revision. (Aaron Bentley)
3702
* ``bzr log --short`` now includes ``[merge]`` for revisions which
3703
have more than one parent. This is a small improvement to help
3704
understanding what changes have occurred
3705
(John Arbash Meinel, #83887)
3707
* TreeTransform avoids many renames when contructing large trees,
3708
improving speed. 3.25x speedups have been observed for construction of
3709
kernel-sized-trees, and checkouts are 1.28x faster. (Aaron Bentley)
3711
* Commit on large trees is now faster. In my environment, a commit of
3712
a small change to the Mozilla tree (55k files) has dropped from
3713
66 seconds to 32 seconds. For a small tree of 600 files, commit of a
3714
small change is 33% faster. (Ian Clatworthy)
3716
* New --create-prefix option to bzr init, like for push. (Daniel Watkins,
3721
* ``bzr push`` should only connect to the remote location one time.
3722
We have been connecting 3 times because we forget to pass around
3723
the Transport object. This adds ``BzrDir.clone_on_transport()``, so
3724
that we can pass in the Transport that we already have.
3725
(John Arbash Meinel, #75721)
3727
* ``DirState.set_state_from_inventory()`` needs to properly order
3728
based on split paths, not just string paths.
3729
(John Arbash Meinel, #115947)
3731
* Let TestUIFactoy encode the password prompt with its own stdout.
3732
(Vincent Ladeuil, #110204)
3734
* pycurl should take use the range header that takes the range hint
3736
(Vincent Ladeuil, #112719)
3738
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
3739
on a missing file. (Aaron Bentley, #118186)
3741
* WorkingTree.remove works correctly with tree references, and when pwd is
3742
not the tree root. (Aaron Bentley)
3744
* Merge no longer fails when a file is renamed in one tree and deleted
3745
in the other. (Aaron Bentley, #110279)
3747
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
3748
and defaults to the last revision (Matthew Fuller, #90048)
3750
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
3751
(Daniel Watkins, #111958)
3753
* ``bzr branch -r revid:foo`` can be used to branch any revision in
3754
your repository. (Previously Branch6 only supported revisions in your
3755
mainline). (John Arbash Meinel, #115343)
3758
--------------------
3762
* Handle when you have 2 directories with similar names, but one has a
3763
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
3764
iterator was using direct comparison and ``'abc/a'`` sorts after
3765
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
3766
(John Arbash Meinel, #111227)
3768
* Handle when someone renames a file on disk without telling bzr.
3769
Previously we would report the first file as missing, but not show
3770
the new unknown file. (John Arbash Meinel, #111288)
3772
* Avoid error when running hooks after pulling into or pushing from
3773
a branch bound to a smartserver branch. (Martin Pool, #111968)
3777
* Move developer documentation to doc/developers/. This reduces clutter in
3778
the root of the source tree and allows HACKING to be split into multiple
3779
files. (Robert Collins, Alexander Belchenko)
3781
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
3782
``DirState.update_entry()``. This optimizes the core logic for ``bzr
3783
diff`` and ``bzr status`` significantly improving the speed of
3784
both. (John Arbash Meinel)
3786
bzr 0.16rc2 2007-04-30
3787
-----------------------
3791
* Handle the case when you delete a file, and then rename another file
3792
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
3793
status`` should show the removed file and an unknown file in its
3794
place. (John Arbash Meinel, #109993)
3796
* Bundles properly read and write revision properties that have an
3797
empty value. And when the value is not ASCII.
3798
(John Arbash Meinel, #109613)
3800
* Fix the bzr commit message to be in text mode.
3801
(Alexander Belchenko, #110901)
3803
* Also handle when you rename a file and create a file where it used
3804
to be. (John Arbash Meinel, #110256)
3806
* ``WorkingTree4._iter_changes`` should not descend into unversioned
3807
directories. (John Arbash Meinel, #110399)
3809
bzr 0.16rc1 2007-04-26
3810
-----------------------
3812
NOTES WHEN UPGRADING:
3814
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
3815
it could be recovered again.
3816
This has been done for consistency with svn and the unix rm command.
3817
The old ``remove`` behaviour has been retained in the new option
3818
``bzr remove --keep``, which will just stop versioning the file,
3820
``bzr remove --force`` have been added which will always delete the
3822
``bzr remove`` is also more verbose.
3823
(Marius Kruger, #82602)
3827
* Merge directives can now be supplied as input to `merge` and `pull`,
3828
like bundles can. (Aaron Bentley)
3830
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
3831
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
3832
to continue. This can be disabled by setting the environment variable
3833
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
3835
* selftest now supports --list-only to list tests instead of running
3836
them. (Ian Clatworthy)
3838
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
3839
tests with names that match that regular expression.
3840
(Ian Clatworthy, #102679)
3842
* selftest now supports --randomize SEED to run tests in a random order.
3843
SEED is typically the value 'now' meaning 'use the current time'.
3844
(Ian Clatworthy, #102686)
3846
* New option ``--fixes`` to commit, which stores bug fixing annotations as
3847
revision properties. Built-in support for Launchpad, Debian, Trac and
3848
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
3850
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
3851
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
3854
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
3857
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
3858
into using local variables instead of going through ``self._var``.
3859
Improves the time to ``merge_sort`` a 10k revision graph by
3860
approximately 40% (~700->400ms). (John Arbash Meinel)
3862
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
3865
* ``bzr help`` now provides cross references to other help topics using
3866
the _see_also facility on command classes. Likewise the bzr_man
3867
documentation, and the bzr.1 man page also include this information.
3870
* Tags are now included in logs, that use the long log formatter.
3871
(Erik Bågfors, Alexander Belchenko)
3873
* ``bzr help`` provides a clearer message when a help topic cannot be
3874
found. (Robert Collins, #107656)
3876
* ``bzr help`` now accepts optional prefixes for command help. The help
3877
for all commands can now be found at ``bzr help commands/COMMANDNAME``
3878
as well as ``bzr help COMMANDNAME`` (which only works for commands
3879
where the name is not the same as a more general help topic).
3882
* ``bzr help PLUGINNAME`` will now return the module docstring from the
3883
plugin PLUGINNAME. (Robert Collins, #50408)
3885
* New help topic ``urlspec`` which lists the availables transports.
3886
(Goffredo Baroncelli)
3888
* doc/server.txt updated to document the default bzr:// port
3889
and also update the blurb about the hpss' current status.
3890
(Robert Collins, #107125).
3892
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
3893
serve out to the local LAN (and anyone in the world that can reach the
3894
machine running ``bzr serve``. (Robert Collins, #98918)
3896
* A new smart server protocol version has been added. It prefixes requests
3897
and responses with an explicit version identifier so that future protocol
3898
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
3900
* The bzr protocol version 2 indicates success or failure in every response
3901
without depending on particular commands encoding that consistently,
3902
allowing future client refactorings to be much more robust about error
3903
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
3905
* The smart protocol over HTTP client has been changed to always post to the
3906
same ``.bzr/smart`` URL under the original location when it can. This allows
3907
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
3908
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
3910
* digest authentication is now supported for proxies and HTTP by the urllib
3911
based http implementation. Tested against Apache 2.0.55 and Squid
3912
2.6.5. Basic and digest authentication are handled coherently for HTTP
3913
and proxy: if the user is provided in the url (bzr command line for HTTP,
3914
proxy environment variables for proxies), the password is prompted for
3915
(only once). If the password is provided, it is taken into account. Once
3916
the first authentication is successful, all further authentication
3917
roundtrips are avoided by preventively setting the right authentication
3923
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
3924
code paths. (Robert Collins)
3926
* Change the format of chroot urls so that they can be safely manipulated
3927
by generic url utilities without causing the resulting urls to have
3928
escaped the chroot. A side effect of this is that creating a chroot
3929
requires an explicit action using a ChrootServer.
3930
(Robert Collins, Andrew Bennetts)
3932
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
3933
rather than fixing bug #96847. (Aaron Bentley)
3935
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
3936
``WorkingTree._write_inventory``. (Aaron Bentley)
3938
* Convenience method ``TestCase.expectFailure`` ensures that known failures
3939
do not silently pass. (Aaron Bentley)
3941
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
3942
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
3944
* New SmartServer hooks facility. There are two initial hooks documented
3945
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
3946
plugins to execute code upon server startup and shutdown.
3949
* SmartServer in standalone mode will now close its listening socket
3950
when it stops, rather than waiting for garbage collection. This primarily
3951
fixes test suite hangs when a test tries to connect to a shutdown server.
3952
It may also help improve behaviour when dealing with a server running
3953
on a specific port (rather than dynamically assigned ports).
3956
* Move most SmartServer code into a new package, bzrlib/smart.
3957
bzrlib/transport/remote.py contains just the Transport classes that used
3958
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
3960
* urllib http implementation avoid roundtrips associated with
3961
401 (and 407) errors once the authentication succeeds.
3964
* urlib http now supports querying the user for a proxy password if
3965
needed. Realm is shown in the prompt for both HTTP and proxy
3966
authentication when the user is required to type a password.
3969
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
3970
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
3971
consistent with its new home in ``bzrlib/transport/remote.py``, and because
3972
it's not really a "smart" transport, just one that does file operations
3973
via remote procedure calls. (Andrew Bennetts)
3975
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
3976
``Branch`` now accept a ``token`` keyword argument, so that separate
3977
instances of those objects can share a lock if it has the right token.
3978
(Andrew Bennetts, Robert Collins)
3980
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
3981
branch references - which the smart server component needs.
3983
* The Repository API ``make_working_trees`` is now permitted to return
3984
False when ``set_make_working_trees`` is not implemented - previously
3985
an unimplemented ``set_make_working_trees`` implied the result True
3986
from ``make_working_trees``. This has been changed to accomodate the
3987
smart server, where it does not make sense (at this point) to ever
3988
make working trees by default. (Robert Collins)
3990
* Command objects can now declare related help topics by having _see_also
3991
set to a list of related topic. (Robert Collins)
3993
* ``bzrlib.help`` now delegates to the Command class for Command specific
3994
help. (Robert Collins)
3996
* New class ``TransportListRegistry``, derived from the Registry class, which
3997
simplifies tracking the available Transports. (Goffredo Baroncelli)
3999
* New function ``Branch.get_revision_id_to_revno_map`` which will
4000
return a dictionary mapping revision ids to dotted revnos. Since
4001
dotted revnos are defined in the context of the branch tip, it makes
4002
sense to generate them from a ``Branch`` object.
4003
(John Arbash Meinel)
4005
* Fix the 'Unprintable error' message display to use the repr of the
4006
exception that prevented printing the error because the str value
4007
for it is often not useful in debugging (e.g. KeyError('foo') has a
4008
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
4009
useful. (Robert Collins)
4011
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
4016
* Don't fail bundle selftest if email has 'two' embedded.
4017
(Ian Clatworthy, #98510)
4019
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
4020
(Robert Widhopf-Fenk, #98591)
4022
* Remove ``--basis`` from the checkout/branch commands - it didn't work
4023
properly and is no longer beneficial.
4024
(Robert Collins, #53675, #43486)
4026
* Don't produce encoding error when adding duplicate files.
4029
* Fix ``bzr log <file>`` so it only logs the revisions that changed
4030
the file, and does it faster.
4031
(Kent Gibson, John Arbash Meinel, #51980, #69477)
4033
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
4034
an empty versioned directory, which now has files in it.
4035
(John Arbash Meinel, #104257)
4037
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
4038
inside the ancestry of the other. Saves a lot of graph processing
4039
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
4040
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
4042
* Fix ``show_diff_trees`` to handle the case when a file is modified,
4043
and the containing directory is renamed. (The file path is different
4044
in this versus base, but it isn't marked as a rename).
4045
(John Arbash Meinel, #103870)
4047
* FTP now works even when the FTP server does not support atomic rename.
4048
(Aaron Bentley, #89436)
4050
* Correct handling in bundles and merge directives of timezones with
4051
that are not an integer number of hours offset from UTC. Always
4052
represent the epoch time in UTC to avoid problems with formatting
4053
earlier times on win32. (Martin Pool, Alexander Belchenko, John
4056
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
4058
* "dirstate" and "dirstate-tags" formats now produce branches compatible
4059
with old versions of bzr. (Aaron Bentley, #107168))
4061
* Handle moving a directory when children have been added, removed,
4062
and renamed. (John Arbash Meinel, #105479)
4064
* Don't preventively use basic authentication for proxy before receiving a
4065
407 error. Otherwise people willing to use other authentication schemes
4066
may expose their password in the clear (or nearly). This add one
4067
roundtrip in case basic authentication should be used, but plug the
4071
* Handle http and proxy digest authentication.
4072
(Vincent Ladeuil, #94034).
4076
* Added ``bzrlib.strace.strace`` which will strace a single callable and
4077
return a StraceResult object which contains just the syscalls involved
4078
in running it. (Robert Collins)
4080
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
4081
default time down to one suitable for tests. (Andrew Bennetts)
4083
* Add new ``vfs_transport_factory`` attribute on tests which provides the
4084
common vfs backing for both the readonly and readwrite transports.
4085
This allows the RemoteObject tests to back onto local disk or memory,
4086
and use the existing ``transport_server`` attribute all tests know about
4087
to be the smart server transport. This in turn allows tests to
4088
differentiate between 'transport to access the branch', and
4089
'transport which is a VFS' - which matters in Remote* tests.
4090
(Robert Collins, Andrew Bennetts)
4092
* The ``make_branch_and_tree`` method for tests will now create a
4093
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
4094
a LocalURLServer. (Robert Collins, Andrew Bennetts)
4096
* Branch implementation tests have been audited to ensure that all urls
4097
passed to Branch APIs use proper urls, except when local-disk paths
4098
are intended. This is so that tests correctly access the test transport
4099
which is often not equivalent to local disk in Remote* tests. As part
4100
of this many tests were adjusted to remove dependencies on local disk
4102
(Robert Collins, Andrew Bennetts)
4104
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
4105
functions by adding a ``__unittest`` global attribute. (Robert Collins,
4106
Andrew Bennetts, Martin Pool, Jonathan Lange)
4108
* Refactored proxy and authentication handling to simplify the
4109
implementation of new auth schemes for both http and proxy.
4117
* Handle incompatible repositories as a user issue when fetching.
4120
* Don't give a recommendation to upgrade when branching or
4121
checking out a branch that contains an old-format working tree.
4124
bzr 0.15rc3 2007-03-26
4125
-----------------------
4129
* A warning is now displayed when opening working trees in older
4130
formats, to encourage people to upgrade to WorkingTreeFormat4.
4135
* HTTP redirections are now taken into account when a branch (or a
4136
bundle) is accessed for the first time. A message is issued at each
4137
redirection to inform the user. In the past, http redirections were
4138
silently followed for each request which significantly degraded the
4139
performances. The http redirections are not followed anymore by
4140
default, instead a RedirectRequested exception is raised. For bzrlib
4141
users needing to follow http redirections anyway,
4142
``bzrlib.transport.do_catching_redirections`` provide an easy transition
4147
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
4148
lock to an OS write lock. Linux can do this without unlocking, Win32
4149
needs to unlock in between. (John Arbash Meinel)
4151
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
4152
to silence (when false) warnings about opening old formats.
4155
* Fix minor performance regression with bzr-0.15 on pre-dirstate
4156
trees. (We were reading the working inventory too many times).
4157
(John Arbash Meinel)
4159
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
4160
``revision_history``. Branch subclasses should override
4161
``_gen_revision_history`` rather than ``revision_history`` to make use of
4162
this cache, and call ``_clear_revision_history_cache`` and
4163
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
4167
* Take ``smtp_server`` from user config into account.
4170
* Restore Unicode filename handling for versioned and unversioned files.
4171
(John Arbash Meinel, #92608)
4173
* Don't fail during ``bzr commit`` if a file is marked removed, and
4174
the containing directory is auto-removed. (John Arbash Meinel, #93681)
4176
* ``bzr status FILENAME`` failed on Windows because of an uncommon
4177
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
4178
(Wouter van Heyst, John Arbash Meinel, #90819)
4180
* ``bzr checkout source`` should create a local branch in the same
4181
format as source. (John Arbash Meinel, #93854)
4183
* ``bzr commit`` with a kind change was failing to update the
4184
last-changed-revision for directories. The
4185
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
4186
ignoring the fact that the kind could have changed, too.
4187
(John Arbash Meinel, #90111)
4189
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
4190
the directory. So that there was a chance it would break commit,
4191
etc. (John Arbash Meinel, #94037)
4193
* Correctly handles mutiple permanent http redirections.
4196
bzr 0.15rc2 2007-03-14
4197
-----------------------
4199
NOTES WHEN UPGRADING:
4201
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
4202
default to ``--trees`` instead of ``--no-trees``.
4203
Existing shared repositories are not affected.
4207
* New ``merge-directive`` command to generate machine- and human-readable
4208
merge requests. (Aaron Bentley)
4210
* New ``submit:`` revision specifier makes it easy to diff against the
4211
common ancestor with the submit location (Aaron Bentley)
4213
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
4215
* Added ``bzr status --versioned`` to report only versioned files,
4216
not unknowns. (Kent Gibson)
4218
* Merge now autodetects the correct line-ending style for its conflict
4219
markers. (Aaron Bentley)
4223
* Refactored SSH vendor registration into SSHVendorManager class.
4228
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
4229
numbered dirs for TestCaseInTempDir. This is default behavior
4230
on Windows. Anyone can force named dirs on Windows
4231
with ``--no-numbered-dirs``. (Alexander Belchenko)
4233
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
4234
from the command line. (Marien Zwart, #90501)
4236
* Fix ``TreeTransform._iter_changes`` when both the source and
4237
destination are missing. (Aaron Bentley, #88842)
4239
* Fix commit of merges with symlinks in dirstate trees.
4242
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
4243
(Wouter van Heyst, #53483)
4246
bzr 0.15rc1 2007-03-07
4247
-----------------------
4251
* The default disk format has changed. Please run 'bzr upgrade' in your
4252
working trees to upgrade. This new default is compatible for network
4253
operations, but not for local operations. That is, if you have two
4254
versions of bzr installed locally, after upgrading you can only use the
4255
bzr 0.15 version. This new default does not enable tags or nested-trees
4256
as they are incompatible with bzr versions before 0.15 over the network.
4258
* For users of bzrlib: Two major changes have been made to the working tree
4259
api in bzrlib. The first is that many methods and attributes, including
4260
the inventory attribute, are no longer valid for use until one of
4261
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
4262
and become invalid again after unlock is called. This has been done
4263
to improve performance and correctness as part of the dirstate
4265
(Robert Collins, John A Meinel, Martin Pool, and others).
4267
* For users of bzrlib: The attribute 'tree.inventory' should be considered
4268
readonly. Previously it was possible to directly alter this attribute, or
4269
its contents, and have the tree notice this. This has been made
4270
unsupported - it may work in some tree formats, but in the newer dirstate
4271
format such actions will have no effect and will be ignored, or even
4272
cause assertions. All operations possible can still be carried out by a
4273
combination of the tree API, and the bzrlib.transform API. (Robert
4274
Collins, John A Meinel, Martin Pool, and others).
4278
* Support for OS Windows 98. Also .bzr.log on any windows system
4279
saved in My Documents folder. (Alexander Belchenko)
4281
* ``bzr mv`` enhanced to support already moved files.
4282
In the past the mv command would have failed if the source file doesn't
4283
exist. In this situation ``bzr mv`` would now detect that the file has
4284
already moved and update the repository accordingly, if the target file
4286
A new option ``--after`` has been added so that if two files already
4287
exist, you could notify Bazaar that you have moved a (versioned) file
4288
and replaced it with another. Thus in this case ``bzr move --after``
4289
will only update the Bazaar identifier.
4290
(Steffen Eichenberg, Marius Kruger)
4292
* ``ls`` now works on treeless branches and remote branches.
4295
* ``bzr help global-options`` describes the global options.
4298
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
4301
* Files are now allowed to change kind (e.g. from file to symlink).
4302
Supported by ``commit``, ``revert`` and ``status``
4305
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
4308
* ``bzr help checkouts`` descibes what checkouts are and some possible
4309
uses of them. (James Westby, Aaron Bentley)
4311
* A new ``-d`` option to push, pull and merge overrides the default
4312
directory. (Martin Pool)
4314
* Branch format 6: smaller, and potentially faster than format 5. Supports
4315
``append_history_only`` mode, where the log view and revnos do not change,
4316
except by being added to. Stores policy settings in
4317
".bzr/branch/branch.conf".
4319
* ``append_only`` branches: Format 6 branches may be configured so that log
4320
view and revnos are always consistent. Either create the branch using
4321
"bzr init --append-revisions-only" or edit the config file as descriped
4322
in docs/configuration.txt.
4324
* rebind: Format 6 branches retain the last-used bind location, so if you
4325
"bzr unbind", you can "bzr bind" to bind to the previously-selected
4328
* Builtin tags support, created and deleted by the ``tag`` command and
4329
stored in the branch. Tags can be accessed with the revisionspec
4330
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
4331
at present. Tags require a network incompatible upgrade. To perform this
4332
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
4333
repositories. (Martin Pool)
4335
* The ``bzr://`` transport now has a well-known port number, 4155,
4336
which it will use by default. (Andrew Bennetts, Martin Pool)
4338
* Bazaar now looks for user-installed plugins before looking for site-wide
4339
plugins. (Jonathan Lange)
4341
* ``bzr resolve`` now detects and marks resolved text conflicts.
4346
* Internally revision ids and file ids are now passed around as utf-8
4347
bytestrings, rather than treating them as Unicode strings. This has
4348
performance benefits for Knits, since we no longer need to decode the
4349
revision id for each line of content, nor for each entry in the index.
4350
This will also help with the future dirstate format.
4351
(John Arbash Meinel)
4353
* Reserved ids (any revision-id ending in a colon) are rejected by
4354
versionedfiles, repositories, branches, and working trees
4357
* Minor performance improvement by not creating a ProgressBar for
4358
every KnitIndex we create. (about 90ms for a bzr.dev tree)
4359
(John Arbash Meinel)
4361
* New easier to use Branch hooks facility. There are five initial hooks,
4362
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
4363
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
4364
``'post_uncommit'``. These hooks fire after the matching operation
4365
on a branch has taken place, and were originally added for the
4366
branchrss plugin. (Robert Collins)
4368
* New method ``Branch.push()`` which should be used when pushing from a
4369
branch as it makes performance and policy decisions to match the UI
4370
level command ``push``. (Robert Collins).
4372
* Add a new method ``Tree.revision_tree`` which allows access to cached
4373
trees for arbitrary revisions. This allows the in development dirstate
4374
tree format to provide access to the callers to cached copies of
4375
inventory data which are cheaper to access than inventories from the
4377
(Robert Collins, Martin Pool)
4379
* New ``Branch.last_revision_info`` method, this is being done to allow
4380
optimization of requests for both the number of revisions and the last
4381
revision of a branch with smartservers and potentially future branch
4382
formats. (Wouter van Heyst, Robert Collins)
4384
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
4385
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
4386
other for code reuse without requiring users to perform file-renaming
4387
gymnastics. (Robert Collins)
4389
* New Repository method ``'gather_stats'`` for statistic data collection.
4390
This is expected to grow to cover a number of related uses mainly
4391
related to bzr info. (Robert Collins)
4393
* Log formatters are now managed with a registry.
4394
``log.register_formatter`` continues to work, but callers accessing
4395
the FORMATTERS dictionary directly will not.
4397
* Allow a start message to be passed to the ``edit_commit_message``
4398
function. This will be placed in the message offered to the user
4399
for editing above the separator. It allows a template commit message
4400
to be used more easily. (James Westby)
4402
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
4403
you pass a Unicode string rather than an 8-bit string. Callers need
4404
to be updated to encode first. (John Arbash Meinel)
4406
* Branch.push, pull, merge now return Result objects with information
4407
about what happened, rather than a scattering of various methods. These
4408
are also passed to the post hooks. (Martin Pool)
4410
* File formats and architecture is in place for managing a forest of trees
4411
in bzr, and splitting up existing trees into smaller subtrees, and
4412
finally joining trees to make a larger tree. This is the first iteration
4413
of this support, and the user-facing aspects still require substantial
4414
work. If you wish to experiment with it, use ``bzr upgrade
4415
--dirstate-with-subtree`` in your working trees and repositories.
4416
You can use the hidden commands ``split`` and ``join`` and to create
4417
and manipulate nested trees, but please consider using the nested-trees
4418
branch, which contains substantial UI improvements, instead.
4419
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
4420
(Aaron Bentley, Martin Pool, Robert Collins).
4424
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
4425
branch, rather than the last changed revision of the file.
4426
(John Arbash Meinel, #82158)
4428
* Lock operations no longer hang if they encounter a permission problem.
4431
* ``bzr push`` can resume a push that was canceled before it finished.
4432
Also, it can push even if the target directory exists if you supply
4433
the ``--use-existing-dir`` flag.
4434
(John Arbash Meinel, #30576, #45504)
4436
* Fix http proxy authentication when user and an optional
4437
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
4440
* ``bzr log branch/file`` works for local treeless branches
4441
(Aaron Bentley, #84247)
4443
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
4445
* Searching location of CA bundle for PyCurl in env variable
4446
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
4447
(Alexander Belchenko, #82086)
4449
* ``bzr init`` works with unicode argument LOCATION.
4450
(Alexander Belchenko, #85599)
4452
* Raise ``DependencyNotPresent`` if pycurl do not support https.
4453
(Vincent Ladeuil, #85305)
4455
* Invalid proxy env variables should not cause a traceback.
4456
(Vincent Ladeuil, #87765)
4458
* Ignore patterns normalised to use '/' path separator.
4459
(Kent Gibson, #86451)
4461
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
4463
* Fix bzrtools shelve command for removed lines beginning with "--"
4464
(Johan Dahlberg, #75577)
4468
* New ``--first`` option to ``bzr selftest`` to run specified tests
4469
before the rest of the suite. (Martin Pool)
4473
--------------------
4477
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
4481
* Skip documentation generation tests if the tools to do so are not
4482
available. Fixes running selftest for installled copies of bzr.
4483
(John Arbash Meinel, #80330)
4485
* Fix the code that discovers whether bzr is being run from it's
4486
working tree to handle the case when it isn't but the directory
4487
it is in is below a repository. (James Westby, #77306)
4490
bzr 0.14rc1 2007-01-16
4491
-----------------------
4495
* New connection: ``bzr+http://`` which supports tunnelling the smart
4496
protocol over an HTTP connection. If writing is enabled on the bzr
4497
server, then you can write over the http connection.
4498
(Andrew Bennetts, John Arbash Meinel)
4500
* Aliases now support quotation marks, so they can contain whitespace
4503
* PyCurlTransport now use a single curl object. By specifying explicitly
4504
the 'Range' header, we avoid the need to use two different curl objects
4505
(and two connections to the same server). (Vincent Ladeuil)
4507
* ``bzr commit`` does not prompt for a message until it is very likely to
4508
succeed. (Aaron Bentley)
4510
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
4513
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
4514
of a list while checking if a revision id was requested. Takes 10s
4515
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
4516
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
4517
filtering lines with a regex rather than multiple ``str.find()``
4518
calls. (saves another 300ms) (John Arbash Meinel)
4520
* Policy can be set for each configuration key. This allows keys to be
4521
inherited properly across configuration entries. For example, this
4522
should enable you to do::
4524
[/home/user/project]
4525
push_location = sftp://host/srv/project/
4526
push_location:policy = appendpath
4528
And then a branch like ``/home/user/project/mybranch`` should get an
4529
automatic push location of ``sftp://host/srv/project/mybranch``.
4532
* Added ``bzr status --short`` to make status report svn style flags
4533
for each file. For example::
4535
$ bzr status --short
4541
* 'bzr selftest --clean-output' allows easily clean temporary tests
4542
directories without running tests. (Alexander Belchenko)
4544
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
4546
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
4547
local is fully merged into remote. (Jan Hudec)
4549
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
4553
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
4554
help speed up processing, as well allowing to extract unannotated
4555
lines. Between the two ``fileids_affected_by_revision_ids`` is
4556
improved by approx 10%. (John Arbash Meinel)
4558
* Change Revision serialization to only write out millisecond
4559
resolution. Rather than expecting floating point serialization to
4560
preserve more resolution than we need. (Henri Weichers, Martin Pool)
4562
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
4564
* When ``encoding_type`` attribute of class Command is equal to 'exact',
4565
force sys.stdout to be a binary stream on Windows, and therefore
4566
keep exact line-endings (without LF -> CRLF conversion).
4567
(Alexander Belchenko)
4569
* Single-letter short options are no longer globally declared. (Martin
4572
* Before using detected user/terminal encoding bzr should check
4573
that Python has corresponding codec. (Alexander Belchenko)
4575
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
4579
* ``bzr missing --verbose`` was showing adds/removals in the wrong
4580
direction. (John Arbash Meinel)
4582
* ``bzr annotate`` now defaults to showing dotted revnos for merged
4583
revisions. It cuts them off at a depth of 12 characters, but you can
4584
supply ``--long`` to see the full number. You can also use
4585
``--show-ids`` to display the original revision ids, rather than
4586
revision numbers and committer names. (John Arbash Meinel, #75637)
4588
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
4589
(Alexander Belchenko, #57869)
4591
* Win32-specific: output of cat, bundle and diff commands don't mangle
4592
line-endings (Alexander Belchenko, #55276)
4594
* Replace broken fnmatch based ignore pattern matching with custom pattern
4596
(Kent Gibson, Jan Hudec #57637)
4598
* pycurl and urllib can detect short reads at different places. Update
4599
the test suite to test more cases. Also detect http error code 416
4600
which was raised for that specific bug. Also enhance the urllib
4601
robustness by detecting invalid ranges (and pycurl's one by detecting
4602
short reads during the initial GET). (Vincent Ladeuil, #73948)
4604
* The urllib connection sharing interacts badly with urllib2
4605
proxy setting (the connections didn't go thru the proxy
4606
anymore). Defining a proper ProxyHandler solves the
4607
problem. (Vincent Ladeuil, #74759)
4609
* Use urlutils to generate relative URLs, not osutils
4610
(Aaron Bentley, #76229)
4612
* ``bzr status`` in a readonly directory should work without giving
4613
lots of errors. (John Arbash Meinel, #76299)
4615
* Mention the revisionspec topic for the revision option help.
4616
(Wouter van Heyst, #31663)
4618
* Allow plugins import from zip archives.
4619
(Alexander Belchenko, #68124)
4623
--------------------
4625
No changes from 0.13rc1
4627
bzr 0.13rc1 2006-11-27
4628
-----------------------
4632
* New command ``bzr remove-tree`` allows the removal of the working
4634
(Daniel Silverstone)
4636
* urllib uses shared keep-alive connections, so http
4637
operations are substantially faster.
4638
(Vincent Ladeuil, #53654)
4640
* ``bzr export`` allows an optional branch parameter, to export a bzr
4641
tree from some other url. For example:
4642
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
4643
(Daniel Silverstone)
4645
* Added ``bzr help topics`` to the bzr help system. This gives a
4646
location for general information, outside of a specific command.
4647
This includes updates for ``bzr help revisionspec`` the first topic
4648
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
4650
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
4653
* Knit files will now cache full texts only when the size of the
4654
deltas is as large as the size of the fulltext. (Or after 200
4655
deltas, whichever comes first). This has the most benefit on large
4656
files with small changes, such as the inventory for a large project.
4657
(eg For a project with 2500 files, and 7500 revisions, it changes
4658
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
4662
* New -D option given before the command line turns on debugging output
4663
for particular areas. -Derror shows tracebacks on all errors.
4666
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
4667
and remove benchmarks that take longer than 10min to run.
4668
(John Arbash Meinel)
4670
* Use ``time.time()`` instead of ``time.clock()`` to decide on
4671
progress throttling. Because ``time.clock()`` is actually CPU time,
4672
so over a high-latency connection, too many updates get throttled.
4673
(John Arbash Meinel)
4675
* ``MemoryTransport.list_dir()`` would strip the first character for
4676
files or directories in root directory. (John Arbash Meinel)
4678
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
4679
branch references - which the smart server component needs.
4681
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
4682
prefix. It disallows any access to locations above a set URL. (Andrew
4687
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
4688
And optimize the knit index parsing code.
4689
(Dmitry Vasiliev, John Arbash Meinel)
4691
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
4692
without importing it. This prevented ``bzr upgrade`` from working
4693
unless a plugin already imported ``bzrlib.workingtree``
4694
(John Arbash Meinel, #70716)
4696
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
4698
* Give nicer error message when an http server returns a 403
4699
error code. (Vincent Ladeuil, #57644).
4701
* When a multi-range http GET request fails, try a single
4702
range one. If it fails too, forget about ranges. Remember that until
4703
the death of the transport and propagates that to the clones.
4704
(Vincent Ladeuil, #62276, #62029).
4706
* Handles user/passwords supplied in url from command
4707
line (for the urllib implementation). Don't request already
4708
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
4710
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
4711
are added. This fixes bug where fetching remote revisions records
4712
them as full references rather than integers.
4713
(John Arbash Meinel, #64789)
4715
* ``bzr ignore`` strips trailing slashes in patterns.
4716
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
4718
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
4720
* mv correctly handles paths that traverse symlinks.
4721
(Aaron Bentley, #66964)
4723
* Give nicer looking error messages when failing to connect over ssh.
4724
(John Arbash Meinel, #49172)
4726
* Pushing to a remote branch does not currently update the remote working
4727
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
4728
machine now show that the working tree is out of date.
4729
(Cheuksan Edward Wang #48136)
4731
* Use patiencediff instead of difflib for determining deltas to insert
4732
into knits. This avoids the O(N^3) behavior of difflib. Patience
4733
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
4735
* Running ``bzr log`` on nonexistent file gives an error instead of the
4736
entire log history. (Cheuksan Edward Wang #50793)
4738
* ``bzr cat`` can look up contents of removed or renamed files. If the
4739
pathname is ambiguous, i.e. the files in the old and new trees have
4740
different id's, the default is the file in the new tree. The user can
4741
use "--name-from-revision" to select the file in the old tree.
4742
(Cheuksan Edward Wang, #30190)
4746
* TestingHTTPRequestHandler really handles the Range header
4747
(previously it was ignoring it and returning the whole file,).
4750
--------------------
4754
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
4755
and remove benchmarks that take longer than 10min to run.
4756
(John Arbash Meinel)
4758
bzr 0.12rc1 2006-10-23
4759
-----------------------
4763
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
4764
rather than just showing a decimal revision number for revisions on the
4765
mainline. These revision numbers are not yet accepted as input into bzr
4766
commands such as log, diff etc. (Robert Collins)
4768
* revisions can now be specified using dotted-decimal revision numbers.
4769
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
4771
* ``bzr help commands`` output is now shorter (Aaron Bentley)
4773
* ``bzr`` now uses lazy importing to reduce the startup time. This has
4774
a moderate effect on lots of actions, especially ones that have
4775
little to do. For example ``bzr rocks`` time is down to 116ms from
4776
283ms. (John Arbash Meinel)
4778
* New Registry class to provide name-to-object registry-like support,
4779
for example for schemes where plugins can register new classes to
4780
do certain tasks (e.g. log formatters). Also provides lazy registration
4781
to allow modules to be loaded on request.
4782
(John Arbash Meinel, Adeodato Simó)
4784
API INCOMPATABILITY:
4786
* LogFormatter subclasses show now expect the 'revno' parameter to
4787
show() to be a string rather than an int. (Robert Collins)
4791
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
4792
can take a ``working_dir='foo'`` parameter, which will change directory
4793
for the command. (John Arbash Meinel)
4795
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
4796
around a regex, which defers compilation until first use.
4797
(John Arbash Meinel)
4799
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
4800
``--no-plugins`` parameter to ensure test reproducability, and avoid
4801
problems with system-wide installed plugins. (John Arbash Meinel)
4803
* Unique tree root ids are now supported. Newly created trees still
4804
use the common root id for compatibility with bzr versions before 0.12.
4807
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
4808
pass in ``inventory.ROOT_ID`` if you want the default root id value.
4809
(Robert Collins, John Arbash Meinel)
4811
* New method ``WorkingTree.flush()`` which will write the current memory
4812
inventory out to disk. At the same time, ``read_working_inventory`` will
4813
no longer trash the current tree inventory if it has been modified within
4814
the current lock, and the tree will now ``flush()`` automatically on
4815
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
4816
advantage of this functionality. (Robert Collins, John Arbash Meinel)
4818
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
4819
parameter will cause it to add another column to its output, which
4820
contains the dotted-decimal revno for each revision, as a tuple.
4823
* ``LogFormatter.show_merge`` is deprecated in favour of
4824
``LogFormatter.show_merge_revno``. (Robert Collins)
4828
* Avoid circular imports by creating a deprecated function for
4829
``bzrlib.tree.RevisionTree``. Callers should have been using
4830
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
4833
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
4834
platforms. (Martin Pool, #66356)
4836
* Don't require ``Content-Type`` in range responses. Assume they are a
4837
single range if ``Content-Type`` does not exist.
4838
(John Arbash Meinel, #62473)
4840
* bzr branch/pull no longer complain about progress bar cleanup when
4841
interrupted during fetch. (Aaron Bentley, #54000)
4843
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
4844
the basis inventory, rather than going through the repository. This
4845
allows us to have 1 inventory read, and 2 inventory writes when
4846
committing a new tree. (John Arbash Meinel)
4848
* When reverting, files that are not locally modified that do not exist
4849
in the target are deleted, not just unversioned (Aaron Bentley)
4851
* When trying to acquire a lock, don't fail immediately. Instead, try
4852
a few times (up to 1 hour) before timing out. Also, report why the
4853
lock is unavailable (John Arbash Meinel, #43521, #49556)
4855
* Leave HttpTransportBase daughter classes decides how they
4856
implement cloning. (Vincent Ladeuil, #61606)
4858
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
4860
* If a commit fails, the commit message is stored in a file at the root of
4861
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
4866
* New test base class TestCaseWithMemoryTransport offers memory-only
4867
testing facilities: its not suitable for tests that need to mutate disk
4868
state, but most tests should not need that and should be converted to
4869
TestCaseWithMemoryTransport. (Robert Collins)
4871
* ``TestCase.make_branch_and_memory_tree`` now takes a format
4872
option to set the BzrDir, Repository and Branch formats of the
4873
created objects. (Robert Collins, John Arbash Meinel)
4876
--------------------
4878
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
4880
bzr 0.11rc2 2006-09-27
4881
-----------------------
4885
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
4887
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
4890
bzr 0.11rc1 2006-09-25
4891
-----------------------
4895
* Knit files now wait to create their contents until the first data is
4896
added. The old code used to create an empty .knit and a .kndx with just
4897
the header. However, this caused a lot of extra round trips over sftp.
4898
This can change the time for ``bzr push`` to create a new remote branch
4899
from 160s down to 100s. This also affects ``bzr commit`` performance when
4900
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
4901
down to 40s (John Arbash Meinel, #44692)
4903
* When an entire subtree has been deleted, commit will now report that
4904
just the top of the subtree has been deleted, rather than reporting
4905
all the individual items. (Robert Collins)
4907
* Commit performs one less XML parse. (Robert Collins)
4909
* ``bzr checkout`` now operates on readonly branches as well
4910
as readwrite branches. This fixes bug #39542. (Robert Collins)
4912
* ``bzr bind`` no longer synchronises history with the master branch.
4913
Binding should be followed by an update or push to synchronise the
4914
two branches. This is closely related to the fix for bug #39542.
4917
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
4918
objects. This allows all imports to stay at the global scope, but
4919
modules will not actually be imported if they are not used.
4920
(John Arbash Meinel)
4922
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
4923
transport which will be used with the upcoming high-performance smart
4924
server. The new command ``bzr serve`` will invoke bzr in server mode,
4925
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
4928
* New command ``bzr version-info`` which can be used to get a summary
4929
of the current state of the tree. This is especially useful as part
4930
of a build commands. See ``doc/version_info.txt`` for more information
4931
(John Arbash Meinel)
4935
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
4936
specific set of files. (John Arbash Meinel, #3631)
4938
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
4940
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
4941
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
4942
reading a nested Stanza. (John Arbash Meinel)
4944
* Transform._set_mode() needs to stat the right file.
4945
(John Arbash Meinel, #56549)
4947
* Raise WeaveFormatError rather than StopIteration when trying to read
4948
an empty Weave file. (John Arbash Meinel, #46871)
4950
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
4951
(Vincent Ladeuil, #59835)
4953
* Handle boundary="" lines properly to allow access through a Squid proxy.
4954
(John Arbash Meinel, #57723)
4956
* revert now removes newly-added directories (Aaron Bentley, #54172)
4958
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
4959
isn't a working tree. (David Allouche, #40679)
4961
* Give nicer error messages when a user supplies an invalid --revision
4962
parameter. (John Arbash Meinel, #55420)
4964
* Handle when LANG is not recognized by python. Emit a warning, but
4965
just revert to using 'ascii'. (John Arbash Meinel, #35392)
4967
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
4968
(John Arbash Meinel)
4970
* Skip specific tests when the dependencies aren't met. This includes
4971
some ``setup.py`` tests when ``python-dev`` is not available, and
4972
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
4974
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
4975
the system. (Andrew Bennetts, John Arbash Meinel)
4977
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
4978
other branch, and will not push or pull between the two branches.
4979
API users will need to perform a push or pull or update operation if they
4980
require branch synchronisation to take place. (Robert Collins, #47344)
4982
* When creating a tarball or zipfile export, export unicode names as utf-8
4983
paths. This may not work perfectly on all platforms, but has the best
4984
chance of working in the common case. (John Arbash Meinel, #56816)
4986
* When committing, only files that exist in working tree or basis tree
4987
may be specified (Aaron Bentley, #50793)
4991
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
4995
* TestCaseInTempDir now creates a separate directory for HOME, rather
4996
than having HOME set to the same location as the working directory.
4997
(John Arbash Meinel)
4999
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
5000
which will update os.environ inside the spawned child. It also can
5001
take a ``universal_newlines=True``, which helps when checking the output
5002
of the command. (John Arbash Meinel)
5004
* Refactor SFTP vendors to allow easier re-use when ssh is used.
5007
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
5008
return urlescaped paths. This is now tested (there were bugs in a few
5009
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
5011
* New utility function ``symbol_versioning.deprecation_string``. Returns the
5012
formatted string for a callable, deprecation format pair. (Robert Collins)
5014
* New TestCase helper applyDeprecated. This allows you to call a callable
5015
which is deprecated without it spewing to the screen, just by supplying
5016
the deprecation format string issued for it. (Robert Collins)
5018
* Transport.append and Transport.put have been deprecated in favor of
5019
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
5020
``.put_file``. This removes the ambiguity in what type of object the
5021
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
5022
been added. Which works similarly to ``Transport.append()`` except for
5023
SFTP, it doesn't have a round trip when opening the file. Also, it
5024
provides functionality for creating a parent directory when trying
5025
to create a file, rather than raise NoSuchFile and forcing the
5026
caller to repeat their request.
5027
(John Arbash Meinel)
5029
* WorkingTree has a new api ``unversion`` which allow the unversioning of
5030
entries by their file id. (Robert Collins)
5032
* ``WorkingTree.pending_merges`` is deprecated. Please use the
5033
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
5035
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
5036
read rather than write. This is appropriate for actions which only need
5037
the branch data for reference rather than mutation. A new decorator
5038
``needs_tree_write_lock`` is provided in the workingtree module. Like the
5039
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
5040
declaration of the locking requirements of a function to ensure that
5041
a lock is taken out for casual scripts. (Robert Collins, #54107)
5043
* All WorkingTree methods which write to the tree, but not to the branch
5044
have been converted to use ``needs_tree_write_lock`` rather than
5045
``needs_write_lock``. Also converted is the revert, conflicts and tree
5046
transform modules. This provides a modest performance improvement on
5047
metadir style trees, due to the reduce lock-acquisition, and a more
5048
significant performance improvement on lightweight checkouts from
5049
remote branches, where trivial operations used to pay a significant
5050
penalty. It also provides the basis for allowing readonly checkouts.
5053
* Special case importing the standard library 'copy' module. This shaves
5054
off 40ms of startup time, while retaining compatibility. See:
5055
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
5057
* WorkingTree has a new parent class MutableTree which represents the
5058
specialisations of Tree which are able to be altered. (Robert Collins)
5060
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
5061
mutate the tree and its contents. (Robert Collins)
5063
* Transport behaviour at the root of the URL is now defined and tested.
5064
(Andrew Bennetts, Robert Collins)
5068
* New test helper classs MemoryTree. This is typically accessed via
5069
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
5071
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
5072
code to continue running concurrently with a subprocess of bzr.
5073
(Andrew Bennetts, Robert Collins)
5075
* Add a new method ``Transport.get_smart_client()``. This is provided to
5076
allow upgrades to a richer interface than the VFS one provided by
5077
Transport. (Andrew Bennetts, Martin Pool)
5080
--------------------
5083
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
5084
tree. (Aaron Bentley)
5086
* 'bzr add --file-ids-from' can be used to specify another path to use
5087
for creating file ids, rather than generating all new ones. Internally,
5088
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
5089
will be used, rather than having bzrlib generate new ones.
5090
(John Arbash Meinel, #55781)
5092
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
5093
This will cache some of the intermediate trees, and decrease the
5094
setup time for benchmark tests. (John Arbash Meinel)
5096
* Inverse forms are provided for all boolean options. For example,
5097
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
5099
* Serialize out Inventories directly, rather than using ElementTree.
5100
Writing out a kernel sized inventory drops from 2s down to ~350ms.
5101
(Robert Collins, John Arbash Meinel)
5105
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
5107
* Change LockDir so that if the lock directory doesn't exist when
5108
``lock_write()`` is called, an attempt will be made to create it.
5109
(John Arbash Meinel, #56974)
5111
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
5113
* Active FTP transport now works as intended. (ghozzy, #56472)
5115
* Really fix mutter() so that it won't ever raise a UnicodeError.
5116
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
5117
But it is a debugging log, not a real user file.
5118
(John Arbash Meinel, #56947, #53880)
5120
* Change Command handle to allow Unicode command and options.
5121
At present we cannot register Unicode command names, so we will get
5122
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
5123
But that is better than a UnicodeError + a traceback.
5124
(John Arbash Meinel, #57123)
5126
* Handle TZ=UTC properly when reading/writing revisions.
5127
(John Arbash Meinel, #55783, #56290)
5129
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
5130
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
5132
* External diff does the right thing for binaries even in foreign
5133
languages. (John Arbash Meinel, #56307)
5135
* Testament handles more cases when content is unicode. Specific bug was
5136
in handling of revision properties.
5137
(John Arbash Meinel, Holger Krekel, #54723)
5139
* The bzr selftest was failing on installed versions due to a bug in a new
5140
test helper. (John Arbash Meinel, Robert Collins, #58057)
5144
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
5145
which can be used to cache the conversion between utf8 and Unicode.
5146
Especially helpful for some of the knit annotation code, which has to
5147
convert revision ids to utf8 to annotate lines in storage.
5148
(John Arbash Meinel)
5150
* ``setup.py`` now searches the filesystem to find all packages which
5151
need to be installed. This should help make the life of packagers
5152
easier. (John Arbash Meinel)
5154
bzr 0.9.0 2006-08-11
5155
---------------------
5159
* The hard-coded built-in ignore rules have been removed. There are
5160
now two rulesets which are enforced. A user global one in
5161
``~/.bazaar/ignore`` which will apply to every tree, and the tree
5162
specific one '.bzrignore'.
5163
``~/.bazaar/ignore`` will be created if it does not exist, but with
5164
a more conservative list than the old default.
5165
This fixes bugs with default rules being enforced no matter what.
5166
The old list of ignore rules from bzr is available by
5167
running 'bzr ignore --old-default-rules'.
5168
(Robert Collins, Martin Pool, John Arbash Meinel)
5170
* 'branches.conf' has been changed to 'locations.conf', since it can apply
5171
to more locations than just branch locations.
5176
* The revision specifier "revno:" is extended to accept the syntax
5177
revno:N:branch. For example,
5178
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
5179
bzr.dev. (Matthieu Moy)
5181
* Tests updates to ensure proper URL handling, UNICODE support, and
5182
proper printing when the user's terminal encoding cannot display
5183
the path of a file that has been versioned.
5184
``bzr branch`` can take a target URL rather than only a local directory.
5185
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
5186
and normalize the parent based on root, allowing access across
5187
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
5188
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
5191
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
5192
Use terminal width for single-line logs from ``bzr log --line`` and
5193
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
5196
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
5197
(Alexander Belchenko)
5199
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
5201
* Show the correct number of revisions pushed when pushing a new branch.
5204
* 'bzr selftest' now shows a progress bar with the number of tests, and
5205
progress made. 'make check' shows tests in -v mode, to be more useful
5206
for the PQM status window. (Robert Collins).
5207
When using a progress bar, failed tests are printed out, rather than
5208
being overwritten by the progress bar until the suite finishes.
5209
(John Arbash Meinel)
5211
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
5212
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
5213
profile data for the individual profiled calls, allowing for fine
5214
grained analysis of performance.
5215
(Robert Collins, Martin Pool).
5217
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
5218
where commit can take an appreciable time. (Robert Collins)
5220
* 'bzr add' is now less verbose in telling you what ignore globs were
5221
matched by files being ignored. Instead it just tells you how many
5222
were ignored (because you might reasonably be expecting none to be
5223
ignored). 'bzr add -v' is unchanged and will report every ignored
5224
file. (Robert Collins).
5226
* ftp now has a test server if medusa is installed. As part of testing,
5227
ftp support has been improved, including support for supplying a
5228
non-standard port. (John Arbash Meinel).
5230
* 'bzr log --line' shows the revision number, and uses only the
5231
first line of the log message (#5162, Alexander Belchenko;
5234
* 'bzr status' has had the --all option removed. The 'bzr ls' command
5235
should be used to retrieve all versioned files. (Robert Collins)
5237
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
5238
over email, and applied on the other end, while maintaining ancestry.
5239
This bundle can be applied with either 'bzr merge' or 'bzr pull',
5240
the same way you would apply another branch.
5241
(John Arbash Meinel, Aaron Bentley)
5243
* 'bzr whoami' can now be used to set your identity from the command line,
5244
for a branch or globally. (Robey Pointer)
5246
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
5249
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
5252
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
5253
Also updates things like 'http+pycurl://' if pycurl is not present.
5254
(John Arbash Meinel) (Malone #47821, #52204)
5256
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
5257
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
5258
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
5260
* Improve the help text for 'bzr diff' to explain what various options do.
5261
(John Arbash Meinel, #6391)
5263
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
5264
revision 10. This makes -r10 more in line with what other commands do.
5265
'bzr uncommit' also now saves the pending merges of the revisions that
5266
were removed. So it is safe to uncommit after a merge, fix something,
5267
and commit again. (John Arbash Meinel, #32526, #31426)
5269
* 'bzr init' now also works on remote locations.
5270
(Wouter van Heyst, #48904)
5272
* HTTP support has been updated. When using pycurl we now support
5273
connection keep-alive, which reduces dns requests and round trips.
5274
And for both urllib and pycurl we support multi-range requests,
5275
which decreases the number of round-trips. Performance results for
5276
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
5277
http branching is now 2-3x faster, and ``bzr pull`` in an existing
5278
branch is as much as 4x faster.
5279
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
5281
* Performance improvements for sftp. Branching and pulling are now up to
5282
2x faster. Utilize paramiko.readv() support for async requests if it
5283
is available (paramiko > 1.6) (John Arbash Meinel)
5287
* Fix shadowed definition of TestLocationConfig that caused some
5289
(Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
5291
* Fix unnecessary requirement of sign-my-commits that it be run from
5292
a working directory. (Martin Pool, Robert Collins)
5294
* 'bzr push location' will only remember the push location if it succeeds
5295
in connecting to the remote location. (John Arbash Meinel, #49742)
5297
* 'bzr revert' no longer toggles the executable bit on win32
5298
(John Arbash Meinel, #45010)
5300
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
5302
* sftp tests now work correctly on win32 if you have a newer paramiko
5303
(John Arbash Meinel)
5305
* Cleanup win32 test suite, and general cleanup of places where
5306
file handles were being held open. (John Arbash Meinel)
5308
* When specifying filenames for 'diff -r x..y', the name of the file in the
5309
working directory can be used, even if its name is different in both x
5312
* File-ids containing single- or double-quotes are handled correctly by
5313
push. (Aaron Bentley, #52227)
5315
* Normalize unicode filenames to ensure cross-platform consistency.
5316
(John Arbash Meinel, #43689)
5318
* The argument parser can now handle '-' as an argument. Currently
5319
no code interprets it specially (it is mostly handled as a file named
5320
'-'). But plugins, and future operations can use it.
5321
(John Arbash meinel, #50984)
5323
* Bundles can properly read binary files with a plain '\r' in them.
5324
(John Arbash Meinel, #51927)
5326
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
5328
* Lots of win32 fixes (the test suite passes again).
5329
(John Arbash Meinel, #50155)
5331
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
5333
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
5335
* Removals are only committed if they match the filespec (or if there is
5336
no filespec). (#46635, Aaron Bentley)
5338
* smart-add recurses through all supplied directories
5339
(John Arbash Meinel, #52578)
5341
* Make the bundle reader extra lines before and after the bundle text.
5342
This allows you to parse an email with the bundle inline.
5343
(John Arbash Meinel, #49182)
5345
* Change the file id generator to squash a little bit more. Helps when
5346
working with long filenames on windows. (Also helps for unicode filenames
5347
not generating hidden files). (John Arbash Meinel, #43801)
5349
* Restore terminal mode on C-c while reading sftp password. (#48923,
5350
Nicholas Allen, Martin Pool)
5352
* Timestamps are rounded to 1ms, and revision entries can be recreated
5353
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
5355
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
5356
use local paths, since it is user visible (John Arbash Meinel, #53653)
5358
* ``bzr status foo`` when foo was unversioned used to cause a full delta
5359
to be generated (John Arbash Meinel, #53638)
5361
* When reading revision properties, an empty value should be considered
5362
the empty string, not None (John Arbash Meinel, #47782)
5364
* ``bzr diff --diff-options`` can now handle binary files being changed.
5365
Also, the output is consistent when --diff-options is not supplied.
5366
(John Arbash Meinel, #54651, #52930)
5368
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
5370
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
5371
accessible (John Arbash Meinel, #52976)
5375
* Combine the ignore rules into a single regex rather than looping over
5376
them to reduce the threshold where N^2 behaviour occurs in operations
5377
like status. (Jan Hudec, Robert Collins).
5379
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
5380
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
5382
* 'bzr push' should only push the ancestry of the current revision, not
5383
all of the history in the repository. This is especially important for
5384
shared repositories. (John Arbash Meinel)
5386
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
5387
rather than randomly walking the inventories. (John Arbash Meinel)
5389
* Doctests are now run in temporary directories which are cleaned up when
5390
they finish, rather than using special ScratchDir/ScratchBranch objects.
5393
* Split ``check`` into separate methods on the branch and on the repository,
5394
so that it can be specialized in ways that are useful or efficient for
5395
different formats. (Martin Pool, Robert Collins)
5397
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
5398
the global revision graph but only that part leading up to a particular
5399
revision. (Martin Pool, Robert Collins)
5401
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
5402
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
5403
(Robert Collins, Jelmer Vernooij).
5405
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
5406
Uses subprocess instead of spawnvp.
5407
(James Henstridge, John Arbash Meinel, #4047, #48914)
5409
* New command line option '--profile-imports', which will install a custom
5410
importer to log time to import modules and regex compilation time to
5411
sys.stderr (John Arbash Meinel)
5413
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
5414
instead. (Robert Collins)
5416
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
5418
bzr 0.8.2 2006-05-17
5419
---------------------
5423
* setup.py failed to install launchpad plugin. (Martin Pool)
5425
bzr 0.8.1 2006-05-16
5426
---------------------
5430
* Fix failure to commit a merge in a checkout. (Martin Pool,
5431
Robert Collins, Erik Bågfors, #43959)
5433
* Nicer messages from 'commit' in the case of renames, and correct
5434
messages when a merge has occured. (Robert Collins, Martin Pool)
5436
* Separate functionality from assert statements as they are skipped in
5437
optimized mode of python. Add the same check to pending merges.
5438
(Olaf Conradi, #44443)
5442
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
5444
* Add info on standalone branches without a working tree.
5445
(Olaf Conradi, #44155)
5447
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
5451
* Make editor invocation comply with Debian Policy. First check
5452
environment variables VISUAL and EDITOR, then try editor from
5453
alternatives system. If that all fails, fall back to the pre-defined
5454
list of editors. (Olaf Conradi, #42904)
5458
* New 'register-branch' command registers a public branch into
5459
Launchpad.net, where it can be associated with bugs, etc.
5460
(Martin Pool, Bjorn Tillenius, Robert Collins)
5464
* New public api in InventoryEntry - ``describe_change(old, new)`` which
5465
provides a human description of the changes between two old and
5466
new. (Robert Collins, Martin Pool)
5470
* Fix test case for bzr info in upgrading a standalone branch to metadir,
5471
uses bzrlib api now. (Olaf Conradi)
5476
NOTES WHEN UPGRADING:
5478
Release 0.8 of bzr introduces a new format for history storage, called
5479
'knit', as an evolution of to the 'weave' format used in 0.7. Local
5480
and remote operations are faster using knits than weaves. Several
5481
operations including 'init', 'init-repo', and 'upgrade' take a
5482
--format option that controls this. Branching from an existing branch
5483
will keep the same format.
5485
It is possible to merge, pull and push between branches of different
5486
formats but this is slower than moving data between homogenous
5487
branches. It is therefore recommended (but not required) that you
5488
upgrade all branches for a project at the same time. Information on
5489
formats is shown by 'bzr info'.
5491
bzr 0.8 now allows creation of 'repositories', which hold the history
5492
of files and revisions for several branches. Previously bzr kept all
5493
the history for a branch within the .bzr directory at the root of the
5494
branch, and this is still the default. To create a repository, use
5495
the new 'bzr init-repo' command. Branches exist as directories under
5496
the repository and contain just a small amount of information
5497
indicating the current revision of the branch.
5499
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
5500
subversion. Checkouts are associated with a branch (optionally in a
5501
repository), which contains all the historical information. The
5502
result is that a checkout can be deleted without losing any
5503
already-committed revisions. A new 'update' command is also available.
5505
Repositories and checkouts are not supported with the 0.7 storage
5506
format. To use them you must upgrad to either knits, or to the
5507
'metaweave' format, which uses weaves but changes the .bzr directory
5513
* Sftp paths can now be relative, or local, according to the lftp
5514
convention. Paths now take the form::
5516
sftp://user:pass@host:port/~/relative/path
5518
sftp://user:pass@host:port/absolute/path
5520
* The FTP transport now tries to reconnect after a temporary
5521
failure. ftp put is made atomic. (Matthieu Moy)
5523
* The FTP transport now maintains a pool of connections, and
5524
reuses them to avoid multiple connections to the same host (like
5525
sftp did). (Daniel Silverstone)
5527
* The ``bzr_man.py`` file has been removed. To create the man page now,
5528
use ``./generate_docs.py man``. The new program can also create other files.
5529
Run ``python generate_docs.py --help`` for usage information.
5530
(Hans Ulrich Niedermann & James Blackwell).
5532
* Man Page now gives full help (James Blackwell).
5533
Help also updated to reflect user config now being stored in .bazaar
5534
(Hans Ulrich Niedermann)
5536
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
5538
* Pull now accepts a --revision argument (Erik Bågfors)
5540
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
5541
line. You can now use the following command to sign all of your old
5544
find .bzr/revision-store// -name my@email-* \
5545
| sed 's/.*\/\/..\///' \
5548
* Upgrade can now upgrade over the network. (Robert Collins)
5550
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
5551
behaviour. By default they will cache history in the checkout, but
5552
with --lightweight almost all data is kept in the master branch.
5555
* 'revert' unversions newly-versioned files, instead of deleting them.
5557
* 'merge' is more robust. Conflict messages have changed.
5559
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
5562
* Default log format can be set in configuration and plugins can register
5563
their own formatters. (Erik Bågfors)
5565
* New 'reconcile' command will check branch consistency and repair indexes
5566
that can become out of sync in pre 0.8 formats. (Robert Collins,
5569
* New 'bzr init --format' and 'bzr upgrade --format' option to control
5570
what storage format is created or produced. (Robert Collins,
5573
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
5575
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
5577
* New 'init-repository' command, plus support for repositories in 'init'
5578
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
5580
* Improve output of 'info' command. Show all relevant locations related to
5581
working tree, branch and repository. Use kibibytes for binary quantities.
5582
Fix off-by-one error in missing revisions of working tree. Make 'info'
5583
work on branches, repositories and remote locations. Show locations
5584
relative to the shared repository, if applicable. Show locking status
5585
of locations. (Olaf Conradi)
5587
* Diff and merge now safely handle binary files. (Aaron Bentley)
5589
* 'pull' and 'push' now normalise the revision history, so that any two
5590
branches with the same tip revision will have the same output from 'log'.
5593
* 'merge' accepts --remember option to store parent location, like 'push'
5594
and 'pull'. (Olaf Conradi)
5596
* bzr status and diff when files given as arguments do not exist
5597
in the relevant trees. (Martin Pool, #3619)
5599
* Add '.hg' to the default ignore list. (Martin Pool)
5601
* 'knit' is now the default disk format. This improves disk performance and
5602
utilization, increases incremental pull performance, robustness with SFTP
5603
and allows checkouts over SFTP to perform acceptably.
5604
The initial Knit code was contributed by Johan Rydberg based on a
5605
specification by Martin Pool.
5606
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
5608
* New tool to generate all-in-one html version of the manual. (Alexander
5611
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
5612
to be left in the SFTP repository. (Robert Collins, Martin Pool).
5614
* New option 'diff --prefix' to control how files are named in diff
5615
output, with shortcuts '-p0' and '-p1' corresponding to the options for
5616
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
5618
* Add --revision option to 'annotate' command. (Olaf Conradi)
5620
* If bzr shows an unexpected revision-history after pulling (perhaps due
5621
to a reweave) it can now be corrected by 'bzr reconcile'.
5626
* Commit is now verbose by default, and shows changed filenames and the
5627
new revision number. (Robert Collins, Martin Pool)
5629
* Unify 'mv', 'move', 'rename'. (Matthew Fuller, #5379)
5631
* 'bzr -h' shows help. (Martin Pool, Ian Bicking, #35940)
5633
* Make 'pull' and 'push' remember location on failure using --remember.
5636
* For compatibility, make old format for using weaves inside metadir
5637
available as 'metaweave' format. Rename format 'metadir' to 'default'.
5638
Clean up help for option --format in commands 'init', 'init-repo' and
5639
'upgrade'. (Olaf Conradi)
5643
* The internal storage of history, and logical branch identity have now
5644
been split into Branch, and Repository. The common locking and file
5645
management routines are now in bzrlib.lockablefiles.
5646
(Aaron Bentley, Robert Collins, Martin Pool)
5648
* Transports can now raise DependencyNotPresent if they need a library
5649
which is not installed, and then another implementation will be
5650
tried. (Martin Pool)
5652
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
5655
* Using Tree Transform for merge, revert, tree-building
5657
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
5658
Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
5659
replacement API's. (Robert Collins)
5661
* New BzrDir class represents the .bzr control directory and manages
5662
formatting issues. (Robert Collins)
5664
* New repository.InterRepository class encapsulates Repository to
5665
Repository actions and allows for clean selection of optimised code
5666
paths. (Robert Collins)
5668
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
5669
deprecated, please use ``branch.fetch`` or ``repository.fetch``
5670
depending on your needs. (Robert Collins)
5672
* deprecated methods now have a ``is_deprecated`` flag on them that can
5673
be checked, if you need to determine whether a given callable is
5674
deprecated at runtime. (Robert Collins)
5676
* Progress bars are now nested - see
5677
``bzrlib.ui.ui_factory.nested_progress_bar``.
5678
(Robert Collins, Robey Pointer)
5680
* New API call ``get_format_description()`` for each type of format.
5683
* Changed ``branch.set_parent()`` to accept None to remove parent.
5686
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
5688
* WorkingTree.branch is now a read only property. (Robert Collins)
5690
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
5691
can be None or a factory that will create a progress bar. This is
5692
useful for testing or for overriding the bzrlib.progress heuristic.
5695
* New API method ``get_physical_lock_status()`` to query locks present on a
5696
transport. (Olaf Conradi)
5698
* Repository.reconcile now takes a thorough keyword parameter to allow
5699
requesting an indepth reconciliation, rather than just a data-loss
5700
check. (Robert Collins)
5702
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
5703
the user for yes/no style input. (Robert Collins)
5707
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
5708
for testing SFTP protocol support. (Robey Pointer)
5710
* Branch formats are now tested once per implementation (see ``bzrlib.
5711
tests.branch_implementations``. This is analagous to the transport
5712
interface tests, and has been followed up with working tree,
5713
repository and BzrDir tests. (Robert Collins)
5715
* New test base class TestCaseWithTransport provides a transport aware
5716
test environment, useful for testing any transport-interface using
5717
code. The test suite option --transport controls the transport used
5718
by this class (when its not being used as part of implementation
5719
contract testing). (Robert Collins)
5721
* Close logging handler on disabling the test log. This will remove the
5722
handler from the internal list inside python's logging module,
5723
preventing shutdown from closing it twice. (Olaf Conradi)
5725
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
5727
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
5728
parameter which will provide String("foo") to the command as its stdin.
5735
* .bzrignore is excluded from exports, on the grounds that it's a bzr
5736
internal-use file and may not be wanted. (Jamie Wilkinson)
5738
* The "bzr directories" command were removed in favor of the new
5739
--kind option to the "bzr inventory" command. To list all
5740
versioned directories, now use "bzr inventory --kind directory".
5743
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
5744
by default. (John Arbash Meinel)
5746
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
5747
environment variable. Now the path for it is searched in ``BZR_HOME``,
5748
then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
5749
(usually points to ``C:\Documents and Settings\User Name\Application Data``),
5750
``HOME``. (John Arbash Meinel)
5752
* Plugins with the same name in different directories in the bzr plugin
5753
path are no longer loaded: only the first successfully loaded one is
5754
used. (Robert Collins)
5756
* Use systems' external ssh command to open connections if possible.
5757
This gives better integration with user settings such as ProxyCommand.
5760
* Permissions on files underneath .bzr/ are inherited from the .bzr
5761
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
5762
will mean that future file will be created with group write permissions.
5764
* configure.in and config.guess are no longer in the builtin default
5767
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
5768
files. (John Arbash Meinel, Martin Pool)
5772
* "bzr INIT dir" now initializes the specified directory, and creates
5773
it if it does not exist. (John Arbash Meinel)
5775
* New remerge command (Aaron Bentley)
5777
* Better zsh completion script. (Steve Borho)
5779
* 'bzr diff' now returns 1 when there are changes in the working
5780
tree. (Robert Collins)
5782
* 'bzr push' now exists and can push changes to a remote location.
5783
This uses the transport infrastructure, and can store the remote
5784
location in the ~/.bazaar/branches.conf configuration file.
5787
* Test directories are only kept if the test fails and the user requests
5790
* Tweaks to short log printing
5792
* Added branch nicks, new nick command, printing them in log output.
5795
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
5796
occurs. (Martin Pool)
5798
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
5799
the same as Subversion. (Martin Pool)
5801
* New ftp transport support (on ftplib), for ftp:// and aftp://
5802
URLs. (Daniel Silverstone)
5804
* Commit editor temporary files now start with ``bzr_log.``, to allow
5805
text editors to match the file name and set up appropriate modes or
5806
settings. (Magnus Therning)
5808
* Improved performance when integrating changes from a remote weave.
5809
(Goffredo Baroncelli)
5811
* Sftp will attempt to cache the connection, so it is more likely that
5812
a connection will be reused, rather than requiring multiple password
5815
* bzr revno now takes an optional argument indicating the branch whose
5816
revno should be printed. (Michael Ellerman)
5818
* bzr cat defaults to printing the last version of the file.
5819
(Matthieu Moy, #3632)
5821
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
5822
profiler. (Denys Duchier)
5824
* Faster commits by reading only the headers of affected weave files.
5827
* 'bzr add' now takes a --dry-run parameter which shows you what would be
5828
added, but doesn't actually add anything. (Michael Ellerman)
5830
* 'bzr add' now lists how many files were ignored per glob. add --verbose
5831
lists the specific files. (Aaron Bentley)
5833
* 'bzr missing' now supports displaying changes in diverged trees and can
5834
be limited to show what either end of the comparison is missing.
5835
(Aaron Bently, with a little prompting from Daniel Silverstone)
5839
* SFTP can walk up to the root path without index errors. (Robert Collins)
5841
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
5843
* Error when run with -OO
5845
* Fix bug in reporting http errors that don't have an http error code.
5848
* Handle more cases of pipe errors in display commands
5850
* Change status to 3 for all errors
5852
* Files that are added and unlinked before committing are completely
5853
ignored by diff and status
5855
* Stores with some compressed texts and some uncompressed texts are now
5856
able to be used. (John A Meinel)
5858
* Fix for bzr pull failing sometimes under windows
5860
* Fix for sftp transport under windows when using interactive auth
5862
* Show files which are both renamed and modified as such in 'bzr
5863
status' output. (Daniel Silverstone, #4503)
5865
* Make annotate cope better with revisions committed without a valid
5866
email address. (Marien Zwart)
5868
* Fix representation of tab characters in commit messages.
5871
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
5872
now parsed properly under Windows. (Alexander Belchenko)
5874
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
5876
* Keep a cached copy of the basis inventory to speed up operations
5877
that need to refer to it. (Johan Rydberg, Martin Pool)
5879
* Fix bugs in bzr status display of non-ascii characters.
5882
* Remove Makefile.in from default ignore list.
5883
(Tollef Fog Heen, Martin Pool, #6413)
5885
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
5889
* Fix selftest asking for passwords when there are no SFTP keys.
5890
(Robey Pointer, Jelmer Vernooij)
5892
* Fix selftest run with 'python -O'. (Martin Pool)
5894
* Fix HTTP tests under Windows. (John Arbash Meinel)
5896
* Make tests work even if HOME is not set (Aaron Bentley)
5898
* Updated ``build_tree`` to use fixed line-endings for tests which read
5899
the file cotents and compare. Make some tests use this to pass under
5900
Windows. (John Arbash Meinel)
5902
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
5904
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
5905
(John Arbash Meinel)
5907
* Use terminal width to align verbose test output. (Martin Pool)
5909
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
5910
If adding a new test script please add that to
5911
``bzrlib.tests.blackbox.__init__``. (Robert Collins)
5913
* Much better error message if one of the test suites can't be
5914
imported. (Martin Pool)
5916
* Make check now runs the test suite twice - once with the default locale,
5917
and once with all locales forced to C, to expose bugs. This is not
5918
trivially done within python, so for now its only triggered by running
5919
Make check. Integrators and packagers who wish to check for full
5920
platform support should run 'make check' to test the source.
5923
* Tests can now run TestSkipped if they can't execute for any reason.
5924
(Martin Pool) (NB: TestSkipped should only be raised for correctable
5925
reasons - see the wiki spec ImprovingBzrTestSuite).
5927
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
5928
paths for the transport tests. Introduce blackbox remote sftp tests that
5929
test the same permutations. (Robert Collins, Robey Pointer)
5931
* Transport implementation tests are now independent of the local file
5932
system, which allows tests for esoteric transports, and for features
5933
not available in the local file system. They also repeat for variations
5934
on the URL scheme that can introduce issues in the transport code,
5935
see bzrlib.transport.TransportTestProviderAdapter() for this.
5938
* ``TestCase.build_tree`` uses the transport interface to build trees,
5939
pass in a transport parameter to give it an existing connection.
5944
* WorkingTree.pull has been split across Branch and WorkingTree,
5945
to allow Branch only pulls. (Robert Collins)
5947
* ``commands.display_command`` now returns the result of the decorated
5948
function. (Robert Collins)
5950
* LocationConfig now has a ``set_user_option(key, value)`` call to save
5951
a setting in its matching location section (a new one is created
5952
if needed). (Robert Collins)
5954
* Branch has two new methods, ``get_push_location`` and
5955
``set_push_location`` to respectively, get and set the push location.
5958
* ``commands.register_command`` now takes an optional flag to signal that
5959
the registrant is planning to decorate an existing command. When
5960
given multiple plugins registering a command is not an error, and
5961
the original command class (whether built in or a plugin based one) is
5962
returned to the caller. There is a new error 'MustUseDecorated' for
5963
signalling when a wrapping command should switch to the original
5964
version. (Robert Collins)
5966
* Some option parsing errors will raise 'BzrOptionError', allowing
5967
granular detection for decorating commands. (Robert Collins).
5969
* ``Branch.read_working_inventory`` has moved to
5970
``WorkingTree.read_working_inventory``. This necessitated changes to
5971
``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
5972
WorkingTree as well. To make it clear that a WorkingTree cannot always
5973
be obtained ``Branch.working_tree()`` will raise
5974
``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
5976
* All pending merges operations from Branch are now on WorkingTree.
5979
* The follow operations from Branch have moved to WorkingTree::
5989
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
5991
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
5993
* Rename selftests to ``bzrlib.tests.test_foo``. (John A Meinel, Martin
5996
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
5997
query method. (Robert Collins)
5999
* New options to read only the table-of-contents of a weave.
6002
* Raise NoSuchFile when someone tries to add a non-existant file.
6005
* Simplify handling of DivergedBranches in ``cmd_pull()``.
6008
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
6009
is exposed as ``Branch().control_files``. Also this has been altered with the
6010
controlfile pre/suffix replaced by simple method names like 'get' and
6011
'put'. (Aaron Bentley, Robert Collins).
6013
* Deprecated functions and methods can now be marked as such using the
6014
``bzrlib.symbol_versioning`` module. Marked method have their docstring
6015
updated and will issue a DeprecationWarning using the warnings module
6016
when they are used. (Robert Collins)
6018
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
6019
for functions that need unicode strings. (Robert Collins)
6026
* pull now takes --verbose to show you what revisions are added or removed
6029
* merge now takes a --show-base option to include the base text in
6033
* The config files are now read using ConfigObj, so '=' should be used as
6034
a separator, not ':'.
6037
* New 'bzr commit --strict' option refuses to commit if there are
6038
any unknown files in the tree. To commit, make sure all files are
6039
either ignored, added, or deleted. (Michael Ellerman)
6041
* The config directory is now ~/.bazaar, and there is a single file
6042
~/.bazaar/bazaar.conf storing email, editor and other preferences.
6045
* 'bzr add' no longer takes a --verbose option, and a --quiet option
6046
has been added that suppresses all output.
6048
* Improved zsh completion support in contrib/zsh, from Clint
6051
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
6052
Goffredo Baroncelli.
6054
* 'bzr check' now accepts -v for verbose reporting, and checks for
6055
ghosts in the branch. (Robert Collins)
6057
* New command 're-sign' which will regenerate the gpg signature for
6058
a revision. (Robert Collins)
6060
* If you set ``check_signatures=require`` for a path in
6061
``~/.bazaar/branches.conf`` then bzr will invoke your
6062
``gpg_signing_command`` (defaults to gpg) and record a digital signature
6063
of your commit. (Robert Collins)
6065
* New sftp transport, based on Paramiko. (Robey Pointer)
6067
* 'bzr pull' now accepts '--clobber' which will discard local changes
6068
and make this branch identical to the source branch. (Robert Collins)
6070
* Just give a quieter warning if a plugin can't be loaded, and
6071
put the details in .bzr.log. (Martin Pool)
6073
* 'bzr branch' will now set the branch-name to the last component of the
6074
output directory, if one was supplied.
6076
* If the option ``post_commit`` is set to one (or more) python function
6077
names (must be in the bzrlib namespace), then they will be invoked
6078
after the commit has completed, with the branch and ``revision_id`` as
6079
parameters. (Robert Collins)
6081
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
6083
* --merge-type weave is now supported for file contents. Tree-shape
6084
changes are still three-way based. (Martin Pool, Aaron Bentley)
6086
* 'bzr check' allows the first revision on revision-history to have
6087
parents - something that is expected for cheap checkouts, and occurs
6088
when conversions from baz do not have all history. (Robert Collins).
6090
* 'bzr merge' can now graft unrelated trees together, if your specify
6091
0 as a base. (Aaron Bentley)
6093
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
6096
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
6098
* 'bzr merge --reprocess' minimizes conflicts
6102
* The 'bzr selftest --pattern' option for has been removed, now
6103
test specifiers on the command line can be simple strings, or
6104
regexps, or both. (Robert Collins)
6106
* Passing -v to selftest will now show the time each test took to
6107
complete, which will aid in analysing performance regressions and
6108
related questions. (Robert Collins)
6110
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
6111
is given. (Martin Pool)
6113
* There is a new method for TestCaseInTempDir, assertFileEqual, which
6114
will check that a given content is equal to the content of the named
6115
file. (Robert Collins)
6117
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
6122
* New 'testament' command and concept for making gpg-signatures
6123
of revisions that are not tied to a particular internal
6124
representation. (Martin Pool).
6126
* Per-revision properties ('revprops') as key-value associated
6127
strings on each revision created when the revision is committed.
6128
Intended mainly for the use of external tools. (Martin Pool).
6130
* Config options have moved from bzrlib.osutils to bzrlib.config.
6133
* Improved command line option definitions allowing explanations
6134
for individual options, among other things. Contributed by
6137
* Config options have moved from bzrlib.osutils to bzrlib.config.
6138
Configuration is now done via the config.Config interface:
6139
Depending on whether you have a Branch, a Location or no information
6140
available, construct a ``*Config``, and use its ``signature_checking``,
6141
``username`` and ``user_email`` methods. (Robert Collins)
6143
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
6144
they are made available for other plugins to use. You should not
6145
import other plugins during the ``__init__`` of your plugin though, as
6146
no ordering is guaranteed, and the plugins directory is not on the
6147
python path. (Robert Collins)
6149
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
6150
no longer takes an inventory, rather it takes an option branch
6151
parameter, and if None is given will open the branch at basedir
6152
implicitly. (Robert Collins)
6154
* Cleaner exception structure and error reporting. Suggested by
6155
Scott James Remnant. (Martin Pool)
6157
* Branch.remove has been moved to WorkingTree, which has also gained
6158
``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
6161
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
6162
added to the branch module. Use these to cause a function to run in a
6163
read or write lock respectively. (Robert Collins)
6165
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
6166
which allows direct access to the common case of 'get me this file
6167
from its branch'. (Robert Collins)
6169
* Transports can register using ``register_lazy_transport``, and they
6170
will be loaded when first used. (Martin Pool)
6172
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
6173
A new option to WorkingTree.pull has been added, clobber, which will
6174
ignore diverged history and pull anyway.
6177
* config.Config has a ``get_user_option`` call that accepts an option name.
6178
This will be looked up in branches.conf and bazaar.conf as normal.
6179
It is intended that this be used by plugins to support options -
6180
options of built in programs should have specific methods on the config.
6183
* ``merge.merge_inner`` now has tempdir as an optional parameter.
6186
* Tree.kind is not recorded at the top level of the hierarchy, as it was
6187
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
6190
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
6191
doing what it was intended to. See ``WorkingTree.__init__`` for a comment
6192
about future directions. (Robert Collins/Martin Pool)
6194
* bzrlib.transport.http has been modified so that only 404 urllib errors
6195
are returned as NoSuchFile. Other exceptions will propogate as normal.
6196
This allows debuging of actual errors. (Robert Collins)
6198
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
6199
to apis like 'put', 'get' and 'has'. This is to provide consistent
6200
behaviour - it operates on url's only. (Robert Collins)
6202
* Transports can register using ``register_lazy_transport``, and they
6203
will be loaded when first used. (Martin Pool)
6205
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
6206
is called by ``merge_inner``. This is so that the conflict count can be
6207
retrieved (and potentially manipulated) before returning to the caller
6208
of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
6209
caller. (Robert Collins)
6211
* ``revision.revision_graph`` can handle having only partial history for
6212
a revision - that is no revisions in the graph with no parents.
6215
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
6216
produce a branch and a list of paths, relative to that branch
6219
* New TestCase.addCleanup facility.
6221
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
6222
which can be used by programs importing bzrlib.
6226
* Better handling of branches in directories with non-ascii names.
6227
(Joel Rosdahl, Panagiotis Papadakos)
6229
* Upgrades of trees with no commits will not fail due to accessing
6230
[-1] in the revision-history. (Andres Salomon)
6233
bzr 0.1.1 2005-10-12
6234
--------------------
6238
* Fix problem in pulling over http from machines that do not
6239
allow directories to be listed.
6241
* Avoid harmless warning about invalid hash cache after
6242
upgrading branch format.
6246
* Avoid some unnecessary http operations in branch and pull.
6254
* 'bzr branch' over http initially gives a very high estimate
6255
of completion time but it should fall as the first few
6256
revisions are pulled in. branch is still slow on
6257
high-latency connections.
6261
* bzr-man.py has been updated to work again. Contributed by
6264
* Locking is now done with fcntl.lockf which works with NFS
6265
file systems. Contributed by Harald Meland.
6267
* When a merge encounters a file that has been deleted on
6268
one side and modified on the other, the old contents are
6269
written out to foo.BASE and foo.SIDE, where SIDE is this
6270
or OTHER. Contributed by Aaron Bentley.
6272
* Export was choosing incorrect file paths for the content of
6273
the tarball, this has been fixed by Aaron Bentley.
6275
* Commit will no longer commit without a log message, an
6276
error is returned instead. Contributed by Jelmer Vernooij.
6278
* If you commit a specific file in a sub directory, any of its
6279
parent directories that are added but not listed will be
6280
automatically included. Suggested by Michael Ellerman.
6282
* bzr commit and upgrade did not correctly record new revisions
6283
for files with only a change to their executable status.
6284
bzr will correct this when it encounters it. Fixed by
6287
* HTTP tests now force off the use of ``http_proxy`` for the duration.
6288
Contributed by Gustavo Niemeyer.
6290
* Fix problems in merging weave-based branches that have
6291
different partial views of history.
6293
* Symlink support: working with symlinks when not in the root of a
6294
bzr tree was broken, patch from Scott James Remnant.
6298
* 'branch' now accepts a --basis parameter which will take advantage
6299
of local history when making a new branch. This allows faster
6300
branching of remote branches. Contributed by Aaron Bentley.
6302
* New tree format based on weave files, called version 5.
6303
Existing branches can be upgraded to this format using
6306
* Symlinks are now versionable. Initial patch by
6307
Erik Toubro Nielsen, updated to head by Robert Collins.
6309
* Executable bits are tracked on files. Patch from Gustavo
6312
* 'bzr status' now shows unknown files inside a selected directory.
6313
Patch from Heikki Paajanen.
6315
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
6316
and 'resolve' have needed added, which list and remove those
6317
merge conflicts respectively. A conflicted tree cannot be committed
6318
in. Contributed by Aaron Bentley.
6320
* 'rm' is now an alias for 'remove'.
6322
* Stores now split out their content in a single byte prefixed hash,
6323
dropping the density of files per directory by 256. Contributed by
6326
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
6327
Contributed by Robert Collins.
6329
* 'bzr log' with the default formatter will show merged revisions,
6330
indented to the right. Initial implementation contributed by Gustavo
6331
Niemeyer, made incremental by Robert Collins.
6336
* Test case failures have the exception printed after the log
6337
for your viewing pleasure.
6339
* InventoryEntry is now an abstract base class, use one of the
6340
concrete InventoryDirectory etc classes instead.
6342
* Branch raises an UnsupportedFormatError when it detects a
6343
bzr branch it cannot understand. This allows for precise
6344
handling of such circumstances.
6346
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
6347
list of their ids and ``parent_sha1s`` is a list of their corresponding
6348
sha1s (for old branches only at the moment.)
6350
* New method-object style interface for Commit() and Fetch().
6352
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
6353
we call them revisions not patches.
6355
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``. The destination
6356
directory is created if it doesn't exist.
6358
* Inventories now identify the files which were present by
6359
giving the revision *of that file*.
6361
* Inventory and Revision XML contains a version identifier.
6362
This must be consistent with the overall branch version
6363
but allows for more flexibility in future upgrades.
6367
* Removed testsweet module so that tests can be run after
6368
bzr installed by 'bzr selftest'.
6370
* 'bzr selftest' command-line arguments can now be partial ids
6371
of tests to run, e.g. ``bzr selftest test_weave``
6374
bzr 0.0.9 2005-09-23
6375
--------------------
6379
* Fixed "branch -r" option.
6381
* Fix remote access to branches containing non-compressed history.
6384
* Better reliability of http server tests. (John Arbash-Meinel)
6386
* Merge graph maximum distance calculation fix. (Aaron Bentley)
6388
* Various minor bug in windows support have been fixed, largely in the
6389
test suite. Contributed by Alexander Belchenko.
6393
* Status now accepts a -r argument to give status between chosen
6394
revisions. Contributed by Heikki Paajanen.
6396
* Revision arguments no longer use +/-/= to control ranges, instead
6397
there is a 'before' namespace, which limits the successive namespace.
6398
For example '$ bzr log -r date:yesterday..before:date:today' will
6399
select everything from yesterday and before today. Contributed by
6402
* There is now a bzr.bat file created by distutils when building on
6403
Windows. Contributed by Alexander Belchenko.
6407
* Removed uuid() as it was unused.
6409
* Improved 'fetch' code for pulling revisions from one branch into
6410
another (used by pull, merged, etc.)
6413
bzr 0.0.8 2005-09-20
6414
--------------------
6418
* Adding a file whose parent directory is not versioned will
6419
implicitly add the parent, and so on up to the root. This means
6420
you should never need to explictly add a directory, they'll just
6421
get added when you add a file in the directory. Contributed by
6424
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
6427
* If you set ``BZR_EDITOR`` in the environment, it is checked in
6428
preference to EDITOR and the config file for the interactive commit
6429
editing program. Related to this is a bugfix where a missing program
6430
set in EDITOR would cause editing to fail, now the fallback program
6431
for the operating system is still tried.
6433
* Files that are not directories/symlinks/regular files will no longer
6434
cause bzr to fail, it will just ignore them by default. You cannot add
6435
them to the tree though - they are not versionable.
6440
* Refactor xml packing/unpacking.
6444
* Fixed 'bzr mv' by Ollie Rutherfurd.
6446
* Fixed strange error when trying to access a nonexistent http
6449
* Make sure that the hashcache gets written out if it can't be
6455
* Various Windows fixes from Ollie Rutherfurd.
6457
* Quieten warnings about locking; patch from Matt Lavin.
6460
bzr-0.0.7 2005-09-02
6461
--------------------
6465
* ``bzr shell-complete`` command contributed by Clint Adams to
6466
help with intelligent shell completion.
6468
* New expert command ``bzr find-merge-base`` for debugging merges.
6473
* Much better merge support.
6475
* merge3 conflicts are now reported with markers like '<<<<<<<'
6476
(seven characters) which is the same as CVS and pleases things
6482
* ``bzr upgrade`` no longer fails when trying to fix trees that
6483
mention revisions that are not present.
6485
* Fixed bugs in listing plugins from ``bzr plugins``.
6487
* Fix case of $EDITOR containing options for the editor.
6489
* Fix log -r refusing to show the last revision.
6490
(Patch from Goffredo Baroncelli.)
6495
* ``bzr log --show-ids`` shows the revision ids of all parents.
6497
* Externally provided commands on your $BZRPATH no longer need
6498
to recognize --bzr-usage to work properly, and can just handle
6504
* Changed trace messages to go through the standard logging
6505
framework, so that they can more easily be redirected by
6510
bzr-0.0.6 2005-08-18
6511
--------------------
6515
* Python plugins, automatically loaded from the directories on
6516
``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
6518
* New 'bzr mkdir' command.
6520
* Commit mesage is fetched from an editor if not given on the
6521
command line; patch from Torsten Marek.
6523
* ``bzr log -m FOO`` displays commits whose message matches regexp
6526
* ``bzr add`` with no arguments adds everything under the current directory.
6528
* ``bzr mv`` does move or rename depending on its arguments, like
6531
* ``bzr missing`` command shows a summary of the differences
6532
between two trees. (Merged from John Arbash-Meinel.)
6534
* An email address for commits to a particular tree can be
6535
specified by putting it into .bzr/email within a branch. (Based
6536
on a patch from Heikki Paajanen.)
6541
* Faster working tree operations.
6546
* 3rd-party modules shipped with bzr are copied within the bzrlib
6547
python package, so that they can be installed by the setup
6548
script without clashing with anything already existing on the
6549
system. (Contributed by Gustavo Niemeyer.)
6551
* Moved plugins directory to bzrlib/, so that there's a standard
6552
plugin directory which is not only installed with bzr itself but
6553
is also available when using bzr from the development tree.
6554
``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
6555
standard plugins directory.
6557
* When exporting to a tarball with ``bzr export --format tgz``, put
6558
everything under a top directory rather than dumping it into the
6559
current directory. This can be overridden with the ``--root``
6560
option. Patch from William Dodé and John Meinel.
6562
* New ``bzr upgrade`` command to upgrade the format of a branch,
6563
replacing ``bzr check --update``.
6565
* Files within store directories are no longer marked readonly on
6568
* Changed ``bzr log`` output to a more compact form suggested by
6569
John A Meinel. Old format is available with the ``--long`` or
6570
``-l`` option, patched by William Dodé.
6572
* By default the commit command refuses to record a revision with
6573
no changes unless the ``--unchanged`` option is given.
6575
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
6576
line options must come before the command name because they
6577
affect what commands are available; all other options must come
6578
after the command name because their interpretation depends on
6581
* ``branch`` and ``clone`` added as aliases for ``branch``.
6583
* Default log format is back to the long format; the compact one
6584
is available with ``--short``.
6589
* Fix bugs in committing only selected files or within a subdirectory.
6592
bzr-0.0.5 2005-06-15
6593
---------------------
6597
* ``bzr`` with no command now shows help rather than giving an
6598
error. Suggested by Michael Ellerman.
6600
* ``bzr status`` output format changed, because svn-style output
6601
doesn't really match the model of bzr. Now files are grouped by
6602
status and can be shown with their IDs. ``bzr status --all``
6603
shows all versioned files and unknown files but not ignored files.
6605
* ``bzr log`` runs from most-recent to least-recent, the reverse
6606
of the previous order. The previous behaviour can be obtained
6607
with the ``--forward`` option.
6609
* ``bzr inventory`` by default shows only filenames, and also ids
6610
if ``--show-ids`` is given, in which case the id is the second
6616
* New 'bzr whoami --email' option shows only the email component
6617
of the user identification, from Jo Vermeulen.
6619
* New ``bzr ignore PATTERN`` command.
6621
* Nicer error message for broken pipe, interrupt and similar
6622
conditions that don't indicate an internal error.
6624
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
6626
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
6627
either read or write mode.
6629
* New option ``bzr log --show-ids`` shows revision and file ids.
6631
* New usage ``bzr log FILENAME`` shows only revisions that
6634
* Changed format for describing changes in ``bzr log -v``.
6636
* New option ``bzr commit --file`` to take a message from a file,
6637
suggested by LarstiQ.
6639
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
6640
Oler. File may be in a branch other than the working directory.
6642
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
6645
* Commands can now be defined by external programs or scripts
6646
in a directory on $BZRPATH.
6648
* New "stat cache" avoids reading the contents of files if they
6649
haven't changed since the previous time.
6651
* If the Python interpreter is too old, try to find a better one
6652
or give an error. Based on a patch from Fredrik Lundh.
6654
* New optional parameter ``bzr info [BRANCH]``.
6656
* New form ``bzr commit SELECTED`` to commit only selected files.
6658
* New form ``bzr log -r FROM:TO`` shows changes in selected
6659
range; contributed by John A Meinel.
6661
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
6662
options through to an external GNU diff.
6664
* New option ``bzr add --no-recurse`` to add a directory but not
6667
* ``bzr --version`` now shows more information if bzr is being run
6673
* Fixed diff format so that added and removed files will be
6674
handled properly by patch. Fix from Lalo Martins.
6676
* Various fixes for files whose names contain spaces or other
6682
* Converted black-box test suites from Bourne shell into Python;
6683
now run using ``./testbzr``. Various structural improvements to
6686
* testbzr by default runs the version of bzr found in the same
6687
directory as the tests, or the one given as the first parameter.
6689
* testbzr also runs the internal tests, so the only command
6690
required to check is just ``./testbzr``.
6692
* testbzr requires python2.4, but can be used to test bzr running
6693
under a different version.
6695
* Tests added for many other changes in this release.
6700
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
6702
* Refactor command functions into Command objects based on HCT by
6703
Scott James Remnant.
6705
* Better help messages for many commands.
6707
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
6708
this is called trace messages are just discarded.
6710
* New internal function ``find_touching_revisions()`` and hidden
6711
command touching-revisions trace the changes to a given file.
6713
* Simpler and faster ``compare_inventories()`` function.
6715
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
6717
* New AtomicFile class.
6719
* New developer commands ``added``, ``modified``.
6724
* Cope on Windows on python2.3 by using the weaker random seed.
6725
2.4 is now only recommended.
6728
bzr-0.0.4 2005-04-22
6729
---------------------
6733
* 'bzr diff' optionally takes a list of files to diff. Still a bit
6734
basic. Patch from QuantumG.
6736
* More default ignore patterns.
6738
* New 'bzr log --verbose' shows a list of files changed in the
6739
changeset. Patch from Sebastian Cote.
6741
* Roll over ~/.bzr.log if it gets too large.
6743
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
6746
* New 'bzr help commands' based on a patch from Denys Duchier.
6751
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
6752
or $EMAIL. All are decoded by the locale preferred encoding.
6753
If none of these are present user@hostname is used. The host's
6754
fully-qualified name is not used because that tends to fail when
6755
there are DNS problems.
6757
* New 'bzr whoami' command instead of username user-email.
6762
* Make commit safe for hardlinked bzr trees.
6764
* Some Unicode/locale fixes.
6766
* Partial workaround for ``difflib.unified_diff`` not handling
6767
trailing newlines properly.
6772
* Allow docstrings for help to be in PEP0257 format. Patch from
6775
* More tests in test.sh.
6777
* Write profile data to a temporary file not into working
6778
directory and delete it when done.
6780
* Smaller .bzr.log with process ids.
6785
* Fix opening of ~/.bzr.log on Windows. Patch from Andrew
6788
* Some improvements in handling paths on Windows, based on a patch
6792
bzr-0.0.3 2005-04-06
6793
---------------------
6797
* New "directories" internal command lists versioned directories
6800
* Can now say "bzr commit --help".
6802
* New "rename" command to rename one file to a different name
6805
* New "move" command to move one or more files into a different
6808
* New "renames" command lists files renamed since base revision.
6810
* New cat command contributed by janmar.
6814
* .bzr.log is placed in $HOME (not pwd) and is always written in
6815
UTF-8. (Probably not a completely good long-term solution, but
6820
* Workaround for difflib bug in Python 2.3 that causes an
6821
exception when comparing empty files. Reported by Erik Toubro
6826
* Refactored inventory storage to insert a root entry at the top.
6830
* Start of shell-based black-box testing in test.sh.
7583
:Released: 2007-10-29
7588
* ``bzr`` now returns exit code 4 if an internal error occurred, and
7589
3 if a normal error occurred. (Martin Pool)
7591
* ``pull``, ``merge`` and ``push`` will no longer silently correct some
7592
repository index errors that occured as a result of the Weave disk format.
7593
Instead the ``reconcile`` command needs to be run to correct those
7594
problems if they exist (and it has been able to fix most such problems
7595
since bzr 0.8). Some new problems have been identified during this release
7596
and you should run ``bzr check`` once on every repository to see if you
7597
need to reconcile. If you cannot ``pull`` or ``merge`` from a remote
7598
repository due to mismatched parent errors - a symptom of index errors -
7599
you should simply take a full copy of that remote repository to a clean
7600
directory outside any local repositories, then run reconcile on it, and
7601
finally pull from it locally. (And naturally email the repositories owner
7602
to ask them to upgrade and run reconcile).
7608
* New ``knitpack-experimental`` repository format. This is interoperable with
7609
the ``dirstate-tags`` format but uses a smarter storage design that greatly
7610
speeds up many operations, both local and remote. This new format can be
7611
used as an option to the ``init``, ``init-repository`` and ``upgrade``
7612
commands. (Robert Collins)
7614
* For users of bzr-svn (and those testing the prototype subtree support) that
7615
wish to try packs, a new ``knitpack-subtree-experimental`` format has also
7616
been added. This is interoperable with the ``dirstate-subtrees`` format.
7619
* New ``reconfigure`` command. (Aaron Bentley)
7621
* New ``revert --forget-merges`` command, which removes the record of a pending
7622
merge without affecting the working tree contents. (Martin Pool)
7624
* New ``bzr_remote_path`` configuration variable allows finer control of
7625
remote bzr locations than BZR_REMOTE_PATH environment variable.
7628
* New ``launchpad-login`` command to tell Bazaar your Launchpad
7629
user ID. This can then be used by other functions of the
7630
Launchpad plugin. (James Henstridge)
7635
* Commit in quiet mode is now slightly faster as the information to
7636
output is no longer calculated. (Ian Clatworthy)
7638
* Commit no longer checks for new text keys during insertion when the
7639
revision id was deterministically unique. (Robert Collins)
7641
* Committing a change which is not a merge and does not change the number of
7642
files in the tree is faster by utilising the data about whether files are
7643
changed to determine if the tree is unchanged rather than recalculating
7644
it at the end of the commit process. (Robert Collins)
7646
* Inventory serialisation no longer double-sha's the content.
7649
* Knit text reconstruction now avoids making copies of the lines list for
7650
interim texts when building a single text. The new ``apply_delta`` method
7651
on ``KnitContent`` aids this by allowing modification of the revision id
7652
such objects represent. (Robert Collins)
7654
* Pack indices are now partially parsed for specific key lookup using a
7655
bisection approach. (Robert Collins)
7657
* Partial commits are now approximately 40% faster by walking over the
7658
unselected current tree more efficiently. (Robert Collins)
7660
* XML inventory serialisation takes 20% less time while being stricter about
7661
the contents. (Robert Collins)
7663
* Graph ``heads()`` queries have been fixed to no longer access all history
7664
unnecessarily. (Robert Collins)
7669
* ``bzr+https://`` smart server across https now supported.
7670
(John Ferlito, Martin Pool, #128456)
7672
* Mutt is now a supported mail client; set ``mail_client=mutt`` in your
7673
bazaar.conf and ``send`` will use mutt. (Keir Mierle)
7675
* New option ``-c``/``--change`` for ``merge`` command for cherrypicking
7676
changes from one revision. (Alexander Belchenko, #141368)
7678
* Show encodings, locale and list of plugins in the traceback message.
7679
(Martin Pool, #63894)
7681
* Experimental directory formats can now be marked with
7682
``experimental = True`` during registration. (Ian Clatworthy)
7687
* New *Bazaar in Five Minutes* guide. (Matthew Revell)
7689
* The hooks reference documentation is now converted to html as expected.
7695
* Connection error reporting for the smart server has been fixed to
7696
display a user friendly message instead of a traceback.
7697
(Ian Clatworthy, #115601)
7699
* Make sure to use ``O_BINARY`` when opening files to check their
7700
sha1sum. (Alexander Belchenko, John Arbash Meinel, #153493)
7702
* Fix a problem with Win32 handling of the executable bit.
7703
(John Arbash Meinel, #149113)
7705
* ``bzr+ssh://`` and ``sftp://`` URLs that do not specify ports explicitly
7706
no longer assume that means port 22. This allows people using OpenSSH to
7707
override the default port in their ``~/.ssh/config`` if they wish. This
7708
fixes a bug introduced in bzr 0.91. (Andrew Bennetts, #146715)
7710
* Commands reporting exceptions can now be profiled and still have their
7711
data correctly dumped to a file. For example, a ``bzr commit`` with
7712
no changes still reports the operation as pointless but doing so no
7713
longer throws away the profiling data if this command is run with
7714
``--lsprof-file callgrind.out.ci`` say. (Ian Clatworthy)
7716
* Fallback to ftp when paramiko is not installed and sftp can't be used for
7717
``tests/commands`` so that the test suite is still usable without
7719
(Vincent Ladeuil, #59150)
7721
* Fix commit ordering in corner case. (Aaron Bentley, #94975)
7723
* Fix long standing bug in partial commit when there are renames
7724
left in tree. (Robert Collins, #140419)
7726
* Fix selftest semi-random noise during http related tests.
7727
(Vincent Ladeuil, #140614)
7729
* Fix typo in ftp.py making the reconnection fail on temporary errors.
7730
(Vincent Ladeuil, #154259)
7732
* Fix failing test by comparing real paths to cover the case where the TMPDIR
7733
contains a symbolic link.
7734
(Vincent Ladeuil, #141382).
7736
* Fix log against smart server branches that don't support tags.
7737
(James Westby, #140615)
7739
* Fix pycurl http implementation by defining error codes from
7740
pycurl instead of relying on an old curl definition.
7741
(Vincent Ladeuil, #147530)
7743
* Fix 'unprintable error' message when displaying BzrCheckError and
7744
some other exceptions on Python 2.5.
7745
(Martin Pool, #144633)
7747
* Fix ``Inventory.copy()`` and add test for it. (Jelmer Vernooij)
7749
* Handles default value for ListOption in cmd_commit.
7750
(Vincent Ladeuil, #140432)
7752
* HttpServer and FtpServer need to be closed properly or a listening socket
7754
(Vincent Ladeuil, #140055)
7756
* Monitor the .bzr directory created in the top level test
7757
directory to detect leaking tests.
7758
(Vincent Ladeuil, #147986)
7760
* The basename, not the full path, is now used when checking whether
7761
the profiling dump file begins with ``callgrind.out`` or not. This
7762
fixes a bug reported by Aaron Bentley on IRC. (Ian Clatworthy)
7764
* Trivial fix for invoking command ``reconfigure`` without arguments.
7767
* ``WorkingTree.rename_one`` will now raise an error if normalisation of the
7768
new path causes bzr to be unable to access the file. (Robert Collins)
7770
* Correctly detect a NoSuchFile when using a filezilla server. (Gary van der
7776
* ``bzrlib.index.GraphIndex`` now requires a size parameter to the
7777
constructor, for enabling bisection searches. (Robert Collins)
7779
* ``CommitBuilder.record_entry_contents`` now requires the root entry of a
7780
tree be supplied to it, previously failing to do so would trigger a
7781
deprecation warning. (Robert Collins)
7783
* ``KnitVersionedFile.add*`` will no longer cache added records even when
7784
enable_cache() has been called - the caching feature is now exclusively for
7785
reading existing data. (Robert Collins)
7787
* ``ReadOnlyLockError`` is deprecated; ``LockFailed`` is usually more
7788
appropriate. (Martin Pool)
7790
* Removed ``bzrlib.transport.TransportLogger`` - please see the new
7791
``trace+`` transport instead. (Robert Collins)
7793
* Removed previously deprecated varargs interface to ``TestCase.run_bzr`` and
7794
deprecated methods ``TestCase.capture`` and ``TestCase.run_bzr_captured``.
7797
* Removed previous deprecated ``basis_knit`` parameter to the
7798
``KnitVersionedFile`` constructor. (Robert Collins)
7800
* Special purpose method ``TestCase.run_bzr_decode`` is moved to the test_non_ascii
7801
class that needs it.
7804
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
7805
``KnitRepository`` by parameters to the constructor. (Robert Collins)
7807
* The ``VersionedFile`` interface now allows content checks to be bypassed
7808
by supplying check_content=False. This saves nearly 30% of the minimum
7809
cost to store a version of a file. (Robert Collins)
7811
* Tree's with bad state such as files with no length or sha will no longer
7812
be silently accepted by the repository XML serialiser. To serialise
7813
inventories without such data, pass working=True to write_inventory.
7816
* ``VersionedFile.fix_parents`` has been removed as a harmful API.
7817
``VersionedFile.join`` will no longer accept different parents on either
7818
side of a join - it will either ignore them, or error, depending on the
7819
implementation. See notes when upgrading for more information.
7825
* ``bzrlib.transport.Transport.put_file`` now returns the number of bytes
7826
put by the method call, to allow avoiding stat-after-write or
7827
housekeeping in callers. (Robert Collins)
7829
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
7830
mandatory attributes are present on serialisation and deserialisation.
7831
This fixes some holes in API usage and allows better separation between
7832
physical storage and object serialisation. (Robert Collins)
7834
* New class ``bzrlib.errors.InternalBzrError`` which is just a convenient
7835
shorthand for deriving from BzrError and setting internal_error = True.
7838
* New method ``bzrlib.mutabletree.update_to_one_parent_via_delta`` for
7839
moving the state of a parent tree to a new version via a delta rather than
7840
a complete replacement tree. (Robert Collins)
7842
* New method ``bzrlib.osutils.minimum_path_selection`` useful for removing
7843
duplication from user input, when a user mentions both a path and an item
7844
contained within that path. (Robert Collins)
7846
* New method ``bzrlib.repository.Repository.is_write_locked`` useful for
7847
determining if a repository is write locked. (Robert Collins)
7849
* New method on ``bzrlib.tree.Tree`` ``path_content_summary`` provides a
7850
tuple containing the key information about a path for commit processing
7851
to complete. (Robert Collins)
7853
* New method on xml serialisers, write_inventory_to_lines, which matches the
7854
API used by knits for adding content. (Robert Collins)
7856
* New module ``bzrlib.bisect_multi`` with generic multiple-bisection-at-once
7857
logic, currently only available for byte-based lookup
7858
(``bisect_multi_bytes``). (Robert Collins)
7860
* New helper ``bzrlib.tuned_gzip.bytes_to_gzip`` which takes a byte string
7861
and returns a gzipped version of the same. This is used to avoid a bunch
7862
of api friction during adding of knit hunks. (Robert Collins)
7864
* New parameter on ``bzrlib.transport.Transport.readv``
7865
``adjust_for_latency`` which changes readv from returning strictly the
7866
requested data to inserted return larger ranges and in forward read order
7867
to reduce the effect of network latency. (Robert Collins)
7869
* New parameter yield_parents on ``Inventory.iter_entries_by_dir`` which
7870
causes the parents of a selected id to be returned recursively, so all the
7871
paths from the root down to each element of selected_file_ids are
7872
returned. (Robert Collins)
7874
* Knit joining has been enhanced to support plain to annotated conversion
7875
and annotated to plain conversion. (Ian Clatworthy)
7877
* The CommitBuilder method ``record_entry_contents`` now returns summary
7878
information about the effect of the commit on the repository. This tuple
7879
contains an inventory delta item if the entry changed from the basis, and a
7880
boolean indicating whether a new file graph node was recorded.
7883
* The python path used in the Makefile can now be overridden.
7884
(Andrew Bennetts, Ian Clatworthy)
7889
* New transport implementation ``trace+`` which is useful for testing,
7890
logging activity taken to its _activity attribute. (Robert Collins)
7892
* When running bzr commands within the test suite, internal exceptions are
7893
not caught and reported in the usual way, but rather allowed to propagate
7894
up and be visible to the test suite. A new API ``run_bzr_catch_user_errors``
7895
makes this behavior available to other users.
7898
* New method ``TestCase.call_catch_warnings`` for testing methods that
7899
raises a Python warning. (Martin Pool)
7905
:Released: 2007-09-26
7910
* Print a warning instead of aborting the ``python setup.py install``
7911
process if building of a C extension is not possible.
7912
(Lukáš Lalinský, Alexander Belchenko)
7914
* Fix commit ordering in corner case (Aaron Bentley, #94975)
7916
* Fix ''bzr info bzr://host/'' and other operations on ''bzr://' URLs with
7917
an implicit port. We were incorrectly raising PathNotChild due to
7918
inconsistent treatment of the ''_port'' attribute on the Transport object.
7919
(Andrew Bennetts, #133965)
7921
* Make RemoteRepository.sprout cope gracefully with servers that don't
7922
support the ``Repository.tarball`` request.
7929
:Released: 2007-09-11
7931
* Replaced incorrect tarball for previous release; a debug statement was left
7932
in bzrlib/remote.py.
7938
:Released: 2007-09-11
7943
* The default branch and repository format has changed to
7944
``dirstate-tags``, so tag commands are active by default.
7945
This format is compatible with Bazaar 0.15 and later.
7946
This incidentally fixes bug #126141.
7949
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
7950
must now appear after the command name. Scripts doing things like
7951
``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
7957
* New option ``--author`` in ``bzr commit`` to specify the author of the
7958
change, if it's different from the committer. ``bzr log`` and
7959
``bzr annotate`` display the author instead of the committer.
7962
* In addition to global options and command specific options, a set of
7963
standard options are now supported. Standard options are legal for
7964
all commands. The initial set of standard options are:
7966
* ``--help`` or ``-h`` - display help message
7967
* ``--verbose`` or ``-v`` - display additional information
7968
* ``--quiet`` or ``-q`` - only output warnings and errors.
7970
Unlike global options, standard options can be used in aliases and
7971
may have command-specific help. (Ian Clatworthy)
7973
* Verbosity level processing has now been unified. If ``--verbose``
7974
or ``-v`` is specified on the command line multiple times, the
7975
verbosity level is made positive the first time then increased.
7976
If ``--quiet`` or ``-q`` is specified on the command line
7977
multiple times, the verbosity level is made negative the first
7978
time then decreased. To get the default verbosity level of zero,
7979
either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
7980
Note that most commands currently ignore the magnitude of the
7981
verbosity level but do respect *quiet vs normal vs verbose* when
7982
generating output. (Ian Clatworthy)
7984
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
7985
is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
7987
* New ``Repository.stream_knit_data_for_revisions`` request added to the
7988
network protocol for greatly reduced roundtrips when retrieving a set of
7989
revisions. (Andrew Bennetts)
7994
* ``bzr plugins`` now lists the version number for each plugin in square
7995
brackets after the path. (Robert Collins, #125421)
7997
* Pushing, pulling and branching branches with subtree references was not
7998
copying the subtree weave, preventing the file graph from being accessed
7999
and causing errors in commits in clones. (Robert Collins)
8001
* Suppress warning "integer argument expected, got float" from Paramiko,
8002
which sometimes caused false test failures. (Martin Pool)
8004
* Fix bug in bundle 4 that could cause attempts to write data to wrong
8005
versionedfile. (Aaron Bentley)
8007
* Diffs generated using "diff -p" no longer break the patch parser.
8010
* get_transport treats an empty possible_transports list the same as a non-
8011
empty one. (Aaron Bentley)
8013
* patch verification for merge directives is reactivated, and works with
8014
CRLF and CR files. (Aaron Bentley)
8016
* Accept ..\ as a path in revision specifiers. This fixes for example
8017
"-r branch:..\other-branch" on Windows. (Lukáš Lalinský)
8019
* ``BZR_PLUGIN_PATH`` may now contain trailing slashes.
8020
(Blake Winton, #129299)
8022
* man page no longer lists hidden options (#131667, Aaron Bentley)
8024
* ``uncommit --help`` now explains the -r option adequately. (Daniel
8027
* Error messages are now better formatted with parameters (such as
8028
filenames) quoted when necessary. This avoids confusion when directory
8029
names ending in a '.' at the end of messages were confused with a
8030
full stop that may or not have been there. (Daniel Watkins, #129791)
8032
* Fix ``status FILE -r X..Y``. (Lukáš Lalinský)
8034
* If a particular command is an alias, ``help`` will show the alias
8035
instead of claiming there is no help for said alias. (Daniel Watkins,
8038
* TreeTransform-based operations, like pull, merge, revert, and branch,
8039
now roll back if they encounter an error. (Aaron Bentley, #67699)
8041
* ``bzr commit`` now exits cleanly if a character unsupported by the
8042
current encoding is used in the commit message. (Daniel Watkins,
8045
* bzr send uses default values for ranges when only half of an elipsis
8046
is specified ("-r..5" or "-r5.."). (#61685, Aaron Bentley)
8048
* Avoid trouble when Windows ssh calls itself 'plink' but no plink
8049
binary is present. (Martin Albisetti, #107155)
8051
* ``bzr remove`` should remove clean subtrees. Now it will remove (without
8052
needing ``--force``) subtrees that contain no files with text changes or
8053
modified files. With ``--force`` it removes the subtree regardless of
8054
text changes or unknown files. Directories with renames in or out (but
8055
not changed otherwise) will now be removed without needing ``--force``.
8056
Unknown ignored files will be deleted without needing ``--force``.
8057
(Marius Kruger, #111665)
8059
* When two plugins conflict, the source of both the losing and now the
8060
winning definition is shown. (Konstantin Mikhaylov, #5454)
8062
* When committing to a branch, the location being committed to is
8063
displayed. (Daniel Watkins, #52479)
8065
* ``bzr --version`` takes care about encoding of stdout, especially
8066
when output is redirected. (Alexander Belchenko, #131100)
8068
* Prompt for an ftp password if none is provided.
8069
(Vincent Ladeuil, #137044)
8071
* Reuse bound branch associated transport to avoid multiple
8073
(Vincent Ladeuil, #128076, #131396)
8075
* Overwrite conflicting tags by ``push`` and ``pull`` if the
8076
``--overwrite`` option is specified. (Lukáš Lalinský, #93947)
8078
* In checkouts, tags are copied into the master branch when created,
8079
changed or deleted, and are copied into the checkout when it is
8080
updated. (Martin Pool, #93856, #93860)
8082
* Print a warning instead of aborting the ``python setup.py install``
8083
process if building of a C extension is not possible.
8084
(Lukáš Lalinský, Alexander Belchenko)
8089
* Add the option "--show-diff" to the commit command in order to display
8090
the diff during the commit log creation. (Goffredo Baroncelli)
8092
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
8095
* ``pull -v`` no longer includes deltas, making it much faster.
8098
* ``send`` now sends the directive as an attachment by default.
8099
(Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
8101
* Documentation updates (Martin Albisetti)
8103
* Help on debug flags is now included in ``help global-options``.
8104
(Daniel Watkins, #124853)
8106
* Parameters passed on the command line are checked to ensure they are
8107
supported by the encoding in use. (Daniel Watkins)
8109
* The compression used within the bzr repository has changed from zlib
8110
level 9 to the zlib default level. This improves commit performance with
8111
only a small increase in space used (and in some cases a reduction in
8112
space). (Robert Collins)
8114
* Initial commit no longer SHAs files twice and now reuses the path
8115
rather than looking it up again, making it faster.
8118
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
8119
changes in one revision. (Lukáš Lalinský)
8121
* If versioned files match a given ignore pattern, a warning is now
8122
given. (Daniel Watkins, #48623)
8124
* ``bzr status`` now has -S as a short name for --short and -V as a
8125
short name for --versioned. These have been added to assist users
8126
migrating from Subversion: ``bzr status -SV`` is now like
8127
``svn status -q``. (Daniel Watkins, #115990)
8129
* Added C implementation of ``PatienceSequenceMatcher``, which is about
8130
10x faster than the Python version. This speeds up commands that
8131
need file diffing, such as ``bzr commit`` or ``bzr diff``.
8134
* HACKING has been extended with a large section on core developer tasks.
8137
* Add ``branches`` and ``standalone-trees`` as online help topics and
8138
include them as Concepts within the User Reference.
8139
(Paul Moore, Ian Clatworthy)
8141
* ``check`` can detect versionedfile parent references that are
8142
inconsistent with revision and inventory info, and ``reconcile`` can fix
8143
them. These faulty references were generated by 0.8-era releases,
8144
so repositories which were manipulated by old bzrs should be
8145
checked, and possibly reconciled ASAP. (Aaron Bentley, Andrew Bennetts)
8150
* ``Branch.append_revision`` is removed altogether; please use
8151
``Branch.set_last_revision_info`` instead. (Martin Pool)
8153
* CommitBuilder now advertises itself as requiring the root entry to be
8154
supplied. This only affects foreign repository implementations which reuse
8155
CommitBuilder directly and have changed record_entry_contents to require
8156
that the root not be supplied. This should be precisely zero plugins
8157
affected. (Robert Collins)
8159
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
8160
its return value to include the sha1 and length of the inserted text. This
8161
allows the avoidance of double-sha1 calculations during commit.
8164
* ``Transport.should_cache`` has been removed. It was not called in the
8165
previous release. (Martin Pool)
8170
* Tests may now raise TestNotApplicable to indicate they shouldn't be
8171
run in a particular scenario. (Martin Pool)
8173
* New function multiply_tests_from_modules to give a simpler interface
8174
to test parameterization. (Martin Pool, Robert Collins)
8176
* ``Transport.should_cache`` has been removed. It was not called in the
8177
previous release. (Martin Pool)
8179
* NULL_REVISION is returned to indicate the null revision, not None.
8182
* Use UTF-8 encoded StringIO for log tests to avoid failures on
8183
non-ASCII committer names. (Lukáš Lalinský)
8188
* ``bzrlib.plugin.all_plugins`` has been deprecated in favour of
8189
``bzrlib.plugin.plugins()`` which returns PlugIn objects that provide
8190
useful functionality for determining the path of a plugin, its tests, and
8191
its version information. (Robert Collins)
8193
* Add the option user_encoding to the function 'show_diff_trees()'
8194
in order to move the user encoding at the UI level. (Goffredo Baroncelli)
8196
* Add the function make_commit_message_template_encoded() and the function
8197
edit_commit_message_encoded() which handle encoded strings.
8198
This is done in order to mix the commit messages (which is a unicode
8199
string), and the diff which is a raw string. (Goffredo Baroncelli)
8201
* CommitBuilder now defaults to using add_lines_with_ghosts, reducing
8202
overhead on non-weave repositories which don't require all parents to be
8203
present. (Robert Collins)
8205
* Deprecated method ``find_previous_heads`` on
8206
``bzrlib.inventory.InventoryEntry``. This has been superseded by the use
8207
of ``parent_candidates`` and a separate heads check via the repository
8208
API. (Robert Collins)
8210
* New trace function ``mutter_callsite`` will print out a subset of the
8211
stack to the log, which can be useful for gathering debug details.
8214
* ``bzrlib.pack.ContainerWriter`` now tracks how many records have been
8215
added via a public attribute records_written. (Robert Collins)
8217
* New method ``bzrlib.transport.Transport.get_recommended_page_size``.
8218
This provides a hint to users of transports as to the reasonable
8219
minimum data to read. In principle this can take latency and
8220
bandwidth into account on a per-connection basis, but for now it
8221
just has hard coded values based on the url. (e.g. http:// has a large
8222
page size, file:// has a small one.) (Robert Collins)
8224
* New method on ``bzrlib.transport.Transport`` ``open_write_stream`` allows
8225
incremental addition of data to a file without requiring that all the
8226
data be buffered in memory. (Robert Collins)
8228
* New methods on ``bzrlib.knit.KnitVersionedFile``:
8229
``get_data_stream(versions)``, ``insert_data_stream(stream)`` and
8230
``get_format_signature()``. These provide some infrastructure for
8231
efficiently streaming the knit data for a set of versions over the smart
8234
* Knits with no annotation cache still produce correct annotations.
8237
* Three new methods have been added to ``bzrlib.trace``:
8238
``set_verbosity_level``, ``get_verbosity_level`` and ``is_verbose``.
8239
``set_verbosity_level`` expects a numeric value: negative for quiet,
8240
zero for normal, positive for verbose. The size of the number can be
8241
used to determine just how quiet or verbose the application should be.
8242
The existing ``be_quiet`` and ``is_quiet`` routines have been
8243
integrated into this new scheme. (Ian Clatworthy)
8245
* Options can now be delcared with a ``custom_callback`` parameter. If
8246
set, this routine is called after the option is processed. This feature
8247
is now used by the standard options ``verbose`` and ``quiet`` so that
8248
setting one implicitly resets the other. (Ian Clatworthy)
8250
* Rather than declaring a new option from scratch in order to provide
8251
custom help, a centrally registered option can be decorated using the
8252
new ``bzrlib.Option.custom_help`` routine. In particular, this routine
8253
is useful when declaring better help for the ``verbose`` and ``quiet``
8254
standard options as the base definition of these is now more complex
8255
than before thanks to their use of a custom callback. (Ian Clatworthy)
8257
* Tree._iter_changes(specific_file=[]) now iterates through no files,
8258
instead of iterating through all files. None is used to iterate through
8259
all files. (Aaron Bentley)
8261
* WorkingTree.revert() now accepts None to revert all files. The use of
8262
[] to revert all files is deprecated. (Aaron Bentley)
8268
:Released: 2007-08-28
8273
* Documentation is now organized into multiple directories with a level
8274
added for different languages or locales. Added the Mini Tutorial
8275
and Quick Start Summary (en) documents from the Wiki, improving the
8276
content and readability of the former. Formatted NEWS as Release Notes
8277
complete with a Table of Conents, one heading per release. Moved the
8278
Developer Guide into the main document catalog and provided a link
8279
from the developer document catalog back to the main one.
8280
(Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
8286
* The static convenience method ``BzrDir.create_repository``
8287
is deprecated. Callers should instead create a ``BzrDir`` instance
8288
and call ``create_repository`` on that. (Martin Pool)
8294
:Released: 2007-08-14
8299
* ``bzr init`` should connect to the remote location one time only. We
8300
have been connecting several times because we forget to pass around the
8301
Transport object. This modifies ``BzrDir.create_branch_convenience``,
8302
so that we can give it the Transport we already have.
8303
(John Arbash Meinel, Vincent Ladeuil, #111702)
8305
* Get rid of sftp connection cache (get rid of the FTP one too).
8306
(Vincent Ladeuil, #43731)
8308
* bzr branch {local|remote} remote don't try to create a working tree
8310
(Vincent Ladeuil, #112173)
8312
* All identified multiple connections for a single bzr command have been
8313
fixed. See bzrlib/tests/commands directory.
8316
* ``bzr rm`` now does not insist on ``--force`` to delete files that
8317
have been renamed but not otherwise modified. (Marius Kruger,
8320
* ``bzr selftest --bench`` no longer emits deprecation warnings
8323
* ``bzr status`` now honours FILE parameters for conflict lists
8324
(Aaron Bentley, #127606)
8326
* ``bzr checkout`` now honours -r when reconstituting a working tree.
8327
It also honours -r 0. (Aaron Bentley, #127708)
8329
* ``bzr add *`` no more fails on Windows if working tree contains
8330
non-ascii file names. (Kuno Meyer, #127361)
8332
* allow ``easy_install bzr`` runs without fatal errors.
8333
(Alexander Belchenko, #125521)
8335
* Graph._filter_candidate_lca does not raise KeyError if a candidate
8336
is eliminated just before it would normally be examined. (Aaron Bentley)
8338
* SMTP connection failures produce a nice message, not a traceback.
8344
* Don't show "dots" progress indicators when run non-interactively, such
8345
as from cron. (Martin Pool)
8347
* ``info`` now formats locations more nicely and lists "submit" and
8348
"public" branches (Aaron Bentley)
8350
* New ``pack`` command that will trigger database compression within
8351
the repository (Robert Collins)
8353
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
8354
version is approximately 2-3x faster at parsing a ``.kndx`` file.
8355
Which yields a measurable improvement for commands which have to
8356
read from the repository, such as a 1s => 0.75s improvement in
8357
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
8359
* Merge is now faster. Depending on the scenario, it can be more than 2x
8360
faster. (Aaron Bentley)
8362
* Give a clearer warning, and allow ``python setup.py install`` to
8363
succeed even if pyrex is not available.
8364
(John Arbash Meinel)
8366
* ``DirState._read_dirblocks`` now has an optional Pyrex
8367
implementation. This improves the speed of any command that has to
8368
read the entire DirState. (``diff``, ``status``, etc, improve by
8370
``bisect_dirblocks`` has also been improved, which helps all
8371
``_get_entry`` type calls (whenever we are searching for a
8372
particular entry in the in-memory DirState).
8373
(John Arbash Meinel)
8375
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
8376
branch revision history for ui display unless -v is supplied.
8379
* ``bzr log -rA..B`` output shifted to the left margin if the log only
8380
contains merge revisions. (Kent Gibson)
8382
* The ``plugins`` command is now public with improved help.
8385
* New bundle and merge directive formats are faster to generate, and
8387
* Annotate merge now works when there are local changes. (Aaron Bentley)
8389
* Commit now only shows the progress in terms of directories instead of
8390
entries. (Ian Clatworthy)
8392
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
8393
times. This makes ``get_revision_graph`` 2x faster. (John Arbash
8396
* Fix ``VersionedFile.get_graph()`` to avoid using
8397
``set.difference_update(other)``, which has bad scaling when
8398
``other`` is large. This improves ``VF.get_graph([version_id])`` for
8399
a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
8401
* The ``--lsprof-file`` option now generates output for KCacheGrind if
8402
the file starts with ``callgrind.out``. This matches the default file
8403
filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
8405
* Fix ``bzr update`` to avoid an unnecessary
8406
``branch.get_master_branch`` call, which avoids 1 extra connection
8407
to the remote server. (Partial fix for #128076, John Arbash Meinel)
8409
* Log errors from the smart server in the trace file, to make debugging
8410
test failures (and live failures!) easier. (Andrew Bennetts)
8412
* The HTML version of the man page has been superceded by a more
8413
comprehensive manual called the Bazaar User Reference. This manual
8414
is completed generated from the online help topics. As part of this
8415
change, limited reStructuredText is now explicitly supported in help
8416
topics and command help with 'unnatural' markup being removed prior
8417
to display by the online help or inclusion in the man page.
8420
* HTML documentation now use files extension ``*.html``
8421
(Alexander Belchenko)
8423
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
8424
so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
8426
* ``bzr selftest --strict`` fails if there are any missing features or
8427
expected test failures. (Daniel Watkins, #111914)
8429
* Link to registration survey added to README. (Ian Clatworthy)
8431
* Windows standalone installer show link to registration survey
8432
when installation finished. (Alexander Belchenko)
8437
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
8438
Options are now required to provide a help string and it must
8439
comply with the style guide by being one or more sentences with an
8440
initial capital and final period. (Martin Pool)
8442
* KnitIndex.get_parents now returns tuples. (Robert Collins)
8444
* Ancient unused ``Repository.text_store`` attribute has been removed.
8447
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
8448
rather than just bytestrings, making it easier to represent multiple
8449
element names. As this interface was not used by any internal facilities
8450
since it was introduced in 0.18 no API compatibility is being preserved.
8451
The serialised form of these packs is identical with 0.18 when a single
8452
element tuple is in use. (Robert Collins)
8457
* merge now uses ``iter_changes`` to calculate changes, which makes room for
8458
future performance increases. It is also more consistent with other
8459
operations that perform comparisons, and reduces reliance on
8460
Tree.inventory. (Aaron Bentley)
8462
* Refactoring of transport classes connected to a remote server.
8463
ConnectedTransport is a new class that serves as a basis for all
8464
transports needing to connect to a remote server. transport.split_url
8465
have been deprecated, use the static method on the object instead. URL
8466
tests have been refactored too.
8469
* Better connection sharing for ConnectedTransport objects.
8470
transport.get_transport() now accepts a 'possible_transports' parameter.
8471
If a newly requested transport can share a connection with one of the
8475
* Most functions now accept ``bzrlib.revision.NULL_REVISION`` to indicate
8476
the null revision, and consider using ``None`` for this purpose
8477
deprecated. (Aaron Bentley)
8479
* New ``index`` module with abstract index functionality. This will be
8480
used during the planned changes in the repository layer. Currently the
8481
index layer provides a graph aware immutable index, a builder for the
8482
same index type to allow creating them, and finally a composer for
8483
such indices to allow the use of many indices in a single query. The
8484
index performance is not optimised, however the API is stable to allow
8485
development on top of the index. (Robert Collins)
8487
* ``bzrlib.dirstate.cmp_by_dirs`` can be used to compare two paths by
8488
their directory sections. This is equivalent to comparing
8489
``path.split('/')``, only without having to split the paths.
8490
This has a Pyrex implementation available.
8491
(John Arbash Meinel)
8493
* New transport decorator 'unlistable+' which disables the list_dir
8494
functionality for testing.
8496
* Deprecated ``change_entry`` in transform.py. (Ian Clatworthy)
8498
* RevisionTree.get_weave is now deprecated. Tree.plan_merge is now used
8499
for performing annotate-merge. (Aaron Bentley)
8501
* New EmailMessage class to create email messages. (Adeodato Simó)
8503
* Unused functions on the private interface KnitIndex have been removed.
8506
* New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
8507
of a ``index.GraphIndex``. (Robert Collins)
8509
* New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
8510
the parents of many knit nodes at once, reducing round trips to the
8511
underlying index. (Robert Collins)
8513
* Graph now has an is_ancestor method, various bits use it.
8516
* The ``-Dhpss`` flag now includes timing information. As well as
8517
logging when a new connection is opened. (John Arbash Meinel)
8519
* ``bzrlib.pack.ContainerWriter`` now returns an offset, length tuple to
8520
callers when inserting data, allowing generation of readv style access
8521
during pack creation, without needing a separate pass across the output
8522
pack to gather such details. (Robert Collins)
8524
* ``bzrlib.pack.make_readv_reader`` allows readv based access to pack
8525
files that are stored on a transport. (Robert Collins)
8527
* New ``Repository.has_same_location`` method that reports if two
8528
repository objects refer to the same repository (although with some risk
8529
of false negatives). (Andrew Bennetts)
8531
* InterTree.compare now passes require_versioned on correctly.
8534
* New methods on Repository - ``start_write_group``,
8535
``commit_write_group``, ``abort_write_group`` and ``is_in_write_group`` -
8536
which provide a clean hook point for transactional Repositories - ones
8537
where all the data for a fetch or commit needs to be made atomically
8538
available in one step. This allows the write lock to remain while making
8539
a series of data insertions. (e.g. data conversion). (Robert Collins)
8541
* In ``bzrlib.knit`` the internal interface has been altered to use
8542
3-tuples (index, pos, length) rather than two-tuples (pos, length) to
8543
describe where data in a knit is, allowing knits to be split into
8544
many files. (Robert Collins)
8546
* ``bzrlib.knit._KnitData`` split into cache management and physical access
8547
with two access classes - ``_PackAccess`` and ``_KnitAccess`` defined.
8548
The former provides access into a .pack file, and the latter provides the
8549
current production repository form of .knit files. (Robert Collins)
8554
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
8555
``--keep-output`` options, which are obsolete now that tests
8556
are done within directories in $TMPDIR. (Martin Pool)
8558
* The SSH_AUTH_SOCK environment variable is now reset to avoid
8559
interaction with any running ssh agents. (Jelmer Vernooij, #125955)
8561
* run_bzr_subprocess handles parameters the same way as run_bzr:
8562
either a string or a list of strings should be passed as the first
8563
parameter. Varargs-style parameters are deprecated. (Aaron Bentley)
8569
:Released: 2007-07-17
8574
* Fix 'bzr add' crash under Win32 (Kuno Meyer)
8580
:Released: 2007-07-10
8585
* Do not suppress pipe errors, etc. in non-display commands
8586
(Alexander Belchenko, #87178)
8588
* Display a useful error message when the user requests to annotate
8589
a file that is not present in the specified revision.
8590
(James Westby, #122656)
8592
* Commands that use status flags now have a reference to 'help
8593
status-flags'. (Daniel Watkins, #113436)
8595
* Work around python-2.4.1 inhability to correctly parse the
8596
authentication header.
8597
(Vincent Ladeuil, #121889)
8599
* Use exact encoding for merge directives. (Adeodato Simó, #120591)
8601
* Fix tempfile permissions error in smart server tar bundling under
8602
Windows. (Martin _, #119330)
8604
* Fix detection of directory entries in the inventory. (James Westby)
8606
* Fix handling of http code 400: Bad Request When issuing too many ranges.
8607
(Vincent Ladeuil, #115209)
8609
* Issue a CONNECT request when connecting to an https server
8610
via a proxy to enable SSL tunneling.
8611
(Vincent Ladeuil, #120678)
8613
* Fix ``bzr log -r`` to support selecting merge revisions, both
8614
individually and as part of revision ranges.
8615
(Kent Gibson, #4663)
8617
* Don't leave cruft behind when failing to acquire a lockdir.
8618
(Martin Pool, #109169)
8620
* Don't use the '-f' strace option during tests.
8621
(Vincent Ladeuil, #102019).
8623
* Warn when setting ``push_location`` to a value that will be masked by
8624
locations.conf. (Aaron Bentley, #122286)
8626
* Fix commit ordering in corner case (Aaron Bentley, #94975)
8628
* Make annotate behave in a non-ASCII world (Adeodato Simó).
8633
* The --lsprof-file option now dumps a text rendering of the profiling
8634
information if the filename ends in ".txt". It will also convert the
8635
profiling information to a format suitable for KCacheGrind if the
8636
output filename ends in ".callgrind". Fixes to the lsprofcalltree
8637
conversion process by Jean Paul Calderone and Itamar were also merged.
8638
See http://ddaa.net/blog/python/lsprof-calltree. (Ian Clatworthy)
8640
* ``info`` now defaults to non-verbose mode, displaying only paths and
8641
abbreviated format info. ``info -v`` displays all the information
8642
formerly displayed by ``info``. (Aaron Bentley, Adeodato Simó)
8644
* ``bzr missing`` now has better option names ``--this`` and ``--other``.
8647
* The internal ``weave-list`` command has become ``versionedfile-list``,
8648
and now lists knits as well as weaves. (Aaron Bentley)
8650
* Automatic merge base selection uses a faster algorithm that chooses
8651
better bases in criss-cross merge situations (Aaron Bentley)
8653
* Progress reporting in ``commit`` has been improved. The various logical
8654
stages are now reported on as follows, namely:
8656
* Collecting changes [Entry x/y] - Stage n/m
8657
* Saving data locally - Stage n/m
8658
* Uploading data to master branch - Stage n/m
8659
* Updating the working tree - Stage n/m
8660
* Running post commit hooks - Stage n/m
8662
If there is no master branch, the 3rd stage is omitted and the total
8663
number of stages is adjusted accordingly.
8665
Each hook that is run after commit is listed with a name (as hooks
8666
can be slow it is useful feedback).
8667
(Ian Clatworthy, Robert Collins)
8669
* Various operations that are now faster due to avoiding unnecessary
8670
topological sorts. (Aaron Bentley)
8672
* Make merge directives robust against broken bundles. (Aaron Bentley)
8674
* The lsprof filename note is emitted via trace.note(), not standard
8675
output. (Aaron Bentley)
8677
* ``bzrlib`` now exports explicit API compatibility information to assist
8678
library users and plugins. See the ``bzrlib.api`` module for details.
8681
* Remove unnecessary lock probes when acquiring a lockdir.
8684
* ``bzr --version`` now shows the location of the bzr log file, which
8685
is especially useful on Windows. (Martin Pool)
8687
* -D now supports hooks to get debug tracing of hooks (though its currently
8688
minimal in nature). (Robert Collins)
8690
* Long log format reports deltas on merge revisions.
8691
(John Arbash Meinel, Kent Gibson)
8693
* Make initial push over ftp more resilient. (John Arbash Meinel)
8695
* Print a summary of changes for update just like pull does.
8696
(Daniel Watkins, #113990)
8698
* Add a -Dhpss option to trace smart protocol requests and responses.
8704
* Testing cleanups -
8705
``bzrlib.repository.RepositoryTestProviderAdapter`` has been moved
8706
to ``bzrlib.tests.repository_implementations``;
8707
``bzrlib.repository.InterRepositoryTestProviderAdapter`` has been moved
8708
to ``bzrlib.tests.interrepository_implementations``;
8709
``bzrlib.transport.TransportTestProviderAdapter`` has moved to
8710
``bzrlib.tests.test_transport_implementations``.
8711
``bzrlib.branch.BranchTestProviderAdapter`` has moved to
8712
``bzrlib.tests.branch_implementations``.
8713
``bzrlib.bzrdir.BzrDirTestProviderAdapter`` has moved to
8714
``bzrlib.tests.bzrdir_implementations``.
8715
``bzrlib.versionedfile.InterVersionedFileTestProviderAdapter`` has moved
8716
to ``bzrlib.tests.interversionedfile_implementations``.
8717
``bzrlib.store.revision.RevisionStoreTestProviderAdapter`` has moved to
8718
``bzrlib.tests.revisionstore_implementations``.
8719
``bzrlib.workingtree.WorkingTreeTestProviderAdapter`` has moved to
8720
``bzrlib.tests.workingtree_implementations``.
8721
These changes are an API break in the testing infrastructure only.
8724
* Relocate TestCaseWithRepository to be more central. (Robert Collins)
8726
* ``bzrlib.add.smart_add_tree`` will no longer perform glob expansion on
8727
win32. Callers of the function should do this and use the new
8728
``MutableTree.smart_add`` method instead. (Robert Collins)
8730
* ``bzrlib.add.glob_expand_for_win32`` is now
8731
``bzrlib.win32utils.glob_expand``. (Robert Collins)
8733
* ``bzrlib.add.FastPath`` is now private and moved to
8734
``bzrlib.mutabletree._FastPath``. (Robert Collins, Martin Pool)
8736
* ``LockDir.wait`` removed. (Martin Pool)
8738
* The ``SmartServer`` hooks API has changed for the ``server_started`` and
8739
``server_stopped`` hooks. The first parameter is now an iterable of
8740
backing URLs rather than a single URL. This is to reflect that many
8741
URLs may map to the external URL of the server. E.g. the server interally
8742
may have a chrooted URL but also the local file:// URL will be at the
8743
same location. (Robert Collins)
8748
* New SMTPConnection class to unify email handling. (Adeodato Simó)
8750
* Fix documentation of BzrError. (Adeodato Simó)
8752
* Make BzrBadParameter an internal error. (Adeodato Simó)
8754
* Remove use of 'assert False' to raise an exception unconditionally.
8757
* Give a cleaner error when failing to decode knit index entry.
8760
* TreeConfig would mistakenly search the top level when asked for options
8761
from a section. It now respects the section argument and only
8762
searches the specified section. (James Westby)
8764
* Improve ``make api-docs`` output. (John Arbash Meinel)
8766
* Use os.lstat rather than os.stat for osutils.make_readonly and
8767
osutils.make_writeable. This makes the difftools plugin more
8768
robust when dangling symlinks are found. (Elliot Murphy)
8770
* New ``-Dlock`` option to log (to ~/.bzr.log) information on when
8771
lockdirs are taken or released. (Martin Pool)
8773
* ``bzrlib`` Hooks are now nameable using ``Hooks.name_hook``. This
8774
allows a nicer UI when hooks are running as the current hook can
8775
be displayed. (Robert Collins)
8777
* ``Transport.get`` has had its interface made more clear for ease of use.
8778
Retrieval of a directory must now fail with either 'PathError' at open
8779
time, or raise 'ReadError' on a read. (Robert Collins)
8781
* New method ``_maybe_expand_globs`` on the ``Command`` class for
8782
dealing with unexpanded glob lists - e.g. on the win32 platform. This
8783
was moved from ``bzrlib.add._prepare_file_list``. (Robert Collins)
8785
* ``bzrlib.add.smart_add`` and ``bzrlib.add.smart_add_tree`` are now
8786
deprecated in favour of ``MutableTree.smart_add``. (Robert Collins,
8789
* New method ``external_url`` on Transport for obtaining the url to
8790
hand to external processes. (Robert Collins)
8792
* Teach windows installers to build pyrex/C extensions.
8793
(Alexander Belchenko)
8798
* Removed the ``--keep-output`` option from selftest and clean up test
8799
directories as they're used. This reduces the IO load from
8800
running the test suite and cuts the time by about half.
8801
(Andrew Bennetts, Martin Pool)
8803
* Add scenarios as a public attribute on the TestAdapter classes to allow
8804
modification of the generated scenarios before adaption and easier
8805
testing. (Robert Collins)
8807
* New testing support class ``TestScenarioApplier`` which multiplies
8808
out a single teste by a list of supplied scenarios. (RobertCollins)
8810
* Setting ``repository_to_test_repository`` on a repository_implementations
8811
test will cause it to be called during repository creation, allowing the
8812
testing of repository classes which are not based around the Format
8813
concept. For example a repository adapter can be tested in this manner,
8814
by altering the repository scenarios to include a scenario that sets this
8815
attribute during the test parameterisation in
8816
``bzrlib.tests.repository.repository_implementations``. (Robert Collins)
8818
* Clean up many of the APIs for blackbox testing of Bazaar. The standard
8819
interface is now self.run_bzr. The command to run can be passed as
8820
either a list of parameters, a string containing the command line, or
8821
(deprecated) varargs parameters. (Martin Pool)
8823
* The base TestCase now isolates tests from -D parameters by clearing
8824
``debug.debug_flags`` and restores it afterwards. (Robert Collins)
8826
* Add a relpath parameter to get_transport methods in test framework to
8827
avoid useless cloning.
8828
(Vincent Ladeuil, #110448)
8834
:Released: 2007-06-18
8839
* Fix crash of commit due to wrong lookup of filesystem encoding.
8840
(Colin Watson, #120647)
8842
* Revert logging just to stderr in commit as broke unicode filenames.
8843
(Aaron Bentley, Ian Clatworthy, #120930)
8849
:Released: 2007-06-12
8851
Notes When Upgrading
8852
********************
8854
* The kind() and is_executable() APIs on the WorkingTree interface no
8855
longer implicitly (read) locks and unlocks the tree. This *might*
8856
impact some plug-ins and tools using this part of the API. If you find
8857
an issue that may be caused by this change, please let us know,
8858
particularly the plug-in/tool maintainer. If encountered, the API
8859
fix is to surround kind() and is_executable() calls with lock_read()
8860
and unlock() like so::
8862
work_tree.lock_read()
8864
kind = work_tree.kind(...)
8870
* Rework of LogFormatter API to provide beginning/end of log hooks and to
8871
encapsulate the details of the revision to be logged in a LogRevision
8873
In long log formats, merge revision ids are only shown when --show-ids
8874
is specified, and are labelled "revision-id:", as per mainline
8875
revisions, instead of "merged:". (Kent Gibson)
8877
* New ``BranchBuilder`` API which allows the construction of particular
8878
histories quickly. Useful for testing and potentially other applications
8879
too. (Robert Collins)
8884
* There are two new help topics, working-trees and repositories that
8885
attempt to explain these concepts. (James Westby, John Arbash Meinel,
8888
* Added ``bzr log --limit`` to report a limited number of revisions.
8889
(Kent Gibson, #3659)
8891
* Revert does not try to preserve file contents that were originally
8892
produced by reverting to a historical revision. (Aaron Bentley)
8894
* ``bzr log --short`` now includes ``[merge]`` for revisions which
8895
have more than one parent. This is a small improvement to help
8896
understanding what changes have occurred
8897
(John Arbash Meinel, #83887)
8899
* TreeTransform avoids many renames when contructing large trees,
8900
improving speed. 3.25x speedups have been observed for construction of
8901
kernel-sized-trees, and checkouts are 1.28x faster. (Aaron Bentley)
8903
* Commit on large trees is now faster. In my environment, a commit of
8904
a small change to the Mozilla tree (55k files) has dropped from
8905
66 seconds to 32 seconds. For a small tree of 600 files, commit of a
8906
small change is 33% faster. (Ian Clatworthy)
8908
* New --create-prefix option to bzr init, like for push. (Daniel Watkins,
8914
* ``bzr push`` should only connect to the remote location one time.
8915
We have been connecting 3 times because we forget to pass around
8916
the Transport object. This adds ``BzrDir.clone_on_transport()``, so
8917
that we can pass in the Transport that we already have.
8918
(John Arbash Meinel, #75721)
8920
* ``DirState.set_state_from_inventory()`` needs to properly order
8921
based on split paths, not just string paths.
8922
(John Arbash Meinel, #115947)
8924
* Let TestUIFactoy encode the password prompt with its own stdout.
8925
(Vincent Ladeuil, #110204)
8927
* pycurl should take use the range header that takes the range hint
8929
(Vincent Ladeuil, #112719)
8931
* WorkingTree4.get_file_sha1 no longer raises an exception when invoked
8932
on a missing file. (Aaron Bentley, #118186)
8934
* WorkingTree.remove works correctly with tree references, and when pwd is
8935
not the tree root. (Aaron Bentley)
8937
* Merge no longer fails when a file is renamed in one tree and deleted
8938
in the other. (Aaron Bentley, #110279)
8940
* ``revision-info`` now accepts dotted revnos, doesn't require a tree,
8941
and defaults to the last revision (Matthew Fuller, #90048)
8943
* Tests no longer fail when BZR_REMOTE_PATH is set in the environment.
8944
(Daniel Watkins, #111958)
8946
* ``bzr branch -r revid:foo`` can be used to branch any revision in
8947
your repository. (Previously Branch6 only supported revisions in your
8948
mainline). (John Arbash Meinel, #115343)
8953
:Released: 2007-05-07
8958
* Handle when you have 2 directories with similar names, but one has a
8959
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
8960
iterator was using direct comparison and ``'abc/a'`` sorts after
8961
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
8962
(John Arbash Meinel, #111227)
8964
* Handle when someone renames a file on disk without telling bzr.
8965
Previously we would report the first file as missing, but not show
8966
the new unknown file. (John Arbash Meinel, #111288)
8968
* Avoid error when running hooks after pulling into or pushing from
8969
a branch bound to a smartserver branch. (Martin Pool, #111968)
8974
* Move developer documentation to doc/developers/. This reduces clutter in
8975
the root of the source tree and allows HACKING to be split into multiple
8976
files. (Robert Collins, Alexander Belchenko)
8978
* Clean up the ``WorkingTree4._iter_changes()`` internal loops as well as
8979
``DirState.update_entry()``. This optimizes the core logic for ``bzr
8980
diff`` and ``bzr status`` significantly improving the speed of
8981
both. (John Arbash Meinel)
8986
:Released: 2007-04-30
8991
* Handle the case when you delete a file, and then rename another file
8992
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
8993
status`` should show the removed file and an unknown file in its
8994
place. (John Arbash Meinel, #109993)
8996
* Bundles properly read and write revision properties that have an
8997
empty value. And when the value is not ASCII.
8998
(John Arbash Meinel, #109613)
9000
* Fix the bzr commit message to be in text mode.
9001
(Alexander Belchenko, #110901)
9003
* Also handle when you rename a file and create a file where it used
9004
to be. (John Arbash Meinel, #110256)
9006
* ``WorkingTree4._iter_changes`` should not descend into unversioned
9007
directories. (John Arbash Meinel, #110399)
9012
:Released: 2007-04-26
9014
Notes When Upgrading
9015
********************
9017
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
9018
it could be recovered again.
9019
This has been done for consistency with svn and the unix rm command.
9020
The old ``remove`` behaviour has been retained in the new option
9021
``bzr remove --keep``, which will just stop versioning the file,
9023
``bzr remove --force`` have been added which will always delete the
9025
``bzr remove`` is also more verbose.
9026
(Marius Kruger, #82602)
9031
* Merge directives can now be supplied as input to `merge` and `pull`,
9032
like bundles can. (Aaron Bentley)
9034
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
9035
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
9036
to continue. This can be disabled by setting the environment variable
9037
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
9039
* selftest now supports --list-only to list tests instead of running
9040
them. (Ian Clatworthy)
9042
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
9043
tests with names that match that regular expression.
9044
(Ian Clatworthy, #102679)
9046
* selftest now supports --randomize SEED to run tests in a random order.
9047
SEED is typically the value 'now' meaning 'use the current time'.
9048
(Ian Clatworthy, #102686)
9050
* New option ``--fixes`` to commit, which stores bug fixing annotations as
9051
revision properties. Built-in support for Launchpad, Debian, Trac and
9052
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
9054
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
9055
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
9058
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
9061
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
9062
into using local variables instead of going through ``self._var``.
9063
Improves the time to ``merge_sort`` a 10k revision graph by
9064
approximately 40% (~700->400ms). (John Arbash Meinel)
9066
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
9069
* ``bzr help`` now provides cross references to other help topics using
9070
the _see_also facility on command classes. Likewise the bzr_man
9071
documentation, and the bzr.1 man page also include this information.
9074
* Tags are now included in logs, that use the long log formatter.
9075
(Erik Bågfors, Alexander Belchenko)
9077
* ``bzr help`` provides a clearer message when a help topic cannot be
9078
found. (Robert Collins, #107656)
9080
* ``bzr help`` now accepts optional prefixes for command help. The help
9081
for all commands can now be found at ``bzr help commands/COMMANDNAME``
9082
as well as ``bzr help COMMANDNAME`` (which only works for commands
9083
where the name is not the same as a more general help topic).
9086
* ``bzr help PLUGINNAME`` will now return the module docstring from the
9087
plugin PLUGINNAME. (Robert Collins, #50408)
9089
* New help topic ``urlspec`` which lists the availables transports.
9090
(Goffredo Baroncelli)
9092
* doc/server.txt updated to document the default bzr:// port
9093
and also update the blurb about the hpss' current status.
9094
(Robert Collins, #107125).
9096
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
9097
serve out to the local LAN (and anyone in the world that can reach the
9098
machine running ``bzr serve``. (Robert Collins, #98918)
9100
* A new smart server protocol version has been added. It prefixes requests
9101
and responses with an explicit version identifier so that future protocol
9102
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
9104
* The bzr protocol version 2 indicates success or failure in every response
9105
without depending on particular commands encoding that consistently,
9106
allowing future client refactorings to be much more robust about error
9107
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
9109
* The smart protocol over HTTP client has been changed to always post to the
9110
same ``.bzr/smart`` URL under the original location when it can. This allows
9111
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
9112
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
9114
* digest authentication is now supported for proxies and HTTP by the urllib
9115
based http implementation. Tested against Apache 2.0.55 and Squid
9116
2.6.5. Basic and digest authentication are handled coherently for HTTP
9117
and proxy: if the user is provided in the url (bzr command line for HTTP,
9118
proxy environment variables for proxies), the password is prompted for
9119
(only once). If the password is provided, it is taken into account. Once
9120
the first authentication is successful, all further authentication
9121
roundtrips are avoided by preventively setting the right authentication
9128
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
9129
code paths. (Robert Collins)
9131
* Change the format of chroot urls so that they can be safely manipulated
9132
by generic url utilities without causing the resulting urls to have
9133
escaped the chroot. A side effect of this is that creating a chroot
9134
requires an explicit action using a ChrootServer.
9135
(Robert Collins, Andrew Bennetts)
9137
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
9138
rather than fixing bug #96847. (Aaron Bentley)
9140
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
9141
``WorkingTree._write_inventory``. (Aaron Bentley)
9143
* Convenience method ``TestCase.expectFailure`` ensures that known failures
9144
do not silently pass. (Aaron Bentley)
9146
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
9147
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
9149
* New SmartServer hooks facility. There are two initial hooks documented
9150
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
9151
plugins to execute code upon server startup and shutdown.
9154
* SmartServer in standalone mode will now close its listening socket
9155
when it stops, rather than waiting for garbage collection. This primarily
9156
fixes test suite hangs when a test tries to connect to a shutdown server.
9157
It may also help improve behaviour when dealing with a server running
9158
on a specific port (rather than dynamically assigned ports).
9161
* Move most SmartServer code into a new package, bzrlib/smart.
9162
bzrlib/transport/remote.py contains just the Transport classes that used
9163
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
9165
* urllib http implementation avoid roundtrips associated with
9166
401 (and 407) errors once the authentication succeeds.
9169
* urlib http now supports querying the user for a proxy password if
9170
needed. Realm is shown in the prompt for both HTTP and proxy
9171
authentication when the user is required to type a password.
9174
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
9175
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
9176
consistent with its new home in ``bzrlib/transport/remote.py``, and because
9177
it's not really a "smart" transport, just one that does file operations
9178
via remote procedure calls. (Andrew Bennetts)
9180
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
9181
``Branch`` now accept a ``token`` keyword argument, so that separate
9182
instances of those objects can share a lock if it has the right token.
9183
(Andrew Bennetts, Robert Collins)
9185
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
9186
branch references - which the smart server component needs.
9188
* The Repository API ``make_working_trees`` is now permitted to return
9189
False when ``set_make_working_trees`` is not implemented - previously
9190
an unimplemented ``set_make_working_trees`` implied the result True
9191
from ``make_working_trees``. This has been changed to accomodate the
9192
smart server, where it does not make sense (at this point) to ever
9193
make working trees by default. (Robert Collins)
9195
* Command objects can now declare related help topics by having _see_also
9196
set to a list of related topic. (Robert Collins)
9198
* ``bzrlib.help`` now delegates to the Command class for Command specific
9199
help. (Robert Collins)
9201
* New class ``TransportListRegistry``, derived from the Registry class, which
9202
simplifies tracking the available Transports. (Goffredo Baroncelli)
9204
* New function ``Branch.get_revision_id_to_revno_map`` which will
9205
return a dictionary mapping revision ids to dotted revnos. Since
9206
dotted revnos are defined in the context of the branch tip, it makes
9207
sense to generate them from a ``Branch`` object.
9208
(John Arbash Meinel)
9210
* Fix the 'Unprintable error' message display to use the repr of the
9211
exception that prevented printing the error because the str value
9212
for it is often not useful in debugging (e.g. KeyError('foo') has a
9213
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
9214
useful. (Robert Collins)
9216
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
9222
* Don't fail bundle selftest if email has 'two' embedded.
9223
(Ian Clatworthy, #98510)
9225
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
9226
(Robert Widhopf-Fenk, #98591)
9228
* Remove ``--basis`` from the checkout/branch commands - it didn't work
9229
properly and is no longer beneficial.
9230
(Robert Collins, #53675, #43486)
9232
* Don't produce encoding error when adding duplicate files.
9235
* Fix ``bzr log <file>`` so it only logs the revisions that changed
9236
the file, and does it faster.
9237
(Kent Gibson, John Arbash Meinel, #51980, #69477)
9239
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
9240
an empty versioned directory, which now has files in it.
9241
(John Arbash Meinel, #104257)
9243
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
9244
inside the ancestry of the other. Saves a lot of graph processing
9245
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
9246
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
9248
* Fix ``show_diff_trees`` to handle the case when a file is modified,
9249
and the containing directory is renamed. (The file path is different
9250
in this versus base, but it isn't marked as a rename).
9251
(John Arbash Meinel, #103870)
9253
* FTP now works even when the FTP server does not support atomic rename.
9254
(Aaron Bentley, #89436)
9256
* Correct handling in bundles and merge directives of timezones with
9257
that are not an integer number of hours offset from UTC. Always
9258
represent the epoch time in UTC to avoid problems with formatting
9259
earlier times on win32. (Martin Pool, Alexander Belchenko, John
9262
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
9264
* "dirstate" and "dirstate-tags" formats now produce branches compatible
9265
with old versions of bzr. (Aaron Bentley, #107168))
9267
* Handle moving a directory when children have been added, removed,
9268
and renamed. (John Arbash Meinel, #105479)
9270
* Don't preventively use basic authentication for proxy before receiving a
9271
407 error. Otherwise people willing to use other authentication schemes
9272
may expose their password in the clear (or nearly). This add one
9273
roundtrip in case basic authentication should be used, but plug the
9277
* Handle http and proxy digest authentication.
9278
(Vincent Ladeuil, #94034).
9283
* Added ``bzrlib.strace.strace`` which will strace a single callable and
9284
return a StraceResult object which contains just the syscalls involved
9285
in running it. (Robert Collins)
9287
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
9288
default time down to one suitable for tests. (Andrew Bennetts)
9290
* Add new ``vfs_transport_factory`` attribute on tests which provides the
9291
common vfs backing for both the readonly and readwrite transports.
9292
This allows the RemoteObject tests to back onto local disk or memory,
9293
and use the existing ``transport_server`` attribute all tests know about
9294
to be the smart server transport. This in turn allows tests to
9295
differentiate between 'transport to access the branch', and
9296
'transport which is a VFS' - which matters in Remote* tests.
9297
(Robert Collins, Andrew Bennetts)
9299
* The ``make_branch_and_tree`` method for tests will now create a
9300
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
9301
a LocalURLServer. (Robert Collins, Andrew Bennetts)
9303
* Branch implementation tests have been audited to ensure that all urls
9304
passed to Branch APIs use proper urls, except when local-disk paths
9305
are intended. This is so that tests correctly access the test transport
9306
which is often not equivalent to local disk in Remote* tests. As part
9307
of this many tests were adjusted to remove dependencies on local disk
9309
(Robert Collins, Andrew Bennetts)
9311
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
9312
functions by adding a ``__unittest`` global attribute. (Robert Collins,
9313
Andrew Bennetts, Martin Pool, Jonathan Lange)
9315
* Refactored proxy and authentication handling to simplify the
9316
implementation of new auth schemes for both http and proxy.
9322
:Released: 2007-04-01
9327
* Handle incompatible repositories as a user issue when fetching.
9330
* Don't give a recommendation to upgrade when branching or
9331
checking out a branch that contains an old-format working tree.
9337
:Released: 2007-03-26
9342
* A warning is now displayed when opening working trees in older
9343
formats, to encourage people to upgrade to WorkingTreeFormat4.
9349
* HTTP redirections are now taken into account when a branch (or a
9350
bundle) is accessed for the first time. A message is issued at each
9351
redirection to inform the user. In the past, http redirections were
9352
silently followed for each request which significantly degraded the
9353
performances. The http redirections are not followed anymore by
9354
default, instead a RedirectRequested exception is raised. For bzrlib
9355
users needing to follow http redirections anyway,
9356
``bzrlib.transport.do_catching_redirections`` provide an easy transition
9362
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
9363
lock to an OS write lock. Linux can do this without unlocking, Win32
9364
needs to unlock in between. (John Arbash Meinel)
9366
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
9367
to silence (when false) warnings about opening old formats.
9370
* Fix minor performance regression with bzr-0.15 on pre-dirstate
9371
trees. (We were reading the working inventory too many times).
9372
(John Arbash Meinel)
9374
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
9375
``revision_history``. Branch subclasses should override
9376
``_gen_revision_history`` rather than ``revision_history`` to make use of
9377
this cache, and call ``_clear_revision_history_cache`` and
9378
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
9383
* Take ``smtp_server`` from user config into account.
9386
* Restore Unicode filename handling for versioned and unversioned files.
9387
(John Arbash Meinel, #92608)
9389
* Don't fail during ``bzr commit`` if a file is marked removed, and
9390
the containing directory is auto-removed. (John Arbash Meinel, #93681)
9392
* ``bzr status FILENAME`` failed on Windows because of an uncommon
9393
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
9394
(Wouter van Heyst, John Arbash Meinel, #90819)
9396
* ``bzr checkout source`` should create a local branch in the same
9397
format as source. (John Arbash Meinel, #93854)
9399
* ``bzr commit`` with a kind change was failing to update the
9400
last-changed-revision for directories. The
9401
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
9402
ignoring the fact that the kind could have changed, too.
9403
(John Arbash Meinel, #90111)
9405
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
9406
the directory. So that there was a chance it would break commit,
9407
etc. (John Arbash Meinel, #94037)
9409
* Correctly handles mutiple permanent http redirections.
9415
:Released: 2007-03-14
9417
Notes When Upgrading
9418
********************
9420
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
9421
default to ``--trees`` instead of ``--no-trees``.
9422
Existing shared repositories are not affected.
9427
* New ``merge-directive`` command to generate machine- and human-readable
9428
merge requests. (Aaron Bentley)
9430
* New ``submit:`` revision specifier makes it easy to diff against the
9431
common ancestor with the submit location (Aaron Bentley)
9433
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
9435
* Added ``bzr status --versioned`` to report only versioned files,
9436
not unknowns. (Kent Gibson)
9438
* Merge now autodetects the correct line-ending style for its conflict
9439
markers. (Aaron Bentley)
9444
* Refactored SSH vendor registration into SSHVendorManager class.
9450
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
9451
numbered dirs for TestCaseInTempDir. This is default behavior
9452
on Windows. Anyone can force named dirs on Windows
9453
with ``--no-numbered-dirs``. (Alexander Belchenko)
9455
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
9456
from the command line. (Marien Zwart, #90501)
9458
* Fix ``TreeTransform._iter_changes`` when both the source and
9459
destination are missing. (Aaron Bentley, #88842)
9461
* Fix commit of merges with symlinks in dirstate trees.
9464
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
9465
(Wouter van Heyst, #53483)
9471
:Released: 2007-03-07
9476
* The default disk format has changed. Please run 'bzr upgrade' in your
9477
working trees to upgrade. This new default is compatible for network
9478
operations, but not for local operations. That is, if you have two
9479
versions of bzr installed locally, after upgrading you can only use the
9480
bzr 0.15 version. This new default does not enable tags or nested-trees
9481
as they are incompatible with bzr versions before 0.15 over the network.
9483
* For users of bzrlib: Two major changes have been made to the working tree
9484
api in bzrlib. The first is that many methods and attributes, including
9485
the inventory attribute, are no longer valid for use until one of
9486
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
9487
and become invalid again after unlock is called. This has been done
9488
to improve performance and correctness as part of the dirstate
9490
(Robert Collins, John A Meinel, Martin Pool, and others).
9492
* For users of bzrlib: The attribute 'tree.inventory' should be considered
9493
readonly. Previously it was possible to directly alter this attribute, or
9494
its contents, and have the tree notice this. This has been made
9495
unsupported - it may work in some tree formats, but in the newer dirstate
9496
format such actions will have no effect and will be ignored, or even
9497
cause assertions. All operations possible can still be carried out by a
9498
combination of the tree API, and the bzrlib.transform API. (Robert
9499
Collins, John A Meinel, Martin Pool, and others).
9504
* Support for OS Windows 98. Also .bzr.log on any windows system
9505
saved in My Documents folder. (Alexander Belchenko)
9507
* ``bzr mv`` enhanced to support already moved files.
9508
In the past the mv command would have failed if the source file doesn't
9509
exist. In this situation ``bzr mv`` would now detect that the file has
9510
already moved and update the repository accordingly, if the target file
9512
A new option ``--after`` has been added so that if two files already
9513
exist, you could notify Bazaar that you have moved a (versioned) file
9514
and replaced it with another. Thus in this case ``bzr move --after``
9515
will only update the Bazaar identifier.
9516
(Steffen Eichenberg, Marius Kruger)
9518
* ``ls`` now works on treeless branches and remote branches.
9521
* ``bzr help global-options`` describes the global options.
9524
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
9527
* Files are now allowed to change kind (e.g. from file to symlink).
9528
Supported by ``commit``, ``revert`` and ``status``
9531
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
9534
* ``bzr help checkouts`` descibes what checkouts are and some possible
9535
uses of them. (James Westby, Aaron Bentley)
9537
* A new ``-d`` option to push, pull and merge overrides the default
9538
directory. (Martin Pool)
9540
* Branch format 6: smaller, and potentially faster than format 5. Supports
9541
``append_history_only`` mode, where the log view and revnos do not change,
9542
except by being added to. Stores policy settings in
9543
".bzr/branch/branch.conf".
9545
* ``append_only`` branches: Format 6 branches may be configured so that log
9546
view and revnos are always consistent. Either create the branch using
9547
"bzr init --append-revisions-only" or edit the config file as descriped
9548
in docs/configuration.txt.
9550
* rebind: Format 6 branches retain the last-used bind location, so if you
9551
"bzr unbind", you can "bzr bind" to bind to the previously-selected
9554
* Builtin tags support, created and deleted by the ``tag`` command and
9555
stored in the branch. Tags can be accessed with the revisionspec
9556
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
9557
at present. Tags require a network incompatible upgrade. To perform this
9558
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
9559
repositories. (Martin Pool)
9561
* The ``bzr://`` transport now has a well-known port number, 4155,
9562
which it will use by default. (Andrew Bennetts, Martin Pool)
9564
* Bazaar now looks for user-installed plugins before looking for site-wide
9565
plugins. (Jonathan Lange)
9567
* ``bzr resolve`` now detects and marks resolved text conflicts.
9573
* Internally revision ids and file ids are now passed around as utf-8
9574
bytestrings, rather than treating them as Unicode strings. This has
9575
performance benefits for Knits, since we no longer need to decode the
9576
revision id for each line of content, nor for each entry in the index.
9577
This will also help with the future dirstate format.
9578
(John Arbash Meinel)
9580
* Reserved ids (any revision-id ending in a colon) are rejected by
9581
versionedfiles, repositories, branches, and working trees
9584
* Minor performance improvement by not creating a ProgressBar for
9585
every KnitIndex we create. (about 90ms for a bzr.dev tree)
9586
(John Arbash Meinel)
9588
* New easier to use Branch hooks facility. There are five initial hooks,
9589
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
9590
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
9591
``'post_uncommit'``. These hooks fire after the matching operation
9592
on a branch has taken place, and were originally added for the
9593
branchrss plugin. (Robert Collins)
9595
* New method ``Branch.push()`` which should be used when pushing from a
9596
branch as it makes performance and policy decisions to match the UI
9597
level command ``push``. (Robert Collins).
9599
* Add a new method ``Tree.revision_tree`` which allows access to cached
9600
trees for arbitrary revisions. This allows the in development dirstate
9601
tree format to provide access to the callers to cached copies of
9602
inventory data which are cheaper to access than inventories from the
9604
(Robert Collins, Martin Pool)
9606
* New ``Branch.last_revision_info`` method, this is being done to allow
9607
optimization of requests for both the number of revisions and the last
9608
revision of a branch with smartservers and potentially future branch
9609
formats. (Wouter van Heyst, Robert Collins)
9611
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
9612
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
9613
other for code reuse without requiring users to perform file-renaming
9614
gymnastics. (Robert Collins)
9616
* New Repository method ``'gather_stats'`` for statistic data collection.
9617
This is expected to grow to cover a number of related uses mainly
9618
related to bzr info. (Robert Collins)
9620
* Log formatters are now managed with a registry.
9621
``log.register_formatter`` continues to work, but callers accessing
9622
the FORMATTERS dictionary directly will not.
9624
* Allow a start message to be passed to the ``edit_commit_message``
9625
function. This will be placed in the message offered to the user
9626
for editing above the separator. It allows a template commit message
9627
to be used more easily. (James Westby)
9629
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
9630
you pass a Unicode string rather than an 8-bit string. Callers need
9631
to be updated to encode first. (John Arbash Meinel)
9633
* Branch.push, pull, merge now return Result objects with information
9634
about what happened, rather than a scattering of various methods. These
9635
are also passed to the post hooks. (Martin Pool)
9637
* File formats and architecture is in place for managing a forest of trees
9638
in bzr, and splitting up existing trees into smaller subtrees, and
9639
finally joining trees to make a larger tree. This is the first iteration
9640
of this support, and the user-facing aspects still require substantial
9641
work. If you wish to experiment with it, use ``bzr upgrade
9642
--dirstate-with-subtree`` in your working trees and repositories.
9643
You can use the hidden commands ``split`` and ``join`` and to create
9644
and manipulate nested trees, but please consider using the nested-trees
9645
branch, which contains substantial UI improvements, instead.
9646
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
9647
(Aaron Bentley, Martin Pool, Robert Collins).
9652
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
9653
branch, rather than the last changed revision of the file.
9654
(John Arbash Meinel, #82158)
9656
* Lock operations no longer hang if they encounter a permission problem.
9659
* ``bzr push`` can resume a push that was canceled before it finished.
9660
Also, it can push even if the target directory exists if you supply
9661
the ``--use-existing-dir`` flag.
9662
(John Arbash Meinel, #30576, #45504)
9664
* Fix http proxy authentication when user and an optional
9665
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
9668
* ``bzr log branch/file`` works for local treeless branches
9669
(Aaron Bentley, #84247)
9671
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
9673
* Searching location of CA bundle for PyCurl in env variable
9674
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
9675
(Alexander Belchenko, #82086)
9677
* ``bzr init`` works with unicode argument LOCATION.
9678
(Alexander Belchenko, #85599)
9680
* Raise ``DependencyNotPresent`` if pycurl do not support https.
9681
(Vincent Ladeuil, #85305)
9683
* Invalid proxy env variables should not cause a traceback.
9684
(Vincent Ladeuil, #87765)
9686
* Ignore patterns normalised to use '/' path separator.
9687
(Kent Gibson, #86451)
9689
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
9691
* Fix bzrtools shelve command for removed lines beginning with "--"
9692
(Johan Dahlberg, #75577)
9697
* New ``--first`` option to ``bzr selftest`` to run specified tests
9698
before the rest of the suite. (Martin Pool)
9704
:Released: 2007-01-23
9709
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
9714
* Skip documentation generation tests if the tools to do so are not
9715
available. Fixes running selftest for installled copies of bzr.
9716
(John Arbash Meinel, #80330)
9718
* Fix the code that discovers whether bzr is being run from it's
9719
working tree to handle the case when it isn't but the directory
9720
it is in is below a repository. (James Westby, #77306)
9726
:Released: 2007-01-16
9731
* New connection: ``bzr+http://`` which supports tunnelling the smart
9732
protocol over an HTTP connection. If writing is enabled on the bzr
9733
server, then you can write over the http connection.
9734
(Andrew Bennetts, John Arbash Meinel)
9736
* Aliases now support quotation marks, so they can contain whitespace
9739
* PyCurlTransport now use a single curl object. By specifying explicitly
9740
the 'Range' header, we avoid the need to use two different curl objects
9741
(and two connections to the same server). (Vincent Ladeuil)
9743
* ``bzr commit`` does not prompt for a message until it is very likely to
9744
succeed. (Aaron Bentley)
9746
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
9749
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
9750
of a list while checking if a revision id was requested. Takes 10s
9751
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
9752
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
9753
filtering lines with a regex rather than multiple ``str.find()``
9754
calls. (saves another 300ms) (John Arbash Meinel)
9756
* Policy can be set for each configuration key. This allows keys to be
9757
inherited properly across configuration entries. For example, this
9758
should enable you to do::
9760
[/home/user/project]
9761
push_location = sftp://host/srv/project/
9762
push_location:policy = appendpath
9764
And then a branch like ``/home/user/project/mybranch`` should get an
9765
automatic push location of ``sftp://host/srv/project/mybranch``.
9768
* Added ``bzr status --short`` to make status report svn style flags
9769
for each file. For example::
9771
$ bzr status --short
9777
* 'bzr selftest --clean-output' allows easily clean temporary tests
9778
directories without running tests. (Alexander Belchenko)
9780
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
9782
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
9783
local is fully merged into remote. (Jan Hudec)
9785
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
9790
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
9791
help speed up processing, as well allowing to extract unannotated
9792
lines. Between the two ``fileids_affected_by_revision_ids`` is
9793
improved by approx 10%. (John Arbash Meinel)
9795
* Change Revision serialization to only write out millisecond
9796
resolution. Rather than expecting floating point serialization to
9797
preserve more resolution than we need. (Henri Weichers, Martin Pool)
9799
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
9801
* When ``encoding_type`` attribute of class Command is equal to 'exact',
9802
force sys.stdout to be a binary stream on Windows, and therefore
9803
keep exact line-endings (without LF -> CRLF conversion).
9804
(Alexander Belchenko)
9806
* Single-letter short options are no longer globally declared. (Martin
9809
* Before using detected user/terminal encoding bzr should check
9810
that Python has corresponding codec. (Alexander Belchenko)
9812
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
9817
* ``bzr missing --verbose`` was showing adds/removals in the wrong
9818
direction. (John Arbash Meinel)
9820
* ``bzr annotate`` now defaults to showing dotted revnos for merged
9821
revisions. It cuts them off at a depth of 12 characters, but you can
9822
supply ``--long`` to see the full number. You can also use
9823
``--show-ids`` to display the original revision ids, rather than
9824
revision numbers and committer names. (John Arbash Meinel, #75637)
9826
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
9827
(Alexander Belchenko, #57869)
9829
* Win32-specific: output of cat, bundle and diff commands don't mangle
9830
line-endings (Alexander Belchenko, #55276)
9832
* Replace broken fnmatch based ignore pattern matching with custom pattern
9834
(Kent Gibson, Jan Hudec #57637)
9836
* pycurl and urllib can detect short reads at different places. Update
9837
the test suite to test more cases. Also detect http error code 416
9838
which was raised for that specific bug. Also enhance the urllib
9839
robustness by detecting invalid ranges (and pycurl's one by detecting
9840
short reads during the initial GET). (Vincent Ladeuil, #73948)
9842
* The urllib connection sharing interacts badly with urllib2
9843
proxy setting (the connections didn't go thru the proxy
9844
anymore). Defining a proper ProxyHandler solves the
9845
problem. (Vincent Ladeuil, #74759)
9847
* Use urlutils to generate relative URLs, not osutils
9848
(Aaron Bentley, #76229)
9850
* ``bzr status`` in a readonly directory should work without giving
9851
lots of errors. (John Arbash Meinel, #76299)
9853
* Mention the revisionspec topic for the revision option help.
9854
(Wouter van Heyst, #31663)
9856
* Allow plugins import from zip archives.
9857
(Alexander Belchenko, #68124)
9863
:Released: 2006-12-05
9865
No changes from 0.13rc
9871
:Released: 2006-11-27
9876
* New command ``bzr remove-tree`` allows the removal of the working
9878
(Daniel Silverstone)
9880
* urllib uses shared keep-alive connections, so http
9881
operations are substantially faster.
9882
(Vincent Ladeuil, #53654)
9884
* ``bzr export`` allows an optional branch parameter, to export a bzr
9885
tree from some other url. For example:
9886
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
9887
(Daniel Silverstone)
9889
* Added ``bzr help topics`` to the bzr help system. This gives a
9890
location for general information, outside of a specific command.
9891
This includes updates for ``bzr help revisionspec`` the first topic
9892
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
9894
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
9897
* Knit files will now cache full texts only when the size of the
9898
deltas is as large as the size of the fulltext. (Or after 200
9899
deltas, whichever comes first). This has the most benefit on large
9900
files with small changes, such as the inventory for a large project.
9901
(eg For a project with 2500 files, and 7500 revisions, it changes
9902
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
9907
* New -D option given before the command line turns on debugging output
9908
for particular areas. -Derror shows tracebacks on all errors.
9911
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
9912
and remove benchmarks that take longer than 10min to run.
9913
(John Arbash Meinel)
9915
* Use ``time.time()`` instead of ``time.clock()`` to decide on
9916
progress throttling. Because ``time.clock()`` is actually CPU time,
9917
so over a high-latency connection, too many updates get throttled.
9918
(John Arbash Meinel)
9920
* ``MemoryTransport.list_dir()`` would strip the first character for
9921
files or directories in root directory. (John Arbash Meinel)
9923
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
9924
branch references - which the smart server component needs.
9926
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
9927
prefix. It disallows any access to locations above a set URL. (Andrew
9933
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
9934
And optimize the knit index parsing code.
9935
(Dmitry Vasiliev, John Arbash Meinel)
9937
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
9938
without importing it. This prevented ``bzr upgrade`` from working
9939
unless a plugin already imported ``bzrlib.workingtree``
9940
(John Arbash Meinel, #70716)
9942
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
9944
* Give nicer error message when an http server returns a 403
9945
error code. (Vincent Ladeuil, #57644).
9947
* When a multi-range http GET request fails, try a single
9948
range one. If it fails too, forget about ranges. Remember that until
9949
the death of the transport and propagates that to the clones.
9950
(Vincent Ladeuil, #62276, #62029).
9952
* Handles user/passwords supplied in url from command
9953
line (for the urllib implementation). Don't request already
9954
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
9956
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
9957
are added. This fixes bug where fetching remote revisions records
9958
them as full references rather than integers.
9959
(John Arbash Meinel, #64789)
9961
* ``bzr ignore`` strips trailing slashes in patterns.
9962
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
9964
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
9966
* mv correctly handles paths that traverse symlinks.
9967
(Aaron Bentley, #66964)
9969
* Give nicer looking error messages when failing to connect over ssh.
9970
(John Arbash Meinel, #49172)
9972
* Pushing to a remote branch does not currently update the remote working
9973
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
9974
machine now show that the working tree is out of date.
9975
(Cheuksan Edward Wang #48136)
9977
* Use patiencediff instead of difflib for determining deltas to insert
9978
into knits. This avoids the O(N^3) behavior of difflib. Patience
9979
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
9981
* Running ``bzr log`` on nonexistent file gives an error instead of the
9982
entire log history. (Cheuksan Edward Wang #50793)
9984
* ``bzr cat`` can look up contents of removed or renamed files. If the
9985
pathname is ambiguous, i.e. the files in the old and new trees have
9986
different id's, the default is the file in the new tree. The user can
9987
use "--name-from-revision" to select the file in the old tree.
9988
(Cheuksan Edward Wang, #30190)
9993
* TestingHTTPRequestHandler really handles the Range header
9994
(previously it was ignoring it and returning the whole file,).
9999
:Released: 2006-10-30
10004
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
10005
and remove benchmarks that take longer than 10min to run.
10006
(John Arbash Meinel)
10011
:Released: 2006-10-23
10016
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
10017
rather than just showing a decimal revision number for revisions on the
10018
mainline. These revision numbers are not yet accepted as input into bzr
10019
commands such as log, diff etc. (Robert Collins)
10021
* revisions can now be specified using dotted-decimal revision numbers.
10022
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
10024
* ``bzr help commands`` output is now shorter (Aaron Bentley)
10026
* ``bzr`` now uses lazy importing to reduce the startup time. This has
10027
a moderate effect on lots of actions, especially ones that have
10028
little to do. For example ``bzr rocks`` time is down to 116ms from
10029
283ms. (John Arbash Meinel)
10031
* New Registry class to provide name-to-object registry-like support,
10032
for example for schemes where plugins can register new classes to
10033
do certain tasks (e.g. log formatters). Also provides lazy registration
10034
to allow modules to be loaded on request.
10035
(John Arbash Meinel, Adeodato Simó)
10037
API Incompatability
10038
*******************
10040
* LogFormatter subclasses show now expect the 'revno' parameter to
10041
show() to be a string rather than an int. (Robert Collins)
10046
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
10047
can take a ``working_dir='foo'`` parameter, which will change directory
10048
for the command. (John Arbash Meinel)
10050
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
10051
around a regex, which defers compilation until first use.
10052
(John Arbash Meinel)
10054
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
10055
``--no-plugins`` parameter to ensure test reproducability, and avoid
10056
problems with system-wide installed plugins. (John Arbash Meinel)
10058
* Unique tree root ids are now supported. Newly created trees still
10059
use the common root id for compatibility with bzr versions before 0.12.
10062
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
10063
pass in ``inventory.ROOT_ID`` if you want the default root id value.
10064
(Robert Collins, John Arbash Meinel)
10066
* New method ``WorkingTree.flush()`` which will write the current memory
10067
inventory out to disk. At the same time, ``read_working_inventory`` will
10068
no longer trash the current tree inventory if it has been modified within
10069
the current lock, and the tree will now ``flush()`` automatically on
10070
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
10071
advantage of this functionality. (Robert Collins, John Arbash Meinel)
10073
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
10074
parameter will cause it to add another column to its output, which
10075
contains the dotted-decimal revno for each revision, as a tuple.
10078
* ``LogFormatter.show_merge`` is deprecated in favour of
10079
``LogFormatter.show_merge_revno``. (Robert Collins)
10084
* Avoid circular imports by creating a deprecated function for
10085
``bzrlib.tree.RevisionTree``. Callers should have been using
10086
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
10089
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
10090
platforms. (Martin Pool, #66356)
10092
* Don't require ``Content-Type`` in range responses. Assume they are a
10093
single range if ``Content-Type`` does not exist.
10094
(John Arbash Meinel, #62473)
10096
* bzr branch/pull no longer complain about progress bar cleanup when
10097
interrupted during fetch. (Aaron Bentley, #54000)
10099
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
10100
the basis inventory, rather than going through the repository. This
10101
allows us to have 1 inventory read, and 2 inventory writes when
10102
committing a new tree. (John Arbash Meinel)
10104
* When reverting, files that are not locally modified that do not exist
10105
in the target are deleted, not just unversioned (Aaron Bentley)
10107
* When trying to acquire a lock, don't fail immediately. Instead, try
10108
a few times (up to 1 hour) before timing out. Also, report why the
10109
lock is unavailable (John Arbash Meinel, #43521, #49556)
10111
* Leave HttpTransportBase daughter classes decides how they
10112
implement cloning. (Vincent Ladeuil, #61606)
10114
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
10116
* If a commit fails, the commit message is stored in a file at the root of
10117
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
10123
* New test base class TestCaseWithMemoryTransport offers memory-only
10124
testing facilities: its not suitable for tests that need to mutate disk
10125
state, but most tests should not need that and should be converted to
10126
TestCaseWithMemoryTransport. (Robert Collins)
10128
* ``TestCase.make_branch_and_memory_tree`` now takes a format
10129
option to set the BzrDir, Repository and Branch formats of the
10130
created objects. (Robert Collins, John Arbash Meinel)
10135
:Released: 2006-10-02
10137
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
10142
:Released: 2006-09-27
10147
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
10149
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
10155
:Released: 2006-09-25
10160
* Knit files now wait to create their contents until the first data is
10161
added. The old code used to create an empty .knit and a .kndx with just
10162
the header. However, this caused a lot of extra round trips over sftp.
10163
This can change the time for ``bzr push`` to create a new remote branch
10164
from 160s down to 100s. This also affects ``bzr commit`` performance when
10165
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
10166
down to 40s (John Arbash Meinel, #44692)
10168
* When an entire subtree has been deleted, commit will now report that
10169
just the top of the subtree has been deleted, rather than reporting
10170
all the individual items. (Robert Collins)
10172
* Commit performs one less XML parse. (Robert Collins)
10174
* ``bzr checkout`` now operates on readonly branches as well
10175
as readwrite branches. This fixes bug #39542. (Robert Collins)
10177
* ``bzr bind`` no longer synchronises history with the master branch.
10178
Binding should be followed by an update or push to synchronise the
10179
two branches. This is closely related to the fix for bug #39542.
10182
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
10183
objects. This allows all imports to stay at the global scope, but
10184
modules will not actually be imported if they are not used.
10185
(John Arbash Meinel)
10187
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
10188
transport which will be used with the upcoming high-performance smart
10189
server. The new command ``bzr serve`` will invoke bzr in server mode,
10190
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
10193
* New command ``bzr version-info`` which can be used to get a summary
10194
of the current state of the tree. This is especially useful as part
10195
of a build commands. See ``doc/version_info.txt`` for more information
10196
(John Arbash Meinel)
10201
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
10202
specific set of files. (John Arbash Meinel, #3631)
10204
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
10206
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
10207
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
10208
reading a nested Stanza. (John Arbash Meinel)
10210
* Transform._set_mode() needs to stat the right file.
10211
(John Arbash Meinel, #56549)
10213
* Raise WeaveFormatError rather than StopIteration when trying to read
10214
an empty Weave file. (John Arbash Meinel, #46871)
10216
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
10217
(Vincent Ladeuil, #59835)
10219
* Handle boundary="" lines properly to allow access through a Squid proxy.
10220
(John Arbash Meinel, #57723)
10222
* revert now removes newly-added directories (Aaron Bentley, #54172)
10224
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
10225
isn't a working tree. (David Allouche, #40679)
10227
* Give nicer error messages when a user supplies an invalid --revision
10228
parameter. (John Arbash Meinel, #55420)
10230
* Handle when LANG is not recognized by python. Emit a warning, but
10231
just revert to using 'ascii'. (John Arbash Meinel, #35392)
10233
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
10234
(John Arbash Meinel)
10236
* Skip specific tests when the dependencies aren't met. This includes
10237
some ``setup.py`` tests when ``python-dev`` is not available, and
10238
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
10240
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
10241
the system. (Andrew Bennetts, John Arbash Meinel)
10243
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
10244
other branch, and will not push or pull between the two branches.
10245
API users will need to perform a push or pull or update operation if they
10246
require branch synchronisation to take place. (Robert Collins, #47344)
10248
* When creating a tarball or zipfile export, export unicode names as utf-8
10249
paths. This may not work perfectly on all platforms, but has the best
10250
chance of working in the common case. (John Arbash Meinel, #56816)
10252
* When committing, only files that exist in working tree or basis tree
10253
may be specified (Aaron Bentley, #50793)
10258
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
10263
* TestCaseInTempDir now creates a separate directory for HOME, rather
10264
than having HOME set to the same location as the working directory.
10265
(John Arbash Meinel)
10267
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
10268
which will update os.environ inside the spawned child. It also can
10269
take a ``universal_newlines=True``, which helps when checking the output
10270
of the command. (John Arbash Meinel)
10272
* Refactor SFTP vendors to allow easier re-use when ssh is used.
10275
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
10276
return urlescaped paths. This is now tested (there were bugs in a few
10277
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
10279
* New utility function ``symbol_versioning.deprecation_string``. Returns the
10280
formatted string for a callable, deprecation format pair. (Robert Collins)
10282
* New TestCase helper applyDeprecated. This allows you to call a callable
10283
which is deprecated without it spewing to the screen, just by supplying
10284
the deprecation format string issued for it. (Robert Collins)
10286
* Transport.append and Transport.put have been deprecated in favor of
10287
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
10288
``.put_file``. This removes the ambiguity in what type of object the
10289
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
10290
been added. Which works similarly to ``Transport.append()`` except for
10291
SFTP, it doesn't have a round trip when opening the file. Also, it
10292
provides functionality for creating a parent directory when trying
10293
to create a file, rather than raise NoSuchFile and forcing the
10294
caller to repeat their request.
10295
(John Arbash Meinel)
10297
* WorkingTree has a new api ``unversion`` which allow the unversioning of
10298
entries by their file id. (Robert Collins)
10300
* ``WorkingTree.pending_merges`` is deprecated. Please use the
10301
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
10303
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
10304
read rather than write. This is appropriate for actions which only need
10305
the branch data for reference rather than mutation. A new decorator
10306
``needs_tree_write_lock`` is provided in the workingtree module. Like the
10307
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
10308
declaration of the locking requirements of a function to ensure that
10309
a lock is taken out for casual scripts. (Robert Collins, #54107)
10311
* All WorkingTree methods which write to the tree, but not to the branch
10312
have been converted to use ``needs_tree_write_lock`` rather than
10313
``needs_write_lock``. Also converted is the revert, conflicts and tree
10314
transform modules. This provides a modest performance improvement on
10315
metadir style trees, due to the reduce lock-acquisition, and a more
10316
significant performance improvement on lightweight checkouts from
10317
remote branches, where trivial operations used to pay a significant
10318
penalty. It also provides the basis for allowing readonly checkouts.
10321
* Special case importing the standard library 'copy' module. This shaves
10322
off 40ms of startup time, while retaining compatibility. See:
10323
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
10325
* WorkingTree has a new parent class MutableTree which represents the
10326
specialisations of Tree which are able to be altered. (Robert Collins)
10328
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
10329
mutate the tree and its contents. (Robert Collins)
10331
* Transport behaviour at the root of the URL is now defined and tested.
10332
(Andrew Bennetts, Robert Collins)
10337
* New test helper classs MemoryTree. This is typically accessed via
10338
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
10340
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
10341
code to continue running concurrently with a subprocess of bzr.
10342
(Andrew Bennetts, Robert Collins)
10344
* Add a new method ``Transport.get_smart_client()``. This is provided to
10345
allow upgrades to a richer interface than the VFS one provided by
10346
Transport. (Andrew Bennetts, Martin Pool)
10351
:Released: 2006-08-29
10355
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
10356
tree. (Aaron Bentley)
10358
* 'bzr add --file-ids-from' can be used to specify another path to use
10359
for creating file ids, rather than generating all new ones. Internally,
10360
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
10361
will be used, rather than having bzrlib generate new ones.
10362
(John Arbash Meinel, #55781)
10364
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
10365
This will cache some of the intermediate trees, and decrease the
10366
setup time for benchmark tests. (John Arbash Meinel)
10368
* Inverse forms are provided for all boolean options. For example,
10369
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
10371
* Serialize out Inventories directly, rather than using ElementTree.
10372
Writing out a kernel sized inventory drops from 2s down to ~350ms.
10373
(Robert Collins, John Arbash Meinel)
10378
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
10380
* Change LockDir so that if the lock directory doesn't exist when
10381
``lock_write()`` is called, an attempt will be made to create it.
10382
(John Arbash Meinel, #56974)
10384
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
10386
* Active FTP transport now works as intended. (ghozzy, #56472)
10388
* Really fix mutter() so that it won't ever raise a UnicodeError.
10389
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
10390
But it is a debugging log, not a real user file.
10391
(John Arbash Meinel, #56947, #53880)
10393
* Change Command handle to allow Unicode command and options.
10394
At present we cannot register Unicode command names, so we will get
10395
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
10396
But that is better than a UnicodeError + a traceback.
10397
(John Arbash Meinel, #57123)
10399
* Handle TZ=UTC properly when reading/writing revisions.
10400
(John Arbash Meinel, #55783, #56290)
10402
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
10403
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
10405
* External diff does the right thing for binaries even in foreign
10406
languages. (John Arbash Meinel, #56307)
10408
* Testament handles more cases when content is unicode. Specific bug was
10409
in handling of revision properties.
10410
(John Arbash Meinel, Holger Krekel, #54723)
10412
* The bzr selftest was failing on installed versions due to a bug in a new
10413
test helper. (John Arbash Meinel, Robert Collins, #58057)
10418
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
10419
which can be used to cache the conversion between utf8 and Unicode.
10420
Especially helpful for some of the knit annotation code, which has to
10421
convert revision ids to utf8 to annotate lines in storage.
10422
(John Arbash Meinel)
10424
* ``setup.py`` now searches the filesystem to find all packages which
10425
need to be installed. This should help make the life of packagers
10426
easier. (John Arbash Meinel)
10431
:Released: 2006-08-11
10436
* The hard-coded built-in ignore rules have been removed. There are
10437
now two rulesets which are enforced. A user global one in
10438
``~/.bazaar/ignore`` which will apply to every tree, and the tree
10439
specific one '.bzrignore'.
10440
``~/.bazaar/ignore`` will be created if it does not exist, but with
10441
a more conservative list than the old default.
10442
This fixes bugs with default rules being enforced no matter what.
10443
The old list of ignore rules from bzr is available by
10444
running 'bzr ignore --old-default-rules'.
10445
(Robert Collins, Martin Pool, John Arbash Meinel)
10447
* 'branches.conf' has been changed to 'locations.conf', since it can apply
10448
to more locations than just branch locations.
10454
* The revision specifier "revno:" is extended to accept the syntax
10455
revno:N:branch. For example,
10456
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
10457
bzr.dev. (Matthieu Moy)
10459
* Tests updates to ensure proper URL handling, UNICODE support, and
10460
proper printing when the user's terminal encoding cannot display
10461
the path of a file that has been versioned.
10462
``bzr branch`` can take a target URL rather than only a local directory.
10463
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
10464
and normalize the parent based on root, allowing access across
10465
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
10466
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
10469
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
10470
Use terminal width for single-line logs from ``bzr log --line`` and
10471
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
10474
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
10475
(Alexander Belchenko)
10477
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
10479
* Show the correct number of revisions pushed when pushing a new branch.
10482
* 'bzr selftest' now shows a progress bar with the number of tests, and
10483
progress made. 'make check' shows tests in -v mode, to be more useful
10484
for the PQM status window. (Robert Collins).
10485
When using a progress bar, failed tests are printed out, rather than
10486
being overwritten by the progress bar until the suite finishes.
10487
(John Arbash Meinel)
10489
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
10490
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
10491
profile data for the individual profiled calls, allowing for fine
10492
grained analysis of performance.
10493
(Robert Collins, Martin Pool).
10495
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
10496
where commit can take an appreciable time. (Robert Collins)
10498
* 'bzr add' is now less verbose in telling you what ignore globs were
10499
matched by files being ignored. Instead it just tells you how many
10500
were ignored (because you might reasonably be expecting none to be
10501
ignored). 'bzr add -v' is unchanged and will report every ignored
10502
file. (Robert Collins).
10504
* ftp now has a test server if medusa is installed. As part of testing,
10505
ftp support has been improved, including support for supplying a
10506
non-standard port. (John Arbash Meinel).
10508
* 'bzr log --line' shows the revision number, and uses only the
10509
first line of the log message (#5162, Alexander Belchenko;
10512
* 'bzr status' has had the --all option removed. The 'bzr ls' command
10513
should be used to retrieve all versioned files. (Robert Collins)
10515
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
10516
over email, and applied on the other end, while maintaining ancestry.
10517
This bundle can be applied with either 'bzr merge' or 'bzr pull',
10518
the same way you would apply another branch.
10519
(John Arbash Meinel, Aaron Bentley)
10521
* 'bzr whoami' can now be used to set your identity from the command line,
10522
for a branch or globally. (Robey Pointer)
10524
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
10527
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
10530
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
10531
Also updates things like 'http+pycurl://' if pycurl is not present.
10532
(John Arbash Meinel) (Malone #47821, #52204)
10534
* New env variable ``BZR_PROGRESS_BAR``, sets the default progress bar type.
10535
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
10536
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
10538
* Improve the help text for 'bzr diff' to explain what various options do.
10539
(John Arbash Meinel, #6391)
10541
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
10542
revision 10. This makes -r10 more in line with what other commands do.
10543
'bzr uncommit' also now saves the pending merges of the revisions that
10544
were removed. So it is safe to uncommit after a merge, fix something,
10545
and commit again. (John Arbash Meinel, #32526, #31426)
10547
* 'bzr init' now also works on remote locations.
10548
(Wouter van Heyst, #48904)
10550
* HTTP support has been updated. When using pycurl we now support
10551
connection keep-alive, which reduces dns requests and round trips.
10552
And for both urllib and pycurl we support multi-range requests,
10553
which decreases the number of round-trips. Performance results for
10554
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
10555
http branching is now 2-3x faster, and ``bzr pull`` in an existing
10556
branch is as much as 4x faster.
10557
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
10559
* Performance improvements for sftp. Branching and pulling are now up to
10560
2x faster. Utilize paramiko.readv() support for async requests if it
10561
is available (paramiko > 1.6) (John Arbash Meinel)
10566
* Fix shadowed definition of TestLocationConfig that caused some
10568
(Erik Bågfors, Michael Ellerman, Martin Pool, #32587)
10570
* Fix unnecessary requirement of sign-my-commits that it be run from
10571
a working directory. (Martin Pool, Robert Collins)
10573
* 'bzr push location' will only remember the push location if it succeeds
10574
in connecting to the remote location. (John Arbash Meinel, #49742)
10576
* 'bzr revert' no longer toggles the executable bit on win32
10577
(John Arbash Meinel, #45010)
10579
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
10581
* sftp tests now work correctly on win32 if you have a newer paramiko
10582
(John Arbash Meinel)
10584
* Cleanup win32 test suite, and general cleanup of places where
10585
file handles were being held open. (John Arbash Meinel)
10587
* When specifying filenames for 'diff -r x..y', the name of the file in the
10588
working directory can be used, even if its name is different in both x
10591
* File-ids containing single- or double-quotes are handled correctly by
10592
push. (Aaron Bentley, #52227)
10594
* Normalize unicode filenames to ensure cross-platform consistency.
10595
(John Arbash Meinel, #43689)
10597
* The argument parser can now handle '-' as an argument. Currently
10598
no code interprets it specially (it is mostly handled as a file named
10599
'-'). But plugins, and future operations can use it.
10600
(John Arbash meinel, #50984)
10602
* Bundles can properly read binary files with a plain '\r' in them.
10603
(John Arbash Meinel, #51927)
10605
* Tuning ``iter_entries()`` to be more efficient (John Arbash Meinel, #5444)
10607
* Lots of win32 fixes (the test suite passes again).
10608
(John Arbash Meinel, #50155)
10610
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
10612
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
10614
* Removals are only committed if they match the filespec (or if there is
10615
no filespec). (#46635, Aaron Bentley)
10617
* smart-add recurses through all supplied directories
10618
(John Arbash Meinel, #52578)
10620
* Make the bundle reader extra lines before and after the bundle text.
10621
This allows you to parse an email with the bundle inline.
10622
(John Arbash Meinel, #49182)
10624
* Change the file id generator to squash a little bit more. Helps when
10625
working with long filenames on windows. (Also helps for unicode filenames
10626
not generating hidden files). (John Arbash Meinel, #43801)
10628
* Restore terminal mode on C-c while reading sftp password. (#48923,
10629
Nicholas Allen, Martin Pool)
10631
* Timestamps are rounded to 1ms, and revision entries can be recreated
10632
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
10634
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
10635
use local paths, since it is user visible (John Arbash Meinel, #53653)
10637
* ``bzr status foo`` when foo was unversioned used to cause a full delta
10638
to be generated (John Arbash Meinel, #53638)
10640
* When reading revision properties, an empty value should be considered
10641
the empty string, not None (John Arbash Meinel, #47782)
10643
* ``bzr diff --diff-options`` can now handle binary files being changed.
10644
Also, the output is consistent when --diff-options is not supplied.
10645
(John Arbash Meinel, #54651, #52930)
10647
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
10649
* Fix ``Branch.get_parent()`` to handle the case when the parent is not
10650
accessible (John Arbash Meinel, #52976)
10655
* Combine the ignore rules into a single regex rather than looping over
10656
them to reduce the threshold where N^2 behaviour occurs in operations
10657
like status. (Jan Hudec, Robert Collins).
10659
* Appending to ``bzrlib.DEFAULT_IGNORE`` is now deprecated. Instead, use
10660
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
10662
* 'bzr push' should only push the ancestry of the current revision, not
10663
all of the history in the repository. This is especially important for
10664
shared repositories. (John Arbash Meinel)
10666
* ``bzrlib.delta.compare_trees`` now iterates in alphabetically sorted order,
10667
rather than randomly walking the inventories. (John Arbash Meinel)
10669
* Doctests are now run in temporary directories which are cleaned up when
10670
they finish, rather than using special ScratchDir/ScratchBranch objects.
10673
* Split ``check`` into separate methods on the branch and on the repository,
10674
so that it can be specialized in ways that are useful or efficient for
10675
different formats. (Martin Pool, Robert Collins)
10677
* Deprecate ``Repository.all_revision_ids``; most methods don't really need
10678
the global revision graph but only that part leading up to a particular
10679
revision. (Martin Pool, Robert Collins)
10681
* Add a BzrDirFormat ``control_formats`` list which allows for control formats
10682
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
10683
(Robert Collins, Jelmer Vernooij).
10685
* ``bzrlib.diff.external_diff`` can be redirected to any file-like object.
10686
Uses subprocess instead of spawnvp.
10687
(James Henstridge, John Arbash Meinel, #4047, #48914)
10689
* New command line option '--profile-imports', which will install a custom
10690
importer to log time to import modules and regex compilation time to
10691
sys.stderr (John Arbash Meinel)
10693
* 'EmptyTree' is now deprecated, please use ``repository.revision_tree(None)``
10694
instead. (Robert Collins)
10696
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
10701
:Released: 2006-05-17
10706
* setup.py failed to install launchpad plugin. (Martin Pool)
10711
:Released: 2006-05-16
10716
* Fix failure to commit a merge in a checkout. (Martin Pool,
10717
Robert Collins, Erik Bågfors, #43959)
10719
* Nicer messages from 'commit' in the case of renames, and correct
10720
messages when a merge has occured. (Robert Collins, Martin Pool)
10722
* Separate functionality from assert statements as they are skipped in
10723
optimized mode of python. Add the same check to pending merges.
10724
(Olaf Conradi, #44443)
10729
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
10731
* Add info on standalone branches without a working tree.
10732
(Olaf Conradi, #44155)
10734
* Fix bug in knits when raising InvalidRevisionId. (Olaf Conradi, #44284)
10739
* Make editor invocation comply with Debian Policy. First check
10740
environment variables VISUAL and EDITOR, then try editor from
10741
alternatives system. If that all fails, fall back to the pre-defined
10742
list of editors. (Olaf Conradi, #42904)
10747
* New 'register-branch' command registers a public branch into
10748
Launchpad.net, where it can be associated with bugs, etc.
10749
(Martin Pool, Bjorn Tillenius, Robert Collins)
10754
* New public api in InventoryEntry - ``describe_change(old, new)`` which
10755
provides a human description of the changes between two old and
10756
new. (Robert Collins, Martin Pool)
10761
* Fix test case for bzr info in upgrading a standalone branch to metadir,
10762
uses bzrlib api now. (Olaf Conradi)
10767
:Released: 2006-05-08
10769
Notes When Upgrading
10770
********************
10772
Release 0.8 of bzr introduces a new format for history storage, called
10773
'knit', as an evolution of to the 'weave' format used in 0.7. Local
10774
and remote operations are faster using knits than weaves. Several
10775
operations including 'init', 'init-repo', and 'upgrade' take a
10776
--format option that controls this. Branching from an existing branch
10777
will keep the same format.
10779
It is possible to merge, pull and push between branches of different
10780
formats but this is slower than moving data between homogenous
10781
branches. It is therefore recommended (but not required) that you
10782
upgrade all branches for a project at the same time. Information on
10783
formats is shown by 'bzr info'.
10785
bzr 0.8 now allows creation of 'repositories', which hold the history
10786
of files and revisions for several branches. Previously bzr kept all
10787
the history for a branch within the .bzr directory at the root of the
10788
branch, and this is still the default. To create a repository, use
10789
the new 'bzr init-repo' command. Branches exist as directories under
10790
the repository and contain just a small amount of information
10791
indicating the current revision of the branch.
10793
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
10794
subversion. Checkouts are associated with a branch (optionally in a
10795
repository), which contains all the historical information. The
10796
result is that a checkout can be deleted without losing any
10797
already-committed revisions. A new 'update' command is also available.
10799
Repositories and checkouts are not supported with the 0.7 storage
10800
format. To use them you must upgrad to either knits, or to the
10801
'metaweave' format, which uses weaves but changes the .bzr directory
10808
* sftp paths can now be relative, or local, according to the lftp
10809
convention. Paths now take the form::
10811
sftp://user:pass@host:port/~/relative/path
10813
sftp://user:pass@host:port/absolute/path
10815
* The FTP transport now tries to reconnect after a temporary
10816
failure. ftp put is made atomic. (Matthieu Moy)
10818
* The FTP transport now maintains a pool of connections, and
10819
reuses them to avoid multiple connections to the same host (like
10820
sftp did). (Daniel Silverstone)
10822
* The ``bzr_man.py`` file has been removed. To create the man page now,
10823
use ``./generate_docs.py man``. The new program can also create other files.
10824
Run ``python generate_docs.py --help`` for usage information.
10825
(Hans Ulrich Niedermann & James Blackwell).
10827
* Man Page now gives full help (James Blackwell).
10828
Help also updated to reflect user config now being stored in .bazaar
10829
(Hans Ulrich Niedermann)
10831
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
10833
* Pull now accepts a --revision argument (Erik Bågfors)
10835
* ``bzr re-sign`` now allows multiple revisions to be supplied on the command
10836
line. You can now use the following command to sign all of your old
10839
find .bzr/revision-store// -name my@email-* \
10840
| sed 's/.*\/\/..\///' \
10841
| xargs bzr re-sign
10843
* Upgrade can now upgrade over the network. (Robert Collins)
10845
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
10846
behaviour. By default they will cache history in the checkout, but
10847
with --lightweight almost all data is kept in the master branch.
10850
* 'revert' unversions newly-versioned files, instead of deleting them.
10852
* 'merge' is more robust. Conflict messages have changed.
10854
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
10857
* Default log format can be set in configuration and plugins can register
10858
their own formatters. (Erik Bågfors)
10860
* New 'reconcile' command will check branch consistency and repair indexes
10861
that can become out of sync in pre 0.8 formats. (Robert Collins,
10862
Daniel Silverstone)
10864
* New 'bzr init --format' and 'bzr upgrade --format' option to control
10865
what storage format is created or produced. (Robert Collins,
10868
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
10870
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
10872
* New 'init-repository' command, plus support for repositories in 'init'
10873
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
10875
* Improve output of 'info' command. Show all relevant locations related to
10876
working tree, branch and repository. Use kibibytes for binary quantities.
10877
Fix off-by-one error in missing revisions of working tree. Make 'info'
10878
work on branches, repositories and remote locations. Show locations
10879
relative to the shared repository, if applicable. Show locking status
10880
of locations. (Olaf Conradi)
10882
* Diff and merge now safely handle binary files. (Aaron Bentley)
10884
* 'pull' and 'push' now normalise the revision history, so that any two
10885
branches with the same tip revision will have the same output from 'log'.
10888
* 'merge' accepts --remember option to store parent location, like 'push'
10889
and 'pull'. (Olaf Conradi)
10891
* bzr status and diff when files given as arguments do not exist
10892
in the relevant trees. (Martin Pool, #3619)
10894
* Add '.hg' to the default ignore list. (Martin Pool)
10896
* 'knit' is now the default disk format. This improves disk performance and
10897
utilization, increases incremental pull performance, robustness with SFTP
10898
and allows checkouts over SFTP to perform acceptably.
10899
The initial Knit code was contributed by Johan Rydberg based on a
10900
specification by Martin Pool.
10901
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
10903
* New tool to generate all-in-one html version of the manual. (Alexander
10906
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
10907
to be left in the SFTP repository. (Robert Collins, Martin Pool).
10909
* New option 'diff --prefix' to control how files are named in diff
10910
output, with shortcuts '-p0' and '-p1' corresponding to the options for
10911
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
10913
* Add --revision option to 'annotate' command. (Olaf Conradi)
10915
* If bzr shows an unexpected revision-history after pulling (perhaps due
10916
to a reweave) it can now be corrected by 'bzr reconcile'.
10922
* Commit is now verbose by default, and shows changed filenames and the
10923
new revision number. (Robert Collins, Martin Pool)
10925
* Unify 'mv', 'move', 'rename'. (Matthew Fuller, #5379)
10927
* 'bzr -h' shows help. (Martin Pool, Ian Bicking, #35940)
10929
* Make 'pull' and 'push' remember location on failure using --remember.
10932
* For compatibility, make old format for using weaves inside metadir
10933
available as 'metaweave' format. Rename format 'metadir' to 'default'.
10934
Clean up help for option --format in commands 'init', 'init-repo' and
10935
'upgrade'. (Olaf Conradi)
10940
* The internal storage of history, and logical branch identity have now
10941
been split into Branch, and Repository. The common locking and file
10942
management routines are now in bzrlib.lockablefiles.
10943
(Aaron Bentley, Robert Collins, Martin Pool)
10945
* Transports can now raise DependencyNotPresent if they need a library
10946
which is not installed, and then another implementation will be
10947
tried. (Martin Pool)
10949
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
10952
* Using Tree Transform for merge, revert, tree-building
10954
* WorkingTree.create, Branch.create, ``WorkingTree.create_standalone``,
10955
Branch.initialize are now deprecated. Please see ``BzrDir.create_*`` for
10956
replacement API's. (Robert Collins)
10958
* New BzrDir class represents the .bzr control directory and manages
10959
formatting issues. (Robert Collins)
10961
* New repository.InterRepository class encapsulates Repository to
10962
Repository actions and allows for clean selection of optimised code
10963
paths. (Robert Collins)
10965
* ``bzrlib.fetch.fetch`` and ``bzrlib.fetch.greedy_fetch`` are now
10966
deprecated, please use ``branch.fetch`` or ``repository.fetch``
10967
depending on your needs. (Robert Collins)
10969
* deprecated methods now have a ``is_deprecated`` flag on them that can
10970
be checked, if you need to determine whether a given callable is
10971
deprecated at runtime. (Robert Collins)
10973
* Progress bars are now nested - see
10974
``bzrlib.ui.ui_factory.nested_progress_bar``.
10975
(Robert Collins, Robey Pointer)
10977
* New API call ``get_format_description()`` for each type of format.
10980
* Changed ``branch.set_parent()`` to accept None to remove parent.
10983
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
10985
* WorkingTree.branch is now a read only property. (Robert Collins)
10987
* bzrlib.ui.text.TextUIFactory now accepts a ``bar_type`` parameter which
10988
can be None or a factory that will create a progress bar. This is
10989
useful for testing or for overriding the bzrlib.progress heuristic.
10992
* New API method ``get_physical_lock_status()`` to query locks present on a
10993
transport. (Olaf Conradi)
10995
* Repository.reconcile now takes a thorough keyword parameter to allow
10996
requesting an indepth reconciliation, rather than just a data-loss
10997
check. (Robert Collins)
10999
* ``bzrlib.ui.ui_factory protocol`` now supports ``get_boolean`` to prompt
11000
the user for yes/no style input. (Robert Collins)
11005
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
11006
for testing SFTP protocol support. (Robey Pointer)
11008
* Branch formats are now tested once per implementation (see ``bzrlib.
11009
tests.branch_implementations``. This is analagous to the transport
11010
interface tests, and has been followed up with working tree,
11011
repository and BzrDir tests. (Robert Collins)
11013
* New test base class TestCaseWithTransport provides a transport aware
11014
test environment, useful for testing any transport-interface using
11015
code. The test suite option --transport controls the transport used
11016
by this class (when its not being used as part of implementation
11017
contract testing). (Robert Collins)
11019
* Close logging handler on disabling the test log. This will remove the
11020
handler from the internal list inside python's logging module,
11021
preventing shutdown from closing it twice. (Olaf Conradi)
11023
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
11025
* ``run_bzr`` and ``run_bzr_captured`` now accept a 'stdin="foo"'
11026
parameter which will provide String("foo") to the command as its stdin.
11031
:Released: 2006-01-09
11036
* .bzrignore is excluded from exports, on the grounds that it's a bzr
11037
internal-use file and may not be wanted. (Jamie Wilkinson)
11039
* The "bzr directories" command were removed in favor of the new
11040
--kind option to the "bzr inventory" command. To list all
11041
versioned directories, now use "bzr inventory --kind directory".
11044
* Under Windows configuration directory is now ``%APPDATA%\bazaar\2.0``
11045
by default. (John Arbash Meinel)
11047
* The parent of Bzr configuration directory can be set by ``BZR_HOME``
11048
environment variable. Now the path for it is searched in ``BZR_HOME``,
11049
then in HOME. Under Windows the order is: ``BZR_HOME``, ``APPDATA``
11050
(usually points to ``C:\Documents and Settings\User Name\Application Data``),
11051
``HOME``. (John Arbash Meinel)
11053
* Plugins with the same name in different directories in the bzr plugin
11054
path are no longer loaded: only the first successfully loaded one is
11055
used. (Robert Collins)
11057
* Use systems' external ssh command to open connections if possible.
11058
This gives better integration with user settings such as ProxyCommand.
11061
* Permissions on files underneath .bzr/ are inherited from the .bzr
11062
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
11063
will mean that future file will be created with group write permissions.
11065
* configure.in and config.guess are no longer in the builtin default
11068
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
11069
files. (John Arbash Meinel, Martin Pool)
11074
* "bzr INIT dir" now initializes the specified directory, and creates
11075
it if it does not exist. (John Arbash Meinel)
11077
* New remerge command (Aaron Bentley)
11079
* Better zsh completion script. (Steve Borho)
11081
* 'bzr diff' now returns 1 when there are changes in the working
11082
tree. (Robert Collins)
11084
* 'bzr push' now exists and can push changes to a remote location.
11085
This uses the transport infrastructure, and can store the remote
11086
location in the ~/.bazaar/branches.conf configuration file.
11089
* Test directories are only kept if the test fails and the user requests
11092
* Tweaks to short log printing
11094
* Added branch nicks, new nick command, printing them in log output.
11097
* If ``$BZR_PDB`` is set, pop into the debugger when an uncaught exception
11098
occurs. (Martin Pool)
11100
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
11101
the same as Subversion. (Martin Pool)
11103
* New ftp transport support (on ftplib), for ftp:// and aftp://
11104
URLs. (Daniel Silverstone)
11106
* Commit editor temporary files now start with ``bzr_log.``, to allow
11107
text editors to match the file name and set up appropriate modes or
11108
settings. (Magnus Therning)
11110
* Improved performance when integrating changes from a remote weave.
11111
(Goffredo Baroncelli)
11113
* Sftp will attempt to cache the connection, so it is more likely that
11114
a connection will be reused, rather than requiring multiple password
11117
* bzr revno now takes an optional argument indicating the branch whose
11118
revno should be printed. (Michael Ellerman)
11120
* bzr cat defaults to printing the last version of the file.
11121
(Matthieu Moy, #3632)
11123
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
11124
profiler. (Denys Duchier)
11126
* Faster commits by reading only the headers of affected weave files.
11129
* 'bzr add' now takes a --dry-run parameter which shows you what would be
11130
added, but doesn't actually add anything. (Michael Ellerman)
11132
* 'bzr add' now lists how many files were ignored per glob. add --verbose
11133
lists the specific files. (Aaron Bentley)
11135
* 'bzr missing' now supports displaying changes in diverged trees and can
11136
be limited to show what either end of the comparison is missing.
11137
(Aaron Bently, with a little prompting from Daniel Silverstone)
11142
* SFTP can walk up to the root path without index errors. (Robert Collins)
11144
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
11146
* Error when run with -OO
11148
* Fix bug in reporting http errors that don't have an http error code.
11151
* Handle more cases of pipe errors in display commands
11153
* Change status to 3 for all errors
11155
* Files that are added and unlinked before committing are completely
11156
ignored by diff and status
11158
* Stores with some compressed texts and some uncompressed texts are now
11159
able to be used. (John A Meinel)
11161
* Fix for bzr pull failing sometimes under windows
11163
* Fix for sftp transport under windows when using interactive auth
11165
* Show files which are both renamed and modified as such in 'bzr
11166
status' output. (Daniel Silverstone, #4503)
11168
* Make annotate cope better with revisions committed without a valid
11169
email address. (Marien Zwart)
11171
* Fix representation of tab characters in commit messages.
11174
* List of plugin directories in ``BZR_PLUGIN_PATH`` environment variable is
11175
now parsed properly under Windows. (Alexander Belchenko)
11177
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
11179
* Keep a cached copy of the basis inventory to speed up operations
11180
that need to refer to it. (Johan Rydberg, Martin Pool)
11182
* Fix bugs in bzr status display of non-ascii characters.
11185
* Remove Makefile.in from default ignore list.
11186
(Tollef Fog Heen, Martin Pool, #6413)
11188
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
11193
* Fix selftest asking for passwords when there are no SFTP keys.
11194
(Robey Pointer, Jelmer Vernooij)
11196
* Fix selftest run with 'python -O'. (Martin Pool)
11198
* Fix HTTP tests under Windows. (John Arbash Meinel)
11200
* Make tests work even if HOME is not set (Aaron Bentley)
11202
* Updated ``build_tree`` to use fixed line-endings for tests which read
11203
the file cotents and compare. Make some tests use this to pass under
11204
Windows. (John Arbash Meinel)
11206
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
11208
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
11209
(John Arbash Meinel)
11211
* Use terminal width to align verbose test output. (Martin Pool)
11213
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
11214
If adding a new test script please add that to
11215
``bzrlib.tests.blackbox.__init__``. (Robert Collins)
11217
* Much better error message if one of the test suites can't be
11218
imported. (Martin Pool)
11220
* Make check now runs the test suite twice - once with the default locale,
11221
and once with all locales forced to C, to expose bugs. This is not
11222
trivially done within python, so for now its only triggered by running
11223
Make check. Integrators and packagers who wish to check for full
11224
platform support should run 'make check' to test the source.
11227
* Tests can now run TestSkipped if they can't execute for any reason.
11228
(Martin Pool) (NB: TestSkipped should only be raised for correctable
11229
reasons - see the wiki spec ImprovingBzrTestSuite).
11231
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
11232
paths for the transport tests. Introduce blackbox remote sftp tests that
11233
test the same permutations. (Robert Collins, Robey Pointer)
11235
* Transport implementation tests are now independent of the local file
11236
system, which allows tests for esoteric transports, and for features
11237
not available in the local file system. They also repeat for variations
11238
on the URL scheme that can introduce issues in the transport code,
11239
see bzrlib.transport.TransportTestProviderAdapter() for this.
11242
* ``TestCase.build_tree`` uses the transport interface to build trees,
11243
pass in a transport parameter to give it an existing connection.
11249
* WorkingTree.pull has been split across Branch and WorkingTree,
11250
to allow Branch only pulls. (Robert Collins)
11252
* ``commands.display_command`` now returns the result of the decorated
11253
function. (Robert Collins)
11255
* LocationConfig now has a ``set_user_option(key, value)`` call to save
11256
a setting in its matching location section (a new one is created
11257
if needed). (Robert Collins)
11259
* Branch has two new methods, ``get_push_location`` and
11260
``set_push_location`` to respectively, get and set the push location.
11263
* ``commands.register_command`` now takes an optional flag to signal that
11264
the registrant is planning to decorate an existing command. When
11265
given multiple plugins registering a command is not an error, and
11266
the original command class (whether built in or a plugin based one) is
11267
returned to the caller. There is a new error 'MustUseDecorated' for
11268
signalling when a wrapping command should switch to the original
11269
version. (Robert Collins)
11271
* Some option parsing errors will raise 'BzrOptionError', allowing
11272
granular detection for decorating commands. (Robert Collins).
11274
* ``Branch.read_working_inventory`` has moved to
11275
``WorkingTree.read_working_inventory``. This necessitated changes to
11276
``Branch.get_root_id``, and a move of ``Branch.set_inventory`` to
11277
WorkingTree as well. To make it clear that a WorkingTree cannot always
11278
be obtained ``Branch.working_tree()`` will raise
11279
``errors.NoWorkingTree`` if one cannot be obtained. (Robert Collins)
11281
* All pending merges operations from Branch are now on WorkingTree.
11284
* The follow operations from Branch have moved to WorkingTree::
11294
* ``bzrlib.add.smart_add_branch`` is now ``smart_add_tree``. (Robert Collins)
11296
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
11298
* Rename selftests to ``bzrlib.tests.test_foo``. (John A Meinel, Martin
11301
* ``bzrlib.plugin.all_plugins`` has been changed from an attribute to a
11302
query method. (Robert Collins)
11304
* New options to read only the table-of-contents of a weave.
11307
* Raise NoSuchFile when someone tries to add a non-existant file.
11310
* Simplify handling of DivergedBranches in ``cmd_pull()``.
11313
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
11314
is exposed as ``Branch().control_files``. Also this has been altered with the
11315
controlfile pre/suffix replaced by simple method names like 'get' and
11316
'put'. (Aaron Bentley, Robert Collins).
11318
* Deprecated functions and methods can now be marked as such using the
11319
``bzrlib.symbol_versioning`` module. Marked method have their docstring
11320
updated and will issue a DeprecationWarning using the warnings module
11321
when they are used. (Robert Collins)
11323
* ``bzrlib.osutils.safe_unicode`` now exists to provide parameter coercion
11324
for functions that need unicode strings. (Robert Collins)
11329
:Released: 2005-10-28
11334
* pull now takes --verbose to show you what revisions are added or removed
11337
* merge now takes a --show-base option to include the base text in
11341
* The config files are now read using ConfigObj, so '=' should be used as
11342
a separator, not ':'.
11345
* New 'bzr commit --strict' option refuses to commit if there are
11346
any unknown files in the tree. To commit, make sure all files are
11347
either ignored, added, or deleted. (Michael Ellerman)
11349
* The config directory is now ~/.bazaar, and there is a single file
11350
~/.bazaar/bazaar.conf storing email, editor and other preferences.
11353
* 'bzr add' no longer takes a --verbose option, and a --quiet option
11354
has been added that suppresses all output.
11356
* Improved zsh completion support in contrib/zsh, from Clint
11359
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
11360
Goffredo Baroncelli.
11362
* 'bzr check' now accepts -v for verbose reporting, and checks for
11363
ghosts in the branch. (Robert Collins)
11365
* New command 're-sign' which will regenerate the gpg signature for
11366
a revision. (Robert Collins)
11368
* If you set ``check_signatures=require`` for a path in
11369
``~/.bazaar/branches.conf`` then bzr will invoke your
11370
``gpg_signing_command`` (defaults to gpg) and record a digital signature
11371
of your commit. (Robert Collins)
11373
* New sftp transport, based on Paramiko. (Robey Pointer)
11375
* 'bzr pull' now accepts '--clobber' which will discard local changes
11376
and make this branch identical to the source branch. (Robert Collins)
11378
* Just give a quieter warning if a plugin can't be loaded, and
11379
put the details in .bzr.log. (Martin Pool)
11381
* 'bzr branch' will now set the branch-name to the last component of the
11382
output directory, if one was supplied.
11384
* If the option ``post_commit`` is set to one (or more) python function
11385
names (must be in the bzrlib namespace), then they will be invoked
11386
after the commit has completed, with the branch and ``revision_id`` as
11387
parameters. (Robert Collins)
11389
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
11391
* --merge-type weave is now supported for file contents. Tree-shape
11392
changes are still three-way based. (Martin Pool, Aaron Bentley)
11394
* 'bzr check' allows the first revision on revision-history to have
11395
parents - something that is expected for cheap checkouts, and occurs
11396
when conversions from baz do not have all history. (Robert Collins).
11398
* 'bzr merge' can now graft unrelated trees together, if your specify
11399
0 as a base. (Aaron Bentley)
11401
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
11404
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
11406
* 'bzr merge --reprocess' minimizes conflicts
11411
* The 'bzr selftest --pattern' option for has been removed, now
11412
test specifiers on the command line can be simple strings, or
11413
regexps, or both. (Robert Collins)
11415
* Passing -v to selftest will now show the time each test took to
11416
complete, which will aid in analysing performance regressions and
11417
related questions. (Robert Collins)
11419
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
11420
is given. (Martin Pool)
11422
* There is a new method for TestCaseInTempDir, assertFileEqual, which
11423
will check that a given content is equal to the content of the named
11424
file. (Robert Collins)
11426
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
11432
* New 'testament' command and concept for making gpg-signatures
11433
of revisions that are not tied to a particular internal
11434
representation. (Martin Pool).
11436
* Per-revision properties ('revprops') as key-value associated
11437
strings on each revision created when the revision is committed.
11438
Intended mainly for the use of external tools. (Martin Pool).
11440
* Config options have moved from bzrlib.osutils to bzrlib.config.
11443
* Improved command line option definitions allowing explanations
11444
for individual options, among other things. Contributed by
11447
* Config options have moved from bzrlib.osutils to bzrlib.config.
11448
Configuration is now done via the config.Config interface:
11449
Depending on whether you have a Branch, a Location or no information
11450
available, construct a ``*Config``, and use its ``signature_checking``,
11451
``username`` and ``user_email`` methods. (Robert Collins)
11453
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
11454
they are made available for other plugins to use. You should not
11455
import other plugins during the ``__init__`` of your plugin though, as
11456
no ordering is guaranteed, and the plugins directory is not on the
11457
python path. (Robert Collins)
11459
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
11460
no longer takes an inventory, rather it takes an option branch
11461
parameter, and if None is given will open the branch at basedir
11462
implicitly. (Robert Collins)
11464
* Cleaner exception structure and error reporting. Suggested by
11465
Scott James Remnant. (Martin Pool)
11467
* Branch.remove has been moved to WorkingTree, which has also gained
11468
``lock_read``, ``lock_write`` and ``unlock`` methods for convenience.
11471
* Two decorators, ``needs_read_lock`` and ``needs_write_lock`` have been
11472
added to the branch module. Use these to cause a function to run in a
11473
read or write lock respectively. (Robert Collins)
11475
* ``Branch.open_containing`` now returns a tuple (Branch, relative-path),
11476
which allows direct access to the common case of 'get me this file
11477
from its branch'. (Robert Collins)
11479
* Transports can register using ``register_lazy_transport``, and they
11480
will be loaded when first used. (Martin Pool)
11482
* 'pull' has been factored out of the command as ``WorkingTree.pull()``.
11483
A new option to WorkingTree.pull has been added, clobber, which will
11484
ignore diverged history and pull anyway.
11487
* config.Config has a ``get_user_option`` call that accepts an option name.
11488
This will be looked up in branches.conf and bazaar.conf as normal.
11489
It is intended that this be used by plugins to support options -
11490
options of built in programs should have specific methods on the config.
11493
* ``merge.merge_inner`` now has tempdir as an optional parameter.
11496
* Tree.kind is not recorded at the top level of the hierarchy, as it was
11497
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
11500
* ``WorkingTree.__del__`` has been removed, it was non deterministic and not
11501
doing what it was intended to. See ``WorkingTree.__init__`` for a comment
11502
about future directions. (Robert Collins/Martin Pool)
11504
* bzrlib.transport.http has been modified so that only 404 urllib errors
11505
are returned as NoSuchFile. Other exceptions will propagate as normal.
11506
This allows debuging of actual errors. (Robert Collins)
11508
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
11509
to apis like 'put', 'get' and 'has'. This is to provide consistent
11510
behaviour - it operates on url's only. (Robert Collins)
11512
* Transports can register using ``register_lazy_transport``, and they
11513
will be loaded when first used. (Martin Pool)
11515
* ``merge_flex`` no longer calls ``conflict_handler.finalize()``, instead that
11516
is called by ``merge_inner``. This is so that the conflict count can be
11517
retrieved (and potentially manipulated) before returning to the caller
11518
of ``merge_inner``. Likewise 'merge' now returns the conflict count to the
11519
caller. (Robert Collins)
11521
* ``revision.revision_graph`` can handle having only partial history for
11522
a revision - that is no revisions in the graph with no parents.
11525
* New ``builtins.branch_files`` uses the standard ``file_list`` rules to
11526
produce a branch and a list of paths, relative to that branch
11529
* New TestCase.addCleanup facility.
11531
* New ``bzrlib.version_info`` tuple (similar to ``sys.version_info``),
11532
which can be used by programs importing bzrlib.
11537
* Better handling of branches in directories with non-ascii names.
11538
(Joel Rosdahl, Panagiotis Papadakos)
11540
* Upgrades of trees with no commits will not fail due to accessing
11541
[-1] in the revision-history. (Andres Salomon)
11547
:Released: 2005-10-12
11552
* Fix problem in pulling over http from machines that do not
11553
allow directories to be listed.
11555
* Avoid harmless warning about invalid hash cache after
11556
upgrading branch format.
11561
* Avoid some unnecessary http operations in branch and pull.
11567
:Released: 2005-10-11
11572
* 'bzr branch' over http initially gives a very high estimate
11573
of completion time but it should fall as the first few
11574
revisions are pulled in. branch is still slow on
11575
high-latency connections.
11580
* bzr-man.py has been updated to work again. Contributed by
11583
* Locking is now done with fcntl.lockf which works with NFS
11584
file systems. Contributed by Harald Meland.
11586
* When a merge encounters a file that has been deleted on
11587
one side and modified on the other, the old contents are
11588
written out to foo.BASE and foo.SIDE, where SIDE is this
11589
or OTHER. Contributed by Aaron Bentley.
11591
* Export was choosing incorrect file paths for the content of
11592
the tarball, this has been fixed by Aaron Bentley.
11594
* Commit will no longer commit without a log message, an
11595
error is returned instead. Contributed by Jelmer Vernooij.
11597
* If you commit a specific file in a sub directory, any of its
11598
parent directories that are added but not listed will be
11599
automatically included. Suggested by Michael Ellerman.
11601
* bzr commit and upgrade did not correctly record new revisions
11602
for files with only a change to their executable status.
11603
bzr will correct this when it encounters it. Fixed by
11606
* HTTP tests now force off the use of ``http_proxy`` for the duration.
11607
Contributed by Gustavo Niemeyer.
11609
* Fix problems in merging weave-based branches that have
11610
different partial views of history.
11612
* Symlink support: working with symlinks when not in the root of a
11613
bzr tree was broken, patch from Scott James Remnant.
11618
* 'branch' now accepts a --basis parameter which will take advantage
11619
of local history when making a new branch. This allows faster
11620
branching of remote branches. Contributed by Aaron Bentley.
11622
* New tree format based on weave files, called version 5.
11623
Existing branches can be upgraded to this format using
11626
* Symlinks are now versionable. Initial patch by
11627
Erik Toubro Nielsen, updated to head by Robert Collins.
11629
* Executable bits are tracked on files. Patch from Gustavo
11632
* 'bzr status' now shows unknown files inside a selected directory.
11633
Patch from Heikki Paajanen.
11635
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
11636
and 'resolve' have needed added, which list and remove those
11637
merge conflicts respectively. A conflicted tree cannot be committed
11638
in. Contributed by Aaron Bentley.
11640
* 'rm' is now an alias for 'remove'.
11642
* Stores now split out their content in a single byte prefixed hash,
11643
dropping the density of files per directory by 256. Contributed by
11646
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
11647
Contributed by Robert Collins.
11649
* 'bzr log' with the default formatter will show merged revisions,
11650
indented to the right. Initial implementation contributed by Gustavo
11651
Niemeyer, made incremental by Robert Collins.
11657
* Test case failures have the exception printed after the log
11658
for your viewing pleasure.
11660
* InventoryEntry is now an abstract base class, use one of the
11661
concrete InventoryDirectory etc classes instead.
11663
* Branch raises an UnsupportedFormatError when it detects a
11664
bzr branch it cannot understand. This allows for precise
11665
handling of such circumstances.
11667
* Remove RevisionReference class; ``Revision.parent_ids`` is now simply a
11668
list of their ids and ``parent_sha1s`` is a list of their corresponding
11669
sha1s (for old branches only at the moment.)
11671
* New method-object style interface for Commit() and Fetch().
11673
* Renamed ``Branch.last_patch()`` to ``Branch.last_revision()``, since
11674
we call them revisions not patches.
11676
* Move ``copy_branch`` to ``bzrlib.clone.copy_branch``. The destination
11677
directory is created if it doesn't exist.
11679
* Inventories now identify the files which were present by
11680
giving the revision *of that file*.
11682
* Inventory and Revision XML contains a version identifier.
11683
This must be consistent with the overall branch version
11684
but allows for more flexibility in future upgrades.
11689
* Removed testsweet module so that tests can be run after
11690
bzr installed by 'bzr selftest'.
11692
* 'bzr selftest' command-line arguments can now be partial ids
11693
of tests to run, e.g. ``bzr selftest test_weave``
11699
:Released: 2005-09-23
11704
* Fixed "branch -r" option.
11706
* Fix remote access to branches containing non-compressed history.
11709
* Better reliability of http server tests. (John Arbash-Meinel)
11711
* Merge graph maximum distance calculation fix. (Aaron Bentley)
11713
* Various minor bug in windows support have been fixed, largely in the
11714
test suite. Contributed by Alexander Belchenko.
11719
* Status now accepts a -r argument to give status between chosen
11720
revisions. Contributed by Heikki Paajanen.
11722
* Revision arguments no longer use +/-/= to control ranges, instead
11723
there is a 'before' namespace, which limits the successive namespace.
11724
For example '$ bzr log -r date:yesterday..before:date:today' will
11725
select everything from yesterday and before today. Contributed by
11728
* There is now a bzr.bat file created by distutils when building on
11729
Windows. Contributed by Alexander Belchenko.
11734
* Removed uuid() as it was unused.
11736
* Improved 'fetch' code for pulling revisions from one branch into
11737
another (used by pull, merged, etc.)
11743
:Released: 2005-09-20
11749
* Adding a file whose parent directory is not versioned will
11750
implicitly add the parent, and so on up to the root. This means
11751
you should never need to explictly add a directory, they'll just
11752
get added when you add a file in the directory. Contributed by
11755
* Ignore ``.DS_Store`` (contains Mac metadata) by default.
11758
* If you set ``BZR_EDITOR`` in the environment, it is checked in
11759
preference to EDITOR and the config file for the interactive commit
11760
editing program. Related to this is a bugfix where a missing program
11761
set in EDITOR would cause editing to fail, now the fallback program
11762
for the operating system is still tried.
11764
* Files that are not directories/symlinks/regular files will no longer
11765
cause bzr to fail, it will just ignore them by default. You cannot add
11766
them to the tree though - they are not versionable.
11772
* Refactor xml packing/unpacking.
11777
* Fixed 'bzr mv' by Ollie Rutherfurd.
11779
* Fixed strange error when trying to access a nonexistent http
11782
* Make sure that the hashcache gets written out if it can't be
11789
* Various Windows fixes from Ollie Rutherfurd.
11791
* Quieten warnings about locking; patch from Matt Lavin.
11797
:Released: 2005-09-02
11802
* ``bzr shell-complete`` command contributed by Clint Adams to
11803
help with intelligent shell completion.
11805
* New expert command ``bzr find-merge-base`` for debugging merges.
11811
* Much better merge support.
11813
* merge3 conflicts are now reported with markers like '<<<<<<<'
11814
(seven characters) which is the same as CVS and pleases things
11821
* ``bzr upgrade`` no longer fails when trying to fix trees that
11822
mention revisions that are not present.
11824
* Fixed bugs in listing plugins from ``bzr plugins``.
11826
* Fix case of $EDITOR containing options for the editor.
11828
* Fix log -r refusing to show the last revision.
11829
(Patch from Goffredo Baroncelli.)
11835
* ``bzr log --show-ids`` shows the revision ids of all parents.
11837
* Externally provided commands on your $BZRPATH no longer need
11838
to recognize --bzr-usage to work properly, and can just handle
11845
* Changed trace messages to go through the standard logging
11846
framework, so that they can more easily be redirected by
11854
:Released: 2005-08-18
11859
* Python plugins, automatically loaded from the directories on
11860
``BZR_PLUGIN_PATH`` or ``~/.bzr.conf/plugins`` by default.
11862
* New 'bzr mkdir' command.
11864
* Commit mesage is fetched from an editor if not given on the
11865
command line; patch from Torsten Marek.
11867
* ``bzr log -m FOO`` displays commits whose message matches regexp
11870
* ``bzr add`` with no arguments adds everything under the current directory.
11872
* ``bzr mv`` does move or rename depending on its arguments, like
11875
* ``bzr missing`` command shows a summary of the differences
11876
between two trees. (Merged from John Arbash-Meinel.)
11878
* An email address for commits to a particular tree can be
11879
specified by putting it into .bzr/email within a branch. (Based
11880
on a patch from Heikki Paajanen.)
11886
* Faster working tree operations.
11892
* 3rd-party modules shipped with bzr are copied within the bzrlib
11893
python package, so that they can be installed by the setup
11894
script without clashing with anything already existing on the
11895
system. (Contributed by Gustavo Niemeyer.)
11897
* Moved plugins directory to bzrlib/, so that there's a standard
11898
plugin directory which is not only installed with bzr itself but
11899
is also available when using bzr from the development tree.
11900
``BZR_PLUGIN_PATH`` and ``DEFAULT_PLUGIN_PATH`` are then added to the
11901
standard plugins directory.
11903
* When exporting to a tarball with ``bzr export --format tgz``, put
11904
everything under a top directory rather than dumping it into the
11905
current directory. This can be overridden with the ``--root``
11906
option. Patch from William Dodé and John Meinel.
11908
* New ``bzr upgrade`` command to upgrade the format of a branch,
11909
replacing ``bzr check --update``.
11911
* Files within store directories are no longer marked readonly on
11914
* Changed ``bzr log`` output to a more compact form suggested by
11915
John A Meinel. Old format is available with the ``--long`` or
11916
``-l`` option, patched by William Dodé.
11918
* By default the commit command refuses to record a revision with
11919
no changes unless the ``--unchanged`` option is given.
11921
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
11922
line options must come before the command name because they
11923
affect what commands are available; all other options must come
11924
after the command name because their interpretation depends on
11927
* ``branch`` and ``clone`` added as aliases for ``branch``.
11929
* Default log format is back to the long format; the compact one
11930
is available with ``--short``.
11936
* Fix bugs in committing only selected files or within a subdirectory.
11942
:Released: 2005-06-15
11947
* ``bzr`` with no command now shows help rather than giving an
11948
error. Suggested by Michael Ellerman.
11950
* ``bzr status`` output format changed, because svn-style output
11951
doesn't really match the model of bzr. Now files are grouped by
11952
status and can be shown with their IDs. ``bzr status --all``
11953
shows all versioned files and unknown files but not ignored files.
11955
* ``bzr log`` runs from most-recent to least-recent, the reverse
11956
of the previous order. The previous behaviour can be obtained
11957
with the ``--forward`` option.
11959
* ``bzr inventory`` by default shows only filenames, and also ids
11960
if ``--show-ids`` is given, in which case the id is the second
11967
* New 'bzr whoami --email' option shows only the email component
11968
of the user identification, from Jo Vermeulen.
11970
* New ``bzr ignore PATTERN`` command.
11972
* Nicer error message for broken pipe, interrupt and similar
11973
conditions that don't indicate an internal error.
11975
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
11977
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
11978
either read or write mode.
11980
* New option ``bzr log --show-ids`` shows revision and file ids.
11982
* New usage ``bzr log FILENAME`` shows only revisions that
11983
affected that file.
11985
* Changed format for describing changes in ``bzr log -v``.
11987
* New option ``bzr commit --file`` to take a message from a file,
11988
suggested by LarstiQ.
11990
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
11991
Oler. File may be in a branch other than the working directory.
11993
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
11996
* Commands can now be defined by external programs or scripts
11997
in a directory on $BZRPATH.
11999
* New "stat cache" avoids reading the contents of files if they
12000
haven't changed since the previous time.
12002
* If the Python interpreter is too old, try to find a better one
12003
or give an error. Based on a patch from Fredrik Lundh.
12005
* New optional parameter ``bzr info [BRANCH]``.
12007
* New form ``bzr commit SELECTED`` to commit only selected files.
12009
* New form ``bzr log -r FROM:TO`` shows changes in selected
12010
range; contributed by John A Meinel.
12012
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
12013
options through to an external GNU diff.
12015
* New option ``bzr add --no-recurse`` to add a directory but not
12018
* ``bzr --version`` now shows more information if bzr is being run
12025
* Fixed diff format so that added and removed files will be
12026
handled properly by patch. Fix from Lalo Martins.
12028
* Various fixes for files whose names contain spaces or other
12035
* Converted black-box test suites from Bourne shell into Python;
12036
now run using ``./testbzr``. Various structural improvements to
12039
* testbzr by default runs the version of bzr found in the same
12040
directory as the tests, or the one given as the first parameter.
12042
* testbzr also runs the internal tests, so the only command
12043
required to check is just ``./testbzr``.
12045
* testbzr requires python2.4, but can be used to test bzr running
12046
under a different version.
12048
* Tests added for many other changes in this release.
12054
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
12056
* Refactor command functions into Command objects based on HCT by
12057
Scott James Remnant.
12059
* Better help messages for many commands.
12061
* Expose ``bzrlib.open_tracefile()`` to start the tracefile; until
12062
this is called trace messages are just discarded.
12064
* New internal function ``find_touching_revisions()`` and hidden
12065
command touching-revisions trace the changes to a given file.
12067
* Simpler and faster ``compare_inventories()`` function.
12069
* ``bzrlib.open_tracefile()`` takes a tracefilename parameter.
12071
* New AtomicFile class.
12073
* New developer commands ``added``, ``modified``.
12079
* Cope on Windows on python2.3 by using the weaker random seed.
12080
2.4 is now only recommended.
12086
:Released: 2005-04-22
12091
* 'bzr diff' optionally takes a list of files to diff. Still a bit
12092
basic. Patch from QuantumG.
12094
* More default ignore patterns.
12096
* New 'bzr log --verbose' shows a list of files changed in the
12097
changeset. Patch from Sebastian Cote.
12099
* Roll over ~/.bzr.log if it gets too large.
12101
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
12104
* New 'bzr help commands' based on a patch from Denys Duchier.
12110
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
12111
or $EMAIL. All are decoded by the locale preferred encoding.
12112
If none of these are present user@hostname is used. The host's
12113
fully-qualified name is not used because that tends to fail when
12114
there are DNS problems.
12116
* New 'bzr whoami' command instead of username user-email.
12122
* Make commit safe for hardlinked bzr trees.
12124
* Some Unicode/locale fixes.
12126
* Partial workaround for ``difflib.unified_diff`` not handling
12127
trailing newlines properly.
12133
* Allow docstrings for help to be in PEP0257 format. Patch from
12136
* More tests in test.sh.
12138
* Write profile data to a temporary file not into working
12139
directory and delete it when done.
12141
* Smaller .bzr.log with process ids.
12147
* Fix opening of ~/.bzr.log on Windows. Patch from Andrew
12150
* Some improvements in handling paths on Windows, based on a patch
12157
:Released: 2005-04-06
12162
* New "directories" internal command lists versioned directories
12165
* Can now say "bzr commit --help".
12167
* New "rename" command to rename one file to a different name
12170
* New "move" command to move one or more files into a different
12173
* New "renames" command lists files renamed since base revision.
12175
* New cat command contributed by janmar.
12180
* .bzr.log is placed in $HOME (not pwd) and is always written in
12181
UTF-8. (Probably not a completely good long-term solution, but
12187
* Workaround for difflib bug in Python 2.3 that causes an
12188
exception when comparing empty files. Reported by Erik Toubro
12194
* Refactored inventory storage to insert a root entry at the top.
12199
* Start of shell-based black-box testing in test.sh.
6838
* Win32 fixes from Steve Brown.
6841
bzr-0.0.2 "black cube" 2005-03-31
6842
-----------------------------------
6846
* Default ignore list extended (see bzrlib/__init__.py).
6848
* Patterns in .bzrignore are now added to the default ignore list,
6849
rather than replacing it.
6851
* Ignore list isn't reread for every file.
6855
* Reinstate the 'bzr check' command to check invariants of the
6858
* New 'ignored' command lists which files are ignored and why;
6859
'deleted' lists files deleted in the current working tree.
6861
* Performance improvements.
6863
* New global --profile option.
6865
* Ignore patterns like './config.h' now correctly match files in
6866
the root directory only.
6869
bzr-0.0.1 2005-03-26
6870
---------------------
6874
* More information from info command.
6876
* Can now say "bzr help COMMAND" for more detailed help.
6878
* Less file flushing and faster performance when writing logs and
6879
committing to stores.
6881
* More useful verbose output from some commands.
6885
* Fix inverted display of 'R' and 'M' during 'commit -v'.
6889
* Include a subset of ElementTree-1.2.20040618 to make
6890
installation easier.
6892
* Fix time.localtime call to work with Python 2.3 (the minimum
6896
bzr-0.0.0.69 2005-03-22
6897
------------------------
6901
* First public release.
6903
* Storage of local versions: init, add, remove, rm, info, log,
12208
* Win32 fixes from Steve Brown.
12214
:Codename: "black cube"
12215
:Released: 2005-03-31
12220
* Default ignore list extended (see bzrlib/__init__.py).
12222
* Patterns in .bzrignore are now added to the default ignore list,
12223
rather than replacing it.
12225
* Ignore list isn't reread for every file.
12227
* More help topics.
12229
* Reinstate the 'bzr check' command to check invariants of the
12232
* New 'ignored' command lists which files are ignored and why;
12233
'deleted' lists files deleted in the current working tree.
12235
* Performance improvements.
12237
* New global --profile option.
12239
* Ignore patterns like './config.h' now correctly match files in
12240
the root directory only.
12246
:Released: 2005-03-26
12251
* More information from info command.
12253
* Can now say "bzr help COMMAND" for more detailed help.
12255
* Less file flushing and faster performance when writing logs and
12256
committing to stores.
12258
* More useful verbose output from some commands.
12263
* Fix inverted display of 'R' and 'M' during 'commit -v'.
12268
* Include a subset of ElementTree-1.2.20040618 to make
12269
installation easier.
12271
* Fix time.localtime call to work with Python 2.3 (the minimum
12278
:Released: 2005-03-22
12283
* First public release.
12285
* Storage of local versions: init, add, remove, rm, info, log,
6907
vim: tw=74 ft=rst ff=unix
12290
vim: tw=74 ft=rst ff=unix encoding=utf-8