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().
257
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
258
is exposed as Branch().control_files. Also this has been altered with the
259
controlfile pre/suffix replaced by simple method names like 'get' and
260
'put'. (Aaron Bentley, Robert Collins).
266
* pull now takes --verbose to show you what revisions are added or removed
269
* merge now takes a --show-base option to include the base text in
273
* The config files are now read using ConfigObj, so '=' should be used as
274
a separator, not ':'.
277
* New 'bzr commit --strict' option refuses to commit if there are
278
any unknown files in the tree. To commit, make sure all files are
279
either ignored, added, or deleted. (Michael Ellerman)
281
* The config directory is now ~/.bazaar, and there is a single file
282
~/.bazaar/bazaar.conf storing email, editor and other preferences.
285
* 'bzr add' no longer takes a --verbose option, and a --quiet option
286
has been added that suppresses all output.
288
* Improved zsh completion support in contrib/zsh, from Clint
291
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
294
* 'bzr check' now accepts -v for verbose reporting, and checks for
295
ghosts in the branch. (Robert Collins)
297
* New command 're-sign' which will regenerate the gpg signature for
298
a revision. (Robert Collins)
300
* If you set check_signatures=require for a path in
301
~/.bazaar/branches.conf then bzr will invoke your
302
gpg_signing_command (defaults to gpg) and record a digital signature
303
of your commit. (Robert Collins)
305
* New sftp transport, based on Paramiko. (Robey Pointer)
307
* 'bzr pull' now accepts '--clobber' which will discard local changes
308
and make this branch identical to the source branch. (Robert Collins)
310
* Just give a quieter warning if a plugin can't be loaded, and
311
put the details in .bzr.log. (Martin Pool)
313
* 'bzr branch' will now set the branch-name to the last component of the
314
output directory, if one was supplied.
316
* If the option 'post_commit' is set to one (or more) python function
317
names (must be in the bzrlib namespace), then they will be invoked
318
after the commit has completed, with the branch and revision_id as
319
parameters. (Robert Collins)
321
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
323
* --merge-type weave is now supported for file contents. Tree-shape
324
changes are still three-way based. (Martin Pool, Aaron Bentley)
326
* 'bzr check' allows the first revision on revision-history to have
327
parents - something that is expected for cheap checkouts, and occurs
328
when conversions from baz do not have all history. (Robert Collins).
330
* 'bzr merge' can now graft unrelated trees together, if your specify
331
0 as a base. (Aaron Bentley)
333
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
336
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
338
* 'bzr merge --reprocess' minimizes conflicts
342
* The 'bzr selftest --pattern' option for has been removed, now
343
test specifiers on the command line can be simple strings, or
344
regexps, or both. (Robert Collins)
346
* Passing -v to selftest will now show the time each test took to
347
complete, which will aid in analysing performance regressions and
348
related questions. (Robert Collins)
350
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
351
is given. (Martin Pool)
353
* There is a new method for TestCaseInTempDir, assertFileEqual, which
354
will check that a given content is equal to the content of the named
355
file. (Robert Collins)
357
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
362
* New 'testament' command and concept for making gpg-signatures
363
of revisions that are not tied to a particular internal
364
representation. (Martin Pool).
366
* Per-revision properties ('revprops') as key-value associated
367
strings on each revision created when the revision is committed.
368
Intended mainly for the use of external tools. (Martin Pool).
370
* Config options have moved from bzrlib.osutils to bzrlib.config.
373
* Improved command line option definitions allowing explanations
374
for individual options, among other things. Contributed by
377
* Config options have moved from bzrlib.osutils to bzrlib.config.
378
Configuration is now done via the config.Config interface:
379
Depending on whether you have a Branch, a Location or no information
380
available, construct a *Config, and use its signature_checking,
381
username and user_email methods. (Robert Collins)
383
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
384
they are made available for other plugins to use. You should not
385
import other plugins during the __init__ of your plugin though, as
386
no ordering is guaranteed, and the plugins directory is not on the
387
python path. (Robert Collins)
389
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
390
no longer takes an inventory, rather it takes an option branch
391
parameter, and if None is given will open the branch at basedir
392
implicitly. (Robert Collins)
394
* Cleaner exception structure and error reporting. Suggested by
395
Scott James Remnant. (Martin Pool)
397
* Branch.remove has been moved to WorkingTree, which has also gained
398
lock_read, lock_write and unlock methods for convenience. (Robert
401
* Two decorators, needs_read_lock and needs_write_lock have been added
402
to the branch module. Use these to cause a function to run in a
403
read or write lock respectively. (Robert Collins)
405
* Branch.open_containing now returns a tuple (Branch, relative-path),
406
which allows direct access to the common case of 'get me this file
407
from its branch'. (Robert Collins)
409
* Transports can register using register_lazy_transport, and they
410
will be loaded when first used. (Martin Pool)
412
* 'pull' has been factored out of the command as WorkingTree.pull().
413
A new option to WorkingTree.pull has been added, clobber, which will
414
ignore diverged history and pull anyway.
417
* config.Config has a 'get_user_option' call that accepts an option name.
418
This will be looked up in branches.conf and bazaar.conf as normal.
419
It is intended that this be used by plugins to support options -
420
options of built in programs should have specific methods on the config.
423
* merge.merge_inner now has tempdir as an optional parameter. (Robert
426
* Tree.kind is not recorded at the top level of the hierarchy, as it was
427
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
430
* WorkingTree.__del__ has been removed, it was non deterministic and not
431
doing what it was intended to. See WorkingTree.__init__ for a comment
432
about future directions. (Robert Collins/Martin Pool)
434
* bzrlib.transport.http has been modified so that only 404 urllib errors
435
are returned as NoSuchFile. Other exceptions will propogate as normal.
436
This allows debuging of actual errors. (Robert Collins)
438
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
439
to apis like 'put', 'get' and 'has'. This is to provide consistent
440
behaviour - it operates on url's only. (Robert Collins)
442
* Transports can register using register_lazy_transport, and they
443
will be loaded when first used. (Martin Pool)
445
* 'merge_flex' no longer calls conflict_handler.finalize(), instead that
446
is called by merge_inner. This is so that the conflict count can be
447
retrieved (and potentially manipulated) before returning to the caller
448
of merge_inner. Likewise 'merge' now returns the conflict count to the
449
caller. (Robert Collins)
451
* 'revision.revision_graph can handle having only partial history for
452
a revision - that is no revisions in the graph with no parents.
455
* New builtins.branch_files uses the standard file_list rules to produce
456
a branch and a list of paths, relative to that branch (Aaron Bentley)
458
* New TestCase.addCleanup facility.
460
* New bzrlib.version_info tuple (similar to sys.version_info), which can
461
be used by programs importing bzrlib.
465
* Better handling of branches in directories with non-ascii names.
466
(Joel Rosdahl, Panagiotis Papadakos)
468
* Upgrades of trees with no commits will not fail due to accessing
469
[-1] in the revision-history. (Andres Salomon)
476
* Fix problem in pulling over http from machines that do not
477
allow directories to be listed.
479
* Avoid harmless warning about invalid hash cache after
480
upgrading branch format.
484
* Avoid some unnecessary http operations in branch and pull.
491
* 'bzr branch' over http initially gives a very high estimate
492
of completion time but it should fall as the first few
493
revisions are pulled in. branch is still slow on
494
high-latency connections.
498
* bzr-man.py has been updated to work again. Contributed by
501
* Locking is now done with fcntl.lockf which works with NFS
502
file systems. Contributed by Harald Meland.
504
* When a merge encounters a file that has been deleted on
505
one side and modified on the other, the old contents are
506
written out to foo.BASE and foo.SIDE, where SIDE is this
507
or OTHER. Contributed by Aaron Bentley.
509
* Export was choosing incorrect file paths for the content of
510
the tarball, this has been fixed by Aaron Bentley.
512
* Commit will no longer commit without a log message, an
513
error is returned instead. Contributed by Jelmer Vernooij.
515
* If you commit a specific file in a sub directory, any of its
516
parent directories that are added but not listed will be
517
automatically included. Suggested by Michael Ellerman.
519
* bzr commit and upgrade did not correctly record new revisions
520
for files with only a change to their executable status.
521
bzr will correct this when it encounters it. Fixed by
524
* HTTP tests now force off the use of http_proxy for the duration.
525
Contributed by Gustavo Niemeyer.
527
* Fix problems in merging weave-based branches that have
528
different partial views of history.
530
* Symlink support: working with symlinks when not in the root of a
531
bzr tree was broken, patch from Scott James Remnant.
536
* 'branch' now accepts a --basis parameter which will take advantage
537
of local history when making a new branch. This allows faster
538
branching of remote branches. Contributed by Aaron Bentley.
540
* New tree format based on weave files, called version 5.
541
Existing branches can be upgraded to this format using
544
* Symlinks are now versionable. Initial patch by
545
Erik Toubro Nielsen, updated to head by Robert Collins.
547
* Executable bits are tracked on files. Patch from Gustavo
550
* 'bzr status' now shows unknown files inside a selected directory.
551
Patch from Heikki Paajanen.
553
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
554
and 'resolve' have needed added, which list and remove those
555
merge conflicts respectively. A conflicted tree cannot be committed
556
in. Contributed by Aaron Bentley.
558
* 'rm' is now an alias for 'remove'.
560
* Stores now split out their content in a single byte prefixed hash,
561
dropping the density of files per directory by 256. Contributed by
564
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
565
Contributed by Robert Collins.
567
* 'bzr log' with the default formatter will show merged revisions,
568
indented to the right. Initial implementation contributed by Gustavo
569
Niemeyer, made incremental by Robert Collins.
574
* Test case failures have the exception printed after the log
575
for your viewing pleasure.
577
* InventoryEntry is now an abstract base class, use one of the
578
concrete InventoryDirectory etc classes instead.
580
* Branch raises an UnsupportedFormatError when it detects a
581
bzr branch it cannot understand. This allows for precise
582
handling of such circumstances.
587
* Removed testsweet module so that tests can be run after
588
bzr installed by 'bzr selftest'.
590
* 'bzr selftest' command-line arguments can now be partial ids
591
of tests to run, e.g. 'bzr selftest test_weave'
598
* Fixed "branch -r" option.
600
* Fix remote access to branches containing non-compressed history.
603
* Better reliability of http server tests. (John Arbash-Meinel)
605
* Merge graph maximum distance calculation fix. (Aaron Bentley)
607
* Various minor bug in windows support have been fixed, largely in the
608
test suite. Contributed by Alexander Belchenko.
612
* Status now accepts a -r argument to give status between chosen
613
revisions. Contributed by Heikki Paajanen.
615
* Revision arguments no longer use +/-/= to control ranges, instead
616
there is a 'before' namespace, which limits the successive namespace.
617
For example '$ bzr log -r date:yesterday..before:date:today' will
618
select everything from yesterday and before today. Contributed by
621
* There is now a bzr.bat file created by distutils when building on
622
Windows. Contributed by Alexander Belchenko.
626
* Removed uuid() as it was unused.
628
* Improved 'fetch' code for pulling revisions from one branch into
629
another (used by pull, merged, etc.)
636
* Adding a file whose parent directory is not versioned will
637
implicitly add the parent, and so on up to the root. This means
638
you should never need to explictly add a directory, they'll just
639
get added when you add a file in the directory. Contributed by
642
* Ignore .DS_Store (contains Mac metadata) by default. Patch from
645
* If you set BZR_EDITOR in the environment, it is checked in
646
preference to EDITOR and the config file for the interactive commit
647
editing program. Related to this is a bugfix where a missing program
648
set in EDITOR would cause editing to fail, now the fallback program
649
for the operating system is still tried.
651
* Files that are not directories/symlinks/regular files will no longer
652
cause bzr to fail, it will just ignore them by default. You cannot add
653
them to the tree though - they are not versionable.
658
* Refactor xml packing/unpacking.
662
* Fixed 'bzr mv' by Ollie Rutherfurd.
664
* Fixed strange error when trying to access a nonexistent http
667
* Make sure that the hashcache gets written out if it can't be
673
* Various Windows fixes from Ollie Rutherfurd.
675
* Quieten warnings about locking; patch from Matt Lavin.
682
* ``bzr shell-complete`` command contributed by Clint Adams to
683
help with intelligent shell completion.
685
* New expert command ``bzr find-merge-base`` for debugging merges.
690
* Much better merge support.
692
* merge3 conflicts are now reported with markers like '<<<<<<<'
693
(seven characters) which is the same as CVS and pleases things
699
* ``bzr upgrade`` no longer fails when trying to fix trees that
700
mention revisions that are not present.
702
* Fixed bugs in listing plugins from ``bzr plugins``.
704
* Fix case of $EDITOR containing options for the editor.
706
* Fix log -r refusing to show the last revision.
707
(Patch from Goffredo Baroncelli.)
712
* ``bzr log --show-ids`` shows the revision ids of all parents.
714
* Externally provided commands on your $BZRPATH no longer need
715
to recognize --bzr-usage to work properly, and can just handle
721
* Changed trace messages to go through the standard logging
722
framework, so that they can more easily be redirected by