4
* ``bzr help commands`` output is now shorter (Aaron Bentley)
6
* ``bzr`` now uses lazy importing to reduce the startup time. This has
7
a moderate effect on lots of actions, especially ones that have
8
little to do. For example ``bzr rocks`` time is down to 116ms from
9
283ms. (John Arbash Meinel)
13
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
14
can take a ``working_dir='foo'`` parameter, which will change directory
15
for the command. (John Arbash Meinel)
17
* ``bzrlib.lazy_regex.lazy_compile`` can be used to create a proxy
18
around a regex, which defers compilation until first use.
23
* bzr branch/pull no longer complain about progress bar cleanup when
24
interrupted during fetch. (Aaron Bentley, #54000)
26
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
27
the basis inventory, rather than going through the repository. This
28
allows us to have 1 inventory read, and 2 inventory writes when
29
committing a new tree. (John Arbash Meinel)
31
* When reverting, files that are not locally modified that do not exist
32
in the target are deleted, not just unversioned (Aaron Bentley)
34
* When trying to acquire a lock, don't fail immediately. Instead, try
35
a few times (up to 1 hour) before timing out. Also, report why the
36
lock is unavailable (John Arbash Meinel, #43521, #49556)
38
* Leave HttpTransportBase daughter classes decides how they
39
implement cloning. (Vincent Ladeuil, #61606)
41
* diff3 does not indicate conflicts on clean merge. (Aaron Bentley)
45
* New test base class TestCaseWithMemoryTransport offers memory-only
46
testing facilities: its not suitable for tests that need to mutate disk
47
state, but most tests should not need that and should be converted to
48
TestCaseWithMemoryTransport. (Robert Collins)
52
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
54
bzr 0.11rc2 2006-09-27
58
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
60
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
63
bzr 0.11rc1 2006-09-25
67
* Knit files now wait to create their contents until the first data is
68
added. The old code used to create an empty .knit and a .kndx with just
69
the header. However, this caused a lot of extra round trips over sftp.
70
This can change the time for ``bzr push`` to create a new remote branch
71
from 160s down to 100s. This also affects ``bzr commit`` performance when
72
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
73
down to 40s (John Arbash Meinel, #44692)
75
* When an entire subtree has been deleted, commit will now report that
76
just the top of the subtree has been deleted, rather than reporting
77
all the individual items. (Robert Collins)
79
* Commit performs one less XML parse. (Robert Collins)
81
* ``bzr checkout`` now operates on readonly branches as well
82
as readwrite branches. This fixes bug #39542. (Robert Collins)
84
* ``bzr bind`` no longer synchronises history with the master branch.
85
Binding should be followed by an update or push to synchronise the
86
two branches. This is closely related to the fix for bug #39542.
89
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
90
objects. This allows all imports to stay at the global scope, but
91
modules will not actually be imported if they are not used.
94
* Support bzr:// and bzr+ssh:// urls to work with the new RPC-based
95
transport which will be used with the upcoming high-performance smart
96
server. The new command ``bzr serve`` will invoke bzr in server mode,
97
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
100
* New command ``bzr version-info`` which can be used to get a summary
101
of the current state of the tree. This is especially useful as part
102
of a build commands. See ``doc/version_info.txt`` for more information
107
* 'bzr inventory [FILE...]' allows restricting the file list to a
108
specific set of files. (John Arbash Meinel, #3631)
110
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
112
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
113
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
114
reading a nested Stanza. (John Arbash Meinel)
116
* Transform._set_mode() needs to stat the right file.
117
(John Arbash Meinel, #56549)
119
* Raise WeaveFormatError rather than StopIteration when trying to read
120
an empty Weave file. (John Arbash Meinel, #46871)
122
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
123
(Vincent Ladeuil, #59835)
125
* Handle boundary="" lines properly to allow access through a Squid proxy.
126
(John Arbash Meinel, #57723)
128
* revert now removes newly-added directories (Aaron Bentley, #54172)
130
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
131
isn't a working tree. (David Allouche, #40679)
133
* Give nicer error messages when a user supplies an invalid --revision
134
parameter. (John Arbash Meinel, #55420)
136
* Handle when LANG is not recognized by python. Emit a warning, but
137
just revert to using 'ascii'. (John Arbash Meinel, #35392)
139
* Don't use preexec_fn on win32, as it is not supported by subprocess.
142
* Skip specific tests when the dependencies aren't met. This includes
143
some ``setup.py`` tests when ``python-dev`` is not available, and
144
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
146
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
147
the system. (Andrew Bennetts, John Arbash Meinel)
149
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
150
other branch, and will not push or pull between the two branches.
151
API users will need to perform a push or pull or update operation if they
152
require branch synchronisation to take place. (Robert Collins, #47344)
154
* When creating a tarball or zipfile export, export unicode names as utf-8
155
paths. This may not work perfectly on all platforms, but has the best
156
chance of working in the common case. (John Arbash Meinel, #56816)
158
* When committing, only files that exist in working tree or basis tree
159
may be specified (Aaron Bentley, #50793)
163
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
167
* TestCaseInTempDir now creates a separate directory for HOME, rather
168
than having HOME set to the same location as the working directory.
171
* run_bzr_subprocess() can take an optional 'env_changes={}' parameter,
172
which will update os.environ inside the spawned child. It also can
173
take a 'universal_newlines=True', which helps when checking the output
174
of the command. (John Arbash Meinel)
176
* Refactor SFTP vendors to allow easier re-use when ssh is used.
179
* Transport.list_dir() and Transport.iter_files_recursive() should always
180
return urlescaped paths. This is now tested (there were bugs in a few
181
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
183
* New utility function symbol_versioning.deprecation_string. Returns the
184
formatted string for a callable, deprecation format pair. (Robert Collins)
186
* New TestCase helper applyDeprecated. This allows you to call a callable
187
which is deprecated without it spewing to the screen, just by supplying
188
the deprecation format string issued for it. (Robert Collins)
190
* Transport.append and Transport.put have been deprecated in favor of
191
.append_bytes, .append_file, .put_bytes, and .put_file. This removes the
192
ambiguity in what type of object the functions take.
193
Transport.non_atomic_put_{bytes,file} has also been added. Which works
194
similarly to Transport.append() except for SFTP, it doesn't have a round
195
trip when opening the file. Also, it provides functionality for creating
196
a parent directory when trying to create a file, rather than raise
197
NoSuchFile and forcing the caller to repeat their request.
200
* WorkingTree has a new api ``unversion`` which allow the unversioning of
201
entries by their file id. (Robert Collins)
203
* WorkingTree.pending_merges is deprecated. Please use the get_parent_ids
204
(introduced in 0.10) method instead. (Robert Collins)
206
* WorkingTree has a new lock_tree_write method which locks the branch for
207
read rather than write. This is appropriate for actions which only need
208
the branch data for reference rather than mutation. A new decorator
209
needs_tree_write_lock is provided in the workingtree module. Like the
210
needs_read_lock and needs_write_lock decorators this allows static
211
declaration of the locking requirements of a function to ensure that
212
a lock is taken out for casual scripts. (Robert Collins, #54107)
214
* All WorkingTree methods which write to the tree, but not to the branch
215
have been converted to use ``needs_tree_write_lock`` rather than
216
``needs_write_lock``. Also converted is the revert, conflicts and tree
217
transform modules. This provides a modest performance improvement on
218
metadir style trees, due to the reduce lock-acquisition, and a more
219
significant performance improvement on lightweight checkouts from
220
remote branches, where trivial operations used to pay a significant
221
penalty. It also provides the basis for allowing readonly checkouts.
224
* Special case importing the standard library 'copy' module. This shaves
225
off 40ms of startup time, while retaining compatibility. See:
226
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
228
* WorkingTree has a new parent class MutableTree which represents the
229
specialisations of Tree which are able to be altered. (Robert Collins)
231
* New methods mkdir and put_file_bytes_non_atomic on MutableTree that
232
mutate the tree and its contents. (Robert Collins)
234
* Transport behaviour at the root of the URL is now defined and tested.
235
(Andrew Bennetts, Robert Collins)
239
* New test helper classs MemoryTree. This is typically accessed via
240
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
242
* Add start_bzr_subprocess and stop_bzr_subprocess to allow test code to
243
continue running concurrently with a subprocess of bzr. (Andrew Bennetts,
246
* Add a new method ``Transport.get_smart_client()``. This is provided to
247
allow upgrades to a richer interface than the VFS one provided by
248
Transport. (Andrew Bennetts, Martin Pool)
253
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
254
tree. (Aaron Bentley)
256
* 'bzr add --file-ids-from' can be used to specify another path to use
257
for creating file ids, rather than generating all new ones. Internally,
258
the 'action' passed to smart_add_tree() can return file_ids that
259
will be used, rather than having bzrlib generate new ones.
260
(John Arbash Meinel, #55781)
262
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
263
This will cache some of the intermediate trees, and decrease the
264
setup time for benchmark tests. (John Arbash Meinel)
266
* Inverse forms are provided for all boolean options. For example,
267
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
269
* Serialize out Inventories directly, rather than using ElementTree.
270
Writing out a kernel sized inventory drops from 2s down to ~350ms.
271
(Robert Collins, John Arbash Meinel)
275
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
277
* Change LockDir so that if the lock directory doesn't exist when
278
lock_write() is called, an attempt will be made to create it.
279
(John Arbash Meinel, #56974)
281
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
283
* Active FTP transport now works as intended. (ghozzy, #56472)
285
* Really fix mutter() so that it won't ever raise a UnicodeError.
286
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
287
But it is a debugging log, not a real user file.
288
(John Arbash Meinel, #56947, #53880)
290
* Change Command handle to allow Unicode command and options.
291
At present we cannot register Unicode command names, so we will get
292
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
293
But that is better than a UnicodeError + a traceback.
294
(John Arbash Meinel, #57123)
296
* Handle TZ=UTC properly when reading/writing revisions.
297
(John Arbash Meinel, #55783, #56290)
299
* Use GPG_TTY to allow gpg --cl to work with gpg-agent in a pipeline,
300
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
302
* External diff does the right thing for binaries even in foreign
303
languages. (John Arbash Meinel, #56307)
305
* Testament handles more cases when content is unicode. Specific bug was
306
in handling of revision properties. (John Arbash Meinel, Holger Krekel,
309
* The bzr selftest was failing on installed versions due to a bug in a new
310
test helper. (John Arbash Meinel, Robert Collins, #58057)
314
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
315
which can be used to cache the conversion between utf8 and Unicode.
316
Especially helpful for some of the knit annotation code, which has to
317
convert revision ids to utf8 to annotate lines in storage.
320
* ``setup.py`` now searches the filesystem to find all packages which
321
need to be installed. This should help make the life of packagers
322
easier. (John Arbash Meinel)
328
* The hard-coded built-in ignore rules have been removed. There are
329
now two rulesets which are enforced. A user global one in
330
~/.bazaar/ignore which will apply to every tree, and the tree
331
specific one '.bzrignore'.
332
~/.bazaar/ignore will be created if it does not exist, but with
333
a more conservative list than the old default.
334
This fixes bugs with default rules being enforced no matter what.
335
The old list of ignore rules from bzr is available by
336
running 'bzr ignore --old-default-rules'.
337
(Robert Collins, Martin Pool, John Arbash Meinel)
339
* 'branches.conf' has been changed to 'locations.conf', since it can apply
340
to more locations than just branch locations.
5
345
* The revision specifier "revno:" is extended to accept the syntax
6
346
revno:N:branch. For example,
7
347
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
8
348
bzr.dev. (Matthieu Moy)
10
* No default ignore rules are applied by bzr - only the rules in .bzrignore
11
are considered. This fixes bugs with default rules being enforced no
12
matter what. The old list of ignore rules from bzr is available by
13
running 'bzr ignore --old-default-rules'.
15
350
* Tests updates to ensure proper URL handling, UNICODE support, and
16
351
proper printing when the user's terminal encoding cannot display
17
352
the path of a file that has been versioned.