5
* .bzrignore is excluded from exports, on the grounds that it's a bzr
6
internal-use file and may not be wanted. (Jamie Wilkinson)
8
* The "bzr directories" command were removed in favor of the new
9
--kind option to the "bzr inventory" command. To list all
10
versioned directories, now use "bzr inventory --kind directory".
13
* Under Windows configuration directory is now %APPDATA%\bazaar\2.0
14
by default. (John Arbash Meinel)
16
* The parent of Bzr configuration directory can be set by BZR_HOME
17
environment variable. Now the path for it is searched in BZR_HOME, then
18
in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
19
points to C:\Documents and Settings\User Name\Application Data), HOME.
22
* Plugins with the same name in different directories in the bzr plugin
23
path are no longer loaded: only the first successfully loaded one is
24
used. (Robert Collins)
26
* Use systems' external ssh command to open connections if possible.
27
This gives better integration with user settings such as ProxyCommand.
30
* Sftp paths can now be relative, or local, according to the IETF
31
draft spec. Paths now take the form:
32
sftp://user:pass@host:port/relative/path
34
sftp://user:pass@host:port/%2Fabsolute/path
36
sftp://user:pass@host:port//absolute/path
38
* Permissions on files underneath .bzr/ are inherited from the .bzr
39
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
40
will mean that future file will be created with group write permissions.
42
* configure.in and config.guess are no longer in the builtin default
47
* "bzr INIT dir" now initializes the specified directory, and creates
48
it if it does not exist. (John Arbash Meinel)
50
* New remerge command (Aaron Bentley)
52
* Better zsh completion script. (Steve Borho)
54
* 'bzr diff' now returns 1 when there are changes in the working
55
tree. (Robert Collins)
57
* 'bzr push' now exists and can push changes to a remote location.
58
This uses the transport infrastructure, and can store the remote
59
location in the ~/.bazaar/branches.conf configuration file.
62
* Test directories are only kept if the test fails and the user requests
65
* Tweaks to short log printing
67
* Added branch nicks, new nick command, printing them in log output.
70
* If $BZR_PDB is set, pop into the debugger when an uncaught exception
73
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
74
the same as Subversion. (Martin Pool)
76
* New ftp transport support (on ftplib), for ftp:// and aftp://
77
URLs. (Daniel Silverstone)
79
* Commit editor temporary files now start with 'bzr_log.', to allow
80
text editors to match the file name and set up appropriate modes or
81
settings. (Magnus Therning)
83
* Improved performance when integrating changes from a remote weave.
86
* Sftp will attempt to cache the connection, so it is more likely that
87
a connection will be reused, rather than requiring multiple password
90
* bzr revno now takes an optional argument indicating the branch whose
91
revno should be printed. (Michael Ellerman)
93
* bzr cat defaults to printing the last version of the file.
96
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
97
profiler. (Denys Duchier)
99
* Faster commits by reading only the headers of affected weave files.
102
* 'bzr add' now takes a --dry-run parameter which shows you what would be
103
added, but doesn't actually add anything. (Michael Ellerman)
105
* bzr add now lists how many files were ignored per glob. add --verbose
106
lists the specific files. (Aaron Bentley)
110
* SFTP can walk up to the root path without index errors. (Robert Collins)
112
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
114
* Error when run with -OO
116
* Fix bug in reporting http errors that don't have an http error code.
119
* Handle more cases of pipe errors in display commands
121
* Change status to 3 for all errors
123
* Files that are added and unlinked before committing are completely
124
ignored by diff and status
126
* Stores with some compressed texts and some uncompressed texts are now
127
able to be used. (John A Meinel)
129
* Fix for bzr pull failing sometimes under windows
131
* Fix for sftp transport under windows when using interactive auth
133
* Show files which are both renamed and modified as such in 'bzr
134
status' output. (#4503, Daniel Silverstone)
136
* Make annotate cope better with revisions committed without a valid
137
email address. (Marien Zwart)
139
* Fix representation of tab characters in commit messages. (Harald
142
* List of plugin directories in BZR_PLUGIN_PATH environment variable is
143
now parsed properly under Windows. (Alexander Belchenko)
145
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
147
* Keep a cached copy of the basis inventory to speed up operations
148
that need to refer to it. (Johan Rydberg, Martin Pool)
150
* Fix bugs in bzr status display of non-ascii characters. (Martin
155
* Fix selftest asking for passwords when there are no SFTP keys.
156
(Robey Pointer, Jelmer Vernooij)
158
* Fix selftest run with 'python -O'. (Martin Pool)
160
* Fix HTTP tests under Windows. (John Arbash Meinel)
162
* Make tests work even if HOME is not set (Aaron Bentley)
164
* Updated build_tree to use fixed line-endings for tests which read
165
the file cotents and compare. Make some tests use this to pass under
166
Windows. (John Arbash Meinel)
168
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
170
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
173
* Use terminal width to align verbose test output. (Martin Pool)
175
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
176
If adding a new test script please add that to
177
bzrlib.tests.blackbox.__init__. (Robert Collins)
179
* Much better error message if one of the test suites can't be
180
imported. (Martin Pool)
182
* Make check now runs the test suite twice - once with the default locale,
183
and once with all locales forced to C, to expose bugs. This is not
184
trivially done within python, so for now its only triggered by running
185
Make check. Integrators and packagers who wish to check for full
186
platform support should run 'make check' to test the source.
189
* Tests can now run TestSkipped if they can't execute for any reason.
190
(Martin Pool) (NB: TestSkipped should only be raised for correctable
191
reasons - see the wiki spec ImprovingBzrTestSuite).
195
* WorkingTree.pull has been split across Branch and WorkingTree,
196
to allow Branch only pulls. (Robert Collins)
198
* commands.display_command now returns the result of the decorated
199
function. (Robert Collins)
201
* LocationConfig now has a set_user_option(key, value) call to save
202
a setting in its matching location section (a new one is created
203
if needed). (Robert Collins)
205
* Branch has two new methods, get_push_location and set_push_location
206
to respectively, get and set the push location. (Robert Collins)
208
* commands.register_command now takes an optional flag to signal that
209
the registrant is planning to decorate an existing command. When
210
given multiple plugins registering a command is not an error, and
211
the original command class (whether built in or a plugin based one) is
212
returned to the caller. There is a new error 'MustUseDecorated' for
213
signalling when a wrapping command should switch to the original
214
version. (Robert Collins)
216
* Some option parsing errors will raise 'BzrOptionError', allowing
217
granular detection for decorating commands. (Robert Collins).
219
* Branch.read_working_inventory has moved to
220
WorkingTree.read_working_inventory. This necessitated changes to
221
Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
222
as well. To make it clear that a WorkingTree cannot always be obtained
223
Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
224
be obtained. (Robert Collins)
226
* All pending merges operations from Branch are now on WorkingTree.
229
* The follow operations from Branch have moved to WorkingTree:
237
* bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
239
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
241
* Rename selftests to `bzrlib.tests.test_foo`. (John A Meinel, Martin
244
* bzrlib.plugin.all_plugins has been changed from an attribute to a
245
query method. (Robert Collins)
247
* New options to read only the table-of-contents of a weave.
250
* Raise NoSuchFile when someone tries to add a non-existant file.
253
* Simplify handling of DivergedBranches in cmd_pull().
256
* Deprecated functions and methods can now be marked as such using the
257
bzrlib.symbol_versioning module. Marked method have their docstring
258
updated and will issue a DeprecationWarning using the warnings module
259
when they are used. (Robert Collins)
261
* bzrlib.osutils.safe_unicode now exists to provide parameter coercion
262
for functions that need unicode strings. (Robert Collins)
268
* pull now takes --verbose to show you what revisions are added or removed
271
* merge now takes a --show-base option to include the base text in
275
* The config files are now read using ConfigObj, so '=' should be used as
276
a separator, not ':'.
279
* New 'bzr commit --strict' option refuses to commit if there are
280
any unknown files in the tree. To commit, make sure all files are
281
either ignored, added, or deleted. (Michael Ellerman)
283
* The config directory is now ~/.bazaar, and there is a single file
284
~/.bazaar/bazaar.conf storing email, editor and other preferences.
287
* 'bzr add' no longer takes a --verbose option, and a --quiet option
288
has been added that suppresses all output.
290
* Improved zsh completion support in contrib/zsh, from Clint
293
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
296
* 'bzr check' now accepts -v for verbose reporting, and checks for
297
ghosts in the branch. (Robert Collins)
299
* New command 're-sign' which will regenerate the gpg signature for
300
a revision. (Robert Collins)
302
* If you set check_signatures=require for a path in
303
~/.bazaar/branches.conf then bzr will invoke your
304
gpg_signing_command (defaults to gpg) and record a digital signature
305
of your commit. (Robert Collins)
307
* New sftp transport, based on Paramiko. (Robey Pointer)
309
* 'bzr pull' now accepts '--clobber' which will discard local changes
310
and make this branch identical to the source branch. (Robert Collins)
312
* Just give a quieter warning if a plugin can't be loaded, and
313
put the details in .bzr.log. (Martin Pool)
315
* 'bzr branch' will now set the branch-name to the last component of the
316
output directory, if one was supplied.
318
* If the option 'post_commit' is set to one (or more) python function
319
names (must be in the bzrlib namespace), then they will be invoked
320
after the commit has completed, with the branch and revision_id as
321
parameters. (Robert Collins)
323
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
325
* --merge-type weave is now supported for file contents. Tree-shape
326
changes are still three-way based. (Martin Pool, Aaron Bentley)
328
* 'bzr check' allows the first revision on revision-history to have
329
parents - something that is expected for cheap checkouts, and occurs
330
when conversions from baz do not have all history. (Robert Collins).
332
* 'bzr merge' can now graft unrelated trees together, if your specify
333
0 as a base. (Aaron Bentley)
335
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
338
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
340
* 'bzr merge --reprocess' minimizes conflicts
344
* The 'bzr selftest --pattern' option for has been removed, now
345
test specifiers on the command line can be simple strings, or
346
regexps, or both. (Robert Collins)
348
* Passing -v to selftest will now show the time each test took to
349
complete, which will aid in analysing performance regressions and
350
related questions. (Robert Collins)
352
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
353
is given. (Martin Pool)
355
* There is a new method for TestCaseInTempDir, assertFileEqual, which
356
will check that a given content is equal to the content of the named
357
file. (Robert Collins)
359
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
364
* New 'testament' command and concept for making gpg-signatures
365
of revisions that are not tied to a particular internal
366
representation. (Martin Pool).
368
* Per-revision properties ('revprops') as key-value associated
369
strings on each revision created when the revision is committed.
370
Intended mainly for the use of external tools. (Martin Pool).
372
* Config options have moved from bzrlib.osutils to bzrlib.config.
375
* Improved command line option definitions allowing explanations
376
for individual options, among other things. Contributed by
379
* Config options have moved from bzrlib.osutils to bzrlib.config.
380
Configuration is now done via the config.Config interface:
381
Depending on whether you have a Branch, a Location or no information
382
available, construct a *Config, and use its signature_checking,
383
username and user_email methods. (Robert Collins)
385
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
386
they are made available for other plugins to use. You should not
387
import other plugins during the __init__ of your plugin though, as
388
no ordering is guaranteed, and the plugins directory is not on the
389
python path. (Robert Collins)
391
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
392
no longer takes an inventory, rather it takes an option branch
393
parameter, and if None is given will open the branch at basedir
394
implicitly. (Robert Collins)
396
* Cleaner exception structure and error reporting. Suggested by
397
Scott James Remnant. (Martin Pool)
399
* Branch.remove has been moved to WorkingTree, which has also gained
400
lock_read, lock_write and unlock methods for convenience. (Robert
403
* Two decorators, needs_read_lock and needs_write_lock have been added
404
to the branch module. Use these to cause a function to run in a
405
read or write lock respectively. (Robert Collins)
407
* Branch.open_containing now returns a tuple (Branch, relative-path),
408
which allows direct access to the common case of 'get me this file
409
from its branch'. (Robert Collins)
411
* Transports can register using register_lazy_transport, and they
412
will be loaded when first used. (Martin Pool)
414
* 'pull' has been factored out of the command as WorkingTree.pull().
415
A new option to WorkingTree.pull has been added, clobber, which will
416
ignore diverged history and pull anyway.
419
* config.Config has a 'get_user_option' call that accepts an option name.
420
This will be looked up in branches.conf and bazaar.conf as normal.
421
It is intended that this be used by plugins to support options -
422
options of built in programs should have specific methods on the config.
425
* merge.merge_inner now has tempdir as an optional parameter. (Robert
428
* Tree.kind is not recorded at the top level of the hierarchy, as it was
429
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
432
* WorkingTree.__del__ has been removed, it was non deterministic and not
433
doing what it was intended to. See WorkingTree.__init__ for a comment
434
about future directions. (Robert Collins/Martin Pool)
436
* bzrlib.transport.http has been modified so that only 404 urllib errors
437
are returned as NoSuchFile. Other exceptions will propogate as normal.
438
This allows debuging of actual errors. (Robert Collins)
440
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
441
to apis like 'put', 'get' and 'has'. This is to provide consistent
442
behaviour - it operates on url's only. (Robert Collins)
444
* Transports can register using register_lazy_transport, and they
445
will be loaded when first used. (Martin Pool)
447
* 'merge_flex' no longer calls conflict_handler.finalize(), instead that
448
is called by merge_inner. This is so that the conflict count can be
449
retrieved (and potentially manipulated) before returning to the caller
450
of merge_inner. Likewise 'merge' now returns the conflict count to the
451
caller. (Robert Collins)
453
* 'revision.revision_graph can handle having only partial history for
454
a revision - that is no revisions in the graph with no parents.
457
* New builtins.branch_files uses the standard file_list rules to produce
458
a branch and a list of paths, relative to that branch (Aaron Bentley)
460
* New TestCase.addCleanup facility.
462
* New bzrlib.version_info tuple (similar to sys.version_info), which can
463
be used by programs importing bzrlib.
467
* Better handling of branches in directories with non-ascii names.
468
(Joel Rosdahl, Panagiotis Papadakos)
470
* Upgrades of trees with no commits will not fail due to accessing
471
[-1] in the revision-history. (Andres Salomon)
478
* Fix problem in pulling over http from machines that do not
479
allow directories to be listed.
481
* Avoid harmless warning about invalid hash cache after
482
upgrading branch format.
486
* Avoid some unnecessary http operations in branch and pull.
493
* 'bzr branch' over http initially gives a very high estimate
494
of completion time but it should fall as the first few
495
revisions are pulled in. branch is still slow on
496
high-latency connections.