1
bzr development version
5
* The internal storage of history, and logical branch identity have now
6
been split into Branch, and Repository. The common locking and file
7
management routines are now in bzrlib.lockablefiles.
8
(Aaron Bentley, Robert Collins, Martin Pool)
12
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
13
for testing SFTP protocol support. (Robey Pointer)
19
* .bzrignore is excluded from exports, on the grounds that it's a bzr
20
internal-use file and may not be wanted. (Jamie Wilkinson)
22
* The "bzr directories" command were removed in favor of the new
23
--kind option to the "bzr inventory" command. To list all
24
versioned directories, now use "bzr inventory --kind directory".
27
* Under Windows configuration directory is now %APPDATA%\bazaar\2.0
28
by default. (John Arbash Meinel)
30
* The parent of Bzr configuration directory can be set by BZR_HOME
31
environment variable. Now the path for it is searched in BZR_HOME, then
32
in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
33
points to C:\Documents and Settings\User Name\Application Data), HOME.
36
* Plugins with the same name in different directories in the bzr plugin
37
path are no longer loaded: only the first successfully loaded one is
38
used. (Robert Collins)
40
* Use systems' external ssh command to open connections if possible.
41
This gives better integration with user settings such as ProxyCommand.
44
* Sftp paths can now be relative, or local, according to the lftp
45
convention. Paths now take the form:
46
sftp://user:pass@host:port/~/relative/path
48
sftp://user:pass@host:port/absolute/path
50
* Permissions on files underneath .bzr/ are inherited from the .bzr
51
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
52
will mean that future file will be created with group write permissions.
54
* configure.in and config.guess are no longer in the builtin default
57
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
58
files. (John Arbash Meinel, Martin Pool)
62
* "bzr INIT dir" now initializes the specified directory, and creates
63
it if it does not exist. (John Arbash Meinel)
65
* New remerge command (Aaron Bentley)
67
* Better zsh completion script. (Steve Borho)
69
* 'bzr diff' now returns 1 when there are changes in the working
70
tree. (Robert Collins)
72
* 'bzr push' now exists and can push changes to a remote location.
73
This uses the transport infrastructure, and can store the remote
74
location in the ~/.bazaar/branches.conf configuration file.
77
* Test directories are only kept if the test fails and the user requests
80
* Tweaks to short log printing
82
* Added branch nicks, new nick command, printing them in log output.
85
* If $BZR_PDB is set, pop into the debugger when an uncaught exception
88
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
89
the same as Subversion. (Martin Pool)
91
* New ftp transport support (on ftplib), for ftp:// and aftp://
92
URLs. (Daniel Silverstone)
94
* Commit editor temporary files now start with 'bzr_log.', to allow
95
text editors to match the file name and set up appropriate modes or
96
settings. (Magnus Therning)
98
* Improved performance when integrating changes from a remote weave.
101
* Sftp will attempt to cache the connection, so it is more likely that
102
a connection will be reused, rather than requiring multiple password
105
* bzr revno now takes an optional argument indicating the branch whose
106
revno should be printed. (Michael Ellerman)
108
* bzr cat defaults to printing the last version of the file.
109
(#3632, Matthieu Moy)
111
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
112
profiler. (Denys Duchier)
114
* Faster commits by reading only the headers of affected weave files.
117
* 'bzr add' now takes a --dry-run parameter which shows you what would be
118
added, but doesn't actually add anything. (Michael Ellerman)
120
* bzr add now lists how many files were ignored per glob. add --verbose
121
lists the specific files. (Aaron Bentley)
125
* SFTP can walk up to the root path without index errors. (Robert Collins)
127
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
129
* Error when run with -OO
131
* Fix bug in reporting http errors that don't have an http error code.
134
* Handle more cases of pipe errors in display commands
136
* Change status to 3 for all errors
138
* Files that are added and unlinked before committing are completely
139
ignored by diff and status
141
* Stores with some compressed texts and some uncompressed texts are now
142
able to be used. (John A Meinel)
144
* Fix for bzr pull failing sometimes under windows
146
* Fix for sftp transport under windows when using interactive auth
148
* Show files which are both renamed and modified as such in 'bzr
149
status' output. (#4503, Daniel Silverstone)
151
* Make annotate cope better with revisions committed without a valid
152
email address. (Marien Zwart)
154
* Fix representation of tab characters in commit messages. (Harald
157
* List of plugin directories in BZR_PLUGIN_PATH environment variable is
158
now parsed properly under Windows. (Alexander Belchenko)
160
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
162
* Keep a cached copy of the basis inventory to speed up operations
163
that need to refer to it. (Johan Rydberg, Martin Pool)
165
* Fix bugs in bzr status display of non-ascii characters. (Martin
168
* Remove Makefile.in from default ignore list. (#6413, Tollef Fog
171
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
175
* Fix selftest asking for passwords when there are no SFTP keys.
176
(Robey Pointer, Jelmer Vernooij)
178
* Fix selftest run with 'python -O'. (Martin Pool)
180
* Fix HTTP tests under Windows. (John Arbash Meinel)
182
* Make tests work even if HOME is not set (Aaron Bentley)
184
* Updated build_tree to use fixed line-endings for tests which read
185
the file cotents and compare. Make some tests use this to pass under
186
Windows. (John Arbash Meinel)
188
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
190
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
193
* Use terminal width to align verbose test output. (Martin Pool)
195
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
196
If adding a new test script please add that to
197
bzrlib.tests.blackbox.__init__. (Robert Collins)
199
* Much better error message if one of the test suites can't be
200
imported. (Martin Pool)
202
* Make check now runs the test suite twice - once with the default locale,
203
and once with all locales forced to C, to expose bugs. This is not
204
trivially done within python, so for now its only triggered by running
205
Make check. Integrators and packagers who wish to check for full
206
platform support should run 'make check' to test the source.
209
* Tests can now run TestSkipped if they can't execute for any reason.
210
(Martin Pool) (NB: TestSkipped should only be raised for correctable
211
reasons - see the wiki spec ImprovingBzrTestSuite).
213
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
214
paths for the transport tests. Introduce blackbox remote sftp tests that
215
test the same permutations. (Robert Collins, Robey Pointer)
217
* Transport implementation tests are now independent of the local file
218
system, which allows tests for esoteric transports, and for features
219
not available in the local file system. They also repeat for variations
220
on the URL scheme that can introduce issues in the transport code,
221
see bzrlib.transport.TransportTestProviderAdapter() for this.
224
* TestCase.build_tree uses the transport interface to build trees, pass
225
in a transport parameter to give it an existing connection.
230
* WorkingTree.pull has been split across Branch and WorkingTree,
231
to allow Branch only pulls. (Robert Collins)
233
* commands.display_command now returns the result of the decorated
234
function. (Robert Collins)
236
* LocationConfig now has a set_user_option(key, value) call to save
237
a setting in its matching location section (a new one is created
238
if needed). (Robert Collins)
240
* Branch has two new methods, get_push_location and set_push_location
241
to respectively, get and set the push location. (Robert Collins)
243
* commands.register_command now takes an optional flag to signal that
244
the registrant is planning to decorate an existing command. When
245
given multiple plugins registering a command is not an error, and
246
the original command class (whether built in or a plugin based one) is
247
returned to the caller. There is a new error 'MustUseDecorated' for
248
signalling when a wrapping command should switch to the original
249
version. (Robert Collins)
251
* Some option parsing errors will raise 'BzrOptionError', allowing
252
granular detection for decorating commands. (Robert Collins).
254
* Branch.read_working_inventory has moved to
255
WorkingTree.read_working_inventory. This necessitated changes to
256
Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
257
as well. To make it clear that a WorkingTree cannot always be obtained
258
Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
259
be obtained. (Robert Collins)
261
* All pending merges operations from Branch are now on WorkingTree.
264
* The follow operations from Branch have moved to WorkingTree:
272
* bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
274
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
276
* Rename selftests to `bzrlib.tests.test_foo`. (John A Meinel, Martin
279
* bzrlib.plugin.all_plugins has been changed from an attribute to a
280
query method. (Robert Collins)
282
* New options to read only the table-of-contents of a weave.
285
* Raise NoSuchFile when someone tries to add a non-existant file.
288
* Simplify handling of DivergedBranches in cmd_pull().
292
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
293
is exposed as Branch().control_files. Also this has been altered with the
294
controlfile pre/suffix replaced by simple method names like 'get' and
295
'put'. (Aaron Bentley, Robert Collins).
297
* Deprecated functions and methods can now be marked as such using the
298
bzrlib.symbol_versioning module. Marked method have their docstring
299
updated and will issue a DeprecationWarning using the warnings module
300
when they are used. (Robert Collins)
302
* bzrlib.osutils.safe_unicode now exists to provide parameter coercion
303
for functions that need unicode strings. (Robert Collins)
309
* pull now takes --verbose to show you what revisions are added or removed
312
* merge now takes a --show-base option to include the base text in
316
* The config files are now read using ConfigObj, so '=' should be used as
317
a separator, not ':'.
320
* New 'bzr commit --strict' option refuses to commit if there are
321
any unknown files in the tree. To commit, make sure all files are
322
either ignored, added, or deleted. (Michael Ellerman)
324
* The config directory is now ~/.bazaar, and there is a single file
325
~/.bazaar/bazaar.conf storing email, editor and other preferences.
328
* 'bzr add' no longer takes a --verbose option, and a --quiet option
329
has been added that suppresses all output.
331
* Improved zsh completion support in contrib/zsh, from Clint
334
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
337
* 'bzr check' now accepts -v for verbose reporting, and checks for
338
ghosts in the branch. (Robert Collins)
340
* New command 're-sign' which will regenerate the gpg signature for
341
a revision. (Robert Collins)
343
* If you set check_signatures=require for a path in
344
~/.bazaar/branches.conf then bzr will invoke your
345
gpg_signing_command (defaults to gpg) and record a digital signature
346
of your commit. (Robert Collins)
348
* New sftp transport, based on Paramiko. (Robey Pointer)
350
* 'bzr pull' now accepts '--clobber' which will discard local changes
351
and make this branch identical to the source branch. (Robert Collins)
353
* Just give a quieter warning if a plugin can't be loaded, and
354
put the details in .bzr.log. (Martin Pool)
356
* 'bzr branch' will now set the branch-name to the last component of the
357
output directory, if one was supplied.
359
* If the option 'post_commit' is set to one (or more) python function
360
names (must be in the bzrlib namespace), then they will be invoked
361
after the commit has completed, with the branch and revision_id as
362
parameters. (Robert Collins)
364
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
366
* --merge-type weave is now supported for file contents. Tree-shape
367
changes are still three-way based. (Martin Pool, Aaron Bentley)
369
* 'bzr check' allows the first revision on revision-history to have
370
parents - something that is expected for cheap checkouts, and occurs
371
when conversions from baz do not have all history. (Robert Collins).
373
* 'bzr merge' can now graft unrelated trees together, if your specify
374
0 as a base. (Aaron Bentley)
376
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
379
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
381
* 'bzr merge --reprocess' minimizes conflicts
385
* The 'bzr selftest --pattern' option for has been removed, now
386
test specifiers on the command line can be simple strings, or
387
regexps, or both. (Robert Collins)
389
* Passing -v to selftest will now show the time each test took to
390
complete, which will aid in analysing performance regressions and
391
related questions. (Robert Collins)
393
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
394
is given. (Martin Pool)
396
* There is a new method for TestCaseInTempDir, assertFileEqual, which
397
will check that a given content is equal to the content of the named
398
file. (Robert Collins)
400
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
405
* New 'testament' command and concept for making gpg-signatures
406
of revisions that are not tied to a particular internal
407
representation. (Martin Pool).
409
* Per-revision properties ('revprops') as key-value associated
410
strings on each revision created when the revision is committed.
411
Intended mainly for the use of external tools. (Martin Pool).
413
* Config options have moved from bzrlib.osutils to bzrlib.config.
416
* Improved command line option definitions allowing explanations
417
for individual options, among other things. Contributed by
420
* Config options have moved from bzrlib.osutils to bzrlib.config.
421
Configuration is now done via the config.Config interface:
422
Depending on whether you have a Branch, a Location or no information
423
available, construct a *Config, and use its signature_checking,
424
username and user_email methods. (Robert Collins)
426
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
427
they are made available for other plugins to use. You should not
428
import other plugins during the __init__ of your plugin though, as
429
no ordering is guaranteed, and the plugins directory is not on the
430
python path. (Robert Collins)
432
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
433
no longer takes an inventory, rather it takes an option branch
434
parameter, and if None is given will open the branch at basedir
435
implicitly. (Robert Collins)
437
* Cleaner exception structure and error reporting. Suggested by
438
Scott James Remnant. (Martin Pool)
440
* Branch.remove has been moved to WorkingTree, which has also gained
441
lock_read, lock_write and unlock methods for convenience. (Robert
444
* Two decorators, needs_read_lock and needs_write_lock have been added
445
to the branch module. Use these to cause a function to run in a
446
read or write lock respectively. (Robert Collins)
448
* Branch.open_containing now returns a tuple (Branch, relative-path),
449
which allows direct access to the common case of 'get me this file
450
from its branch'. (Robert Collins)
452
* Transports can register using register_lazy_transport, and they
453
will be loaded when first used. (Martin Pool)
455
* 'pull' has been factored out of the command as WorkingTree.pull().
456
A new option to WorkingTree.pull has been added, clobber, which will
457
ignore diverged history and pull anyway.
460
* config.Config has a 'get_user_option' call that accepts an option name.
461
This will be looked up in branches.conf and bazaar.conf as normal.
462
It is intended that this be used by plugins to support options -
463
options of built in programs should have specific methods on the config.
466
* merge.merge_inner now has tempdir as an optional parameter. (Robert
469
* Tree.kind is not recorded at the top level of the hierarchy, as it was
470
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
473
* WorkingTree.__del__ has been removed, it was non deterministic and not
474
doing what it was intended to. See WorkingTree.__init__ for a comment
475
about future directions. (Robert Collins/Martin Pool)
477
* bzrlib.transport.http has been modified so that only 404 urllib errors
478
are returned as NoSuchFile. Other exceptions will propogate as normal.
479
This allows debuging of actual errors. (Robert Collins)
481
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
482
to apis like 'put', 'get' and 'has'. This is to provide consistent
483
behaviour - it operates on url's only. (Robert Collins)
485
* Transports can register using register_lazy_transport, and they
486
will be loaded when first used. (Martin Pool)
488
* 'merge_flex' no longer calls conflict_handler.finalize(), instead that
489
is called by merge_inner. This is so that the conflict count can be
490
retrieved (and potentially manipulated) before returning to the caller
491
of merge_inner. Likewise 'merge' now returns the conflict count to the
492
caller. (Robert Collins)
494
* 'revision.revision_graph can handle having only partial history for
495
a revision - that is no revisions in the graph with no parents.
498
* New builtins.branch_files uses the standard file_list rules to produce
499
a branch and a list of paths, relative to that branch (Aaron Bentley)
501
* New TestCase.addCleanup facility.
503
* New bzrlib.version_info tuple (similar to sys.version_info), which can
504
be used by programs importing bzrlib.
508
* Better handling of branches in directories with non-ascii names.
509
(Joel Rosdahl, Panagiotis Papadakos)
511
* Upgrades of trees with no commits will not fail due to accessing
512
[-1] in the revision-history. (Andres Salomon)
519
* Fix problem in pulling over http from machines that do not
520
allow directories to be listed.
522
* Avoid harmless warning about invalid hash cache after
523
upgrading branch format.
527
* Avoid some unnecessary http operations in branch and pull.
534
* 'bzr branch' over http initially gives a very high estimate
535
of completion time but it should fall as the first few
536
revisions are pulled in. branch is still slow on
537
high-latency connections.
541
* bzr-man.py has been updated to work again. Contributed by
544
* Locking is now done with fcntl.lockf which works with NFS
545
file systems. Contributed by Harald Meland.
547
* When a merge encounters a file that has been deleted on
548
one side and modified on the other, the old contents are
549
written out to foo.BASE and foo.SIDE, where SIDE is this
550
or OTHER. Contributed by Aaron Bentley.
552
* Export was choosing incorrect file paths for the content of
553
the tarball, this has been fixed by Aaron Bentley.
555
* Commit will no longer commit without a log message, an
556
error is returned instead. Contributed by Jelmer Vernooij.
558
* If you commit a specific file in a sub directory, any of its
559
parent directories that are added but not listed will be
560
automatically included. Suggested by Michael Ellerman.
562
* bzr commit and upgrade did not correctly record new revisions
563
for files with only a change to their executable status.
564
bzr will correct this when it encounters it. Fixed by
567
* HTTP tests now force off the use of http_proxy for the duration.
568
Contributed by Gustavo Niemeyer.
570
* Fix problems in merging weave-based branches that have
571
different partial views of history.
573
* Symlink support: working with symlinks when not in the root of a
574
bzr tree was broken, patch from Scott James Remnant.
579
* 'branch' now accepts a --basis parameter which will take advantage
580
of local history when making a new branch. This allows faster
581
branching of remote branches. Contributed by Aaron Bentley.
583
* New tree format based on weave files, called version 5.
584
Existing branches can be upgraded to this format using
587
* Symlinks are now versionable. Initial patch by
588
Erik Toubro Nielsen, updated to head by Robert Collins.
590
* Executable bits are tracked on files. Patch from Gustavo
593
* 'bzr status' now shows unknown files inside a selected directory.
594
Patch from Heikki Paajanen.
596
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
597
and 'resolve' have needed added, which list and remove those
598
merge conflicts respectively. A conflicted tree cannot be committed
599
in. Contributed by Aaron Bentley.
601
* 'rm' is now an alias for 'remove'.
603
* Stores now split out their content in a single byte prefixed hash,
604
dropping the density of files per directory by 256. Contributed by
607
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
608
Contributed by Robert Collins.
610
* 'bzr log' with the default formatter will show merged revisions,
611
indented to the right. Initial implementation contributed by Gustavo
612
Niemeyer, made incremental by Robert Collins.
617
* Test case failures have the exception printed after the log
618
for your viewing pleasure.
620
* InventoryEntry is now an abstract base class, use one of the
621
concrete InventoryDirectory etc classes instead.
623
* Branch raises an UnsupportedFormatError when it detects a
624
bzr branch it cannot understand. This allows for precise
625
handling of such circumstances.
630
* Removed testsweet module so that tests can be run after
631
bzr installed by 'bzr selftest'.
633
* 'bzr selftest' command-line arguments can now be partial ids
634
of tests to run, e.g. 'bzr selftest test_weave'
641
* Fixed "branch -r" option.
643
* Fix remote access to branches containing non-compressed history.
646
* Better reliability of http server tests. (John Arbash-Meinel)
648
* Merge graph maximum distance calculation fix. (Aaron Bentley)
650
* Various minor bug in windows support have been fixed, largely in the
651
test suite. Contributed by Alexander Belchenko.
655
* Status now accepts a -r argument to give status between chosen
656
revisions. Contributed by Heikki Paajanen.
658
* Revision arguments no longer use +/-/= to control ranges, instead
659
there is a 'before' namespace, which limits the successive namespace.
660
For example '$ bzr log -r date:yesterday..before:date:today' will
661
select everything from yesterday and before today. Contributed by
664
* There is now a bzr.bat file created by distutils when building on
665
Windows. Contributed by Alexander Belchenko.
669
* Removed uuid() as it was unused.
671
* Improved 'fetch' code for pulling revisions from one branch into
672
another (used by pull, merged, etc.)
679
* Adding a file whose parent directory is not versioned will
680
implicitly add the parent, and so on up to the root. This means
681
you should never need to explictly add a directory, they'll just
682
get added when you add a file in the directory. Contributed by
685
* Ignore .DS_Store (contains Mac metadata) by default. Patch from
688
* If you set BZR_EDITOR in the environment, it is checked in
689
preference to EDITOR and the config file for the interactive commit
690
editing program. Related to this is a bugfix where a missing program
691
set in EDITOR would cause editing to fail, now the fallback program
692
for the operating system is still tried.
694
* Files that are not directories/symlinks/regular files will no longer
695
cause bzr to fail, it will just ignore them by default. You cannot add
696
them to the tree though - they are not versionable.
701
* Refactor xml packing/unpacking.
705
* Fixed 'bzr mv' by Ollie Rutherfurd.
707
* Fixed strange error when trying to access a nonexistent http
710
* Make sure that the hashcache gets written out if it can't be
716
* Various Windows fixes from Ollie Rutherfurd.
718
* Quieten warnings about locking; patch from Matt Lavin.
725
* ``bzr shell-complete`` command contributed by Clint Adams to
726
help with intelligent shell completion.
728
* New expert command ``bzr find-merge-base`` for debugging merges.
733
* Much better merge support.
735
* merge3 conflicts are now reported with markers like '<<<<<<<'
736
(seven characters) which is the same as CVS and pleases things
742
* ``bzr upgrade`` no longer fails when trying to fix trees that
743
mention revisions that are not present.
745
* Fixed bugs in listing plugins from ``bzr plugins``.
747
* Fix case of $EDITOR containing options for the editor.
749
* Fix log -r refusing to show the last revision.
750
(Patch from Goffredo Baroncelli.)
755
* ``bzr log --show-ids`` shows the revision ids of all parents.
757
* Externally provided commands on your $BZRPATH no longer need
758
to recognize --bzr-usage to work properly, and can just handle
764
* Changed trace messages to go through the standard logging
765
framework, so that they can more easily be redirected by