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
* 'bzr status' has had the --all option removed. The 'bzr ls' command
56
should be used to retrieve all versioned files. (Robert Collins)
58
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
59
over email, and applied on the other end, while maintaining ancestry.
60
This bundle can be applied with either 'bzr merge' or 'bzr pull',
61
the same way you would apply another branch.
62
(John Arbash Meinel, Aaron Bentley)
64
* 'branches.conf' has been changed to 'locations.conf', since it can apply
65
to more locations than just branch locations.
68
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
71
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
76
* Fix shadowed definition of TestLocationConfig that caused some
77
tests not to run. (#32587, Erik Bågfors, Michael Ellerman,
80
* Fix unnecessary requirement of sign-my-commits that it be run from
81
a working directory. (Martin Pool, Robert Collins)
83
* 'bzr push location' will only remember the push location if it succeeds
84
in connecting to the remote location. (#49742, John Arbash Meinel)
86
* 'bzr revert' no longer toggles the executable bit on win32
87
(#45010, John Arbash Meinel)
89
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
91
* sftp tests now work correctly on win32 if you have a newer paramiko
96
* Combine the ignore rules into a single regex rather than looping over
97
them to reduce the threshold where N^2 behaviour occurs in operations
98
like status. (Jan Hudec, Robert Collins).
100
* 'bzr push' should only push the ancestry of the current revision, not
101
all of the history in the repository. This is especially important for
102
shared repositories. (John Arbash Meinel)
104
* bzrlib.delta.compare_trees now iterates in alphabetically sorted order,
105
rather than randomly walking the inventories. (John Arbash Meinel)
107
* Doctests are now run in temporary directories which are cleaned up when
108
they finish, rather than using special ScratchDir/ScratchBranch objects.
111
* Split ``check`` into separate methods on the branch and on the repository,
112
so that it can be specialized in ways that are useful or efficient for
113
different formats. (Martin Pool, Robert Collins)
115
* Deprecate Repository.all_revision_ids; most methods don't really need
116
the global revision graph but only that part leading up to a particular
117
revision. (Martin Pool, Robert Collins)
119
* Add a BzrDirFormat control_formats list which allows for control formats
120
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
121
(Robert Collins, Jelmer Vernooij).
123
* bzrlib.diff.external_diff can be redirected to any file-like object.
124
Uses subprocess instead of spawnvp.
125
(#4047, #48914, James Henstridge, John Arbash Meinel)
127
* New command line option '--profile-imports', which will install a custom
128
importer to log time to import modules and regex compilation time to
129
sys.stderr (John Arbash Meinel)
135
* setup.py failed to install launchpad plugin. (Martin Pool)
141
* Fix failure to commit a merge in a checkout. (Martin Pool,
142
Robert Collins, Erik Bågfors, #43959)
144
* Nicer messages from 'commit' in the case of renames, and correct
145
messages when a merge has occured. (Robert Collins, Martin Pool)
147
* Separate functionality from assert statements as they are skipped in
148
optimized mode of python. Add the same check to pending merges.
149
(#44443, Olaf Conradi)
153
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
155
* Add info on standalone branches without a working tree.
156
(#44155, Olaf Conradi)
158
* Fix bug in knits when raising InvalidRevisionId. (#44284, Olaf Conradi)
162
* Make editor invocation comply with Debian Policy. First check
163
environment variables VISUAL and EDITOR, then try editor from
164
alternatives system. If that all fails, fall back to the pre-defined
165
list of editors. (#42904, Olaf Conradi)
169
* New 'register-branch' command registers a public branch into
170
Launchpad.net, where it can be associated with bugs, etc.
171
(Martin Pool, Bjorn Tillenius, Robert Collins)
175
* New public api in InventoryEntry - 'describe_change(old, new)' which
176
provides a human description of the changes between two old and
177
new. (Robert Collins, Martin Pool)
181
* Fix test case for bzr info in upgrading a standalone branch to metadir,
182
uses bzrlib api now. (Olaf Conradi)
186
NOTES WHEN UPGRADING:
188
Release 0.8 of bzr introduces a new format for history storage, called
189
'knit', as an evolution of to the 'weave' format used in 0.7. Local
190
and remote operations are faster using knits than weaves. Several
191
operations including 'init', 'init-repo', and 'upgrade' take a
192
--format option that controls this. Branching from an existing branch
193
will keep the same format.
195
It is possible to merge, pull and push between branches of different
196
formats but this is slower than moving data between homogenous
197
branches. It is therefore recommended (but not required) that you
198
upgrade all branches for a project at the same time. Information on
199
formats is shown by 'bzr info'.
201
bzr 0.8 now allows creation of 'repositories', which hold the history
202
of files and revisions for several branches. Previously bzr kept all
203
the history for a branch within the .bzr directory at the root of the
204
branch, and this is still the default. To create a repository, use
205
the new 'bzr init-repo' command. Branches exist as directories under
206
the repository and contain just a small amount of information
207
indicating the current revision of the branch.
209
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
210
subversion. Checkouts are associated with a branch (optionally in a
211
repository), which contains all the historical information. The
212
result is that a checkout can be deleted without losing any
213
already-committed revisions. A new 'update' command is also available.
215
Repositories and checkouts are not supported with the 0.7 storage
216
format. To use them you must upgrad to either knits, or to the
217
'metaweave' format, which uses weaves but changes the .bzr directory
223
* Sftp paths can now be relative, or local, according to the lftp
224
convention. Paths now take the form:
225
sftp://user:pass@host:port/~/relative/path
227
sftp://user:pass@host:port/absolute/path
229
* The FTP transport now tries to reconnect after a temporary
230
failure. ftp put is made atomic. (Matthieu Moy)
232
* The FTP transport now maintains a pool of connections, and
233
reuses them to avoid multiple connections to the same host (like
234
sftp did). (Daniel Silverstone)
236
* The bzr_man.py file has been removed. To create the man page now,
237
use ./generate_docs.py man. The new program can also create other files.
238
Run "python generate_docs.py --help" for usage information. (Hans
239
Ulrich Niedermann & James Blackwell).
241
* Man Page now gives full help (James Blackwell). Help also updated to
242
reflect user config now being stored in .bazaar (Hans Ulrich
245
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
247
* Pull now accepts a --revision argument (Erik Bågfors)
249
* 'bzr re-sign' now allows multiple revisions to be supplied on the command
250
line. You can now use the following command to sign all of your old commits.
251
find .bzr/revision-store// -name my@email-* \
252
| sed 's/.*\/\/..\///' \
255
* Upgrade can now upgrade over the network. (Robert Collins)
257
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
258
behaviour. By default they will cache history in the checkout, but
259
with --lightweight almost all data is kept in the master branch.
262
* 'revert' unversions newly-versioned files, instead of deleting them.
264
* 'merge' is more robust. Conflict messages have changed.
266
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
269
* Default log format can be set in configuration and plugins can register
270
their own formatters. (Erik Bågfors)
272
* New 'reconcile' command will check branch consistency and repair indexes
273
that can become out of sync in pre 0.8 formats. (Robert Collins,
276
* New 'bzr init --format' and 'bzr upgrade --format' option to control
277
what storage format is created or produced. (Robert Collins,
280
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
282
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
284
* New 'init-repository' command, plus support for repositories in 'init'
285
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
287
* Improve output of 'info' command. Show all relevant locations related to
288
working tree, branch and repository. Use kibibytes for binary quantities.
289
Fix off-by-one error in missing revisions of working tree. Make 'info'
290
work on branches, repositories and remote locations. Show locations
291
relative to the shared repository, if applicable. Show locking status
292
of locations. (Olaf Conradi)
294
* Diff and merge now safely handle binary files. (Aaron Bentley)
296
* 'pull' and 'push' now normalise the revision history, so that any two
297
branches with the same tip revision will have the same output from 'log'.
300
* 'merge' accepts --remember option to store parent location, like 'push'
301
and 'pull'. (Olaf Conradi)
303
* bzr status and diff when files given as arguments do not exist
304
in the relevant trees. (Martin Pool, #3619)
306
* Add '.hg' to the default ignore list. (Martin Pool)
308
* 'knit' is now the default disk format. This improves disk performance and
309
utilization, increases incremental pull performance, robustness with SFTP
310
and allows checkouts over SFTP to perform acceptably.
311
The initial Knit code was contributed by Johan Rydberg based on a
312
specification by Martin Pool.
313
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
315
* New tool to generate all-in-one html version of the manual. (Alexander
318
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
319
to be left in the SFTP repository. (Robert Collins, Martin Pool).
321
* New option 'diff --prefix' to control how files are named in diff
322
output, with shortcuts '-p0' and '-p1' corresponding to the options for
323
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
325
* Add --revision option to 'annotate' command. (Olaf Conradi)
327
* If bzr shows an unexpected revision-history after pulling (perhaps due
328
to a reweave) it can now be corrected by 'bzr reconcile'.
333
* Commit is now verbose by default, and shows changed filenames and the
334
new revision number. (Robert Collins, Martin Pool)
336
* Unify 'mv', 'move', 'rename'. (#5379, Matthew Fuller)
338
* 'bzr -h' shows help. (#35940, Martin Pool, Ian Bicking)
340
* Make 'pull' and 'push' remember location on failure using --remember.
343
* For compatibility, make old format for using weaves inside metadir
344
available as 'metaweave' format. Rename format 'metadir' to 'default'.
345
Clean up help for option --format in commands 'init', 'init-repo' and
346
'upgrade'. (Olaf Conradi)
350
* The internal storage of history, and logical branch identity have now
351
been split into Branch, and Repository. The common locking and file
352
management routines are now in bzrlib.lockablefiles.
353
(Aaron Bentley, Robert Collins, Martin Pool)
355
* Transports can now raise DependencyNotPresent if they need a library
356
which is not installed, and then another implementation will be
359
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
362
* Using Tree Transform for merge, revert, tree-building
364
* WorkingTree.create, Branch.create, WorkingTree.create_standalone,
365
Branch.initialize are now deprecated. Please see BzrDir.create_* for
366
replacement API's. (Robert Collins)
368
* New BzrDir class represents the .bzr control directory and manages
369
formatting issues. (Robert Collins)
371
* New repository.InterRepository class encapsulates Repository to
372
Repository actions and allows for clean selection of optimised code
373
paths. (Robert Collins)
375
* bzrlib.fetch.fetch and bzrlib.fetch.greedy_fetch are now deprecated,
376
please use 'branch.fetch' or 'repository.fetch' depending on your
377
needs. (Robert Collins)
379
* deprecated methods now have a 'is_deprecated' flag on them that can
380
be checked, if you need to determine whether a given callable is
381
deprecated at runtime. (Robert Collins)
383
* Progress bars are now nested - see
384
bzrlib.ui.ui_factory.nested_progress_bar. (Robert Collins, Robey Pointer)
386
* New API call get_format_description() for each type of format.
389
* Changed branch.set_parent() to accept None to remove parent.
392
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
394
* WorkingTree.branch is now a read only property. (Robert Collins)
396
* bzrlib.ui.text.TextUIFactory now accepts a bar_type parameter which
397
can be None or a factory that will create a progress bar. This is
398
useful for testing or for overriding the bzrlib.progress heuristic.
401
* New API method get_physical_lock_status() to query locks present on a
402
transport. (Olaf Conradi)
404
* Repository.reconcile now takes a thorough keyword parameter to allow
405
requesting an indepth reconciliation, rather than just a data-loss
406
check. (Robert Collins)
408
* bzrlib.ui.ui_factory protocol now supports 'get_boolean' to prompt
409
the user for yes/no style input. (Robert Collins)
413
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
414
for testing SFTP protocol support. (Robey Pointer)
416
* Branch formats are now tested once per implementation (see bzrlib.
417
tests.branch_implementations. This is analagous to the transport
418
interface tests, and has been followed up with working tree,
419
repository and BzrDir tests. (Robert Collins)
421
* New test base class TestCaseWithTransport provides a transport aware
422
test environment, useful for testing any transport-interface using
423
code. The test suite option --transport controls the transport used
424
by this class (when its not being used as part of implementation
425
contract testing). (Robert Collins)
427
* Close logging handler on disabling the test log. This will remove the
428
handler from the internal list inside python's logging module,
429
preventing shutdown from closing it twice. (Olaf Conradi)
431
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
433
* run_bzr and run_bzr_captured now accept a 'stdin="foo"' parameter which
434
will provide String("foo") to the command as its stdin.
440
* .bzrignore is excluded from exports, on the grounds that it's a bzr
441
internal-use file and may not be wanted. (Jamie Wilkinson)
443
* The "bzr directories" command were removed in favor of the new
444
--kind option to the "bzr inventory" command. To list all
445
versioned directories, now use "bzr inventory --kind directory".
448
* Under Windows configuration directory is now %APPDATA%\bazaar\2.0
449
by default. (John Arbash Meinel)
451
* The parent of Bzr configuration directory can be set by BZR_HOME
452
environment variable. Now the path for it is searched in BZR_HOME, then
453
in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
454
points to C:\Documents and Settings\User Name\Application Data), HOME.
457
* Plugins with the same name in different directories in the bzr plugin
458
path are no longer loaded: only the first successfully loaded one is
459
used. (Robert Collins)
461
* Use systems' external ssh command to open connections if possible.
462
This gives better integration with user settings such as ProxyCommand.
465
* Permissions on files underneath .bzr/ are inherited from the .bzr
466
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
467
will mean that future file will be created with group write permissions.
469
* configure.in and config.guess are no longer in the builtin default
472
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
473
files. (John Arbash Meinel, Martin Pool)
477
* "bzr INIT dir" now initializes the specified directory, and creates
478
it if it does not exist. (John Arbash Meinel)
480
* New remerge command (Aaron Bentley)
482
* Better zsh completion script. (Steve Borho)
484
* 'bzr diff' now returns 1 when there are changes in the working
485
tree. (Robert Collins)
487
* 'bzr push' now exists and can push changes to a remote location.
488
This uses the transport infrastructure, and can store the remote
489
location in the ~/.bazaar/branches.conf configuration file.
492
* Test directories are only kept if the test fails and the user requests
495
* Tweaks to short log printing
497
* Added branch nicks, new nick command, printing them in log output.
500
* If $BZR_PDB is set, pop into the debugger when an uncaught exception
501
occurs. (Martin Pool)
503
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
504
the same as Subversion. (Martin Pool)
506
* New ftp transport support (on ftplib), for ftp:// and aftp://
507
URLs. (Daniel Silverstone)
509
* Commit editor temporary files now start with 'bzr_log.', to allow
510
text editors to match the file name and set up appropriate modes or
511
settings. (Magnus Therning)
513
* Improved performance when integrating changes from a remote weave.
514
(Goffredo Baroncelli)
516
* Sftp will attempt to cache the connection, so it is more likely that
517
a connection will be reused, rather than requiring multiple password
520
* bzr revno now takes an optional argument indicating the branch whose
521
revno should be printed. (Michael Ellerman)
523
* bzr cat defaults to printing the last version of the file.
524
(#3632, Matthieu Moy)
526
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
527
profiler. (Denys Duchier)
529
* Faster commits by reading only the headers of affected weave files.
532
* 'bzr add' now takes a --dry-run parameter which shows you what would be
533
added, but doesn't actually add anything. (Michael Ellerman)
535
* 'bzr add' now lists how many files were ignored per glob. add --verbose
536
lists the specific files. (Aaron Bentley)
538
* 'bzr missing' now supports displaying changes in diverged trees and can
539
be limited to show what either end of the comparison is missing.
540
(Aaron Bently, with a little prompting from Daniel Silverstone)
544
* SFTP can walk up to the root path without index errors. (Robert Collins)
546
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
548
* Error when run with -OO
550
* Fix bug in reporting http errors that don't have an http error code.
553
* Handle more cases of pipe errors in display commands
555
* Change status to 3 for all errors
557
* Files that are added and unlinked before committing are completely
558
ignored by diff and status
560
* Stores with some compressed texts and some uncompressed texts are now
561
able to be used. (John A Meinel)
563
* Fix for bzr pull failing sometimes under windows
565
* Fix for sftp transport under windows when using interactive auth
567
* Show files which are both renamed and modified as such in 'bzr
568
status' output. (#4503, Daniel Silverstone)
570
* Make annotate cope better with revisions committed without a valid
571
email address. (Marien Zwart)
573
* Fix representation of tab characters in commit messages. (Harald
576
* List of plugin directories in BZR_PLUGIN_PATH environment variable is
577
now parsed properly under Windows. (Alexander Belchenko)
579
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
581
* Keep a cached copy of the basis inventory to speed up operations
582
that need to refer to it. (Johan Rydberg, Martin Pool)
584
* Fix bugs in bzr status display of non-ascii characters. (Martin
587
* Remove Makefile.in from default ignore list. (#6413, Tollef Fog
590
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
594
* Fix selftest asking for passwords when there are no SFTP keys.
595
(Robey Pointer, Jelmer Vernooij)
597
* Fix selftest run with 'python -O'. (Martin Pool)
599
* Fix HTTP tests under Windows. (John Arbash Meinel)
601
* Make tests work even if HOME is not set (Aaron Bentley)
603
* Updated build_tree to use fixed line-endings for tests which read
604
the file cotents and compare. Make some tests use this to pass under
605
Windows. (John Arbash Meinel)
607
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
609
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
612
* Use terminal width to align verbose test output. (Martin Pool)
614
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
615
If adding a new test script please add that to
616
bzrlib.tests.blackbox.__init__. (Robert Collins)
618
* Much better error message if one of the test suites can't be
619
imported. (Martin Pool)
621
* Make check now runs the test suite twice - once with the default locale,
622
and once with all locales forced to C, to expose bugs. This is not
623
trivially done within python, so for now its only triggered by running
624
Make check. Integrators and packagers who wish to check for full
625
platform support should run 'make check' to test the source.
628
* Tests can now run TestSkipped if they can't execute for any reason.
629
(Martin Pool) (NB: TestSkipped should only be raised for correctable
630
reasons - see the wiki spec ImprovingBzrTestSuite).
632
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
633
paths for the transport tests. Introduce blackbox remote sftp tests that
634
test the same permutations. (Robert Collins, Robey Pointer)
636
* Transport implementation tests are now independent of the local file
637
system, which allows tests for esoteric transports, and for features
638
not available in the local file system. They also repeat for variations
639
on the URL scheme that can introduce issues in the transport code,
640
see bzrlib.transport.TransportTestProviderAdapter() for this.
643
* TestCase.build_tree uses the transport interface to build trees, pass
644
in a transport parameter to give it an existing connection.
649
* WorkingTree.pull has been split across Branch and WorkingTree,
650
to allow Branch only pulls. (Robert Collins)
652
* commands.display_command now returns the result of the decorated
653
function. (Robert Collins)
655
* LocationConfig now has a set_user_option(key, value) call to save
656
a setting in its matching location section (a new one is created
657
if needed). (Robert Collins)
659
* Branch has two new methods, get_push_location and set_push_location
660
to respectively, get and set the push location. (Robert Collins)
662
* commands.register_command now takes an optional flag to signal that
663
the registrant is planning to decorate an existing command. When
664
given multiple plugins registering a command is not an error, and
665
the original command class (whether built in or a plugin based one) is
666
returned to the caller. There is a new error 'MustUseDecorated' for
667
signalling when a wrapping command should switch to the original
668
version. (Robert Collins)
670
* Some option parsing errors will raise 'BzrOptionError', allowing
671
granular detection for decorating commands. (Robert Collins).
673
* Branch.read_working_inventory has moved to
674
WorkingTree.read_working_inventory. This necessitated changes to
675
Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
676
as well. To make it clear that a WorkingTree cannot always be obtained
677
Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
678
be obtained. (Robert Collins)
680
* All pending merges operations from Branch are now on WorkingTree.
683
* The follow operations from Branch have moved to WorkingTree:
691
* bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
693
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
695
* Rename selftests to `bzrlib.tests.test_foo`. (John A Meinel, Martin
698
* bzrlib.plugin.all_plugins has been changed from an attribute to a
699
query method. (Robert Collins)
701
* New options to read only the table-of-contents of a weave.
704
* Raise NoSuchFile when someone tries to add a non-existant file.
707
* Simplify handling of DivergedBranches in cmd_pull().
711
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
712
is exposed as Branch().control_files. Also this has been altered with the
713
controlfile pre/suffix replaced by simple method names like 'get' and
714
'put'. (Aaron Bentley, Robert Collins).
716
* Deprecated functions and methods can now be marked as such using the
717
bzrlib.symbol_versioning module. Marked method have their docstring
718
updated and will issue a DeprecationWarning using the warnings module
719
when they are used. (Robert Collins)
721
* bzrlib.osutils.safe_unicode now exists to provide parameter coercion
722
for functions that need unicode strings. (Robert Collins)
728
* pull now takes --verbose to show you what revisions are added or removed
731
* merge now takes a --show-base option to include the base text in
735
* The config files are now read using ConfigObj, so '=' should be used as
736
a separator, not ':'.
739
* New 'bzr commit --strict' option refuses to commit if there are
740
any unknown files in the tree. To commit, make sure all files are
741
either ignored, added, or deleted. (Michael Ellerman)
743
* The config directory is now ~/.bazaar, and there is a single file
744
~/.bazaar/bazaar.conf storing email, editor and other preferences.
747
* 'bzr add' no longer takes a --verbose option, and a --quiet option
748
has been added that suppresses all output.
750
* Improved zsh completion support in contrib/zsh, from Clint
753
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
756
* 'bzr check' now accepts -v for verbose reporting, and checks for
757
ghosts in the branch. (Robert Collins)
759
* New command 're-sign' which will regenerate the gpg signature for
760
a revision. (Robert Collins)
762
* If you set check_signatures=require for a path in
763
~/.bazaar/branches.conf then bzr will invoke your
764
gpg_signing_command (defaults to gpg) and record a digital signature
765
of your commit. (Robert Collins)
767
* New sftp transport, based on Paramiko. (Robey Pointer)
769
* 'bzr pull' now accepts '--clobber' which will discard local changes
770
and make this branch identical to the source branch. (Robert Collins)
772
* Just give a quieter warning if a plugin can't be loaded, and
773
put the details in .bzr.log. (Martin Pool)
775
* 'bzr branch' will now set the branch-name to the last component of the
776
output directory, if one was supplied.
778
* If the option 'post_commit' is set to one (or more) python function
779
names (must be in the bzrlib namespace), then they will be invoked
780
after the commit has completed, with the branch and revision_id as
781
parameters. (Robert Collins)
783
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
785
* --merge-type weave is now supported for file contents. Tree-shape
786
changes are still three-way based. (Martin Pool, Aaron Bentley)
788
* 'bzr check' allows the first revision on revision-history to have
789
parents - something that is expected for cheap checkouts, and occurs
790
when conversions from baz do not have all history. (Robert Collins).
792
* 'bzr merge' can now graft unrelated trees together, if your specify
793
0 as a base. (Aaron Bentley)
795
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
798
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
800
* 'bzr merge --reprocess' minimizes conflicts
804
* The 'bzr selftest --pattern' option for has been removed, now
805
test specifiers on the command line can be simple strings, or
806
regexps, or both. (Robert Collins)
808
* Passing -v to selftest will now show the time each test took to
809
complete, which will aid in analysing performance regressions and
810
related questions. (Robert Collins)
812
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
813
is given. (Martin Pool)
815
* There is a new method for TestCaseInTempDir, assertFileEqual, which
816
will check that a given content is equal to the content of the named
817
file. (Robert Collins)
819
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
824
* New 'testament' command and concept for making gpg-signatures
825
of revisions that are not tied to a particular internal
826
representation. (Martin Pool).
828
* Per-revision properties ('revprops') as key-value associated
829
strings on each revision created when the revision is committed.
830
Intended mainly for the use of external tools. (Martin Pool).
832
* Config options have moved from bzrlib.osutils to bzrlib.config.
835
* Improved command line option definitions allowing explanations
836
for individual options, among other things. Contributed by
839
* Config options have moved from bzrlib.osutils to bzrlib.config.
840
Configuration is now done via the config.Config interface:
841
Depending on whether you have a Branch, a Location or no information
842
available, construct a *Config, and use its signature_checking,
843
username and user_email methods. (Robert Collins)
845
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
846
they are made available for other plugins to use. You should not
847
import other plugins during the __init__ of your plugin though, as
848
no ordering is guaranteed, and the plugins directory is not on the
849
python path. (Robert Collins)
851
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
852
no longer takes an inventory, rather it takes an option branch
853
parameter, and if None is given will open the branch at basedir
854
implicitly. (Robert Collins)
856
* Cleaner exception structure and error reporting. Suggested by
857
Scott James Remnant. (Martin Pool)
859
* Branch.remove has been moved to WorkingTree, which has also gained
860
lock_read, lock_write and unlock methods for convenience. (Robert
863
* Two decorators, needs_read_lock and needs_write_lock have been added
864
to the branch module. Use these to cause a function to run in a
865
read or write lock respectively. (Robert Collins)
867
* Branch.open_containing now returns a tuple (Branch, relative-path),
868
which allows direct access to the common case of 'get me this file
869
from its branch'. (Robert Collins)
871
* Transports can register using register_lazy_transport, and they
872
will be loaded when first used. (Martin Pool)
874
* 'pull' has been factored out of the command as WorkingTree.pull().
875
A new option to WorkingTree.pull has been added, clobber, which will
876
ignore diverged history and pull anyway.
879
* config.Config has a 'get_user_option' call that accepts an option name.
880
This will be looked up in branches.conf and bazaar.conf as normal.
881
It is intended that this be used by plugins to support options -
882
options of built in programs should have specific methods on the config.
885
* merge.merge_inner now has tempdir as an optional parameter. (Robert
888
* Tree.kind is not recorded at the top level of the hierarchy, as it was
889
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
892
* WorkingTree.__del__ has been removed, it was non deterministic and not
893
doing what it was intended to. See WorkingTree.__init__ for a comment
894
about future directions. (Robert Collins/Martin Pool)
896
* bzrlib.transport.http has been modified so that only 404 urllib errors
897
are returned as NoSuchFile. Other exceptions will propogate as normal.
898
This allows debuging of actual errors. (Robert Collins)
900
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
901
to apis like 'put', 'get' and 'has'. This is to provide consistent
902
behaviour - it operates on url's only. (Robert Collins)
904
* Transports can register using register_lazy_transport, and they
905
will be loaded when first used. (Martin Pool)
907
* 'merge_flex' no longer calls conflict_handler.finalize(), instead that
908
is called by merge_inner. This is so that the conflict count can be
909
retrieved (and potentially manipulated) before returning to the caller
910
of merge_inner. Likewise 'merge' now returns the conflict count to the
911
caller. (Robert Collins)
913
* 'revision.revision_graph can handle having only partial history for
914
a revision - that is no revisions in the graph with no parents.
917
* New builtins.branch_files uses the standard file_list rules to produce
918
a branch and a list of paths, relative to that branch (Aaron Bentley)
920
* New TestCase.addCleanup facility.
922
* New bzrlib.version_info tuple (similar to sys.version_info), which can
923
be used by programs importing bzrlib.
927
* Better handling of branches in directories with non-ascii names.
928
(Joel Rosdahl, Panagiotis Papadakos)
930
* Upgrades of trees with no commits will not fail due to accessing
931
[-1] in the revision-history. (Andres Salomon)
938
* Fix problem in pulling over http from machines that do not
939
allow directories to be listed.
941
* Avoid harmless warning about invalid hash cache after
942
upgrading branch format.
946
* Avoid some unnecessary http operations in branch and pull.
953
* 'bzr branch' over http initially gives a very high estimate
954
of completion time but it should fall as the first few
955
revisions are pulled in. branch is still slow on
956
high-latency connections.