7
* Handle the case when you delete a file, and then rename another file
8
on top of it. Also handle the case of ``bzr rm --keep foo``. ``bzr
9
status`` should show the removed file and an unknown file in its
10
place. (John Arbash Meinel, #109993)
12
* Bundles properly read and write revision properties that have an
13
empty value. And when the value is not ASCII.
14
(John Arbash Meinel, #109613)
16
* Fix the bzr commit message to be in text mode.
17
(Alexander Belchenko, #110901)
19
* Also handle when you rename a file and create a file where it used
20
to be. (John Arbash Meinel, #110256)
22
* ``WorkingTree4._iter_changes`` should not descend into unversioned
23
directories. (John Arbash Meinel, #110399)
25
bzr 0.16rc1 2007-04-26
29
* ``bzr remove`` and ``bzr rm`` will now remove the working file, if
30
it could be recovered again.
31
This has been done for consistency with svn and the unix rm command.
32
The old ``remove`` behaviour has been retained in the new option
33
``bzr remove --keep``, which will just stop versioning the file,
35
``bzr remove --force`` have been added which will always delete the
37
``bzr remove`` is also more verbose.
38
(Marius Kruger, #82602)
42
* Merge directives can now be supplied as input to `merge` and `pull`,
43
like bundles can. (Aaron Bentley)
45
* Sending the SIGQUIT signal to bzr, which can be done on Unix by
46
pressing Control-Backslash, drops bzr into a debugger. Type ``'c'``
47
to continue. This can be disabled by setting the environment variable
48
``BZR_SIGQUIT_PDB=0``. (Martin Pool)
50
* selftest now supports --list-only to list tests instead of running
51
them. (Ian Clatworthy)
53
* selftest now supports --exclude PATTERN (or -x PATTERN) to exclude
54
tests with names that match that regular expression.
55
(Ian Clatworthy, #102679)
57
* selftest now supports --randomize SEED to run tests in a random order.
58
SEED is typically the value 'now' meaning 'use the current time'.
59
(Ian Clatworthy, #102686)
61
* New option ``--fixes`` to commit, which stores bug fixing annotations as
62
revision properties. Built-in support for Launchpad, Debian, Trac and
63
Bugzilla bug trackers. (Jonathan Lange, James Henstridge, Robert Collins)
65
* New API, ``bzrlib.bugtracker.tracker_registry``, for adding support for
66
other bug trackers to ``fixes``. (Jonathan Lange, James Henstridge,
69
* ``selftest`` has new short options ``-f`` and ``-1``. (Martin
72
* ``bzrlib.tsort.MergeSorter`` optimizations. Change the inner loop
73
into using local variables instead of going through ``self._var``.
74
Improves the time to ``merge_sort`` a 10k revision graph by
75
approximately 40% (~700->400ms). (John Arbash Meinel)
77
* ``make docs`` now creates a man page at ``man1/bzr.1`` fixing bug 107388.
80
* ``bzr help`` now provides cross references to other help topics using
81
the _see_also facility on command classes. Likewise the bzr_man
82
documentation, and the bzr.1 man page also include this information.
85
* Tags are now included in logs, that use the long log formatter.
86
(Erik Bågfors, Alexander Belchenko)
88
* ``bzr help`` provides a clearer message when a help topic cannot be
89
found. (Robert Collins, #107656)
91
* ``bzr help`` now accepts optional prefixes for command help. The help
92
for all commands can now be found at ``bzr help commands/COMMANDNAME``
93
as well as ``bzr help COMMANDNAME`` (which only works for commands
94
where the name is not the same as a more general help topic).
97
* ``bzr help PLUGINNAME`` will now return the module docstring from the
98
plugin PLUGINNAME. (Robert Collins, #50408)
100
* New help topic ``urlspec`` which lists the availables transports.
101
(Goffredo Baroncelli)
103
* doc/server.txt updated to document the default bzr:// port
104
and also update the blurb about the hpss' current status.
105
(Robert Collins, #107125).
107
* ``bzr serve`` now listens on interface 0.0.0.0 by default, making it
108
serve out to the local LAN (and anyone in the world that can reach the
109
machine running ``bzr serve``. (Robert Collins, #98918)
111
* A new smart server protocol version has been added. It prefixes requests
112
and responses with an explicit version identifier so that future protocol
113
revisions can be dealt with gracefully. (Andrew Bennetts, Robert Collins)
115
* The bzr protocol version 2 indicates success or failure in every response
116
without depending on particular commands encoding that consistently,
117
allowing future client refactorings to be much more robust about error
118
handling. (Robert Collins, Martin Pool, Andrew Bennetts)
120
* The smart protocol over HTTP client has been changed to always post to the
121
same ``.bzr/smart`` URL under the original location when it can. This allows
122
HTTP servers to only have to pass URLs ending in .bzr/smart to the smart
123
server handler, and not arbitrary ``.bzr/*/smart`` URLs. (Andrew Bennetts)
125
* digest authentication is now supported for proxies and HTTP by the urllib
126
based http implementation. Tested against Apache 2.0.55 and Squid
127
2.6.5. Basic and digest authentication are handled coherently for HTTP
128
and proxy: if the user is provided in the url (bzr command line for HTTP,
129
proxy environment variables for proxies), the password is prompted for
130
(only once). If the password is provided, it is taken into account. Once
131
the first authentication is successful, all further authentication
132
roundtrips are avoided by preventively setting the right authentication
138
* bzrlib API compatability with 0.8 has been dropped, cleaning up some
139
code paths. (Robert Collins)
141
* Change the format of chroot urls so that they can be safely manipulated
142
by generic url utilities without causing the resulting urls to have
143
escaped the chroot. A side effect of this is that creating a chroot
144
requires an explicit action using a ChrootServer.
145
(Robert Collins, Andrew Bennetts)
147
* Deprecate ``Branch.get_root_id()`` because branches don't have root ids,
148
rather than fixing bug #96847. (Aaron Bentley)
150
* ``WorkingTree.apply_inventory_delta`` provides a better alternative to
151
``WorkingTree._write_inventory``. (Aaron Bentley)
153
* Convenience method ``TestCase.expectFailure`` ensures that known failures
154
do not silently pass. (Aaron Bentley)
156
* ``Transport.local_abspath`` now raises ``NotLocalUrl`` rather than
157
``TransportNotPossible``. (Martin Pool, Ian Clatworthy)
159
* New SmartServer hooks facility. There are two initial hooks documented
160
in ``bzrlib.transport.smart.SmartServerHooks``. The two initial hooks allow
161
plugins to execute code upon server startup and shutdown.
164
* SmartServer in standalone mode will now close its listening socket
165
when it stops, rather than waiting for garbage collection. This primarily
166
fixes test suite hangs when a test tries to connect to a shutdown server.
167
It may also help improve behaviour when dealing with a server running
168
on a specific port (rather than dynamically assigned ports).
171
* Move most SmartServer code into a new package, bzrlib/smart.
172
bzrlib/transport/remote.py contains just the Transport classes that used
173
to be in bzrlib/transport/smart.py. (Andrew Bennetts)
175
* urllib http implementation avoid roundtrips associated with
176
401 (and 407) errors once the authentication succeeds.
179
* urlib http now supports querying the user for a proxy password if
180
needed. Realm is shown in the prompt for both HTTP and proxy
181
authentication when the user is required to type a password.
184
* Renamed SmartTransport (and subclasses like SmartTCPTransport) to
185
RemoteTransport (and subclasses to RemoteTCPTransport, etc). This is more
186
consistent with its new home in ``bzrlib/transport/remote.py``, and because
187
it's not really a "smart" transport, just one that does file operations
188
via remote procedure calls. (Andrew Bennetts)
190
* The ``lock_write`` method of ``LockableFiles``, ``Repository`` and
191
``Branch`` now accept a ``token`` keyword argument, so that separate
192
instances of those objects can share a lock if it has the right token.
193
(Andrew Bennetts, Robert Collins)
195
* New method ``get_branch_reference`` on ``BzrDir`` allows the detection of
196
branch references - which the smart server component needs.
198
* The Repository API ``make_working_trees`` is now permitted to return
199
False when ``set_make_working_trees`` is not implemented - previously
200
an unimplemented ``set_make_working_trees`` implied the result True
201
from ``make_working_trees``. This has been changed to accomodate the
202
smart server, where it does not make sense (at this point) to ever
203
make working trees by default. (Robert Collins)
205
* Command objects can now declare related help topics by having _see_also
206
set to a list of related topic. (Robert Collins)
208
* ``bzrlib.help`` now delegates to the Command class for Command specific
209
help. (Robert Collins)
211
* New class ``TransportListRegistry``, derived from the Registry class, which
212
simplifies tracking the available Transports. (Goffredo Baroncelli)
214
* New function ``Branch.get_revision_id_to_revno_map`` which will
215
return a dictionary mapping revision ids to dotted revnos. Since
216
dotted revnos are defined in the context of the branch tip, it makes
217
sense to generate them from a ``Branch`` object.
220
* Fix the 'Unprintable error' message display to use the repr of the
221
exception that prevented printing the error because the str value
222
for it is often not useful in debugging (e.g. KeyError('foo') has a
223
str() of 'foo' but a repr of 'KeyError('foo')' which is much more
224
useful. (Robert Collins)
226
* ``urlutils.normalize_url`` now unescapes unreserved characters, such as "~".
231
* Don't fail bundle selftest if email has 'two' embedded.
232
(Ian Clatworthy, #98510)
234
* Remove ``--verbose`` from ``bzr bundle``. It didn't work anyway.
235
(Robert Widhopf-Fenk, #98591)
237
* Remove ``--basis`` from the checkout/branch commands - it didn't work
238
properly and is no longer beneficial.
239
(Robert Collins, #53675, #43486)
241
* Don't produce encoding error when adding duplicate files.
244
* Fix ``bzr log <file>`` so it only logs the revisions that changed
245
the file, and does it faster.
246
(Kent Gibson, John Arbash Meinel, #51980, #69477)
248
* Fix ``InterDirstateTre._iter_changes`` to handle when we come across
249
an empty versioned directory, which now has files in it.
250
(John Arbash Meinel, #104257)
252
* Teach ``common_ancestor`` to shortcut when the tip of one branch is
253
inside the ancestry of the other. Saves a lot of graph processing
254
(with an ancestry of 16k revisions, ``bzr merge ../already-merged``
255
changes from 2m10s to 13s). (John Arbash Meinel, #103757)
257
* Fix ``show_diff_trees`` to handle the case when a file is modified,
258
and the containing directory is renamed. (The file path is different
259
in this versus base, but it isn't marked as a rename).
260
(John Arbash Meinel, #103870)
262
* FTP now works even when the FTP server does not support atomic rename.
263
(Aaron Bentley, #89436)
265
* Correct handling in bundles and merge directives of timezones with
266
that are not an integer number of hours offset from UTC. Always
267
represent the epoch time in UTC to avoid problems with formatting
268
earlier times on win32. (Martin Pool, Alexander Belchenko, John
271
* Typo in the help for ``register-branch`` fixed. (Robert Collins, #96770)
273
* "dirstate" and "dirstate-tags" formats now produce branches compatible
274
with old versions of bzr. (Aaron Bentley, #107168))
276
* Handle moving a directory when children have been added, removed,
277
and renamed. (John Arbash Meinel, #105479)
279
* Don't preventively use basic authentication for proxy before receiving a
280
407 error. Otherwise people willing to use other authentication schemes
281
may expose their password in the clear (or nearly). This add one
282
roundtrip in case basic authentication should be used, but plug the
286
* Handle http and proxy digest authentication.
287
(Vincent Ladeuil, #94034).
291
* Added ``bzrlib.strace.strace`` which will strace a single callable and
292
return a StraceResult object which contains just the syscalls involved
293
in running it. (Robert Collins)
295
* New test method ``reduceLockdirTimeout`` to drop the default (ui-centric)
296
default time down to one suitable for tests. (Andrew Bennetts)
298
* Add new ``vfs_transport_factory`` attribute on tests which provides the
299
common vfs backing for both the readonly and readwrite transports.
300
This allows the RemoteObject tests to back onto local disk or memory,
301
and use the existing ``transport_server`` attribute all tests know about
302
to be the smart server transport. This in turn allows tests to
303
differentiate between 'transport to access the branch', and
304
'transport which is a VFS' - which matters in Remote* tests.
305
(Robert Collins, Andrew Bennetts)
307
* The ``make_branch_and_tree`` method for tests will now create a
308
lightweight checkout for the tree if the ``vfs_transport_factory`` is not
309
a LocalURLServer. (Robert Collins, Andrew Bennetts)
311
* Branch implementation tests have been audited to ensure that all urls
312
passed to Branch APIs use proper urls, except when local-disk paths
313
are intended. This is so that tests correctly access the test transport
314
which is often not equivalent to local disk in Remote* tests. As part
315
of this many tests were adjusted to remove dependencies on local disk
317
(Robert Collins, Andrew Bennetts)
319
* Mark bzrlib.tests and bzrlib.tests.TestUtil as providing assertFOO helper
320
functions by adding a ``__unittest`` global attribute. (Robert Collins,
321
Andrew Bennetts, Martin Pool, Jonathan Lange)
323
* Refactored proxy and authentication handling to simplify the
324
implementation of new auth schemes for both http and proxy.
331
* Handle incompatible repositories as a user issue when fetching.
334
* Don't give a recommendation to upgrade when branching or
335
checking out a branch that contains an old-format working tree.
338
bzr 0.15rc3 2007-03-26
342
* A warning is now displayed when opening working trees in older
343
formats, to encourage people to upgrade to WorkingTreeFormat4.
348
* HTTP redirections are now taken into account when a branch (or a
349
bundle) is accessed for the first time. A message is issued at each
350
redirection to inform the user. In the past, http redirections were
351
silently followed for each request which significantly degraded the
352
performances. The http redirections are not followed anymore by
353
default, instead a RedirectRequested exception is raised. For bzrlib
354
users needing to follow http redirections anyway,
355
``bzrlib.transport.do_catching_redirections`` provide an easy transition
360
* Added ``ReadLock.temporary_write_lock()`` to allow upgrading an OS read
361
lock to an OS write lock. Linux can do this without unlocking, Win32
362
needs to unlock in between. (John Arbash Meinel)
364
* New parameter ``recommend_upgrade`` to ``BzrDir.open_workingtree``
365
to silence (when false) warnings about opening old formats.
368
* Fix minor performance regression with bzr-0.15 on pre-dirstate
369
trees. (We were reading the working inventory too many times).
372
* Remove ``Branch.get_transaction()`` in favour of a simple cache of
373
``revision_history``. Branch subclasses should override
374
``_gen_revision_history`` rather than ``revision_history`` to make use of
375
this cache, and call ``_clear_revision_history_cache`` and
376
``_cache_revision_history`` at appropriate times. (Andrew Bennetts)
380
* Take ``smtp_server`` from user config into account.
383
* Restore Unicode filename handling for versioned and unversioned files.
384
(John Arbash Meinel, #92608)
386
* Don't fail during ``bzr commit`` if a file is marked removed, and
387
the containing directory is auto-removed. (John Arbash Meinel, #93681)
389
* ``bzr status FILENAME`` failed on Windows because of an uncommon
390
errno. (``ERROR_DIRECTORY == 267 != ENOTDIR``).
391
(Wouter van Heyst, John Arbash Meinel, #90819)
393
* ``bzr checkout source`` should create a local branch in the same
394
format as source. (John Arbash Meinel, #93854)
396
* ``bzr commit`` with a kind change was failing to update the
397
last-changed-revision for directories. The
398
InventoryDirectory._unchanged only looked at the ``parent_id`` and name,
399
ignoring the fact that the kind could have changed, too.
400
(John Arbash Meinel, #90111)
402
* ``bzr mv dir/subdir other`` was incorrectly updating files inside
403
the directory. So that there was a chance it would break commit,
404
etc. (John Arbash Meinel, #94037)
406
* Correctly handles mutiple permanent http redirections.
409
bzr 0.15rc2 2007-03-14
411
NOTES WHEN UPGRADING:
413
* Release 0.15rc2 of bzr changes the ``bzr init-repo`` command to
414
default to ``--trees`` instead of ``--no-trees``.
415
Existing shared repositories are not affected.
419
* New ``merge-directive`` command to generate machine- and human-readable
420
merge requests. (Aaron Bentley)
422
* New ``submit:`` revision specifier makes it easy to diff against the
423
common ancestor with the submit location (Aaron Bentley)
425
* Added support for Putty's SSH implementation. (Dmitry Vasiliev)
427
* Added ``bzr status --versioned`` to report only versioned files,
428
not unknowns. (Kent Gibson)
430
* Merge now autodetects the correct line-ending style for its conflict
431
markers. (Aaron Bentley)
435
* Refactored SSH vendor registration into SSHVendorManager class.
440
* New ``--numbered-dirs`` option to ``bzr selftest`` to use
441
numbered dirs for TestCaseInTempDir. This is default behavior
442
on Windows. Anyone can force named dirs on Windows
443
with ``--no-numbered-dirs``. (Alexander Belchenko)
445
* Fix ``RevisionSpec_revid`` to handle the Unicode strings passed in
446
from the command line. (Marien Zwart, #90501)
448
* Fix ``TreeTransform._iter_changes`` when both the source and
449
destination are missing. (Aaron Bentley, #88842)
451
* Fix commit of merges with symlinks in dirstate trees.
454
* Switch the ``bzr init-repo`` default from --no-trees to --trees.
455
(Wouter van Heyst, #53483)
458
bzr 0.15rc1 2007-03-07
462
* The default disk format has changed. Please run 'bzr upgrade' in your
463
working trees to upgrade. This new default is compatible for network
464
operations, but not for local operations. That is, if you have two
465
versions of bzr installed locally, after upgrading you can only use the
466
bzr 0.15 version. This new default does not enable tags or nested-trees
467
as they are incompatible with bzr versions before 0.15 over the network.
469
* For users of bzrlib: Two major changes have been made to the working tree
470
api in bzrlib. The first is that many methods and attributes, including
471
the inventory attribute, are no longer valid for use until one of
472
``lock_read``/``lock_write``/``lock_tree_write`` has been called,
473
and become invalid again after unlock is called. This has been done
474
to improve performance and correctness as part of the dirstate
476
(Robert Collins, John A Meinel, Martin Pool, and others).
478
* For users of bzrlib: The attribute 'tree.inventory' should be considered
479
readonly. Previously it was possible to directly alter this attribute, or
480
its contents, and have the tree notice this. This has been made
481
unsupported - it may work in some tree formats, but in the newer dirstate
482
format such actions will have no effect and will be ignored, or even
483
cause assertions. All operations possible can still be carried out by a
484
combination of the tree API, and the bzrlib.transform API. (Robert
485
Collins, John A Meinel, Martin Pool, and others).
489
* Support for OS Windows 98. Also .bzr.log on any windows system
490
saved in My Documents folder. (Alexander Belchenko)
492
* ``bzr mv`` enhanced to support already moved files.
493
In the past the mv command would have failed if the source file doesn't
494
exist. In this situation ``bzr mv`` would now detect that the file has
495
already moved and update the repository accordingly, if the target file
497
A new option ``--after`` has been added so that if two files already
498
exist, you could notify Bazaar that you have moved a (versioned) file
499
and replaced it with another. Thus in this case ``bzr move --after``
500
will only update the Bazaar identifier.
501
(Steffen Eichenberg, Marius Kruger)
503
* ``ls`` now works on treeless branches and remote branches.
506
* ``bzr help global-options`` describes the global options.
509
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
512
* Files are now allowed to change kind (e.g. from file to symlink).
513
Supported by ``commit``, ``revert`` and ``status``
516
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
519
* ``bzr help checkouts`` descibes what checkouts are and some possible
520
uses of them. (James Westby, Aaron Bentley)
522
* A new ``-d`` option to push, pull and merge overrides the default
523
directory. (Martin Pool)
525
* Branch format 6: smaller, and potentially faster than format 5. Supports
526
``append_history_only`` mode, where the log view and revnos do not change,
527
except by being added to. Stores policy settings in
528
".bzr/branch/branch.conf".
530
* ``append_only`` branches: Format 6 branches may be configured so that log
531
view and revnos are always consistent. Either create the branch using
532
"bzr init --append-revisions-only" or edit the config file as descriped
533
in docs/configuration.txt.
535
* rebind: Format 6 branches retain the last-used bind location, so if you
536
"bzr unbind", you can "bzr bind" to bind to the previously-selected
539
* Builtin tags support, created and deleted by the ``tag`` command and
540
stored in the branch. Tags can be accessed with the revisionspec
541
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
542
at present. Tags require a network incompatible upgrade. To perform this
543
upgrade, run ``bzr upgrade --dirstate-tags`` in your branch and
544
repositories. (Martin Pool)
546
* The ``bzr://`` transport now has a well-known port number, 4155,
547
which it will use by default. (Andrew Bennetts, Martin Pool)
549
* Bazaar now looks for user-installed plugins before looking for site-wide
550
plugins. (Jonathan Lange)
552
* ``bzr resolve`` now detects and marks resolved text conflicts.
557
* Internally revision ids and file ids are now passed around as utf-8
558
bytestrings, rather than treating them as Unicode strings. This has
559
performance benefits for Knits, since we no longer need to decode the
560
revision id for each line of content, nor for each entry in the index.
561
This will also help with the future dirstate format.
564
* Reserved ids (any revision-id ending in a colon) are rejected by
565
versionedfiles, repositories, branches, and working trees
568
* Minor performance improvement by not creating a ProgressBar for
569
every KnitIndex we create. (about 90ms for a bzr.dev tree)
572
* New easier to use Branch hooks facility. There are five initial hooks,
573
all documented in bzrlib.branch.BranchHooks.__init__ - ``'set_rh'``,
574
``'post_push'``, ``'post_pull'``, ``'post_commit'``,
575
``'post_uncommit'``. These hooks fire after the matching operation
576
on a branch has taken place, and were originally added for the
577
branchrss plugin. (Robert Collins)
579
* New method ``Branch.push()`` which should be used when pushing from a
580
branch as it makes performance and policy decisions to match the UI
581
level command ``push``. (Robert Collins).
583
* Add a new method ``Tree.revision_tree`` which allows access to cached
584
trees for arbitrary revisions. This allows the in development dirstate
585
tree format to provide access to the callers to cached copies of
586
inventory data which are cheaper to access than inventories from the
588
(Robert Collins, Martin Pool)
590
* New ``Branch.last_revision_info`` method, this is being done to allow
591
optimization of requests for both the number of revisions and the last
592
revision of a branch with smartservers and potentially future branch
593
formats. (Wouter van Heyst, Robert Collins)
595
* Allow ``'import bzrlib.plugins.NAME'`` to work when the plugin NAME has not
596
yet been loaded by ``load_plugins()``. This allows plugins to depend on each
597
other for code reuse without requiring users to perform file-renaming
598
gymnastics. (Robert Collins)
600
* New Repository method ``'gather_stats'`` for statistic data collection.
601
This is expected to grow to cover a number of related uses mainly
602
related to bzr info. (Robert Collins)
604
* Log formatters are now managed with a registry.
605
``log.register_formatter`` continues to work, but callers accessing
606
the FORMATTERS dictionary directly will not.
608
* Allow a start message to be passed to the ``edit_commit_message``
609
function. This will be placed in the message offered to the user
610
for editing above the separator. It allows a template commit message
611
to be used more easily. (James Westby)
613
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
614
you pass a Unicode string rather than an 8-bit string. Callers need
615
to be updated to encode first. (John Arbash Meinel)
617
* Branch.push, pull, merge now return Result objects with information
618
about what happened, rather than a scattering of various methods. These
619
are also passed to the post hooks. (Martin Pool)
621
* File formats and architecture is in place for managing a forest of trees
622
in bzr, and splitting up existing trees into smaller subtrees, and
623
finally joining trees to make a larger tree. This is the first iteration
624
of this support, and the user-facing aspects still require substantial
625
work. If you wish to experiment with it, use ``bzr upgrade
626
--dirstate-with-subtree`` in your working trees and repositories.
627
You can use the hidden commands ``split`` and ``join`` and to create
628
and manipulate nested trees, but please consider using the nested-trees
629
branch, which contains substantial UI improvements, instead.
630
http://code.aaronbentley.com/bzr/bzrrepo/nested-trees/
631
(Aaron Bentley, Martin Pool, Robert Collins).
635
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
636
branch, rather than the last changed revision of the file.
637
(John Arbash Meinel, #82158)
639
* Lock operations no longer hang if they encounter a permission problem.
642
* ``bzr push`` can resume a push that was canceled before it finished.
643
Also, it can push even if the target directory exists if you supply
644
the ``--use-existing-dir`` flag.
645
(John Arbash Meinel, #30576, #45504)
647
* Fix http proxy authentication when user and an optional
648
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
651
* ``bzr log branch/file`` works for local treeless branches
652
(Aaron Bentley, #84247)
654
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
656
* Searching location of CA bundle for PyCurl in env variable
657
(``CURL_CA_BUNDLE``), and on win32 along the PATH.
658
(Alexander Belchenko, #82086)
660
* ``bzr init`` works with unicode argument LOCATION.
661
(Alexander Belchenko, #85599)
663
* Raise ``DependencyNotPresent`` if pycurl do not support https.
664
(Vincent Ladeuil, #85305)
666
* Invalid proxy env variables should not cause a traceback.
667
(Vincent Ladeuil, #87765)
669
* Ignore patterns normalised to use '/' path separator.
670
(Kent Gibson, #86451)
672
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
674
* Fix bzrtools shelve command for removed lines beginning with "--"
675
(Johan Dahlberg, #75577)
679
* New ``--first`` option to ``bzr selftest`` to run specified tests
680
before the rest of the suite. (Martin Pool)
687
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
691
* Skip documentation generation tests if the tools to do so are not
692
available. Fixes running selftest for installled copies of bzr.
693
(John Arbash Meinel, #80330)
695
* Fix the code that discovers whether bzr is being run from it's
696
working tree to handle the case when it isn't but the directory
697
it is in is below a repository. (James Westby, #77306)
700
bzr 0.14rc1 2007-01-16
704
* New connection: ``bzr+http://`` which supports tunnelling the smart
705
protocol over an HTTP connection. If writing is enabled on the bzr
706
server, then you can write over the http connection.
707
(Andrew Bennetts, John Arbash Meinel)
709
* Aliases now support quotation marks, so they can contain whitespace
712
* PyCurlTransport now use a single curl object. By specifying explicitly
713
the 'Range' header, we avoid the need to use two different curl objects
714
(and two connections to the same server). (Vincent Ladeuil)
716
* ``bzr commit`` does not prompt for a message until it is very likely to
717
succeed. (Aaron Bentley)
719
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
722
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
723
of a list while checking if a revision id was requested. Takes 10s
724
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
725
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
726
filtering lines with a regex rather than multiple ``str.find()``
727
calls. (saves another 300ms) (John Arbash Meinel)
729
* Policy can be set for each configuration key. This allows keys to be
730
inherited properly across configuration entries. For example, this
731
should enable you to do::
734
push_location = sftp://host/srv/project/
735
push_location:policy = appendpath
737
And then a branch like ``/home/user/project/mybranch`` should get an
738
automatic push location of ``sftp://host/srv/project/mybranch``.
741
* Added ``bzr status --short`` to make status report svn style flags
742
for each file. For example::
750
* 'bzr selftest --clean-output' allows easily clean temporary tests
751
directories without running tests. (Alexander Belchenko)
753
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
755
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
756
local is fully merged into remote. (Jan Hudec)
758
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
762
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
763
help speed up processing, as well allowing to extract unannotated
764
lines. Between the two ``fileids_affected_by_revision_ids`` is
765
improved by approx 10%. (John Arbash Meinel)
767
* Change Revision serialization to only write out millisecond
768
resolution. Rather than expecting floating point serialization to
769
preserve more resolution than we need. (Henri Weichers, Martin Pool)
771
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
773
* When ``encoding_type`` attribute of class Command is equal to 'exact',
774
force sys.stdout to be a binary stream on Windows, and therefore
775
keep exact line-endings (without LF -> CRLF conversion).
776
(Alexander Belchenko)
778
* Single-letter short options are no longer globally declared. (Martin
781
* Before using detected user/terminal encoding bzr should check
782
that Python has corresponding codec. (Alexander Belchenko)
784
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
788
* ``bzr missing --verbose`` was showing adds/removals in the wrong
789
direction. (John Arbash Meinel)
791
* ``bzr annotate`` now defaults to showing dotted revnos for merged
792
revisions. It cuts them off at a depth of 12 characters, but you can
793
supply ``--long`` to see the full number. You can also use
794
``--show-ids`` to display the original revision ids, rather than
795
revision numbers and committer names. (John Arbash Meinel, #75637)
797
* bzr now supports Win32 UNC path (e.g. ``\HOST\path``.
798
(Alexander Belchenko, #57869)
800
* Win32-specific: output of cat, bundle and diff commands don't mangle
801
line-endings (Alexander Belchenko, #55276)
803
* Replace broken fnmatch based ignore pattern matching with custom pattern
805
(Kent Gibson, Jan Hudec #57637)
807
* pycurl and urllib can detect short reads at different places. Update
808
the test suite to test more cases. Also detect http error code 416
809
which was raised for that specific bug. Also enhance the urllib
810
robustness by detecting invalid ranges (and pycurl's one by detecting
811
short reads during the initial GET). (Vincent Ladeuil, #73948)
813
* The urllib connection sharing interacts badly with urllib2
814
proxy setting (the connections didn't go thru the proxy
815
anymore). Defining a proper ProxyHandler solves the
816
problem. (Vincent Ladeuil, #74759)
818
* Use urlutils to generate relative URLs, not osutils
819
(Aaron Bentley, #76229)
821
* ``bzr status`` in a readonly directory should work without giving
822
lots of errors. (John Arbash Meinel, #76299)
824
* Mention the revisionspec topic for the revision option help.
825
(Wouter van Heyst, #31663)
827
* Allow plugins import from zip archives.
828
(Alexander Belchenko, #68124)
833
No changes from 0.13rc1
835
bzr 0.13rc1 2006-11-27
839
* New command ``bzr remove-tree`` allows the removal of the working
843
* urllib uses shared keep-alive connections, so http
844
operations are substantially faster.
845
(Vincent Ladeuil, #53654)
847
* ``bzr export`` allows an optional branch parameter, to export a bzr
848
tree from some other url. For example:
849
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
852
* Added ``bzr help topics`` to the bzr help system. This gives a
853
location for general information, outside of a specific command.
854
This includes updates for ``bzr help revisionspec`` the first topic
855
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
857
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
860
* Knit files will now cache full texts only when the size of the
861
deltas is as large as the size of the fulltext. (Or after 200
862
deltas, whichever comes first). This has the most benefit on large
863
files with small changes, such as the inventory for a large project.
864
(eg For a project with 2500 files, and 7500 revisions, it changes
865
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
869
* New -D option given before the command line turns on debugging output
870
for particular areas. -Derror shows tracebacks on all errors.
873
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
874
and remove benchmarks that take longer than 10min to run.
877
* Use ``time.time()`` instead of ``time.clock()`` to decide on
878
progress throttling. Because ``time.clock()`` is actually CPU time,
879
so over a high-latency connection, too many updates get throttled.
882
* ``MemoryTransport.list_dir()`` would strip the first character for
883
files or directories in root directory. (John Arbash Meinel)
885
* New method ``get_branch_reference`` on 'BzrDir' allows the detection of
886
branch references - which the smart server component needs.
888
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
889
prefix. It disallows any access to locations above a set URL. (Andrew
894
* Now ``_KnitIndex`` properly decode revision ids when loading index data.
895
And optimize the knit index parsing code.
896
(Dmitry Vasiliev, John Arbash Meinel)
898
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
899
without importing it. This prevented ``bzr upgrade`` from working
900
unless a plugin already imported ``bzrlib.workingtree``
901
(John Arbash Meinel, #70716)
903
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
905
* Give nicer error message when an http server returns a 403
906
error code. (Vincent Ladeuil, #57644).
908
* When a multi-range http GET request fails, try a single
909
range one. If it fails too, forget about ranges. Remember that until
910
the death of the transport and propagates that to the clones.
911
(Vincent Ladeuil, #62276, #62029).
913
* Handles user/passwords supplied in url from command
914
line (for the urllib implementation). Don't request already
915
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
917
* ``_KnitIndex.add_versions()`` dictionary compresses revision ids as they
918
are added. This fixes bug where fetching remote revisions records
919
them as full references rather than integers.
920
(John Arbash Meinel, #64789)
922
* ``bzr ignore`` strips trailing slashes in patterns.
923
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
925
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
927
* mv correctly handles paths that traverse symlinks.
928
(Aaron Bentley, #66964)
930
* Give nicer looking error messages when failing to connect over ssh.
931
(John Arbash Meinel, #49172)
933
* Pushing to a remote branch does not currently update the remote working
934
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
935
machine now show that the working tree is out of date.
936
(Cheuksan Edward Wang #48136)
938
* Use patiencediff instead of difflib for determining deltas to insert
939
into knits. This avoids the O(N^3) behavior of difflib. Patience
940
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
942
* Running ``bzr log`` on nonexistent file gives an error instead of the
943
entire log history. (Cheuksan Edward Wang #50793)
945
* ``bzr cat`` can look up contents of removed or renamed files. If the
946
pathname is ambiguous, i.e. the files in the old and new trees have
947
different id's, the default is the file in the new tree. The user can
948
use "--name-from-revision" to select the file in the old tree.
949
(Cheuksan Edward Wang, #30190)
953
* TestingHTTPRequestHandler really handles the Range header
954
(previously it was ignoring it and returning the whole file,).
960
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
961
and remove benchmarks that take longer than 10min to run.
964
bzr 0.12rc1 2006-10-23
968
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
969
rather than just showing a decimal revision number for revisions on the
970
mainline. These revision numbers are not yet accepted as input into bzr
971
commands such as log, diff etc. (Robert Collins)
973
* revisions can now be specified using dotted-decimal revision numbers.
974
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
976
* ``bzr help commands`` output is now shorter (Aaron Bentley)
978
* ``bzr`` now uses lazy importing to reduce the startup time. This has
979
a moderate effect on lots of actions, especially ones that have
980
little to do. For example ``bzr rocks`` time is down to 116ms from
981
283ms. (John Arbash Meinel)
983
* New Registry class to provide name-to-object registry-like support,
984
for example for schemes where plugins can register new classes to
985
do certain tasks (e.g. log formatters). Also provides lazy registration
986
to allow modules to be loaded on request.
987
(John Arbash Meinel, Adeodato Simó)
991
* LogFormatter subclasses show now expect the 'revno' parameter to
992
show() to be a string rather than an int. (Robert Collins)
996
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
997
can take a ``working_dir='foo'`` parameter, which will change directory
998
for the command. (John Arbash Meinel)
1000
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
1001
around a regex, which defers compilation until first use.
1002
(John Arbash Meinel)
1004
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
1005
``--no-plugins`` parameter to ensure test reproducability, and avoid
1006
problems with system-wide installed plugins. (John Arbash Meinel)
1008
* Unique tree root ids are now supported. Newly created trees still
1009
use the common root id for compatibility with bzr versions before 0.12.
1012
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
1013
pass in ``inventory.ROOT_ID`` if you want the default root id value.
1014
(Robert Collins, John Arbash Meinel)
1016
* New method ``WorkingTree.flush()`` which will write the current memory
1017
inventory out to disk. At the same time, ``read_working_inventory`` will
1018
no longer trash the current tree inventory if it has been modified within
1019
the current lock, and the tree will now ``flush()`` automatically on
1020
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
1021
advantage of this functionality. (Robert Collins, John Arbash Meinel)
1023
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
1024
parameter will cause it to add another column to its output, which
1025
contains the dotted-decimal revno for each revision, as a tuple.
1028
* ``LogFormatter.show_merge`` is deprecated in favour of
1029
``LogFormatter.show_merge_revno``. (Robert Collins)
1033
* Avoid circular imports by creating a deprecated function for
1034
``bzrlib.tree.RevisionTree``. Callers should have been using
1035
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
1038
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
1039
platforms. (Martin Pool, #66356)
1041
* Don't require ``Content-Type`` in range responses. Assume they are a
1042
single range if ``Content-Type`` does not exist.
1043
(John Arbash Meinel, #62473)
1045
* bzr branch/pull no longer complain about progress bar cleanup when
1046
interrupted during fetch. (Aaron Bentley, #54000)
1048
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
1049
the basis inventory, rather than going through the repository. This
1050
allows us to have 1 inventory read, and 2 inventory writes when
1051
committing a new tree. (John Arbash Meinel)
1053
* When reverting, files that are not locally modified that do not exist
1054
in the target are deleted, not just unversioned (Aaron Bentley)
1056
* When trying to acquire a lock, don't fail immediately. Instead, try
1057
a few times (up to 1 hour) before timing out. Also, report why the
1058
lock is unavailable (John Arbash Meinel, #43521, #49556)
1060
* Leave HttpTransportBase daughter classes decides how they
1061
implement cloning. (Vincent Ladeuil, #61606)
1063
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
1065
* If a commit fails, the commit message is stored in a file at the root of
1066
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
1071
* New test base class TestCaseWithMemoryTransport offers memory-only
1072
testing facilities: its not suitable for tests that need to mutate disk
1073
state, but most tests should not need that and should be converted to
1074
TestCaseWithMemoryTransport. (Robert Collins)
1076
* ``TestCase.make_branch_and_memory_tree`` now takes a format
1077
option to set the BzrDir, Repository and Branch formats of the
1078
created objects. (Robert Collins, John Arbash Meinel)
1082
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
1084
bzr 0.11rc2 2006-09-27
1088
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
1090
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
1093
bzr 0.11rc1 2006-09-25
1097
* Knit files now wait to create their contents until the first data is
1098
added. The old code used to create an empty .knit and a .kndx with just
1099
the header. However, this caused a lot of extra round trips over sftp.
1100
This can change the time for ``bzr push`` to create a new remote branch
1101
from 160s down to 100s. This also affects ``bzr commit`` performance when
1102
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
1103
down to 40s (John Arbash Meinel, #44692)
1105
* When an entire subtree has been deleted, commit will now report that
1106
just the top of the subtree has been deleted, rather than reporting
1107
all the individual items. (Robert Collins)
1109
* Commit performs one less XML parse. (Robert Collins)
1111
* ``bzr checkout`` now operates on readonly branches as well
1112
as readwrite branches. This fixes bug #39542. (Robert Collins)
1114
* ``bzr bind`` no longer synchronises history with the master branch.
1115
Binding should be followed by an update or push to synchronise the
1116
two branches. This is closely related to the fix for bug #39542.
1119
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
1120
objects. This allows all imports to stay at the global scope, but
1121
modules will not actually be imported if they are not used.
1122
(John Arbash Meinel)
1124
* Support ``bzr://`` and ``bzr+ssh://`` urls to work with the new RPC-based
1125
transport which will be used with the upcoming high-performance smart
1126
server. The new command ``bzr serve`` will invoke bzr in server mode,
1127
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
1130
* New command ``bzr version-info`` which can be used to get a summary
1131
of the current state of the tree. This is especially useful as part
1132
of a build commands. See ``doc/version_info.txt`` for more information
1133
(John Arbash Meinel)
1137
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
1138
specific set of files. (John Arbash Meinel, #3631)
1140
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
1142
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
1143
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
1144
reading a nested Stanza. (John Arbash Meinel)
1146
* Transform._set_mode() needs to stat the right file.
1147
(John Arbash Meinel, #56549)
1149
* Raise WeaveFormatError rather than StopIteration when trying to read
1150
an empty Weave file. (John Arbash Meinel, #46871)
1152
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
1153
(Vincent Ladeuil, #59835)
1155
* Handle boundary="" lines properly to allow access through a Squid proxy.
1156
(John Arbash Meinel, #57723)
1158
* revert now removes newly-added directories (Aaron Bentley, #54172)
1160
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
1161
isn't a working tree. (David Allouche, #40679)
1163
* Give nicer error messages when a user supplies an invalid --revision
1164
parameter. (John Arbash Meinel, #55420)
1166
* Handle when LANG is not recognized by python. Emit a warning, but
1167
just revert to using 'ascii'. (John Arbash Meinel, #35392)
1169
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
1170
(John Arbash Meinel)
1172
* Skip specific tests when the dependencies aren't met. This includes
1173
some ``setup.py`` tests when ``python-dev`` is not available, and
1174
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
1176
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
1177
the system. (Andrew Bennetts, John Arbash Meinel)
1179
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
1180
other branch, and will not push or pull between the two branches.
1181
API users will need to perform a push or pull or update operation if they
1182
require branch synchronisation to take place. (Robert Collins, #47344)
1184
* When creating a tarball or zipfile export, export unicode names as utf-8
1185
paths. This may not work perfectly on all platforms, but has the best
1186
chance of working in the common case. (John Arbash Meinel, #56816)
1188
* When committing, only files that exist in working tree or basis tree
1189
may be specified (Aaron Bentley, #50793)
1193
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
1197
* TestCaseInTempDir now creates a separate directory for HOME, rather
1198
than having HOME set to the same location as the working directory.
1199
(John Arbash Meinel)
1201
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
1202
which will update os.environ inside the spawned child. It also can
1203
take a ``universal_newlines=True``, which helps when checking the output
1204
of the command. (John Arbash Meinel)
1206
* Refactor SFTP vendors to allow easier re-use when ssh is used.
1209
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
1210
return urlescaped paths. This is now tested (there were bugs in a few
1211
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
1213
* New utility function ``symbol_versioning.deprecation_string``. Returns the
1214
formatted string for a callable, deprecation format pair. (Robert Collins)
1216
* New TestCase helper applyDeprecated. This allows you to call a callable
1217
which is deprecated without it spewing to the screen, just by supplying
1218
the deprecation format string issued for it. (Robert Collins)
1220
* Transport.append and Transport.put have been deprecated in favor of
1221
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
1222
``.put_file``. This removes the ambiguity in what type of object the
1223
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
1224
been added. Which works similarly to ``Transport.append()`` except for
1225
SFTP, it doesn't have a round trip when opening the file. Also, it
1226
provides functionality for creating a parent directory when trying
1227
to create a file, rather than raise NoSuchFile and forcing the
1228
caller to repeat their request.
1229
(John Arbash Meinel)
1231
* WorkingTree has a new api ``unversion`` which allow the unversioning of
1232
entries by their file id. (Robert Collins)
1234
* ``WorkingTree.pending_merges`` is deprecated. Please use the
1235
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
1237
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
1238
read rather than write. This is appropriate for actions which only need
1239
the branch data for reference rather than mutation. A new decorator
1240
``needs_tree_write_lock`` is provided in the workingtree module. Like the
1241
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
1242
declaration of the locking requirements of a function to ensure that
1243
a lock is taken out for casual scripts. (Robert Collins, #54107)
1245
* All WorkingTree methods which write to the tree, but not to the branch
1246
have been converted to use ``needs_tree_write_lock`` rather than
1247
``needs_write_lock``. Also converted is the revert, conflicts and tree
1248
transform modules. This provides a modest performance improvement on
1249
metadir style trees, due to the reduce lock-acquisition, and a more
1250
significant performance improvement on lightweight checkouts from
1251
remote branches, where trivial operations used to pay a significant
1252
penalty. It also provides the basis for allowing readonly checkouts.
1255
* Special case importing the standard library 'copy' module. This shaves
1256
off 40ms of startup time, while retaining compatibility. See:
1257
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
1259
* WorkingTree has a new parent class MutableTree which represents the
1260
specialisations of Tree which are able to be altered. (Robert Collins)
1262
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
1263
mutate the tree and its contents. (Robert Collins)
1265
* Transport behaviour at the root of the URL is now defined and tested.
1266
(Andrew Bennetts, Robert Collins)
1270
* New test helper classs MemoryTree. This is typically accessed via
1271
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
1273
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
1274
code to continue running concurrently with a subprocess of bzr.
1275
(Andrew Bennetts, Robert Collins)
1277
* Add a new method ``Transport.get_smart_client()``. This is provided to
1278
allow upgrades to a richer interface than the VFS one provided by
1279
Transport. (Andrew Bennetts, Martin Pool)
1284
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
1285
tree. (Aaron Bentley)
1287
* 'bzr add --file-ids-from' can be used to specify another path to use
1288
for creating file ids, rather than generating all new ones. Internally,
1289
the 'action' passed to ``smart_add_tree()`` can return ``file_ids`` that
1290
will be used, rather than having bzrlib generate new ones.
1291
(John Arbash Meinel, #55781)
1293
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
1294
This will cache some of the intermediate trees, and decrease the
1295
setup time for benchmark tests. (John Arbash Meinel)
1297
* Inverse forms are provided for all boolean options. For example,
1298
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
1300
* Serialize out Inventories directly, rather than using ElementTree.
1301
Writing out a kernel sized inventory drops from 2s down to ~350ms.
1302
(Robert Collins, John Arbash Meinel)
1306
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
1308
* Change LockDir so that if the lock directory doesn't exist when
1309
``lock_write()`` is called, an attempt will be made to create it.
1310
(John Arbash Meinel, #56974)
1312
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
1314
* Active FTP transport now works as intended. (ghozzy, #56472)
1316
* Really fix mutter() so that it won't ever raise a UnicodeError.
1317
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
1318
But it is a debugging log, not a real user file.
1319
(John Arbash Meinel, #56947, #53880)
1321
* Change Command handle to allow Unicode command and options.
1322
At present we cannot register Unicode command names, so we will get
1323
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
1324
But that is better than a UnicodeError + a traceback.
1325
(John Arbash Meinel, #57123)
1327
* Handle TZ=UTC properly when reading/writing revisions.
1328
(John Arbash Meinel, #55783, #56290)
1330
* Use ``GPG_TTY`` to allow gpg --cl to work with gpg-agent in a pipeline,
1331
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
1333
* External diff does the right thing for binaries even in foreign
1334
languages. (John Arbash Meinel, #56307)
1336
* Testament handles more cases when content is unicode. Specific bug was
1337
in handling of revision properties.
1338
(John Arbash Meinel, Holger Krekel, #54723)
1340
* The bzr selftest was failing on installed versions due to a bug in a new
1341
test helper. (John Arbash Meinel, Robert Collins, #58057)
1345
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
1346
which can be used to cache the conversion between utf8 and Unicode.
1347
Especially helpful for some of the knit annotation code, which has to
1348
convert revision ids to utf8 to annotate lines in storage.
1349
(John Arbash Meinel)
1351
* ``setup.py`` now searches the filesystem to find all packages which
1352
need to be installed. This should help make the life of packagers
1353
easier. (John Arbash Meinel)
1355
bzr 0.9.0 2006-08-11
5
* The revision specifier "revno:" is extended to accept the syntax
6
revno:N:branch. For example,
7
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
8
bzr.dev. (Matthieu Moy)
1359
10
* The hard-coded built-in ignore rules have been removed. There are
1360
11
now two rulesets which are enforced. A user global one in
1361
``~/.bazaar/ignore`` which will apply to every tree, and the tree
12
~/.bazaar/ignore which will apply to every tree, and the tree
1362
13
specific one '.bzrignore'.
1363
``~/.bazaar/ignore`` will be created if it does not exist, but with
14
~/.bazaar/ignore will be created if it does not exist, but with
1364
15
a more conservative list than the old default.
1365
16
This fixes bugs with default rules being enforced no matter what.
1366
17
The old list of ignore rules from bzr is available by
1367
18
running 'bzr ignore --old-default-rules'.
1368
19
(Robert Collins, Martin Pool, John Arbash Meinel)
1370
* 'branches.conf' has been changed to 'locations.conf', since it can apply
1371
to more locations than just branch locations.
1376
* The revision specifier "revno:" is extended to accept the syntax
1377
revno:N:branch. For example,
1378
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
1379
bzr.dev. (Matthieu Moy)
1381
21
* Tests updates to ensure proper URL handling, UNICODE support, and
1382
22
proper printing when the user's terminal encoding cannot display
1383
23
the path of a file that has been versioned.
1384
24
``bzr branch`` can take a target URL rather than only a local directory.
1385
``Branch.get_parent()/set_parent()`` now save a relative path if possible,
25
Branch.get_parent()/set_parent() now save a relative path if possible,
1386
26
and normalize the parent based on root, allowing access across
1387
27
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
1388
28
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
1391
31
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
1392
32
Use terminal width for single-line logs from ``bzr log --line`` and