5
* No default ignore rules are applied by bzr - only the rules in .bzrignore
6
are considered. This fixes bugs with default rules being enforced no
7
matter what. The old list of ignore rules from bzr is available by
8
running 'bzr ignore --old-default-rules'.
10
* Tests updates to ensure proper URL handling, UNICODE support, and
11
proper printing when the user's terminal encoding cannot display
12
the path of a file that has been versioned.
13
``bzr branch`` can take a target URL rather than only a local directory.
14
Branch.get_parent()/set_parent() now save a relative path if possible,
15
and normalize the parent based on root, allowing access across
16
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
17
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
20
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
21
Use terminal width for single-line logs from ``bzr log --line`` and
22
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
25
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
28
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
30
* Show the correct number of revisions pushed when pushing a new branch.
33
* 'bzr selftest' now shows a progress bar with the number of tests, and
34
progress made. 'make check' shows tests in -v mode, to be more useful
35
for the PQM status window. (Robert Collins).
37
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
38
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
39
profile data for the individual profiled calls, allowing for fine
40
grained analysis of performance.
41
(Robert Collins, Martin Pool).
43
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
44
where commit can take an appreciable time. (Robert Collins)
46
* 'bzr add' is now less verbose in telling you what ignore globs were
47
matched by files being ignored. Instead it just tells you how many
48
were ignored (because you might reasonably be expecting none to be
49
ignored). 'bzr add -v' is unchanged and will report every ignored
50
file. (Robert Collins).
52
* ftp now has a test server if medusa is installed. As part of testing,
53
ftp support has been improved, including support for supplying a
54
non-standard port. (John Arbash Meinel).
56
* 'bzr log --line' shows the revision number, and uses only the
57
first line of the log message (#5162, Alexander Belchenko;
60
* 'bzr status' has had the --all option removed. The 'bzr ls' command
61
should be used to retrieve all versioned files. (Robert Collins)
63
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
64
over email, and applied on the other end, while maintaining ancestry.
65
This bundle can be applied with either 'bzr merge' or 'bzr pull',
66
the same way you would apply another branch.
67
(John Arbash Meinel, Aaron Bentley)
69
* 'branches.conf' has been changed to 'locations.conf', since it can apply
70
to more locations than just branch locations.
73
* 'bzr whoami' can now be used to set your identity from the command line,
74
for a branch or globally. (Robey Pointer)
76
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
79
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
84
* Fix shadowed definition of TestLocationConfig that caused some
85
tests not to run. (#32587, Erik Bågfors, Michael Ellerman,
88
* Fix unnecessary requirement of sign-my-commits that it be run from
89
a working directory. (Martin Pool, Robert Collins)
91
* 'bzr push location' will only remember the push location if it succeeds
92
in connecting to the remote location. (#49742, John Arbash Meinel)
94
* 'bzr revert' no longer toggles the executable bit on win32
95
(#45010, John Arbash Meinel)
97
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
99
* sftp tests now work correctly on win32 if you have a newer paramiko
102
* Cleanup win32 test suite, and general cleanup of places where
103
file handles were being held open. (John Arbash Meinel)
107
* Combine the ignore rules into a single regex rather than looping over
108
them to reduce the threshold where N^2 behaviour occurs in operations
109
like status. (Jan Hudec, Robert Collins).
111
* 'bzr push' should only push the ancestry of the current revision, not
112
all of the history in the repository. This is especially important for
113
shared repositories. (John Arbash Meinel)
115
* bzrlib.delta.compare_trees now iterates in alphabetically sorted order,
116
rather than randomly walking the inventories. (John Arbash Meinel)
118
* Doctests are now run in temporary directories which are cleaned up when
119
they finish, rather than using special ScratchDir/ScratchBranch objects.
122
* Split ``check`` into separate methods on the branch and on the repository,
123
so that it can be specialized in ways that are useful or efficient for
124
different formats. (Martin Pool, Robert Collins)
126
* Deprecate Repository.all_revision_ids; most methods don't really need
127
the global revision graph but only that part leading up to a particular
128
revision. (Martin Pool, Robert Collins)
130
* Add a BzrDirFormat control_formats list which allows for control formats
131
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
132
(Robert Collins, Jelmer Vernooij).
134
* bzrlib.diff.external_diff can be redirected to any file-like object.
135
Uses subprocess instead of spawnvp.
136
(#4047, #48914, James Henstridge, John Arbash Meinel)
138
* New command line option '--profile-imports', which will install a custom
139
importer to log time to import modules and regex compilation time to
140
sys.stderr (John Arbash Meinel)
146
* setup.py failed to install launchpad plugin. (Martin Pool)
152
* Fix failure to commit a merge in a checkout. (Martin Pool,
153
Robert Collins, Erik Bågfors, #43959)
155
* Nicer messages from 'commit' in the case of renames, and correct
156
messages when a merge has occured. (Robert Collins, Martin Pool)
158
* Separate functionality from assert statements as they are skipped in
159
optimized mode of python. Add the same check to pending merges.
160
(#44443, Olaf Conradi)
164
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
166
* Add info on standalone branches without a working tree.
167
(#44155, Olaf Conradi)
169
* Fix bug in knits when raising InvalidRevisionId. (#44284, Olaf Conradi)
173
* Make editor invocation comply with Debian Policy. First check
174
environment variables VISUAL and EDITOR, then try editor from
175
alternatives system. If that all fails, fall back to the pre-defined
176
list of editors. (#42904, Olaf Conradi)
180
* New 'register-branch' command registers a public branch into
181
Launchpad.net, where it can be associated with bugs, etc.
182
(Martin Pool, Bjorn Tillenius, Robert Collins)
186
* New public api in InventoryEntry - 'describe_change(old, new)' which
187
provides a human description of the changes between two old and
188
new. (Robert Collins, Martin Pool)
192
* Fix test case for bzr info in upgrading a standalone branch to metadir,
193
uses bzrlib api now. (Olaf Conradi)
197
NOTES WHEN UPGRADING:
199
Release 0.8 of bzr introduces a new format for history storage, called
200
'knit', as an evolution of to the 'weave' format used in 0.7. Local
201
and remote operations are faster using knits than weaves. Several
202
operations including 'init', 'init-repo', and 'upgrade' take a
203
--format option that controls this. Branching from an existing branch
204
will keep the same format.
206
It is possible to merge, pull and push between branches of different
207
formats but this is slower than moving data between homogenous
208
branches. It is therefore recommended (but not required) that you
209
upgrade all branches for a project at the same time. Information on
210
formats is shown by 'bzr info'.
212
bzr 0.8 now allows creation of 'repositories', which hold the history
213
of files and revisions for several branches. Previously bzr kept all
214
the history for a branch within the .bzr directory at the root of the
215
branch, and this is still the default. To create a repository, use
216
the new 'bzr init-repo' command. Branches exist as directories under
217
the repository and contain just a small amount of information
218
indicating the current revision of the branch.
220
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
221
subversion. Checkouts are associated with a branch (optionally in a
222
repository), which contains all the historical information. The
223
result is that a checkout can be deleted without losing any
224
already-committed revisions. A new 'update' command is also available.
226
Repositories and checkouts are not supported with the 0.7 storage
227
format. To use them you must upgrad to either knits, or to the
228
'metaweave' format, which uses weaves but changes the .bzr directory
234
* Sftp paths can now be relative, or local, according to the lftp
235
convention. Paths now take the form:
236
sftp://user:pass@host:port/~/relative/path
238
sftp://user:pass@host:port/absolute/path
240
* The FTP transport now tries to reconnect after a temporary
241
failure. ftp put is made atomic. (Matthieu Moy)
243
* The FTP transport now maintains a pool of connections, and
244
reuses them to avoid multiple connections to the same host (like
245
sftp did). (Daniel Silverstone)
247
* The bzr_man.py file has been removed. To create the man page now,
248
use ./generate_docs.py man. The new program can also create other files.
249
Run "python generate_docs.py --help" for usage information. (Hans
250
Ulrich Niedermann & James Blackwell).
252
* Man Page now gives full help (James Blackwell). Help also updated to
253
reflect user config now being stored in .bazaar (Hans Ulrich
256
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
258
* Pull now accepts a --revision argument (Erik Bågfors)
260
* 'bzr re-sign' now allows multiple revisions to be supplied on the command
261
line. You can now use the following command to sign all of your old commits.
262
find .bzr/revision-store// -name my@email-* \
263
| sed 's/.*\/\/..\///' \
266
* Upgrade can now upgrade over the network. (Robert Collins)
268
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
269
behaviour. By default they will cache history in the checkout, but
270
with --lightweight almost all data is kept in the master branch.
273
* 'revert' unversions newly-versioned files, instead of deleting them.
275
* 'merge' is more robust. Conflict messages have changed.
277
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
280
* Default log format can be set in configuration and plugins can register
281
their own formatters. (Erik Bågfors)
283
* New 'reconcile' command will check branch consistency and repair indexes
284
that can become out of sync in pre 0.8 formats. (Robert Collins,
287
* New 'bzr init --format' and 'bzr upgrade --format' option to control
288
what storage format is created or produced. (Robert Collins,
291
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
293
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
295
* New 'init-repository' command, plus support for repositories in 'init'
296
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
298
* Improve output of 'info' command. Show all relevant locations related to
299
working tree, branch and repository. Use kibibytes for binary quantities.
300
Fix off-by-one error in missing revisions of working tree. Make 'info'
301
work on branches, repositories and remote locations. Show locations
302
relative to the shared repository, if applicable. Show locking status
303
of locations. (Olaf Conradi)
305
* Diff and merge now safely handle binary files. (Aaron Bentley)
307
* 'pull' and 'push' now normalise the revision history, so that any two
308
branches with the same tip revision will have the same output from 'log'.
311
* 'merge' accepts --remember option to store parent location, like 'push'
312
and 'pull'. (Olaf Conradi)
314
* bzr status and diff when files given as arguments do not exist
315
in the relevant trees. (Martin Pool, #3619)
317
* Add '.hg' to the default ignore list. (Martin Pool)
319
* 'knit' is now the default disk format. This improves disk performance and
320
utilization, increases incremental pull performance, robustness with SFTP
321
and allows checkouts over SFTP to perform acceptably.
322
The initial Knit code was contributed by Johan Rydberg based on a
323
specification by Martin Pool.
324
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
326
* New tool to generate all-in-one html version of the manual. (Alexander
329
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
330
to be left in the SFTP repository. (Robert Collins, Martin Pool).
332
* New option 'diff --prefix' to control how files are named in diff
333
output, with shortcuts '-p0' and '-p1' corresponding to the options for
334
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
336
* Add --revision option to 'annotate' command. (Olaf Conradi)
338
* If bzr shows an unexpected revision-history after pulling (perhaps due
339
to a reweave) it can now be corrected by 'bzr reconcile'.
344
* Commit is now verbose by default, and shows changed filenames and the
345
new revision number. (Robert Collins, Martin Pool)
347
* Unify 'mv', 'move', 'rename'. (#5379, Matthew Fuller)
349
* 'bzr -h' shows help. (#35940, Martin Pool, Ian Bicking)
351
* Make 'pull' and 'push' remember location on failure using --remember.
354
* For compatibility, make old format for using weaves inside metadir
355
available as 'metaweave' format. Rename format 'metadir' to 'default'.
356
Clean up help for option --format in commands 'init', 'init-repo' and
357
'upgrade'. (Olaf Conradi)
361
* The internal storage of history, and logical branch identity have now
362
been split into Branch, and Repository. The common locking and file
363
management routines are now in bzrlib.lockablefiles.
364
(Aaron Bentley, Robert Collins, Martin Pool)
366
* Transports can now raise DependencyNotPresent if they need a library
367
which is not installed, and then another implementation will be
370
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
373
* Using Tree Transform for merge, revert, tree-building
375
* WorkingTree.create, Branch.create, WorkingTree.create_standalone,
376
Branch.initialize are now deprecated. Please see BzrDir.create_* for
377
replacement API's. (Robert Collins)
379
* New BzrDir class represents the .bzr control directory and manages
380
formatting issues. (Robert Collins)
382
* New repository.InterRepository class encapsulates Repository to
383
Repository actions and allows for clean selection of optimised code
384
paths. (Robert Collins)
386
* bzrlib.fetch.fetch and bzrlib.fetch.greedy_fetch are now deprecated,
387
please use 'branch.fetch' or 'repository.fetch' depending on your
388
needs. (Robert Collins)
390
* deprecated methods now have a 'is_deprecated' flag on them that can
391
be checked, if you need to determine whether a given callable is
392
deprecated at runtime. (Robert Collins)
394
* Progress bars are now nested - see
395
bzrlib.ui.ui_factory.nested_progress_bar. (Robert Collins, Robey Pointer)
397
* New API call get_format_description() for each type of format.
400
* Changed branch.set_parent() to accept None to remove parent.
403
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
405
* WorkingTree.branch is now a read only property. (Robert Collins)
407
* bzrlib.ui.text.TextUIFactory now accepts a bar_type parameter which
408
can be None or a factory that will create a progress bar. This is
409
useful for testing or for overriding the bzrlib.progress heuristic.
412
* New API method get_physical_lock_status() to query locks present on a
413
transport. (Olaf Conradi)
415
* Repository.reconcile now takes a thorough keyword parameter to allow
416
requesting an indepth reconciliation, rather than just a data-loss
417
check. (Robert Collins)
419
* bzrlib.ui.ui_factory protocol now supports 'get_boolean' to prompt
420
the user for yes/no style input. (Robert Collins)
424
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
425
for testing SFTP protocol support. (Robey Pointer)
427
* Branch formats are now tested once per implementation (see bzrlib.
428
tests.branch_implementations. This is analagous to the transport
429
interface tests, and has been followed up with working tree,
430
repository and BzrDir tests. (Robert Collins)
432
* New test base class TestCaseWithTransport provides a transport aware
433
test environment, useful for testing any transport-interface using
434
code. The test suite option --transport controls the transport used
435
by this class (when its not being used as part of implementation
436
contract testing). (Robert Collins)
438
* Close logging handler on disabling the test log. This will remove the
439
handler from the internal list inside python's logging module,
440
preventing shutdown from closing it twice. (Olaf Conradi)
442
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
444
* run_bzr and run_bzr_captured now accept a 'stdin="foo"' parameter which
445
will provide String("foo") to the command as its stdin.
451
* .bzrignore is excluded from exports, on the grounds that it's a bzr
452
internal-use file and may not be wanted. (Jamie Wilkinson)
454
* The "bzr directories" command were removed in favor of the new
455
--kind option to the "bzr inventory" command. To list all
456
versioned directories, now use "bzr inventory --kind directory".
459
* Under Windows configuration directory is now %APPDATA%\bazaar\2.0
460
by default. (John Arbash Meinel)
462
* The parent of Bzr configuration directory can be set by BZR_HOME
463
environment variable. Now the path for it is searched in BZR_HOME, then
464
in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
465
points to C:\Documents and Settings\User Name\Application Data), HOME.
468
* Plugins with the same name in different directories in the bzr plugin
469
path are no longer loaded: only the first successfully loaded one is
470
used. (Robert Collins)
472
* Use systems' external ssh command to open connections if possible.
473
This gives better integration with user settings such as ProxyCommand.
476
* Permissions on files underneath .bzr/ are inherited from the .bzr
477
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
478
will mean that future file will be created with group write permissions.
480
* configure.in and config.guess are no longer in the builtin default
483
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
484
files. (John Arbash Meinel, Martin Pool)
488
* "bzr INIT dir" now initializes the specified directory, and creates
489
it if it does not exist. (John Arbash Meinel)
491
* New remerge command (Aaron Bentley)
493
* Better zsh completion script. (Steve Borho)
495
* 'bzr diff' now returns 1 when there are changes in the working
496
tree. (Robert Collins)
498
* 'bzr push' now exists and can push changes to a remote location.
499
This uses the transport infrastructure, and can store the remote
500
location in the ~/.bazaar/branches.conf configuration file.
503
* Test directories are only kept if the test fails and the user requests
506
* Tweaks to short log printing
508
* Added branch nicks, new nick command, printing them in log output.
511
* If $BZR_PDB is set, pop into the debugger when an uncaught exception
512
occurs. (Martin Pool)
514
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
515
the same as Subversion. (Martin Pool)
517
* New ftp transport support (on ftplib), for ftp:// and aftp://
518
URLs. (Daniel Silverstone)
520
* Commit editor temporary files now start with 'bzr_log.', to allow
521
text editors to match the file name and set up appropriate modes or
522
settings. (Magnus Therning)
524
* Improved performance when integrating changes from a remote weave.
525
(Goffredo Baroncelli)
527
* Sftp will attempt to cache the connection, so it is more likely that
528
a connection will be reused, rather than requiring multiple password
531
* bzr revno now takes an optional argument indicating the branch whose
532
revno should be printed. (Michael Ellerman)
534
* bzr cat defaults to printing the last version of the file.
535
(#3632, Matthieu Moy)
537
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
538
profiler. (Denys Duchier)
540
* Faster commits by reading only the headers of affected weave files.
543
* 'bzr add' now takes a --dry-run parameter which shows you what would be
544
added, but doesn't actually add anything. (Michael Ellerman)
546
* 'bzr add' now lists how many files were ignored per glob. add --verbose
547
lists the specific files. (Aaron Bentley)
549
* 'bzr missing' now supports displaying changes in diverged trees and can
550
be limited to show what either end of the comparison is missing.
551
(Aaron Bently, with a little prompting from Daniel Silverstone)
555
* SFTP can walk up to the root path without index errors. (Robert Collins)
557
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
559
* Error when run with -OO
561
* Fix bug in reporting http errors that don't have an http error code.
564
* Handle more cases of pipe errors in display commands
566
* Change status to 3 for all errors
568
* Files that are added and unlinked before committing are completely
569
ignored by diff and status
571
* Stores with some compressed texts and some uncompressed texts are now
572
able to be used. (John A Meinel)
574
* Fix for bzr pull failing sometimes under windows
576
* Fix for sftp transport under windows when using interactive auth
578
* Show files which are both renamed and modified as such in 'bzr
579
status' output. (#4503, Daniel Silverstone)
581
* Make annotate cope better with revisions committed without a valid
582
email address. (Marien Zwart)
584
* Fix representation of tab characters in commit messages. (Harald
587
* List of plugin directories in BZR_PLUGIN_PATH environment variable is
588
now parsed properly under Windows. (Alexander Belchenko)
590
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
592
* Keep a cached copy of the basis inventory to speed up operations
593
that need to refer to it. (Johan Rydberg, Martin Pool)
595
* Fix bugs in bzr status display of non-ascii characters. (Martin
598
* Remove Makefile.in from default ignore list. (#6413, Tollef Fog
601
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
605
* Fix selftest asking for passwords when there are no SFTP keys.
606
(Robey Pointer, Jelmer Vernooij)
608
* Fix selftest run with 'python -O'. (Martin Pool)
610
* Fix HTTP tests under Windows. (John Arbash Meinel)
612
* Make tests work even if HOME is not set (Aaron Bentley)
614
* Updated build_tree to use fixed line-endings for tests which read
615
the file cotents and compare. Make some tests use this to pass under
616
Windows. (John Arbash Meinel)
618
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
620
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
623
* Use terminal width to align verbose test output. (Martin Pool)
625
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
626
If adding a new test script please add that to
627
bzrlib.tests.blackbox.__init__. (Robert Collins)
629
* Much better error message if one of the test suites can't be
630
imported. (Martin Pool)
632
* Make check now runs the test suite twice - once with the default locale,
633
and once with all locales forced to C, to expose bugs. This is not
634
trivially done within python, so for now its only triggered by running
635
Make check. Integrators and packagers who wish to check for full
636
platform support should run 'make check' to test the source.
639
* Tests can now run TestSkipped if they can't execute for any reason.
640
(Martin Pool) (NB: TestSkipped should only be raised for correctable
641
reasons - see the wiki spec ImprovingBzrTestSuite).
643
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
644
paths for the transport tests. Introduce blackbox remote sftp tests that
645
test the same permutations. (Robert Collins, Robey Pointer)
647
* Transport implementation tests are now independent of the local file
648
system, which allows tests for esoteric transports, and for features
649
not available in the local file system. They also repeat for variations
650
on the URL scheme that can introduce issues in the transport code,
651
see bzrlib.transport.TransportTestProviderAdapter() for this.
654
* TestCase.build_tree uses the transport interface to build trees, pass
655
in a transport parameter to give it an existing connection.
660
* WorkingTree.pull has been split across Branch and WorkingTree,
661
to allow Branch only pulls. (Robert Collins)
663
* commands.display_command now returns the result of the decorated
664
function. (Robert Collins)
666
* LocationConfig now has a set_user_option(key, value) call to save
667
a setting in its matching location section (a new one is created
668
if needed). (Robert Collins)
670
* Branch has two new methods, get_push_location and set_push_location
671
to respectively, get and set the push location. (Robert Collins)
673
* commands.register_command now takes an optional flag to signal that
674
the registrant is planning to decorate an existing command. When
675
given multiple plugins registering a command is not an error, and
676
the original command class (whether built in or a plugin based one) is
677
returned to the caller. There is a new error 'MustUseDecorated' for
678
signalling when a wrapping command should switch to the original
679
version. (Robert Collins)
681
* Some option parsing errors will raise 'BzrOptionError', allowing
682
granular detection for decorating commands. (Robert Collins).
684
* Branch.read_working_inventory has moved to
685
WorkingTree.read_working_inventory. This necessitated changes to
686
Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
687
as well. To make it clear that a WorkingTree cannot always be obtained
688
Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
689
be obtained. (Robert Collins)
691
* All pending merges operations from Branch are now on WorkingTree.
694
* The follow operations from Branch have moved to WorkingTree:
702
* bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
704
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
706
* Rename selftests to `bzrlib.tests.test_foo`. (John A Meinel, Martin
709
* bzrlib.plugin.all_plugins has been changed from an attribute to a
710
query method. (Robert Collins)
712
* New options to read only the table-of-contents of a weave.
715
* Raise NoSuchFile when someone tries to add a non-existant file.
718
* Simplify handling of DivergedBranches in cmd_pull().
722
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
723
is exposed as Branch().control_files. Also this has been altered with the
724
controlfile pre/suffix replaced by simple method names like 'get' and
725
'put'. (Aaron Bentley, Robert Collins).
727
* Deprecated functions and methods can now be marked as such using the
728
bzrlib.symbol_versioning module. Marked method have their docstring
729
updated and will issue a DeprecationWarning using the warnings module
730
when they are used. (Robert Collins)
732
* bzrlib.osutils.safe_unicode now exists to provide parameter coercion
733
for functions that need unicode strings. (Robert Collins)
739
* pull now takes --verbose to show you what revisions are added or removed
742
* merge now takes a --show-base option to include the base text in
746
* The config files are now read using ConfigObj, so '=' should be used as
747
a separator, not ':'.
750
* New 'bzr commit --strict' option refuses to commit if there are
751
any unknown files in the tree. To commit, make sure all files are
752
either ignored, added, or deleted. (Michael Ellerman)
754
* The config directory is now ~/.bazaar, and there is a single file
755
~/.bazaar/bazaar.conf storing email, editor and other preferences.
758
* 'bzr add' no longer takes a --verbose option, and a --quiet option
759
has been added that suppresses all output.
761
* Improved zsh completion support in contrib/zsh, from Clint
764
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
767
* 'bzr check' now accepts -v for verbose reporting, and checks for
768
ghosts in the branch. (Robert Collins)
770
* New command 're-sign' which will regenerate the gpg signature for
771
a revision. (Robert Collins)
773
* If you set check_signatures=require for a path in
774
~/.bazaar/branches.conf then bzr will invoke your
775
gpg_signing_command (defaults to gpg) and record a digital signature
776
of your commit. (Robert Collins)
778
* New sftp transport, based on Paramiko. (Robey Pointer)
780
* 'bzr pull' now accepts '--clobber' which will discard local changes
781
and make this branch identical to the source branch. (Robert Collins)
783
* Just give a quieter warning if a plugin can't be loaded, and
784
put the details in .bzr.log. (Martin Pool)
786
* 'bzr branch' will now set the branch-name to the last component of the
787
output directory, if one was supplied.
789
* If the option 'post_commit' is set to one (or more) python function
790
names (must be in the bzrlib namespace), then they will be invoked
791
after the commit has completed, with the branch and revision_id as
792
parameters. (Robert Collins)
794
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
796
* --merge-type weave is now supported for file contents. Tree-shape
797
changes are still three-way based. (Martin Pool, Aaron Bentley)
799
* 'bzr check' allows the first revision on revision-history to have
800
parents - something that is expected for cheap checkouts, and occurs
801
when conversions from baz do not have all history. (Robert Collins).
803
* 'bzr merge' can now graft unrelated trees together, if your specify
804
0 as a base. (Aaron Bentley)
806
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
809
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
811
* 'bzr merge --reprocess' minimizes conflicts
815
* The 'bzr selftest --pattern' option for has been removed, now
816
test specifiers on the command line can be simple strings, or
817
regexps, or both. (Robert Collins)
819
* Passing -v to selftest will now show the time each test took to
820
complete, which will aid in analysing performance regressions and
821
related questions. (Robert Collins)
823
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
824
is given. (Martin Pool)
826
* There is a new method for TestCaseInTempDir, assertFileEqual, which
827
will check that a given content is equal to the content of the named
828
file. (Robert Collins)
830
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
835
* New 'testament' command and concept for making gpg-signatures
836
of revisions that are not tied to a particular internal
837
representation. (Martin Pool).
839
* Per-revision properties ('revprops') as key-value associated
840
strings on each revision created when the revision is committed.
841
Intended mainly for the use of external tools. (Martin Pool).
843
* Config options have moved from bzrlib.osutils to bzrlib.config.
846
* Improved command line option definitions allowing explanations
847
for individual options, among other things. Contributed by
850
* Config options have moved from bzrlib.osutils to bzrlib.config.
851
Configuration is now done via the config.Config interface:
852
Depending on whether you have a Branch, a Location or no information
853
available, construct a *Config, and use its signature_checking,
854
username and user_email methods. (Robert Collins)
856
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
857
they are made available for other plugins to use. You should not
858
import other plugins during the __init__ of your plugin though, as
859
no ordering is guaranteed, and the plugins directory is not on the
860
python path. (Robert Collins)
862
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
863
no longer takes an inventory, rather it takes an option branch
864
parameter, and if None is given will open the branch at basedir
865
implicitly. (Robert Collins)
867
* Cleaner exception structure and error reporting. Suggested by
868
Scott James Remnant. (Martin Pool)
870
* Branch.remove has been moved to WorkingTree, which has also gained
871
lock_read, lock_write and unlock methods for convenience. (Robert
874
* Two decorators, needs_read_lock and needs_write_lock have been added
875
to the branch module. Use these to cause a function to run in a
876
read or write lock respectively. (Robert Collins)
878
* Branch.open_containing now returns a tuple (Branch, relative-path),
879
which allows direct access to the common case of 'get me this file
880
from its branch'. (Robert Collins)
882
* Transports can register using register_lazy_transport, and they
883
will be loaded when first used. (Martin Pool)
885
* 'pull' has been factored out of the command as WorkingTree.pull().
886
A new option to WorkingTree.pull has been added, clobber, which will
887
ignore diverged history and pull anyway.
890
* config.Config has a 'get_user_option' call that accepts an option name.
891
This will be looked up in branches.conf and bazaar.conf as normal.
892
It is intended that this be used by plugins to support options -
893
options of built in programs should have specific methods on the config.
896
* merge.merge_inner now has tempdir as an optional parameter. (Robert
899
* Tree.kind is not recorded at the top level of the hierarchy, as it was
900
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
903
* WorkingTree.__del__ has been removed, it was non deterministic and not
904
doing what it was intended to. See WorkingTree.__init__ for a comment
905
about future directions. (Robert Collins/Martin Pool)
907
* bzrlib.transport.http has been modified so that only 404 urllib errors
908
are returned as NoSuchFile. Other exceptions will propogate as normal.
909
This allows debuging of actual errors. (Robert Collins)
911
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
912
to apis like 'put', 'get' and 'has'. This is to provide consistent
913
behaviour - it operates on url's only. (Robert Collins)
915
* Transports can register using register_lazy_transport, and they
916
will be loaded when first used. (Martin Pool)
918
* 'merge_flex' no longer calls conflict_handler.finalize(), instead that
919
is called by merge_inner. This is so that the conflict count can be
920
retrieved (and potentially manipulated) before returning to the caller
921
of merge_inner. Likewise 'merge' now returns the conflict count to the
922
caller. (Robert Collins)
924
* 'revision.revision_graph can handle having only partial history for
925
a revision - that is no revisions in the graph with no parents.
928
* New builtins.branch_files uses the standard file_list rules to produce
929
a branch and a list of paths, relative to that branch (Aaron Bentley)
931
* New TestCase.addCleanup facility.
933
* New bzrlib.version_info tuple (similar to sys.version_info), which can
934
be used by programs importing bzrlib.
938
* Better handling of branches in directories with non-ascii names.
939
(Joel Rosdahl, Panagiotis Papadakos)
941
* Upgrades of trees with no commits will not fail due to accessing
942
[-1] in the revision-history. (Andres Salomon)
949
* Fix problem in pulling over http from machines that do not
950
allow directories to be listed.
952
* Avoid harmless warning about invalid hash cache after
953
upgrading branch format.
957
* Avoid some unnecessary http operations in branch and pull.
964
* 'bzr branch' over http initially gives a very high estimate
965
of completion time but it should fall as the first few
966
revisions are pulled in. branch is still slow on
967
high-latency connections.
971
* bzr-man.py has been updated to work again. Contributed by
974
* Locking is now done with fcntl.lockf which works with NFS
975
file systems. Contributed by Harald Meland.
977
* When a merge encounters a file that has been deleted on
978
one side and modified on the other, the old contents are
979
written out to foo.BASE and foo.SIDE, where SIDE is this
980
or OTHER. Contributed by Aaron Bentley.
982
* Export was choosing incorrect file paths for the content of
983
the tarball, this has been fixed by Aaron Bentley.
985
* Commit will no longer commit without a log message, an
986
error is returned instead. Contributed by Jelmer Vernooij.
988
* If you commit a specific file in a sub directory, any of its
989
parent directories that are added but not listed will be
990
automatically included. Suggested by Michael Ellerman.
992
* bzr commit and upgrade did not correctly record new revisions
993
for files with only a change to their executable status.
994
bzr will correct this when it encounters it. Fixed by
997
* HTTP tests now force off the use of http_proxy for the duration.
998
Contributed by Gustavo Niemeyer.
1000
* Fix problems in merging weave-based branches that have
1001
different partial views of history.
1003
* Symlink support: working with symlinks when not in the root of a
1004
bzr tree was broken, patch from Scott James Remnant.
1009
* 'branch' now accepts a --basis parameter which will take advantage
1010
of local history when making a new branch. This allows faster
1011
branching of remote branches. Contributed by Aaron Bentley.
1013
* New tree format based on weave files, called version 5.
1014
Existing branches can be upgraded to this format using
1017
* Symlinks are now versionable. Initial patch by
1018
Erik Toubro Nielsen, updated to head by Robert Collins.
1020
* Executable bits are tracked on files. Patch from Gustavo
1023
* 'bzr status' now shows unknown files inside a selected directory.
1024
Patch from Heikki Paajanen.
1026
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
1027
and 'resolve' have needed added, which list and remove those
1028
merge conflicts respectively. A conflicted tree cannot be committed
1029
in. Contributed by Aaron Bentley.
1031
* 'rm' is now an alias for 'remove'.
1033
* Stores now split out their content in a single byte prefixed hash,
1034
dropping the density of files per directory by 256. Contributed by
1037
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
1038
Contributed by Robert Collins.
1040
* 'bzr log' with the default formatter will show merged revisions,
1041
indented to the right. Initial implementation contributed by Gustavo
1042
Niemeyer, made incremental by Robert Collins.
1047
* Test case failures have the exception printed after the log
1048
for your viewing pleasure.
1050
* InventoryEntry is now an abstract base class, use one of the
1051
concrete InventoryDirectory etc classes instead.
1053
* Branch raises an UnsupportedFormatError when it detects a
1054
bzr branch it cannot understand. This allows for precise
1055
handling of such circumstances.
1060
* Removed testsweet module so that tests can be run after
1061
bzr installed by 'bzr selftest'.
1063
* 'bzr selftest' command-line arguments can now be partial ids
1064
of tests to run, e.g. 'bzr selftest test_weave'
1067
bzr 0.0.9 2005-09-23
1071
* Fixed "branch -r" option.
1073
* Fix remote access to branches containing non-compressed history.
1076
* Better reliability of http server tests. (John Arbash-Meinel)
1078
* Merge graph maximum distance calculation fix. (Aaron Bentley)
1080
* Various minor bug in windows support have been fixed, largely in the
1081
test suite. Contributed by Alexander Belchenko.
1085
* Status now accepts a -r argument to give status between chosen
1086
revisions. Contributed by Heikki Paajanen.
1088
* Revision arguments no longer use +/-/= to control ranges, instead
1089
there is a 'before' namespace, which limits the successive namespace.
1090
For example '$ bzr log -r date:yesterday..before:date:today' will
1091
select everything from yesterday and before today. Contributed by
1094
* There is now a bzr.bat file created by distutils when building on
1095
Windows. Contributed by Alexander Belchenko.
1099
* Removed uuid() as it was unused.
1101
* Improved 'fetch' code for pulling revisions from one branch into
1102
another (used by pull, merged, etc.)
1105
bzr 0.0.8 2005-09-20
1109
* Adding a file whose parent directory is not versioned will
1110
implicitly add the parent, and so on up to the root. This means
1111
you should never need to explictly add a directory, they'll just
1112
get added when you add a file in the directory. Contributed by
1115
* Ignore .DS_Store (contains Mac metadata) by default. Patch from
1118
* If you set BZR_EDITOR in the environment, it is checked in
1119
preference to EDITOR and the config file for the interactive commit
1120
editing program. Related to this is a bugfix where a missing program
1121
set in EDITOR would cause editing to fail, now the fallback program
1122
for the operating system is still tried.
1124
* Files that are not directories/symlinks/regular files will no longer
1125
cause bzr to fail, it will just ignore them by default. You cannot add
1126
them to the tree though - they are not versionable.
1131
* Refactor xml packing/unpacking.
1135
* Fixed 'bzr mv' by Ollie Rutherfurd.
1137
* Fixed strange error when trying to access a nonexistent http
1140
* Make sure that the hashcache gets written out if it can't be
1146
* Various Windows fixes from Ollie Rutherfurd.
1148
* Quieten warnings about locking; patch from Matt Lavin.
1151
bzr-0.0.7 2005-09-02
1155
* ``bzr shell-complete`` command contributed by Clint Adams to
1156
help with intelligent shell completion.
1158
* New expert command ``bzr find-merge-base`` for debugging merges.
1163
* Much better merge support.
1165
* merge3 conflicts are now reported with markers like '<<<<<<<'
1166
(seven characters) which is the same as CVS and pleases things
1172
* ``bzr upgrade`` no longer fails when trying to fix trees that
1173
mention revisions that are not present.
1175
* Fixed bugs in listing plugins from ``bzr plugins``.
1177
* Fix case of $EDITOR containing options for the editor.
1179
* Fix log -r refusing to show the last revision.
1180
(Patch from Goffredo Baroncelli.)
1185
* ``bzr log --show-ids`` shows the revision ids of all parents.
1187
* Externally provided commands on your $BZRPATH no longer need
1188
to recognize --bzr-usage to work properly, and can just handle
1194
* Changed trace messages to go through the standard logging
1195
framework, so that they can more easily be redirected by
1200
bzr-0.0.6 2005-08-18
1204
* Python plugins, automatically loaded from the directories on
1205
BZR_PLUGIN_PATH or ~/.bzr.conf/plugins by default.
1207
* New 'bzr mkdir' command.
1209
* Commit mesage is fetched from an editor if not given on the
1210
command line; patch from Torsten Marek.
1212
* ``bzr log -m FOO`` displays commits whose message matches regexp
1215
* ``bzr add`` with no arguments adds everything under the current directory.
1217
* ``bzr mv`` does move or rename depending on its arguments, like
1220
* ``bzr missing`` command shows a summary of the differences
1221
between two trees. (Merged from John Arbash-Meinel.)
1223
* An email address for commits to a particular tree can be
1224
specified by putting it into .bzr/email within a branch. (Based
1225
on a patch from Heikki Paajanen.)
1230
* Faster working tree operations.
1235
* 3rd-party modules shipped with bzr are copied within the bzrlib
1236
python package, so that they can be installed by the setup
1237
script without clashing with anything already existing on the
1238
system. (Contributed by Gustavo Niemeyer.)
1240
* Moved plugins directory to bzrlib/, so that there's a standard
1241
plugin directory which is not only installed with bzr itself but
1242
is also available when using bzr from the development tree.
1243
BZR_PLUGIN_PATH and DEFAULT_PLUGIN_PATH are then added to the
1244
standard plugins directory.
1246
* When exporting to a tarball with ``bzr export --format tgz``, put
1247
everything under a top directory rather than dumping it into the
1248
current directory. This can be overridden with the ``--root``
1249
option. Patch from William Dodé and John Meinel.
1251
* New ``bzr upgrade`` command to upgrade the format of a branch,
1252
replacing ``bzr check --update``.
1254
* Files within store directories are no longer marked readonly on
1257
* Changed ``bzr log`` output to a more compact form suggested by
1258
John A Meinel. Old format is available with the ``--long`` or
1259
``-l`` option, patched by William Dodé.
1261
* By default the commit command refuses to record a revision with
1262
no changes unless the ``--unchanged`` option is given.
1264
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
1265
line options must come before the command name because they
1266
affect what commands are available; all other options must come
1267
after the command name because their interpretation depends on
1270
* ``branch`` and ``clone`` added as aliases for ``branch``.
1272
* Default log format is back to the long format; the compact one
1273
is available with ``--short``.
1278
* Fix bugs in committing only selected files or within a subdirectory.
1281
bzr-0.0.5 2005-06-15
1285
* ``bzr`` with no command now shows help rather than giving an
1286
error. Suggested by Michael Ellerman.
1288
* ``bzr status`` output format changed, because svn-style output
1289
doesn't really match the model of bzr. Now files are grouped by
1290
status and can be shown with their IDs. ``bzr status --all``
1291
shows all versioned files and unknown files but not ignored files.
1293
* ``bzr log`` runs from most-recent to least-recent, the reverse
1294
of the previous order. The previous behaviour can be obtained
1295
with the ``--forward`` option.
1297
* ``bzr inventory`` by default shows only filenames, and also ids
1298
if ``--show-ids`` is given, in which case the id is the second
1304
* New 'bzr whoami --email' option shows only the email component
1305
of the user identification, from Jo Vermeulen.
1307
* New ``bzr ignore PATTERN`` command.
1309
* Nicer error message for broken pipe, interrupt and similar
1310
conditions that don't indicate an internal error.
1312
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
1314
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
1315
either read or write mode.
1317
* New option ``bzr log --show-ids`` shows revision and file ids.
1319
* New usage ``bzr log FILENAME`` shows only revisions that
1322
* Changed format for describing changes in ``bzr log -v``.
1324
* New option ``bzr commit --file`` to take a message from a file,
1325
suggested by LarstiQ.
1327
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
1328
Oler. File may be in a branch other than the working directory.
1330
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
1333
* Commands can now be defined by external programs or scripts
1334
in a directory on $BZRPATH.
1336
* New "stat cache" avoids reading the contents of files if they
1337
haven't changed since the previous time.
1339
* If the Python interpreter is too old, try to find a better one
1340
or give an error. Based on a patch from Fredrik Lundh.
1342
* New optional parameter ``bzr info [BRANCH]``.
1344
* New form ``bzr commit SELECTED`` to commit only selected files.
1346
* New form ``bzr log -r FROM:TO`` shows changes in selected
1347
range; contributed by John A Meinel.
1349
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
1350
options through to an external GNU diff.
1352
* New option ``bzr add --no-recurse`` to add a directory but not
1355
* ``bzr --version`` now shows more information if bzr is being run
1361
* Fixed diff format so that added and removed files will be
1362
handled properly by patch. Fix from Lalo Martins.
1364
* Various fixes for files whose names contain spaces or other
1370
* Converted black-box test suites from Bourne shell into Python;
1371
now run using ``./testbzr``. Various structural improvements to
1374
* testbzr by default runs the version of bzr found in the same
1375
directory as the tests, or the one given as the first parameter.
1377
* testbzr also runs the internal tests, so the only command
1378
required to check is just ``./testbzr``.
1380
* testbzr requires python2.4, but can be used to test bzr running
1381
under a different version.
1383
* Tests added for many other changes in this release.
1388
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
1390
* Refactor command functions into Command objects based on HCT by
1391
Scott James Remnant.
1393
* Better help messages for many commands.
1395
* Expose bzrlib.open_tracefile() to start the tracefile; until
1396
this is called trace messages are just discarded.
1398
* New internal function find_touching_revisions() and hidden
1399
command touching-revisions trace the changes to a given file.
1401
* Simpler and faster compare_inventories() function.
1403
* bzrlib.open_tracefile() takes a tracefilename parameter.
1405
* New AtomicFile class.
1407
* New developer commands ``added``, ``modified``.
1412
* Cope on Windows on python2.3 by using the weaker random seed.
1413
2.4 is now only recommended.
1416
bzr-0.0.4 2005-04-22
1420
* 'bzr diff' optionally takes a list of files to diff. Still a bit
1421
basic. Patch from QuantumG.
1423
* More default ignore patterns.
1425
* New 'bzr log --verbose' shows a list of files changed in the
1426
changeset. Patch from Sebastian Cote.
1428
* Roll over ~/.bzr.log if it gets too large.
1430
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
1433
* New 'bzr help commands' based on a patch from Denys Duchier.
1438
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
1439
or $EMAIL. All are decoded by the locale preferred encoding.
1440
If none of these are present user@hostname is used. The host's
1441
fully-qualified name is not used because that tends to fail when
1442
there are DNS problems.
1444
* New 'bzr whoami' command instead of username user-email.
1449
* Make commit safe for hardlinked bzr trees.
1451
* Some Unicode/locale fixes.
1453
* Partial workaround for difflib.unified_diff not handling
1454
trailing newlines properly.
1459
* Allow docstrings for help to be in PEP0257 format. Patch from
1462
* More tests in test.sh.
1464
* Write profile data to a temporary file not into working
1465
directory and delete it when done.
1467
* Smaller .bzr.log with process ids.
1472
* Fix opening of ~/.bzr.log on Windows. Patch from Andrew
1475
* Some improvements in handling paths on Windows, based on a patch
1479
bzr-0.0.3 2005-04-06
1483
* New "directories" internal command lists versioned directories
1486
* Can now say "bzr commit --help".
1488
* New "rename" command to rename one file to a different name
1491
* New "move" command to move one or more files into a different
1494
* New "renames" command lists files renamed since base revision.
1496
* New cat command contributed by janmar.
1500
* .bzr.log is placed in $HOME (not pwd) and is always written in
1501
UTF-8. (Probably not a completely good long-term solution, but
1506
* Workaround for difflib bug in Python 2.3 that causes an
1507
exception when comparing empty files. Reported by Erik Toubro
1512
* Refactored inventory storage to insert a root entry at the top.
1516
* Start of shell-based black-box testing in test.sh.
1523
* Win32 fixes from Steve Brown.
1526
bzr-0.0.2 "black cube" 2005-03-31
1530
* Default ignore list extended (see bzrlib/__init__.py).
1532
* Patterns in .bzrignore are now added to the default ignore list,
1533
rather than replacing it.
1535
* Ignore list isn't reread for every file.
1539
* Reinstate the 'bzr check' command to check invariants of the
1542
* New 'ignored' command lists which files are ignored and why;
1543
'deleted' lists files deleted in the current working tree.
1545
* Performance improvements.
1547
* New global --profile option.
1549
* Ignore patterns like './config.h' now correctly match files in
1550
the root directory only.
1553
bzr-0.0.1 2005-03-26
1557
* More information from info command.
1559
* Can now say "bzr help COMMAND" for more detailed help.
1561
* Less file flushing and faster performance when writing logs and
1562
committing to stores.
1564
* More useful verbose output from some commands.
1568
* Fix inverted display of 'R' and 'M' during 'commit -v'.
1572
* Include a subset of ElementTree-1.2.20040618 to make
1573
installation easier.
1575
* Fix time.localtime call to work with Python 2.3 (the minimum
1579
bzr-0.0.0.69 2005-03-22
1583
* First public release.
1585
* Storage of local versions: init, add, remove, rm, info, log,