4
* ``bzr help commands`` output is now shorter (Aaron Bentley)
8
* ``TestCase.run_bzr``, ``run_bzr_captured``, and ``run_bzr_subprocess``
9
can take a ``working_dir='foo'`` parameter, which will change directory
10
for the command. (John Arbash Meinel)
14
* bzr branch/pull no longer complain about progress bar cleanup when
15
interrupted during fetch. (Aaron Bentley, #54000)
17
* ``WorkingTree.set_parent_trees()`` uses the trees to directly write
18
the basis inventory, rather than going through the repository. This
19
allows us to have 1 inventory read, and 2 inventory writes when
20
committing a new tree. (John Arbash Meinel)
22
* When reverting, files that are not locally modified that do not exist
23
in the target are deleted, not just unversioned (Aaron Bentley)
25
* When trying to acquire a lock, don't fail immediately. Instead, try
26
a few times (up to 1 hour) before timing out. Also, report why the
27
lock is unavailable (John Arbash Meinel, #43521, #49556)
29
* Leave HttpTransportBase daughter classes decides how they
30
implement cloning. (Vincent Ladeuil, #61606)
34
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
36
bzr 0.11rc2 2006-09-27
40
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
42
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
45
bzr 0.11rc1 2006-09-25
49
* Knit files now wait to create their contents until the first data is
50
added. The old code used to create an empty .knit and a .kndx with just
51
the header. However, this caused a lot of extra round trips over sftp.
52
This can change the time for ``bzr push`` to create a new remote branch
53
from 160s down to 100s. This also affects ``bzr commit`` performance when
54
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
55
down to 40s (John Arbash Meinel, #44692)
57
* When an entire subtree has been deleted, commit will now report that
58
just the top of the subtree has been deleted, rather than reporting
59
all the individual items. (Robert Collins)
61
* Commit performs one less XML parse. (Robert Collins)
63
* ``bzr checkout`` now operates on readonly branches as well
64
as readwrite branches. This fixes bug #39542. (Robert Collins)
66
* ``bzr bind`` no longer synchronises history with the master branch.
67
Binding should be followed by an update or push to synchronise the
68
two branches. This is closely related to the fix for bug #39542.
71
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
72
objects. This allows all imports to stay at the global scope, but
73
modules will not actually be imported if they are not used.
76
* Support bzr:// and bzr+ssh:// urls to work with the new RPC-based
77
transport which will be used with the upcoming high-performance smart
78
server. The new command ``bzr serve`` will invoke bzr in server mode,
79
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
82
* New command ``bzr version-info`` which can be used to get a summary
83
of the current state of the tree. This is especially useful as part
84
of a build commands. See ``doc/version_info.txt`` for more information
89
* 'bzr inventory [FILE...]' allows restricting the file list to a
90
specific set of files. (John Arbash Meinel, #3631)
92
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
94
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
95
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
96
reading a nested Stanza. (John Arbash Meinel)
98
* Transform._set_mode() needs to stat the right file.
99
(John Arbash Meinel, #56549)
101
* Raise WeaveFormatError rather than StopIteration when trying to read
102
an empty Weave file. (John Arbash Meinel, #46871)
104
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
105
(Vincent Ladeuil, #59835)
107
* Handle boundary="" lines properly to allow access through a Squid proxy.
108
(John Arbash Meinel, #57723)
110
* revert now removes newly-added directories (Aaron Bentley, #54172)
112
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
113
isn't a working tree. (David Allouche, #40679)
115
* Give nicer error messages when a user supplies an invalid --revision
116
parameter. (John Arbash Meinel, #55420)
118
* Handle when LANG is not recognized by python. Emit a warning, but
119
just revert to using 'ascii'. (John Arbash Meinel, #35392)
121
* Don't use preexec_fn on win32, as it is not supported by subprocess.
124
* Skip specific tests when the dependencies aren't met. This includes
125
some ``setup.py`` tests when ``python-dev`` is not available, and
126
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
128
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
129
the system. (Andrew Bennetts, John Arbash Meinel)
131
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
132
other branch, and will not push or pull between the two branches.
133
API users will need to perform a push or pull or update operation if they
134
require branch synchronisation to take place. (Robert Collins, #47344)
136
* When creating a tarball or zipfile export, export unicode names as utf-8
137
paths. This may not work perfectly on all platforms, but has the best
138
chance of working in the common case. (John Arbash Meinel, #56816)
140
* When committing, only files that exist in working tree or basis tree
141
may be specified (Aaron Bentley, #50793)
145
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
149
* TestCaseInTempDir now creates a separate directory for HOME, rather
150
than having HOME set to the same location as the working directory.
153
* run_bzr_subprocess() can take an optional 'env_changes={}' parameter,
154
which will update os.environ inside the spawned child. It also can
155
take a 'universal_newlines=True', which helps when checking the output
156
of the command. (John Arbash Meinel)
158
* Refactor SFTP vendors to allow easier re-use when ssh is used.
161
* Transport.list_dir() and Transport.iter_files_recursive() should always
162
return urlescaped paths. This is now tested (there were bugs in a few
163
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
165
* New utility function symbol_versioning.deprecation_string. Returns the
166
formatted string for a callable, deprecation format pair. (Robert Collins)
168
* New TestCase helper applyDeprecated. This allows you to call a callable
169
which is deprecated without it spewing to the screen, just by supplying
170
the deprecation format string issued for it. (Robert Collins)
172
* Transport.append and Transport.put have been deprecated in favor of
173
.append_bytes, .append_file, .put_bytes, and .put_file. This removes the
174
ambiguity in what type of object the functions take.
175
Transport.non_atomic_put_{bytes,file} has also been added. Which works
176
similarly to Transport.append() except for SFTP, it doesn't have a round
177
trip when opening the file. Also, it provides functionality for creating
178
a parent directory when trying to create a file, rather than raise
179
NoSuchFile and forcing the caller to repeat their request.
182
* WorkingTree has a new api ``unversion`` which allow the unversioning of
183
entries by their file id. (Robert Collins)
185
* WorkingTree.pending_merges is deprecated. Please use the get_parent_ids
186
(introduced in 0.10) method instead. (Robert Collins)
188
* WorkingTree has a new lock_tree_write method which locks the branch for
189
read rather than write. This is appropriate for actions which only need
190
the branch data for reference rather than mutation. A new decorator
191
needs_tree_write_lock is provided in the workingtree module. Like the
192
needs_read_lock and needs_write_lock decorators this allows static
193
declaration of the locking requirements of a function to ensure that
194
a lock is taken out for casual scripts. (Robert Collins, #54107)
196
* All WorkingTree methods which write to the tree, but not to the branch
197
have been converted to use ``needs_tree_write_lock`` rather than
198
``needs_write_lock``. Also converted is the revert, conflicts and tree
199
transform modules. This provides a modest performance improvement on
200
metadir style trees, due to the reduce lock-acquisition, and a more
201
significant performance improvement on lightweight checkouts from
202
remote branches, where trivial operations used to pay a significant
203
penalty. It also provides the basis for allowing readonly checkouts.
206
* Special case importing the standard library 'copy' module. This shaves
207
off 40ms of startup time, while retaining compatibility. See:
208
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
210
* WorkingTree has a new parent class MutableTree which represents the
211
specialisations of Tree which are able to be altered. (Robert Collins)
213
* New methods mkdir and put_file_bytes_non_atomic on MutableTree that
214
mutate the tree and its contents. (Robert Collins)
216
* Transport behaviour at the root of the URL is now defined and tested.
217
(Andrew Bennetts, Robert Collins)
221
* New test helper classs MemoryTree. This is typically accessed via
222
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
224
* Add start_bzr_subprocess and stop_bzr_subprocess to allow test code to
225
continue running concurrently with a subprocess of bzr. (Andrew Bennetts,
228
* Add a new method ``Transport.get_smart_client()``. This is provided to
229
allow upgrades to a richer interface than the VFS one provided by
230
Transport. (Andrew Bennetts, Martin Pool)
235
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
236
tree. (Aaron Bentley)
238
* 'bzr add --file-ids-from' can be used to specify another path to use
239
for creating file ids, rather than generating all new ones. Internally,
240
the 'action' passed to smart_add_tree() can return file_ids that
241
will be used, rather than having bzrlib generate new ones.
242
(John Arbash Meinel, #55781)
244
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
245
This will cache some of the intermediate trees, and decrease the
246
setup time for benchmark tests. (John Arbash Meinel)
248
* Inverse forms are provided for all boolean options. For example,
249
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
251
* Serialize out Inventories directly, rather than using ElementTree.
252
Writing out a kernel sized inventory drops from 2s down to ~350ms.
253
(Robert Collins, John Arbash Meinel)
257
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
259
* Change LockDir so that if the lock directory doesn't exist when
260
lock_write() is called, an attempt will be made to create it.
261
(John Arbash Meinel, #56974)
263
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
265
* Active FTP transport now works as intended. (ghozzy, #56472)
267
* Really fix mutter() so that it won't ever raise a UnicodeError.
268
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
269
But it is a debugging log, not a real user file.
270
(John Arbash Meinel, #56947, #53880)
272
* Change Command handle to allow Unicode command and options.
273
At present we cannot register Unicode command names, so we will get
274
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
275
But that is better than a UnicodeError + a traceback.
276
(John Arbash Meinel, #57123)
278
* Handle TZ=UTC properly when reading/writing revisions.
279
(John Arbash Meinel, #55783, #56290)
281
* Use GPG_TTY to allow gpg --cl to work with gpg-agent in a pipeline,
282
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
284
* External diff does the right thing for binaries even in foreign
285
languages. (John Arbash Meinel, #56307)
287
* Testament handles more cases when content is unicode. Specific bug was
288
in handling of revision properties. (John Arbash Meinel, Holger Krekel,
291
* The bzr selftest was failing on installed versions due to a bug in a new
292
test helper. (John Arbash Meinel, Robert Collins, #58057)
296
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
297
which can be used to cache the conversion between utf8 and Unicode.
298
Especially helpful for some of the knit annotation code, which has to
299
convert revision ids to utf8 to annotate lines in storage.
302
* ``setup.py`` now searches the filesystem to find all packages which
303
need to be installed. This should help make the life of packagers
304
easier. (John Arbash Meinel)
310
* The hard-coded built-in ignore rules have been removed. There are
311
now two rulesets which are enforced. A user global one in
312
~/.bazaar/ignore which will apply to every tree, and the tree
313
specific one '.bzrignore'.
314
~/.bazaar/ignore will be created if it does not exist, but with
315
a more conservative list than the old default.
316
This fixes bugs with default rules being enforced no matter what.
317
The old list of ignore rules from bzr is available by
318
running 'bzr ignore --old-default-rules'.
319
(Robert Collins, Martin Pool, John Arbash Meinel)
321
* 'branches.conf' has been changed to 'locations.conf', since it can apply
322
to more locations than just branch locations.
327
* The revision specifier "revno:" is extended to accept the syntax
328
revno:N:branch. For example,
329
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
330
bzr.dev. (Matthieu Moy)
332
* Tests updates to ensure proper URL handling, UNICODE support, and
333
proper printing when the user's terminal encoding cannot display
334
the path of a file that has been versioned.
335
``bzr branch`` can take a target URL rather than only a local directory.
336
Branch.get_parent()/set_parent() now save a relative path if possible,
337
and normalize the parent based on root, allowing access across
338
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
339
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
342
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
343
Use terminal width for single-line logs from ``bzr log --line`` and
344
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
347
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
348
(Alexander Belchenko)
350
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
352
* Show the correct number of revisions pushed when pushing a new branch.
355
* 'bzr selftest' now shows a progress bar with the number of tests, and
356
progress made. 'make check' shows tests in -v mode, to be more useful
357
for the PQM status window. (Robert Collins).
358
When using a progress bar, failed tests are printed out, rather than
359
being overwritten by the progress bar until the suite finishes.
362
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
363
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
364
profile data for the individual profiled calls, allowing for fine
365
grained analysis of performance.
366
(Robert Collins, Martin Pool).
368
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
369
where commit can take an appreciable time. (Robert Collins)
371
* 'bzr add' is now less verbose in telling you what ignore globs were
372
matched by files being ignored. Instead it just tells you how many
373
were ignored (because you might reasonably be expecting none to be
374
ignored). 'bzr add -v' is unchanged and will report every ignored
375
file. (Robert Collins).
377
* ftp now has a test server if medusa is installed. As part of testing,
378
ftp support has been improved, including support for supplying a
379
non-standard port. (John Arbash Meinel).
381
* 'bzr log --line' shows the revision number, and uses only the
382
first line of the log message (#5162, Alexander Belchenko;
385
* 'bzr status' has had the --all option removed. The 'bzr ls' command
386
should be used to retrieve all versioned files. (Robert Collins)
388
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
389
over email, and applied on the other end, while maintaining ancestry.
390
This bundle can be applied with either 'bzr merge' or 'bzr pull',
391
the same way you would apply another branch.
392
(John Arbash Meinel, Aaron Bentley)
394
* 'bzr whoami' can now be used to set your identity from the command line,
395
for a branch or globally. (Robey Pointer)
397
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
400
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
403
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
404
Also updates things like 'http+pycurl://' if pycurl is not present.
405
(John Arbash Meinel) (Malone #47821, #52204)
407
* New env variable BZR_PROGRESS_BAR, sets the default progress bar type.
408
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
409
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
411
* Improve the help text for 'bzr diff' to explain what various options do.
412
(John Arbash Meinel, #6391)
414
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
415
revision 10. This makes -r10 more in line with what other commands do.
416
'bzr uncommit' also now saves the pending merges of the revisions that
417
were removed. So it is safe to uncommit after a merge, fix something,
418
and commit again. (John Arbash Meinel, #32526, #31426)
420
* 'bzr init' now also works on remote locations.
421
(Wouter van Heyst, #48904)
423
* HTTP support has been updated. When using pycurl we now support
424
connection keep-alive, which reduces dns requests and round trips.
425
And for both urllib and pycurl we support multi-range requests,
426
which decreases the number of round-trips. Performance results for
427
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
428
http branching is now 2-3x faster, and ``bzr pull`` in an existing
429
branch is as much as 4x faster.
430
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
432
* Performance improvements for sftp. Branching and pulling are now up to
433
2x faster. Utilize paramiko.readv() support for async requests if it
434
is available (paramiko > 1.6) (John Arbash Meinel)
438
* Fix shadowed definition of TestLocationConfig that caused some
439
tests not to run. (#32587, Erik Bågfors, Michael Ellerman,
442
* Fix unnecessary requirement of sign-my-commits that it be run from
443
a working directory. (Martin Pool, Robert Collins)
445
* 'bzr push location' will only remember the push location if it succeeds
446
in connecting to the remote location. (#49742, John Arbash Meinel)
448
* 'bzr revert' no longer toggles the executable bit on win32
449
(#45010, John Arbash Meinel)
451
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
453
* sftp tests now work correctly on win32 if you have a newer paramiko
456
* Cleanup win32 test suite, and general cleanup of places where
457
file handles were being held open. (John Arbash Meinel)
459
* When specifying filenames for 'diff -r x..y', the name of the file in the
460
working directory can be used, even if its name is different in both x
463
* File-ids containing single- or double-quotes are handled correctly by
464
push. (#52227, Aaron Bentley)
466
* Normalize unicode filenames to ensure cross-platform consistency.
467
(John Arbash Meinel, #43689)
469
* The argument parser can now handle '-' as an argument. Currently
470
no code interprets it specially (it is mostly handled as a file named
471
'-'). But plugins, and future operations can use it.
472
(John Arbash meinel, #50984)
474
* Bundles can properly read binary files with a plain '\r' in them.
475
(John Arbash Meinel, #51927)
477
* Tuning iter_entries() to be more efficient (John Arbash Meinel, #5444)
479
* Lots of win32 fixes (the test suite passes again).
480
(John Arbash Meinel, #50155)
482
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
484
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
486
* Removals are only committed if they match the filespec (or if there is
487
no filespec). (#46635, Aaron Bentley)
489
* smart-add recurses through all supplied directories
490
(John Arbash Meinel, #52578)
492
* Make the bundle reader extra lines before and after the bundle text.
493
This allows you to parse an email with the bundle inline.
494
(John Arbash Meinel, #49182)
496
* Change the file id generator to squash a little bit more. Helps when
497
working with long filenames on windows. (Also helps for unicode filenames
498
not generating hidden files). (John Arbash Meinel, #43801)
500
* Restore terminal mode on C-c while reading sftp password. (#48923,
501
Nicholas Allen, Martin Pool)
503
* Timestamps are rounded to 1ms, and revision entries can be recreated
504
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
506
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
507
use local paths, since it is user visible (John Arbash Meinel, #53653)
509
* ``bzr status foo`` when foo was unversioned used to cause a full delta
510
to be generated (John Arbash Meinel, #53638)
512
* When reading revision properties, an empty value should be considered
513
the empty string, not None (John Arbash Meinel, #47782)
515
* ``bzr diff --diff-options`` can now handle binary files being changed.
516
Also, the output is consistent when --diff-options is not supplied.
517
(John Arbash Meinel, #54651, #52930)
519
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
521
* Fix Branch.get_parent() to handle the case when the parent is not
522
accessible (John Arbash Meinel, #52976)
526
* Combine the ignore rules into a single regex rather than looping over
527
them to reduce the threshold where N^2 behaviour occurs in operations
528
like status. (Jan Hudec, Robert Collins).
530
* Appending to bzrlib.DEFAULT_IGNORE is now deprecated. Instead, use
531
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
533
* 'bzr push' should only push the ancestry of the current revision, not
534
all of the history in the repository. This is especially important for
535
shared repositories. (John Arbash Meinel)
537
* bzrlib.delta.compare_trees now iterates in alphabetically sorted order,
538
rather than randomly walking the inventories. (John Arbash Meinel)
540
* Doctests are now run in temporary directories which are cleaned up when
541
they finish, rather than using special ScratchDir/ScratchBranch objects.
544
* Split ``check`` into separate methods on the branch and on the repository,
545
so that it can be specialized in ways that are useful or efficient for
546
different formats. (Martin Pool, Robert Collins)
548
* Deprecate Repository.all_revision_ids; most methods don't really need
549
the global revision graph but only that part leading up to a particular
550
revision. (Martin Pool, Robert Collins)
552
* Add a BzrDirFormat control_formats list which allows for control formats
553
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
554
(Robert Collins, Jelmer Vernooij).
556
* bzrlib.diff.external_diff can be redirected to any file-like object.
557
Uses subprocess instead of spawnvp.
558
(#4047, #48914, James Henstridge, John Arbash Meinel)
560
* New command line option '--profile-imports', which will install a custom
561
importer to log time to import modules and regex compilation time to
562
sys.stderr (John Arbash Meinel)
564
* 'EmptyTree' is now deprecated, please use repository.revision_tree(None)
565
instead. (Robert Collins)
567
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
573
* setup.py failed to install launchpad plugin. (Martin Pool)
579
* Fix failure to commit a merge in a checkout. (Martin Pool,
580
Robert Collins, Erik Bågfors, #43959)
582
* Nicer messages from 'commit' in the case of renames, and correct
583
messages when a merge has occured. (Robert Collins, Martin Pool)
585
* Separate functionality from assert statements as they are skipped in
586
optimized mode of python. Add the same check to pending merges.
587
(#44443, Olaf Conradi)
591
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
593
* Add info on standalone branches without a working tree.
594
(#44155, Olaf Conradi)
596
* Fix bug in knits when raising InvalidRevisionId. (#44284, Olaf Conradi)
600
* Make editor invocation comply with Debian Policy. First check
601
environment variables VISUAL and EDITOR, then try editor from
602
alternatives system. If that all fails, fall back to the pre-defined
603
list of editors. (#42904, Olaf Conradi)
607
* New 'register-branch' command registers a public branch into
608
Launchpad.net, where it can be associated with bugs, etc.
609
(Martin Pool, Bjorn Tillenius, Robert Collins)
613
* New public api in InventoryEntry - 'describe_change(old, new)' which
614
provides a human description of the changes between two old and
615
new. (Robert Collins, Martin Pool)
619
* Fix test case for bzr info in upgrading a standalone branch to metadir,
620
uses bzrlib api now. (Olaf Conradi)
624
NOTES WHEN UPGRADING:
626
Release 0.8 of bzr introduces a new format for history storage, called
627
'knit', as an evolution of to the 'weave' format used in 0.7. Local
628
and remote operations are faster using knits than weaves. Several
629
operations including 'init', 'init-repo', and 'upgrade' take a
630
--format option that controls this. Branching from an existing branch
631
will keep the same format.
633
It is possible to merge, pull and push between branches of different
634
formats but this is slower than moving data between homogenous
635
branches. It is therefore recommended (but not required) that you
636
upgrade all branches for a project at the same time. Information on
637
formats is shown by 'bzr info'.
639
bzr 0.8 now allows creation of 'repositories', which hold the history
640
of files and revisions for several branches. Previously bzr kept all
641
the history for a branch within the .bzr directory at the root of the
642
branch, and this is still the default. To create a repository, use
643
the new 'bzr init-repo' command. Branches exist as directories under
644
the repository and contain just a small amount of information
645
indicating the current revision of the branch.
647
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
648
subversion. Checkouts are associated with a branch (optionally in a
649
repository), which contains all the historical information. The
650
result is that a checkout can be deleted without losing any
651
already-committed revisions. A new 'update' command is also available.
653
Repositories and checkouts are not supported with the 0.7 storage
654
format. To use them you must upgrad to either knits, or to the
655
'metaweave' format, which uses weaves but changes the .bzr directory
661
* Sftp paths can now be relative, or local, according to the lftp
662
convention. Paths now take the form:
663
sftp://user:pass@host:port/~/relative/path
665
sftp://user:pass@host:port/absolute/path
667
* The FTP transport now tries to reconnect after a temporary
668
failure. ftp put is made atomic. (Matthieu Moy)
670
* The FTP transport now maintains a pool of connections, and
671
reuses them to avoid multiple connections to the same host (like
672
sftp did). (Daniel Silverstone)
674
* The bzr_man.py file has been removed. To create the man page now,
675
use ./generate_docs.py man. The new program can also create other files.
676
Run "python generate_docs.py --help" for usage information. (Hans
677
Ulrich Niedermann & James Blackwell).
679
* Man Page now gives full help (James Blackwell). Help also updated to
680
reflect user config now being stored in .bazaar (Hans Ulrich
683
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
685
* Pull now accepts a --revision argument (Erik Bågfors)
687
* 'bzr re-sign' now allows multiple revisions to be supplied on the command
688
line. You can now use the following command to sign all of your old commits.
689
find .bzr/revision-store// -name my@email-* \
690
| sed 's/.*\/\/..\///' \
693
* Upgrade can now upgrade over the network. (Robert Collins)
695
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
696
behaviour. By default they will cache history in the checkout, but
697
with --lightweight almost all data is kept in the master branch.
700
* 'revert' unversions newly-versioned files, instead of deleting them.
702
* 'merge' is more robust. Conflict messages have changed.
704
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
707
* Default log format can be set in configuration and plugins can register
708
their own formatters. (Erik Bågfors)
710
* New 'reconcile' command will check branch consistency and repair indexes
711
that can become out of sync in pre 0.8 formats. (Robert Collins,
714
* New 'bzr init --format' and 'bzr upgrade --format' option to control
715
what storage format is created or produced. (Robert Collins,
718
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
720
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
722
* New 'init-repository' command, plus support for repositories in 'init'
723
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
725
* Improve output of 'info' command. Show all relevant locations related to
726
working tree, branch and repository. Use kibibytes for binary quantities.
727
Fix off-by-one error in missing revisions of working tree. Make 'info'
728
work on branches, repositories and remote locations. Show locations
729
relative to the shared repository, if applicable. Show locking status
730
of locations. (Olaf Conradi)
732
* Diff and merge now safely handle binary files. (Aaron Bentley)
734
* 'pull' and 'push' now normalise the revision history, so that any two
735
branches with the same tip revision will have the same output from 'log'.
738
* 'merge' accepts --remember option to store parent location, like 'push'
739
and 'pull'. (Olaf Conradi)
741
* bzr status and diff when files given as arguments do not exist
742
in the relevant trees. (Martin Pool, #3619)
744
* Add '.hg' to the default ignore list. (Martin Pool)
746
* 'knit' is now the default disk format. This improves disk performance and
747
utilization, increases incremental pull performance, robustness with SFTP
748
and allows checkouts over SFTP to perform acceptably.
749
The initial Knit code was contributed by Johan Rydberg based on a
750
specification by Martin Pool.
751
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
753
* New tool to generate all-in-one html version of the manual. (Alexander
756
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
757
to be left in the SFTP repository. (Robert Collins, Martin Pool).
759
* New option 'diff --prefix' to control how files are named in diff
760
output, with shortcuts '-p0' and '-p1' corresponding to the options for
761
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
763
* Add --revision option to 'annotate' command. (Olaf Conradi)
765
* If bzr shows an unexpected revision-history after pulling (perhaps due
766
to a reweave) it can now be corrected by 'bzr reconcile'.
771
* Commit is now verbose by default, and shows changed filenames and the
772
new revision number. (Robert Collins, Martin Pool)
774
* Unify 'mv', 'move', 'rename'. (#5379, Matthew Fuller)
776
* 'bzr -h' shows help. (#35940, Martin Pool, Ian Bicking)
778
* Make 'pull' and 'push' remember location on failure using --remember.
781
* For compatibility, make old format for using weaves inside metadir
782
available as 'metaweave' format. Rename format 'metadir' to 'default'.
783
Clean up help for option --format in commands 'init', 'init-repo' and
784
'upgrade'. (Olaf Conradi)
788
* The internal storage of history, and logical branch identity have now
789
been split into Branch, and Repository. The common locking and file
790
management routines are now in bzrlib.lockablefiles.
791
(Aaron Bentley, Robert Collins, Martin Pool)
793
* Transports can now raise DependencyNotPresent if they need a library
794
which is not installed, and then another implementation will be
797
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
800
* Using Tree Transform for merge, revert, tree-building
802
* WorkingTree.create, Branch.create, WorkingTree.create_standalone,
803
Branch.initialize are now deprecated. Please see BzrDir.create_* for
804
replacement API's. (Robert Collins)
806
* New BzrDir class represents the .bzr control directory and manages
807
formatting issues. (Robert Collins)
809
* New repository.InterRepository class encapsulates Repository to
810
Repository actions and allows for clean selection of optimised code
811
paths. (Robert Collins)
813
* bzrlib.fetch.fetch and bzrlib.fetch.greedy_fetch are now deprecated,
814
please use 'branch.fetch' or 'repository.fetch' depending on your
815
needs. (Robert Collins)
817
* deprecated methods now have a 'is_deprecated' flag on them that can
818
be checked, if you need to determine whether a given callable is
819
deprecated at runtime. (Robert Collins)
821
* Progress bars are now nested - see
822
bzrlib.ui.ui_factory.nested_progress_bar. (Robert Collins, Robey Pointer)
824
* New API call get_format_description() for each type of format.
827
* Changed branch.set_parent() to accept None to remove parent.
830
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
832
* WorkingTree.branch is now a read only property. (Robert Collins)
834
* bzrlib.ui.text.TextUIFactory now accepts a bar_type parameter which
835
can be None or a factory that will create a progress bar. This is
836
useful for testing or for overriding the bzrlib.progress heuristic.
839
* New API method get_physical_lock_status() to query locks present on a
840
transport. (Olaf Conradi)
842
* Repository.reconcile now takes a thorough keyword parameter to allow
843
requesting an indepth reconciliation, rather than just a data-loss
844
check. (Robert Collins)
846
* bzrlib.ui.ui_factory protocol now supports 'get_boolean' to prompt
847
the user for yes/no style input. (Robert Collins)
851
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
852
for testing SFTP protocol support. (Robey Pointer)
854
* Branch formats are now tested once per implementation (see bzrlib.
855
tests.branch_implementations. This is analagous to the transport
856
interface tests, and has been followed up with working tree,
857
repository and BzrDir tests. (Robert Collins)
859
* New test base class TestCaseWithTransport provides a transport aware
860
test environment, useful for testing any transport-interface using
861
code. The test suite option --transport controls the transport used
862
by this class (when its not being used as part of implementation
863
contract testing). (Robert Collins)
865
* Close logging handler on disabling the test log. This will remove the
866
handler from the internal list inside python's logging module,
867
preventing shutdown from closing it twice. (Olaf Conradi)
869
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
871
* run_bzr and run_bzr_captured now accept a 'stdin="foo"' parameter which
872
will provide String("foo") to the command as its stdin.
878
* .bzrignore is excluded from exports, on the grounds that it's a bzr
879
internal-use file and may not be wanted. (Jamie Wilkinson)
881
* The "bzr directories" command were removed in favor of the new
882
--kind option to the "bzr inventory" command. To list all
883
versioned directories, now use "bzr inventory --kind directory".
886
* Under Windows configuration directory is now %APPDATA%\bazaar\2.0
887
by default. (John Arbash Meinel)
889
* The parent of Bzr configuration directory can be set by BZR_HOME
890
environment variable. Now the path for it is searched in BZR_HOME, then
891
in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
892
points to C:\Documents and Settings\User Name\Application Data), HOME.
895
* Plugins with the same name in different directories in the bzr plugin
896
path are no longer loaded: only the first successfully loaded one is
897
used. (Robert Collins)
899
* Use systems' external ssh command to open connections if possible.
900
This gives better integration with user settings such as ProxyCommand.
903
* Permissions on files underneath .bzr/ are inherited from the .bzr
904
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
905
will mean that future file will be created with group write permissions.
907
* configure.in and config.guess are no longer in the builtin default
910
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
911
files. (John Arbash Meinel, Martin Pool)
915
* "bzr INIT dir" now initializes the specified directory, and creates
916
it if it does not exist. (John Arbash Meinel)
918
* New remerge command (Aaron Bentley)
920
* Better zsh completion script. (Steve Borho)
922
* 'bzr diff' now returns 1 when there are changes in the working
923
tree. (Robert Collins)
925
* 'bzr push' now exists and can push changes to a remote location.
926
This uses the transport infrastructure, and can store the remote
927
location in the ~/.bazaar/branches.conf configuration file.
930
* Test directories are only kept if the test fails and the user requests
933
* Tweaks to short log printing
935
* Added branch nicks, new nick command, printing them in log output.
938
* If $BZR_PDB is set, pop into the debugger when an uncaught exception
939
occurs. (Martin Pool)
941
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
942
the same as Subversion. (Martin Pool)
944
* New ftp transport support (on ftplib), for ftp:// and aftp://
945
URLs. (Daniel Silverstone)
947
* Commit editor temporary files now start with 'bzr_log.', to allow
948
text editors to match the file name and set up appropriate modes or
949
settings. (Magnus Therning)
951
* Improved performance when integrating changes from a remote weave.
952
(Goffredo Baroncelli)
954
* Sftp will attempt to cache the connection, so it is more likely that
955
a connection will be reused, rather than requiring multiple password
958
* bzr revno now takes an optional argument indicating the branch whose
959
revno should be printed. (Michael Ellerman)
961
* bzr cat defaults to printing the last version of the file.
962
(#3632, Matthieu Moy)
964
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
965
profiler. (Denys Duchier)
967
* Faster commits by reading only the headers of affected weave files.
970
* 'bzr add' now takes a --dry-run parameter which shows you what would be
971
added, but doesn't actually add anything. (Michael Ellerman)
973
* 'bzr add' now lists how many files were ignored per glob. add --verbose
974
lists the specific files. (Aaron Bentley)
976
* 'bzr missing' now supports displaying changes in diverged trees and can
977
be limited to show what either end of the comparison is missing.
978
(Aaron Bently, with a little prompting from Daniel Silverstone)
982
* SFTP can walk up to the root path without index errors. (Robert Collins)
984
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
986
* Error when run with -OO
988
* Fix bug in reporting http errors that don't have an http error code.
991
* Handle more cases of pipe errors in display commands
993
* Change status to 3 for all errors
995
* Files that are added and unlinked before committing are completely
996
ignored by diff and status
998
* Stores with some compressed texts and some uncompressed texts are now
999
able to be used. (John A Meinel)
1001
* Fix for bzr pull failing sometimes under windows
1003
* Fix for sftp transport under windows when using interactive auth
1005
* Show files which are both renamed and modified as such in 'bzr
1006
status' output. (#4503, Daniel Silverstone)
1008
* Make annotate cope better with revisions committed without a valid
1009
email address. (Marien Zwart)
1011
* Fix representation of tab characters in commit messages. (Harald
1014
* List of plugin directories in BZR_PLUGIN_PATH environment variable is
1015
now parsed properly under Windows. (Alexander Belchenko)
1017
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
1019
* Keep a cached copy of the basis inventory to speed up operations
1020
that need to refer to it. (Johan Rydberg, Martin Pool)
1022
* Fix bugs in bzr status display of non-ascii characters. (Martin
1025
* Remove Makefile.in from default ignore list. (#6413, Tollef Fog
1028
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
1032
* Fix selftest asking for passwords when there are no SFTP keys.
1033
(Robey Pointer, Jelmer Vernooij)
1035
* Fix selftest run with 'python -O'. (Martin Pool)
1037
* Fix HTTP tests under Windows. (John Arbash Meinel)
1039
* Make tests work even if HOME is not set (Aaron Bentley)
1041
* Updated build_tree to use fixed line-endings for tests which read
1042
the file cotents and compare. Make some tests use this to pass under
1043
Windows. (John Arbash Meinel)
1045
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
1047
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
1048
(John Arbash Meinel)
1050
* Use terminal width to align verbose test output. (Martin Pool)
1052
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
1053
If adding a new test script please add that to
1054
bzrlib.tests.blackbox.__init__. (Robert Collins)
1056
* Much better error message if one of the test suites can't be
1057
imported. (Martin Pool)
1059
* Make check now runs the test suite twice - once with the default locale,
1060
and once with all locales forced to C, to expose bugs. This is not
1061
trivially done within python, so for now its only triggered by running
1062
Make check. Integrators and packagers who wish to check for full
1063
platform support should run 'make check' to test the source.
1066
* Tests can now run TestSkipped if they can't execute for any reason.
1067
(Martin Pool) (NB: TestSkipped should only be raised for correctable
1068
reasons - see the wiki spec ImprovingBzrTestSuite).
1070
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
1071
paths for the transport tests. Introduce blackbox remote sftp tests that
1072
test the same permutations. (Robert Collins, Robey Pointer)
1074
* Transport implementation tests are now independent of the local file
1075
system, which allows tests for esoteric transports, and for features
1076
not available in the local file system. They also repeat for variations
1077
on the URL scheme that can introduce issues in the transport code,
1078
see bzrlib.transport.TransportTestProviderAdapter() for this.
1081
* TestCase.build_tree uses the transport interface to build trees, pass
1082
in a transport parameter to give it an existing connection.
1087
* WorkingTree.pull has been split across Branch and WorkingTree,
1088
to allow Branch only pulls. (Robert Collins)
1090
* commands.display_command now returns the result of the decorated
1091
function. (Robert Collins)
1093
* LocationConfig now has a set_user_option(key, value) call to save
1094
a setting in its matching location section (a new one is created
1095
if needed). (Robert Collins)
1097
* Branch has two new methods, get_push_location and set_push_location
1098
to respectively, get and set the push location. (Robert Collins)
1100
* commands.register_command now takes an optional flag to signal that
1101
the registrant is planning to decorate an existing command. When
1102
given multiple plugins registering a command is not an error, and
1103
the original command class (whether built in or a plugin based one) is
1104
returned to the caller. There is a new error 'MustUseDecorated' for
1105
signalling when a wrapping command should switch to the original
1106
version. (Robert Collins)
1108
* Some option parsing errors will raise 'BzrOptionError', allowing
1109
granular detection for decorating commands. (Robert Collins).
1111
* Branch.read_working_inventory has moved to
1112
WorkingTree.read_working_inventory. This necessitated changes to
1113
Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
1114
as well. To make it clear that a WorkingTree cannot always be obtained
1115
Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
1116
be obtained. (Robert Collins)
1118
* All pending merges operations from Branch are now on WorkingTree.
1121
* The follow operations from Branch have moved to WorkingTree:
1129
* bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
1131
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
1133
* Rename selftests to `bzrlib.tests.test_foo`. (John A Meinel, Martin
1136
* bzrlib.plugin.all_plugins has been changed from an attribute to a
1137
query method. (Robert Collins)
1139
* New options to read only the table-of-contents of a weave.
1142
* Raise NoSuchFile when someone tries to add a non-existant file.
1145
* Simplify handling of DivergedBranches in cmd_pull().
1149
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
1150
is exposed as Branch().control_files. Also this has been altered with the
1151
controlfile pre/suffix replaced by simple method names like 'get' and
1152
'put'. (Aaron Bentley, Robert Collins).
1154
* Deprecated functions and methods can now be marked as such using the
1155
bzrlib.symbol_versioning module. Marked method have their docstring
1156
updated and will issue a DeprecationWarning using the warnings module
1157
when they are used. (Robert Collins)
1159
* bzrlib.osutils.safe_unicode now exists to provide parameter coercion
1160
for functions that need unicode strings. (Robert Collins)
1166
* pull now takes --verbose to show you what revisions are added or removed
1169
* merge now takes a --show-base option to include the base text in
1173
* The config files are now read using ConfigObj, so '=' should be used as
1174
a separator, not ':'.
5
1177
* New 'bzr commit --strict' option refuses to commit if there are
6
1178
any unknown files in the tree. To commit, make sure all files are