1
bzr 0.9.0rc1 2006-08-01
5
* The hard-coded built-in ignore rules have been removed. There are
6
now two rulesets which are enforced. A user global one in
7
~/.bazaar/ignore which will apply to every tree, and the tree
8
specific one '.bzrignore'.
9
~/.bazaar/ignore will be created if it does not exist, but with
10
a more conservative list than the old default.
11
This fixes bugs with default rules being enforced no matter what.
12
The old list of ignore rules from bzr is available by
13
running 'bzr ignore --old-default-rules'.
14
(Robert Collins, Martin Pool, John Arbash Meinel)
16
* 'branches.conf' has been changed to 'locations.conf', since it can apply
17
to more locations than just branch locations.
22
* The revision specifier "revno:" is extended to accept the syntax
23
revno:N:branch. For example,
24
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
25
bzr.dev. (Matthieu Moy)
27
* Tests updates to ensure proper URL handling, UNICODE support, and
28
proper printing when the user's terminal encoding cannot display
29
the path of a file that has been versioned.
30
``bzr branch`` can take a target URL rather than only a local directory.
31
Branch.get_parent()/set_parent() now save a relative path if possible,
32
and normalize the parent based on root, allowing access across
33
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
34
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
37
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
38
Use terminal width for single-line logs from ``bzr log --line`` and
39
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
42
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
45
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
47
* Show the correct number of revisions pushed when pushing a new branch.
50
* 'bzr selftest' now shows a progress bar with the number of tests, and
51
progress made. 'make check' shows tests in -v mode, to be more useful
52
for the PQM status window. (Robert Collins).
53
When using a progress bar, failed tests are printed out, rather than
54
being overwritten by the progress bar until the suite finishes.
57
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
58
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
59
profile data for the individual profiled calls, allowing for fine
60
grained analysis of performance.
61
(Robert Collins, Martin Pool).
63
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
64
where commit can take an appreciable time. (Robert Collins)
66
* 'bzr add' is now less verbose in telling you what ignore globs were
67
matched by files being ignored. Instead it just tells you how many
68
were ignored (because you might reasonably be expecting none to be
69
ignored). 'bzr add -v' is unchanged and will report every ignored
70
file. (Robert Collins).
72
* ftp now has a test server if medusa is installed. As part of testing,
73
ftp support has been improved, including support for supplying a
74
non-standard port. (John Arbash Meinel).
76
* 'bzr log --line' shows the revision number, and uses only the
77
first line of the log message (#5162, Alexander Belchenko;
80
* 'bzr status' has had the --all option removed. The 'bzr ls' command
81
should be used to retrieve all versioned files. (Robert Collins)
83
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
84
over email, and applied on the other end, while maintaining ancestry.
85
This bundle can be applied with either 'bzr merge' or 'bzr pull',
86
the same way you would apply another branch.
87
(John Arbash Meinel, Aaron Bentley)
89
* 'bzr whoami' can now be used to set your identity from the command line,
90
for a branch or globally. (Robey Pointer)
92
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
95
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
98
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
99
Also updates things like 'http+pycurl://' if pycurl is not present.
100
(John Arbash Meinel) (Malone #47821, #52204)
102
* New env variable BZR_PROGRESS_BAR, sets the default progress bar type.
103
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
104
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
106
* Improve the help text for 'bzr diff' to explain what various options do.
107
(John Arbash Meinel, #6391)
109
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
110
revision 10. This makes -r10 more in line with what other commands do.
111
'bzr uncommit' also now saves the pending merges of the revisions that
112
were removed. So it is safe to uncommit after a merge, fix something,
113
and commit again. (John Arbash Meinel, #32526, #31426)
115
* 'bzr init' now also works on remote locations.
116
(Wouter van Heyst, #48904)
118
* HTTP support has been updated. When using pycurl we now support
119
connection keep-alive, which reduces dns requests and round trips.
120
And for both urllib and pycurl we support multi-range requests,
121
which decreases the number of round-trips. Performance results for
122
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
123
http branching is now 2-3x faster, and ``bzr pull`` in an existing
124
branch is as much as 4x faster.
125
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
127
* Performance improvements for sftp. Branching and pulling are now up to
128
2x faster. Utilize paramiko.readv() support for async requests if it
129
is available (paramiko > 1.6) (John Arbash Meinel)
133
* Fix shadowed definition of TestLocationConfig that caused some
134
tests not to run. (#32587, Erik Bågfors, Michael Ellerman,
137
* Fix unnecessary requirement of sign-my-commits that it be run from
138
a working directory. (Martin Pool, Robert Collins)
140
* 'bzr push location' will only remember the push location if it succeeds
141
in connecting to the remote location. (#49742, John Arbash Meinel)
143
* 'bzr revert' no longer toggles the executable bit on win32
144
(#45010, John Arbash Meinel)
146
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
148
* sftp tests now work correctly on win32 if you have a newer paramiko
151
* Cleanup win32 test suite, and general cleanup of places where
152
file handles were being held open. (John Arbash Meinel)
154
* When specifying filenames for 'diff -r x..y', the name of the file in the
155
working directory can be used, even if its name is different in both x
158
* File-ids containing single- or double-quotes are handled correctly by
159
push. (#52227, Aaron Bentley)
161
* Normalize unicode filenames to ensure cross-platform consistency.
162
(John Arbash Meinel, #43689)
164
* The argument parser can now handle '-' as an argument. Currently
165
no code interprets it specially (it is mostly handled as a file named
166
'-'). But plugins, and future operations can use it.
167
(John Arbash meinel, #50984)
169
* Bundles can properly read binary files with a plain '\r' in them.
170
(John Arbash Meinel, #51927)
172
* Tuning iter_entries() to be more efficient (John Arbash Meinel, #5444)
174
* Lots of win32 fixes (the test suite passes again).
175
(John Arbash Meinel, #50155)
177
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
179
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
181
* Removals are only committed if they match the filespec (or if there is
182
no filespec). (#46635, Aaron Bentley)
184
* smart-add recurses through all supplied directories
185
(John Arbash Meinel, #52578)
187
* Make the bundle reader extra lines before and after the bundle text.
188
This allows you to parse an email with the bundle inline.
189
(John Arbash Meinel, #49182)
191
* Change the file id generator to squash a little bit more. Helps when
192
working with long filenames on windows. (Also helps for unicode filenames
193
not generating hidden files). (John Arbash Meinel, #43801)
195
* Restore terminal mode on C-c while reading sftp password. (#48923,
196
Nicholas Allen, Martin Pool)
198
* Timestamps are rounded to 1ms, and revision entries can be recreated
199
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
201
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
202
use local paths, since it is user visible (John Arbash Meinel, #53653)
204
* ``bzr status foo`` when foo was unversioned used to cause a full delta
205
to be generated (John Arbash Meinel, #53638)
207
* When reading revision properties, an empty value should be considered
208
the empty string, not None (John Arbash Meinel, #47782)
210
* ``bzr diff --diff-options`` can now handle binary files being changed.
211
Also, the output is consistent when --diff-options is not supplied.
212
(John Arbash Meinel, #54651, #52930)
214
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
218
* Combine the ignore rules into a single regex rather than looping over
219
them to reduce the threshold where N^2 behaviour occurs in operations
220
like status. (Jan Hudec, Robert Collins).
222
* Appending to bzrlib.DEFAULT_IGNORE is now deprecated. Instead, use
223
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
225
* 'bzr push' should only push the ancestry of the current revision, not
226
all of the history in the repository. This is especially important for
227
shared repositories. (John Arbash Meinel)
229
* bzrlib.delta.compare_trees now iterates in alphabetically sorted order,
230
rather than randomly walking the inventories. (John Arbash Meinel)
232
* Doctests are now run in temporary directories which are cleaned up when
233
they finish, rather than using special ScratchDir/ScratchBranch objects.
236
* Split ``check`` into separate methods on the branch and on the repository,
237
so that it can be specialized in ways that are useful or efficient for
238
different formats. (Martin Pool, Robert Collins)
240
* Deprecate Repository.all_revision_ids; most methods don't really need
241
the global revision graph but only that part leading up to a particular
242
revision. (Martin Pool, Robert Collins)
244
* Add a BzrDirFormat control_formats list which allows for control formats
245
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
246
(Robert Collins, Jelmer Vernooij).
248
* bzrlib.diff.external_diff can be redirected to any file-like object.
249
Uses subprocess instead of spawnvp.
250
(#4047, #48914, James Henstridge, John Arbash Meinel)
252
* New command line option '--profile-imports', which will install a custom
253
importer to log time to import modules and regex compilation time to
254
sys.stderr (John Arbash Meinel)
256
* 'EmptyTree' is now deprecated, please use repository.revision_tree(None)
257
instead. (Robert Collins)
259
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
265
* setup.py failed to install launchpad plugin. (Martin Pool)
271
* Fix failure to commit a merge in a checkout. (Martin Pool,
272
Robert Collins, Erik Bågfors, #43959)
274
* Nicer messages from 'commit' in the case of renames, and correct
275
messages when a merge has occured. (Robert Collins, Martin Pool)
277
* Separate functionality from assert statements as they are skipped in
278
optimized mode of python. Add the same check to pending merges.
279
(#44443, Olaf Conradi)
283
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
285
* Add info on standalone branches without a working tree.
286
(#44155, Olaf Conradi)
288
* Fix bug in knits when raising InvalidRevisionId. (#44284, Olaf Conradi)
292
* Make editor invocation comply with Debian Policy. First check
293
environment variables VISUAL and EDITOR, then try editor from
294
alternatives system. If that all fails, fall back to the pre-defined
295
list of editors. (#42904, Olaf Conradi)
299
* New 'register-branch' command registers a public branch into
300
Launchpad.net, where it can be associated with bugs, etc.
301
(Martin Pool, Bjorn Tillenius, Robert Collins)
305
* New public api in InventoryEntry - 'describe_change(old, new)' which
306
provides a human description of the changes between two old and
307
new. (Robert Collins, Martin Pool)
311
* Fix test case for bzr info in upgrading a standalone branch to metadir,
312
uses bzrlib api now. (Olaf Conradi)
316
NOTES WHEN UPGRADING:
318
Release 0.8 of bzr introduces a new format for history storage, called
319
'knit', as an evolution of to the 'weave' format used in 0.7. Local
320
and remote operations are faster using knits than weaves. Several
321
operations including 'init', 'init-repo', and 'upgrade' take a
322
--format option that controls this. Branching from an existing branch
323
will keep the same format.
325
It is possible to merge, pull and push between branches of different
326
formats but this is slower than moving data between homogenous
327
branches. It is therefore recommended (but not required) that you
328
upgrade all branches for a project at the same time. Information on
329
formats is shown by 'bzr info'.
331
bzr 0.8 now allows creation of 'repositories', which hold the history
332
of files and revisions for several branches. Previously bzr kept all
333
the history for a branch within the .bzr directory at the root of the
334
branch, and this is still the default. To create a repository, use
335
the new 'bzr init-repo' command. Branches exist as directories under
336
the repository and contain just a small amount of information
337
indicating the current revision of the branch.
339
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
340
subversion. Checkouts are associated with a branch (optionally in a
341
repository), which contains all the historical information. The
342
result is that a checkout can be deleted without losing any
343
already-committed revisions. A new 'update' command is also available.
345
Repositories and checkouts are not supported with the 0.7 storage
346
format. To use them you must upgrad to either knits, or to the
347
'metaweave' format, which uses weaves but changes the .bzr directory
353
* Sftp paths can now be relative, or local, according to the lftp
354
convention. Paths now take the form:
355
sftp://user:pass@host:port/~/relative/path
357
sftp://user:pass@host:port/absolute/path
359
* The FTP transport now tries to reconnect after a temporary
360
failure. ftp put is made atomic. (Matthieu Moy)
362
* The FTP transport now maintains a pool of connections, and
363
reuses them to avoid multiple connections to the same host (like
364
sftp did). (Daniel Silverstone)
366
* The bzr_man.py file has been removed. To create the man page now,
367
use ./generate_docs.py man. The new program can also create other files.
368
Run "python generate_docs.py --help" for usage information. (Hans
369
Ulrich Niedermann & James Blackwell).
371
* Man Page now gives full help (James Blackwell). Help also updated to
372
reflect user config now being stored in .bazaar (Hans Ulrich
375
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
377
* Pull now accepts a --revision argument (Erik Bågfors)
379
* 'bzr re-sign' now allows multiple revisions to be supplied on the command
380
line. You can now use the following command to sign all of your old commits.
381
find .bzr/revision-store// -name my@email-* \
382
| sed 's/.*\/\/..\///' \
385
* Upgrade can now upgrade over the network. (Robert Collins)
387
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
388
behaviour. By default they will cache history in the checkout, but
389
with --lightweight almost all data is kept in the master branch.
392
* 'revert' unversions newly-versioned files, instead of deleting them.
394
* 'merge' is more robust. Conflict messages have changed.
396
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
399
* Default log format can be set in configuration and plugins can register
400
their own formatters. (Erik Bågfors)
402
* New 'reconcile' command will check branch consistency and repair indexes
403
that can become out of sync in pre 0.8 formats. (Robert Collins,
406
* New 'bzr init --format' and 'bzr upgrade --format' option to control
407
what storage format is created or produced. (Robert Collins,
410
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
412
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
414
* New 'init-repository' command, plus support for repositories in 'init'
415
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
417
* Improve output of 'info' command. Show all relevant locations related to
418
working tree, branch and repository. Use kibibytes for binary quantities.
419
Fix off-by-one error in missing revisions of working tree. Make 'info'
420
work on branches, repositories and remote locations. Show locations
421
relative to the shared repository, if applicable. Show locking status
422
of locations. (Olaf Conradi)
424
* Diff and merge now safely handle binary files. (Aaron Bentley)
426
* 'pull' and 'push' now normalise the revision history, so that any two
427
branches with the same tip revision will have the same output from 'log'.
430
* 'merge' accepts --remember option to store parent location, like 'push'
431
and 'pull'. (Olaf Conradi)
433
* bzr status and diff when files given as arguments do not exist
434
in the relevant trees. (Martin Pool, #3619)
436
* Add '.hg' to the default ignore list. (Martin Pool)
438
* 'knit' is now the default disk format. This improves disk performance and
439
utilization, increases incremental pull performance, robustness with SFTP
440
and allows checkouts over SFTP to perform acceptably.
441
The initial Knit code was contributed by Johan Rydberg based on a
442
specification by Martin Pool.
443
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
445
* New tool to generate all-in-one html version of the manual. (Alexander
448
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
449
to be left in the SFTP repository. (Robert Collins, Martin Pool).
451
* New option 'diff --prefix' to control how files are named in diff
452
output, with shortcuts '-p0' and '-p1' corresponding to the options for
453
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
455
* Add --revision option to 'annotate' command. (Olaf Conradi)
457
* If bzr shows an unexpected revision-history after pulling (perhaps due
458
to a reweave) it can now be corrected by 'bzr reconcile'.
463
* Commit is now verbose by default, and shows changed filenames and the
464
new revision number. (Robert Collins, Martin Pool)
466
* Unify 'mv', 'move', 'rename'. (#5379, Matthew Fuller)
468
* 'bzr -h' shows help. (#35940, Martin Pool, Ian Bicking)
470
* Make 'pull' and 'push' remember location on failure using --remember.
473
* For compatibility, make old format for using weaves inside metadir
474
available as 'metaweave' format. Rename format 'metadir' to 'default'.
475
Clean up help for option --format in commands 'init', 'init-repo' and
476
'upgrade'. (Olaf Conradi)
480
* The internal storage of history, and logical branch identity have now
481
been split into Branch, and Repository. The common locking and file
482
management routines are now in bzrlib.lockablefiles.
483
(Aaron Bentley, Robert Collins, Martin Pool)
485
* Transports can now raise DependencyNotPresent if they need a library
486
which is not installed, and then another implementation will be
489
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
492
* Using Tree Transform for merge, revert, tree-building
494
* WorkingTree.create, Branch.create, WorkingTree.create_standalone,
495
Branch.initialize are now deprecated. Please see BzrDir.create_* for
496
replacement API's. (Robert Collins)
498
* New BzrDir class represents the .bzr control directory and manages
499
formatting issues. (Robert Collins)
501
* New repository.InterRepository class encapsulates Repository to
502
Repository actions and allows for clean selection of optimised code
503
paths. (Robert Collins)
505
* bzrlib.fetch.fetch and bzrlib.fetch.greedy_fetch are now deprecated,
506
please use 'branch.fetch' or 'repository.fetch' depending on your
507
needs. (Robert Collins)
509
* deprecated methods now have a 'is_deprecated' flag on them that can
510
be checked, if you need to determine whether a given callable is
511
deprecated at runtime. (Robert Collins)
513
* Progress bars are now nested - see
514
bzrlib.ui.ui_factory.nested_progress_bar. (Robert Collins, Robey Pointer)
516
* New API call get_format_description() for each type of format.
519
* Changed branch.set_parent() to accept None to remove parent.
522
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
524
* WorkingTree.branch is now a read only property. (Robert Collins)
526
* bzrlib.ui.text.TextUIFactory now accepts a bar_type parameter which
527
can be None or a factory that will create a progress bar. This is
528
useful for testing or for overriding the bzrlib.progress heuristic.
531
* New API method get_physical_lock_status() to query locks present on a
532
transport. (Olaf Conradi)
534
* Repository.reconcile now takes a thorough keyword parameter to allow
535
requesting an indepth reconciliation, rather than just a data-loss
536
check. (Robert Collins)
538
* bzrlib.ui.ui_factory protocol now supports 'get_boolean' to prompt
539
the user for yes/no style input. (Robert Collins)
543
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
544
for testing SFTP protocol support. (Robey Pointer)
546
* Branch formats are now tested once per implementation (see bzrlib.
547
tests.branch_implementations. This is analagous to the transport
548
interface tests, and has been followed up with working tree,
549
repository and BzrDir tests. (Robert Collins)
551
* New test base class TestCaseWithTransport provides a transport aware
552
test environment, useful for testing any transport-interface using
553
code. The test suite option --transport controls the transport used
554
by this class (when its not being used as part of implementation
555
contract testing). (Robert Collins)
557
* Close logging handler on disabling the test log. This will remove the
558
handler from the internal list inside python's logging module,
559
preventing shutdown from closing it twice. (Olaf Conradi)
561
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
563
* run_bzr and run_bzr_captured now accept a 'stdin="foo"' parameter which
564
will provide String("foo") to the command as its stdin.
570
* .bzrignore is excluded from exports, on the grounds that it's a bzr
571
internal-use file and may not be wanted. (Jamie Wilkinson)
573
* The "bzr directories" command were removed in favor of the new
574
--kind option to the "bzr inventory" command. To list all
575
versioned directories, now use "bzr inventory --kind directory".
578
* Under Windows configuration directory is now %APPDATA%\bazaar\2.0
579
by default. (John Arbash Meinel)
581
* The parent of Bzr configuration directory can be set by BZR_HOME
582
environment variable. Now the path for it is searched in BZR_HOME, then
583
in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
584
points to C:\Documents and Settings\User Name\Application Data), HOME.
587
* Plugins with the same name in different directories in the bzr plugin
588
path are no longer loaded: only the first successfully loaded one is
589
used. (Robert Collins)
591
* Use systems' external ssh command to open connections if possible.
592
This gives better integration with user settings such as ProxyCommand.
595
* Permissions on files underneath .bzr/ are inherited from the .bzr
596
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
597
will mean that future file will be created with group write permissions.
599
* configure.in and config.guess are no longer in the builtin default
602
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
603
files. (John Arbash Meinel, Martin Pool)
607
* "bzr INIT dir" now initializes the specified directory, and creates
608
it if it does not exist. (John Arbash Meinel)
610
* New remerge command (Aaron Bentley)
612
* Better zsh completion script. (Steve Borho)
614
* 'bzr diff' now returns 1 when there are changes in the working
615
tree. (Robert Collins)
617
* 'bzr push' now exists and can push changes to a remote location.
618
This uses the transport infrastructure, and can store the remote
619
location in the ~/.bazaar/branches.conf configuration file.
622
* Test directories are only kept if the test fails and the user requests
625
* Tweaks to short log printing
627
* Added branch nicks, new nick command, printing them in log output.
630
* If $BZR_PDB is set, pop into the debugger when an uncaught exception
631
occurs. (Martin Pool)
633
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
634
the same as Subversion. (Martin Pool)
636
* New ftp transport support (on ftplib), for ftp:// and aftp://
637
URLs. (Daniel Silverstone)
639
* Commit editor temporary files now start with 'bzr_log.', to allow
640
text editors to match the file name and set up appropriate modes or
641
settings. (Magnus Therning)
643
* Improved performance when integrating changes from a remote weave.
644
(Goffredo Baroncelli)
646
* Sftp will attempt to cache the connection, so it is more likely that
647
a connection will be reused, rather than requiring multiple password
650
* bzr revno now takes an optional argument indicating the branch whose
651
revno should be printed. (Michael Ellerman)
653
* bzr cat defaults to printing the last version of the file.
654
(#3632, Matthieu Moy)
656
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
657
profiler. (Denys Duchier)
659
* Faster commits by reading only the headers of affected weave files.
662
* 'bzr add' now takes a --dry-run parameter which shows you what would be
663
added, but doesn't actually add anything. (Michael Ellerman)
665
* 'bzr add' now lists how many files were ignored per glob. add --verbose
666
lists the specific files. (Aaron Bentley)
668
* 'bzr missing' now supports displaying changes in diverged trees and can
669
be limited to show what either end of the comparison is missing.
670
(Aaron Bently, with a little prompting from Daniel Silverstone)
674
* SFTP can walk up to the root path without index errors. (Robert Collins)
676
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
678
* Error when run with -OO
680
* Fix bug in reporting http errors that don't have an http error code.
683
* Handle more cases of pipe errors in display commands
685
* Change status to 3 for all errors
687
* Files that are added and unlinked before committing are completely
688
ignored by diff and status
690
* Stores with some compressed texts and some uncompressed texts are now
691
able to be used. (John A Meinel)
693
* Fix for bzr pull failing sometimes under windows
695
* Fix for sftp transport under windows when using interactive auth
697
* Show files which are both renamed and modified as such in 'bzr
698
status' output. (#4503, Daniel Silverstone)
700
* Make annotate cope better with revisions committed without a valid
701
email address. (Marien Zwart)
703
* Fix representation of tab characters in commit messages. (Harald
706
* List of plugin directories in BZR_PLUGIN_PATH environment variable is
707
now parsed properly under Windows. (Alexander Belchenko)
709
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
711
* Keep a cached copy of the basis inventory to speed up operations
712
that need to refer to it. (Johan Rydberg, Martin Pool)
714
* Fix bugs in bzr status display of non-ascii characters. (Martin
717
* Remove Makefile.in from default ignore list. (#6413, Tollef Fog
720
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
724
* Fix selftest asking for passwords when there are no SFTP keys.
725
(Robey Pointer, Jelmer Vernooij)
727
* Fix selftest run with 'python -O'. (Martin Pool)
729
* Fix HTTP tests under Windows. (John Arbash Meinel)
731
* Make tests work even if HOME is not set (Aaron Bentley)
733
* Updated build_tree to use fixed line-endings for tests which read
734
the file cotents and compare. Make some tests use this to pass under
735
Windows. (John Arbash Meinel)
737
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
739
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
742
* Use terminal width to align verbose test output. (Martin Pool)
744
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
745
If adding a new test script please add that to
746
bzrlib.tests.blackbox.__init__. (Robert Collins)
748
* Much better error message if one of the test suites can't be
749
imported. (Martin Pool)
751
* Make check now runs the test suite twice - once with the default locale,
752
and once with all locales forced to C, to expose bugs. This is not
753
trivially done within python, so for now its only triggered by running
754
Make check. Integrators and packagers who wish to check for full
755
platform support should run 'make check' to test the source.
758
* Tests can now run TestSkipped if they can't execute for any reason.
759
(Martin Pool) (NB: TestSkipped should only be raised for correctable
760
reasons - see the wiki spec ImprovingBzrTestSuite).
762
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
763
paths for the transport tests. Introduce blackbox remote sftp tests that
764
test the same permutations. (Robert Collins, Robey Pointer)
766
* Transport implementation tests are now independent of the local file
767
system, which allows tests for esoteric transports, and for features
768
not available in the local file system. They also repeat for variations
769
on the URL scheme that can introduce issues in the transport code,
770
see bzrlib.transport.TransportTestProviderAdapter() for this.
773
* TestCase.build_tree uses the transport interface to build trees, pass
774
in a transport parameter to give it an existing connection.
779
* WorkingTree.pull has been split across Branch and WorkingTree,
780
to allow Branch only pulls. (Robert Collins)
782
* commands.display_command now returns the result of the decorated
783
function. (Robert Collins)
785
* LocationConfig now has a set_user_option(key, value) call to save
786
a setting in its matching location section (a new one is created
787
if needed). (Robert Collins)
789
* Branch has two new methods, get_push_location and set_push_location
790
to respectively, get and set the push location. (Robert Collins)
792
* commands.register_command now takes an optional flag to signal that
793
the registrant is planning to decorate an existing command. When
794
given multiple plugins registering a command is not an error, and
795
the original command class (whether built in or a plugin based one) is
796
returned to the caller. There is a new error 'MustUseDecorated' for
797
signalling when a wrapping command should switch to the original
798
version. (Robert Collins)
800
* Some option parsing errors will raise 'BzrOptionError', allowing
801
granular detection for decorating commands. (Robert Collins).
803
* Branch.read_working_inventory has moved to
804
WorkingTree.read_working_inventory. This necessitated changes to
805
Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
806
as well. To make it clear that a WorkingTree cannot always be obtained
807
Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
808
be obtained. (Robert Collins)
810
* All pending merges operations from Branch are now on WorkingTree.
813
* The follow operations from Branch have moved to WorkingTree:
821
* bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
823
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
825
* Rename selftests to `bzrlib.tests.test_foo`. (John A Meinel, Martin
828
* bzrlib.plugin.all_plugins has been changed from an attribute to a
829
query method. (Robert Collins)
831
* New options to read only the table-of-contents of a weave.
834
* Raise NoSuchFile when someone tries to add a non-existant file.
837
* Simplify handling of DivergedBranches in cmd_pull().
841
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
842
is exposed as Branch().control_files. Also this has been altered with the
843
controlfile pre/suffix replaced by simple method names like 'get' and
844
'put'. (Aaron Bentley, Robert Collins).
846
* Deprecated functions and methods can now be marked as such using the
847
bzrlib.symbol_versioning module. Marked method have their docstring
848
updated and will issue a DeprecationWarning using the warnings module
849
when they are used. (Robert Collins)
851
* bzrlib.osutils.safe_unicode now exists to provide parameter coercion
852
for functions that need unicode strings. (Robert Collins)
858
* pull now takes --verbose to show you what revisions are added or removed
861
* merge now takes a --show-base option to include the base text in
865
* The config files are now read using ConfigObj, so '=' should be used as
866
a separator, not ':'.
869
* New 'bzr commit --strict' option refuses to commit if there are
870
any unknown files in the tree. To commit, make sure all files are
871
either ignored, added, or deleted. (Michael Ellerman)
873
* The config directory is now ~/.bazaar, and there is a single file
874
~/.bazaar/bazaar.conf storing email, editor and other preferences.
877
* 'bzr add' no longer takes a --verbose option, and a --quiet option
878
has been added that suppresses all output.
880
* Improved zsh completion support in contrib/zsh, from Clint
883
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
886
* 'bzr check' now accepts -v for verbose reporting, and checks for
887
ghosts in the branch. (Robert Collins)
889
* New command 're-sign' which will regenerate the gpg signature for
890
a revision. (Robert Collins)
892
* If you set check_signatures=require for a path in
893
~/.bazaar/branches.conf then bzr will invoke your
894
gpg_signing_command (defaults to gpg) and record a digital signature
895
of your commit. (Robert Collins)
897
* New sftp transport, based on Paramiko. (Robey Pointer)
899
* 'bzr pull' now accepts '--clobber' which will discard local changes
900
and make this branch identical to the source branch. (Robert Collins)
902
* Just give a quieter warning if a plugin can't be loaded, and
903
put the details in .bzr.log. (Martin Pool)
905
* 'bzr branch' will now set the branch-name to the last component of the
906
output directory, if one was supplied.
908
* If the option 'post_commit' is set to one (or more) python function
909
names (must be in the bzrlib namespace), then they will be invoked
910
after the commit has completed, with the branch and revision_id as
911
parameters. (Robert Collins)
913
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
915
* --merge-type weave is now supported for file contents. Tree-shape
916
changes are still three-way based. (Martin Pool, Aaron Bentley)
918
* 'bzr check' allows the first revision on revision-history to have
919
parents - something that is expected for cheap checkouts, and occurs
920
when conversions from baz do not have all history. (Robert Collins).
922
* 'bzr merge' can now graft unrelated trees together, if your specify
923
0 as a base. (Aaron Bentley)
925
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
928
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
930
* 'bzr merge --reprocess' minimizes conflicts
934
* The 'bzr selftest --pattern' option for has been removed, now
935
test specifiers on the command line can be simple strings, or
936
regexps, or both. (Robert Collins)
938
* Passing -v to selftest will now show the time each test took to
939
complete, which will aid in analysing performance regressions and
940
related questions. (Robert Collins)
942
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
943
is given. (Martin Pool)
945
* There is a new method for TestCaseInTempDir, assertFileEqual, which
946
will check that a given content is equal to the content of the named
947
file. (Robert Collins)
949
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
954
* New 'testament' command and concept for making gpg-signatures
955
of revisions that are not tied to a particular internal
956
representation. (Martin Pool).
958
* Per-revision properties ('revprops') as key-value associated
959
strings on each revision created when the revision is committed.
960
Intended mainly for the use of external tools. (Martin Pool).
962
* Config options have moved from bzrlib.osutils to bzrlib.config.
965
* Improved command line option definitions allowing explanations
966
for individual options, among other things. Contributed by
969
* Config options have moved from bzrlib.osutils to bzrlib.config.
970
Configuration is now done via the config.Config interface:
971
Depending on whether you have a Branch, a Location or no information
972
available, construct a *Config, and use its signature_checking,
973
username and user_email methods. (Robert Collins)
975
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
976
they are made available for other plugins to use. You should not
977
import other plugins during the __init__ of your plugin though, as
978
no ordering is guaranteed, and the plugins directory is not on the
979
python path. (Robert Collins)
981
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
982
no longer takes an inventory, rather it takes an option branch
983
parameter, and if None is given will open the branch at basedir
984
implicitly. (Robert Collins)
986
* Cleaner exception structure and error reporting. Suggested by
987
Scott James Remnant. (Martin Pool)
989
* Branch.remove has been moved to WorkingTree, which has also gained
990
lock_read, lock_write and unlock methods for convenience. (Robert
993
* Two decorators, needs_read_lock and needs_write_lock have been added
994
to the branch module. Use these to cause a function to run in a
995
read or write lock respectively. (Robert Collins)
997
* Branch.open_containing now returns a tuple (Branch, relative-path),
998
which allows direct access to the common case of 'get me this file
999
from its branch'. (Robert Collins)
1001
* Transports can register using register_lazy_transport, and they
1002
will be loaded when first used. (Martin Pool)
1004
* 'pull' has been factored out of the command as WorkingTree.pull().
1005
A new option to WorkingTree.pull has been added, clobber, which will
1006
ignore diverged history and pull anyway.
1009
* config.Config has a 'get_user_option' call that accepts an option name.
1010
This will be looked up in branches.conf and bazaar.conf as normal.
1011
It is intended that this be used by plugins to support options -
1012
options of built in programs should have specific methods on the config.
1015
* merge.merge_inner now has tempdir as an optional parameter. (Robert
1018
* Tree.kind is not recorded at the top level of the hierarchy, as it was
1019
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
1022
* WorkingTree.__del__ has been removed, it was non deterministic and not
1023
doing what it was intended to. See WorkingTree.__init__ for a comment
1024
about future directions. (Robert Collins/Martin Pool)
1026
* bzrlib.transport.http has been modified so that only 404 urllib errors
1027
are returned as NoSuchFile. Other exceptions will propogate as normal.
1028
This allows debuging of actual errors. (Robert Collins)
1030
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
1031
to apis like 'put', 'get' and 'has'. This is to provide consistent
1032
behaviour - it operates on url's only. (Robert Collins)
1034
* Transports can register using register_lazy_transport, and they
1035
will be loaded when first used. (Martin Pool)
1037
* 'merge_flex' no longer calls conflict_handler.finalize(), instead that
1038
is called by merge_inner. This is so that the conflict count can be
1039
retrieved (and potentially manipulated) before returning to the caller
1040
of merge_inner. Likewise 'merge' now returns the conflict count to the
1041
caller. (Robert Collins)
1043
* 'revision.revision_graph can handle having only partial history for
1044
a revision - that is no revisions in the graph with no parents.
1047
* New builtins.branch_files uses the standard file_list rules to produce
1048
a branch and a list of paths, relative to that branch (Aaron Bentley)
1050
* New TestCase.addCleanup facility.
1052
* New bzrlib.version_info tuple (similar to sys.version_info), which can
1053
be used by programs importing bzrlib.
1057
* Better handling of branches in directories with non-ascii names.
1058
(Joel Rosdahl, Panagiotis Papadakos)
1060
* Upgrades of trees with no commits will not fail due to accessing
1061
[-1] in the revision-history. (Andres Salomon)
1064
bzr 0.1.1 2005-10-12
1068
* Fix problem in pulling over http from machines that do not
1069
allow directories to be listed.
1071
* Avoid harmless warning about invalid hash cache after
1072
upgrading branch format.
1076
* Avoid some unnecessary http operations in branch and pull.