1
bzr-0.0.2 "black cube" NOT RELEASED YET
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
* New test base class TestCaseWithMemoryTransport offers memory-only
35
testing facilities: its not suitable for tests that need to mutate disk
36
state, but most tests should not need that and should be converted to
37
TestCaseWithMemoryTransport. (Robert Collins)
41
* Smart server transport test failures on windows fixed. (Lukáš Lalinský).
43
bzr 0.11rc2 2006-09-27
47
* Test suite hangs on windows fixed. (Andrew Bennets, Alexander Belchenko).
49
* Commit performance regression fixed. (Aaron Bentley, Robert Collins, John
52
bzr 0.11rc1 2006-09-25
56
* Knit files now wait to create their contents until the first data is
57
added. The old code used to create an empty .knit and a .kndx with just
58
the header. However, this caused a lot of extra round trips over sftp.
59
This can change the time for ``bzr push`` to create a new remote branch
60
from 160s down to 100s. This also affects ``bzr commit`` performance when
61
adding new files, ``bzr commit`` on a new kernel-like tree drops from 50s
62
down to 40s (John Arbash Meinel, #44692)
64
* When an entire subtree has been deleted, commit will now report that
65
just the top of the subtree has been deleted, rather than reporting
66
all the individual items. (Robert Collins)
68
* Commit performs one less XML parse. (Robert Collins)
70
* ``bzr checkout`` now operates on readonly branches as well
71
as readwrite branches. This fixes bug #39542. (Robert Collins)
73
* ``bzr bind`` no longer synchronises history with the master branch.
74
Binding should be followed by an update or push to synchronise the
75
two branches. This is closely related to the fix for bug #39542.
78
* ``bzrlib.lazy_import.lazy_import`` function to create on-demand
79
objects. This allows all imports to stay at the global scope, but
80
modules will not actually be imported if they are not used.
83
* Support bzr:// and bzr+ssh:// urls to work with the new RPC-based
84
transport which will be used with the upcoming high-performance smart
85
server. The new command ``bzr serve`` will invoke bzr in server mode,
86
which processes these requests. (Andrew Bennetts, Robert Collins, Martin
89
* New command ``bzr version-info`` which can be used to get a summary
90
of the current state of the tree. This is especially useful as part
91
of a build commands. See ``doc/version_info.txt`` for more information
96
* 'bzr inventory [FILE...]' allows restricting the file list to a
97
specific set of files. (John Arbash Meinel, #3631)
99
* Don't abort when annotating empty files (John Arbash Meinel, #56814)
101
* Add ``Stanza.to_unicode()`` which can be passed to another Stanza
102
when nesting stanzas. Also, add ``read_stanza_unicode`` to handle when
103
reading a nested Stanza. (John Arbash Meinel)
105
* Transform._set_mode() needs to stat the right file.
106
(John Arbash Meinel, #56549)
108
* Raise WeaveFormatError rather than StopIteration when trying to read
109
an empty Weave file. (John Arbash Meinel, #46871)
111
* Don't access e.code for generic URLErrors, only HTTPErrors have .code.
112
(Vincent Ladeuil, #59835)
114
* Handle boundary="" lines properly to allow access through a Squid proxy.
115
(John Arbash Meinel, #57723)
117
* revert now removes newly-added directories (Aaron Bentley, #54172)
119
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
120
isn't a working tree. (David Allouche, #40679)
122
* Give nicer error messages when a user supplies an invalid --revision
123
parameter. (John Arbash Meinel, #55420)
125
* Handle when LANG is not recognized by python. Emit a warning, but
126
just revert to using 'ascii'. (John Arbash Meinel, #35392)
128
* Don't use preexec_fn on win32, as it is not supported by subprocess.
131
* Skip specific tests when the dependencies aren't met. This includes
132
some ``setup.py`` tests when ``python-dev`` is not available, and
133
some tests that depend on paramiko. (John Arbash Meinel, Mattheiu Moy)
135
* Fallback to Paramiko properly, if no ``ssh`` executable exists on
136
the system. (Andrew Bennetts, John Arbash Meinel)
138
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
139
other branch, and will not push or pull between the two branches.
140
API users will need to perform a push or pull or update operation if they
141
require branch synchronisation to take place. (Robert Collins, #47344)
143
* When creating a tarball or zipfile export, export unicode names as utf-8
144
paths. This may not work perfectly on all platforms, but has the best
145
chance of working in the common case. (John Arbash Meinel, #56816)
147
* When committing, only files that exist in working tree or basis tree
148
may be specified (Aaron Bentley, #50793)
152
* Fixes to run on Python 2.5 (Brian M. Carlson, Martin Pool, Marien Zwart)
156
* TestCaseInTempDir now creates a separate directory for HOME, rather
157
than having HOME set to the same location as the working directory.
160
* run_bzr_subprocess() can take an optional 'env_changes={}' parameter,
161
which will update os.environ inside the spawned child. It also can
162
take a 'universal_newlines=True', which helps when checking the output
163
of the command. (John Arbash Meinel)
165
* Refactor SFTP vendors to allow easier re-use when ssh is used.
168
* Transport.list_dir() and Transport.iter_files_recursive() should always
169
return urlescaped paths. This is now tested (there were bugs in a few
170
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
172
* New utility function symbol_versioning.deprecation_string. Returns the
173
formatted string for a callable, deprecation format pair. (Robert Collins)
175
* New TestCase helper applyDeprecated. This allows you to call a callable
176
which is deprecated without it spewing to the screen, just by supplying
177
the deprecation format string issued for it. (Robert Collins)
179
* Transport.append and Transport.put have been deprecated in favor of
180
.append_bytes, .append_file, .put_bytes, and .put_file. This removes the
181
ambiguity in what type of object the functions take.
182
Transport.non_atomic_put_{bytes,file} has also been added. Which works
183
similarly to Transport.append() except for SFTP, it doesn't have a round
184
trip when opening the file. Also, it provides functionality for creating
185
a parent directory when trying to create a file, rather than raise
186
NoSuchFile and forcing the caller to repeat their request.
189
* WorkingTree has a new api ``unversion`` which allow the unversioning of
190
entries by their file id. (Robert Collins)
192
* WorkingTree.pending_merges is deprecated. Please use the get_parent_ids
193
(introduced in 0.10) method instead. (Robert Collins)
195
* WorkingTree has a new lock_tree_write method which locks the branch for
196
read rather than write. This is appropriate for actions which only need
197
the branch data for reference rather than mutation. A new decorator
198
needs_tree_write_lock is provided in the workingtree module. Like the
199
needs_read_lock and needs_write_lock decorators this allows static
200
declaration of the locking requirements of a function to ensure that
201
a lock is taken out for casual scripts. (Robert Collins, #54107)
203
* All WorkingTree methods which write to the tree, but not to the branch
204
have been converted to use ``needs_tree_write_lock`` rather than
205
``needs_write_lock``. Also converted is the revert, conflicts and tree
206
transform modules. This provides a modest performance improvement on
207
metadir style trees, due to the reduce lock-acquisition, and a more
208
significant performance improvement on lightweight checkouts from
209
remote branches, where trivial operations used to pay a significant
210
penalty. It also provides the basis for allowing readonly checkouts.
213
* Special case importing the standard library 'copy' module. This shaves
214
off 40ms of startup time, while retaining compatibility. See:
215
``bzrlib/inspect_for_copy.py`` for more details. (John Arbash Meinel)
217
* WorkingTree has a new parent class MutableTree which represents the
218
specialisations of Tree which are able to be altered. (Robert Collins)
220
* New methods mkdir and put_file_bytes_non_atomic on MutableTree that
221
mutate the tree and its contents. (Robert Collins)
223
* Transport behaviour at the root of the URL is now defined and tested.
224
(Andrew Bennetts, Robert Collins)
228
* New test helper classs MemoryTree. This is typically accessed via
229
``self.make_branch_and_memory_tree()`` in test cases. (Robert Collins)
231
* Add start_bzr_subprocess and stop_bzr_subprocess to allow test code to
232
continue running concurrently with a subprocess of bzr. (Andrew Bennetts,
235
* Add a new method ``Transport.get_smart_client()``. This is provided to
236
allow upgrades to a richer interface than the VFS one provided by
237
Transport. (Andrew Bennetts, Martin Pool)
242
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
243
tree. (Aaron Bentley)
245
* 'bzr add --file-ids-from' can be used to specify another path to use
246
for creating file ids, rather than generating all new ones. Internally,
247
the 'action' passed to smart_add_tree() can return file_ids that
248
will be used, rather than having bzrlib generate new ones.
249
(John Arbash Meinel, #55781)
251
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
252
This will cache some of the intermediate trees, and decrease the
253
setup time for benchmark tests. (John Arbash Meinel)
255
* Inverse forms are provided for all boolean options. For example,
256
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
258
* Serialize out Inventories directly, rather than using ElementTree.
259
Writing out a kernel sized inventory drops from 2s down to ~350ms.
260
(Robert Collins, John Arbash Meinel)
264
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
266
* Change LockDir so that if the lock directory doesn't exist when
267
lock_write() is called, an attempt will be made to create it.
268
(John Arbash Meinel, #56974)
270
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
272
* Active FTP transport now works as intended. (ghozzy, #56472)
274
* Really fix mutter() so that it won't ever raise a UnicodeError.
275
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
276
But it is a debugging log, not a real user file.
277
(John Arbash Meinel, #56947, #53880)
279
* Change Command handle to allow Unicode command and options.
280
At present we cannot register Unicode command names, so we will get
281
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
282
But that is better than a UnicodeError + a traceback.
283
(John Arbash Meinel, #57123)
285
* Handle TZ=UTC properly when reading/writing revisions.
286
(John Arbash Meinel, #55783, #56290)
288
* Use GPG_TTY to allow gpg --cl to work with gpg-agent in a pipeline,
289
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
291
* External diff does the right thing for binaries even in foreign
292
languages. (John Arbash Meinel, #56307)
294
* Testament handles more cases when content is unicode. Specific bug was
295
in handling of revision properties. (John Arbash Meinel, Holger Krekel,
298
* The bzr selftest was failing on installed versions due to a bug in a new
299
test helper. (John Arbash Meinel, Robert Collins, #58057)
303
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
304
which can be used to cache the conversion between utf8 and Unicode.
305
Especially helpful for some of the knit annotation code, which has to
306
convert revision ids to utf8 to annotate lines in storage.
309
* ``setup.py`` now searches the filesystem to find all packages which
310
need to be installed. This should help make the life of packagers
311
easier. (John Arbash Meinel)
317
* The hard-coded built-in ignore rules have been removed. There are
318
now two rulesets which are enforced. A user global one in
319
~/.bazaar/ignore which will apply to every tree, and the tree
320
specific one '.bzrignore'.
321
~/.bazaar/ignore will be created if it does not exist, but with
322
a more conservative list than the old default.
323
This fixes bugs with default rules being enforced no matter what.
324
The old list of ignore rules from bzr is available by
325
running 'bzr ignore --old-default-rules'.
326
(Robert Collins, Martin Pool, John Arbash Meinel)
328
* 'branches.conf' has been changed to 'locations.conf', since it can apply
329
to more locations than just branch locations.
334
* The revision specifier "revno:" is extended to accept the syntax
335
revno:N:branch. For example,
336
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
337
bzr.dev. (Matthieu Moy)
339
* Tests updates to ensure proper URL handling, UNICODE support, and
340
proper printing when the user's terminal encoding cannot display
341
the path of a file that has been versioned.
342
``bzr branch`` can take a target URL rather than only a local directory.
343
Branch.get_parent()/set_parent() now save a relative path if possible,
344
and normalize the parent based on root, allowing access across
345
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
346
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
349
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
350
Use terminal width for single-line logs from ``bzr log --line`` and
351
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
354
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
355
(Alexander Belchenko)
357
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
359
* Show the correct number of revisions pushed when pushing a new branch.
362
* 'bzr selftest' now shows a progress bar with the number of tests, and
363
progress made. 'make check' shows tests in -v mode, to be more useful
364
for the PQM status window. (Robert Collins).
365
When using a progress bar, failed tests are printed out, rather than
366
being overwritten by the progress bar until the suite finishes.
369
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
370
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
371
profile data for the individual profiled calls, allowing for fine
372
grained analysis of performance.
373
(Robert Collins, Martin Pool).
375
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
376
where commit can take an appreciable time. (Robert Collins)
378
* 'bzr add' is now less verbose in telling you what ignore globs were
379
matched by files being ignored. Instead it just tells you how many
380
were ignored (because you might reasonably be expecting none to be
381
ignored). 'bzr add -v' is unchanged and will report every ignored
382
file. (Robert Collins).
384
* ftp now has a test server if medusa is installed. As part of testing,
385
ftp support has been improved, including support for supplying a
386
non-standard port. (John Arbash Meinel).
388
* 'bzr log --line' shows the revision number, and uses only the
389
first line of the log message (#5162, Alexander Belchenko;
392
* 'bzr status' has had the --all option removed. The 'bzr ls' command
393
should be used to retrieve all versioned files. (Robert Collins)
395
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
396
over email, and applied on the other end, while maintaining ancestry.
397
This bundle can be applied with either 'bzr merge' or 'bzr pull',
398
the same way you would apply another branch.
399
(John Arbash Meinel, Aaron Bentley)
401
* 'bzr whoami' can now be used to set your identity from the command line,
402
for a branch or globally. (Robey Pointer)
404
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
407
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
410
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
411
Also updates things like 'http+pycurl://' if pycurl is not present.
412
(John Arbash Meinel) (Malone #47821, #52204)
414
* New env variable BZR_PROGRESS_BAR, sets the default progress bar type.
415
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
416
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
418
* Improve the help text for 'bzr diff' to explain what various options do.
419
(John Arbash Meinel, #6391)
421
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
422
revision 10. This makes -r10 more in line with what other commands do.
423
'bzr uncommit' also now saves the pending merges of the revisions that
424
were removed. So it is safe to uncommit after a merge, fix something,
425
and commit again. (John Arbash Meinel, #32526, #31426)
427
* 'bzr init' now also works on remote locations.
428
(Wouter van Heyst, #48904)
430
* HTTP support has been updated. When using pycurl we now support
431
connection keep-alive, which reduces dns requests and round trips.
432
And for both urllib and pycurl we support multi-range requests,
433
which decreases the number of round-trips. Performance results for
434
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
435
http branching is now 2-3x faster, and ``bzr pull`` in an existing
436
branch is as much as 4x faster.
437
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
439
* Performance improvements for sftp. Branching and pulling are now up to
440
2x faster. Utilize paramiko.readv() support for async requests if it
441
is available (paramiko > 1.6) (John Arbash Meinel)
445
* Fix shadowed definition of TestLocationConfig that caused some
446
tests not to run. (#32587, Erik Bågfors, Michael Ellerman,
449
* Fix unnecessary requirement of sign-my-commits that it be run from
450
a working directory. (Martin Pool, Robert Collins)
452
* 'bzr push location' will only remember the push location if it succeeds
453
in connecting to the remote location. (#49742, John Arbash Meinel)
455
* 'bzr revert' no longer toggles the executable bit on win32
456
(#45010, John Arbash Meinel)
458
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
460
* sftp tests now work correctly on win32 if you have a newer paramiko
463
* Cleanup win32 test suite, and general cleanup of places where
464
file handles were being held open. (John Arbash Meinel)
466
* When specifying filenames for 'diff -r x..y', the name of the file in the
467
working directory can be used, even if its name is different in both x
470
* File-ids containing single- or double-quotes are handled correctly by
471
push. (#52227, Aaron Bentley)
473
* Normalize unicode filenames to ensure cross-platform consistency.
474
(John Arbash Meinel, #43689)
476
* The argument parser can now handle '-' as an argument. Currently
477
no code interprets it specially (it is mostly handled as a file named
478
'-'). But plugins, and future operations can use it.
479
(John Arbash meinel, #50984)
481
* Bundles can properly read binary files with a plain '\r' in them.
482
(John Arbash Meinel, #51927)
484
* Tuning iter_entries() to be more efficient (John Arbash Meinel, #5444)
486
* Lots of win32 fixes (the test suite passes again).
487
(John Arbash Meinel, #50155)
489
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
491
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
493
* Removals are only committed if they match the filespec (or if there is
494
no filespec). (#46635, Aaron Bentley)
496
* smart-add recurses through all supplied directories
497
(John Arbash Meinel, #52578)
499
* Make the bundle reader extra lines before and after the bundle text.
500
This allows you to parse an email with the bundle inline.
501
(John Arbash Meinel, #49182)
503
* Change the file id generator to squash a little bit more. Helps when
504
working with long filenames on windows. (Also helps for unicode filenames
505
not generating hidden files). (John Arbash Meinel, #43801)
507
* Restore terminal mode on C-c while reading sftp password. (#48923,
508
Nicholas Allen, Martin Pool)
510
* Timestamps are rounded to 1ms, and revision entries can be recreated
511
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
513
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
514
use local paths, since it is user visible (John Arbash Meinel, #53653)
516
* ``bzr status foo`` when foo was unversioned used to cause a full delta
517
to be generated (John Arbash Meinel, #53638)
519
* When reading revision properties, an empty value should be considered
520
the empty string, not None (John Arbash Meinel, #47782)
522
* ``bzr diff --diff-options`` can now handle binary files being changed.
523
Also, the output is consistent when --diff-options is not supplied.
524
(John Arbash Meinel, #54651, #52930)
526
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
528
* Fix Branch.get_parent() to handle the case when the parent is not
529
accessible (John Arbash Meinel, #52976)
533
* Combine the ignore rules into a single regex rather than looping over
534
them to reduce the threshold where N^2 behaviour occurs in operations
535
like status. (Jan Hudec, Robert Collins).
537
* Appending to bzrlib.DEFAULT_IGNORE is now deprecated. Instead, use
538
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
540
* 'bzr push' should only push the ancestry of the current revision, not
541
all of the history in the repository. This is especially important for
542
shared repositories. (John Arbash Meinel)
544
* bzrlib.delta.compare_trees now iterates in alphabetically sorted order,
545
rather than randomly walking the inventories. (John Arbash Meinel)
547
* Doctests are now run in temporary directories which are cleaned up when
548
they finish, rather than using special ScratchDir/ScratchBranch objects.
551
* Split ``check`` into separate methods on the branch and on the repository,
552
so that it can be specialized in ways that are useful or efficient for
553
different formats. (Martin Pool, Robert Collins)
555
* Deprecate Repository.all_revision_ids; most methods don't really need
556
the global revision graph but only that part leading up to a particular
557
revision. (Martin Pool, Robert Collins)
559
* Add a BzrDirFormat control_formats list which allows for control formats
560
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
561
(Robert Collins, Jelmer Vernooij).
563
* bzrlib.diff.external_diff can be redirected to any file-like object.
564
Uses subprocess instead of spawnvp.
565
(#4047, #48914, James Henstridge, John Arbash Meinel)
567
* New command line option '--profile-imports', which will install a custom
568
importer to log time to import modules and regex compilation time to
569
sys.stderr (John Arbash Meinel)
571
* 'EmptyTree' is now deprecated, please use repository.revision_tree(None)
572
instead. (Robert Collins)
574
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
580
* setup.py failed to install launchpad plugin. (Martin Pool)
586
* Fix failure to commit a merge in a checkout. (Martin Pool,
587
Robert Collins, Erik Bågfors, #43959)
589
* Nicer messages from 'commit' in the case of renames, and correct
590
messages when a merge has occured. (Robert Collins, Martin Pool)
592
* Separate functionality from assert statements as they are skipped in
593
optimized mode of python. Add the same check to pending merges.
594
(#44443, Olaf Conradi)
598
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
600
* Add info on standalone branches without a working tree.
601
(#44155, Olaf Conradi)
603
* Fix bug in knits when raising InvalidRevisionId. (#44284, Olaf Conradi)
607
* Make editor invocation comply with Debian Policy. First check
608
environment variables VISUAL and EDITOR, then try editor from
609
alternatives system. If that all fails, fall back to the pre-defined
610
list of editors. (#42904, Olaf Conradi)
614
* New 'register-branch' command registers a public branch into
615
Launchpad.net, where it can be associated with bugs, etc.
616
(Martin Pool, Bjorn Tillenius, Robert Collins)
620
* New public api in InventoryEntry - 'describe_change(old, new)' which
621
provides a human description of the changes between two old and
622
new. (Robert Collins, Martin Pool)
626
* Fix test case for bzr info in upgrading a standalone branch to metadir,
627
uses bzrlib api now. (Olaf Conradi)
631
NOTES WHEN UPGRADING:
633
Release 0.8 of bzr introduces a new format for history storage, called
634
'knit', as an evolution of to the 'weave' format used in 0.7. Local
635
and remote operations are faster using knits than weaves. Several
636
operations including 'init', 'init-repo', and 'upgrade' take a
637
--format option that controls this. Branching from an existing branch
638
will keep the same format.
640
It is possible to merge, pull and push between branches of different
641
formats but this is slower than moving data between homogenous
642
branches. It is therefore recommended (but not required) that you
643
upgrade all branches for a project at the same time. Information on
644
formats is shown by 'bzr info'.
646
bzr 0.8 now allows creation of 'repositories', which hold the history
647
of files and revisions for several branches. Previously bzr kept all
648
the history for a branch within the .bzr directory at the root of the
649
branch, and this is still the default. To create a repository, use
650
the new 'bzr init-repo' command. Branches exist as directories under
651
the repository and contain just a small amount of information
652
indicating the current revision of the branch.
654
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
655
subversion. Checkouts are associated with a branch (optionally in a
656
repository), which contains all the historical information. The
657
result is that a checkout can be deleted without losing any
658
already-committed revisions. A new 'update' command is also available.
660
Repositories and checkouts are not supported with the 0.7 storage
661
format. To use them you must upgrad to either knits, or to the
662
'metaweave' format, which uses weaves but changes the .bzr directory
668
* Sftp paths can now be relative, or local, according to the lftp
669
convention. Paths now take the form:
670
sftp://user:pass@host:port/~/relative/path
672
sftp://user:pass@host:port/absolute/path
674
* The FTP transport now tries to reconnect after a temporary
675
failure. ftp put is made atomic. (Matthieu Moy)
677
* The FTP transport now maintains a pool of connections, and
678
reuses them to avoid multiple connections to the same host (like
679
sftp did). (Daniel Silverstone)
681
* The bzr_man.py file has been removed. To create the man page now,
682
use ./generate_docs.py man. The new program can also create other files.
683
Run "python generate_docs.py --help" for usage information. (Hans
684
Ulrich Niedermann & James Blackwell).
686
* Man Page now gives full help (James Blackwell). Help also updated to
687
reflect user config now being stored in .bazaar (Hans Ulrich
690
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
692
* Pull now accepts a --revision argument (Erik Bågfors)
694
* 'bzr re-sign' now allows multiple revisions to be supplied on the command
695
line. You can now use the following command to sign all of your old commits.
696
find .bzr/revision-store// -name my@email-* \
697
| sed 's/.*\/\/..\///' \
700
* Upgrade can now upgrade over the network. (Robert Collins)
702
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
703
behaviour. By default they will cache history in the checkout, but
704
with --lightweight almost all data is kept in the master branch.
707
* 'revert' unversions newly-versioned files, instead of deleting them.
709
* 'merge' is more robust. Conflict messages have changed.
711
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
714
* Default log format can be set in configuration and plugins can register
715
their own formatters. (Erik Bågfors)
717
* New 'reconcile' command will check branch consistency and repair indexes
718
that can become out of sync in pre 0.8 formats. (Robert Collins,
721
* New 'bzr init --format' and 'bzr upgrade --format' option to control
722
what storage format is created or produced. (Robert Collins,
725
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
727
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
729
* New 'init-repository' command, plus support for repositories in 'init'
730
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
732
* Improve output of 'info' command. Show all relevant locations related to
733
working tree, branch and repository. Use kibibytes for binary quantities.
734
Fix off-by-one error in missing revisions of working tree. Make 'info'
735
work on branches, repositories and remote locations. Show locations
736
relative to the shared repository, if applicable. Show locking status
737
of locations. (Olaf Conradi)
739
* Diff and merge now safely handle binary files. (Aaron Bentley)
741
* 'pull' and 'push' now normalise the revision history, so that any two
742
branches with the same tip revision will have the same output from 'log'.
745
* 'merge' accepts --remember option to store parent location, like 'push'
746
and 'pull'. (Olaf Conradi)
748
* bzr status and diff when files given as arguments do not exist
749
in the relevant trees. (Martin Pool, #3619)
751
* Add '.hg' to the default ignore list. (Martin Pool)
753
* 'knit' is now the default disk format. This improves disk performance and
754
utilization, increases incremental pull performance, robustness with SFTP
755
and allows checkouts over SFTP to perform acceptably.
756
The initial Knit code was contributed by Johan Rydberg based on a
757
specification by Martin Pool.
758
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
760
* New tool to generate all-in-one html version of the manual. (Alexander
763
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
764
to be left in the SFTP repository. (Robert Collins, Martin Pool).
766
* New option 'diff --prefix' to control how files are named in diff
767
output, with shortcuts '-p0' and '-p1' corresponding to the options for
768
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
770
* Add --revision option to 'annotate' command. (Olaf Conradi)
772
* If bzr shows an unexpected revision-history after pulling (perhaps due
773
to a reweave) it can now be corrected by 'bzr reconcile'.
778
* Commit is now verbose by default, and shows changed filenames and the
779
new revision number. (Robert Collins, Martin Pool)
781
* Unify 'mv', 'move', 'rename'. (#5379, Matthew Fuller)
783
* 'bzr -h' shows help. (#35940, Martin Pool, Ian Bicking)
785
* Make 'pull' and 'push' remember location on failure using --remember.
788
* For compatibility, make old format for using weaves inside metadir
789
available as 'metaweave' format. Rename format 'metadir' to 'default'.
790
Clean up help for option --format in commands 'init', 'init-repo' and
791
'upgrade'. (Olaf Conradi)
795
* The internal storage of history, and logical branch identity have now
796
been split into Branch, and Repository. The common locking and file
797
management routines are now in bzrlib.lockablefiles.
798
(Aaron Bentley, Robert Collins, Martin Pool)
800
* Transports can now raise DependencyNotPresent if they need a library
801
which is not installed, and then another implementation will be
804
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
807
* Using Tree Transform for merge, revert, tree-building
809
* WorkingTree.create, Branch.create, WorkingTree.create_standalone,
810
Branch.initialize are now deprecated. Please see BzrDir.create_* for
811
replacement API's. (Robert Collins)
813
* New BzrDir class represents the .bzr control directory and manages
814
formatting issues. (Robert Collins)
816
* New repository.InterRepository class encapsulates Repository to
817
Repository actions and allows for clean selection of optimised code
818
paths. (Robert Collins)
820
* bzrlib.fetch.fetch and bzrlib.fetch.greedy_fetch are now deprecated,
821
please use 'branch.fetch' or 'repository.fetch' depending on your
822
needs. (Robert Collins)
824
* deprecated methods now have a 'is_deprecated' flag on them that can
825
be checked, if you need to determine whether a given callable is
826
deprecated at runtime. (Robert Collins)
828
* Progress bars are now nested - see
829
bzrlib.ui.ui_factory.nested_progress_bar. (Robert Collins, Robey Pointer)
831
* New API call get_format_description() for each type of format.
834
* Changed branch.set_parent() to accept None to remove parent.
837
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
839
* WorkingTree.branch is now a read only property. (Robert Collins)
841
* bzrlib.ui.text.TextUIFactory now accepts a bar_type parameter which
842
can be None or a factory that will create a progress bar. This is
843
useful for testing or for overriding the bzrlib.progress heuristic.
846
* New API method get_physical_lock_status() to query locks present on a
847
transport. (Olaf Conradi)
849
* Repository.reconcile now takes a thorough keyword parameter to allow
850
requesting an indepth reconciliation, rather than just a data-loss
851
check. (Robert Collins)
853
* bzrlib.ui.ui_factory protocol now supports 'get_boolean' to prompt
854
the user for yes/no style input. (Robert Collins)
858
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
859
for testing SFTP protocol support. (Robey Pointer)
861
* Branch formats are now tested once per implementation (see bzrlib.
862
tests.branch_implementations. This is analagous to the transport
863
interface tests, and has been followed up with working tree,
864
repository and BzrDir tests. (Robert Collins)
866
* New test base class TestCaseWithTransport provides a transport aware
867
test environment, useful for testing any transport-interface using
868
code. The test suite option --transport controls the transport used
869
by this class (when its not being used as part of implementation
870
contract testing). (Robert Collins)
872
* Close logging handler on disabling the test log. This will remove the
873
handler from the internal list inside python's logging module,
874
preventing shutdown from closing it twice. (Olaf Conradi)
876
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
878
* run_bzr and run_bzr_captured now accept a 'stdin="foo"' parameter which
879
will provide String("foo") to the command as its stdin.
885
* .bzrignore is excluded from exports, on the grounds that it's a bzr
886
internal-use file and may not be wanted. (Jamie Wilkinson)
888
* The "bzr directories" command were removed in favor of the new
889
--kind option to the "bzr inventory" command. To list all
890
versioned directories, now use "bzr inventory --kind directory".
893
* Under Windows configuration directory is now %APPDATA%\bazaar\2.0
894
by default. (John Arbash Meinel)
896
* The parent of Bzr configuration directory can be set by BZR_HOME
897
environment variable. Now the path for it is searched in BZR_HOME, then
898
in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
899
points to C:\Documents and Settings\User Name\Application Data), HOME.
902
* Plugins with the same name in different directories in the bzr plugin
903
path are no longer loaded: only the first successfully loaded one is
904
used. (Robert Collins)
906
* Use systems' external ssh command to open connections if possible.
907
This gives better integration with user settings such as ProxyCommand.
910
* Permissions on files underneath .bzr/ are inherited from the .bzr
911
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
912
will mean that future file will be created with group write permissions.
914
* configure.in and config.guess are no longer in the builtin default
917
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
918
files. (John Arbash Meinel, Martin Pool)
922
* "bzr INIT dir" now initializes the specified directory, and creates
923
it if it does not exist. (John Arbash Meinel)
925
* New remerge command (Aaron Bentley)
927
* Better zsh completion script. (Steve Borho)
929
* 'bzr diff' now returns 1 when there are changes in the working
930
tree. (Robert Collins)
932
* 'bzr push' now exists and can push changes to a remote location.
933
This uses the transport infrastructure, and can store the remote
934
location in the ~/.bazaar/branches.conf configuration file.
937
* Test directories are only kept if the test fails and the user requests
940
* Tweaks to short log printing
942
* Added branch nicks, new nick command, printing them in log output.
945
* If $BZR_PDB is set, pop into the debugger when an uncaught exception
946
occurs. (Martin Pool)
948
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
949
the same as Subversion. (Martin Pool)
951
* New ftp transport support (on ftplib), for ftp:// and aftp://
952
URLs. (Daniel Silverstone)
954
* Commit editor temporary files now start with 'bzr_log.', to allow
955
text editors to match the file name and set up appropriate modes or
956
settings. (Magnus Therning)
958
* Improved performance when integrating changes from a remote weave.
959
(Goffredo Baroncelli)
961
* Sftp will attempt to cache the connection, so it is more likely that
962
a connection will be reused, rather than requiring multiple password
965
* bzr revno now takes an optional argument indicating the branch whose
966
revno should be printed. (Michael Ellerman)
968
* bzr cat defaults to printing the last version of the file.
969
(#3632, Matthieu Moy)
971
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
972
profiler. (Denys Duchier)
974
* Faster commits by reading only the headers of affected weave files.
977
* 'bzr add' now takes a --dry-run parameter which shows you what would be
978
added, but doesn't actually add anything. (Michael Ellerman)
980
* 'bzr add' now lists how many files were ignored per glob. add --verbose
981
lists the specific files. (Aaron Bentley)
983
* 'bzr missing' now supports displaying changes in diverged trees and can
984
be limited to show what either end of the comparison is missing.
985
(Aaron Bently, with a little prompting from Daniel Silverstone)
989
* SFTP can walk up to the root path without index errors. (Robert Collins)
991
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
993
* Error when run with -OO
995
* Fix bug in reporting http errors that don't have an http error code.
998
* Handle more cases of pipe errors in display commands
1000
* Change status to 3 for all errors
1002
* Files that are added and unlinked before committing are completely
1003
ignored by diff and status
1005
* Stores with some compressed texts and some uncompressed texts are now
1006
able to be used. (John A Meinel)
1008
* Fix for bzr pull failing sometimes under windows
1010
* Fix for sftp transport under windows when using interactive auth
1012
* Show files which are both renamed and modified as such in 'bzr
1013
status' output. (#4503, Daniel Silverstone)
1015
* Make annotate cope better with revisions committed without a valid
1016
email address. (Marien Zwart)
1018
* Fix representation of tab characters in commit messages. (Harald
1021
* List of plugin directories in BZR_PLUGIN_PATH environment variable is
1022
now parsed properly under Windows. (Alexander Belchenko)
1024
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
1026
* Keep a cached copy of the basis inventory to speed up operations
1027
that need to refer to it. (Johan Rydberg, Martin Pool)
1029
* Fix bugs in bzr status display of non-ascii characters. (Martin
1032
* Remove Makefile.in from default ignore list. (#6413, Tollef Fog
1035
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
1039
* Fix selftest asking for passwords when there are no SFTP keys.
1040
(Robey Pointer, Jelmer Vernooij)
1042
* Fix selftest run with 'python -O'. (Martin Pool)
1044
* Fix HTTP tests under Windows. (John Arbash Meinel)
1046
* Make tests work even if HOME is not set (Aaron Bentley)
1048
* Updated build_tree to use fixed line-endings for tests which read
1049
the file cotents and compare. Make some tests use this to pass under
1050
Windows. (John Arbash Meinel)
1052
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
1054
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
1055
(John Arbash Meinel)
1057
* Use terminal width to align verbose test output. (Martin Pool)
1059
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
1060
If adding a new test script please add that to
1061
bzrlib.tests.blackbox.__init__. (Robert Collins)
1063
* Much better error message if one of the test suites can't be
1064
imported. (Martin Pool)
1066
* Make check now runs the test suite twice - once with the default locale,
1067
and once with all locales forced to C, to expose bugs. This is not
1068
trivially done within python, so for now its only triggered by running
1069
Make check. Integrators and packagers who wish to check for full
1070
platform support should run 'make check' to test the source.
1073
* Tests can now run TestSkipped if they can't execute for any reason.
1074
(Martin Pool) (NB: TestSkipped should only be raised for correctable
1075
reasons - see the wiki spec ImprovingBzrTestSuite).
1077
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
1078
paths for the transport tests. Introduce blackbox remote sftp tests that
1079
test the same permutations. (Robert Collins, Robey Pointer)
1081
* Transport implementation tests are now independent of the local file
1082
system, which allows tests for esoteric transports, and for features
1083
not available in the local file system. They also repeat for variations
1084
on the URL scheme that can introduce issues in the transport code,
1085
see bzrlib.transport.TransportTestProviderAdapter() for this.
1088
* TestCase.build_tree uses the transport interface to build trees, pass
1089
in a transport parameter to give it an existing connection.
1094
* WorkingTree.pull has been split across Branch and WorkingTree,
1095
to allow Branch only pulls. (Robert Collins)
1097
* commands.display_command now returns the result of the decorated
1098
function. (Robert Collins)
1100
* LocationConfig now has a set_user_option(key, value) call to save
1101
a setting in its matching location section (a new one is created
1102
if needed). (Robert Collins)
1104
* Branch has two new methods, get_push_location and set_push_location
1105
to respectively, get and set the push location. (Robert Collins)
1107
* commands.register_command now takes an optional flag to signal that
1108
the registrant is planning to decorate an existing command. When
1109
given multiple plugins registering a command is not an error, and
1110
the original command class (whether built in or a plugin based one) is
1111
returned to the caller. There is a new error 'MustUseDecorated' for
1112
signalling when a wrapping command should switch to the original
1113
version. (Robert Collins)
1115
* Some option parsing errors will raise 'BzrOptionError', allowing
1116
granular detection for decorating commands. (Robert Collins).
1118
* Branch.read_working_inventory has moved to
1119
WorkingTree.read_working_inventory. This necessitated changes to
1120
Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
1121
as well. To make it clear that a WorkingTree cannot always be obtained
1122
Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
1123
be obtained. (Robert Collins)
1125
* All pending merges operations from Branch are now on WorkingTree.
1128
* The follow operations from Branch have moved to WorkingTree:
1136
* bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
1138
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
1140
* Rename selftests to `bzrlib.tests.test_foo`. (John A Meinel, Martin
1143
* bzrlib.plugin.all_plugins has been changed from an attribute to a
1144
query method. (Robert Collins)
1146
* New options to read only the table-of-contents of a weave.
1149
* Raise NoSuchFile when someone tries to add a non-existant file.
1152
* Simplify handling of DivergedBranches in cmd_pull().
1156
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
1157
is exposed as Branch().control_files. Also this has been altered with the
1158
controlfile pre/suffix replaced by simple method names like 'get' and
1159
'put'. (Aaron Bentley, Robert Collins).
1161
* Deprecated functions and methods can now be marked as such using the
1162
bzrlib.symbol_versioning module. Marked method have their docstring
1163
updated and will issue a DeprecationWarning using the warnings module
1164
when they are used. (Robert Collins)
1166
* bzrlib.osutils.safe_unicode now exists to provide parameter coercion
1167
for functions that need unicode strings. (Robert Collins)
1173
* pull now takes --verbose to show you what revisions are added or removed
1176
* merge now takes a --show-base option to include the base text in
1180
* The config files are now read using ConfigObj, so '=' should be used as
1181
a separator, not ':'.
1184
* New 'bzr commit --strict' option refuses to commit if there are
1185
any unknown files in the tree. To commit, make sure all files are
1186
either ignored, added, or deleted. (Michael Ellerman)
1188
* The config directory is now ~/.bazaar, and there is a single file
1189
~/.bazaar/bazaar.conf storing email, editor and other preferences.
1192
* 'bzr add' no longer takes a --verbose option, and a --quiet option
1193
has been added that suppresses all output.
1195
* Improved zsh completion support in contrib/zsh, from Clint
1198
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
1199
Goffredo Baroncelli.
1201
* 'bzr check' now accepts -v for verbose reporting, and checks for
1202
ghosts in the branch. (Robert Collins)
1204
* New command 're-sign' which will regenerate the gpg signature for
1205
a revision. (Robert Collins)
1207
* If you set check_signatures=require for a path in
1208
~/.bazaar/branches.conf then bzr will invoke your
1209
gpg_signing_command (defaults to gpg) and record a digital signature
1210
of your commit. (Robert Collins)
1212
* New sftp transport, based on Paramiko. (Robey Pointer)
1214
* 'bzr pull' now accepts '--clobber' which will discard local changes
1215
and make this branch identical to the source branch. (Robert Collins)
1217
* Just give a quieter warning if a plugin can't be loaded, and
1218
put the details in .bzr.log. (Martin Pool)
1220
* 'bzr branch' will now set the branch-name to the last component of the
1221
output directory, if one was supplied.
1223
* If the option 'post_commit' is set to one (or more) python function
1224
names (must be in the bzrlib namespace), then they will be invoked
1225
after the commit has completed, with the branch and revision_id as
1226
parameters. (Robert Collins)
1228
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
1230
* --merge-type weave is now supported for file contents. Tree-shape
1231
changes are still three-way based. (Martin Pool, Aaron Bentley)
1233
* 'bzr check' allows the first revision on revision-history to have
1234
parents - something that is expected for cheap checkouts, and occurs
1235
when conversions from baz do not have all history. (Robert Collins).
1237
* 'bzr merge' can now graft unrelated trees together, if your specify
1238
0 as a base. (Aaron Bentley)
1240
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
1243
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
1245
* 'bzr merge --reprocess' minimizes conflicts
1249
* The 'bzr selftest --pattern' option for has been removed, now
1250
test specifiers on the command line can be simple strings, or
1251
regexps, or both. (Robert Collins)
1253
* Passing -v to selftest will now show the time each test took to
1254
complete, which will aid in analysing performance regressions and
1255
related questions. (Robert Collins)
1257
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
1258
is given. (Martin Pool)
1260
* There is a new method for TestCaseInTempDir, assertFileEqual, which
1261
will check that a given content is equal to the content of the named
1262
file. (Robert Collins)
1264
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
1269
* New 'testament' command and concept for making gpg-signatures
1270
of revisions that are not tied to a particular internal
1271
representation. (Martin Pool).
1273
* Per-revision properties ('revprops') as key-value associated
1274
strings on each revision created when the revision is committed.
1275
Intended mainly for the use of external tools. (Martin Pool).
1277
* Config options have moved from bzrlib.osutils to bzrlib.config.
1280
* Improved command line option definitions allowing explanations
1281
for individual options, among other things. Contributed by
1284
* Config options have moved from bzrlib.osutils to bzrlib.config.
1285
Configuration is now done via the config.Config interface:
1286
Depending on whether you have a Branch, a Location or no information
1287
available, construct a *Config, and use its signature_checking,
1288
username and user_email methods. (Robert Collins)
1290
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
1291
they are made available for other plugins to use. You should not
1292
import other plugins during the __init__ of your plugin though, as
1293
no ordering is guaranteed, and the plugins directory is not on the
1294
python path. (Robert Collins)
1296
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
1297
no longer takes an inventory, rather it takes an option branch
1298
parameter, and if None is given will open the branch at basedir
1299
implicitly. (Robert Collins)
1301
* Cleaner exception structure and error reporting. Suggested by
1302
Scott James Remnant. (Martin Pool)
1304
* Branch.remove has been moved to WorkingTree, which has also gained
1305
lock_read, lock_write and unlock methods for convenience. (Robert
1308
* Two decorators, needs_read_lock and needs_write_lock have been added
1309
to the branch module. Use these to cause a function to run in a
1310
read or write lock respectively. (Robert Collins)
1312
* Branch.open_containing now returns a tuple (Branch, relative-path),
1313
which allows direct access to the common case of 'get me this file
1314
from its branch'. (Robert Collins)
1316
* Transports can register using register_lazy_transport, and they
1317
will be loaded when first used. (Martin Pool)
1319
* 'pull' has been factored out of the command as WorkingTree.pull().
1320
A new option to WorkingTree.pull has been added, clobber, which will
1321
ignore diverged history and pull anyway.
1324
* config.Config has a 'get_user_option' call that accepts an option name.
1325
This will be looked up in branches.conf and bazaar.conf as normal.
1326
It is intended that this be used by plugins to support options -
1327
options of built in programs should have specific methods on the config.
1330
* merge.merge_inner now has tempdir as an optional parameter. (Robert
1333
* Tree.kind is not recorded at the top level of the hierarchy, as it was
1334
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
1337
* WorkingTree.__del__ has been removed, it was non deterministic and not
1338
doing what it was intended to. See WorkingTree.__init__ for a comment
1339
about future directions. (Robert Collins/Martin Pool)
1341
* bzrlib.transport.http has been modified so that only 404 urllib errors
1342
are returned as NoSuchFile. Other exceptions will propogate as normal.
1343
This allows debuging of actual errors. (Robert Collins)
1345
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
1346
to apis like 'put', 'get' and 'has'. This is to provide consistent
1347
behaviour - it operates on url's only. (Robert Collins)
1349
* Transports can register using register_lazy_transport, and they
1350
will be loaded when first used. (Martin Pool)
1352
* 'merge_flex' no longer calls conflict_handler.finalize(), instead that
1353
is called by merge_inner. This is so that the conflict count can be
1354
retrieved (and potentially manipulated) before returning to the caller
1355
of merge_inner. Likewise 'merge' now returns the conflict count to the
1356
caller. (Robert Collins)
1358
* 'revision.revision_graph can handle having only partial history for
1359
a revision - that is no revisions in the graph with no parents.
1362
* New builtins.branch_files uses the standard file_list rules to produce
1363
a branch and a list of paths, relative to that branch (Aaron Bentley)
1365
* New TestCase.addCleanup facility.
1367
* New bzrlib.version_info tuple (similar to sys.version_info), which can
1368
be used by programs importing bzrlib.
1372
* Better handling of branches in directories with non-ascii names.
1373
(Joel Rosdahl, Panagiotis Papadakos)
1375
* Upgrades of trees with no commits will not fail due to accessing
1376
[-1] in the revision-history. (Andres Salomon)
1379
bzr 0.1.1 2005-10-12
1383
* Fix problem in pulling over http from machines that do not
1384
allow directories to be listed.
1386
* Avoid harmless warning about invalid hash cache after
1387
upgrading branch format.
1391
* Avoid some unnecessary http operations in branch and pull.
1398
* 'bzr branch' over http initially gives a very high estimate
1399
of completion time but it should fall as the first few
1400
revisions are pulled in. branch is still slow on
1401
high-latency connections.
1405
* bzr-man.py has been updated to work again. Contributed by
1408
* Locking is now done with fcntl.lockf which works with NFS
1409
file systems. Contributed by Harald Meland.
1411
* When a merge encounters a file that has been deleted on
1412
one side and modified on the other, the old contents are
1413
written out to foo.BASE and foo.SIDE, where SIDE is this
1414
or OTHER. Contributed by Aaron Bentley.
1416
* Export was choosing incorrect file paths for the content of
1417
the tarball, this has been fixed by Aaron Bentley.
1419
* Commit will no longer commit without a log message, an
1420
error is returned instead. Contributed by Jelmer Vernooij.
1422
* If you commit a specific file in a sub directory, any of its
1423
parent directories that are added but not listed will be
1424
automatically included. Suggested by Michael Ellerman.
1426
* bzr commit and upgrade did not correctly record new revisions
1427
for files with only a change to their executable status.
1428
bzr will correct this when it encounters it. Fixed by
1431
* HTTP tests now force off the use of http_proxy for the duration.
1432
Contributed by Gustavo Niemeyer.
1434
* Fix problems in merging weave-based branches that have
1435
different partial views of history.
1437
* Symlink support: working with symlinks when not in the root of a
1438
bzr tree was broken, patch from Scott James Remnant.
1442
* 'branch' now accepts a --basis parameter which will take advantage
1443
of local history when making a new branch. This allows faster
1444
branching of remote branches. Contributed by Aaron Bentley.
1446
* New tree format based on weave files, called version 5.
1447
Existing branches can be upgraded to this format using
1450
* Symlinks are now versionable. Initial patch by
1451
Erik Toubro Nielsen, updated to head by Robert Collins.
1453
* Executable bits are tracked on files. Patch from Gustavo
1456
* 'bzr status' now shows unknown files inside a selected directory.
1457
Patch from Heikki Paajanen.
1459
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
1460
and 'resolve' have needed added, which list and remove those
1461
merge conflicts respectively. A conflicted tree cannot be committed
1462
in. Contributed by Aaron Bentley.
1464
* 'rm' is now an alias for 'remove'.
1466
* Stores now split out their content in a single byte prefixed hash,
1467
dropping the density of files per directory by 256. Contributed by
1470
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
1471
Contributed by Robert Collins.
1473
* 'bzr log' with the default formatter will show merged revisions,
1474
indented to the right. Initial implementation contributed by Gustavo
1475
Niemeyer, made incremental by Robert Collins.
1480
* Test case failures have the exception printed after the log
1481
for your viewing pleasure.
1483
* InventoryEntry is now an abstract base class, use one of the
1484
concrete InventoryDirectory etc classes instead.
1486
* Branch raises an UnsupportedFormatError when it detects a
1487
bzr branch it cannot understand. This allows for precise
1488
handling of such circumstances.
1493
* Removed testsweet module so that tests can be run after
1494
bzr installed by 'bzr selftest'.
1496
* 'bzr selftest' command-line arguments can now be partial ids
1497
of tests to run, e.g. 'bzr selftest test_weave'
1500
bzr 0.0.9 2005-09-23
1504
* Fixed "branch -r" option.
1506
* Fix remote access to branches containing non-compressed history.
1509
* Better reliability of http server tests. (John Arbash-Meinel)
1511
* Merge graph maximum distance calculation fix. (Aaron Bentley)
1513
* Various minor bug in windows support have been fixed, largely in the
1514
test suite. Contributed by Alexander Belchenko.
1518
* Status now accepts a -r argument to give status between chosen
1519
revisions. Contributed by Heikki Paajanen.
1521
* Revision arguments no longer use +/-/= to control ranges, instead
1522
there is a 'before' namespace, which limits the successive namespace.
1523
For example '$ bzr log -r date:yesterday..before:date:today' will
1524
select everything from yesterday and before today. Contributed by
1527
* There is now a bzr.bat file created by distutils when building on
1528
Windows. Contributed by Alexander Belchenko.
1532
* Removed uuid() as it was unused.
1534
* Improved 'fetch' code for pulling revisions from one branch into
1535
another (used by pull, merged, etc.)
1538
bzr 0.0.8 2005-09-20
1542
* Adding a file whose parent directory is not versioned will
1543
implicitly add the parent, and so on up to the root. This means
1544
you should never need to explictly add a directory, they'll just
1545
get added when you add a file in the directory. Contributed by
1548
* Ignore .DS_Store (contains Mac metadata) by default. Patch from
1551
* If you set BZR_EDITOR in the environment, it is checked in
1552
preference to EDITOR and the config file for the interactive commit
1553
editing program. Related to this is a bugfix where a missing program
1554
set in EDITOR would cause editing to fail, now the fallback program
1555
for the operating system is still tried.
1557
* Files that are not directories/symlinks/regular files will no longer
1558
cause bzr to fail, it will just ignore them by default. You cannot add
1559
them to the tree though - they are not versionable.
1564
* Refactor xml packing/unpacking.
1568
* Fixed 'bzr mv' by Ollie Rutherfurd.
1570
* Fixed strange error when trying to access a nonexistent http
1573
* Make sure that the hashcache gets written out if it can't be
1579
* Various Windows fixes from Ollie Rutherfurd.
1581
* Quieten warnings about locking; patch from Matt Lavin.
1584
bzr-0.0.7 2005-09-02
1588
* ``bzr shell-complete`` command contributed by Clint Adams to
1589
help with intelligent shell completion.
1591
* New expert command ``bzr find-merge-base`` for debugging merges.
1596
* Much better merge support.
1598
* merge3 conflicts are now reported with markers like '<<<<<<<'
1599
(seven characters) which is the same as CVS and pleases things
1605
* ``bzr upgrade`` no longer fails when trying to fix trees that
1606
mention revisions that are not present.
1608
* Fixed bugs in listing plugins from ``bzr plugins``.
1610
* Fix case of $EDITOR containing options for the editor.
1612
* Fix log -r refusing to show the last revision.
1613
(Patch from Goffredo Baroncelli.)
1618
* ``bzr log --show-ids`` shows the revision ids of all parents.
1620
* Externally provided commands on your $BZRPATH no longer need
1621
to recognize --bzr-usage to work properly, and can just handle
1627
* Changed trace messages to go through the standard logging
1628
framework, so that they can more easily be redirected by
1633
bzr-0.0.6 2005-08-18
1637
* Python plugins, automatically loaded from the directories on
1638
BZR_PLUGIN_PATH or ~/.bzr.conf/plugins by default.
1640
* New 'bzr mkdir' command.
1642
* Commit mesage is fetched from an editor if not given on the
1643
command line; patch from Torsten Marek.
1645
* ``bzr log -m FOO`` displays commits whose message matches regexp
1648
* ``bzr add`` with no arguments adds everything under the current directory.
1650
* ``bzr mv`` does move or rename depending on its arguments, like
1653
* ``bzr missing`` command shows a summary of the differences
1654
between two trees. (Merged from John Arbash-Meinel.)
1656
* An email address for commits to a particular tree can be
1657
specified by putting it into .bzr/email within a branch. (Based
1658
on a patch from Heikki Paajanen.)
1663
* Faster working tree operations.
1668
* 3rd-party modules shipped with bzr are copied within the bzrlib
1669
python package, so that they can be installed by the setup
1670
script without clashing with anything already existing on the
1671
system. (Contributed by Gustavo Niemeyer.)
1673
* Moved plugins directory to bzrlib/, so that there's a standard
1674
plugin directory which is not only installed with bzr itself but
1675
is also available when using bzr from the development tree.
1676
BZR_PLUGIN_PATH and DEFAULT_PLUGIN_PATH are then added to the
1677
standard plugins directory.
1679
* When exporting to a tarball with ``bzr export --format tgz``, put
1680
everything under a top directory rather than dumping it into the
1681
current directory. This can be overridden with the ``--root``
1682
option. Patch from William Dodé and John Meinel.
1684
* New ``bzr upgrade`` command to upgrade the format of a branch,
1685
replacing ``bzr check --update``.
1687
* Files within store directories are no longer marked readonly on
1690
* Changed ``bzr log`` output to a more compact form suggested by
1691
John A Meinel. Old format is available with the ``--long`` or
1692
``-l`` option, patched by William Dodé.
1694
* By default the commit command refuses to record a revision with
1695
no changes unless the ``--unchanged`` option is given.
1697
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
1698
line options must come before the command name because they
1699
affect what commands are available; all other options must come
1700
after the command name because their interpretation depends on
1703
* ``branch`` and ``clone`` added as aliases for ``branch``.
1705
* Default log format is back to the long format; the compact one
1706
is available with ``--short``.
1711
* Fix bugs in committing only selected files or within a subdirectory.
1714
bzr-0.0.5 2005-06-15
1718
* ``bzr`` with no command now shows help rather than giving an
1719
error. Suggested by Michael Ellerman.
1721
* ``bzr status`` output format changed, because svn-style output
1722
doesn't really match the model of bzr. Now files are grouped by
1723
status and can be shown with their IDs. ``bzr status --all``
1724
shows all versioned files and unknown files but not ignored files.
1726
* ``bzr log`` runs from most-recent to least-recent, the reverse
1727
of the previous order. The previous behaviour can be obtained
1728
with the ``--forward`` option.
1730
* ``bzr inventory`` by default shows only filenames, and also ids
1731
if ``--show-ids`` is given, in which case the id is the second
1737
* New 'bzr whoami --email' option shows only the email component
1738
of the user identification, from Jo Vermeulen.
1740
* New ``bzr ignore PATTERN`` command.
1742
* Nicer error message for broken pipe, interrupt and similar
1743
conditions that don't indicate an internal error.
1745
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
1747
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
1748
either read or write mode.
1750
* New option ``bzr log --show-ids`` shows revision and file ids.
1752
* New usage ``bzr log FILENAME`` shows only revisions that
1755
* Changed format for describing changes in ``bzr log -v``.
1757
* New option ``bzr commit --file`` to take a message from a file,
1758
suggested by LarstiQ.
1760
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
1761
Oler. File may be in a branch other than the working directory.
1763
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
1766
* Commands can now be defined by external programs or scripts
1767
in a directory on $BZRPATH.
1769
* New "stat cache" avoids reading the contents of files if they
1770
haven't changed since the previous time.
1772
* If the Python interpreter is too old, try to find a better one
1773
or give an error. Based on a patch from Fredrik Lundh.
1775
* New optional parameter ``bzr info [BRANCH]``.
1777
* New form ``bzr commit SELECTED`` to commit only selected files.
1779
* New form ``bzr log -r FROM:TO`` shows changes in selected
1780
range; contributed by John A Meinel.
1782
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
1783
options through to an external GNU diff.
1785
* New option ``bzr add --no-recurse`` to add a directory but not
1788
* ``bzr --version`` now shows more information if bzr is being run
1794
* Fixed diff format so that added and removed files will be
1795
handled properly by patch. Fix from Lalo Martins.
1797
* Various fixes for files whose names contain spaces or other
1803
* Converted black-box test suites from Bourne shell into Python;
1804
now run using ``./testbzr``. Various structural improvements to
1807
* testbzr by default runs the version of bzr found in the same
1808
directory as the tests, or the one given as the first parameter.
1810
* testbzr also runs the internal tests, so the only command
1811
required to check is just ``./testbzr``.
1813
* testbzr requires python2.4, but can be used to test bzr running
1814
under a different version.
1816
* Tests added for many other changes in this release.
1821
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
1823
* Refactor command functions into Command objects based on HCT by
1824
Scott James Remnant.
1826
* Better help messages for many commands.
1828
* Expose bzrlib.open_tracefile() to start the tracefile; until
1829
this is called trace messages are just discarded.
1831
* New internal function find_touching_revisions() and hidden
1832
command touching-revisions trace the changes to a given file.
1834
* Simpler and faster compare_inventories() function.
1836
* bzrlib.open_tracefile() takes a tracefilename parameter.
1838
* New AtomicFile class.
1840
* New developer commands ``added``, ``modified``.
1845
* Cope on Windows on python2.3 by using the weaker random seed.
1846
2.4 is now only recommended.
1849
bzr-0.0.4 2005-04-22
1853
* 'bzr diff' optionally takes a list of files to diff. Still a bit
1854
basic. Patch from QuantumG.
1856
* More default ignore patterns.
1858
* New 'bzr log --verbose' shows a list of files changed in the
1859
changeset. Patch from Sebastian Cote.
1861
* Roll over ~/.bzr.log if it gets too large.
1863
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
1866
* New 'bzr help commands' based on a patch from Denys Duchier.
1871
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
1872
or $EMAIL. All are decoded by the locale preferred encoding.
1873
If none of these are present user@hostname is used. The host's
1874
fully-qualified name is not used because that tends to fail when
1875
there are DNS problems.
1877
* New 'bzr whoami' command instead of username user-email.
1882
* Make commit safe for hardlinked bzr trees.
1884
* Some Unicode/locale fixes.
1886
* Partial workaround for difflib.unified_diff not handling
1887
trailing newlines properly.
1892
* Allow docstrings for help to be in PEP0257 format. Patch from
1895
* More tests in test.sh.
1897
* Write profile data to a temporary file not into working
1898
directory and delete it when done.
1900
* Smaller .bzr.log with process ids.
1905
* Fix opening of ~/.bzr.log on Windows. Patch from Andrew
1908
* Some improvements in handling paths on Windows, based on a patch
1912
bzr-0.0.3 2005-04-06
1916
* New "directories" internal command lists versioned directories
1919
* Can now say "bzr commit --help".
1921
* New "rename" command to rename one file to a different name
1924
* New "move" command to move one or more files into a different
1927
* New "renames" command lists files renamed since base revision.
1929
* New cat command contributed by janmar.
1933
* .bzr.log is placed in $HOME (not pwd) and is always written in
1934
UTF-8. (Probably not a completely good long-term solution, but
1939
* Workaround for difflib bug in Python 2.3 that causes an
1940
exception when comparing empty files. Reported by Erik Toubro
1945
* Refactored inventory storage to insert a root entry at the top.
1949
* Start of shell-based black-box testing in test.sh.
1956
* Win32 fixes from Steve Brown.
1959
bzr-0.0.2 "black cube" 2005-03-31