5
* Tests updates to ensure proper URL handling, UNICODE support, and
6
proper printing when the user's terminal encoding cannot display
7
the path of a file that has been versioned.
8
``bzr branch`` can take a target URL rather than only a local directory.
9
Branch.get_parent()/set_parent() now save a relative path if possible,
10
and normalize the parent based on root, allowing access across
11
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
12
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
15
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
16
Use terminal width for single-line logs from ``bzr log --line`` and
17
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
20
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
23
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
25
* Show the correct number of revisions pushed when pushing a new branch.
28
* 'bzr selftest' now shows a progress bar with the number of tests, and
29
progress made. 'make check' shows tests in -v mode, to be more useful
30
for the PQM status window. (Robert Collins).
32
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
33
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
34
profile data for the individual profiled calls, allowing for fine
35
grained analysis of performance.
36
(Robert Collins, Martin Pool).
38
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
39
where commit can take an appreciable time. (Robert Collins)
41
* 'bzr add' is now less verbose in telling you what ignore globs were
42
matched by files being ignored. Instead it just tells you how many
43
were ignored (because you might reasonably be expecting none to be
44
ignored). 'bzr add -v' is unchanged and will report every ignored
45
file. (Robert Collins).
47
* ftp now has a test server if medusa is installed. As part of testing,
48
ftp support has been improved, including support for supplying a
49
non-standard port. (John Arbash Meinel).
51
* 'bzr log --line' shows the revision number, and uses only the
52
first line of the log message (#5162, Alexander Belchenko;
55
* 'branches.conf' has been changed to 'locations.conf', since it can apply
56
to more locations than just branch locations.
61
* Fix shadowed definition of TestLocationConfig that caused some
62
tests not to run. (#32587, Erik Bågfors, Michael Ellerman,
65
* Fix unnecessary requirement of sign-my-commits that it be run from
66
a working directory. (Martin Pool, Robert Collins)
70
* Combine the ignore rules into a single regex rather than looping over
71
them to reduce the threshold where N^2 behaviour occurs in operations
72
like status. (Jan Hudec, Robert Collins).
74
* 'bzr push' should only push the ancestry of the current revision, not
75
all of the history in the repository. This is especially important for
76
shared repositories. (John Arbash Meinel)
78
* bzrlib.delta.compare_trees now iterates in alphabetically sorted order,
79
rather than randomly walking the inventories. (John Arbash Meinel)
81
* Split ``check`` into separate methods on the branch and on the repository,
82
so that it can be specialized in ways that are useful or efficient for
83
different formats. (Martin Pool, Robert Collins)
85
* Deprecate Repository.all_revision_ids; most methods don't really need
86
the global revision graph but only that part leading up to a particular
87
revision. (Martin Pool, Robert Collins)
89
* Add a BzrDirFormat control_formats list which allows for control formats
90
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
91
(Robert Collins, Jelmer Vernooij).
97
* setup.py failed to install launchpad plugin. (Martin Pool)
103
* Fix failure to commit a merge in a checkout. (Martin Pool,
104
Robert Collins, Erik Bågfors, #43959)
106
* Nicer messages from 'commit' in the case of renames, and correct
107
messages when a merge has occured. (Robert Collins, Martin Pool)
109
* Separate functionality from assert statements as they are skipped in
110
optimized mode of python. Add the same check to pending merges.
111
(#44443, Olaf Conradi)
115
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
117
* Add info on standalone branches without a working tree.
118
(#44155, Olaf Conradi)
120
* Fix bug in knits when raising InvalidRevisionId. (#44284, Olaf Conradi)
124
* Make editor invocation comply with Debian Policy. First check
125
environment variables VISUAL and EDITOR, then try editor from
126
alternatives system. If that all fails, fall back to the pre-defined
127
list of editors. (#42904, Olaf Conradi)
131
* New 'register-branch' command registers a public branch into
132
Launchpad.net, where it can be associated with bugs, etc.
133
(Martin Pool, Bjorn Tillenius, Robert Collins)
137
* New public api in InventoryEntry - 'describe_change(old, new)' which
138
provides a human description of the changes between two old and
139
new. (Robert Collins, Martin Pool)
143
* Fix test case for bzr info in upgrading a standalone branch to metadir,
144
uses bzrlib api now. (Olaf Conradi)
148
NOTES WHEN UPGRADING:
150
Release 0.8 of bzr introduces a new format for history storage, called
151
'knit', as an evolution of to the 'weave' format used in 0.7. Local
152
and remote operations are faster using knits than weaves. Several
153
operations including 'init', 'init-repo', and 'upgrade' take a
154
--format option that controls this. Branching from an existing branch
155
will keep the same format.
157
It is possible to merge, pull and push between branches of different
158
formats but this is slower than moving data between homogenous
159
branches. It is therefore recommended (but not required) that you
160
upgrade all branches for a project at the same time. Information on
161
formats is shown by 'bzr info'.
163
bzr 0.8 now allows creation of 'repositories', which hold the history
164
of files and revisions for several branches. Previously bzr kept all
165
the history for a branch within the .bzr directory at the root of the
166
branch, and this is still the default. To create a repository, use
167
the new 'bzr init-repo' command. Branches exist as directories under
168
the repository and contain just a small amount of information
169
indicating the current revision of the branch.
171
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
172
subversion. Checkouts are associated with a branch (optionally in a
173
repository), which contains all the historical information. The
174
result is that a checkout can be deleted without losing any
175
already-committed revisions. A new 'update' command is also available.
177
Repositories and checkouts are not supported with the 0.7 storage
178
format. To use them you must upgrad to either knits, or to the
179
'metaweave' format, which uses weaves but changes the .bzr directory
185
* Sftp paths can now be relative, or local, according to the lftp
186
convention. Paths now take the form:
187
sftp://user:pass@host:port/~/relative/path
189
sftp://user:pass@host:port/absolute/path
191
* The FTP transport now tries to reconnect after a temporary
192
failure. ftp put is made atomic. (Matthieu Moy)
194
* The FTP transport now maintains a pool of connections, and
195
reuses them to avoid multiple connections to the same host (like
196
sftp did). (Daniel Silverstone)
198
* The bzr_man.py file has been removed. To create the man page now,
199
use ./generate_docs.py man. The new program can also create other files.
200
Run "python generate_docs.py --help" for usage information. (Hans
201
Ulrich Niedermann & James Blackwell).
203
* Man Page now gives full help (James Blackwell). Help also updated to
204
reflect user config now being stored in .bazaar (Hans Ulrich
207
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
209
* Pull now accepts a --revision argument (Erik Bågfors)
211
* 'bzr re-sign' now allows multiple revisions to be supplied on the command
212
line. You can now use the following command to sign all of your old commits.
213
find .bzr/revision-store// -name my@email-* \
214
| sed 's/.*\/\/..\///' \
217
* Upgrade can now upgrade over the network. (Robert Collins)
219
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
220
behaviour. By default they will cache history in the checkout, but
221
with --lightweight almost all data is kept in the master branch.
224
* 'revert' unversions newly-versioned files, instead of deleting them.
226
* 'merge' is more robust. Conflict messages have changed.
228
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
231
* Default log format can be set in configuration and plugins can register
232
their own formatters. (Erik Bågfors)
234
* New 'reconcile' command will check branch consistency and repair indexes
235
that can become out of sync in pre 0.8 formats. (Robert Collins,
238
* New 'bzr init --format' and 'bzr upgrade --format' option to control
239
what storage format is created or produced. (Robert Collins,
242
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
244
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
246
* New 'init-repository' command, plus support for repositories in 'init'
247
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
249
* Improve output of 'info' command. Show all relevant locations related to
250
working tree, branch and repository. Use kibibytes for binary quantities.
251
Fix off-by-one error in missing revisions of working tree. Make 'info'
252
work on branches, repositories and remote locations. Show locations
253
relative to the shared repository, if applicable. Show locking status
254
of locations. (Olaf Conradi)
256
* Diff and merge now safely handle binary files. (Aaron Bentley)
258
* 'pull' and 'push' now normalise the revision history, so that any two
259
branches with the same tip revision will have the same output from 'log'.
262
* 'merge' accepts --remember option to store parent location, like 'push'
263
and 'pull'. (Olaf Conradi)
265
* bzr status and diff when files given as arguments do not exist
266
in the relevant trees. (Martin Pool, #3619)
268
* Add '.hg' to the default ignore list. (Martin Pool)
270
* 'knit' is now the default disk format. This improves disk performance and
271
utilization, increases incremental pull performance, robustness with SFTP
272
and allows checkouts over SFTP to perform acceptably.
273
The initial Knit code was contributed by Johan Rydberg based on a
274
specification by Martin Pool.
275
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
277
* New tool to generate all-in-one html version of the manual. (Alexander
280
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
281
to be left in the SFTP repository. (Robert Collins, Martin Pool).
283
* New option 'diff --prefix' to control how files are named in diff
284
output, with shortcuts '-p0' and '-p1' corresponding to the options for
285
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
287
* Add --revision option to 'annotate' command. (Olaf Conradi)
289
* Add --revision option to 'annotate' command. (Olaf Conradi)
291
* If bzr shows an unexpected revision-history after pulling (perhaps due
292
to a reweave) it can now be corrected by 'bzr reconcile'.
297
* Commit is now verbose by default, and shows changed filenames and the
298
new revision number. (Robert Collins, Martin Pool)
300
* Unify 'mv', 'move', 'rename'. (#5379, Matthew Fuller)
302
* 'bzr -h' shows help. (#35940, Martin Pool, Ian Bicking)
304
* Make 'pull' and 'push' remember location on failure using --remember.
307
* For compatibility, make old format for using weaves inside metadir
308
available as 'metaweave' format. Rename format 'metadir' to 'default'.
309
Clean up help for option --format in commands 'init', 'init-repo' and
310
'upgrade'. (Olaf Conradi)
314
* The internal storage of history, and logical branch identity have now
315
been split into Branch, and Repository. The common locking and file
316
management routines are now in bzrlib.lockablefiles.
317
(Aaron Bentley, Robert Collins, Martin Pool)
319
* Transports can now raise DependencyNotPresent if they need a library
320
which is not installed, and then another implementation will be
323
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
326
* Using Tree Transform for merge, revert, tree-building
328
* WorkingTree.create, Branch.create, WorkingTree.create_standalone,
329
Branch.initialize are now deprecated. Please see BzrDir.create_* for
330
replacement API's. (Robert Collins)
332
* New BzrDir class represents the .bzr control directory and manages
333
formatting issues. (Robert Collins)
335
* New repository.InterRepository class encapsulates Repository to
336
Repository actions and allows for clean selection of optimised code
337
paths. (Robert Collins)
339
* bzrlib.fetch.fetch and bzrlib.fetch.greedy_fetch are now deprecated,
340
please use 'branch.fetch' or 'repository.fetch' depending on your
341
needs. (Robert Collins)
343
* deprecated methods now have a 'is_deprecated' flag on them that can
344
be checked, if you need to determine whether a given callable is
345
deprecated at runtime. (Robert Collins)
347
* Progress bars are now nested - see
348
bzrlib.ui.ui_factory.nested_progress_bar. (Robert Collins, Robey Pointer)
350
* New API call get_format_description() for each type of format.
353
* Changed branch.set_parent() to accept None to remove parent.
356
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
358
* WorkingTree.branch is now a read only property. (Robert Collins)
360
* bzrlib.ui.text.TextUIFactory now accepts a bar_type parameter which
361
can be None or a factory that will create a progress bar. This is
362
useful for testing or for overriding the bzrlib.progress heuristic.
365
* New API method get_physical_lock_status() to query locks present on a
366
transport. (Olaf Conradi)
368
* Repository.reconcile now takes a thorough keyword parameter to allow
369
requesting an indepth reconciliation, rather than just a data-loss
370
check. (Robert Collins)
372
* bzrlib.ui.ui_factory protocol now supports 'get_boolean' to prompt
373
the user for yes/no style input. (Robert Collins)
377
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
378
for testing SFTP protocol support. (Robey Pointer)
380
* Branch formats are now tested once per implementation (see bzrlib.
381
tests.branch_implementations. This is analagous to the transport
382
interface tests, and has been followed up with working tree,
383
repository and BzrDir tests. (Robert Collins)
385
* New test base class TestCaseWithTransport provides a transport aware
386
test environment, useful for testing any transport-interface using
387
code. The test suite option --transport controls the transport used
388
by this class (when its not being used as part of implementation
389
contract testing). (Robert Collins)
391
* Close logging handler on disabling the test log. This will remove the
392
handler from the internal list inside python's logging module,
393
preventing shutdown from closing it twice. (Olaf Conradi)
395
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
397
* run_bzr and run_bzr_captured now accept a 'stdin="foo"' parameter which
398
will provide String("foo") to the command as its stdin.
404
* .bzrignore is excluded from exports, on the grounds that it's a bzr
405
internal-use file and may not be wanted. (Jamie Wilkinson)
407
* The "bzr directories" command were removed in favor of the new
408
--kind option to the "bzr inventory" command. To list all
409
versioned directories, now use "bzr inventory --kind directory".
412
* Under Windows configuration directory is now %APPDATA%\bazaar\2.0
413
by default. (John Arbash Meinel)
415
* The parent of Bzr configuration directory can be set by BZR_HOME
416
environment variable. Now the path for it is searched in BZR_HOME, then
417
in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
418
points to C:\Documents and Settings\User Name\Application Data), HOME.
421
* Plugins with the same name in different directories in the bzr plugin
422
path are no longer loaded: only the first successfully loaded one is
423
used. (Robert Collins)
425
* Use systems' external ssh command to open connections if possible.
426
This gives better integration with user settings such as ProxyCommand.
429
* Permissions on files underneath .bzr/ are inherited from the .bzr
430
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
431
will mean that future file will be created with group write permissions.
433
* configure.in and config.guess are no longer in the builtin default
436
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
437
files. (John Arbash Meinel, Martin Pool)
441
* "bzr INIT dir" now initializes the specified directory, and creates
442
it if it does not exist. (John Arbash Meinel)
444
* New remerge command (Aaron Bentley)
446
* Better zsh completion script. (Steve Borho)
448
* 'bzr diff' now returns 1 when there are changes in the working
449
tree. (Robert Collins)
451
* 'bzr push' now exists and can push changes to a remote location.
452
This uses the transport infrastructure, and can store the remote
453
location in the ~/.bazaar/branches.conf configuration file.
456
* Test directories are only kept if the test fails and the user requests
459
* Tweaks to short log printing
461
* Added branch nicks, new nick command, printing them in log output.
464
* If $BZR_PDB is set, pop into the debugger when an uncaught exception
465
occurs. (Martin Pool)
467
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
468
the same as Subversion. (Martin Pool)
470
* New ftp transport support (on ftplib), for ftp:// and aftp://
471
URLs. (Daniel Silverstone)
473
* Commit editor temporary files now start with 'bzr_log.', to allow
474
text editors to match the file name and set up appropriate modes or
475
settings. (Magnus Therning)
477
* Improved performance when integrating changes from a remote weave.
478
(Goffredo Baroncelli)
480
* Sftp will attempt to cache the connection, so it is more likely that
481
a connection will be reused, rather than requiring multiple password
484
* bzr revno now takes an optional argument indicating the branch whose
485
revno should be printed. (Michael Ellerman)
487
* bzr cat defaults to printing the last version of the file.
488
(#3632, Matthieu Moy)
490
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
491
profiler. (Denys Duchier)
493
* Faster commits by reading only the headers of affected weave files.
496
* 'bzr add' now takes a --dry-run parameter which shows you what would be
497
added, but doesn't actually add anything. (Michael Ellerman)
499
* 'bzr add' now lists how many files were ignored per glob. add --verbose
500
lists the specific files. (Aaron Bentley)
502
* 'bzr missing' now supports displaying changes in diverged trees and can
503
be limited to show what either end of the comparison is missing.
504
(Aaron Bently, with a little prompting from Daniel Silverstone)
508
* SFTP can walk up to the root path without index errors. (Robert Collins)
510
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
512
* Error when run with -OO
514
* Fix bug in reporting http errors that don't have an http error code.
517
* Handle more cases of pipe errors in display commands
519
* Change status to 3 for all errors
521
* Files that are added and unlinked before committing are completely
522
ignored by diff and status
524
* Stores with some compressed texts and some uncompressed texts are now
525
able to be used. (John A Meinel)
527
* Fix for bzr pull failing sometimes under windows
529
* Fix for sftp transport under windows when using interactive auth
531
* Show files which are both renamed and modified as such in 'bzr
532
status' output. (#4503, Daniel Silverstone)
534
* Make annotate cope better with revisions committed without a valid
535
email address. (Marien Zwart)
537
* Fix representation of tab characters in commit messages. (Harald
540
* List of plugin directories in BZR_PLUGIN_PATH environment variable is
541
now parsed properly under Windows. (Alexander Belchenko)
543
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
545
* Keep a cached copy of the basis inventory to speed up operations
546
that need to refer to it. (Johan Rydberg, Martin Pool)
548
* Fix bugs in bzr status display of non-ascii characters. (Martin
551
* Remove Makefile.in from default ignore list. (#6413, Tollef Fog
554
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
558
* Fix selftest asking for passwords when there are no SFTP keys.
559
(Robey Pointer, Jelmer Vernooij)
561
* Fix selftest run with 'python -O'. (Martin Pool)
563
* Fix HTTP tests under Windows. (John Arbash Meinel)
565
* Make tests work even if HOME is not set (Aaron Bentley)
567
* Updated build_tree to use fixed line-endings for tests which read
568
the file cotents and compare. Make some tests use this to pass under
569
Windows. (John Arbash Meinel)
571
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
573
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
576
* Use terminal width to align verbose test output. (Martin Pool)
578
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
579
If adding a new test script please add that to
580
bzrlib.tests.blackbox.__init__. (Robert Collins)
582
* Much better error message if one of the test suites can't be
583
imported. (Martin Pool)
585
* Make check now runs the test suite twice - once with the default locale,
586
and once with all locales forced to C, to expose bugs. This is not
587
trivially done within python, so for now its only triggered by running
588
Make check. Integrators and packagers who wish to check for full
589
platform support should run 'make check' to test the source.
592
* Tests can now run TestSkipped if they can't execute for any reason.
593
(Martin Pool) (NB: TestSkipped should only be raised for correctable
594
reasons - see the wiki spec ImprovingBzrTestSuite).
596
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
597
paths for the transport tests. Introduce blackbox remote sftp tests that
598
test the same permutations. (Robert Collins, Robey Pointer)
600
* Transport implementation tests are now independent of the local file
601
system, which allows tests for esoteric transports, and for features
602
not available in the local file system. They also repeat for variations
603
on the URL scheme that can introduce issues in the transport code,
604
see bzrlib.transport.TransportTestProviderAdapter() for this.
607
* TestCase.build_tree uses the transport interface to build trees, pass
608
in a transport parameter to give it an existing connection.
613
* WorkingTree.pull has been split across Branch and WorkingTree,
614
to allow Branch only pulls. (Robert Collins)
616
* commands.display_command now returns the result of the decorated
617
function. (Robert Collins)
619
* LocationConfig now has a set_user_option(key, value) call to save
620
a setting in its matching location section (a new one is created
621
if needed). (Robert Collins)
623
* Branch has two new methods, get_push_location and set_push_location
624
to respectively, get and set the push location. (Robert Collins)
626
* commands.register_command now takes an optional flag to signal that
627
the registrant is planning to decorate an existing command. When
628
given multiple plugins registering a command is not an error, and
629
the original command class (whether built in or a plugin based one) is
630
returned to the caller. There is a new error 'MustUseDecorated' for
631
signalling when a wrapping command should switch to the original
632
version. (Robert Collins)
634
* Some option parsing errors will raise 'BzrOptionError', allowing
635
granular detection for decorating commands. (Robert Collins).
637
* Branch.read_working_inventory has moved to
638
WorkingTree.read_working_inventory. This necessitated changes to
639
Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
640
as well. To make it clear that a WorkingTree cannot always be obtained
641
Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
642
be obtained. (Robert Collins)
644
* All pending merges operations from Branch are now on WorkingTree.
647
* The follow operations from Branch have moved to WorkingTree:
655
* bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
657
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
659
* Rename selftests to `bzrlib.tests.test_foo`. (John A Meinel, Martin
662
* bzrlib.plugin.all_plugins has been changed from an attribute to a
663
query method. (Robert Collins)
665
* New options to read only the table-of-contents of a weave.
668
* Raise NoSuchFile when someone tries to add a non-existant file.
671
* Simplify handling of DivergedBranches in cmd_pull().
675
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
676
is exposed as Branch().control_files. Also this has been altered with the
677
controlfile pre/suffix replaced by simple method names like 'get' and
678
'put'. (Aaron Bentley, Robert Collins).
680
* Deprecated functions and methods can now be marked as such using the
681
bzrlib.symbol_versioning module. Marked method have their docstring
682
updated and will issue a DeprecationWarning using the warnings module
683
when they are used. (Robert Collins)
685
* bzrlib.osutils.safe_unicode now exists to provide parameter coercion
686
for functions that need unicode strings. (Robert Collins)
692
* pull now takes --verbose to show you what revisions are added or removed
695
* merge now takes a --show-base option to include the base text in
699
* The config files are now read using ConfigObj, so '=' should be used as
700
a separator, not ':'.
703
* New 'bzr commit --strict' option refuses to commit if there are
704
any unknown files in the tree. To commit, make sure all files are
705
either ignored, added, or deleted. (Michael Ellerman)
707
* The config directory is now ~/.bazaar, and there is a single file
708
~/.bazaar/bazaar.conf storing email, editor and other preferences.
711
* 'bzr add' no longer takes a --verbose option, and a --quiet option
712
has been added that suppresses all output.
714
* Improved zsh completion support in contrib/zsh, from Clint
717
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
720
* 'bzr check' now accepts -v for verbose reporting, and checks for
721
ghosts in the branch. (Robert Collins)
723
* New command 're-sign' which will regenerate the gpg signature for
724
a revision. (Robert Collins)
726
* If you set check_signatures=require for a path in
727
~/.bazaar/branches.conf then bzr will invoke your
728
gpg_signing_command (defaults to gpg) and record a digital signature
729
of your commit. (Robert Collins)
731
* New sftp transport, based on Paramiko. (Robey Pointer)
733
* 'bzr pull' now accepts '--clobber' which will discard local changes
734
and make this branch identical to the source branch. (Robert Collins)
736
* Just give a quieter warning if a plugin can't be loaded, and
737
put the details in .bzr.log. (Martin Pool)
739
* 'bzr branch' will now set the branch-name to the last component of the
740
output directory, if one was supplied.
742
* If the option 'post_commit' is set to one (or more) python function
743
names (must be in the bzrlib namespace), then they will be invoked
744
after the commit has completed, with the branch and revision_id as
745
parameters. (Robert Collins)
747
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
749
* --merge-type weave is now supported for file contents. Tree-shape
750
changes are still three-way based. (Martin Pool, Aaron Bentley)
752
* 'bzr check' allows the first revision on revision-history to have
753
parents - something that is expected for cheap checkouts, and occurs
754
when conversions from baz do not have all history. (Robert Collins).
756
* 'bzr merge' can now graft unrelated trees together, if your specify
757
0 as a base. (Aaron Bentley)
759
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
762
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
764
* 'bzr merge --reprocess' minimizes conflicts
768
* The 'bzr selftest --pattern' option for has been removed, now
769
test specifiers on the command line can be simple strings, or
770
regexps, or both. (Robert Collins)
772
* Passing -v to selftest will now show the time each test took to
773
complete, which will aid in analysing performance regressions and
774
related questions. (Robert Collins)
776
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
777
is given. (Martin Pool)
779
* There is a new method for TestCaseInTempDir, assertFileEqual, which
780
will check that a given content is equal to the content of the named
781
file. (Robert Collins)
783
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
788
* New 'testament' command and concept for making gpg-signatures
789
of revisions that are not tied to a particular internal
790
representation. (Martin Pool).
792
* Per-revision properties ('revprops') as key-value associated
793
strings on each revision created when the revision is committed.
794
Intended mainly for the use of external tools. (Martin Pool).
796
* Config options have moved from bzrlib.osutils to bzrlib.config.
799
* Improved command line option definitions allowing explanations
800
for individual options, among other things. Contributed by
803
* Config options have moved from bzrlib.osutils to bzrlib.config.
804
Configuration is now done via the config.Config interface:
805
Depending on whether you have a Branch, a Location or no information
806
available, construct a *Config, and use its signature_checking,
807
username and user_email methods. (Robert Collins)
809
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
810
they are made available for other plugins to use. You should not
811
import other plugins during the __init__ of your plugin though, as
812
no ordering is guaranteed, and the plugins directory is not on the
813
python path. (Robert Collins)
815
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
816
no longer takes an inventory, rather it takes an option branch
817
parameter, and if None is given will open the branch at basedir
818
implicitly. (Robert Collins)
820
* Cleaner exception structure and error reporting. Suggested by
821
Scott James Remnant. (Martin Pool)
823
* Branch.remove has been moved to WorkingTree, which has also gained
824
lock_read, lock_write and unlock methods for convenience. (Robert
827
* Two decorators, needs_read_lock and needs_write_lock have been added
828
to the branch module. Use these to cause a function to run in a
829
read or write lock respectively. (Robert Collins)
831
* Branch.open_containing now returns a tuple (Branch, relative-path),
832
which allows direct access to the common case of 'get me this file
833
from its branch'. (Robert Collins)
835
* Transports can register using register_lazy_transport, and they
836
will be loaded when first used. (Martin Pool)
838
* 'pull' has been factored out of the command as WorkingTree.pull().
839
A new option to WorkingTree.pull has been added, clobber, which will
840
ignore diverged history and pull anyway.
843
* config.Config has a 'get_user_option' call that accepts an option name.
844
This will be looked up in branches.conf and bazaar.conf as normal.
845
It is intended that this be used by plugins to support options -
846
options of built in programs should have specific methods on the config.
849
* merge.merge_inner now has tempdir as an optional parameter. (Robert
852
* Tree.kind is not recorded at the top level of the hierarchy, as it was
853
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
856
* WorkingTree.__del__ has been removed, it was non deterministic and not
857
doing what it was intended to. See WorkingTree.__init__ for a comment
858
about future directions. (Robert Collins/Martin Pool)
860
* bzrlib.transport.http has been modified so that only 404 urllib errors
861
are returned as NoSuchFile. Other exceptions will propogate as normal.
862
This allows debuging of actual errors. (Robert Collins)
864
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
865
to apis like 'put', 'get' and 'has'. This is to provide consistent
866
behaviour - it operates on url's only. (Robert Collins)
868
* Transports can register using register_lazy_transport, and they
869
will be loaded when first used. (Martin Pool)
871
* 'merge_flex' no longer calls conflict_handler.finalize(), instead that
872
is called by merge_inner. This is so that the conflict count can be
873
retrieved (and potentially manipulated) before returning to the caller
874
of merge_inner. Likewise 'merge' now returns the conflict count to the
875
caller. (Robert Collins)
877
* 'revision.revision_graph can handle having only partial history for
878
a revision - that is no revisions in the graph with no parents.
881
* New builtins.branch_files uses the standard file_list rules to produce
882
a branch and a list of paths, relative to that branch (Aaron Bentley)
884
* New TestCase.addCleanup facility.
886
* New bzrlib.version_info tuple (similar to sys.version_info), which can
887
be used by programs importing bzrlib.
891
* Better handling of branches in directories with non-ascii names.
892
(Joel Rosdahl, Panagiotis Papadakos)
894
* Upgrades of trees with no commits will not fail due to accessing
895
[-1] in the revision-history. (Andres Salomon)
902
* Fix problem in pulling over http from machines that do not
903
allow directories to be listed.
905
* Avoid harmless warning about invalid hash cache after
906
upgrading branch format.
910
* Avoid some unnecessary http operations in branch and pull.
917
* 'bzr branch' over http initially gives a very high estimate
918
of completion time but it should fall as the first few
919
revisions are pulled in. branch is still slow on
920
high-latency connections.
924
* bzr-man.py has been updated to work again. Contributed by
927
* Locking is now done with fcntl.lockf which works with NFS
928
file systems. Contributed by Harald Meland.
930
* When a merge encounters a file that has been deleted on
931
one side and modified on the other, the old contents are
932
written out to foo.BASE and foo.SIDE, where SIDE is this
933
or OTHER. Contributed by Aaron Bentley.
935
* Export was choosing incorrect file paths for the content of
936
the tarball, this has been fixed by Aaron Bentley.
938
* Commit will no longer commit without a log message, an
939
error is returned instead. Contributed by Jelmer Vernooij.
941
* If you commit a specific file in a sub directory, any of its
942
parent directories that are added but not listed will be
943
automatically included. Suggested by Michael Ellerman.
945
* bzr commit and upgrade did not correctly record new revisions
946
for files with only a change to their executable status.
947
bzr will correct this when it encounters it. Fixed by
950
* HTTP tests now force off the use of http_proxy for the duration.
951
Contributed by Gustavo Niemeyer.
953
* Fix problems in merging weave-based branches that have
954
different partial views of history.
956
* Symlink support: working with symlinks when not in the root of a
957
bzr tree was broken, patch from Scott James Remnant.
962
* 'branch' now accepts a --basis parameter which will take advantage
963
of local history when making a new branch. This allows faster
964
branching of remote branches. Contributed by Aaron Bentley.
966
* New tree format based on weave files, called version 5.
967
Existing branches can be upgraded to this format using
970
* Symlinks are now versionable. Initial patch by
971
Erik Toubro Nielsen, updated to head by Robert Collins.
973
* Executable bits are tracked on files. Patch from Gustavo
976
* 'bzr status' now shows unknown files inside a selected directory.
977
Patch from Heikki Paajanen.
979
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
980
and 'resolve' have needed added, which list and remove those
981
merge conflicts respectively. A conflicted tree cannot be committed
982
in. Contributed by Aaron Bentley.
984
* 'rm' is now an alias for 'remove'.
986
* Stores now split out their content in a single byte prefixed hash,
987
dropping the density of files per directory by 256. Contributed by
990
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
991
Contributed by Robert Collins.
993
* 'bzr log' with the default formatter will show merged revisions,
994
indented to the right. Initial implementation contributed by Gustavo
995
Niemeyer, made incremental by Robert Collins.
1000
* Test case failures have the exception printed after the log
1001
for your viewing pleasure.
1003
* InventoryEntry is now an abstract base class, use one of the
1004
concrete InventoryDirectory etc classes instead.
1006
* Branch raises an UnsupportedFormatError when it detects a
1007
bzr branch it cannot understand. This allows for precise
1008
handling of such circumstances.
1013
* Removed testsweet module so that tests can be run after
1014
bzr installed by 'bzr selftest'.
1016
* 'bzr selftest' command-line arguments can now be partial ids
1017
of tests to run, e.g. 'bzr selftest test_weave'
1020
bzr 0.0.9 2005-09-23
1024
* Fixed "branch -r" option.
1026
* Fix remote access to branches containing non-compressed history.
1029
* Better reliability of http server tests. (John Arbash-Meinel)
1031
* Merge graph maximum distance calculation fix. (Aaron Bentley)
1033
* Various minor bug in windows support have been fixed, largely in the
1034
test suite. Contributed by Alexander Belchenko.
1038
* Status now accepts a -r argument to give status between chosen
1039
revisions. Contributed by Heikki Paajanen.
1041
* Revision arguments no longer use +/-/= to control ranges, instead
1042
there is a 'before' namespace, which limits the successive namespace.
1043
For example '$ bzr log -r date:yesterday..before:date:today' will
1044
select everything from yesterday and before today. Contributed by
1047
* There is now a bzr.bat file created by distutils when building on
1048
Windows. Contributed by Alexander Belchenko.
1052
* Removed uuid() as it was unused.
1054
* Improved 'fetch' code for pulling revisions from one branch into
1055
another (used by pull, merged, etc.)
1058
bzr 0.0.8 2005-09-20
1062
* Adding a file whose parent directory is not versioned will
1063
implicitly add the parent, and so on up to the root. This means
1064
you should never need to explictly add a directory, they'll just
1065
get added when you add a file in the directory. Contributed by
1068
* Ignore .DS_Store (contains Mac metadata) by default. Patch from
1071
* If you set BZR_EDITOR in the environment, it is checked in
1072
preference to EDITOR and the config file for the interactive commit
1073
editing program. Related to this is a bugfix where a missing program
1074
set in EDITOR would cause editing to fail, now the fallback program
1075
for the operating system is still tried.
1077
* Files that are not directories/symlinks/regular files will no longer
1078
cause bzr to fail, it will just ignore them by default. You cannot add
1079
them to the tree though - they are not versionable.
1084
* Refactor xml packing/unpacking.
1088
* Fixed 'bzr mv' by Ollie Rutherfurd.
1090
* Fixed strange error when trying to access a nonexistent http
1093
* Make sure that the hashcache gets written out if it can't be
1099
* Various Windows fixes from Ollie Rutherfurd.
1101
* Quieten warnings about locking; patch from Matt Lavin.
1104
bzr-0.0.7 2005-09-02
1108
* ``bzr shell-complete`` command contributed by Clint Adams to
1109
help with intelligent shell completion.
1111
* New expert command ``bzr find-merge-base`` for debugging merges.
1116
* Much better merge support.
1118
* merge3 conflicts are now reported with markers like '<<<<<<<'
1119
(seven characters) which is the same as CVS and pleases things
1125
* ``bzr upgrade`` no longer fails when trying to fix trees that
1126
mention revisions that are not present.
1128
* Fixed bugs in listing plugins from ``bzr plugins``.
1130
* Fix case of $EDITOR containing options for the editor.
1132
* Fix log -r refusing to show the last revision.
1133
(Patch from Goffredo Baroncelli.)
1138
* ``bzr log --show-ids`` shows the revision ids of all parents.
1140
* Externally provided commands on your $BZRPATH no longer need
1141
to recognize --bzr-usage to work properly, and can just handle
1147
* Changed trace messages to go through the standard logging
1148
framework, so that they can more easily be redirected by
1153
bzr-0.0.6 2005-08-18
1157
* Python plugins, automatically loaded from the directories on
1158
BZR_PLUGIN_PATH or ~/.bzr.conf/plugins by default.
1160
* New 'bzr mkdir' command.
1162
* Commit mesage is fetched from an editor if not given on the
1163
command line; patch from Torsten Marek.
1165
* ``bzr log -m FOO`` displays commits whose message matches regexp
1168
* ``bzr add`` with no arguments adds everything under the current directory.
1170
* ``bzr mv`` does move or rename depending on its arguments, like
1173
* ``bzr missing`` command shows a summary of the differences
1174
between two trees. (Merged from John Arbash-Meinel.)
1176
* An email address for commits to a particular tree can be
1177
specified by putting it into .bzr/email within a branch. (Based
1178
on a patch from Heikki Paajanen.)
1183
* Faster working tree operations.
1188
* 3rd-party modules shipped with bzr are copied within the bzrlib
1189
python package, so that they can be installed by the setup
1190
script without clashing with anything already existing on the
1191
system. (Contributed by Gustavo Niemeyer.)
1193
* Moved plugins directory to bzrlib/, so that there's a standard
1194
plugin directory which is not only installed with bzr itself but
1195
is also available when using bzr from the development tree.
1196
BZR_PLUGIN_PATH and DEFAULT_PLUGIN_PATH are then added to the
1197
standard plugins directory.
1199
* When exporting to a tarball with ``bzr export --format tgz``, put
1200
everything under a top directory rather than dumping it into the
1201
current directory. This can be overridden with the ``--root``
1202
option. Patch from William Dodé and John Meinel.
1204
* New ``bzr upgrade`` command to upgrade the format of a branch,
1205
replacing ``bzr check --update``.
1207
* Files within store directories are no longer marked readonly on
1210
* Changed ``bzr log`` output to a more compact form suggested by
1211
John A Meinel. Old format is available with the ``--long`` or
1212
``-l`` option, patched by William Dodé.
1214
* By default the commit command refuses to record a revision with
1215
no changes unless the ``--unchanged`` option is given.
1217
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
1218
line options must come before the command name because they
1219
affect what commands are available; all other options must come
1220
after the command name because their interpretation depends on
1223
* ``branch`` and ``clone`` added as aliases for ``branch``.
1225
* Default log format is back to the long format; the compact one
1226
is available with ``--short``.
1231
* Fix bugs in committing only selected files or within a subdirectory.
1234
bzr-0.0.5 2005-06-15
1238
* ``bzr`` with no command now shows help rather than giving an
1239
error. Suggested by Michael Ellerman.
1241
* ``bzr status`` output format changed, because svn-style output
1242
doesn't really match the model of bzr. Now files are grouped by
1243
status and can be shown with their IDs. ``bzr status --all``
1244
shows all versioned files and unknown files but not ignored files.
1246
* ``bzr log`` runs from most-recent to least-recent, the reverse
1247
of the previous order. The previous behaviour can be obtained
1248
with the ``--forward`` option.
1250
* ``bzr inventory`` by default shows only filenames, and also ids
1251
if ``--show-ids`` is given, in which case the id is the second
1257
* New 'bzr whoami --email' option shows only the email component
1258
of the user identification, from Jo Vermeulen.
1260
* New ``bzr ignore PATTERN`` command.
1262
* Nicer error message for broken pipe, interrupt and similar
1263
conditions that don't indicate an internal error.
1265
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
1267
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
1268
either read or write mode.
1270
* New option ``bzr log --show-ids`` shows revision and file ids.
1272
* New usage ``bzr log FILENAME`` shows only revisions that
1275
* Changed format for describing changes in ``bzr log -v``.
1277
* New option ``bzr commit --file`` to take a message from a file,
1278
suggested by LarstiQ.
1280
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
1281
Oler. File may be in a branch other than the working directory.
1283
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
1286
* Commands can now be defined by external programs or scripts
1287
in a directory on $BZRPATH.
1289
* New "stat cache" avoids reading the contents of files if they
1290
haven't changed since the previous time.
1292
* If the Python interpreter is too old, try to find a better one
1293
or give an error. Based on a patch from Fredrik Lundh.
1295
* New optional parameter ``bzr info [BRANCH]``.
1297
* New form ``bzr commit SELECTED`` to commit only selected files.
1299
* New form ``bzr log -r FROM:TO`` shows changes in selected
1300
range; contributed by John A Meinel.
1302
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
1303
options through to an external GNU diff.
1305
* New option ``bzr add --no-recurse`` to add a directory but not
1308
* ``bzr --version`` now shows more information if bzr is being run
1314
* Fixed diff format so that added and removed files will be
1315
handled properly by patch. Fix from Lalo Martins.
1317
* Various fixes for files whose names contain spaces or other
1323
* Converted black-box test suites from Bourne shell into Python;
1324
now run using ``./testbzr``. Various structural improvements to
1327
* testbzr by default runs the version of bzr found in the same
1328
directory as the tests, or the one given as the first parameter.
1330
* testbzr also runs the internal tests, so the only command
1331
required to check is just ``./testbzr``.
1333
* testbzr requires python2.4, but can be used to test bzr running
1334
under a different version.
1336
* Tests added for many other changes in this release.
1341
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
1343
* Refactor command functions into Command objects based on HCT by
1344
Scott James Remnant.
1346
* Better help messages for many commands.
1348
* Expose bzrlib.open_tracefile() to start the tracefile; until
1349
this is called trace messages are just discarded.
1351
* New internal function find_touching_revisions() and hidden
1352
command touching-revisions trace the changes to a given file.
1354
* Simpler and faster compare_inventories() function.
1356
* bzrlib.open_tracefile() takes a tracefilename parameter.
1358
* New AtomicFile class.
1360
* New developer commands ``added``, ``modified``.
1365
* Cope on Windows on python2.3 by using the weaker random seed.
1366
2.4 is now only recommended.
1369
bzr-0.0.4 2005-04-22
1373
* 'bzr diff' optionally takes a list of files to diff. Still a bit
1374
basic. Patch from QuantumG.
1376
* More default ignore patterns.
1378
* New 'bzr log --verbose' shows a list of files changed in the
1379
changeset. Patch from Sebastian Cote.
1381
* Roll over ~/.bzr.log if it gets too large.
1383
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
1386
* New 'bzr help commands' based on a patch from Denys Duchier.
1391
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
1392
or $EMAIL. All are decoded by the locale preferred encoding.
1393
If none of these are present user@hostname is used. The host's
1394
fully-qualified name is not used because that tends to fail when
1395
there are DNS problems.
1397
* New 'bzr whoami' command instead of username user-email.
1402
* Make commit safe for hardlinked bzr trees.
1404
* Some Unicode/locale fixes.
1406
* Partial workaround for difflib.unified_diff not handling
1407
trailing newlines properly.
1412
* Allow docstrings for help to be in PEP0257 format. Patch from
1415
* More tests in test.sh.
1417
* Write profile data to a temporary file not into working
1418
directory and delete it when done.
1420
* Smaller .bzr.log with process ids.
1425
* Fix opening of ~/.bzr.log on Windows. Patch from Andrew
1428
* Some improvements in handling paths on Windows, based on a patch
1432
bzr-0.0.3 2005-04-06
1436
* New "directories" internal command lists versioned directories
1439
* Can now say "bzr commit --help".
1441
* New "rename" command to rename one file to a different name
1444
* New "move" command to move one or more files into a different
1447
* New "renames" command lists files renamed since base revision.
1449
* New cat command contributed by janmar.
1453
* .bzr.log is placed in $HOME (not pwd) and is always written in
1454
UTF-8. (Probably not a completely good long-term solution, but
1459
* Workaround for difflib bug in Python 2.3 that causes an
1460
exception when comparing empty files. Reported by Erik Toubro
1465
* Refactored inventory storage to insert a root entry at the top.
1469
* Start of shell-based black-box testing in test.sh.
1476
* Win32 fixes from Steve Brown.
1479
bzr-0.0.2 "black cube" 2005-03-31
1483
* Default ignore list extended (see bzrlib/__init__.py).
1485
* Patterns in .bzrignore are now added to the default ignore list,
1486
rather than replacing it.
1488
* Ignore list isn't reread for every file.
1492
* Reinstate the 'bzr check' command to check invariants of the
1495
* New 'ignored' command lists which files are ignored and why;
1496
'deleted' lists files deleted in the current working tree.
1498
* Performance improvements.
1500
* New global --profile option.
1502
* Ignore patterns like './config.h' now correctly match files in
1503
the root directory only.
1506
bzr-0.0.1 2005-03-26
1510
* More information from info command.
1512
* Can now say "bzr help COMMAND" for more detailed help.
1514
* Less file flushing and faster performance when writing logs and
1515
committing to stores.
1517
* More useful verbose output from some commands.
1521
* Fix inverted display of 'R' and 'M' during 'commit -v'.
1525
* Include a subset of ElementTree-1.2.20040618 to make
1526
installation easier.
1528
* Fix time.localtime call to work with Python 2.3 (the minimum
1532
bzr-0.0.0.69 2005-03-22
1536
* First public release.
1538
* Storage of local versions: init, add, remove, rm, info, log,