1
bzr development version
5
* The FTP transport now tries to reconnect after a temporary
6
failure. ftp put is made atomic. (Matthieu Moy)
8
* The FTP transport now maintains a pool of connections, and
9
reuses them to avoid multiple connections to the same host (like
10
sftp did). (Daniel Silverstone)
12
* The bzr_man.py file has been removed. To create the man page now,
13
use ./generate_docs.py man. The new program can also create other files.
14
Run "python generate_docs.py --help" for usage information. (Hans
15
Ulrich Niedermann & James Blackwell).
17
* Man Page now gives full help (James Blackwell). Help also updated to
18
reflect user config now being stored in .bazaar (Hans Ulrich
23
* The internal storage of history, and logical branch identity have now
24
been split into Branch, and Repository. The common locking and file
25
management routines are now in bzrlib.lockablefiles.
26
(Aaron Bentley, Robert Collins, Martin Pool)
30
* SFTP tests now shortcut the SSH negotiation, reducing test overhead
31
for testing SFTP protocol support. (Robey Pointer)
37
* .bzrignore is excluded from exports, on the grounds that it's a bzr
38
internal-use file and may not be wanted. (Jamie Wilkinson)
40
* The "bzr directories" command were removed in favor of the new
41
--kind option to the "bzr inventory" command. To list all
42
versioned directories, now use "bzr inventory --kind directory".
45
* Under Windows configuration directory is now %APPDATA%\bazaar\2.0
46
by default. (John Arbash Meinel)
48
* The parent of Bzr configuration directory can be set by BZR_HOME
49
environment variable. Now the path for it is searched in BZR_HOME, then
50
in HOME. Under Windows the order is: BZR_HOME, APPDATA (usually
51
points to C:\Documents and Settings\User Name\Application Data), HOME.
54
* Plugins with the same name in different directories in the bzr plugin
55
path are no longer loaded: only the first successfully loaded one is
56
used. (Robert Collins)
58
* Use systems' external ssh command to open connections if possible.
59
This gives better integration with user settings such as ProxyCommand.
62
* Sftp paths can now be relative, or local, according to the lftp
63
convention. Paths now take the form:
64
sftp://user:pass@host:port/~/relative/path
66
sftp://user:pass@host:port/absolute/path
68
* Permissions on files underneath .bzr/ are inherited from the .bzr
69
directory. So for a shared repository, simply doing 'chmod -R g+w .bzr/'
70
will mean that future file will be created with group write permissions.
72
* configure.in and config.guess are no longer in the builtin default
75
* '.sw[nop]' pattern ignored, to ignore vim swap files for nameless
76
files. (John Arbash Meinel, Martin Pool)
80
* "bzr INIT dir" now initializes the specified directory, and creates
81
it if it does not exist. (John Arbash Meinel)
83
* New remerge command (Aaron Bentley)
85
* Better zsh completion script. (Steve Borho)
87
* 'bzr diff' now returns 1 when there are changes in the working
88
tree. (Robert Collins)
90
* 'bzr push' now exists and can push changes to a remote location.
91
This uses the transport infrastructure, and can store the remote
92
location in the ~/.bazaar/branches.conf configuration file.
95
* Test directories are only kept if the test fails and the user requests
98
* Tweaks to short log printing
100
* Added branch nicks, new nick command, printing them in log output.
103
* If $BZR_PDB is set, pop into the debugger when an uncaught exception
104
occurs. (Martin Pool)
106
* Accept 'bzr resolved' (an alias for 'bzr resolve'), as this is
107
the same as Subversion. (Martin Pool)
109
* New ftp transport support (on ftplib), for ftp:// and aftp://
110
URLs. (Daniel Silverstone)
112
* Commit editor temporary files now start with 'bzr_log.', to allow
113
text editors to match the file name and set up appropriate modes or
114
settings. (Magnus Therning)
116
* Improved performance when integrating changes from a remote weave.
117
(Goffredo Baroncelli)
119
* Sftp will attempt to cache the connection, so it is more likely that
120
a connection will be reused, rather than requiring multiple password
123
* bzr revno now takes an optional argument indicating the branch whose
124
revno should be printed. (Michael Ellerman)
126
* bzr cat defaults to printing the last version of the file.
127
(#3632, Matthieu Moy)
129
* New global option 'bzr --lsprof COMMAND' runs bzr under the lsprof
130
profiler. (Denys Duchier)
132
* Faster commits by reading only the headers of affected weave files.
135
* 'bzr add' now takes a --dry-run parameter which shows you what would be
136
added, but doesn't actually add anything. (Michael Ellerman)
138
* 'bzr add' now lists how many files were ignored per glob. add --verbose
139
lists the specific files. (Aaron Bentley)
141
* 'bzr missing' now supports displaying changes in diverged trees and can
142
be limited to show what either end of the comparison is missing.
143
(Aaron Bently, with a little prompting from Daniel Silverstone)
147
* SFTP can walk up to the root path without index errors. (Robert Collins)
149
* Fix bugs in running bzr with 'python -O'. (Martin Pool)
151
* Error when run with -OO
153
* Fix bug in reporting http errors that don't have an http error code.
156
* Handle more cases of pipe errors in display commands
158
* Change status to 3 for all errors
160
* Files that are added and unlinked before committing are completely
161
ignored by diff and status
163
* Stores with some compressed texts and some uncompressed texts are now
164
able to be used. (John A Meinel)
166
* Fix for bzr pull failing sometimes under windows
168
* Fix for sftp transport under windows when using interactive auth
170
* Show files which are both renamed and modified as such in 'bzr
171
status' output. (#4503, Daniel Silverstone)
173
* Make annotate cope better with revisions committed without a valid
174
email address. (Marien Zwart)
176
* Fix representation of tab characters in commit messages. (Harald
179
* List of plugin directories in BZR_PLUGIN_PATH environment variable is
180
now parsed properly under Windows. (Alexander Belchenko)
182
* Show number of revisions pushed/pulled/merged. (Robey Pointer)
184
* Keep a cached copy of the basis inventory to speed up operations
185
that need to refer to it. (Johan Rydberg, Martin Pool)
187
* Fix bugs in bzr status display of non-ascii characters. (Martin
190
* Remove Makefile.in from default ignore list. (#6413, Tollef Fog
193
* Fix failure in 'bzr added'. (Nathan McCallum, Martin Pool)
197
* Fix selftest asking for passwords when there are no SFTP keys.
198
(Robey Pointer, Jelmer Vernooij)
200
* Fix selftest run with 'python -O'. (Martin Pool)
202
* Fix HTTP tests under Windows. (John Arbash Meinel)
204
* Make tests work even if HOME is not set (Aaron Bentley)
206
* Updated build_tree to use fixed line-endings for tests which read
207
the file cotents and compare. Make some tests use this to pass under
208
Windows. (John Arbash Meinel)
210
* Skip stat and symlink tests under Windows. (Alexander Belchenko)
212
* Delay in selftest/testhashcash is now issued under win32 and Cygwin.
215
* Use terminal width to align verbose test output. (Martin Pool)
217
* Blackbox tests are maintained within the bzrlib.tests.blackbox directory.
218
If adding a new test script please add that to
219
bzrlib.tests.blackbox.__init__. (Robert Collins)
221
* Much better error message if one of the test suites can't be
222
imported. (Martin Pool)
224
* Make check now runs the test suite twice - once with the default locale,
225
and once with all locales forced to C, to expose bugs. This is not
226
trivially done within python, so for now its only triggered by running
227
Make check. Integrators and packagers who wish to check for full
228
platform support should run 'make check' to test the source.
231
* Tests can now run TestSkipped if they can't execute for any reason.
232
(Martin Pool) (NB: TestSkipped should only be raised for correctable
233
reasons - see the wiki spec ImprovingBzrTestSuite).
235
* Test sftp with relative, absolute-in-homedir and absolute-not-in-homedir
236
paths for the transport tests. Introduce blackbox remote sftp tests that
237
test the same permutations. (Robert Collins, Robey Pointer)
239
* Transport implementation tests are now independent of the local file
240
system, which allows tests for esoteric transports, and for features
241
not available in the local file system. They also repeat for variations
242
on the URL scheme that can introduce issues in the transport code,
243
see bzrlib.transport.TransportTestProviderAdapter() for this.
246
* TestCase.build_tree uses the transport interface to build trees, pass
247
in a transport parameter to give it an existing connection.
252
* WorkingTree.pull has been split across Branch and WorkingTree,
253
to allow Branch only pulls. (Robert Collins)
255
* commands.display_command now returns the result of the decorated
256
function. (Robert Collins)
258
* LocationConfig now has a set_user_option(key, value) call to save
259
a setting in its matching location section (a new one is created
260
if needed). (Robert Collins)
262
* Branch has two new methods, get_push_location and set_push_location
263
to respectively, get and set the push location. (Robert Collins)
265
* commands.register_command now takes an optional flag to signal that
266
the registrant is planning to decorate an existing command. When
267
given multiple plugins registering a command is not an error, and
268
the original command class (whether built in or a plugin based one) is
269
returned to the caller. There is a new error 'MustUseDecorated' for
270
signalling when a wrapping command should switch to the original
271
version. (Robert Collins)
273
* Some option parsing errors will raise 'BzrOptionError', allowing
274
granular detection for decorating commands. (Robert Collins).
276
* Branch.read_working_inventory has moved to
277
WorkingTree.read_working_inventory. This necessitated changes to
278
Branch.get_root_id, and a move of Branch.set_inventory to WorkingTree
279
as well. To make it clear that a WorkingTree cannot always be obtained
280
Branch.working_tree() will raise 'errors.NoWorkingTree' if one cannot
281
be obtained. (Robert Collins)
283
* All pending merges operations from Branch are now on WorkingTree.
286
* The follow operations from Branch have moved to WorkingTree:
294
* bzrlib.add.smart_add_branch is now smart_add_tree. (Robert Collins)
296
* New "rio" serialization format, similar to rfc-822. (Martin Pool)
298
* Rename selftests to `bzrlib.tests.test_foo`. (John A Meinel, Martin
301
* bzrlib.plugin.all_plugins has been changed from an attribute to a
302
query method. (Robert Collins)
304
* New options to read only the table-of-contents of a weave.
307
* Raise NoSuchFile when someone tries to add a non-existant file.
310
* Simplify handling of DivergedBranches in cmd_pull().
314
* Branch.controlfile* logic has moved to lockablefiles.LockableFiles, which
315
is exposed as Branch().control_files. Also this has been altered with the
316
controlfile pre/suffix replaced by simple method names like 'get' and
317
'put'. (Aaron Bentley, Robert Collins).
319
* Deprecated functions and methods can now be marked as such using the
320
bzrlib.symbol_versioning module. Marked method have their docstring
321
updated and will issue a DeprecationWarning using the warnings module
322
when they are used. (Robert Collins)
324
* bzrlib.osutils.safe_unicode now exists to provide parameter coercion
325
for functions that need unicode strings. (Robert Collins)
331
* pull now takes --verbose to show you what revisions are added or removed
334
* merge now takes a --show-base option to include the base text in
338
* The config files are now read using ConfigObj, so '=' should be used as
339
a separator, not ':'.
342
* New 'bzr commit --strict' option refuses to commit if there are
343
any unknown files in the tree. To commit, make sure all files are
344
either ignored, added, or deleted. (Michael Ellerman)
346
* The config directory is now ~/.bazaar, and there is a single file
347
~/.bazaar/bazaar.conf storing email, editor and other preferences.
350
* 'bzr add' no longer takes a --verbose option, and a --quiet option
351
has been added that suppresses all output.
353
* Improved zsh completion support in contrib/zsh, from Clint
356
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
359
* 'bzr check' now accepts -v for verbose reporting, and checks for
360
ghosts in the branch. (Robert Collins)
362
* New command 're-sign' which will regenerate the gpg signature for
363
a revision. (Robert Collins)
365
* If you set check_signatures=require for a path in
366
~/.bazaar/branches.conf then bzr will invoke your
367
gpg_signing_command (defaults to gpg) and record a digital signature
368
of your commit. (Robert Collins)
370
* New sftp transport, based on Paramiko. (Robey Pointer)
372
* 'bzr pull' now accepts '--clobber' which will discard local changes
373
and make this branch identical to the source branch. (Robert Collins)
375
* Just give a quieter warning if a plugin can't be loaded, and
376
put the details in .bzr.log. (Martin Pool)
378
* 'bzr branch' will now set the branch-name to the last component of the
379
output directory, if one was supplied.
381
* If the option 'post_commit' is set to one (or more) python function
382
names (must be in the bzrlib namespace), then they will be invoked
383
after the commit has completed, with the branch and revision_id as
384
parameters. (Robert Collins)
386
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
388
* --merge-type weave is now supported for file contents. Tree-shape
389
changes are still three-way based. (Martin Pool, Aaron Bentley)
391
* 'bzr check' allows the first revision on revision-history to have
392
parents - something that is expected for cheap checkouts, and occurs
393
when conversions from baz do not have all history. (Robert Collins).
395
* 'bzr merge' can now graft unrelated trees together, if your specify
396
0 as a base. (Aaron Bentley)
398
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
401
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
403
* 'bzr merge --reprocess' minimizes conflicts
407
* The 'bzr selftest --pattern' option for has been removed, now
408
test specifiers on the command line can be simple strings, or
409
regexps, or both. (Robert Collins)
411
* Passing -v to selftest will now show the time each test took to
412
complete, which will aid in analysing performance regressions and
413
related questions. (Robert Collins)
415
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
416
is given. (Martin Pool)
418
* There is a new method for TestCaseInTempDir, assertFileEqual, which
419
will check that a given content is equal to the content of the named
420
file. (Robert Collins)
422
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
427
* New 'testament' command and concept for making gpg-signatures
428
of revisions that are not tied to a particular internal
429
representation. (Martin Pool).
431
* Per-revision properties ('revprops') as key-value associated
432
strings on each revision created when the revision is committed.
433
Intended mainly for the use of external tools. (Martin Pool).
435
* Config options have moved from bzrlib.osutils to bzrlib.config.
438
* Improved command line option definitions allowing explanations
439
for individual options, among other things. Contributed by
442
* Config options have moved from bzrlib.osutils to bzrlib.config.
443
Configuration is now done via the config.Config interface:
444
Depending on whether you have a Branch, a Location or no information
445
available, construct a *Config, and use its signature_checking,
446
username and user_email methods. (Robert Collins)
448
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
449
they are made available for other plugins to use. You should not
450
import other plugins during the __init__ of your plugin though, as
451
no ordering is guaranteed, and the plugins directory is not on the
452
python path. (Robert Collins)
454
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
455
no longer takes an inventory, rather it takes an option branch
456
parameter, and if None is given will open the branch at basedir
457
implicitly. (Robert Collins)
459
* Cleaner exception structure and error reporting. Suggested by
460
Scott James Remnant. (Martin Pool)
462
* Branch.remove has been moved to WorkingTree, which has also gained
463
lock_read, lock_write and unlock methods for convenience. (Robert
466
* Two decorators, needs_read_lock and needs_write_lock have been added
467
to the branch module. Use these to cause a function to run in a
468
read or write lock respectively. (Robert Collins)
470
* Branch.open_containing now returns a tuple (Branch, relative-path),
471
which allows direct access to the common case of 'get me this file
472
from its branch'. (Robert Collins)
474
* Transports can register using register_lazy_transport, and they
475
will be loaded when first used. (Martin Pool)
477
* 'pull' has been factored out of the command as WorkingTree.pull().
478
A new option to WorkingTree.pull has been added, clobber, which will
479
ignore diverged history and pull anyway.
482
* config.Config has a 'get_user_option' call that accepts an option name.
483
This will be looked up in branches.conf and bazaar.conf as normal.
484
It is intended that this be used by plugins to support options -
485
options of built in programs should have specific methods on the config.
488
* merge.merge_inner now has tempdir as an optional parameter. (Robert
491
* Tree.kind is not recorded at the top level of the hierarchy, as it was
492
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
495
* WorkingTree.__del__ has been removed, it was non deterministic and not
496
doing what it was intended to. See WorkingTree.__init__ for a comment
497
about future directions. (Robert Collins/Martin Pool)
499
* bzrlib.transport.http has been modified so that only 404 urllib errors
500
are returned as NoSuchFile. Other exceptions will propogate as normal.
501
This allows debuging of actual errors. (Robert Collins)
503
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
504
to apis like 'put', 'get' and 'has'. This is to provide consistent
505
behaviour - it operates on url's only. (Robert Collins)
507
* Transports can register using register_lazy_transport, and they
508
will be loaded when first used. (Martin Pool)
510
* 'merge_flex' no longer calls conflict_handler.finalize(), instead that
511
is called by merge_inner. This is so that the conflict count can be
512
retrieved (and potentially manipulated) before returning to the caller
513
of merge_inner. Likewise 'merge' now returns the conflict count to the
514
caller. (Robert Collins)
516
* 'revision.revision_graph can handle having only partial history for
517
a revision - that is no revisions in the graph with no parents.
520
* New builtins.branch_files uses the standard file_list rules to produce
521
a branch and a list of paths, relative to that branch (Aaron Bentley)
523
* New TestCase.addCleanup facility.
525
* New bzrlib.version_info tuple (similar to sys.version_info), which can
526
be used by programs importing bzrlib.
530
* Better handling of branches in directories with non-ascii names.
531
(Joel Rosdahl, Panagiotis Papadakos)
533
* Upgrades of trees with no commits will not fail due to accessing
534
[-1] in the revision-history. (Andres Salomon)
541
* Fix problem in pulling over http from machines that do not
542
allow directories to be listed.
544
* Avoid harmless warning about invalid hash cache after
545
upgrading branch format.
549
* Avoid some unnecessary http operations in branch and pull.
556
* 'bzr branch' over http initially gives a very high estimate
557
of completion time but it should fall as the first few
558
revisions are pulled in. branch is still slow on
559
high-latency connections.
563
* bzr-man.py has been updated to work again. Contributed by
566
* Locking is now done with fcntl.lockf which works with NFS
567
file systems. Contributed by Harald Meland.
569
* When a merge encounters a file that has been deleted on
570
one side and modified on the other, the old contents are
571
written out to foo.BASE and foo.SIDE, where SIDE is this
572
or OTHER. Contributed by Aaron Bentley.
574
* Export was choosing incorrect file paths for the content of
575
the tarball, this has been fixed by Aaron Bentley.
577
* Commit will no longer commit without a log message, an
578
error is returned instead. Contributed by Jelmer Vernooij.
580
* If you commit a specific file in a sub directory, any of its
581
parent directories that are added but not listed will be
582
automatically included. Suggested by Michael Ellerman.
584
* bzr commit and upgrade did not correctly record new revisions
585
for files with only a change to their executable status.
586
bzr will correct this when it encounters it. Fixed by
589
* HTTP tests now force off the use of http_proxy for the duration.
590
Contributed by Gustavo Niemeyer.
592
* Fix problems in merging weave-based branches that have
593
different partial views of history.
595
* Symlink support: working with symlinks when not in the root of a
596
bzr tree was broken, patch from Scott James Remnant.
601
* 'branch' now accepts a --basis parameter which will take advantage
602
of local history when making a new branch. This allows faster
603
branching of remote branches. Contributed by Aaron Bentley.
605
* New tree format based on weave files, called version 5.
606
Existing branches can be upgraded to this format using
609
* Symlinks are now versionable. Initial patch by
610
Erik Toubro Nielsen, updated to head by Robert Collins.
612
* Executable bits are tracked on files. Patch from Gustavo
615
* 'bzr status' now shows unknown files inside a selected directory.
616
Patch from Heikki Paajanen.
618
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
619
and 'resolve' have needed added, which list and remove those
620
merge conflicts respectively. A conflicted tree cannot be committed
621
in. Contributed by Aaron Bentley.
623
* 'rm' is now an alias for 'remove'.
625
* Stores now split out their content in a single byte prefixed hash,
626
dropping the density of files per directory by 256. Contributed by
629
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
630
Contributed by Robert Collins.
632
* 'bzr log' with the default formatter will show merged revisions,
633
indented to the right. Initial implementation contributed by Gustavo
634
Niemeyer, made incremental by Robert Collins.
639
* Test case failures have the exception printed after the log
640
for your viewing pleasure.
642
* InventoryEntry is now an abstract base class, use one of the
643
concrete InventoryDirectory etc classes instead.
645
* Branch raises an UnsupportedFormatError when it detects a
646
bzr branch it cannot understand. This allows for precise
647
handling of such circumstances.
652
* Removed testsweet module so that tests can be run after
653
bzr installed by 'bzr selftest'.
655
* 'bzr selftest' command-line arguments can now be partial ids
656
of tests to run, e.g. 'bzr selftest test_weave'
663
* Fixed "branch -r" option.
665
* Fix remote access to branches containing non-compressed history.
668
* Better reliability of http server tests. (John Arbash-Meinel)
670
* Merge graph maximum distance calculation fix. (Aaron Bentley)
672
* Various minor bug in windows support have been fixed, largely in the
673
test suite. Contributed by Alexander Belchenko.
677
* Status now accepts a -r argument to give status between chosen
678
revisions. Contributed by Heikki Paajanen.
680
* Revision arguments no longer use +/-/= to control ranges, instead
681
there is a 'before' namespace, which limits the successive namespace.
682
For example '$ bzr log -r date:yesterday..before:date:today' will
683
select everything from yesterday and before today. Contributed by
686
* There is now a bzr.bat file created by distutils when building on
687
Windows. Contributed by Alexander Belchenko.
691
* Removed uuid() as it was unused.
5
* Refactor xml packing/unpacking.
693
7
* Improved 'fetch' code for pulling revisions from one branch into
694
8
another (used by pull, merged, etc.)
701
* Adding a file whose parent directory is not versioned will
702
implicitly add the parent, and so on up to the root. This means
703
you should never need to explictly add a directory, they'll just
704
get added when you add a file in the directory. Contributed by
707
* Ignore .DS_Store (contains Mac metadata) by default. Patch from
710
* If you set BZR_EDITOR in the environment, it is checked in
711
preference to EDITOR and the config file for the interactive commit
712
editing program. Related to this is a bugfix where a missing program
713
set in EDITOR would cause editing to fail, now the fallback program
714
for the operating system is still tried.
716
* Files that are not directories/symlinks/regular files will no longer
717
cause bzr to fail, it will just ignore them by default. You cannot add
718
them to the tree though - they are not versionable.
723
* Refactor xml packing/unpacking.
727
* Fixed 'bzr mv' by Ollie Rutherfurd.
729
* Fixed strange error when trying to access a nonexistent http
732
* Make sure that the hashcache gets written out if it can't be
738
* Various Windows fixes from Ollie Rutherfurd.
740
* Quieten warnings about locking; patch from Matt Lavin.
13
* New tree format based on weave files, called version 5.
18
* New method-object style interface for Commit() and Fetch().
20
* Renamed Branch.last_patch() to Branch.last_revision(), since
21
we call them revisions not patches.
743
25
bzr-0.0.7 2005-09-02