6
* revert now removes newly-added directories (Aaron Bentley, #54172)
8
* ``bzr upgrade sftp://`` shouldn't fail to upgrade v6 branches if there
9
isn't a working tree. (David Allouche, #40679)
11
* Give nicer error messages when a user supplies an invalid --revision
12
parameter. (John Arbash Meinel, #55420)
14
* Handle when LANG is not recognized by python. Emit a warning, but
15
just revert to using 'ascii'. (John Arbash Meinel, #35392)
19
* run_bzr_subprocess() can take an optional 'env_changes={}' parameter,
20
which will update os.environ inside the spawned child.
23
* Refactor SFTP vendors to allow easier re-use when ssh is used.
26
* Transport.list_dir() and Transport.iter_files_recursive() should always
27
return urlescaped paths. This is now tested (there were bugs in a few
28
of the transports) (Andrew Bennetts, David Allouche, John Arbash Meinel)
30
bzr 0.10.0RC1 2006-08-28
33
* 'merge' now takes --uncommitted, to apply uncommitted changes from a
36
* 'bzr add --file-ids-from' can be used to specify another path to use
37
for creating file ids, rather than generating all new ones. Internally,
38
the 'action' passed to smart_add_tree() can return file_ids that
39
will be used, rather than having bzrlib generate new ones.
40
(John Arbash Meinel, #55781)
42
* ``bzr selftest --benchmark`` now allows a ``--cache-dir`` parameter.
43
This will cache some of the intermediate trees, and decrease the
44
setup time for benchmark tests. (John Arbash Meinel)
46
* Inverse forms are provided for all boolean options. For example,
47
--strict has --no-strict, --no-recurse has --recurse (Aaron Bentley)
49
* Serialize out Inventories directly, rather than using ElementTree.
50
Writing out a kernel sized inventory drops from 2s down to ~350ms.
51
(Robert Collins, John Arbash Meinel)
55
* Help diffutils 2.8.4 get along with binary tests (Marien Zwart: #57614)
57
* Change LockDir so that if the lock directory doesn't exist when
58
lock_write() is called, an attempt will be made to create it.
59
(John Arbash Meinel, #56974)
61
* ``bzr uncommit`` preserves pending merges. (John Arbash Meinel, #57660)
63
* Active FTP transport now works as intended. (ghozzy, #56472)
65
* Really fix mutter() so that it won't ever raise a UnicodeError.
66
It means it is possible for ~/.bzr.log to contain non UTF-8 characters.
67
But it is a debugging log, not a real user file.
68
(John Arbash Meinel, #56947, #53880)
70
* Change Command handle to allow Unicode command and options.
71
At present we cannot register Unicode command names, so we will get
72
BzrCommandError('unknown command'), or BzrCommandError('unknown option')
73
But that is better than a UnicodeError + a traceback.
74
(John Arbash Meinel, #57123)
76
* Handle TZ=UTC properly when reading/writing revisions.
77
(John Arbash Meinel, #55783, #56290)
79
* Use GPG_TTY to allow gpg --cl to work with gpg-agent in a pipeline,
80
(passing text to sign in on stdin). (John Arbash Meinel, #54468)
82
* External diff does the right thing for binaries even in foreign
83
languages. (John Arbash Meinel, #56307)
85
* Testament handles more cases when content is unicode. Specific bug was
86
in handling of revision properties. (John Arbash Meinel, Holger Krekel,
91
* ``bzrlib.cache_utf8`` contains ``encode()`` and ``decode()`` functions
92
which can be used to cache the conversion between utf8 and Unicode.
93
Especially helpful for some of the knit annotation code, which has to
94
convert revision ids to utf8 to annotate lines in storage.
97
* ``setup.py`` now searches the filesystem to find all packages which
98
need to be installed. This should help make the life of packagers
99
easier. (John Arbash Meinel)
105
* The hard-coded built-in ignore rules have been removed. There are
106
now two rulesets which are enforced. A user global one in
107
~/.bazaar/ignore which will apply to every tree, and the tree
108
specific one '.bzrignore'.
109
~/.bazaar/ignore will be created if it does not exist, but with
110
a more conservative list than the old default.
111
This fixes bugs with default rules being enforced no matter what.
112
The old list of ignore rules from bzr is available by
113
running 'bzr ignore --old-default-rules'.
114
(Robert Collins, Martin Pool, John Arbash Meinel)
116
* 'branches.conf' has been changed to 'locations.conf', since it can apply
117
to more locations than just branch locations.
122
* The revision specifier "revno:" is extended to accept the syntax
123
revno:N:branch. For example,
124
revno:42:http://bazaar-vcs.org/bzr/bzr.dev/ means revision 42 in
125
bzr.dev. (Matthieu Moy)
127
* Tests updates to ensure proper URL handling, UNICODE support, and
128
proper printing when the user's terminal encoding cannot display
129
the path of a file that has been versioned.
130
``bzr branch`` can take a target URL rather than only a local directory.
131
Branch.get_parent()/set_parent() now save a relative path if possible,
132
and normalize the parent based on root, allowing access across
133
different transports. (John Arbash Meinel, Wouter van Heyst, Martin Pool)
134
(Malone #48906, #42699, #40675, #5281, #3980, #36363, #43689,
137
* On Unix, detect terminal width using an ioctl not just $COLUMNS.
138
Use terminal width for single-line logs from ``bzr log --line`` and
139
pending-merge display. (Robert Widhopf-Fenk, Gustavo Niemeyer)
142
* On Windows, detect terminal width using GetConsoleScreenBufferInfo.
143
(Alexander Belchenko)
145
* Speedup improvement for 'date:'-revision search. (Guillaume Pinot).
147
* Show the correct number of revisions pushed when pushing a new branch.
150
* 'bzr selftest' now shows a progress bar with the number of tests, and
151
progress made. 'make check' shows tests in -v mode, to be more useful
152
for the PQM status window. (Robert Collins).
153
When using a progress bar, failed tests are printed out, rather than
154
being overwritten by the progress bar until the suite finishes.
157
* 'bzr selftest --benchmark' will run a new benchmarking selftest.
158
'bzr selftest --benchmark --lsprof-timed' will use lsprofile to generate
159
profile data for the individual profiled calls, allowing for fine
160
grained analysis of performance.
161
(Robert Collins, Martin Pool).
163
* 'bzr commit' shows a progress bar. This is useful for commits over sftp
164
where commit can take an appreciable time. (Robert Collins)
166
* 'bzr add' is now less verbose in telling you what ignore globs were
167
matched by files being ignored. Instead it just tells you how many
168
were ignored (because you might reasonably be expecting none to be
169
ignored). 'bzr add -v' is unchanged and will report every ignored
170
file. (Robert Collins).
172
* ftp now has a test server if medusa is installed. As part of testing,
173
ftp support has been improved, including support for supplying a
174
non-standard port. (John Arbash Meinel).
176
* 'bzr log --line' shows the revision number, and uses only the
177
first line of the log message (#5162, Alexander Belchenko;
180
* 'bzr status' has had the --all option removed. The 'bzr ls' command
181
should be used to retrieve all versioned files. (Robert Collins)
183
* 'bzr bundle OTHER/BRANCH' will create a bundle which can be sent
184
over email, and applied on the other end, while maintaining ancestry.
185
This bundle can be applied with either 'bzr merge' or 'bzr pull',
186
the same way you would apply another branch.
187
(John Arbash Meinel, Aaron Bentley)
189
* 'bzr whoami' can now be used to set your identity from the command line,
190
for a branch or globally. (Robey Pointer)
192
* 'bzr checkout' now aliased to 'bzr co', and 'bzr annotate' to 'bzr ann'.
195
* 'bzr revert DIRECTORY' now reverts the contents of the directory as well.
198
* 'bzr get sftp://foo' gives a better error when paramiko is not present.
199
Also updates things like 'http+pycurl://' if pycurl is not present.
200
(John Arbash Meinel) (Malone #47821, #52204)
202
* New env variable BZR_PROGRESS_BAR, sets the default progress bar type.
203
Can be set to 'none' or 'dummy' to disable the progress bar, 'dots' or
204
'tty' to create the respective type. (John Arbash Meinel, #42197, #51107)
206
* Improve the help text for 'bzr diff' to explain what various options do.
207
(John Arbash Meinel, #6391)
209
* 'bzr uncommit -r 10' now uncommits revisions 11.. rather than uncommitting
210
revision 10. This makes -r10 more in line with what other commands do.
211
'bzr uncommit' also now saves the pending merges of the revisions that
212
were removed. So it is safe to uncommit after a merge, fix something,
213
and commit again. (John Arbash Meinel, #32526, #31426)
215
* 'bzr init' now also works on remote locations.
216
(Wouter van Heyst, #48904)
218
* HTTP support has been updated. When using pycurl we now support
219
connection keep-alive, which reduces dns requests and round trips.
220
And for both urllib and pycurl we support multi-range requests,
221
which decreases the number of round-trips. Performance results for
222
``bzr branch http://bazaar-vcs.org/bzr/bzr.dev/`` indicate
223
http branching is now 2-3x faster, and ``bzr pull`` in an existing
224
branch is as much as 4x faster.
225
(Michael Ellerman, Johan Rydberg, John Arbash Meinel, #46768)
227
* Performance improvements for sftp. Branching and pulling are now up to
228
2x faster. Utilize paramiko.readv() support for async requests if it
229
is available (paramiko > 1.6) (John Arbash Meinel)
233
* Fix shadowed definition of TestLocationConfig that caused some
234
tests not to run. (#32587, Erik Bågfors, Michael Ellerman,
237
* Fix unnecessary requirement of sign-my-commits that it be run from
238
a working directory. (Martin Pool, Robert Collins)
240
* 'bzr push location' will only remember the push location if it succeeds
241
in connecting to the remote location. (#49742, John Arbash Meinel)
243
* 'bzr revert' no longer toggles the executable bit on win32
244
(#45010, John Arbash Meinel)
246
* Handle broken pipe under win32 correctly. (John Arbash Meinel)
248
* sftp tests now work correctly on win32 if you have a newer paramiko
251
* Cleanup win32 test suite, and general cleanup of places where
252
file handles were being held open. (John Arbash Meinel)
254
* When specifying filenames for 'diff -r x..y', the name of the file in the
255
working directory can be used, even if its name is different in both x
258
* File-ids containing single- or double-quotes are handled correctly by
259
push. (#52227, Aaron Bentley)
261
* Normalize unicode filenames to ensure cross-platform consistency.
262
(John Arbash Meinel, #43689)
264
* The argument parser can now handle '-' as an argument. Currently
265
no code interprets it specially (it is mostly handled as a file named
266
'-'). But plugins, and future operations can use it.
267
(John Arbash meinel, #50984)
269
* Bundles can properly read binary files with a plain '\r' in them.
270
(John Arbash Meinel, #51927)
272
* Tuning iter_entries() to be more efficient (John Arbash Meinel, #5444)
274
* Lots of win32 fixes (the test suite passes again).
275
(John Arbash Meinel, #50155)
277
* Handle openbsd returning None for sys.getfilesystemencoding() (#41183)
279
* Support ftp APPE (append) to allow Knits to be used over ftp (#42592)
281
* Removals are only committed if they match the filespec (or if there is
282
no filespec). (#46635, Aaron Bentley)
284
* smart-add recurses through all supplied directories
285
(John Arbash Meinel, #52578)
287
* Make the bundle reader extra lines before and after the bundle text.
288
This allows you to parse an email with the bundle inline.
289
(John Arbash Meinel, #49182)
291
* Change the file id generator to squash a little bit more. Helps when
292
working with long filenames on windows. (Also helps for unicode filenames
293
not generating hidden files). (John Arbash Meinel, #43801)
295
* Restore terminal mode on C-c while reading sftp password. (#48923,
296
Nicholas Allen, Martin Pool)
298
* Timestamps are rounded to 1ms, and revision entries can be recreated
299
exactly. (John Arbash Meinel, Jamie Wilkinson, #40693)
301
* Branch.base has changed to a URL, but ~/.bazaar/locations.conf should
302
use local paths, since it is user visible (John Arbash Meinel, #53653)
304
* ``bzr status foo`` when foo was unversioned used to cause a full delta
305
to be generated (John Arbash Meinel, #53638)
307
* When reading revision properties, an empty value should be considered
308
the empty string, not None (John Arbash Meinel, #47782)
310
* ``bzr diff --diff-options`` can now handle binary files being changed.
311
Also, the output is consistent when --diff-options is not supplied.
312
(John Arbash Meinel, #54651, #52930)
314
* Use the right suffixes for loading plugins (John Arbash Meinel, #51810)
316
* Fix Branch.get_parent() to handle the case when the parent is not
317
accessible (John Arbash Meinel, #52976)
321
* Combine the ignore rules into a single regex rather than looping over
322
them to reduce the threshold where N^2 behaviour occurs in operations
323
like status. (Jan Hudec, Robert Collins).
325
* Appending to bzrlib.DEFAULT_IGNORE is now deprecated. Instead, use
326
one of the add functions in bzrlib.ignores. (John Arbash Meinel)
328
* 'bzr push' should only push the ancestry of the current revision, not
329
all of the history in the repository. This is especially important for
330
shared repositories. (John Arbash Meinel)
332
* bzrlib.delta.compare_trees now iterates in alphabetically sorted order,
333
rather than randomly walking the inventories. (John Arbash Meinel)
335
* Doctests are now run in temporary directories which are cleaned up when
336
they finish, rather than using special ScratchDir/ScratchBranch objects.
339
* Split ``check`` into separate methods on the branch and on the repository,
340
so that it can be specialized in ways that are useful or efficient for
341
different formats. (Martin Pool, Robert Collins)
343
* Deprecate Repository.all_revision_ids; most methods don't really need
344
the global revision graph but only that part leading up to a particular
345
revision. (Martin Pool, Robert Collins)
347
* Add a BzrDirFormat control_formats list which allows for control formats
348
that do not use '.bzr' to store their data - i.e. '.svn', '.hg' etc.
349
(Robert Collins, Jelmer Vernooij).
351
* bzrlib.diff.external_diff can be redirected to any file-like object.
352
Uses subprocess instead of spawnvp.
353
(#4047, #48914, James Henstridge, John Arbash Meinel)
355
* New command line option '--profile-imports', which will install a custom
356
importer to log time to import modules and regex compilation time to
357
sys.stderr (John Arbash Meinel)
359
* 'EmptyTree' is now deprecated, please use repository.revision_tree(None)
360
instead. (Robert Collins)
362
* "RevisionTree" is now in bzrlib/revisiontree.py. (Robert Collins)
368
* setup.py failed to install launchpad plugin. (Martin Pool)
374
* Fix failure to commit a merge in a checkout. (Martin Pool,
375
Robert Collins, Erik Bågfors, #43959)
377
* Nicer messages from 'commit' in the case of renames, and correct
378
messages when a merge has occured. (Robert Collins, Martin Pool)
380
* Separate functionality from assert statements as they are skipped in
381
optimized mode of python. Add the same check to pending merges.
382
(#44443, Olaf Conradi)
386
* Do not show the None revision in output of bzr ancestry. (Olaf Conradi)
388
* Add info on standalone branches without a working tree.
389
(#44155, Olaf Conradi)
391
* Fix bug in knits when raising InvalidRevisionId. (#44284, Olaf Conradi)
395
* Make editor invocation comply with Debian Policy. First check
396
environment variables VISUAL and EDITOR, then try editor from
397
alternatives system. If that all fails, fall back to the pre-defined
398
list of editors. (#42904, Olaf Conradi)
402
* New 'register-branch' command registers a public branch into
403
Launchpad.net, where it can be associated with bugs, etc.
404
(Martin Pool, Bjorn Tillenius, Robert Collins)
408
* New public api in InventoryEntry - 'describe_change(old, new)' which
409
provides a human description of the changes between two old and
410
new. (Robert Collins, Martin Pool)
414
* Fix test case for bzr info in upgrading a standalone branch to metadir,
415
uses bzrlib api now. (Olaf Conradi)
419
NOTES WHEN UPGRADING:
421
Release 0.8 of bzr introduces a new format for history storage, called
422
'knit', as an evolution of to the 'weave' format used in 0.7. Local
423
and remote operations are faster using knits than weaves. Several
424
operations including 'init', 'init-repo', and 'upgrade' take a
425
--format option that controls this. Branching from an existing branch
426
will keep the same format.
428
It is possible to merge, pull and push between branches of different
429
formats but this is slower than moving data between homogenous
430
branches. It is therefore recommended (but not required) that you
431
upgrade all branches for a project at the same time. Information on
432
formats is shown by 'bzr info'.
434
bzr 0.8 now allows creation of 'repositories', which hold the history
435
of files and revisions for several branches. Previously bzr kept all
436
the history for a branch within the .bzr directory at the root of the
437
branch, and this is still the default. To create a repository, use
438
the new 'bzr init-repo' command. Branches exist as directories under
439
the repository and contain just a small amount of information
440
indicating the current revision of the branch.
442
bzr 0.8 also supports 'checkouts', which are similar to in cvs and
443
subversion. Checkouts are associated with a branch (optionally in a
444
repository), which contains all the historical information. The
445
result is that a checkout can be deleted without losing any
446
already-committed revisions. A new 'update' command is also available.
448
Repositories and checkouts are not supported with the 0.7 storage
449
format. To use them you must upgrad to either knits, or to the
450
'metaweave' format, which uses weaves but changes the .bzr directory
456
* Sftp paths can now be relative, or local, according to the lftp
457
convention. Paths now take the form:
458
sftp://user:pass@host:port/~/relative/path
460
sftp://user:pass@host:port/absolute/path
462
* The FTP transport now tries to reconnect after a temporary
463
failure. ftp put is made atomic. (Matthieu Moy)
465
* The FTP transport now maintains a pool of connections, and
466
reuses them to avoid multiple connections to the same host (like
467
sftp did). (Daniel Silverstone)
469
* The bzr_man.py file has been removed. To create the man page now,
470
use ./generate_docs.py man. The new program can also create other files.
471
Run "python generate_docs.py --help" for usage information. (Hans
472
Ulrich Niedermann & James Blackwell).
474
* Man Page now gives full help (James Blackwell). Help also updated to
475
reflect user config now being stored in .bazaar (Hans Ulrich
478
* It's now possible to set aliases in bazaar.conf (Erik Bågfors)
480
* Pull now accepts a --revision argument (Erik Bågfors)
482
* 'bzr re-sign' now allows multiple revisions to be supplied on the command
483
line. You can now use the following command to sign all of your old commits.
484
find .bzr/revision-store// -name my@email-* \
485
| sed 's/.*\/\/..\///' \
488
* Upgrade can now upgrade over the network. (Robert Collins)
490
* Two new commands 'bzr checkout' and 'bzr update' allow for CVS/SVN-alike
491
behaviour. By default they will cache history in the checkout, but
492
with --lightweight almost all data is kept in the master branch.
495
* 'revert' unversions newly-versioned files, instead of deleting them.
497
* 'merge' is more robust. Conflict messages have changed.
499
* 'merge' and 'revert' no longer clobber existing files that end in '~' or
502
* Default log format can be set in configuration and plugins can register
503
their own formatters. (Erik Bågfors)
505
* New 'reconcile' command will check branch consistency and repair indexes
506
that can become out of sync in pre 0.8 formats. (Robert Collins,
509
* New 'bzr init --format' and 'bzr upgrade --format' option to control
510
what storage format is created or produced. (Robert Collins,
513
* Add parent location to 'bzr info', if there is one. (Olaf Conradi)
515
* New developer commands 'weave-list' and 'weave-join'. (Martin Pool)
517
* New 'init-repository' command, plus support for repositories in 'init'
518
and 'branch' (Aaron Bentley, Erik Bågfors, Robert Collins)
520
* Improve output of 'info' command. Show all relevant locations related to
521
working tree, branch and repository. Use kibibytes for binary quantities.
522
Fix off-by-one error in missing revisions of working tree. Make 'info'
523
work on branches, repositories and remote locations. Show locations
524
relative to the shared repository, if applicable. Show locking status
525
of locations. (Olaf Conradi)
527
* Diff and merge now safely handle binary files. (Aaron Bentley)
529
* 'pull' and 'push' now normalise the revision history, so that any two
530
branches with the same tip revision will have the same output from 'log'.
533
* 'merge' accepts --remember option to store parent location, like 'push'
534
and 'pull'. (Olaf Conradi)
536
* bzr status and diff when files given as arguments do not exist
537
in the relevant trees. (Martin Pool, #3619)
539
* Add '.hg' to the default ignore list. (Martin Pool)
541
* 'knit' is now the default disk format. This improves disk performance and
542
utilization, increases incremental pull performance, robustness with SFTP
543
and allows checkouts over SFTP to perform acceptably.
544
The initial Knit code was contributed by Johan Rydberg based on a
545
specification by Martin Pool.
546
(Robert Collins, Aaron Bentley, Johan Rydberg, Martin Pool).
548
* New tool to generate all-in-one html version of the manual. (Alexander
551
* Hitting CTRL-C while doing an SFTP push will no longer cause stale locks
552
to be left in the SFTP repository. (Robert Collins, Martin Pool).
554
* New option 'diff --prefix' to control how files are named in diff
555
output, with shortcuts '-p0' and '-p1' corresponding to the options for
556
GNU patch. (Alexander Belchenko, Goffredo Baroncelli, Martin Pool)
558
* Add --revision option to 'annotate' command. (Olaf Conradi)
560
* If bzr shows an unexpected revision-history after pulling (perhaps due
561
to a reweave) it can now be corrected by 'bzr reconcile'.
566
* Commit is now verbose by default, and shows changed filenames and the
567
new revision number. (Robert Collins, Martin Pool)
569
* Unify 'mv', 'move', 'rename'. (#5379, Matthew Fuller)
571
* 'bzr -h' shows help. (#35940, Martin Pool, Ian Bicking)
573
* Make 'pull' and 'push' remember location on failure using --remember.
576
* For compatibility, make old format for using weaves inside metadir
577
available as 'metaweave' format. Rename format 'metadir' to 'default'.
578
Clean up help for option --format in commands 'init', 'init-repo' and
579
'upgrade'. (Olaf Conradi)
583
* The internal storage of history, and logical branch identity have now
584
been split into Branch, and Repository. The common locking and file
585
management routines are now in bzrlib.lockablefiles.
586
(Aaron Bentley, Robert Collins, Martin Pool)
588
* Transports can now raise DependencyNotPresent if they need a library
589
which is not installed, and then another implementation will be
592
* Remove obsolete (and no-op) `decode` parameter to `Transport.get`.
595
* Using Tree Transform for merge, revert, tree-building
597
* WorkingTree.create, Branch.create, WorkingTree.create_standalone,
598
Branch.initialize are now deprecated. Please see BzrDir.create_* for
599
replacement API's. (Robert Collins)
601
* New BzrDir class represents the .bzr control directory and manages
602
formatting issues. (Robert Collins)
604
* New repository.InterRepository class encapsulates Repository to
605
Repository actions and allows for clean selection of optimised code
606
paths. (Robert Collins)
608
* bzrlib.fetch.fetch and bzrlib.fetch.greedy_fetch are now deprecated,
609
please use 'branch.fetch' or 'repository.fetch' depending on your
610
needs. (Robert Collins)
612
* deprecated methods now have a 'is_deprecated' flag on them that can
613
be checked, if you need to determine whether a given callable is
614
deprecated at runtime. (Robert Collins)
616
* Progress bars are now nested - see
617
bzrlib.ui.ui_factory.nested_progress_bar. (Robert Collins, Robey Pointer)
619
* New API call get_format_description() for each type of format.
622
* Changed branch.set_parent() to accept None to remove parent.
625
* Deprecated BzrError AmbiguousBase. (Olaf Conradi)
627
* WorkingTree.branch is now a read only property. (Robert Collins)
629
* bzrlib.ui.text.TextUIFactory now accepts a bar_type parameter which
630
can be None or a factory that will create a progress bar. This is
631
useful for testing or for overriding the bzrlib.progress heuristic.
634
* New API method get_physical_lock_status() to query locks present on a
635
transport. (Olaf Conradi)
637
* Repository.reconcile now takes a thorough keyword parameter to allow
638
requesting an indepth reconciliation, rather than just a data-loss
639
check. (Robert Collins)
641
* bzrlib.ui.ui_factory protocol now supports 'get_boolean' to prompt
642
the user for yes/no style input. (Robert Collins)
646
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
647
for testing SFTP protocol support. (Robey Pointer)
649
* Branch formats are now tested once per implementation (see bzrlib.
650
tests.branch_implementations. This is analagous to the transport
651
interface tests, and has been followed up with working tree,
652
repository and BzrDir tests. (Robert Collins)
654
* New test base class TestCaseWithTransport provides a transport aware
655
test environment, useful for testing any transport-interface using
656
code. The test suite option --transport controls the transport used
657
by this class (when its not being used as part of implementation
658
contract testing). (Robert Collins)
660
* Close logging handler on disabling the test log. This will remove the
661
handler from the internal list inside python's logging module,
662
preventing shutdown from closing it twice. (Olaf Conradi)
664
* Move test case for uncommit to blackbox tests. (Olaf Conradi)
666
* run_bzr and run_bzr_captured now accept a 'stdin="foo"' parameter which
667
will provide String("foo") to the command as its stdin.
673
* .bzrignore is excluded from exports, on the grounds that it's a bzr
674
internal-use file and may not be wanted. (Jamie Wilkinson)
676
* The "bzr directories" command were removed in favor of the new
677
--kind option to the "bzr inventory" command. To list all
678
versioned directories, now use "bzr inventory --kind directory".
681
* Under Windows configuration directory is now %APPDATA%\bazaar\2.0
682
by default. (John Arbash Meinel)
684
* The parent of Bzr configuration directory can be set by BZR_HOME
685
environment variable. Now the path for it is searched in BZR_HOME, then
686
in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
687
points to C:\Documents and Settings\User Name\Application Data), HOME.
690
* Plugins with the same name in different directories in the bzr plugin
691
path are no longer loaded: only the first successfully loaded one is
692
used. (Robert Collins)
694
* Use systems' external ssh command to open connections if possible.
695
This gives better integration with user settings such as ProxyCommand.
698
* Permissions on files underneath .bzr/ are inherited from the .bzr
699
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
700
will mean that future file will be created with group write permissions.
702
* configure.in and config.guess are no longer in the builtin default
705
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
706
files. (John Arbash Meinel, Martin Pool)
710
* "bzr INIT dir" now initializes the specified directory, and creates
711
it if it does not exist. (John Arbash Meinel)
713
* New remerge command (Aaron Bentley)
715
* Better zsh completion script. (Steve Borho)
717
* 'bzr diff' now returns 1 when there are changes in the working
718
tree. (Robert Collins)
720
* 'bzr push' now exists and can push changes to a remote location.
721
This uses the transport infrastructure, and can store the remote
722
location in the ~/.bazaar/branches.conf configuration file.
725
* Test directories are only kept if the test fails and the user requests
728
* Tweaks to short log printing
730
* Added branch nicks, new nick command, printing them in log output.
733
* If $BZR_PDB is set, pop into the debugger when an uncaught exception
734
occurs. (Martin Pool)
736
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
737
the same as Subversion. (Martin Pool)
739
* New ftp transport support (on ftplib), for ftp:// and aftp://
740
URLs. (Daniel Silverstone)
742
* Commit editor temporary files now start with 'bzr_log.', to allow
743
text editors to match the file name and set up appropriate modes or
744
settings. (Magnus Therning)
746
* Improved performance when integrating changes from a remote weave.
747
(Goffredo Baroncelli)
749
* Sftp will attempt to cache the connection, so it is more likely that
750
a connection will be reused, rather than requiring multiple password
753
* bzr revno now takes an optional argument indicating the branch whose
754
revno should be printed. (Michael Ellerman)
756
* bzr cat defaults to printing the last version of the file.
757
(#3632, Matthieu Moy)
759
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
760
profiler. (Denys Duchier)
762
* Faster commits by reading only the headers of affected weave files.
765
* 'bzr add' now takes a --dry-run parameter which shows you what would be
766
added, but doesn't actually add anything. (Michael Ellerman)
768
* 'bzr add' now lists how many files were ignored per glob. add --verbose
769
lists the specific files. (Aaron Bentley)
771
* 'bzr missing' now supports displaying changes in diverged trees and can
772
be limited to show what either end of the comparison is missing.
773
(Aaron Bently, with a little prompting from Daniel Silverstone)
777
* SFTP can walk up to the root path without index errors. (Robert Collins)
779
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
781
* Error when run with -OO
783
* Fix bug in reporting http errors that don't have an http error code.
786
* Handle more cases of pipe errors in display commands
788
* Change status to 3 for all errors
790
* Files that are added and unlinked before committing are completely
791
ignored by diff and status
793
* Stores with some compressed texts and some uncompressed texts are now
794
able to be used. (John A Meinel)
796
* Fix for bzr pull failing sometimes under windows
798
* Fix for sftp transport under windows when using interactive auth
800
* Show files which are both renamed and modified as such in 'bzr
801
status' output. (#4503, Daniel Silverstone)
803
* Make annotate cope better with revisions committed without a valid
804
email address. (Marien Zwart)
806
* Fix representation of tab characters in commit messages. (Harald
809
* List of plugin directories in BZR_PLUGIN_PATH environment variable is
810
now parsed properly under Windows. (Alexander Belchenko)
812
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
814
* Keep a cached copy of the basis inventory to speed up operations
815
that need to refer to it. (Johan Rydberg, Martin Pool)
817
* Fix bugs in bzr status display of non-ascii characters. (Martin
820
* Remove Makefile.in from default ignore list. (#6413, Tollef Fog
823
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
827
* Fix selftest asking for passwords when there are no SFTP keys.
828
(Robey Pointer, Jelmer Vernooij)
830
* Fix selftest run with 'python -O'. (Martin Pool)
832
* Fix HTTP tests under Windows. (John Arbash Meinel)
834
* Make tests work even if HOME is not set (Aaron Bentley)
836
* Updated build_tree to use fixed line-endings for tests which read
837
the file cotents and compare. Make some tests use this to pass under
838
Windows. (John Arbash Meinel)
840
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
842
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
845
* Use terminal width to align verbose test output. (Martin Pool)
847
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
848
If adding a new test script please add that to
849
bzrlib.tests.blackbox.__init__. (Robert Collins)
851
* Much better error message if one of the test suites can't be
852
imported. (Martin Pool)
854
* Make check now runs the test suite twice - once with the default locale,
855
and once with all locales forced to C, to expose bugs. This is not
856
trivially done within python, so for now its only triggered by running
857
Make check. Integrators and packagers who wish to check for full
858
platform support should run 'make check' to test the source.
861
* Tests can now run TestSkipped if they can't execute for any reason.
862
(Martin Pool) (NB: TestSkipped should only be raised for correctable
863
reasons - see the wiki spec ImprovingBzrTestSuite).
865
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
866
paths for the transport tests. Introduce blackbox remote sftp tests that
867
test the same permutations. (Robert Collins, Robey Pointer)
869
* Transport implementation tests are now independent of the local file
870
system, which allows tests for esoteric transports, and for features
871
not available in the local file system. They also repeat for variations
872
on the URL scheme that can introduce issues in the transport code,
873
see bzrlib.transport.TransportTestProviderAdapter() for this.
876
* TestCase.build_tree uses the transport interface to build trees, pass
877
in a transport parameter to give it an existing connection.
882
* WorkingTree.pull has been split across Branch and WorkingTree,
883
to allow Branch only pulls. (Robert Collins)
885
* commands.display_command now returns the result of the decorated
886
function. (Robert Collins)
888
* LocationConfig now has a set_user_option(key, value) call to save
889
a setting in its matching location section (a new one is created
890
if needed). (Robert Collins)
892
* Branch has two new methods, get_push_location and set_push_location
893
to respectively, get and set the push location. (Robert Collins)
895
* commands.register_command now takes an optional flag to signal that
896
the registrant is planning to decorate an existing command. When
897
given multiple plugins registering a command is not an error, and
898
the original command class (whether built in or a plugin based one) is
899
returned to the caller. There is a new error 'MustUseDecorated' for
900
signalling when a wrapping command should switch to the original
901
version. (Robert Collins)
903
* Some option parsing errors will raise 'BzrOptionError', allowing
904
granular detection for decorating commands. (Robert Collins).
906
* Branch.read_working_inventory has moved to
907
WorkingTree.read_working_inventory. This necessitated changes to
908
Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
909
as well. To make it clear that a WorkingTree cannot always be obtained
910
Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
911
be obtained. (Robert Collins)
913
* All pending merges operations from Branch are now on WorkingTree.
916
* The follow operations from Branch have moved to WorkingTree:
924
* bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
926
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
928
* Rename selftests to `bzrlib.tests.test_foo`. (John A Meinel, Martin
931
* bzrlib.plugin.all_plugins has been changed from an attribute to a
932
query method. (Robert Collins)
934
* New options to read only the table-of-contents of a weave.
937
* Raise NoSuchFile when someone tries to add a non-existant file.
940
* Simplify handling of DivergedBranches in cmd_pull().
944
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
945
is exposed as Branch().control_files. Also this has been altered with the
946
controlfile pre/suffix replaced by simple method names like 'get' and
947
'put'. (Aaron Bentley, Robert Collins).
949
* Deprecated functions and methods can now be marked as such using the
950
bzrlib.symbol_versioning module. Marked method have their docstring
951
updated and will issue a DeprecationWarning using the warnings module
952
when they are used. (Robert Collins)
954
* bzrlib.osutils.safe_unicode now exists to provide parameter coercion
955
for functions that need unicode strings. (Robert Collins)
961
* pull now takes --verbose to show you what revisions are added or removed
964
* merge now takes a --show-base option to include the base text in
968
* The config files are now read using ConfigObj, so '=' should be used as
969
a separator, not ':'.
972
* New 'bzr commit --strict' option refuses to commit if there are
973
any unknown files in the tree. To commit, make sure all files are
974
either ignored, added, or deleted. (Michael Ellerman)
976
* The config directory is now ~/.bazaar, and there is a single file
977
~/.bazaar/bazaar.conf storing email, editor and other preferences.
980
* 'bzr add' no longer takes a --verbose option, and a --quiet option
981
has been added that suppresses all output.
983
* Improved zsh completion support in contrib/zsh, from Clint
986
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
989
* 'bzr check' now accepts -v for verbose reporting, and checks for
990
ghosts in the branch. (Robert Collins)
992
* New command 're-sign' which will regenerate the gpg signature for
993
a revision. (Robert Collins)
995
* If you set check_signatures=require for a path in
996
~/.bazaar/branches.conf then bzr will invoke your
997
gpg_signing_command (defaults to gpg) and record a digital signature
998
of your commit. (Robert Collins)
1000
* New sftp transport, based on Paramiko. (Robey Pointer)
1002
* 'bzr pull' now accepts '--clobber' which will discard local changes
1003
and make this branch identical to the source branch. (Robert Collins)
1005
* Just give a quieter warning if a plugin can't be loaded, and
1006
put the details in .bzr.log. (Martin Pool)
1008
* 'bzr branch' will now set the branch-name to the last component of the
1009
output directory, if one was supplied.
1011
* If the option 'post_commit' is set to one (or more) python function
1012
names (must be in the bzrlib namespace), then they will be invoked
1013
after the commit has completed, with the branch and revision_id as
1014
parameters. (Robert Collins)
1016
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
1018
* --merge-type weave is now supported for file contents. Tree-shape
1019
changes are still three-way based. (Martin Pool, Aaron Bentley)
1021
* 'bzr check' allows the first revision on revision-history to have
1022
parents - something that is expected for cheap checkouts, and occurs
1023
when conversions from baz do not have all history. (Robert Collins).
1025
* 'bzr merge' can now graft unrelated trees together, if your specify
1026
0 as a base. (Aaron Bentley)
1028
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
1031
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
1033
* 'bzr merge --reprocess' minimizes conflicts
1037
* The 'bzr selftest --pattern' option for has been removed, now
1038
test specifiers on the command line can be simple strings, or
1039
regexps, or both. (Robert Collins)
1041
* Passing -v to selftest will now show the time each test took to
1042
complete, which will aid in analysing performance regressions and
1043
related questions. (Robert Collins)
1045
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
1046
is given. (Martin Pool)
1048
* There is a new method for TestCaseInTempDir, assertFileEqual, which
1049
will check that a given content is equal to the content of the named
1050
file. (Robert Collins)
1052
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
1057
* New 'testament' command and concept for making gpg-signatures
1058
of revisions that are not tied to a particular internal
1059
representation. (Martin Pool).
1061
* Per-revision properties ('revprops') as key-value associated
1062
strings on each revision created when the revision is committed.
1063
Intended mainly for the use of external tools. (Martin Pool).
1065
* Config options have moved from bzrlib.osutils to bzrlib.config.
1068
* Improved command line option definitions allowing explanations
1069
for individual options, among other things. Contributed by
1072
* Config options have moved from bzrlib.osutils to bzrlib.config.
1073
Configuration is now done via the config.Config interface:
1074
Depending on whether you have a Branch, a Location or no information
1075
available, construct a *Config, and use its signature_checking,
1076
username and user_email methods. (Robert Collins)
1078
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
1079
they are made available for other plugins to use. You should not
1080
import other plugins during the __init__ of your plugin though, as
1081
no ordering is guaranteed, and the plugins directory is not on the
1082
python path. (Robert Collins)
1084
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
1085
no longer takes an inventory, rather it takes an option branch
1086
parameter, and if None is given will open the branch at basedir
1087
implicitly. (Robert Collins)
1089
* Cleaner exception structure and error reporting. Suggested by
1090
Scott James Remnant. (Martin Pool)
1092
* Branch.remove has been moved to WorkingTree, which has also gained
1093
lock_read, lock_write and unlock methods for convenience. (Robert
1096
* Two decorators, needs_read_lock and needs_write_lock have been added
1097
to the branch module. Use these to cause a function to run in a
1098
read or write lock respectively. (Robert Collins)
1100
* Branch.open_containing now returns a tuple (Branch, relative-path),
1101
which allows direct access to the common case of 'get me this file
1102
from its branch'. (Robert Collins)
1104
* Transports can register using register_lazy_transport, and they
1105
will be loaded when first used. (Martin Pool)
1107
* 'pull' has been factored out of the command as WorkingTree.pull().
1108
A new option to WorkingTree.pull has been added, clobber, which will
1109
ignore diverged history and pull anyway.
1112
* config.Config has a 'get_user_option' call that accepts an option name.
1113
This will be looked up in branches.conf and bazaar.conf as normal.
1114
It is intended that this be used by plugins to support options -
1115
options of built in programs should have specific methods on the config.
1118
* merge.merge_inner now has tempdir as an optional parameter. (Robert
1121
* Tree.kind is not recorded at the top level of the hierarchy, as it was
1122
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
1125
* WorkingTree.__del__ has been removed, it was non deterministic and not
1126
doing what it was intended to. See WorkingTree.__init__ for a comment
1127
about future directions. (Robert Collins/Martin Pool)
1129
* bzrlib.transport.http has been modified so that only 404 urllib errors
1130
are returned as NoSuchFile. Other exceptions will propogate as normal.
1131
This allows debuging of actual errors. (Robert Collins)
1133
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
1134
to apis like 'put', 'get' and 'has'. This is to provide consistent
1135
behaviour - it operates on url's only. (Robert Collins)
1137
* Transports can register using register_lazy_transport, and they
1138
will be loaded when first used. (Martin Pool)
1140
* 'merge_flex' no longer calls conflict_handler.finalize(), instead that
1141
is called by merge_inner. This is so that the conflict count can be
1142
retrieved (and potentially manipulated) before returning to the caller
1143
of merge_inner. Likewise 'merge' now returns the conflict count to the
1144
caller. (Robert Collins)
1146
* 'revision.revision_graph can handle having only partial history for
1147
a revision - that is no revisions in the graph with no parents.
1150
* New builtins.branch_files uses the standard file_list rules to produce
1151
a branch and a list of paths, relative to that branch (Aaron Bentley)
1153
* New TestCase.addCleanup facility.
1155
* New bzrlib.version_info tuple (similar to sys.version_info), which can
1156
be used by programs importing bzrlib.
1160
* Better handling of branches in directories with non-ascii names.
1161
(Joel Rosdahl, Panagiotis Papadakos)
1163
* Upgrades of trees with no commits will not fail due to accessing
1164
[-1] in the revision-history. (Andres Salomon)
1167
bzr 0.1.1 2005-10-12
1171
* Fix problem in pulling over http from machines that do not
1172
allow directories to be listed.
1174
* Avoid harmless warning about invalid hash cache after
1175
upgrading branch format.
1179
* Avoid some unnecessary http operations in branch and pull.
1186
* 'bzr branch' over http initially gives a very high estimate
1187
of completion time but it should fall as the first few
1188
revisions are pulled in. branch is still slow on
1189
high-latency connections.
1193
* bzr-man.py has been updated to work again. Contributed by
1196
* Locking is now done with fcntl.lockf which works with NFS
1197
file systems. Contributed by Harald Meland.
1199
* When a merge encounters a file that has been deleted on
1200
one side and modified on the other, the old contents are
1201
written out to foo.BASE and foo.SIDE, where SIDE is this
1202
or OTHER. Contributed by Aaron Bentley.
1204
* Export was choosing incorrect file paths for the content of
1205
the tarball, this has been fixed by Aaron Bentley.
1207
* Commit will no longer commit without a log message, an
1208
error is returned instead. Contributed by Jelmer Vernooij.
1210
* If you commit a specific file in a sub directory, any of its
1211
parent directories that are added but not listed will be
1212
automatically included. Suggested by Michael Ellerman.
1214
* bzr commit and upgrade did not correctly record new revisions
1215
for files with only a change to their executable status.
1216
bzr will correct this when it encounters it. Fixed by
1219
* HTTP tests now force off the use of http_proxy for the duration.
1220
Contributed by Gustavo Niemeyer.
1222
* Fix problems in merging weave-based branches that have
1223
different partial views of history.
1225
* Symlink support: working with symlinks when not in the root of a
1226
bzr tree was broken, patch from Scott James Remnant.
1230
* 'branch' now accepts a --basis parameter which will take advantage
1231
of local history when making a new branch. This allows faster
1232
branching of remote branches. Contributed by Aaron Bentley.
1234
* New tree format based on weave files, called version 5.
1235
Existing branches can be upgraded to this format using
1238
* Symlinks are now versionable. Initial patch by
1239
Erik Toubro Nielsen, updated to head by Robert Collins.
1241
* Executable bits are tracked on files. Patch from Gustavo
1244
* 'bzr status' now shows unknown files inside a selected directory.
1245
Patch from Heikki Paajanen.
1247
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
1248
and 'resolve' have needed added, which list and remove those
1249
merge conflicts respectively. A conflicted tree cannot be committed
1250
in. Contributed by Aaron Bentley.
1252
* 'rm' is now an alias for 'remove'.
1254
* Stores now split out their content in a single byte prefixed hash,
1255
dropping the density of files per directory by 256. Contributed by
1258
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
1259
Contributed by Robert Collins.
1261
* 'bzr log' with the default formatter will show merged revisions,
1262
indented to the right. Initial implementation contributed by Gustavo
1263
Niemeyer, made incremental by Robert Collins.
1268
* Test case failures have the exception printed after the log
1269
for your viewing pleasure.
1271
* InventoryEntry is now an abstract base class, use one of the
1272
concrete InventoryDirectory etc classes instead.
1274
* Branch raises an UnsupportedFormatError when it detects a
1275
bzr branch it cannot understand. This allows for precise
1276
handling of such circumstances.
1281
* Removed testsweet module so that tests can be run after
1282
bzr installed by 'bzr selftest'.
1284
* 'bzr selftest' command-line arguments can now be partial ids
1285
of tests to run, e.g. 'bzr selftest test_weave'
1288
bzr 0.0.9 2005-09-23
1292
* Fixed "branch -r" option.
1294
* Fix remote access to branches containing non-compressed history.
1297
* Better reliability of http server tests. (John Arbash-Meinel)
1299
* Merge graph maximum distance calculation fix. (Aaron Bentley)
1301
* Various minor bug in windows support have been fixed, largely in the
1302
test suite. Contributed by Alexander Belchenko.
1306
* Status now accepts a -r argument to give status between chosen
1307
revisions. Contributed by Heikki Paajanen.
1309
* Revision arguments no longer use +/-/= to control ranges, instead
1310
there is a 'before' namespace, which limits the successive namespace.
1311
For example '$ bzr log -r date:yesterday..before:date:today' will
1312
select everything from yesterday and before today. Contributed by
1315
* There is now a bzr.bat file created by distutils when building on
1316
Windows. Contributed by Alexander Belchenko.
1320
* Removed uuid() as it was unused.
1322
* Improved 'fetch' code for pulling revisions from one branch into
1323
another (used by pull, merged, etc.)
1326
bzr 0.0.8 2005-09-20