13
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
23
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
25
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
36
* Knit files now wait to create their contents until the first data is
37
added. The old code used to create an empty .knit and a .kndx with just
38
the header. However, this caused a lot of extra round trips over SFTP.
39
This can change the time for ``bzr push`` to create a new remote branch
40
from 160s down to 100s. This also affects ``bzr commit`` performance when
41
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
42
down to 40s (John Arbash Meinel, #44692)
44
* When an entire subtree has been deleted, commit will now report that
45
just the top of the subtree has been deleted, rather than reporting
46
all the individual items. (Robert Collins)
48
* Commit performs one less XML parse. (Robert Collins)
50
* ``bzr checkout`` now operates on readonly branches as well
51
as readwrite branches. This fixes bug #39542. (Robert Collins)
53
* ``bzr bind`` no longer synchronises history with the master branch.
54
Binding should be followed by an update or push to synchronise the
55
two branches. This is closely related to the fix for bug #39542.
58
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
59
objects. This allows all imports to stay at the global scope, but
60
modules will not actually be imported if they are not used.
63
* Support ``bzr://`` and ``bzr+ssh://`` URLS to work with the new RPC-based
64
transport which will be used with the upcoming high-performance smart
65
server. The new command ``bzr serve`` will invoke bzr in server mode,
66
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
69
* New command ``bzr version-info`` which can be used to get a summary
70
of the current state of the tree. This is especially useful as part
71
of a build commands. See ``doc/version_info.txt`` for more information
77
* ``'bzr inventory [FILE...]'`` allows restricting the file list to a
78
specific set of files. (John Arbash Meinel, #3631)
80
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
82
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
83
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
84
reading a nested Stanza. (John Arbash Meinel)
86
* Transform._set_mode() needs to stat the right file.
87
(John Arbash Meinel, #56549)
89
* Raise WeaveFormatError rather than StopIteration when trying to read
90
an empty Weave file. (John Arbash Meinel, #46871)
92
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
93
(Vincent Ladeuil, #59835)
95
* Handle boundary="" lines properly to allow access through a Squid proxy.
96
(John Arbash Meinel, #57723)
98
* revert now removes newly-added directories (Aaron Bentley, #54172)
100
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
101
isn't a working tree. (David Allouche, #40679)
103
* Give nicer error messages when a user supplies an invalid --revision
104
parameter. (John Arbash Meinel, #55420)
106
* Handle when LANG is not recognized by python. Emit a warning, but
107
just revert to using 'ascii'. (John Arbash Meinel, #35392)
109
* Don't use ``preexec_fn`` on win32, as it is not supported by subprocess.
112
* Skip specific tests when the dependencies aren't met. This includes
113
some ``setup.py`` tests when ``python-dev`` is not available, and
114
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
116
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
117
the system. (Andrew Bennetts, John Arbash Meinel)
119
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
120
other branch, and will not push or pull between the two branches.
121
API users will need to perform a push or pull or update operation if they
122
require branch synchronisation to take place. (Robert Collins, #43744)
124
* When creating a tarball or zipfile export, export unicode names as utf-8
125
paths. This may not work perfectly on all platforms, but has the best
126
chance of working in the common case. (John Arbash Meinel, #56815)
128
* When committing, only files that exist in working tree or basis tree
129
may be specified (Aaron Bentley, #50793)
134
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
139
* TestCaseInTempDir now creates a separate directory for HOME, rather
140
than having HOME set to the same location as the working directory.
143
* ``run_bzr_subprocess()`` can take an optional ``env_changes={}`` parameter,
144
which will update os.environ inside the spawned child. It also can
145
take a ``universal_newlines=True``, which helps when checking the output
146
of the command. (John Arbash Meinel)
148
* Refactor SFTP vendors to allow easier re-use when SSH is used.
151
* ``Transport.list_dir()`` and ``Transport.iter_files_recursive()`` should always
152
return urlescaped paths. This is now tested (there were bugs in a few
153
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
155
* New utility function ``symbol_versioning.deprecation_string``. Returns the
156
formatted string for a callable, deprecation format pair. (Robert Collins)
158
* New TestCase helper applyDeprecated. This allows you to call a callable
159
which is deprecated without it spewing to the screen, just by supplying
160
the deprecation format string issued for it. (Robert Collins)
162
* Transport.append and Transport.put have been deprecated in favor of
163
``.append_bytes``, ``.append_file``, ``.put_bytes``, and
164
``.put_file``. This removes the ambiguity in what type of object the
165
functions take. ``Transport.non_atomic_put_{bytes,file}`` has also
166
been added. Which works similarly to ``Transport.append()`` except for
167
SFTP, it doesn't have a round trip when opening the file. Also, it
168
provides functionality for creating a parent directory when trying
169
to create a file, rather than raise NoSuchFile and forcing the
170
caller to repeat their request.
173
* WorkingTree has a new api ``unversion`` which allow the unversioning of
174
entries by their file id. (Robert Collins)
176
* ``WorkingTree.pending_merges`` is deprecated. Please use the
177
``get_parent_ids`` (introduced in 0.10) method instead. (Robert Collins)
179
* WorkingTree has a new ``lock_tree_write`` method which locks the branch for
180
read rather than write. This is appropriate for actions which only need
181
the branch data for reference rather than mutation. A new decorator
182
``needs_tree_write_lock`` is provided in the workingtree module. Like the
183
``needs_read_lock`` and ``needs_write_lock`` decorators this allows static
184
declaration of the locking requirements of a function to ensure that
185
a lock is taken out for casual scripts. (Robert Collins, #54107)
187
* All WorkingTree methods which write to the tree, but not to the branch
188
have been converted to use ``needs_tree_write_lock`` rather than
189
``needs_write_lock``. Also converted is the revert, conflicts and tree
190
transform modules. This provides a modest performance improvement on
191
metadir style trees, due to the reduce lock-acquisition, and a more
192
significant performance improvement on lightweight checkouts from
193
remote branches, where trivial operations used to pay a significant
194
penalty. It also provides the basis for allowing readonly checkouts.
197
* Special case importing the standard library 'copy' module. This shaves
198
off 40ms of startup time, while retaining compatibility. See:
199
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
201
* WorkingTree has a new parent class MutableTree which represents the
202
specialisations of Tree which are able to be altered. (Robert Collins)
204
* New methods mkdir and ``put_file_bytes_non_atomic`` on MutableTree that
205
mutate the tree and its contents. (Robert Collins)
207
* Transport behaviour at the root of the URL is now defined and tested.
208
(Andrew Bennetts, Robert Collins)
213
* New test helper classs MemoryTree. This is typically accessed via
214
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
216
* Add ``start_bzr_subprocess`` and ``stop_bzr_subprocess`` to allow test
217
code to continue running concurrently with a subprocess of bzr.
218
(Andrew Bennetts, Robert Collins)
220
* Add a new method ``Transport.get_smart_client()``. This is provided to
221
allow upgrades to a richer interface than the VFS one provided by
222
Transport. (Andrew Bennetts, Martin Pool)
226
vim: tw=74 ft=rst ff=unix