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 widht using GetConsoleScreenBufferInfo.
13
'bzr selftest' now shows a progress bar with the number of tests, and
14
progress made. 'make check' shows tests in -v mode, to be more useful
15
for the PQM status window. (Robert Collins).
17
* Add info on standalone branches without a working tree. (Olaf Conradi)
21
* Fix shadowed definition of TestLocationConfig that caused some
22
tests not to run. (#32587, Erik Bågfors, Michael Ellerman,
29
* setup.py failed to install launchpad plugin. (Martin Pool)
35
* Fix failure to commit a merge in a checkout. (Martin Pool,
36
Robert Collins, Erik Bågfors, #43959)
38
* Nicer messages from 'commit' in the case of renames, and correct
39
messages when a merge has occured. (Robert Collins, Martin Pool)
41
* Separate functionality from assert statements as they are skipped in
42
optimized mode of python. Add the same check to pending merges.
43
(#44443, Olaf Conradi)
47
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
49
* Add info on standalone branches without a working tree.
50
(#44155, Olaf Conradi)
52
* Fix bug in knits when raising InvalidRevisionId. (#44284, Olaf Conradi)
56
* Make editor invocation comply with Debian Policy. First check
57
environment variables VISUAL and EDITOR, then try editor from
58
alternatives system. If that all fails, fall back to the pre-defined
59
list of editors. (#42904, Olaf Conradi)
63
* New 'register-branch' command registers a public branch into
64
Launchpad.net, where it can be associated with bugs, etc.
65
(Martin Pool, Bjorn Tillenius, Robert Collins)
69
* New public api in InventoryEntry - 'describe_change(old, new)' which
70
provides a human description of the changes between two old and
71
new. (Robert Collins, Martin Pool)
75
* Fix test case for bzr info in upgrading a standalone branch to metadir,
76
uses bzrlib api now. (Olaf Conradi)
82
Release 0.8 of bzr introduces a new format for history storage, called
83
'knit', as an evolution of to the 'weave' format used in 0.7. Local
84
and remote operations are faster using knits than weaves. Several
85
operations including 'init', 'init-repo', and 'upgrade' take a
86
--format option that controls this. Branching from an existing branch
87
will keep the same format.
89
It is possible to merge, pull and push between branches of different
90
formats but this is slower than moving data between homogenous
91
branches. It is therefore recommended (but not required) that you
92
upgrade all branches for a project at the same time. Information on
93
formats is shown by 'bzr info'.
95
bzr 0.8 now allows creation of 'repositories', which hold the history
96
of files and revisions for several branches. Previously bzr kept all
97
the history for a branch within the .bzr directory at the root of the
98
branch, and this is still the default. To create a repository, use
99
the new 'bzr init-repo' command. Branches exist as directories under
100
the repository and contain just a small amount of information
101
indicating the current revision of the branch.
103
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
104
subversion. Checkouts are associated with a branch (optionally in a
105
repository), which contains all the historical information. The
106
result is that a checkout can be deleted without losing any
107
already-committed revisions. A new 'update' command is also available.
109
Repositories and checkouts are not supported with the 0.7 storage
110
format. To use them you must upgrad to either knits, or to the
111
'metaweave' format, which uses weaves but changes the .bzr directory
117
* Sftp paths can now be relative, or local, according to the lftp
118
convention. Paths now take the form:
119
sftp://user:pass@host:port/~/relative/path
121
sftp://user:pass@host:port/absolute/path
123
* The FTP transport now tries to reconnect after a temporary
124
failure. ftp put is made atomic. (Matthieu Moy)
126
* The FTP transport now maintains a pool of connections, and
127
reuses them to avoid multiple connections to the same host (like
128
sftp did). (Daniel Silverstone)
130
* The bzr_man.py file has been removed. To create the man page now,
131
use ./generate_docs.py man. The new program can also create other files.
132
Run "python generate_docs.py --help" for usage information. (Hans
133
Ulrich Niedermann & James Blackwell).
135
* Man Page now gives full help (James Blackwell). Help also updated to
136
reflect user config now being stored in .bazaar (Hans Ulrich
139
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
141
* Pull now accepts a --revision argument (Erik Bågfors)
143
* 'bzr re-sign' now allows multiple revisions to be supplied on the command
144
line. You can now use the following command to sign all of your old commits.
145
find .bzr/revision-store// -name my@email-* \
146
| sed 's/.*\/\/..\///' \
149
* Upgrade can now upgrade over the network. (Robert Collins)
151
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
152
behaviour. By default they will cache history in the checkout, but
153
with --lightweight almost all data is kept in the master branch.
156
* 'revert' unversions newly-versioned files, instead of deleting them.
158
* 'merge' is more robust. Conflict messages have changed.
160
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
163
* Default log format can be set in configuration and plugins can register
164
their own formatters. (Erik Bågfors)
166
* New 'reconcile' command will check branch consistency and repair indexes
167
that can become out of sync in pre 0.8 formats. (Robert Collins,
170
* New 'bzr init --format' and 'bzr upgrade --format' option to control
171
what storage format is created or produced. (Robert Collins,
174
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
176
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
178
* New 'init-repository' command, plus support for repositories in 'init'
179
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
181
* Improve output of 'info' command. Show all relevant locations related to
182
working tree, branch and repository. Use kibibytes for binary quantities.
183
Fix off-by-one error in missing revisions of working tree. Make 'info'
184
work on branches, repositories and remote locations. Show locations
185
relative to the shared repository, if applicable. Show locking status
186
of locations. (Olaf Conradi)
188
* Diff and merge now safely handle binary files. (Aaron Bentley)
190
* 'pull' and 'push' now normalise the revision history, so that any two
191
branches with the same tip revision will have the same output from 'log'.
194
* 'merge' accepts --remember option to store parent location, like 'push'
195
and 'pull'. (Olaf Conradi)
197
* bzr status and diff when files given as arguments do not exist
198
in the relevant trees. (Martin Pool, #3619)
200
* Add '.hg' to the default ignore list. (Martin Pool)
202
* 'knit' is now the default disk format. This improves disk performance and
203
utilization, increases incremental pull performance, robustness with SFTP
204
and allows checkouts over SFTP to perform acceptably.
205
The initial Knit code was contributed by Johan Rydberg based on a
206
specification by Martin Pool.
207
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
209
* New tool to generate all-in-one html version of the manual. (Alexander
212
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
213
to be left in the SFTP repository. (Robert Collins, Martin Pool).
215
* New option 'diff --prefix' to control how files are named in diff
216
output, with shortcuts '-p0' and '-p1' corresponding to the options for
217
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
219
* Add --revision option to 'annotate' command. (Olaf Conradi)
221
* Add --revision option to 'annotate' command. (Olaf Conradi)
223
* If bzr shows an unexpected revision-history after pulling (perhaps due
224
to a reweave) it can now be corrected by 'bzr reconcile'.
229
* Commit is now verbose by default, and shows changed filenames and the
230
new revision number. (Robert Collins, Martin Pool)
232
* Unify 'mv', 'move', 'rename'. (#5379, Matthew Fuller)
234
* 'bzr -h' shows help. (#35940, Martin Pool, Ian Bicking)
236
* Make 'pull' and 'push' remember location on failure using --remember.
239
* For compatibility, make old format for using weaves inside metadir
240
available as 'metaweave' format. Rename format 'metadir' to 'default'.
241
Clean up help for option --format in commands 'init', 'init-repo' and
242
'upgrade'. (Olaf Conradi)
246
* The internal storage of history, and logical branch identity have now
247
been split into Branch, and Repository. The common locking and file
248
management routines are now in bzrlib.lockablefiles.
249
(Aaron Bentley, Robert Collins, Martin Pool)
251
* Transports can now raise DependencyNotPresent if they need a library
252
which is not installed, and then another implementation will be
255
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
258
* Using Tree Transform for merge, revert, tree-building
260
* WorkingTree.create, Branch.create, WorkingTree.create_standalone,
261
Branch.initialize are now deprecated. Please see BzrDir.create_* for
262
replacement API's. (Robert Collins)
264
* New BzrDir class represents the .bzr control directory and manages
265
formatting issues. (Robert Collins)
267
* New repository.InterRepository class encapsulates Repository to
268
Repository actions and allows for clean selection of optimised code
269
paths. (Robert Collins)
271
* bzrlib.fetch.fetch and bzrlib.fetch.greedy_fetch are now deprecated,
272
please use 'branch.fetch' or 'repository.fetch' depending on your
273
needs. (Robert Collins)
275
* deprecated methods now have a 'is_deprecated' flag on them that can
276
be checked, if you need to determine whether a given callable is
277
deprecated at runtime. (Robert Collins)
279
* Progress bars are now nested - see
280
bzrlib.ui.ui_factory.nested_progress_bar. (Robert Collins, Robey Pointer)
282
* New API call get_format_description() for each type of format.
285
* Changed branch.set_parent() to accept None to remove parent.
288
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
290
* WorkingTree.branch is now a read only property. (Robert Collins)
292
* bzrlib.ui.text.TextUIFactory now accepts a bar_type parameter which
293
can be None or a factory that will create a progress bar. This is
294
useful for testing or for overriding the bzrlib.progress heuristic.
297
* New API method get_physical_lock_status() to query locks present on a
298
transport. (Olaf Conradi)
300
* Repository.reconcile now takes a thorough keyword parameter to allow
301
requesting an indepth reconciliation, rather than just a data-loss
302
check. (Robert Collins)
304
* bzrlib.ui.ui_factory protocol now supports 'get_boolean' to prompt
305
the user for yes/no style input. (Robert Collins)
309
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
310
for testing SFTP protocol support. (Robey Pointer)
312
* Branch formats are now tested once per implementation (see bzrlib.
313
tests.branch_implementations. This is analagous to the transport
314
interface tests, and has been followed up with working tree,
315
repository and BzrDir tests. (Robert Collins)
317
* New test base class TestCaseWithTransport provides a transport aware
318
test environment, useful for testing any transport-interface using
319
code. The test suite option --transport controls the transport used
320
by this class (when its not being used as part of implementation
321
contract testing). (Robert Collins)
323
* Close logging handler on disabling the test log. This will remove the
324
handler from the internal list inside python's logging module,
325
preventing shutdown from closing it twice. (Olaf Conradi)
327
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
329
* run_bzr and run_bzr_captured now accept a 'stdin="foo"' parameter which
330
will provide String("foo") to the command as its stdin.
336
* .bzrignore is excluded from exports, on the grounds that it's a bzr
337
internal-use file and may not be wanted. (Jamie Wilkinson)
339
* The "bzr directories" command were removed in favor of the new
340
--kind option to the "bzr inventory" command. To list all
341
versioned directories, now use "bzr inventory --kind directory".
344
* Under Windows configuration directory is now %APPDATA%\bazaar\2.0
345
by default. (John Arbash Meinel)
347
* The parent of Bzr configuration directory can be set by BZR_HOME
348
environment variable. Now the path for it is searched in BZR_HOME, then
349
in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
350
points to C:\Documents and Settings\User Name\Application Data), HOME.
353
* Plugins with the same name in different directories in the bzr plugin
354
path are no longer loaded: only the first successfully loaded one is
355
used. (Robert Collins)
357
* Use systems' external ssh command to open connections if possible.
358
This gives better integration with user settings such as ProxyCommand.
361
* Permissions on files underneath .bzr/ are inherited from the .bzr
362
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
363
will mean that future file will be created with group write permissions.
365
* configure.in and config.guess are no longer in the builtin default
368
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
369
files. (John Arbash Meinel, Martin Pool)
373
* "bzr INIT dir" now initializes the specified directory, and creates
374
it if it does not exist. (John Arbash Meinel)
376
* New remerge command (Aaron Bentley)
378
* Better zsh completion script. (Steve Borho)
380
* 'bzr diff' now returns 1 when there are changes in the working
381
tree. (Robert Collins)
383
* 'bzr push' now exists and can push changes to a remote location.
384
This uses the transport infrastructure, and can store the remote
385
location in the ~/.bazaar/branches.conf configuration file.
388
* Test directories are only kept if the test fails and the user requests
391
* Tweaks to short log printing
393
* Added branch nicks, new nick command, printing them in log output.
396
* If $BZR_PDB is set, pop into the debugger when an uncaught exception
397
occurs. (Martin Pool)
399
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
400
the same as Subversion. (Martin Pool)
402
* New ftp transport support (on ftplib), for ftp:// and aftp://
403
URLs. (Daniel Silverstone)
405
* Commit editor temporary files now start with 'bzr_log.', to allow
406
text editors to match the file name and set up appropriate modes or
407
settings. (Magnus Therning)
409
* Improved performance when integrating changes from a remote weave.
410
(Goffredo Baroncelli)
412
* Sftp will attempt to cache the connection, so it is more likely that
413
a connection will be reused, rather than requiring multiple password
416
* bzr revno now takes an optional argument indicating the branch whose
417
revno should be printed. (Michael Ellerman)
419
* bzr cat defaults to printing the last version of the file.
420
(#3632, Matthieu Moy)
422
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
423
profiler. (Denys Duchier)
425
* Faster commits by reading only the headers of affected weave files.
428
* 'bzr add' now takes a --dry-run parameter which shows you what would be
429
added, but doesn't actually add anything. (Michael Ellerman)
431
* 'bzr add' now lists how many files were ignored per glob. add --verbose
432
lists the specific files. (Aaron Bentley)
434
* 'bzr missing' now supports displaying changes in diverged trees and can
435
be limited to show what either end of the comparison is missing.
436
(Aaron Bently, with a little prompting from Daniel Silverstone)
440
* SFTP can walk up to the root path without index errors. (Robert Collins)
442
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
444
* Error when run with -OO
446
* Fix bug in reporting http errors that don't have an http error code.
449
* Handle more cases of pipe errors in display commands
451
* Change status to 3 for all errors
453
* Files that are added and unlinked before committing are completely
454
ignored by diff and status
456
* Stores with some compressed texts and some uncompressed texts are now
457
able to be used. (John A Meinel)
459
* Fix for bzr pull failing sometimes under windows
461
* Fix for sftp transport under windows when using interactive auth
463
* Show files which are both renamed and modified as such in 'bzr
464
status' output. (#4503, Daniel Silverstone)
466
* Make annotate cope better with revisions committed without a valid
467
email address. (Marien Zwart)
469
* Fix representation of tab characters in commit messages. (Harald
472
* List of plugin directories in BZR_PLUGIN_PATH environment variable is
473
now parsed properly under Windows. (Alexander Belchenko)
475
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
477
* Keep a cached copy of the basis inventory to speed up operations
478
that need to refer to it. (Johan Rydberg, Martin Pool)
480
* Fix bugs in bzr status display of non-ascii characters. (Martin
483
* Remove Makefile.in from default ignore list. (#6413, Tollef Fog
486
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
490
* Fix selftest asking for passwords when there are no SFTP keys.
491
(Robey Pointer, Jelmer Vernooij)
493
* Fix selftest run with 'python -O'. (Martin Pool)
495
* Fix HTTP tests under Windows. (John Arbash Meinel)
497
* Make tests work even if HOME is not set (Aaron Bentley)
499
* Updated build_tree to use fixed line-endings for tests which read
500
the file cotents and compare. Make some tests use this to pass under
501
Windows. (John Arbash Meinel)
503
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
505
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
508
* Use terminal width to align verbose test output. (Martin Pool)
510
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
511
If adding a new test script please add that to
512
bzrlib.tests.blackbox.__init__. (Robert Collins)
514
* Much better error message if one of the test suites can't be
515
imported. (Martin Pool)
517
* Make check now runs the test suite twice - once with the default locale,
518
and once with all locales forced to C, to expose bugs. This is not
519
trivially done within python, so for now its only triggered by running
520
Make check. Integrators and packagers who wish to check for full
521
platform support should run 'make check' to test the source.
524
* Tests can now run TestSkipped if they can't execute for any reason.
525
(Martin Pool) (NB: TestSkipped should only be raised for correctable
526
reasons - see the wiki spec ImprovingBzrTestSuite).
528
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
529
paths for the transport tests. Introduce blackbox remote sftp tests that
530
test the same permutations. (Robert Collins, Robey Pointer)
532
* Transport implementation tests are now independent of the local file
533
system, which allows tests for esoteric transports, and for features
534
not available in the local file system. They also repeat for variations
535
on the URL scheme that can introduce issues in the transport code,
536
see bzrlib.transport.TransportTestProviderAdapter() for this.
539
* TestCase.build_tree uses the transport interface to build trees, pass
540
in a transport parameter to give it an existing connection.
545
* WorkingTree.pull has been split across Branch and WorkingTree,
546
to allow Branch only pulls. (Robert Collins)
548
* commands.display_command now returns the result of the decorated
549
function. (Robert Collins)
551
* LocationConfig now has a set_user_option(key, value) call to save
552
a setting in its matching location section (a new one is created
553
if needed). (Robert Collins)
555
* Branch has two new methods, get_push_location and set_push_location
556
to respectively, get and set the push location. (Robert Collins)
558
* commands.register_command now takes an optional flag to signal that
559
the registrant is planning to decorate an existing command. When
560
given multiple plugins registering a command is not an error, and
561
the original command class (whether built in or a plugin based one) is
562
returned to the caller. There is a new error 'MustUseDecorated' for
563
signalling when a wrapping command should switch to the original
564
version. (Robert Collins)
566
* Some option parsing errors will raise 'BzrOptionError', allowing
567
granular detection for decorating commands. (Robert Collins).
569
* Branch.read_working_inventory has moved to
570
WorkingTree.read_working_inventory. This necessitated changes to
571
Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
572
as well. To make it clear that a WorkingTree cannot always be obtained
573
Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
574
be obtained. (Robert Collins)
576
* All pending merges operations from Branch are now on WorkingTree.
579
* The follow operations from Branch have moved to WorkingTree:
587
* bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
589
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
591
* Rename selftests to `bzrlib.tests.test_foo`. (John A Meinel, Martin
594
* bzrlib.plugin.all_plugins has been changed from an attribute to a
595
query method. (Robert Collins)
597
* New options to read only the table-of-contents of a weave.
600
* Raise NoSuchFile when someone tries to add a non-existant file.
603
* Simplify handling of DivergedBranches in cmd_pull().
607
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
608
is exposed as Branch().control_files. Also this has been altered with the
609
controlfile pre/suffix replaced by simple method names like 'get' and
610
'put'. (Aaron Bentley, Robert Collins).
612
* Deprecated functions and methods can now be marked as such using the
613
bzrlib.symbol_versioning module. Marked method have their docstring
614
updated and will issue a DeprecationWarning using the warnings module
615
when they are used. (Robert Collins)
617
* bzrlib.osutils.safe_unicode now exists to provide parameter coercion
618
for functions that need unicode strings. (Robert Collins)
624
* pull now takes --verbose to show you what revisions are added or removed
627
* merge now takes a --show-base option to include the base text in
631
* The config files are now read using ConfigObj, so '=' should be used as
632
a separator, not ':'.
635
* New 'bzr commit --strict' option refuses to commit if there are
636
any unknown files in the tree. To commit, make sure all files are
637
either ignored, added, or deleted. (Michael Ellerman)
639
* The config directory is now ~/.bazaar, and there is a single file
640
~/.bazaar/bazaar.conf storing email, editor and other preferences.
643
* 'bzr add' no longer takes a --verbose option, and a --quiet option
644
has been added that suppresses all output.
646
* Improved zsh completion support in contrib/zsh, from Clint
649
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
652
* 'bzr check' now accepts -v for verbose reporting, and checks for
653
ghosts in the branch. (Robert Collins)
655
* New command 're-sign' which will regenerate the gpg signature for
656
a revision. (Robert Collins)
658
* If you set check_signatures=require for a path in
659
~/.bazaar/branches.conf then bzr will invoke your
660
gpg_signing_command (defaults to gpg) and record a digital signature
661
of your commit. (Robert Collins)
663
* New sftp transport, based on Paramiko. (Robey Pointer)
665
* 'bzr pull' now accepts '--clobber' which will discard local changes
666
and make this branch identical to the source branch. (Robert Collins)
668
* Just give a quieter warning if a plugin can't be loaded, and
669
put the details in .bzr.log. (Martin Pool)
671
* 'bzr branch' will now set the branch-name to the last component of the
672
output directory, if one was supplied.
674
* If the option 'post_commit' is set to one (or more) python function
675
names (must be in the bzrlib namespace), then they will be invoked
676
after the commit has completed, with the branch and revision_id as
677
parameters. (Robert Collins)
679
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
681
* --merge-type weave is now supported for file contents. Tree-shape
682
changes are still three-way based. (Martin Pool, Aaron Bentley)
684
* 'bzr check' allows the first revision on revision-history to have
685
parents - something that is expected for cheap checkouts, and occurs
686
when conversions from baz do not have all history. (Robert Collins).
688
* 'bzr merge' can now graft unrelated trees together, if your specify
689
0 as a base. (Aaron Bentley)
691
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
694
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
696
* 'bzr merge --reprocess' minimizes conflicts
700
* The 'bzr selftest --pattern' option for has been removed, now
701
test specifiers on the command line can be simple strings, or
702
regexps, or both. (Robert Collins)
704
* Passing -v to selftest will now show the time each test took to
705
complete, which will aid in analysing performance regressions and
706
related questions. (Robert Collins)
708
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
709
is given. (Martin Pool)
711
* There is a new method for TestCaseInTempDir, assertFileEqual, which
712
will check that a given content is equal to the content of the named
713
file. (Robert Collins)
715
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
720
* New 'testament' command and concept for making gpg-signatures
721
of revisions that are not tied to a particular internal
722
representation. (Martin Pool).
724
* Per-revision properties ('revprops') as key-value associated
725
strings on each revision created when the revision is committed.
726
Intended mainly for the use of external tools. (Martin Pool).
728
* Config options have moved from bzrlib.osutils to bzrlib.config.
731
* Improved command line option definitions allowing explanations
732
for individual options, among other things. Contributed by
735
* Config options have moved from bzrlib.osutils to bzrlib.config.
736
Configuration is now done via the config.Config interface:
737
Depending on whether you have a Branch, a Location or no information
738
available, construct a *Config, and use its signature_checking,
739
username and user_email methods. (Robert Collins)
741
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
742
they are made available for other plugins to use. You should not
743
import other plugins during the __init__ of your plugin though, as
744
no ordering is guaranteed, and the plugins directory is not on the
745
python path. (Robert Collins)
747
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
748
no longer takes an inventory, rather it takes an option branch
749
parameter, and if None is given will open the branch at basedir
750
implicitly. (Robert Collins)
752
* Cleaner exception structure and error reporting. Suggested by
753
Scott James Remnant. (Martin Pool)
755
* Branch.remove has been moved to WorkingTree, which has also gained
756
lock_read, lock_write and unlock methods for convenience. (Robert
759
* Two decorators, needs_read_lock and needs_write_lock have been added
760
to the branch module. Use these to cause a function to run in a
761
read or write lock respectively. (Robert Collins)
763
* Branch.open_containing now returns a tuple (Branch, relative-path),
764
which allows direct access to the common case of 'get me this file
765
from its branch'. (Robert Collins)
767
* Transports can register using register_lazy_transport, and they
768
will be loaded when first used. (Martin Pool)
770
* 'pull' has been factored out of the command as WorkingTree.pull().
771
A new option to WorkingTree.pull has been added, clobber, which will
772
ignore diverged history and pull anyway.
775
* config.Config has a 'get_user_option' call that accepts an option name.
776
This will be looked up in branches.conf and bazaar.conf as normal.
777
It is intended that this be used by plugins to support options -
778
options of built in programs should have specific methods on the config.
781
* merge.merge_inner now has tempdir as an optional parameter. (Robert
784
* Tree.kind is not recorded at the top level of the hierarchy, as it was
785
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
788
* WorkingTree.__del__ has been removed, it was non deterministic and not
789
doing what it was intended to. See WorkingTree.__init__ for a comment
790
about future directions. (Robert Collins/Martin Pool)
792
* bzrlib.transport.http has been modified so that only 404 urllib errors
793
are returned as NoSuchFile. Other exceptions will propogate as normal.
794
This allows debuging of actual errors. (Robert Collins)
796
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
797
to apis like 'put', 'get' and 'has'. This is to provide consistent
798
behaviour - it operates on url's only. (Robert Collins)
800
* Transports can register using register_lazy_transport, and they
801
will be loaded when first used. (Martin Pool)
803
* 'merge_flex' no longer calls conflict_handler.finalize(), instead that
804
is called by merge_inner. This is so that the conflict count can be
805
retrieved (and potentially manipulated) before returning to the caller
806
of merge_inner. Likewise 'merge' now returns the conflict count to the
807
caller. (Robert Collins)
809
* 'revision.revision_graph can handle having only partial history for
810
a revision - that is no revisions in the graph with no parents.
813
* New builtins.branch_files uses the standard file_list rules to produce
814
a branch and a list of paths, relative to that branch (Aaron Bentley)
816
* New TestCase.addCleanup facility.
818
* New bzrlib.version_info tuple (similar to sys.version_info), which can
819
be used by programs importing bzrlib.
823
* Better handling of branches in directories with non-ascii names.
824
(Joel Rosdahl, Panagiotis Papadakos)
826
* Upgrades of trees with no commits will not fail due to accessing
827
[-1] in the revision-history. (Andres Salomon)
834
* Fix problem in pulling over http from machines that do not
835
allow directories to be listed.
837
* Avoid harmless warning about invalid hash cache after
838
upgrading branch format.
842
* Avoid some unnecessary http operations in branch and pull.
849
* 'bzr branch' over http initially gives a very high estimate
850
of completion time but it should fall as the first few
851
revisions are pulled in. branch is still slow on
852
high-latency connections.
856
* bzr-man.py has been updated to work again. Contributed by
859
* Locking is now done with fcntl.lockf which works with NFS
860
file systems. Contributed by Harald Meland.
862
* When a merge encounters a file that has been deleted on
863
one side and modified on the other, the old contents are
864
written out to foo.BASE and foo.SIDE, where SIDE is this
865
or OTHER. Contributed by Aaron Bentley.
867
* Export was choosing incorrect file paths for the content of
868
the tarball, this has been fixed by Aaron Bentley.
870
* Commit will no longer commit without a log message, an
871
error is returned instead. Contributed by Jelmer Vernooij.
873
* If you commit a specific file in a sub directory, any of its
874
parent directories that are added but not listed will be
875
automatically included. Suggested by Michael Ellerman.
877
* bzr commit and upgrade did not correctly record new revisions
878
for files with only a change to their executable status.
879
bzr will correct this when it encounters it. Fixed by
882
* HTTP tests now force off the use of http_proxy for the duration.
883
Contributed by Gustavo Niemeyer.
885
* Fix problems in merging weave-based branches that have
886
different partial views of history.
888
* Symlink support: working with symlinks when not in the root of a
889
bzr tree was broken, patch from Scott James Remnant.
894
* 'branch' now accepts a --basis parameter which will take advantage
895
of local history when making a new branch. This allows faster
896
branching of remote branches. Contributed by Aaron Bentley.
898
* New tree format based on weave files, called version 5.
899
Existing branches can be upgraded to this format using
902
* Symlinks are now versionable. Initial patch by
903
Erik Toubro Nielsen, updated to head by Robert Collins.
905
* Executable bits are tracked on files. Patch from Gustavo
908
* 'bzr status' now shows unknown files inside a selected directory.
909
Patch from Heikki Paajanen.
911
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
912
and 'resolve' have needed added, which list and remove those
913
merge conflicts respectively. A conflicted tree cannot be committed
914
in. Contributed by Aaron Bentley.
916
* 'rm' is now an alias for 'remove'.
918
* Stores now split out their content in a single byte prefixed hash,
919
dropping the density of files per directory by 256. Contributed by
922
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
923
Contributed by Robert Collins.
925
* 'bzr log' with the default formatter will show merged revisions,
926
indented to the right. Initial implementation contributed by Gustavo
927
Niemeyer, made incremental by Robert Collins.
932
* Test case failures have the exception printed after the log
933
for your viewing pleasure.
935
* InventoryEntry is now an abstract base class, use one of the
936
concrete InventoryDirectory etc classes instead.
938
* Branch raises an UnsupportedFormatError when it detects a
939
bzr branch it cannot understand. This allows for precise
940
handling of such circumstances.
945
* Removed testsweet module so that tests can be run after
946
bzr installed by 'bzr selftest'.
948
* 'bzr selftest' command-line arguments can now be partial ids
949
of tests to run, e.g. 'bzr selftest test_weave'
956
* Fixed "branch -r" option.
958
* Fix remote access to branches containing non-compressed history.
961
* Better reliability of http server tests. (John Arbash-Meinel)
963
* Merge graph maximum distance calculation fix. (Aaron Bentley)
965
* Various minor bug in windows support have been fixed, largely in the
966
test suite. Contributed by Alexander Belchenko.
970
* Status now accepts a -r argument to give status between chosen
971
revisions. Contributed by Heikki Paajanen.
973
* Revision arguments no longer use +/-/= to control ranges, instead
974
there is a 'before' namespace, which limits the successive namespace.
975
For example '$ bzr log -r date:yesterday..before:date:today' will
976
select everything from yesterday and before today. Contributed by
979
* There is now a bzr.bat file created by distutils when building on
980
Windows. Contributed by Alexander Belchenko.
984
* Removed uuid() as it was unused.
986
* Improved 'fetch' code for pulling revisions from one branch into
987
another (used by pull, merged, etc.)
994
* Adding a file whose parent directory is not versioned will
995
implicitly add the parent, and so on up to the root. This means
996
you should never need to explictly add a directory, they'll just
997
get added when you add a file in the directory. Contributed by
1000
* Ignore .DS_Store (contains Mac metadata) by default. Patch from
1003
* If you set BZR_EDITOR in the environment, it is checked in
1004
preference to EDITOR and the config file for the interactive commit
1005
editing program. Related to this is a bugfix where a missing program
1006
set in EDITOR would cause editing to fail, now the fallback program
1007
for the operating system is still tried.
1009
* Files that are not directories/symlinks/regular files will no longer
1010
cause bzr to fail, it will just ignore them by default. You cannot add
1011
them to the tree though - they are not versionable.
1016
* Refactor xml packing/unpacking.
1020
* Fixed 'bzr mv' by Ollie Rutherfurd.
1022
* Fixed strange error when trying to access a nonexistent http
1025
* Make sure that the hashcache gets written out if it can't be
1031
* Various Windows fixes from Ollie Rutherfurd.
1033
* Quieten warnings about locking; patch from Matt Lavin.
1036
bzr-0.0.7 2005-09-02
1040
* ``bzr shell-complete`` command contributed by Clint Adams to
1041
help with intelligent shell completion.
1043
* New expert command ``bzr find-merge-base`` for debugging merges.
1048
* Much better merge support.
1050
* merge3 conflicts are now reported with markers like '<<<<<<<'
1051
(seven characters) which is the same as CVS and pleases things
1057
* ``bzr upgrade`` no longer fails when trying to fix trees that
1058
mention revisions that are not present.
1060
* Fixed bugs in listing plugins from ``bzr plugins``.
1062
* Fix case of $EDITOR containing options for the editor.
1064
* Fix log -r refusing to show the last revision.
1065
(Patch from Goffredo Baroncelli.)
1070
* ``bzr log --show-ids`` shows the revision ids of all parents.
1072
* Externally provided commands on your $BZRPATH no longer need
1073
to recognize --bzr-usage to work properly, and can just handle
1079
* Changed trace messages to go through the standard logging
1080
framework, so that they can more easily be redirected by
1085
bzr-0.0.6 2005-08-18
1089
* Python plugins, automatically loaded from the directories on
1090
BZR_PLUGIN_PATH or ~/.bzr.conf/plugins by default.
1092
* New 'bzr mkdir' command.
1094
* Commit mesage is fetched from an editor if not given on the
1095
command line; patch from Torsten Marek.
1097
* ``bzr log -m FOO`` displays commits whose message matches regexp
1100
* ``bzr add`` with no arguments adds everything under the current directory.
1102
* ``bzr mv`` does move or rename depending on its arguments, like
1105
* ``bzr missing`` command shows a summary of the differences
1106
between two trees. (Merged from John Arbash-Meinel.)
1108
* An email address for commits to a particular tree can be
1109
specified by putting it into .bzr/email within a branch. (Based
1110
on a patch from Heikki Paajanen.)
1115
* Faster working tree operations.
1120
* 3rd-party modules shipped with bzr are copied within the bzrlib
1121
python package, so that they can be installed by the setup
1122
script without clashing with anything already existing on the
1123
system. (Contributed by Gustavo Niemeyer.)
1125
* Moved plugins directory to bzrlib/, so that there's a standard
1126
plugin directory which is not only installed with bzr itself but
1127
is also available when using bzr from the development tree.
1128
BZR_PLUGIN_PATH and DEFAULT_PLUGIN_PATH are then added to the
1129
standard plugins directory.
1131
* When exporting to a tarball with ``bzr export --format tgz``, put
1132
everything under a top directory rather than dumping it into the
1133
current directory. This can be overridden with the ``--root``
1134
option. Patch from William Dodé and John Meinel.
1136
* New ``bzr upgrade`` command to upgrade the format of a branch,
1137
replacing ``bzr check --update``.
1139
* Files within store directories are no longer marked readonly on
1142
* Changed ``bzr log`` output to a more compact form suggested by
1143
John A Meinel. Old format is available with the ``--long`` or
1144
``-l`` option, patched by William Dodé.
1146
* By default the commit command refuses to record a revision with
1147
no changes unless the ``--unchanged`` option is given.
1149
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
1150
line options must come before the command name because they
1151
affect what commands are available; all other options must come
1152
after the command name because their interpretation depends on
1155
* ``branch`` and ``clone`` added as aliases for ``branch``.
1157
* Default log format is back to the long format; the compact one
1158
is available with ``--short``.
1163
* Fix bugs in committing only selected files or within a subdirectory.
1166
bzr-0.0.5 2005-06-15
1170
* ``bzr`` with no command now shows help rather than giving an
1171
error. Suggested by Michael Ellerman.
1173
* ``bzr status`` output format changed, because svn-style output
1174
doesn't really match the model of bzr. Now files are grouped by
1175
status and can be shown with their IDs. ``bzr status --all``
1176
shows all versioned files and unknown files but not ignored files.
1178
* ``bzr log`` runs from most-recent to least-recent, the reverse
1179
of the previous order. The previous behaviour can be obtained
1180
with the ``--forward`` option.
1182
* ``bzr inventory`` by default shows only filenames, and also ids
1183
if ``--show-ids`` is given, in which case the id is the second
1189
* New 'bzr whoami --email' option shows only the email component
1190
of the user identification, from Jo Vermeulen.
1192
* New ``bzr ignore PATTERN`` command.
1194
* Nicer error message for broken pipe, interrupt and similar
1195
conditions that don't indicate an internal error.
1197
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
1199
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
1200
either read or write mode.
1202
* New option ``bzr log --show-ids`` shows revision and file ids.
1204
* New usage ``bzr log FILENAME`` shows only revisions that
1207
* Changed format for describing changes in ``bzr log -v``.
1209
* New option ``bzr commit --file`` to take a message from a file,
1210
suggested by LarstiQ.
1212
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
1213
Oler. File may be in a branch other than the working directory.
1215
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
1218
* Commands can now be defined by external programs or scripts
1219
in a directory on $BZRPATH.
1221
* New "stat cache" avoids reading the contents of files if they
1222
haven't changed since the previous time.
1224
* If the Python interpreter is too old, try to find a better one
1225
or give an error. Based on a patch from Fredrik Lundh.
1227
* New optional parameter ``bzr info [BRANCH]``.
1229
* New form ``bzr commit SELECTED`` to commit only selected files.
1231
* New form ``bzr log -r FROM:TO`` shows changes in selected
1232
range; contributed by John A Meinel.
1234
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
1235
options through to an external GNU diff.
1237
* New option ``bzr add --no-recurse`` to add a directory but not
1240
* ``bzr --version`` now shows more information if bzr is being run
1246
* Fixed diff format so that added and removed files will be
1247
handled properly by patch. Fix from Lalo Martins.
1249
* Various fixes for files whose names contain spaces or other
1255
* Converted black-box test suites from Bourne shell into Python;
1256
now run using ``./testbzr``. Various structural improvements to
1259
* testbzr by default runs the version of bzr found in the same
1260
directory as the tests, or the one given as the first parameter.
1262
* testbzr also runs the internal tests, so the only command
1263
required to check is just ``./testbzr``.
1265
* testbzr requires python2.4, but can be used to test bzr running
1266
under a different version.
1268
* Tests added for many other changes in this release.
1273
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
1275
* Refactor command functions into Command objects based on HCT by
1276
Scott James Remnant.
1278
* Better help messages for many commands.
1280
* Expose bzrlib.open_tracefile() to start the tracefile; until
1281
this is called trace messages are just discarded.
1283
* New internal function find_touching_revisions() and hidden
1284
command touching-revisions trace the changes to a given file.
1286
* Simpler and faster compare_inventories() function.
1288
* bzrlib.open_tracefile() takes a tracefilename parameter.
1290
* New AtomicFile class.
1292
* New developer commands ``added``, ``modified``.
1297
* Cope on Windows on python2.3 by using the weaker random seed.
1298
2.4 is now only recommended.
1301
bzr-0.0.4 2005-04-22
1305
* 'bzr diff' optionally takes a list of files to diff. Still a bit
1306
basic. Patch from QuantumG.
1308
* More default ignore patterns.
1310
* New 'bzr log --verbose' shows a list of files changed in the
1311
changeset. Patch from Sebastian Cote.
1313
* Roll over ~/.bzr.log if it gets too large.
1315
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
1318
* New 'bzr help commands' based on a patch from Denys Duchier.
1323
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
1324
or $EMAIL. All are decoded by the locale preferred encoding.
1325
If none of these are present user@hostname is used. The host's
1326
fully-qualified name is not used because that tends to fail when
1327
there are DNS problems.
1329
* New 'bzr whoami' command instead of username user-email.
1334
* Make commit safe for hardlinked bzr trees.
1336
* Some Unicode/locale fixes.
1338
* Partial workaround for difflib.unified_diff not handling
1339
trailing newlines properly.
1344
* Allow docstrings for help to be in PEP0257 format. Patch from
1347
* More tests in test.sh.
1349
* Write profile data to a temporary file not into working
1350
directory and delete it when done.
1352
* Smaller .bzr.log with process ids.
1357
* Fix opening of ~/.bzr.log on Windows. Patch from Andrew
1360
* Some improvements in handling paths on Windows, based on a patch
1364
bzr-0.0.3 2005-04-06
1368
* New "directories" internal command lists versioned directories
1371
* Can now say "bzr commit --help".
1373
* New "rename" command to rename one file to a different name
1376
* New "move" command to move one or more files into a different
1379
* New "renames" command lists files renamed since base revision.
1381
* New cat command contributed by janmar.
1385
* .bzr.log is placed in $HOME (not pwd) and is always written in
1386
UTF-8. (Probably not a completely good long-term solution, but
1391
* Workaround for difflib bug in Python 2.3 that causes an
1392
exception when comparing empty files. Reported by Erik Toubro
1397
* Refactored inventory storage to insert a root entry at the top.
1401
* Start of shell-based black-box testing in test.sh.
1408
* Win32 fixes from Steve Brown.
1411
bzr-0.0.2 "black cube" 2005-03-31
1415
* Default ignore list extended (see bzrlib/__init__.py).
1417
* Patterns in .bzrignore are now added to the default ignore list,
1418
rather than replacing it.
1420
* Ignore list isn't reread for every file.
1424
* Reinstate the 'bzr check' command to check invariants of the
1427
* New 'ignored' command lists which files are ignored and why;
1428
'deleted' lists files deleted in the current working tree.
1430
* Performance improvements.
1432
* New global --profile option.
1434
* Ignore patterns like './config.h' now correctly match files in
1435
the root directory only.
1438
bzr-0.0.1 2005-03-26
1442
* More information from info command.
1444
* Can now say "bzr help COMMAND" for more detailed help.
1446
* Less file flushing and faster performance when writing logs and
1447
committing to stores.
1449
* More useful verbose output from some commands.
1453
* Fix inverted display of 'R' and 'M' during 'commit -v'.
1457
* Include a subset of ElementTree-1.2.20040618 to make
1458
installation easier.
1460
* Fix time.localtime call to work with Python 2.3 (the minimum
1464
bzr-0.0.0.69 2005-03-22
1468
* First public release.
1470
* Storage of local versions: init, add, remove, rm, info, log,