5
* Handle the case when you delete a file, and then rename another file
6
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
7
status`` should show the removed file and an unknown file in its
8
place. (John Arbash Meinel, #109993)
10
* Bundles properly read and write revision properties that have an
11
empty value. And when the value is not ASCII.
12
(John Arbash Meinel, #109613)
14
* Fix the bzr commit message to be in text mode.
15
(Alexander Belchenko, #110901)
17
* Also handle when you rename a file and create a file where it used
18
to be. (John Arbash Meinel, #110256)
20
* ``WorkingTree4._iter_changes`` should not descend into unversioned
21
directories. (John Arbash Meinel, #110399)
23
bzr 0.16rc1 2007-04-26
27
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
28
it could be recovered again.
29
This has been done for consistency with svn and the unix rm command.
30
The old ``remove`` behaviour has been retained in the new option
31
``bzr remove --keep``, which will just stop versioning the file,
33
``bzr remove --force`` have been added which will always delete the
35
``bzr remove`` is also more verbose.
36
(Marius Kruger, #82602)
40
* Merge directives can now be supplied as input to `merge` and `pull`,
41
like bundles can. (Aaron Bentley)
43
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
44
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
45
to continue. This can be disabled by setting the environment variable
46
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
48
* selftest now supports --list-only to list tests instead of running
49
them. (Ian Clatworthy)
51
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
52
tests with names that match that regular expression.
53
(Ian Clatworthy, #102679)
55
* selftest now supports --randomize SEED to run tests in a random order.
56
SEED is typically the value 'now' meaning 'use the current time'.
57
(Ian Clatworthy, #102686)
59
* New option ``--fixes`` to commit, which stores bug fixing annotations as
60
revision properties. Built-in support for Launchpad, Debian, Trac and
61
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
63
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
64
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
67
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
70
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
71
into using local variables instead of going through ``self._var``.
72
Improves the time to ``merge_sort`` a 10k revision graph by
73
approximately 40% (~700->400ms). (John Arbash Meinel)
75
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
78
* ``bzr help`` now provides cross references to other help topics using
79
the _see_also facility on command classes. Likewise the bzr_man
80
documentation, and the bzr.1 man page also include this information.
83
* Tags are now included in logs, that use the long log formatter.
84
(Erik Bågfors, Alexander Belchenko)
86
* ``bzr help`` provides a clearer message when a help topic cannot be
87
found. (Robert Collins, #107656)
89
* ``bzr help`` now accepts optional prefixes for command help. The help
90
for all commands can now be found at ``bzr help commands/COMMANDNAME``
91
as well as ``bzr help COMMANDNAME`` (which only works for commands
92
where the name is not the same as a more general help topic).
95
* ``bzr help PLUGINNAME`` will now return the module docstring from the
96
plugin PLUGINNAME. (Robert Collins, #50408)
98
* New help topic ``urlspec`` which lists the availables transports.
101
* doc/server.txt updated to document the default bzr:// port
102
and also update the blurb about the hpss' current status.
103
(Robert Collins, #107125).
105
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
106
serve out to the local LAN (and anyone in the world that can reach the
107
machine running ``bzr serve``. (Robert Collins, #98918)
109
* A new smart server protocol version has been added. It prefixes requests
110
and responses with an explicit version identifier so that future protocol
111
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
113
* The bzr protocol version 2 indicates success or failure in every response
114
without depending on particular commands encoding that consistently,
115
allowing future client refactorings to be much more robust about error
116
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
118
* The smart protocol over HTTP client has been changed to always post to the
119
same ``.bzr/smart`` URL under the original location when it can. This allows
120
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
121
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
123
* digest authentication is now supported for proxies and HTTP by the urllib
124
based http implementation. Tested against Apache 2.0.55 and Squid
125
2.6.5. Basic and digest authentication are handled coherently for HTTP
126
and proxy: if the user is provided in the url (bzr command line for HTTP,
127
proxy environment variables for proxies), the password is prompted for
128
(only once). If the password is provided, it is taken into account. Once
129
the first authentication is successful, all further authentication
130
roundtrips are avoided by preventively setting the right authentication
136
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
137
code paths. (Robert Collins)
139
* Change the format of chroot urls so that they can be safely manipulated
140
by generic url utilities without causing the resulting urls to have
141
escaped the chroot. A side effect of this is that creating a chroot
142
requires an explicit action using a ChrootServer.
143
(Robert Collins, Andrew Bennetts)
145
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
146
rather than fixing bug #96847. (Aaron Bentley)
148
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
149
``WorkingTree._write_inventory``. (Aaron Bentley)
151
* Convenience method ``TestCase.expectFailure`` ensures that known failures
152
do not silently pass. (Aaron Bentley)
154
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
155
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
157
* New SmartServer hooks facility. There are two initial hooks documented
158
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
159
plugins to execute code upon server startup and shutdown.
162
* SmartServer in standalone mode will now close its listening socket
163
when it stops, rather than waiting for garbage collection. This primarily
164
fixes test suite hangs when a test tries to connect to a shutdown server.
165
It may also help improve behaviour when dealing with a server running
166
on a specific port (rather than dynamically assigned ports).
169
* Move most SmartServer code into a new package, bzrlib/smart.
170
bzrlib/transport/remote.py contains just the Transport classes that used
171
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
173
* urllib http implementation avoid roundtrips associated with
174
401 (and 407) errors once the authentication succeeds.
177
* urlib http now supports querying the user for a proxy password if
178
needed. Realm is shown in the prompt for both HTTP and proxy
179
authentication when the user is required to type a password.
182
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
183
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
184
consistent with its new home in ``bzrlib/transport/remote.py``, and because
185
it's not really a "smart" transport, just one that does file operations
186
via remote procedure calls. (Andrew Bennetts)
188
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
189
``Branch`` now accept a ``token`` keyword argument, so that separate
190
instances of those objects can share a lock if it has the right token.
191
(Andrew Bennetts, Robert Collins)
193
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
194
branch references - which the smart server component needs.
196
* The Repository API ``make_working_trees`` is now permitted to return
197
False when ``set_make_working_trees`` is not implemented - previously
198
an unimplemented ``set_make_working_trees`` implied the result True
199
from ``make_working_trees``. This has been changed to accomodate the
200
smart server, where it does not make sense (at this point) to ever
201
make working trees by default. (Robert Collins)
203
* Command objects can now declare related help topics by having _see_also
204
set to a list of related topic. (Robert Collins)
206
* ``bzrlib.help`` now delegates to the Command class for Command specific
207
help. (Robert Collins)
209
* New class ``TransportListRegistry``, derived from the Registry class, which
210
simplifies tracking the available Transports. (Goffredo Baroncelli)
212
* New function ``Branch.get_revision_id_to_revno_map`` which will
213
return a dictionary mapping revision ids to dotted revnos. Since
214
dotted revnos are defined in the context of the branch tip, it makes
215
sense to generate them from a ``Branch`` object.
218
* Fix the 'Unprintable error' message display to use the repr of the
219
exception that prevented printing the error because the str value
220
for it is often not useful in debugging (e.g. KeyError('foo') has a
221
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
222
useful. (Robert Collins)
224
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
229
* Don't fail bundle selftest if email has 'two' embedded.
230
(Ian Clatworthy, #98510)
232
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
233
(Robert Widhopf-Fenk, #98591)
235
* Remove ``--basis`` from the checkout/branch commands - it didn't work
236
properly and is no longer beneficial.
237
(Robert Collins, #53675, #43486)
239
* Don't produce encoding error when adding duplicate files.
242
* Fix ``bzr log <file>`` so it only logs the revisions that changed
243
the file, and does it faster.
244
(Kent Gibson, John Arbash Meinel, #51980, #69477)
246
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
247
an empty versioned directory, which now has files in it.
248
(John Arbash Meinel, #104257)
250
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
251
inside the ancestry of the other. Saves a lot of graph processing
252
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
253
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
255
* Fix ``show_diff_trees`` to handle the case when a file is modified,
256
and the containing directory is renamed. (The file path is different
257
in this versus base, but it isn't marked as a rename).
258
(John Arbash Meinel, #103870)
260
* FTP now works even when the FTP server does not support atomic rename.
261
(Aaron Bentley, #89436)
263
* Correct handling in bundles and merge directives of timezones with
264
that are not an integer number of hours offset from UTC. Always
265
represent the epoch time in UTC to avoid problems with formatting
266
earlier times on win32. (Martin Pool, Alexander Belchenko, John
269
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
271
* "dirstate" and "dirstate-tags" formats now produce branches compatible
272
with old versions of bzr. (Aaron Bentley, #107168))
274
* Handle moving a directory when children have been added, removed,
275
and renamed. (John Arbash Meinel, #105479)
277
* Don't preventively use basic authentication for proxy before receiving a
278
407 error. Otherwise people willing to use other authentication schemes
279
may expose their password in the clear (or nearly). This add one
280
roundtrip in case basic authentication should be used, but plug the
284
* Handle http and proxy digest authentication.
285
(Vincent Ladeuil, #94034).
289
* Added ``bzrlib.strace.strace`` which will strace a single callable and
290
return a StraceResult object which contains just the syscalls involved
291
in running it. (Robert Collins)
293
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
294
default time down to one suitable for tests. (Andrew Bennetts)
296
* Add new ``vfs_transport_factory`` attribute on tests which provides the
297
common vfs backing for both the readonly and readwrite transports.
298
This allows the RemoteObject tests to back onto local disk or memory,
299
and use the existing ``transport_server`` attribute all tests know about
300
to be the smart server transport. This in turn allows tests to
301
differentiate between 'transport to access the branch', and
302
'transport which is a VFS' - which matters in Remote* tests.
303
(Robert Collins, Andrew Bennetts)
305
* The ``make_branch_and_tree`` method for tests will now create a
306
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
307
a LocalURLServer. (Robert Collins, Andrew Bennetts)
309
* Branch implementation tests have been audited to ensure that all urls
310
passed to Branch APIs use proper urls, except when local-disk paths
311
are intended. This is so that tests correctly access the test transport
312
which is often not equivalent to local disk in Remote* tests. As part
313
of this many tests were adjusted to remove dependencies on local disk
315
(Robert Collins, Andrew Bennetts)
317
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
318
functions by adding a ``__unittest`` global attribute. (Robert Collins,
319
Andrew Bennetts, Martin Pool, Jonathan Lange)
321
* Refactored proxy and authentication handling to simplify the
322
implementation of new auth schemes for both http and proxy.
329
* Handle incompatible repositories as a user issue when fetching.
332
* Don't give a recommendation to upgrade when branching or
333
checking out a branch that contains an old-format working tree.
336
bzr 0.15rc3 2007-03-26
340
* A warning is now displayed when opening working trees in older
341
formats, to encourage people to upgrade to WorkingTreeFormat4.
346
* HTTP redirections are now taken into account when a branch (or a
347
bundle) is accessed for the first time. A message is issued at each
348
redirection to inform the user. In the past, http redirections were
349
silently followed for each request which significantly degraded the
350
performances. The http redirections are not followed anymore by
351
default, instead a RedirectRequested exception is raised. For bzrlib
352
users needing to follow http redirections anyway,
353
``bzrlib.transport.do_catching_redirections`` provide an easy transition
358
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
359
lock to an OS write lock. Linux can do this without unlocking, Win32
360
needs to unlock in between. (John Arbash Meinel)
362
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
363
to silence (when false) warnings about opening old formats.
366
* Fix minor performance regression with bzr-0.15 on pre-dirstate
367
trees. (We were reading the working inventory too many times).
370
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
371
``revision_history``. Branch subclasses should override
372
``_gen_revision_history`` rather than ``revision_history`` to make use of
373
this cache, and call ``_clear_revision_history_cache`` and
374
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
378
* Take ``smtp_server`` from user config into account.
381
* Restore Unicode filename handling for versioned and unversioned files.
382
(John Arbash Meinel, #92608)
384
* Don't fail during ``bzr commit`` if a file is marked removed, and
385
the containing directory is auto-removed. (John Arbash Meinel, #93681)
387
* ``bzr status FILENAME`` failed on Windows because of an uncommon
388
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
389
(Wouter van Heyst, John Arbash Meinel, #90819)
391
* ``bzr checkout source`` should create a local branch in the same
392
format as source. (John Arbash Meinel, #93854)
394
* ``bzr commit`` with a kind change was failing to update the
395
last-changed-revision for directories. The
396
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
397
ignoring the fact that the kind could have changed, too.
398
(John Arbash Meinel, #90111)
400
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
401
the directory. So that there was a chance it would break commit,
402
etc. (John Arbash Meinel, #94037)
404
* Correctly handles mutiple permanent http redirections.
407
bzr 0.15rc2 2007-03-14
409
NOTES WHEN UPGRADING:
411
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
412
default to ``--trees`` instead of ``--no-trees``.
413
Existing shared repositories are not affected.
417
* New ``merge-directive`` command to generate machine- and human-readable
418
merge requests. (Aaron Bentley)
420
* New ``submit:`` revision specifier makes it easy to diff against the
421
common ancestor with the submit location (Aaron Bentley)
423
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
425
* Added ``bzr status --versioned`` to report only versioned files,
426
not unknowns. (Kent Gibson)
428
* Merge now autodetects the correct line-ending style for its conflict
429
markers. (Aaron Bentley)
433
* Refactored SSH vendor registration into SSHVendorManager class.
438
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
439
numbered dirs for TestCaseInTempDir. This is default behavior
440
on Windows. Anyone can force named dirs on Windows
441
with ``--no-numbered-dirs``. (Alexander Belchenko)
443
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
444
from the command line. (Marien Zwart, #90501)
446
* Fix ``TreeTransform._iter_changes`` when both the source and
447
destination are missing. (Aaron Bentley, #88842)
449
* Fix commit of merges with symlinks in dirstate trees.
452
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
453
(Wouter van Heyst, #53483)
456
bzr 0.15rc1 2007-03-07
460
* The default disk format has changed. Please run 'bzr upgrade' in your
461
working trees to upgrade. This new default is compatible for network
462
operations, but not for local operations. That is, if you have two
463
versions of bzr installed locally, after upgrading you can only use the
464
bzr 0.15 version. This new default does not enable tags or nested-trees
465
as they are incompatible with bzr versions before 0.15 over the network.
467
* For users of bzrlib: Two major changes have been made to the working tree
468
api in bzrlib. The first is that many methods and attributes, including
469
the inventory attribute, are no longer valid for use until one of
470
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
471
and become invalid again after unlock is called. This has been done
472
to improve performance and correctness as part of the dirstate
474
(Robert Collins, John A Meinel, Martin Pool, and others).
476
* For users of bzrlib: The attribute 'tree.inventory' should be considered
477
readonly. Previously it was possible to directly alter this attribute, or
478
its contents, and have the tree notice this. This has been made
479
unsupported - it may work in some tree formats, but in the newer dirstate
480
format such actions will have no effect and will be ignored, or even
481
cause assertions. All operations possible can still be carried out by a
482
combination of the tree API, and the bzrlib.transform API. (Robert
483
Collins, John A Meinel, Martin Pool, and others).
487
* Support for OS Windows 98. Also .bzr.log on any windows system
488
saved in My Documents folder. (Alexander Belchenko)
490
* ``bzr mv`` enhanced to support already moved files.
491
In the past the mv command would have failed if the source file doesn't
492
exist. In this situation ``bzr mv`` would now detect that the file has
493
already moved and update the repository accordingly, if the target file
495
A new option ``--after`` has been added so that if two files already
496
exist, you could notify Bazaar that you have moved a (versioned) file
497
and replaced it with another. Thus in this case ``bzr move --after``
498
will only update the Bazaar identifier.
499
(Steffen Eichenberg, Marius Kruger)
501
* ``ls`` now works on treeless branches and remote branches.
504
* ``bzr help global-options`` describes the global options.
507
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
510
* Files are now allowed to change kind (e.g. from file to symlink).
511
Supported by ``commit``, ``revert`` and ``status``
514
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
517
* ``bzr help checkouts`` descibes what checkouts are and some possible
518
uses of them. (James Westby, Aaron Bentley)
520
* A new ``-d`` option to push, pull and merge overrides the default
521
directory. (Martin Pool)
523
* Branch format 6: smaller, and potentially faster than format 5. Supports
524
``append_history_only`` mode, where the log view and revnos do not change,
525
except by being added to. Stores policy settings in
526
".bzr/branch/branch.conf".
528
* ``append_only`` branches: Format 6 branches may be configured so that log
529
view and revnos are always consistent. Either create the branch using
530
"bzr init --append-revisions-only" or edit the config file as descriped
531
in docs/configuration.txt.
533
* rebind: Format 6 branches retain the last-used bind location, so if you
534
"bzr unbind", you can "bzr bind" to bind to the previously-selected
537
* Builtin tags support, created and deleted by the ``tag`` command and
538
stored in the branch. Tags can be accessed with the revisionspec
539
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
540
at present. Tags require a network incompatible upgrade. To perform this
541
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
542
repositories. (Martin Pool)
544
* The ``bzr://`` transport now has a well-known port number, 4155,
545
which it will use by default. (Andrew Bennetts, Martin Pool)
547
* Bazaar now looks for user-installed plugins before looking for site-wide
548
plugins. (Jonathan Lange)
550
* ``bzr resolve`` now detects and marks resolved text conflicts.
555
* Internally revision ids and file ids are now passed around as utf-8
556
bytestrings, rather than treating them as Unicode strings. This has
557
performance benefits for Knits, since we no longer need to decode the
558
revision id for each line of content, nor for each entry in the index.
559
This will also help with the future dirstate format.
562
* Reserved ids (any revision-id ending in a colon) are rejected by
563
versionedfiles, repositories, branches, and working trees
566
* Minor performance improvement by not creating a ProgressBar for
567
every KnitIndex we create. (about 90ms for a bzr.dev tree)
570
* New easier to use Branch hooks facility. There are five initial hooks,
571
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
572
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
573
``'post_uncommit'``. These hooks fire after the matching operation
574
on a branch has taken place, and were originally added for the
575
branchrss plugin. (Robert Collins)
577
* New method ``Branch.push()`` which should be used when pushing from a
578
branch as it makes performance and policy decisions to match the UI
579
level command ``push``. (Robert Collins).
581
* Add a new method ``Tree.revision_tree`` which allows access to cached
582
trees for arbitrary revisions. This allows the in development dirstate
583
tree format to provide access to the callers to cached copies of
584
inventory data which are cheaper to access than inventories from the
586
(Robert Collins, Martin Pool)
588
* New ``Branch.last_revision_info`` method, this is being done to allow
589
optimization of requests for both the number of revisions and the last
590
revision of a branch with smartservers and potentially future branch
591
formats. (Wouter van Heyst, Robert Collins)
593
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
594
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
595
other for code reuse without requiring users to perform file-renaming
596
gymnastics. (Robert Collins)
598
* New Repository method ``'gather_stats'`` for statistic data collection.
599
This is expected to grow to cover a number of related uses mainly
600
related to bzr info. (Robert Collins)
602
* Log formatters are now managed with a registry.
603
``log.register_formatter`` continues to work, but callers accessing
604
the FORMATTERS dictionary directly will not.
606
* Allow a start message to be passed to the ``edit_commit_message``
607
function. This will be placed in the message offered to the user
608
for editing above the separator. It allows a template commit message
609
to be used more easily. (James Westby)
611
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
612
you pass a Unicode string rather than an 8-bit string. Callers need
613
to be updated to encode first. (John Arbash Meinel)
615
* Branch.push, pull, merge now return Result objects with information
616
about what happened, rather than a scattering of various methods. These
617
are also passed to the post hooks. (Martin Pool)
619
* File formats and architecture is in place for managing a forest of trees
620
in bzr, and splitting up existing trees into smaller subtrees, and
621
finally joining trees to make a larger tree. This is the first iteration
622
of this support, and the user-facing aspects still require substantial
623
work. If you wish to experiment with it, use ``bzr upgrade
624
--dirstate-with-subtree`` in your working trees and repositories.
625
You can use the hidden commands ``split`` and ``join`` and to create
626
and manipulate nested trees, but please consider using the nested-trees
627
branch, which contains substantial UI improvements, instead.
628
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
629
(Aaron Bentley, Martin Pool, Robert Collins).
633
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
634
branch, rather than the last changed revision of the file.
635
(John Arbash Meinel, #82158)
637
* Lock operations no longer hang if they encounter a permission problem.
640
* ``bzr push`` can resume a push that was canceled before it finished.
641
Also, it can push even if the target directory exists if you supply
642
the ``--use-existing-dir`` flag.
643
(John Arbash Meinel, #30576, #45504)
645
* Fix http proxy authentication when user and an optional
646
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
649
* ``bzr log branch/file`` works for local treeless branches
650
(Aaron Bentley, #84247)
652
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
654
* Searching location of CA bundle for PyCurl in env variable
655
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
656
(Alexander Belchenko, #82086)
658
* ``bzr init`` works with unicode argument LOCATION.
659
(Alexander Belchenko, #85599)
661
* Raise ``DependencyNotPresent`` if pycurl do not support https.
662
(Vincent Ladeuil, #85305)
664
* Invalid proxy env variables should not cause a traceback.
665
(Vincent Ladeuil, #87765)
667
* Ignore patterns normalised to use '/' path separator.
668
(Kent Gibson, #86451)
670
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
672
* Fix bzrtools shelve command for removed lines beginning with "--"
673
(Johan Dahlberg, #75577)
677
* New ``--first`` option to ``bzr selftest`` to run specified tests
678
before the rest of the suite. (Martin Pool)
685
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
689
* Skip documentation generation tests if the tools to do so are not
690
available. Fixes running selftest for installled copies of bzr.
691
(John Arbash Meinel, #80330)
693
* Fix the code that discovers whether bzr is being run from it's
694
working tree to handle the case when it isn't but the directory
695
it is in is below a repository. (James Westby, #77306)
698
bzr 0.14rc1 2007-01-16
702
* New connection: ``bzr+http://`` which supports tunnelling the smart
703
protocol over an HTTP connection. If writing is enabled on the bzr
704
server, then you can write over the http connection.
705
(Andrew Bennetts, John Arbash Meinel)
707
* Aliases now support quotation marks, so they can contain whitespace
710
* PyCurlTransport now use a single curl object. By specifying explicitly
711
the 'Range' header, we avoid the need to use two different curl objects
712
(and two connections to the same server). (Vincent Ladeuil)
714
* ``bzr commit`` does not prompt for a message until it is very likely to
715
succeed. (Aaron Bentley)
717
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
720
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
721
of a list while checking if a revision id was requested. Takes 10s
722
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
723
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
724
filtering lines with a regex rather than multiple ``str.find()``
725
calls. (saves another 300ms) (John Arbash Meinel)
727
* Policy can be set for each configuration key. This allows keys to be
728
inherited properly across configuration entries. For example, this
729
should enable you to do::
732
push_location = sftp://host/srv/project/
733
push_location:policy = appendpath
735
And then a branch like ``/home/user/project/mybranch`` should get an
736
automatic push location of ``sftp://host/srv/project/mybranch``.
739
* Added ``bzr status --short`` to make status report svn style flags
740
for each file. For example::
748
* 'bzr selftest --clean-output' allows easily clean temporary tests
749
directories without running tests. (Alexander Belchenko)
751
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
753
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
754
local is fully merged into remote. (Jan Hudec)
756
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
760
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
761
help speed up processing, as well allowing to extract unannotated
762
lines. Between the two ``fileids_affected_by_revision_ids`` is
763
improved by approx 10%. (John Arbash Meinel)
765
* Change Revision serialization to only write out millisecond
766
resolution. Rather than expecting floating point serialization to
767
preserve more resolution than we need. (Henri Weichers, Martin Pool)
769
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
771
* When ``encoding_type`` attribute of class Command is equal to 'exact',
772
force sys.stdout to be a binary stream on Windows, and therefore
773
keep exact line-endings (without LF -> CRLF conversion).
774
(Alexander Belchenko)
776
* Single-letter short options are no longer globally declared. (Martin
779
* Before using detected user/terminal encoding bzr should check
780
that Python has corresponding codec. (Alexander Belchenko)
782
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
786
* ``bzr missing --verbose`` was showing adds/removals in the wrong
787
direction. (John Arbash Meinel)
789
* ``bzr annotate`` now defaults to showing dotted revnos for merged
790
revisions. It cuts them off at a depth of 12 characters, but you can
791
supply ``--long`` to see the full number. You can also use
792
``--show-ids`` to display the original revision ids, rather than
793
revision numbers and committer names. (John Arbash Meinel, #75637)
795
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
796
(Alexander Belchenko, #57869)
798
* Win32-specific: output of cat, bundle and diff commands don't mangle
799
line-endings (Alexander Belchenko, #55276)
801
* Replace broken fnmatch based ignore pattern matching with custom pattern
803
(Kent Gibson, Jan Hudec #57637)
805
* pycurl and urllib can detect short reads at different places. Update
806
the test suite to test more cases. Also detect http error code 416
807
which was raised for that specific bug. Also enhance the urllib
808
robustness by detecting invalid ranges (and pycurl's one by detecting
809
short reads during the initial GET). (Vincent Ladeuil, #73948)
811
* The urllib connection sharing interacts badly with urllib2
812
proxy setting (the connections didn't go thru the proxy
813
anymore). Defining a proper ProxyHandler solves the
814
problem. (Vincent Ladeuil, #74759)
816
* Use urlutils to generate relative URLs, not osutils
817
(Aaron Bentley, #76229)
819
* ``bzr status`` in a readonly directory should work without giving
820
lots of errors. (John Arbash Meinel, #76299)
822
* Mention the revisionspec topic for the revision option help.
823
(Wouter van Heyst, #31663)
825
* Allow plugins import from zip archives.
826
(Alexander Belchenko, #68124)
831
No changes from 0.13rc1
833
bzr 0.13rc1 2006-11-27
837
* New command ``bzr remove-tree`` allows the removal of the working
841
* urllib uses shared keep-alive connections, so http
842
operations are substantially faster.
843
(Vincent Ladeuil, #53654)
845
* ``bzr export`` allows an optional branch parameter, to export a bzr
846
tree from some other url. For example:
847
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
850
* Added ``bzr help topics`` to the bzr help system. This gives a
851
location for general information, outside of a specific command.
852
This includes updates for ``bzr help revisionspec`` the first topic
853
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
855
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
858
* Knit files will now cache full texts only when the size of the
859
deltas is as large as the size of the fulltext. (Or after 200
860
deltas, whichever comes first). This has the most benefit on large
861
files with small changes, such as the inventory for a large project.
862
(eg For a project with 2500 files, and 7500 revisions, it changes
863
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
867
* New -D option given before the command line turns on debugging output
868
for particular areas. -Derror shows tracebacks on all errors.
871
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
872
and remove benchmarks that take longer than 10min to run.
875
* Use ``time.time()`` instead of ``time.clock()`` to decide on
876
progress throttling. Because ``time.clock()`` is actually CPU time,
877
so over a high-latency connection, too many updates get throttled.
880
* ``MemoryTransport.list_dir()`` would strip the first character for
881
files or directories in root directory. (John Arbash Meinel)
883
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
884
branch references - which the smart server component needs.
886
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
887
prefix. It disallows any access to locations above a set URL. (Andrew
892
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
893
And optimize the knit index parsing code.
894
(Dmitry Vasiliev, John Arbash Meinel)
896
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
897
without importing it. This prevented ``bzr upgrade`` from working
898
unless a plugin already imported ``bzrlib.workingtree``
899
(John Arbash Meinel, #70716)
901
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
903
* Give nicer error message when an http server returns a 403
904
error code. (Vincent Ladeuil, #57644).
906
* When a multi-range http GET request fails, try a single
907
range one. If it fails too, forget about ranges. Remember that until
908
the death of the transport and propagates that to the clones.
909
(Vincent Ladeuil, #62276, #62029).
911
* Handles user/passwords supplied in url from command
912
line (for the urllib implementation). Don't request already
913
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
915
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
916
are added. This fixes bug where fetching remote revisions records
917
them as full references rather than integers.
918
(John Arbash Meinel, #64789)
920
* ``bzr ignore`` strips trailing slashes in patterns.
921
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
923
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
925
* mv correctly handles paths that traverse symlinks.
926
(Aaron Bentley, #66964)
928
* Give nicer looking error messages when failing to connect over ssh.
929
(John Arbash Meinel, #49172)
931
* Pushing to a remote branch does not currently update the remote working
932
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
933
machine now show that the working tree is out of date.
934
(Cheuksan Edward Wang #48136)
936
* Use patiencediff instead of difflib for determining deltas to insert
937
into knits. This avoids the O(N^3) behavior of difflib. Patience
938
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
940
* Running ``bzr log`` on nonexistent file gives an error instead of the
941
entire log history. (Cheuksan Edward Wang #50793)
943
* ``bzr cat`` can look up contents of removed or renamed files. If the
944
pathname is ambiguous, i.e. the files in the old and new trees have
945
different id's, the default is the file in the new tree. The user can
946
use "--name-from-revision" to select the file in the old tree.
947
(Cheuksan Edward Wang, #30190)
951
* TestingHTTPRequestHandler really handles the Range header
952
(previously it was ignoring it and returning the whole file,).
958
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
959
and remove benchmarks that take longer than 10min to run.
962
bzr 0.12rc1 2006-10-23
966
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
967
rather than just showing a decimal revision number for revisions on the
968
mainline. These revision numbers are not yet accepted as input into bzr
969
commands such as log, diff etc. (Robert Collins)
971
* revisions can now be specified using dotted-decimal revision numbers.
972
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
974
* ``bzr help commands`` output is now shorter (Aaron Bentley)
976
* ``bzr`` now uses lazy importing to reduce the startup time. This has
977
a moderate effect on lots of actions, especially ones that have
978
little to do. For example ``bzr rocks`` time is down to 116ms from
979
283ms. (John Arbash Meinel)
981
* New Registry class to provide name-to-object registry-like support,
982
for example for schemes where plugins can register new classes to
983
do certain tasks (e.g. log formatters). Also provides lazy registration
984
to allow modules to be loaded on request.
985
(John Arbash Meinel, Adeodato Simó)
989
* LogFormatter subclasses show now expect the 'revno' parameter to
990
show() to be a string rather than an int. (Robert Collins)
994
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
995
can take a ``working_dir='foo'`` parameter, which will change directory
996
for the command. (John Arbash Meinel)
998
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
999
around a regex, which defers compilation until first use.
1000
(John Arbash Meinel)
1002
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
1003
``--no-plugins`` parameter to ensure test reproducability, and avoid
1004
problems with system-wide installed plugins. (John Arbash Meinel)
1006
* Unique tree root ids are now supported. Newly created trees still
1007
use the common root id for compatibility with bzr versions before 0.12.
1010
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
1011
pass in ``inventory.ROOT_ID`` if you want the default root id value.
1012
(Robert Collins, John Arbash Meinel)
1014
* New method ``WorkingTree.flush()`` which will write the current memory
1015
inventory out to disk. At the same time, ``read_working_inventory`` will
1016
no longer trash the current tree inventory if it has been modified within
1017
the current lock, and the tree will now ``flush()`` automatically on
1018
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
1019
advantage of this functionality. (Robert Collins, John Arbash Meinel)
1021
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
1022
parameter will cause it to add another column to its output, which
1023
contains the dotted-decimal revno for each revision, as a tuple.
1026
* ``LogFormatter.show_merge`` is deprecated in favour of
1027
``LogFormatter.show_merge_revno``. (Robert Collins)
1031
* Avoid circular imports by creating a deprecated function for
1032
``bzrlib.tree.RevisionTree``. Callers should have been using
1033
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
1036
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
1037
platforms. (Martin Pool, #66356)
1039
* Don't require ``Content-Type`` in range responses. Assume they are a
1040
single range if ``Content-Type`` does not exist.
1041
(John Arbash Meinel, #62473)
1043
* bzr branch/pull no longer complain about progress bar cleanup when
1044
interrupted during fetch. (Aaron Bentley, #54000)
1046
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
1047
the basis inventory, rather than going through the repository. This
1048
allows us to have 1 inventory read, and 2 inventory writes when
1049
committing a new tree. (John Arbash Meinel)
1051
* When reverting, files that are not locally modified that do not exist
1052
in the target are deleted, not just unversioned (Aaron Bentley)
1054
* When trying to acquire a lock, don't fail immediately. Instead, try
1055
a few times (up to 1 hour) before timing out. Also, report why the
1056
lock is unavailable (John Arbash Meinel, #43521, #49556)
1058
* Leave HttpTransportBase daughter classes decides how they
1059
implement cloning. (Vincent Ladeuil, #61606)
1061
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
1063
* If a commit fails, the commit message is stored in a file at the root of
1064
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
1069
* New test base class TestCaseWithMemoryTransport offers memory-only
1070
testing facilities: its not suitable for tests that need to mutate disk
1071
state, but most tests should not need that and should be converted to
1072
TestCaseWithMemoryTransport. (Robert Collins)
1074
* ``TestCase.make_branch_and_memory_tree`` now takes a format
1075
option to set the BzrDir, Repository and Branch formats of the
1076
created objects. (Robert Collins, John Arbash Meinel)
1080
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
1082
bzr 0.11rc2 2006-09-27
1086
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
1088
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
1091
bzr 0.11rc1 2006-09-25
1095
* Knit files now wait to create their contents until the first data is
1096
added. The old code used to create an empty .knit and a .kndx with just
1097
the header. However, this caused a lot of extra round trips over sftp.
1098
This can change the time for ``bzr push`` to create a new remote branch
1099
from 160s down to 100s. This also affects ``bzr commit`` performance when
1100
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
1101
down to 40s (John Arbash Meinel, #44692)
1103
* When an entire subtree has been deleted, commit will now report that
1104
just the top of the subtree has been deleted, rather than reporting
1105
all the individual items. (Robert Collins)
1107
* Commit performs one less XML parse. (Robert Collins)
1109
* ``bzr checkout`` now operates on readonly branches as well
1110
as readwrite branches. This fixes bug #39542. (Robert Collins)
1112
* ``bzr bind`` no longer synchronises history with the master branch.
1113
Binding should be followed by an update or push to synchronise the
1114
two branches. This is closely related to the fix for bug #39542.
1117
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
1118
objects. This allows all imports to stay at the global scope, but
1119
modules will not actually be imported if they are not used.
1120
(John Arbash Meinel)
1122
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
1123
transport which will be used with the upcoming high-performance smart
1124
server. The new command ``bzr serve`` will invoke bzr in server mode,
1125
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
1128
* New command ``bzr version-info`` which can be used to get a summary
1129
of the current state of the tree. This is especially useful as part
1130
of a build commands. See ``doc/version_info.txt`` for more information
1131
(John Arbash Meinel)
1135
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
1136
specific set of files. (John Arbash Meinel, #3631)
1138
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
1140
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
1141
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
1142
reading a nested Stanza. (John Arbash Meinel)
1144
* Transform._set_mode() needs to stat the right file.
1145
(John Arbash Meinel, #56549)
1147
* Raise WeaveFormatError rather than StopIteration when trying to read
1148
an empty Weave file. (John Arbash Meinel, #46871)
1150
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
1151
(Vincent Ladeuil, #59835)
1153
* Handle boundary="" lines properly to allow access through a Squid proxy.
1154
(John Arbash Meinel, #57723)
1156
* revert now removes newly-added directories (Aaron Bentley, #54172)
1158
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
1159
isn't a working tree. (David Allouche, #40679)
1161
* Give nicer error messages when a user supplies an invalid --revision
1162
parameter. (John Arbash Meinel, #55420)
1164
* Handle when LANG is not recognized by python. Emit a warning, but
1165
just revert to using 'ascii'. (John Arbash Meinel, #35392)
1167
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
1168
(John Arbash Meinel)
1170
* Skip specific tests when the dependencies aren't met. This includes
1171
some ``setup.py`` tests when ``python-dev`` is not available, and
1172
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
1174
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
1175
the system. (Andrew Bennetts, John Arbash Meinel)
1177
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
1178
other branch, and will not push or pull between the two branches.
1179
API users will need to perform a push or pull or update operation if they
1180
require branch synchronisation to take place. (Robert Collins, #47344)
1182
* When creating a tarball or zipfile export, export unicode names as utf-8
1183
paths. This may not work perfectly on all platforms, but has the best
1184
chance of working in the common case. (John Arbash Meinel, #56816)
1186
* When committing, only files that exist in working tree or basis tree
1187
may be specified (Aaron Bentley, #50793)
1191
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
1195
* TestCaseInTempDir now creates a separate directory for HOME, rather
1196
than having HOME set to the same location as the working directory.
1197
(John Arbash Meinel)
1199
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
1200
which will update os.environ inside the spawned child. It also can
1201
take a ``universal_newlines=True``, which helps when checking the output
1202
of the command. (John Arbash Meinel)
1204
* Refactor SFTP vendors to allow easier re-use when ssh is used.
1207
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
1208
return urlescaped paths. This is now tested (there were bugs in a few
1209
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
1211
* New utility function ``symbol_versioning.deprecation_string``. Returns the
1212
formatted string for a callable, deprecation format pair. (Robert Collins)
1214
* New TestCase helper applyDeprecated. This allows you to call a callable
1215
which is deprecated without it spewing to the screen, just by supplying
1216
the deprecation format string issued for it. (Robert Collins)
1218
* Transport.append and Transport.put have been deprecated in favor of
1219
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
1220
``.put_file``. This removes the ambiguity in what type of object the
1221
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
1222
been added. Which works similarly to ``Transport.append()`` except for
1223
SFTP, it doesn't have a round trip when opening the file. Also, it
1224
provides functionality for creating a parent directory when trying
1225
to create a file, rather than raise NoSuchFile and forcing the
1226
caller to repeat their request.
1227
(John Arbash Meinel)
1229
* WorkingTree has a new api ``unversion`` which allow the unversioning of
1230
entries by their file id. (Robert Collins)
1232
* ``WorkingTree.pending_merges`` is deprecated. Please use the
1233
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
1235
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
1236
read rather than write. This is appropriate for actions which only need
1237
the branch data for reference rather than mutation. A new decorator
1238
``needs_tree_write_lock`` is provided in the workingtree module. Like the
1239
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
1240
declaration of the locking requirements of a function to ensure that
1241
a lock is taken out for casual scripts. (Robert Collins, #54107)
1243
* All WorkingTree methods which write to the tree, but not to the branch
1244
have been converted to use ``needs_tree_write_lock`` rather than
1245
``needs_write_lock``. Also converted is the revert, conflicts and tree
1246
transform modules. This provides a modest performance improvement on
1247
metadir style trees, due to the reduce lock-acquisition, and a more
1248
significant performance improvement on lightweight checkouts from
1249
remote branches, where trivial operations used to pay a significant
1250
penalty. It also provides the basis for allowing readonly checkouts.
1253
* Special case importing the standard library 'copy' module. This shaves
1254
off 40ms of startup time, while retaining compatibility. See:
1255
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
1257
* WorkingTree has a new parent class MutableTree which represents the
1258
specialisations of Tree which are able to be altered. (Robert Collins)
1260
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
1261
mutate the tree and its contents. (Robert Collins)
1263
* Transport behaviour at the root of the URL is now defined and tested.
1264
(Andrew Bennetts, Robert Collins)
1268
* New test helper classs MemoryTree. This is typically accessed via
1269
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
1271
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
1272
code to continue running concurrently with a subprocess of bzr.
1273
(Andrew Bennetts, Robert Collins)
1275
* Add a new method ``Transport.get_smart_client()``. This is provided to
1276
allow upgrades to a richer interface than the VFS one provided by
1277
Transport. (Andrew Bennetts, Martin Pool)
1282
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
1283
tree. (Aaron Bentley)
1285
* 'bzr add --file-ids-from' can be used to specify another path to use
1286
for creating file ids, rather than generating all new ones. Internally,
1287
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
1288
will be used, rather than having bzrlib generate new ones.
1289
(John Arbash Meinel, #55781)
1291
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
1292
This will cache some of the intermediate trees, and decrease the
1293
setup time for benchmark tests. (John Arbash Meinel)
1295
* Inverse forms are provided for all boolean options. For example,
1296
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
1298
* Serialize out Inventories directly, rather than using ElementTree.
1299
Writing out a kernel sized inventory drops from 2s down to ~350ms.
1300
(Robert Collins, John Arbash Meinel)
1304
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
1306
* Change LockDir so that if the lock directory doesn't exist when
1307
``lock_write()`` is called, an attempt will be made to create it.
1308
(John Arbash Meinel, #56974)
1310
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
1312
* Active FTP transport now works as intended. (ghozzy, #56472)
1314
* Really fix mutter() so that it won't ever raise a UnicodeError.
1315
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
1316
But it is a debugging log, not a real user file.
1317
(John Arbash Meinel, #56947, #53880)
1319
* Change Command handle to allow Unicode command and options.
1320
At present we cannot register Unicode command names, so we will get
1321
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
1322
But that is better than a UnicodeError + a traceback.
1323
(John Arbash Meinel, #57123)
1325
* Handle TZ=UTC properly when reading/writing revisions.
1326
(John Arbash Meinel, #55783, #56290)
1328
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
1329
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
1331
* External diff does the right thing for binaries even in foreign
1332
languages. (John Arbash Meinel, #56307)
1334
* Testament handles more cases when content is unicode. Specific bug was
1335
in handling of revision properties.
1336
(John Arbash Meinel, Holger Krekel, #54723)
1338
* The bzr selftest was failing on installed versions due to a bug in a new
1339
test helper. (John Arbash Meinel, Robert Collins, #58057)
1343
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
1344
which can be used to cache the conversion between utf8 and Unicode.
1345
Especially helpful for some of the knit annotation code, which has to
1346
convert revision ids to utf8 to annotate lines in storage.
1347
(John Arbash Meinel)
1349
* ``setup.py`` now searches the filesystem to find all packages which
1350
need to be installed. This should help make the life of packagers
1351
easier. (John Arbash Meinel)
1353
bzr 0.9.0 2006-08-11
1357
* The hard-coded built-in ignore rules have been removed. There are
1358
now two rulesets which are enforced. A user global one in
1359
``~/.bazaar/ignore`` which will apply to every tree, and the tree
1360
specific one '.bzrignore'.
1361
``~/.bazaar/ignore`` will be created if it does not exist, but with
1362
a more conservative list than the old default.
1363
This fixes bugs with default rules being enforced no matter what.
1364
The old list of ignore rules from bzr is available by
1365
running 'bzr ignore --old-default-rules'.
1366
(Robert Collins, Martin Pool, John Arbash Meinel)
1368
* 'branches.conf' has been changed to 'locations.conf', since it can apply
1369
to more locations than just branch locations.
1374
* The revision specifier "revno:" is extended to accept the syntax
1375
revno:N:branch. For example,
1376
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
1377
bzr.dev. (Matthieu Moy)
1379
* Tests updates to ensure proper URL handling, UNICODE support, and
1380
proper printing when the user's terminal encoding cannot display
1381
the path of a file that has been versioned.
1382
``bzr branch`` can take a target URL rather than only a local directory.
1383
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
1384
and normalize the parent based on root, allowing access across
1385
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
1386
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
5
1389
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
6
1390
Use terminal width for single-line logs from ``bzr log --line`` and