5
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
6
Use terminal width for single-line logs from ``bzr log --line`` and
7
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
10
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
13
* Show the correct number of revisions pushed when pushing a new branch.
16
* 'bzr selftest' now shows a progress bar with the number of tests, and
17
progress made. 'make check' shows tests in -v mode, to be more useful
18
for the PQM status window. (Robert Collins).
20
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
21
(Robert Collins, Martin Pool).
23
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
24
where commit can take an appreciable time. (Robert Collins)
26
* 'bzr add' is now less verbose in telling you what ignore globs were
27
matched by files being ignored. Instead it just tells you how many
28
were ignored (because you might reasonably be expecting none to be
29
ignored). 'bzr add -v' is unchanged and will report every ignored
30
file. (Robert Collins).
32
* ``log --line`` shows the revision number. (#5162, Alexander Belchenko)
36
* Fix shadowed definition of TestLocationConfig that caused some
37
tests not to run. (#32587, Erik Bågfors, Michael Ellerman,
42
* Combine the ignore rules into a single regex rather than looping over
43
them to reduce the threshold where N^2 behaviour occurs in operations
44
like status. (Jan Hudec, Robert Collins).
50
* setup.py failed to install launchpad plugin. (Martin Pool)
56
* Fix failure to commit a merge in a checkout. (Martin Pool,
57
Robert Collins, Erik Bågfors, #43959)
59
* Nicer messages from 'commit' in the case of renames, and correct
60
messages when a merge has occured. (Robert Collins, Martin Pool)
62
* Separate functionality from assert statements as they are skipped in
63
optimized mode of python. Add the same check to pending merges.
64
(#44443, Olaf Conradi)
68
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
70
* Add info on standalone branches without a working tree.
71
(#44155, Olaf Conradi)
73
* Fix bug in knits when raising InvalidRevisionId. (#44284, Olaf Conradi)
77
* Make editor invocation comply with Debian Policy. First check
78
environment variables VISUAL and EDITOR, then try editor from
79
alternatives system. If that all fails, fall back to the pre-defined
80
list of editors. (#42904, Olaf Conradi)
84
* New 'register-branch' command registers a public branch into
85
Launchpad.net, where it can be associated with bugs, etc.
86
(Martin Pool, Bjorn Tillenius, Robert Collins)
90
* New public api in InventoryEntry - 'describe_change(old, new)' which
91
provides a human description of the changes between two old and
92
new. (Robert Collins, Martin Pool)
96
* Fix test case for bzr info in upgrading a standalone branch to metadir,
97
uses bzrlib api now. (Olaf Conradi)
101
NOTES WHEN UPGRADING:
103
Release 0.8 of bzr introduces a new format for history storage, called
104
'knit', as an evolution of to the 'weave' format used in 0.7. Local
105
and remote operations are faster using knits than weaves. Several
106
operations including 'init', 'init-repo', and 'upgrade' take a
107
--format option that controls this. Branching from an existing branch
108
will keep the same format.
110
It is possible to merge, pull and push between branches of different
111
formats but this is slower than moving data between homogenous
112
branches. It is therefore recommended (but not required) that you
113
upgrade all branches for a project at the same time. Information on
114
formats is shown by 'bzr info'.
116
bzr 0.8 now allows creation of 'repositories', which hold the history
117
of files and revisions for several branches. Previously bzr kept all
118
the history for a branch within the .bzr directory at the root of the
119
branch, and this is still the default. To create a repository, use
120
the new 'bzr init-repo' command. Branches exist as directories under
121
the repository and contain just a small amount of information
122
indicating the current revision of the branch.
124
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
125
subversion. Checkouts are associated with a branch (optionally in a
126
repository), which contains all the historical information. The
127
result is that a checkout can be deleted without losing any
128
already-committed revisions. A new 'update' command is also available.
130
Repositories and checkouts are not supported with the 0.7 storage
131
format. To use them you must upgrad to either knits, or to the
132
'metaweave' format, which uses weaves but changes the .bzr directory
138
* Sftp paths can now be relative, or local, according to the lftp
139
convention. Paths now take the form:
140
sftp://user:pass@host:port/~/relative/path
142
sftp://user:pass@host:port/absolute/path
144
* The FTP transport now tries to reconnect after a temporary
145
failure. ftp put is made atomic. (Matthieu Moy)
147
* The FTP transport now maintains a pool of connections, and
148
reuses them to avoid multiple connections to the same host (like
149
sftp did). (Daniel Silverstone)
151
* The bzr_man.py file has been removed. To create the man page now,
152
use ./generate_docs.py man. The new program can also create other files.
153
Run "python generate_docs.py --help" for usage information. (Hans
154
Ulrich Niedermann & James Blackwell).
156
* Man Page now gives full help (James Blackwell). Help also updated to
157
reflect user config now being stored in .bazaar (Hans Ulrich
160
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
162
* Pull now accepts a --revision argument (Erik Bågfors)
164
* 'bzr re-sign' now allows multiple revisions to be supplied on the command
165
line. You can now use the following command to sign all of your old commits.
166
find .bzr/revision-store// -name my@email-* \
167
| sed 's/.*\/\/..\///' \
170
* Upgrade can now upgrade over the network. (Robert Collins)
172
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
173
behaviour. By default they will cache history in the checkout, but
174
with --lightweight almost all data is kept in the master branch.
177
* 'revert' unversions newly-versioned files, instead of deleting them.
179
* 'merge' is more robust. Conflict messages have changed.
181
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
184
* Default log format can be set in configuration and plugins can register
185
their own formatters. (Erik Bågfors)
187
* New 'reconcile' command will check branch consistency and repair indexes
188
that can become out of sync in pre 0.8 formats. (Robert Collins,
191
* New 'bzr init --format' and 'bzr upgrade --format' option to control
192
what storage format is created or produced. (Robert Collins,
195
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
197
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
199
* New 'init-repository' command, plus support for repositories in 'init'
200
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
202
* Improve output of 'info' command. Show all relevant locations related to
203
working tree, branch and repository. Use kibibytes for binary quantities.
204
Fix off-by-one error in missing revisions of working tree. Make 'info'
205
work on branches, repositories and remote locations. Show locations
206
relative to the shared repository, if applicable. Show locking status
207
of locations. (Olaf Conradi)
209
* Diff and merge now safely handle binary files. (Aaron Bentley)
211
* 'pull' and 'push' now normalise the revision history, so that any two
212
branches with the same tip revision will have the same output from 'log'.
215
* 'merge' accepts --remember option to store parent location, like 'push'
216
and 'pull'. (Olaf Conradi)
218
* bzr status and diff when files given as arguments do not exist
219
in the relevant trees. (Martin Pool, #3619)
221
* Add '.hg' to the default ignore list. (Martin Pool)
223
* 'knit' is now the default disk format. This improves disk performance and
224
utilization, increases incremental pull performance, robustness with SFTP
225
and allows checkouts over SFTP to perform acceptably.
226
The initial Knit code was contributed by Johan Rydberg based on a
227
specification by Martin Pool.
228
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
230
* New tool to generate all-in-one html version of the manual. (Alexander
233
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
234
to be left in the SFTP repository. (Robert Collins, Martin Pool).
236
* New option 'diff --prefix' to control how files are named in diff
237
output, with shortcuts '-p0' and '-p1' corresponding to the options for
238
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
240
* Add --revision option to 'annotate' command. (Olaf Conradi)
242
* Add --revision option to 'annotate' command. (Olaf Conradi)
244
* If bzr shows an unexpected revision-history after pulling (perhaps due
245
to a reweave) it can now be corrected by 'bzr reconcile'.
250
* Commit is now verbose by default, and shows changed filenames and the
251
new revision number. (Robert Collins, Martin Pool)
253
* Unify 'mv', 'move', 'rename'. (#5379, Matthew Fuller)
255
* 'bzr -h' shows help. (#35940, Martin Pool, Ian Bicking)
257
* Make 'pull' and 'push' remember location on failure using --remember.
260
* For compatibility, make old format for using weaves inside metadir
261
available as 'metaweave' format. Rename format 'metadir' to 'default'.
262
Clean up help for option --format in commands 'init', 'init-repo' and
263
'upgrade'. (Olaf Conradi)
267
* The internal storage of history, and logical branch identity have now
268
been split into Branch, and Repository. The common locking and file
269
management routines are now in bzrlib.lockablefiles.
270
(Aaron Bentley, Robert Collins, Martin Pool)
272
* Transports can now raise DependencyNotPresent if they need a library
273
which is not installed, and then another implementation will be
276
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
279
* Using Tree Transform for merge, revert, tree-building
281
* WorkingTree.create, Branch.create, WorkingTree.create_standalone,
282
Branch.initialize are now deprecated. Please see BzrDir.create_* for
283
replacement API's. (Robert Collins)
285
* New BzrDir class represents the .bzr control directory and manages
286
formatting issues. (Robert Collins)
288
* New repository.InterRepository class encapsulates Repository to
289
Repository actions and allows for clean selection of optimised code
290
paths. (Robert Collins)
292
* bzrlib.fetch.fetch and bzrlib.fetch.greedy_fetch are now deprecated,
293
please use 'branch.fetch' or 'repository.fetch' depending on your
294
needs. (Robert Collins)
296
* deprecated methods now have a 'is_deprecated' flag on them that can
297
be checked, if you need to determine whether a given callable is
298
deprecated at runtime. (Robert Collins)
300
* Progress bars are now nested - see
301
bzrlib.ui.ui_factory.nested_progress_bar. (Robert Collins, Robey Pointer)
303
* New API call get_format_description() for each type of format.
306
* Changed branch.set_parent() to accept None to remove parent.
309
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
311
* WorkingTree.branch is now a read only property. (Robert Collins)
313
* bzrlib.ui.text.TextUIFactory now accepts a bar_type parameter which
314
can be None or a factory that will create a progress bar. This is
315
useful for testing or for overriding the bzrlib.progress heuristic.
318
* New API method get_physical_lock_status() to query locks present on a
319
transport. (Olaf Conradi)
321
* Repository.reconcile now takes a thorough keyword parameter to allow
322
requesting an indepth reconciliation, rather than just a data-loss
323
check. (Robert Collins)
325
* bzrlib.ui.ui_factory protocol now supports 'get_boolean' to prompt
326
the user for yes/no style input. (Robert Collins)
330
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
331
for testing SFTP protocol support. (Robey Pointer)
333
* Branch formats are now tested once per implementation (see bzrlib.
334
tests.branch_implementations. This is analagous to the transport
335
interface tests, and has been followed up with working tree,
336
repository and BzrDir tests. (Robert Collins)
338
* New test base class TestCaseWithTransport provides a transport aware
339
test environment, useful for testing any transport-interface using
340
code. The test suite option --transport controls the transport used
341
by this class (when its not being used as part of implementation
342
contract testing). (Robert Collins)
344
* Close logging handler on disabling the test log. This will remove the
345
handler from the internal list inside python's logging module,
346
preventing shutdown from closing it twice. (Olaf Conradi)
348
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
350
* run_bzr and run_bzr_captured now accept a 'stdin="foo"' parameter which
351
will provide String("foo") to the command as its stdin.
357
* .bzrignore is excluded from exports, on the grounds that it's a bzr
358
internal-use file and may not be wanted. (Jamie Wilkinson)
360
* The "bzr directories" command were removed in favor of the new
361
--kind option to the "bzr inventory" command. To list all
362
versioned directories, now use "bzr inventory --kind directory".
365
* Under Windows configuration directory is now %APPDATA%\bazaar\2.0
366
by default. (John Arbash Meinel)
368
* The parent of Bzr configuration directory can be set by BZR_HOME
369
environment variable. Now the path for it is searched in BZR_HOME, then
370
in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
371
points to C:\Documents and Settings\User Name\Application Data), HOME.
374
* Plugins with the same name in different directories in the bzr plugin
375
path are no longer loaded: only the first successfully loaded one is
376
used. (Robert Collins)
378
* Use systems' external ssh command to open connections if possible.
379
This gives better integration with user settings such as ProxyCommand.
382
* Permissions on files underneath .bzr/ are inherited from the .bzr
383
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
384
will mean that future file will be created with group write permissions.
386
* configure.in and config.guess are no longer in the builtin default
389
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
390
files. (John Arbash Meinel, Martin Pool)
394
* "bzr INIT dir" now initializes the specified directory, and creates
395
it if it does not exist. (John Arbash Meinel)
397
* New remerge command (Aaron Bentley)
399
* Better zsh completion script. (Steve Borho)
401
* 'bzr diff' now returns 1 when there are changes in the working
402
tree. (Robert Collins)
404
* 'bzr push' now exists and can push changes to a remote location.
405
This uses the transport infrastructure, and can store the remote
406
location in the ~/.bazaar/branches.conf configuration file.
409
* Test directories are only kept if the test fails and the user requests
412
* Tweaks to short log printing
414
* Added branch nicks, new nick command, printing them in log output.
417
* If $BZR_PDB is set, pop into the debugger when an uncaught exception
418
occurs. (Martin Pool)
420
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
421
the same as Subversion. (Martin Pool)
423
* New ftp transport support (on ftplib), for ftp:// and aftp://
424
URLs. (Daniel Silverstone)
426
* Commit editor temporary files now start with 'bzr_log.', to allow
427
text editors to match the file name and set up appropriate modes or
428
settings. (Magnus Therning)
430
* Improved performance when integrating changes from a remote weave.
431
(Goffredo Baroncelli)
433
* Sftp will attempt to cache the connection, so it is more likely that
434
a connection will be reused, rather than requiring multiple password
437
* bzr revno now takes an optional argument indicating the branch whose
438
revno should be printed. (Michael Ellerman)
440
* bzr cat defaults to printing the last version of the file.
441
(#3632, Matthieu Moy)
443
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
444
profiler. (Denys Duchier)
446
* Faster commits by reading only the headers of affected weave files.
449
* 'bzr add' now takes a --dry-run parameter which shows you what would be
450
added, but doesn't actually add anything. (Michael Ellerman)
452
* 'bzr add' now lists how many files were ignored per glob. add --verbose
453
lists the specific files. (Aaron Bentley)
455
* 'bzr missing' now supports displaying changes in diverged trees and can
456
be limited to show what either end of the comparison is missing.
457
(Aaron Bently, with a little prompting from Daniel Silverstone)
461
* SFTP can walk up to the root path without index errors. (Robert Collins)
463
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
465
* Error when run with -OO
467
* Fix bug in reporting http errors that don't have an http error code.
470
* Handle more cases of pipe errors in display commands
472
* Change status to 3 for all errors
474
* Files that are added and unlinked before committing are completely
475
ignored by diff and status
477
* Stores with some compressed texts and some uncompressed texts are now
478
able to be used. (John A Meinel)
480
* Fix for bzr pull failing sometimes under windows
482
* Fix for sftp transport under windows when using interactive auth
484
* Show files which are both renamed and modified as such in 'bzr
485
status' output. (#4503, Daniel Silverstone)
487
* Make annotate cope better with revisions committed without a valid
488
email address. (Marien Zwart)
490
* Fix representation of tab characters in commit messages. (Harald
493
* List of plugin directories in BZR_PLUGIN_PATH environment variable is
494
now parsed properly under Windows. (Alexander Belchenko)
496
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
498
* Keep a cached copy of the basis inventory to speed up operations
499
that need to refer to it. (Johan Rydberg, Martin Pool)
501
* Fix bugs in bzr status display of non-ascii characters. (Martin
504
* Remove Makefile.in from default ignore list. (#6413, Tollef Fog
507
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
511
* Fix selftest asking for passwords when there are no SFTP keys.
512
(Robey Pointer, Jelmer Vernooij)
514
* Fix selftest run with 'python -O'. (Martin Pool)
516
* Fix HTTP tests under Windows. (John Arbash Meinel)
518
* Make tests work even if HOME is not set (Aaron Bentley)
520
* Updated build_tree to use fixed line-endings for tests which read
521
the file cotents and compare. Make some tests use this to pass under
522
Windows. (John Arbash Meinel)
524
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
526
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
529
* Use terminal width to align verbose test output. (Martin Pool)
531
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
532
If adding a new test script please add that to
533
bzrlib.tests.blackbox.__init__. (Robert Collins)
535
* Much better error message if one of the test suites can't be
536
imported. (Martin Pool)
538
* Make check now runs the test suite twice - once with the default locale,
539
and once with all locales forced to C, to expose bugs. This is not
540
trivially done within python, so for now its only triggered by running
541
Make check. Integrators and packagers who wish to check for full
542
platform support should run 'make check' to test the source.
545
* Tests can now run TestSkipped if they can't execute for any reason.
546
(Martin Pool) (NB: TestSkipped should only be raised for correctable
547
reasons - see the wiki spec ImprovingBzrTestSuite).
549
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
550
paths for the transport tests. Introduce blackbox remote sftp tests that
551
test the same permutations. (Robert Collins, Robey Pointer)
553
* Transport implementation tests are now independent of the local file
554
system, which allows tests for esoteric transports, and for features
555
not available in the local file system. They also repeat for variations
556
on the URL scheme that can introduce issues in the transport code,
557
see bzrlib.transport.TransportTestProviderAdapter() for this.
560
* TestCase.build_tree uses the transport interface to build trees, pass
561
in a transport parameter to give it an existing connection.
566
* WorkingTree.pull has been split across Branch and WorkingTree,
567
to allow Branch only pulls. (Robert Collins)
569
* commands.display_command now returns the result of the decorated
570
function. (Robert Collins)
572
* LocationConfig now has a set_user_option(key, value) call to save
573
a setting in its matching location section (a new one is created
574
if needed). (Robert Collins)
576
* Branch has two new methods, get_push_location and set_push_location
577
to respectively, get and set the push location. (Robert Collins)
579
* commands.register_command now takes an optional flag to signal that
580
the registrant is planning to decorate an existing command. When
581
given multiple plugins registering a command is not an error, and
582
the original command class (whether built in or a plugin based one) is
583
returned to the caller. There is a new error 'MustUseDecorated' for
584
signalling when a wrapping command should switch to the original
585
version. (Robert Collins)
587
* Some option parsing errors will raise 'BzrOptionError', allowing
588
granular detection for decorating commands. (Robert Collins).
590
* Branch.read_working_inventory has moved to
591
WorkingTree.read_working_inventory. This necessitated changes to
592
Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
593
as well. To make it clear that a WorkingTree cannot always be obtained
594
Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
595
be obtained. (Robert Collins)
597
* All pending merges operations from Branch are now on WorkingTree.
600
* The follow operations from Branch have moved to WorkingTree:
608
* bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
610
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
612
* Rename selftests to `bzrlib.tests.test_foo`. (John A Meinel, Martin
615
* bzrlib.plugin.all_plugins has been changed from an attribute to a
616
query method. (Robert Collins)
618
* New options to read only the table-of-contents of a weave.
621
* Raise NoSuchFile when someone tries to add a non-existant file.
624
* Simplify handling of DivergedBranches in cmd_pull().
628
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
629
is exposed as Branch().control_files. Also this has been altered with the
630
controlfile pre/suffix replaced by simple method names like 'get' and
631
'put'. (Aaron Bentley, Robert Collins).
633
* Deprecated functions and methods can now be marked as such using the
634
bzrlib.symbol_versioning module. Marked method have their docstring
635
updated and will issue a DeprecationWarning using the warnings module
636
when they are used. (Robert Collins)
638
* bzrlib.osutils.safe_unicode now exists to provide parameter coercion
639
for functions that need unicode strings. (Robert Collins)
645
* pull now takes --verbose to show you what revisions are added or removed
648
* merge now takes a --show-base option to include the base text in
652
* The config files are now read using ConfigObj, so '=' should be used as
653
a separator, not ':'.
656
* New 'bzr commit --strict' option refuses to commit if there are
657
any unknown files in the tree. To commit, make sure all files are
658
either ignored, added, or deleted. (Michael Ellerman)
660
* The config directory is now ~/.bazaar, and there is a single file
661
~/.bazaar/bazaar.conf storing email, editor and other preferences.
664
* 'bzr add' no longer takes a --verbose option, and a --quiet option
665
has been added that suppresses all output.
667
* Improved zsh completion support in contrib/zsh, from Clint
670
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
673
* 'bzr check' now accepts -v for verbose reporting, and checks for
674
ghosts in the branch. (Robert Collins)
676
* New command 're-sign' which will regenerate the gpg signature for
677
a revision. (Robert Collins)
679
* If you set check_signatures=require for a path in
680
~/.bazaar/branches.conf then bzr will invoke your
681
gpg_signing_command (defaults to gpg) and record a digital signature
682
of your commit. (Robert Collins)
684
* New sftp transport, based on Paramiko. (Robey Pointer)
686
* 'bzr pull' now accepts '--clobber' which will discard local changes
687
and make this branch identical to the source branch. (Robert Collins)
689
* Just give a quieter warning if a plugin can't be loaded, and
690
put the details in .bzr.log. (Martin Pool)
692
* 'bzr branch' will now set the branch-name to the last component of the
693
output directory, if one was supplied.
695
* If the option 'post_commit' is set to one (or more) python function
696
names (must be in the bzrlib namespace), then they will be invoked
697
after the commit has completed, with the branch and revision_id as
698
parameters. (Robert Collins)
700
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
702
* --merge-type weave is now supported for file contents. Tree-shape
703
changes are still three-way based. (Martin Pool, Aaron Bentley)
705
* 'bzr check' allows the first revision on revision-history to have
706
parents - something that is expected for cheap checkouts, and occurs
707
when conversions from baz do not have all history. (Robert Collins).
709
* 'bzr merge' can now graft unrelated trees together, if your specify
710
0 as a base. (Aaron Bentley)
712
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
715
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
717
* 'bzr merge --reprocess' minimizes conflicts
721
* The 'bzr selftest --pattern' option for has been removed, now
722
test specifiers on the command line can be simple strings, or
723
regexps, or both. (Robert Collins)
725
* Passing -v to selftest will now show the time each test took to
726
complete, which will aid in analysing performance regressions and
727
related questions. (Robert Collins)
729
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
730
is given. (Martin Pool)
732
* There is a new method for TestCaseInTempDir, assertFileEqual, which
733
will check that a given content is equal to the content of the named
734
file. (Robert Collins)
736
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
741
* New 'testament' command and concept for making gpg-signatures
742
of revisions that are not tied to a particular internal
743
representation. (Martin Pool).
745
* Per-revision properties ('revprops') as key-value associated
746
strings on each revision created when the revision is committed.
747
Intended mainly for the use of external tools. (Martin Pool).
749
* Config options have moved from bzrlib.osutils to bzrlib.config.
752
* Improved command line option definitions allowing explanations
753
for individual options, among other things. Contributed by
756
* Config options have moved from bzrlib.osutils to bzrlib.config.
757
Configuration is now done via the config.Config interface:
758
Depending on whether you have a Branch, a Location or no information
759
available, construct a *Config, and use its signature_checking,
760
username and user_email methods. (Robert Collins)
762
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
763
they are made available for other plugins to use. You should not
764
import other plugins during the __init__ of your plugin though, as
765
no ordering is guaranteed, and the plugins directory is not on the
766
python path. (Robert Collins)
768
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
769
no longer takes an inventory, rather it takes an option branch
770
parameter, and if None is given will open the branch at basedir
771
implicitly. (Robert Collins)
773
* Cleaner exception structure and error reporting. Suggested by
774
Scott James Remnant. (Martin Pool)
776
* Branch.remove has been moved to WorkingTree, which has also gained
777
lock_read, lock_write and unlock methods for convenience. (Robert
780
* Two decorators, needs_read_lock and needs_write_lock have been added
781
to the branch module. Use these to cause a function to run in a
782
read or write lock respectively. (Robert Collins)
784
* Branch.open_containing now returns a tuple (Branch, relative-path),
785
which allows direct access to the common case of 'get me this file
786
from its branch'. (Robert Collins)
788
* Transports can register using register_lazy_transport, and they
789
will be loaded when first used. (Martin Pool)
791
* 'pull' has been factored out of the command as WorkingTree.pull().
792
A new option to WorkingTree.pull has been added, clobber, which will
793
ignore diverged history and pull anyway.
796
* config.Config has a 'get_user_option' call that accepts an option name.
797
This will be looked up in branches.conf and bazaar.conf as normal.
798
It is intended that this be used by plugins to support options -
799
options of built in programs should have specific methods on the config.
802
* merge.merge_inner now has tempdir as an optional parameter. (Robert
805
* Tree.kind is not recorded at the top level of the hierarchy, as it was
806
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
809
* WorkingTree.__del__ has been removed, it was non deterministic and not
810
doing what it was intended to. See WorkingTree.__init__ for a comment
811
about future directions. (Robert Collins/Martin Pool)
813
* bzrlib.transport.http has been modified so that only 404 urllib errors
814
are returned as NoSuchFile. Other exceptions will propogate as normal.
815
This allows debuging of actual errors. (Robert Collins)
817
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
818
to apis like 'put', 'get' and 'has'. This is to provide consistent
819
behaviour - it operates on url's only. (Robert Collins)
821
* Transports can register using register_lazy_transport, and they
822
will be loaded when first used. (Martin Pool)
824
* 'merge_flex' no longer calls conflict_handler.finalize(), instead that
825
is called by merge_inner. This is so that the conflict count can be
826
retrieved (and potentially manipulated) before returning to the caller
827
of merge_inner. Likewise 'merge' now returns the conflict count to the
828
caller. (Robert Collins)
830
* 'revision.revision_graph can handle having only partial history for
831
a revision - that is no revisions in the graph with no parents.
834
* New builtins.branch_files uses the standard file_list rules to produce
835
a branch and a list of paths, relative to that branch (Aaron Bentley)
837
* New TestCase.addCleanup facility.
839
* New bzrlib.version_info tuple (similar to sys.version_info), which can
840
be used by programs importing bzrlib.
844
* Better handling of branches in directories with non-ascii names.
845
(Joel Rosdahl, Panagiotis Papadakos)
847
* Upgrades of trees with no commits will not fail due to accessing
848
[-1] in the revision-history. (Andres Salomon)
855
* Fix problem in pulling over http from machines that do not
856
allow directories to be listed.
858
* Avoid harmless warning about invalid hash cache after
859
upgrading branch format.
863
* Avoid some unnecessary http operations in branch and pull.
870
* 'bzr branch' over http initially gives a very high estimate
871
of completion time but it should fall as the first few
872
revisions are pulled in. branch is still slow on
873
high-latency connections.