7
* The default disk format has changed. Please run 'bzr upgrade' in your
8
working trees to upgrade. This new default is compatible for network
9
operations, but not for local operations. That is, if you have two
10
versions of bzr installed locally, after upgrading you can only use the
11
bzr 0.15 version. This new default does not enable tags or nested-trees
12
as they are incompatible with bzr versions before 0.15 over the network.
14
* For users of bzrlib: Two major changes have been made to the working tree
15
api in bzrlib. The first is that many methods and attributes, including
16
the inventory attribute, are no longer valid for use until one of
17
lock_read/lock_write/lock_tree_write has been called, and become invalid
18
again after unlock is called. This has been done to improve performance
19
and correctness as part of the dirstate development. (Robert Collins,
20
John A Meinel, Martin Pool, and others).
22
* For users of bzrlib: The attribute 'tree.inventory' should be considered
23
readonly. Previously it was possible to directly alter this attribute, or
24
its contents, and have the tree notice this. This has been made
25
unsupported - it may work in some tree formats, but in the newer dirstate
26
format such actions will have no effect and will be ignored, or even
27
cause assertions. All operations possible can still be carried out by a
28
combination of the tree API, and the bzrlib.transform API. (Robert
29
Collins, John A Meinel, Martin Pool, and others).
33
* Support for OS Windows 98. Also .bzr.log on any windows system
34
saved in My Documents folder. (Alexander Belchenko)
36
* ``bzr mv`` enhanced to support already moved files.
37
In the past the mv command would have failed if the source file doesn't
38
exist. In this situation ``bzr mv`` would now detect that the file has
39
already moved and update the repository accordingly, if the target file
41
A new option ``--after`` has been added so that if two files already
42
exist, you could notify Bazaar that you have moved a (versioned) file
43
and replaced it with another. Thus in this case ``bzr move --after``
44
will only update the Bazaar identifier.
45
(Steffen Eichenberg, Marius Kruger)
47
* ``ls`` now works on treeless branches and remote branches.
50
* ``bzr help global-options`` describes the global options.
53
* ``bzr pull --overwrite`` will now correctly overwrite checkouts.
56
* Files are now allowed to change kind (e.g. from file to symlink).
57
Supported by ``commit``, ``revert`` and ``status``
60
* ``inventory`` and ``unknowns`` hidden in favour of ``ls``
63
* ``bzr help checkouts`` descibes what checkouts are and some possible
64
uses of them. (James Westby, Aaron Bentley)
66
* A new ``-d`` option to push, pull and merge overrides the default
67
directory. (Martin Pool)
69
* Branch format 6: smaller, and potentially faster than format 5. Supports
70
"append_history_only" mode, where the log view and revnos do not change,
71
except by being added to. Stores policy settings in
72
".bzr/branch/branch.conf".
74
* append_only branches: Format 6 branches may be configured so that log
75
view and revnos are always consistent. Either create the branch using
76
"bzr init --append-revisions-only" or edit the config file as descriped
77
in docs/configuration.txt.
79
* rebind: Format 6 branches retain the last-used bind location, so if you
80
"bzr unbind", you can "bzr bind" to bind to the previously-selected
83
* Builtin tags support, created and deleted by the ``tag`` command and
84
stored in the branch. Tags can be accessed with the revisionspec
85
``-rtag:``, and listed with ``bzr tags``. Tags are not versioned
86
at present. Tags require a network incompatible upgrade. To perform this
87
upgrade, run ``bzr upgrade --dirstate-with-subtree`` in your branch and
88
repositories. (Martin Pool)
90
* The bzr:// transport now has a well-known port number, 4155, which it will
91
use by default. (Andrew Bennetts, Martin Pool)
93
* Bazaar now looks for user-installed plugins before looking for site-wide
94
plugins. (Jonathan Lange)
96
* ``bzr resolve`` now detects and marks resolved text conflicts.
99
* There is now initial support for managing a forest of trees in bzr,
100
and splitting up existing trees into smaller subtrees, and finally
101
joining trees to make a larger tree. This is the first iteration
102
of this support. To enable the new ``join`` and ``split`` commands,
103
please run ``bzr upgrade --dirstate-with-subtree`` in your working
104
trees and repositories. (Aaron Bentley, Martin Pool, Robert Collins).
108
* Internally revision ids and file ids are now passed around as utf-8
109
bytestrings, rather than treating them as Unicode strings. This has
110
performance benefits for Knits, since we no longer need to decode the
111
revision id for each line of content, nor for each entry in the index.
112
This will also help with the future dirstate format.
115
* Reserved ids (any revision-id ending in a colon) are rejected by
116
versionedfiles, repositories, branches, and working trees
119
* Minor performance improvement by not creating a ProgressBar for
120
every KnitIndex we create. (about 90ms for a bzr.dev tree)
123
* New easier to use Branch hooks facility. There are five initial hooks,
124
all documented in bzrlib.branch.BranchHooks.__init__ - 'set_rh',
125
'post_push', 'post_pull', 'post_commit', 'post_uncommit'. These hooks
126
fire after the matching operation on a branch has taken place, and were
127
originally added for the branchrss plugin. (Robert Collins)
129
* New method ``Branch.push()`` which should be used when pushing from a
130
branch as it makes performance and policy decisions to match the UI
131
level command ``push``. (Robert Collins).
133
* Add a new method ``Tree.revision_tree`` which allows access to cached
134
trees for arbitrary revisions. This allows the in development dirstate
135
tree format to provide access to the callers to cached copies of
136
inventory data which are cheaper to access than inventories from the
138
(Robert Collins, Martin Pool)
140
* New Branch.last_revision_info method, this is being done to allow
141
optimization of requests for both the number of revisions and the last
142
revision of a branch with smartservers and potentially future branch
143
formats. (Wouter van Heyst, Robert Collins)
145
* Allow 'import bzrlib.plugins.NAME' to work when the plugin NAME has not
146
yet been loaded by load_plugins(). This allows plugins to depend on each
147
other for code reuse without requiring users to perform file-renaming
148
gymnastics. (Robert Collins)
150
* New Repository method 'gather_stats' for statistic data collection.
151
This is expected to grow to cover a number of related uses mainly
152
related to bzr info. (Robert Collins)
154
* Log formatters are now managed with a registry.
155
``log.register_formatter`` continues to work, but callers accessing
156
the FORMATTERS dictionary directly will not.
158
* Allow a start message to be passed to the ``edit_commit_message``
159
function. This will be placed in the message offered to the user
160
for editing above the separator. It allows a template commit message
161
to be used more easily. (James Westby)
163
* ``GPGStrategy.sign()`` will now raise ``BzrBadParameterUnicode`` if
164
you pass a Unicode string rather than an 8-bit string. Callers need
165
to be updated to encode first. (John Arbash Meinel)
167
* Branch.push, pull, merge now return Result objects with information
168
about what happened, rather than a scattering of various methods. These
169
are also passed to the post hooks. (Martin Pool)
173
* ``bzr annotate`` now uses dotted revnos from the viewpoint of the
174
branch, rather than the last changed revision of the file.
175
(John Arbash Meinel, #82158)
177
* Lock operations no longer hang if they encounter a permission problem.
180
* ``bzr push`` can resume a push that was canceled before it finished.
181
Also, it can push even if the target directory exists if you supply
182
the ``--use-existing-dir`` flag.
183
(John Arbash Meinel, #30576, #45504)
185
* Fix http proxy authentication when user and an optional
186
password appears in the ``*_proxy`` vars. (Vincent Ladeuil,
189
* ``bzr log branch/file`` works for local treeless branches
190
(Aaron Bentley, #84247)
192
* Fix problem with UNC paths on Windows 98. (Alexander Belchenko, #84728)
194
* Searching location of CA bundle for PyCurl in env variable (CURL_CA_BUNDLE),
195
and on win32 along the PATH. (Alexander Belchenko, #82086)
197
* ``bzr init`` works with unicode argument LOCATION.
198
(Alexander Belchenko, #85599)
200
* Raise DependencyNotPresent if pycurl do not support https. (Vincent
203
* Invalid proxy env variables should not cause a traceback.
204
(Vincent Ladeuil, #87765)
206
* Ignore patterns normalised to use '/' path separator.
207
(Kent Gibson, #86451)
211
* New ``--first`` option to ``bzr selftest`` to run specified tests
212
before the rest of the suite. (Martin Pool)
215
* Fix bzrtools shelve command for removed lines beginning with "--"
216
(Johan Dahlberg, #75577)
222
* ``bzr help global-options`` describes the global options. (Aaron Bentley)
226
* Skip documentation generation tests if the tools to do so are not
227
available. Fixes running selftest for installled copies of bzr.
228
(John Arbash Meinel, #80330)
230
* Fix the code that discovers whether bzr is being run from it's
231
working tree to handle the case when it isn't but the directory
232
it is in is below a repository. (James Westby, #77306)
235
bzr 0.14rc1 2007-01-16
239
* New connection: ``bzr+http://`` which supports tunnelling the smart
240
protocol over an HTTP connection. If writing is enabled on the bzr
241
server, then you can write over the http connection.
242
(Andrew Bennetts, John Arbash Meinel)
244
* Aliases now support quotation marks, so they can contain whitespace
247
* PyCurlTransport now use a single curl object. By specifying explicitly
248
the 'Range' header, we avoid the need to use two different curl objects
249
(and two connections to the same server). (Vincent Ladeuil)
251
* ``bzr commit`` does not prompt for a message until it is very likely to
252
succeed. (Aaron Bentley)
254
* ``bzr conflicts`` now takes --text to list pathnames of text conflicts
257
* Fix ``iter_lines_added_or_present_in_versions`` to use a set instead
258
of a list while checking if a revision id was requested. Takes 10s
259
off of the ``fileids_affected_by_revision_ids`` time, which is 10s
260
of the ``bzr branch`` time. Also improve ``fileids_...`` time by
261
filtering lines with a regex rather than multiple ``str.find()``
262
calls. (saves another 300ms) (John Arbash Meinel)
264
* Policy can be set for each configuration key. This allows keys to be
265
inherited properly across configuration entries. For example, this
266
should enable you to do::
269
push_location = sftp://host/srv/project/
270
push_location:policy = appendpath
272
And then a branch like ``/home/user/project/mybranch`` should get an
273
automatic push location of ``sftp://host/srv/project/mybranch``.
276
* Added ``bzr status --short`` to make status report svn style flags
277
for each file. For example::
285
* 'bzr selftest --clean-output' allows easily clean temporary tests
286
directories without running tests. (Alexander Belchenko)
288
* ``bzr help hidden-commands`` lists all hidden commands. (Aaron Bentley)
290
* ``bzr merge`` now has an option ``--pull`` to fall back to pull if
291
local is fully merged into remote. (Jan Hudec)
293
* ``bzr help formats`` describes available directory formats. (Aaron Bentley)
297
* A few tweaks directly to ``fileids_affected_by_revision_ids`` to
298
help speed up processing, as well allowing to extract unannotated
299
lines. Between the two ``fileids_affected_by_revision_ids`` is
300
improved by approx 10%. (John Arbash Meinel)
302
* Change Revision serialization to only write out millisecond
303
resolution. Rather than expecting floating point serialization to
304
preserve more resolution than we need. (Henri Weichers, Martin Pool)
306
* Test suite ends cleanly on Windows. (Vincent Ladeuil)
308
* When 'encoding_type' attribute of class Command is equal to 'exact',
309
force sys.stdout to be a binary stream on Windows, and therefore
310
keep exact line-endings (without LF -> CRLF conversion).
311
(Alexander Belchenko)
313
* Single-letter short options are no longer globally declared. (Martin
316
* Before using detected user/terminal encoding bzr should check
317
that Python has corresponding codec. (Alexander Belchenko)
319
* Formats for end-user selection are provided via a FormatRegistry (Aaron Bentley)
323
* ``bzr missing --verbose`` was showing adds/removals in the wrong
324
direction. (John Arbash Meinel)
326
* ``bzr annotate`` now defaults to showing dotted revnos for merged
327
revisions. It cuts them off at a depth of 12 characters, but you can
328
supply ``--long`` to see the full number. You can also use
329
``--show-ids`` to display the original revision ids, rather than
330
revision numbers and committer names. (John Arbash Meinel, #75637)
332
* bzr now supports Win32 UNC path (e.g. \\HOST\path).
333
(Alexander Belchenko, #57869)
335
* Win32-specific: output of cat, bundle and diff commands don't mangle
336
line-endings (Alexander Belchenko, #55276)
338
* Replace broken fnmatch based ignore pattern matching with custom pattern
340
(Kent Gibson, Jan Hudec #57637)
342
* pycurl and urllib can detect short reads at different places. Update
343
the test suite to test more cases. Also detect http error code 416
344
which was raised for that specific bug. Also enhance the urllib
345
robustness by detecting invalid ranges (and pycurl's one by detecting
346
short reads during the initial GET). (Vincent Ladeuil, #73948)
348
* The urllib connection sharing interacts badly with urllib2
349
proxy setting (the connections didn't go thru the proxy
350
anymore). Defining a proper ProxyHandler solves the
351
problem. (Vincent Ladeuil, #74759)
353
* Use urlutils to generate relative URLs, not osutils
354
(Aaron Bentley, #76229)
356
* ``bzr status`` in a readonly directory should work without giving
357
lots of errors. (John Arbash Meinel, #76299)
359
* Mention the revisionspec topic for the revision option help.
360
(Wouter van Heyst, #31663)
362
* Allow plugins import from zip archives.
363
(Alexander Belchenko, #68124)
365
* bzr rocks. It sure does! Fix case. (Vincent Ladeuil, #78026)
370
No changes from 0.13rc1
372
bzr 0.13rc1 2006-11-27
376
* New command ``bzr remove-tree`` allows the removal of the working
380
* urllib uses shared keep-alive connections, so http
381
operations are substantially faster.
382
(Vincent Ladeuil, #53654)
384
* ``bzr export`` allows an optional branch parameter, to export a bzr
385
tree from some other url. For example:
386
``bzr export bzr.tar.gz http://bazaar-vcs.org/bzr/bzr.dev``
389
* Added ``bzr help topics`` to the bzr help system. This gives a
390
location for general information, outside of a specific command.
391
This includes updates for ``bzr help revisionspec`` the first topic
392
included. (Goffredo Baroncelli, John Arbash Meinel, #42714)
394
* WSGI-compatible HTTP smart server. See ``doc/http_smart_server.txt``.
397
* Knit files will now cache full texts only when the size of the
398
deltas is as large as the size of the fulltext. (Or after 200
399
deltas, whichever comes first). This has the most benefit on large
400
files with small changes, such as the inventory for a large project.
401
(eg For a project with 2500 files, and 7500 revisions, it changes
402
the size of inventory.knit from 11MB to 5.4MB) (John Arbash Meinel)
406
* New -D option given before the command line turns on debugging output
407
for particular areas. -Derror shows tracebacks on all errors.
410
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
411
and remove benchmarks that take longer than 10min to run.
414
* Use ``time.time()`` instead of ``time.clock()`` to decide on
415
progress throttling. Because ``time.clock()`` is actually CPU time,
416
so over a high-latency connection, too many updates get throttled.
419
* ``MemoryTransport.list_dir()`` would strip the first character for
420
files or directories in root directory. (John Arbash Meinel)
422
* New ``ChrootTransportDecorator``, accessible via the ``chroot+`` url
423
prefix. It disallows any access to locations above a set URL. (Andrew
428
* Now _KnitIndex properly decode revision ids when loading index data.
429
And optimize the knit index parsing code. (Dmitry Vasiliev, John
432
* ``bzrlib/bzrdir.py`` was directly referencing ``bzrlib.workingtree``,
433
without importing it. This prevented ``bzr upgrade`` from working
434
unless a plugin already imported ``bzrlib.workingtree``
435
(John Arbash Meinel, #70716)
437
* Suppress the traceback on invalid URLs (Vincent Ladeuil, #70803).
439
* Give nicer error message when an http server returns a 403
440
error code. (Vincent Ladeuil, #57644).
442
* When a multi-range http GET request fails, try a single
443
range one. If it fails too, forget about ranges. Remember that until
444
the death of the transport and propagates that to the clones.
445
(Vincent Ladeuil, #62276, #62029).
447
* Handles user/passwords supplied in url from command
448
line (for the urllib implementation). Don't request already
449
known passwords (Vincent Ladeuil, #42383, #44647, #48527)
451
* _KnitIndex.add_versions() dictionary compresses revision ids as they
452
are added. This fixes bug where fetching remote revisions records
453
them as full references rather than integers. (John Arbash Meinel,
456
* ``bzr ignore`` strips trailing slashes in patterns.
457
Also ``bzr ignore`` rejects absolute paths. (Kent Gibson, #4559)
459
* ``bzr ignore`` takes multiple arguments. (Cheuksan Edward Wang, #29488)
461
* mv correctly handles paths that traverse symlinks.
462
(Aaron Bentley, #66964)
464
* Give nicer looking error messages when failing to connect over ssh.
465
(John Arbash Meinel, #49172)
467
* Pushing to a remote branch does not currently update the remote working
468
tree. After a remote push, ``bzr status`` and ``bzr diff`` on the remote
469
machine now show that the working tree is out of date.
470
(Cheuksan Edward Wang #48136)
472
* Use patiencediff instead of difflib for determining deltas to insert
473
into knits. This avoids the O(N^3) behavior of difflib. Patience
474
diff should be O(N^2). (Cheuksan Edward Wang, #65714)
476
* Running ``bzr log`` on nonexistent file gives an error instead of the
477
entire log history. (Cheuksan Edward Wang #50793)
479
* ``bzr cat`` can look up contents of removed or renamed files. If the
480
pathname is ambiguous, i.e. the files in the old and new trees have
481
different id's, the default is the file in the new tree. The user can
482
use "--name-from-revision" to select the file in the old tree.
483
(Cheuksan Edward Wang, #30190)
487
* TestingHTTPRequestHandler really handles the Range header
488
(previously it was ignoring it and returning the whole file,).
494
* Clean up ``bzr selftest --benchmark bundle`` to correct an import,
495
and remove benchmarks that take longer than 10min to run.
498
bzr 0.12rc1 2006-10-23
502
* ``bzr log`` now shows dotted-decimal revision numbers for all revisions,
503
rather than just showing a decimal revision number for revisions on the
504
mainline. These revision numbers are not yet accepted as input into bzr
505
commands such as log, diff etc. (Robert Collins)
507
* revisions can now be specified using dotted-decimal revision numbers.
508
For instance, ``bzr diff -r 1.2.1..1.2.3``. (Robert Collins)
510
* ``bzr help commands`` output is now shorter (Aaron Bentley)
512
* ``bzr`` now uses lazy importing to reduce the startup time. This has
513
a moderate effect on lots of actions, especially ones that have
514
little to do. For example ``bzr rocks`` time is down to 116ms from
515
283ms. (John Arbash Meinel)
517
* New Registry class to provide name-to-object registry-like support,
518
for example for schemes where plugins can register new classes to
519
do certain tasks (e.g. log formatters). Also provides lazy registration
520
to allow modules to be loaded on request. (John Arbash Meinel, Adeodato
525
* LogFormatter subclasses show now expect the 'revno' parameter to
526
show() to be a string rather than an int. (Robert Collins)
530
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
531
can take a ``working_dir='foo'`` parameter, which will change directory
532
for the command. (John Arbash Meinel)
534
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
535
around a regex, which defers compilation until first use.
538
* ``TestCase.run_bzr_subprocess`` defaults to supplying the
539
``--no-plugins`` parameter to ensure test reproducability, and avoid
540
problems with system-wide installed plugins. (John Arbash Meinel)
542
* Unique tree root ids are now supported. Newly created trees still
543
use the common root id for compatibility with bzr versions before 0.12.
546
* ``WorkingTree.set_root_id(None)`` is now deprecated. Please
547
pass in inventory.ROOT_ID if you want the default root id value.
548
(Robert Collins, John Arbash Meinel)
550
* New method ``WorkingTree.flush()`` which will write the current memory
551
inventory out to disk. At the same time, read_working_inventory will
552
no longer trash the current tree inventory if it has been modified within
553
the current lock, and the tree will now ``flush()`` automatically on
554
``unlock()``. ``WorkingTree.set_root_id()`` has been updated to take
555
advantage of this functionality. (Robert Collins, John Arbash Meinel)
557
* ``bzrlib.tsort.merge_sorted`` now accepts ``generate_revnos``. This
558
parameter will cause it to add another column to its output, which
559
contains the dotted-decimal revno for each revision, as a tuple.
562
* ``LogFormatter.show_merge`` is deprecated in favour of
563
``LogFormatter.show_merge_revno``. (Robert Collins)
567
* Avoid circular imports by creating a deprecated function for
568
``bzrlib.tree.RevisionTree``. Callers should have been using
569
``bzrlib.revisontree.RevisionTree`` anyway. (John Arbash Meinel,
572
* Don't use ``socket.MSG_WAITALL`` as it doesn't exist on all
573
platforms. (Martin Pool, #66356)
575
* Don't require ``Content-Type`` in range responses. Assume they are a
576
single range if ``Content-Type`` does not exist.
577
(John Arbash Meinel, #62473)
579
* bzr branch/pull no longer complain about progress bar cleanup when
580
interrupted during fetch. (Aaron Bentley, #54000)
582
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
583
the basis inventory, rather than going through the repository. This
584
allows us to have 1 inventory read, and 2 inventory writes when
585
committing a new tree. (John Arbash Meinel)
587
* When reverting, files that are not locally modified that do not exist
588
in the target are deleted, not just unversioned (Aaron Bentley)
590
* When trying to acquire a lock, don't fail immediately. Instead, try
591
a few times (up to 1 hour) before timing out. Also, report why the
592
lock is unavailable (John Arbash Meinel, #43521, #49556)
594
* Leave HttpTransportBase daughter classes decides how they
595
implement cloning. (Vincent Ladeuil, #61606)
597
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
599
* If a commit fails, the commit message is stored in a file at the root of
600
the tree for later commit. (Cheuksan Edward Wang, Stefan Metzmacher,
605
* New test base class TestCaseWithMemoryTransport offers memory-only
606
testing facilities: its not suitable for tests that need to mutate disk
607
state, but most tests should not need that and should be converted to
608
TestCaseWithMemoryTransport. (Robert Collins)
610
* ``TestCase.make_branch_and_memory_tree`` now takes a format
611
option to set the BzrDir, Repository and Branch formats of the
612
created objects. (Robert Collins, John Arbash Meinel)
616
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
618
bzr 0.11rc2 2006-09-27
622
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
624
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
627
bzr 0.11rc1 2006-09-25
631
* Knit files now wait to create their contents until the first data is
632
added. The old code used to create an empty .knit and a .kndx with just
633
the header. However, this caused a lot of extra round trips over sftp.
634
This can change the time for ``bzr push`` to create a new remote branch
635
from 160s down to 100s. This also affects ``bzr commit`` performance when
636
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
637
down to 40s (John Arbash Meinel, #44692)
639
* When an entire subtree has been deleted, commit will now report that
640
just the top of the subtree has been deleted, rather than reporting
641
all the individual items. (Robert Collins)
643
* Commit performs one less XML parse. (Robert Collins)
645
* ``bzr checkout`` now operates on readonly branches as well
646
as readwrite branches. This fixes bug #39542. (Robert Collins)
648
* ``bzr bind`` no longer synchronises history with the master branch.
649
Binding should be followed by an update or push to synchronise the
650
two branches. This is closely related to the fix for bug #39542.
653
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
654
objects. This allows all imports to stay at the global scope, but
655
modules will not actually be imported if they are not used.
658
* Support bzr:// and bzr+ssh:// urls to work with the new RPC-based
659
transport which will be used with the upcoming high-performance smart
660
server. The new command ``bzr serve`` will invoke bzr in server mode,
661
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
664
* New command ``bzr version-info`` which can be used to get a summary
665
of the current state of the tree. This is especially useful as part
666
of a build commands. See ``doc/version_info.txt`` for more information
671
* 'bzr inventory [FILE...]' allows restricting the file list to a
672
specific set of files. (John Arbash Meinel, #3631)
674
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
676
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
677
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
678
reading a nested Stanza. (John Arbash Meinel)
680
* Transform._set_mode() needs to stat the right file.
681
(John Arbash Meinel, #56549)
683
* Raise WeaveFormatError rather than StopIteration when trying to read
684
an empty Weave file. (John Arbash Meinel, #46871)
686
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
687
(Vincent Ladeuil, #59835)
689
* Handle boundary="" lines properly to allow access through a Squid proxy.
690
(John Arbash Meinel, #57723)
692
* revert now removes newly-added directories (Aaron Bentley, #54172)
694
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
695
isn't a working tree. (David Allouche, #40679)
697
* Give nicer error messages when a user supplies an invalid --revision
698
parameter. (John Arbash Meinel, #55420)
700
* Handle when LANG is not recognized by python. Emit a warning, but
701
just revert to using 'ascii'. (John Arbash Meinel, #35392)
703
* Don't use preexec_fn on win32, as it is not supported by subprocess.
706
* Skip specific tests when the dependencies aren't met. This includes
707
some ``setup.py`` tests when ``python-dev`` is not available, and
708
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
710
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
711
the system. (Andrew Bennetts, John Arbash Meinel)
713
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
714
other branch, and will not push or pull between the two branches.
715
API users will need to perform a push or pull or update operation if they
716
require branch synchronisation to take place. (Robert Collins, #47344)
718
* When creating a tarball or zipfile export, export unicode names as utf-8
719
paths. This may not work perfectly on all platforms, but has the best
720
chance of working in the common case. (John Arbash Meinel, #56816)
722
* When committing, only files that exist in working tree or basis tree
723
may be specified (Aaron Bentley, #50793)
727
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
731
* TestCaseInTempDir now creates a separate directory for HOME, rather
732
than having HOME set to the same location as the working directory.
735
* run_bzr_subprocess() can take an optional 'env_changes={}' parameter,
736
which will update os.environ inside the spawned child. It also can
737
take a 'universal_newlines=True', which helps when checking the output
738
of the command. (John Arbash Meinel)
740
* Refactor SFTP vendors to allow easier re-use when ssh is used.
743
* Transport.list_dir() and Transport.iter_files_recursive() should always
744
return urlescaped paths. This is now tested (there were bugs in a few
745
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
747
* New utility function symbol_versioning.deprecation_string. Returns the
748
formatted string for a callable, deprecation format pair. (Robert Collins)
750
* New TestCase helper applyDeprecated. This allows you to call a callable
751
which is deprecated without it spewing to the screen, just by supplying
752
the deprecation format string issued for it. (Robert Collins)
754
* Transport.append and Transport.put have been deprecated in favor of
755
.append_bytes, .append_file, .put_bytes, and .put_file. This removes the
756
ambiguity in what type of object the functions take.
757
Transport.non_atomic_put_{bytes,file} has also been added. Which works
758
similarly to Transport.append() except for SFTP, it doesn't have a round
759
trip when opening the file. Also, it provides functionality for creating
760
a parent directory when trying to create a file, rather than raise
761
NoSuchFile and forcing the caller to repeat their request.
764
* WorkingTree has a new api ``unversion`` which allow the unversioning of
765
entries by their file id. (Robert Collins)
767
* WorkingTree.pending_merges is deprecated. Please use the get_parent_ids
768
(introduced in 0.10) method instead. (Robert Collins)
770
* WorkingTree has a new lock_tree_write method which locks the branch for
771
read rather than write. This is appropriate for actions which only need
772
the branch data for reference rather than mutation. A new decorator
773
needs_tree_write_lock is provided in the workingtree module. Like the
774
needs_read_lock and needs_write_lock decorators this allows static
775
declaration of the locking requirements of a function to ensure that
776
a lock is taken out for casual scripts. (Robert Collins, #54107)
778
* All WorkingTree methods which write to the tree, but not to the branch
779
have been converted to use ``needs_tree_write_lock`` rather than
780
``needs_write_lock``. Also converted is the revert, conflicts and tree
781
transform modules. This provides a modest performance improvement on
782
metadir style trees, due to the reduce lock-acquisition, and a more
783
significant performance improvement on lightweight checkouts from
784
remote branches, where trivial operations used to pay a significant
785
penalty. It also provides the basis for allowing readonly checkouts.
788
* Special case importing the standard library 'copy' module. This shaves
789
off 40ms of startup time, while retaining compatibility. See:
790
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
792
* WorkingTree has a new parent class MutableTree which represents the
793
specialisations of Tree which are able to be altered. (Robert Collins)
795
* New methods mkdir and put_file_bytes_non_atomic on MutableTree that
796
mutate the tree and its contents. (Robert Collins)
798
* Transport behaviour at the root of the URL is now defined and tested.
799
(Andrew Bennetts, Robert Collins)
803
* New test helper classs MemoryTree. This is typically accessed via
804
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
806
* Add start_bzr_subprocess and stop_bzr_subprocess to allow test code to
807
continue running concurrently with a subprocess of bzr. (Andrew Bennetts,
810
* Add a new method ``Transport.get_smart_client()``. This is provided to
811
allow upgrades to a richer interface than the VFS one provided by
812
Transport. (Andrew Bennetts, Martin Pool)
817
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
818
tree. (Aaron Bentley)
820
* 'bzr add --file-ids-from' can be used to specify another path to use
821
for creating file ids, rather than generating all new ones. Internally,
822
the 'action' passed to smart_add_tree() can return file_ids that
823
will be used, rather than having bzrlib generate new ones.
824
(John Arbash Meinel, #55781)
826
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
827
This will cache some of the intermediate trees, and decrease the
828
setup time for benchmark tests. (John Arbash Meinel)
830
* Inverse forms are provided for all boolean options. For example,
831
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
833
* Serialize out Inventories directly, rather than using ElementTree.
834
Writing out a kernel sized inventory drops from 2s down to ~350ms.
835
(Robert Collins, John Arbash Meinel)
839
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
841
* Change LockDir so that if the lock directory doesn't exist when
842
lock_write() is called, an attempt will be made to create it.
843
(John Arbash Meinel, #56974)
845
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
847
* Active FTP transport now works as intended. (ghozzy, #56472)
849
* Really fix mutter() so that it won't ever raise a UnicodeError.
850
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
851
But it is a debugging log, not a real user file.
852
(John Arbash Meinel, #56947, #53880)
854
* Change Command handle to allow Unicode command and options.
855
At present we cannot register Unicode command names, so we will get
856
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
857
But that is better than a UnicodeError + a traceback.
858
(John Arbash Meinel, #57123)
860
* Handle TZ=UTC properly when reading/writing revisions.
861
(John Arbash Meinel, #55783, #56290)
863
* Use GPG_TTY to allow gpg --cl to work with gpg-agent in a pipeline,
864
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
866
* External diff does the right thing for binaries even in foreign
867
languages. (John Arbash Meinel, #56307)
869
* Testament handles more cases when content is unicode. Specific bug was
870
in handling of revision properties. (John Arbash Meinel, Holger Krekel,
873
* The bzr selftest was failing on installed versions due to a bug in a new
874
test helper. (John Arbash Meinel, Robert Collins, #58057)
878
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
879
which can be used to cache the conversion between utf8 and Unicode.
880
Especially helpful for some of the knit annotation code, which has to
881
convert revision ids to utf8 to annotate lines in storage.
884
* ``setup.py`` now searches the filesystem to find all packages which
885
need to be installed. This should help make the life of packagers
886
easier. (John Arbash Meinel)
892
* The hard-coded built-in ignore rules have been removed. There are
893
now two rulesets which are enforced. A user global one in
894
~/.bazaar/ignore which will apply to every tree, and the tree
895
specific one '.bzrignore'.
896
~/.bazaar/ignore will be created if it does not exist, but with
897
a more conservative list than the old default.
898
This fixes bugs with default rules being enforced no matter what.
899
The old list of ignore rules from bzr is available by
900
running 'bzr ignore --old-default-rules'.
901
(Robert Collins, Martin Pool, John Arbash Meinel)
903
* 'branches.conf' has been changed to 'locations.conf', since it can apply
904
to more locations than just branch locations.
909
* The revision specifier "revno:" is extended to accept the syntax
910
revno:N:branch. For example,
911
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
912
bzr.dev. (Matthieu Moy)
914
* Tests updates to ensure proper URL handling, UNICODE support, and
915
proper printing when the user's terminal encoding cannot display
916
the path of a file that has been versioned.
917
``bzr branch`` can take a target URL rather than only a local directory.
918
Branch.get_parent()/set_parent() now save a relative path if possible,
919
and normalize the parent based on root, allowing access across
920
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
921
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
5
924
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
6
925
Use terminal width for single-line logs from ``bzr log --line`` and