5
* 'bzr diff' now returns 1 when there are changes in the working
8
* 'bzr push' now exists and can push changes to a remote location.
9
This uses the transport infrastructure, and can store the remote
10
location in the ~/.bazaar/branches.conf configuration file.
15
* WorkingTree.pull has been split across Branch and WorkingTree,
16
to allow Branch only pulls. (Robert Collins)
18
* commands.display_command now returns the result of the decorated
19
function. (Robert Collins)
21
* LocationConfig now has a set_user_option(key, value) call to save
22
a setting in its matching location section (a new one is created
23
if needed). (Robert Collins)
25
* Branch has two new methods, get_push_location and set_push_location
26
to respectively, get and set the push location. (Robert Collins)
28
* commands.register_command now takes an optional flag to signal that
29
the registrant is planning to decorate an existing command. When
30
given multiple plugins registering a command is not an error, and
31
the original command class (whether built in or a plugin based one) is
32
returned to the caller. There is a new error 'MustUseDecorated' for
33
signalling when a wrapping command should switch to the original
34
version. (Robert Collins)
36
* Some option parsing errors will raise 'BzrOptionError', allowing
37
granular detection for decorating commands. (Robert Collins).
44
* merge now takes a --show-base option to include the base text in
48
* The config files are now read using ConfigObj, so '=' should be used as
52
* New 'bzr commit --strict' option refuses to commit if there are
53
any unknown files in the tree. To commit, make sure all files are
54
either ignored, added, or deleted. (Michael Ellerman)
56
* The config directory is now ~/.bazaar, and there is a single file
57
~/.bazaar/bazaar.conf storing email, editor and other preferences.
60
* 'bzr add' no longer takes a --verbose option, and a --quiet option
61
has been added that suppresses all output.
63
* Improved zsh completion support in contrib/zsh, from Clint
66
* Builtin 'bzr annotate' command, by Martin Pool with improvements from
69
* 'bzr check' now accepts -v for verbose reporting, and checks for
70
ghosts in the branch. (Robert Collins)
72
* New command 're-sign' which will regenerate the gpg signature for
73
a revision. (Robert Collins)
75
* If you set check_signatures=require for a path in
76
~/.bazaar/branches.conf then bzr will invoke your
77
gpg_signing_command (defaults to gpg) and record a digital signature
78
of your commit. (Robert Collins)
80
* New sftp transport, based on Paramiko. (Robey Pointer)
82
* 'bzr pull' now accepts '--clobber' which will discard local changes
83
and make this branch identical to the source branch. (Robert Collins)
85
* Just give a quieter warning if a plugin can't be loaded, and
86
put the details in .bzr.log. (Martin Pool)
88
* 'bzr branch' will now set the branch-name to the last component of the
89
output directory, if one was supplied.
91
* New sftp transport, based on Paramiko. (Robey Pointer)
93
* If the option 'post_commit' is set to one (or more) python function
94
names (must be in the bzrlib namespace), then they will be invoked
95
after the commit has completed, with the branch and revision_id as
96
parameters. (Robert Collins)
98
* Merge now has a retcode of 1 when conflicts occur. (Robert Collins)
100
* --merge-type weave is now supported for file contents. Tree-shape
101
changes are still three-way based. (Martin Pool, Aaron Bentley)
103
* 'bzr check' allows the first revision on revision-history to have
104
parents - something that is expected for cheap checkouts, and occurs
105
when conversions from baz do not have all history. (Robert Collins).
107
* 'bzr merge' can now graft unrelated trees together, if your specify
108
0 as a base. (Aaron Bentley)
110
* 'bzr commit branch' and 'bzr commit branch/file1 branch/file2' now work
113
* Add '.sconsign*' to default ignore list. (Alexander Belchenko)
115
* 'bzr merge --reprocess' minimizes conflicts
119
* The 'bzr selftest --pattern' option for has been removed, now
120
test specifiers on the command line can be simple strings, or
121
regexps, or both. (Robert Collins)
123
* Passing -v to selftest will now show the time each test took to
124
complete, which will aid in analysing performance regressions and
125
related questions. (Robert Collins)
127
* 'bzr selftest' runs all tests, even if one fails, unless '--one'
128
is given. (Martin Pool)
130
* There is a new method for TestCaseInTempDir, assertFileEqual, which
131
will check that a given content is equal to the content of the named
132
file. (Robert Collins)
134
* Fix test suite's habit of leaving many temporary log files in $TMPDIR.
139
* New 'testament' command and concept for making gpg-signatures
140
of revisions that are not tied to a particular internal
141
representation. (Martin Pool).
143
* Per-revision properties ('revprops') as key-value associated
144
strings on each revision created when the revision is committed.
145
Intended mainly for the use of external tools. (Martin Pool).
147
* Config options have moved from bzrlib.osutils to bzrlib.config.
150
* Improved command line option definitions allowing explanations
151
for individual options, among other things. Contributed by
154
* Config options have moved from bzrlib.osutils to bzrlib.config.
155
Configuration is now done via the config.Config interface:
156
Depending on whether you have a Branch, a Location or no information
157
available, construct a *Config, and use its signature_checking,
158
username and user_email methods. (Robert Collins)
160
* Plugins are now loaded under bzrlib.plugins, not bzrlib.plugin, and
161
they are made available for other plugins to use. You should not
162
import other plugins during the __init__ of your plugin though, as
163
no ordering is guaranteed, and the plugins directory is not on the
164
python path. (Robert Collins)
166
* Branch.relpath has been moved to WorkingTree.relpath. WorkingTree no
167
no longer takes an inventory, rather it takes an option branch
168
parameter, and if None is given will open the branch at basedir
169
implicitly. (Robert Collins)
171
* Cleaner exception structure and error reporting. Suggested by
172
Scott James Remnant. (Martin Pool)
174
* Branch.remove has been moved to WorkingTree, which has also gained
175
lock_read, lock_write and unlock methods for convenience. (Robert
178
* Two decorators, needs_read_lock and needs_write_lock have been added
179
to the branch module. Use these to cause a function to run in a
180
read or write lock respectively. (Robert Collins)
182
* Branch.open_containing now returns a tuple (Branch, relative-path),
183
which allows direct access to the common case of 'get me this file
184
from its branch'. (Robert Collins)
186
* Transports can register using register_lazy_transport, and they
187
will be loaded when first used. (Martin Pool)
189
* 'pull' has been factored out of the command as WorkingTree.pull().
190
A new option to WorkingTree.pull has been added, clobber, which will
191
ignore diverged history and pull anyway.
194
* config.Config has a 'get_user_option' call that accepts an option name.
195
This will be looked up in branches.conf and bazaar.conf as normal.
196
It is intended that this be used by plugins to support options -
197
options of built in programs should have specific methods on the config.
200
* merge.merge_inner now has tempdir as an optional parameter. (Robert
203
* Tree.kind is not recorded at the top level of the hierarchy, as it was
204
missing on EmptyTree, leading to a bug with merge on EmptyTrees.
207
* WorkingTree.__del__ has been removed, it was non deterministic and not
208
doing what it was intended to. See WorkingTree.__init__ for a comment
209
about future directions. (Robert Collins/Martin Pool)
211
* bzrlib.transport.http has been modified so that only 404 urllib errors
212
are returned as NoSuchFile. Other exceptions will propogate as normal.
213
This allows debuging of actual errors. (Robert Collins)
215
* bzrlib.transport.Transport now accepts *ONLY* url escaped relative paths
216
to apis like 'put', 'get' and 'has'. This is to provide consistent
217
behaviour - it operates on url's only. (Robert Collins)
219
* Transports can register using register_lazy_transport, and they
220
will be loaded when first used. (Martin Pool)
222
* 'merge_flex' no longer calls conflict_handler.finalize(), instead that
223
is called by merge_inner. This is so that the conflict count can be
224
retrieved (and potentially manipulated) before returning to the caller
225
of merge_inner. Likewise 'merge' now returns the conflict count to the
226
caller. (Robert Collins)
228
* 'revision.revision_graph can handle having only partial history for
229
a revision - that is no revisions in the graph with no parents.
232
* New builtins.branch_files uses the standard file_list rules to produce
233
a branch and a list of paths, relative to that branch (Aaron Bentley)
235
* New TestCase.addCleanup facility.
237
* New bzrlib.version_info tuple (similar to sys.version_info), which can
238
be used by programs importing bzrlib.
242
* Better handling of branches in directories with non-ascii names.
243
(Joel Rosdahl, Panagiotis Papadakos)
245
* Upgrades of trees with no commits will not fail due to accessing
246
[-1] in the revision-history. (Andres Salomon)
253
* Fix problem in pulling over http from machines that do not
254
allow directories to be listed.
256
* Avoid harmless warning about invalid hash cache after
257
upgrading branch format.
261
* Avoid some unnecessary http operations in branch and pull.
268
* 'bzr branch' over http initially gives a very high estimate
269
of completion time but it should fall as the first few
270
revisions are pulled in. branch is still slow on
271
high-latency connections.
275
* bzr-man.py has been updated to work again. Contributed by
278
* Locking is now done with fcntl.lockf which works with NFS
279
file systems. Contributed by Harald Meland.
281
* When a merge encounters a file that has been deleted on
282
one side and modified on the other, the old contents are
283
written out to foo.BASE and foo.SIDE, where SIDE is this
284
or OTHER. Contributed by Aaron Bentley.
286
* Export was choosing incorrect file paths for the content of
287
the tarball, this has been fixed by Aaron Bentley.
289
* Commit will no longer commit without a log message, an
290
error is returned instead. Contributed by Jelmer Vernooij.
292
* If you commit a specific file in a sub directory, any of its
293
parent directories that are added but not listed will be
294
automatically included. Suggested by Michael Ellerman.
296
* bzr commit and upgrade did not correctly record new revisions
297
for files with only a change to their executable status.
298
bzr will correct this when it encounters it. Fixed by
301
* HTTP tests now force off the use of http_proxy for the duration.
302
Contributed by Gustavo Niemeyer.
304
* Fix problems in merging weave-based branches that have
305
different partial views of history.
307
* Symlink support: working with symlinks when not in the root of a
308
bzr tree was broken, patch from Scott James Remnant.
313
* 'branch' now accepts a --basis parameter which will take advantage
314
of local history when making a new branch. This allows faster
315
branching of remote branches. Contributed by Aaron Bentley.
317
* New tree format based on weave files, called version 5.
318
Existing branches can be upgraded to this format using
321
* Symlinks are now versionable. Initial patch by
322
Erik Toubro Nielsen, updated to head by Robert Collins.
324
* Executable bits are tracked on files. Patch from Gustavo
327
* 'bzr status' now shows unknown files inside a selected directory.
328
Patch from Heikki Paajanen.
330
* Merge conflicts are recorded in .bzr. Two new commands 'conflicts'
331
and 'resolve' have needed added, which list and remove those
332
merge conflicts respectively. A conflicted tree cannot be committed
333
in. Contributed by Aaron Bentley.
335
* 'rm' is now an alias for 'remove'.
337
* Stores now split out their content in a single byte prefixed hash,
338
dropping the density of files per directory by 256. Contributed by
341
* 'bzr diff -r branch:URL' will now perform a diff between two branches.
342
Contributed by Robert Collins.
344
* 'bzr log' with the default formatter will show merged revisions,
345
indented to the right. Initial implementation contributed by Gustavo
346
Niemeyer, made incremental by Robert Collins.
351
* Test case failures have the exception printed after the log
352
for your viewing pleasure.
354
* InventoryEntry is now an abstract base class, use one of the
355
concrete InventoryDirectory etc classes instead.
357
* Branch raises an UnsupportedFormatError when it detects a
358
bzr branch it cannot understand. This allows for precise
359
handling of such circumstances.
364
* Removed testsweet module so that tests can be run after
365
bzr installed by 'bzr selftest'.
367
* 'bzr selftest' command-line arguments can now be partial ids
368
of tests to run, e.g. 'bzr selftest test_weave'
375
* Fixed "branch -r" option.
377
* Fix remote access to branches containing non-compressed history.
380
* Better reliability of http server tests. (John Arbash-Meinel)
382
* Merge graph maximum distance calculation fix. (Aaron Bentley)
384
* Various minor bug in windows support have been fixed, largely in the
385
test suite. Contributed by Alexander Belchenko.
389
* Status now accepts a -r argument to give status between chosen
390
revisions. Contributed by Heikki Paajanen.
392
* Revision arguments no longer use +/-/= to control ranges, instead
393
there is a 'before' namespace, which limits the successive namespace.
394
For example '$ bzr log -r date:yesterday..before:date:today' will
395
select everything from yesterday and before today. Contributed by
398
* There is now a bzr.bat file created by distutils when building on
399
Windows. Contributed by Alexander Belchenko.
403
* Removed uuid() as it was unused.
405
* Improved 'fetch' code for pulling revisions from one branch into
406
another (used by pull, merged, etc.)
413
* Adding a file whose parent directory is not versioned will
414
implicitly add the parent, and so on up to the root. This means
415
you should never need to explictly add a directory, they'll just
416
get added when you add a file in the directory. Contributed by
419
* Ignore .DS_Store (contains Mac metadata) by default. Patch from
422
* If you set BZR_EDITOR in the environment, it is checked in
423
preference to EDITOR and the config file for the interactive commit
424
editing program. Related to this is a bugfix where a missing program
425
set in EDITOR would cause editing to fail, now the fallback program
426
for the operating system is still tried.
428
* Files that are not directories/symlinks/regular files will no longer
429
cause bzr to fail, it will just ignore them by default. You cannot add
430
them to the tree though - they are not versionable.
435
* Refactor xml packing/unpacking.
439
* Fixed 'bzr mv' by Ollie Rutherfurd.
441
* Fixed strange error when trying to access a nonexistent http
444
* Make sure that the hashcache gets written out if it can't be
450
* Various Windows fixes from Ollie Rutherfurd.
452
* Quieten warnings about locking; patch from Matt Lavin.
459
* ``bzr shell-complete`` command contributed by Clint Adams to
460
help with intelligent shell completion.
462
* New expert command ``bzr find-merge-base`` for debugging merges.
467
* Much better merge support.
469
* merge3 conflicts are now reported with markers like '<<<<<<<'
470
(seven characters) which is the same as CVS and pleases things
476
* ``bzr upgrade`` no longer fails when trying to fix trees that
477
mention revisions that are not present.
479
* Fixed bugs in listing plugins from ``bzr plugins``.
481
* Fix case of $EDITOR containing options for the editor.
483
* Fix log -r refusing to show the last revision.
484
(Patch from Goffredo Baroncelli.)
489
* ``bzr log --show-ids`` shows the revision ids of all parents.
491
* Externally provided commands on your $BZRPATH no longer need
492
to recognize --bzr-usage to work properly, and can just handle
498
* Changed trace messages to go through the standard logging
499
framework, so that they can more easily be redirected by
508
* Python plugins, automatically loaded from the directories on
509
BZR_PLUGIN_PATH or ~/.bzr.conf/plugins by default.
511
* New 'bzr mkdir' command.
513
* Commit mesage is fetched from an editor if not given on the
514
command line; patch from Torsten Marek.
516
* ``bzr log -m FOO`` displays commits whose message matches regexp
519
* ``bzr add`` with no arguments adds everything under the current directory.
521
* ``bzr mv`` does move or rename depending on its arguments, like
524
* ``bzr missing`` command shows a summary of the differences
525
between two trees. (Merged from John Arbash-Meinel.)
527
* An email address for commits to a particular tree can be
528
specified by putting it into .bzr/email within a branch. (Based
529
on a patch from Heikki Paajanen.)
534
* Faster working tree operations.
539
* 3rd-party modules shipped with bzr are copied within the bzrlib
540
python package, so that they can be installed by the setup
541
script without clashing with anything already existing on the
542
system. (Contributed by Gustavo Niemeyer.)
544
* Moved plugins directory to bzrlib/, so that there's a standard
545
plugin directory which is not only installed with bzr itself but
546
is also available when using bzr from the development tree.
547
BZR_PLUGIN_PATH and DEFAULT_PLUGIN_PATH are then added to the
548
standard plugins directory.
550
* When exporting to a tarball with ``bzr export --format tgz``, put
551
everything under a top directory rather than dumping it into the
552
current directory. This can be overridden with the ``--root``
553
option. Patch from William Dodé and John Meinel.
555
* New ``bzr upgrade`` command to upgrade the format of a branch,
556
replacing ``bzr check --update``.
558
* Files within store directories are no longer marked readonly on
561
* Changed ``bzr log`` output to a more compact form suggested by
562
John A Meinel. Old format is available with the ``--long`` or
563
``-l`` option, patched by William Dodé.
565
* By default the commit command refuses to record a revision with
566
no changes unless the ``--unchanged`` option is given.
568
* The ``--no-plugins``, ``--profile`` and ``--builtin`` command
569
line options must come before the command name because they
570
affect what commands are available; all other options must come
571
after the command name because their interpretation depends on
574
* ``branch`` and ``clone`` added as aliases for ``branch``.
576
* Default log format is back to the long format; the compact one
577
is available with ``--short``.
582
* Fix bugs in committing only selected files or within a subdirectory.
589
* ``bzr`` with no command now shows help rather than giving an
590
error. Suggested by Michael Ellerman.
592
* ``bzr status`` output format changed, because svn-style output
593
doesn't really match the model of bzr. Now files are grouped by
594
status and can be shown with their IDs. ``bzr status --all``
595
shows all versioned files and unknown files but not ignored files.
597
* ``bzr log`` runs from most-recent to least-recent, the reverse
598
of the previous order. The previous behaviour can be obtained
599
with the ``--forward`` option.
601
* ``bzr inventory`` by default shows only filenames, and also ids
602
if ``--show-ids`` is given, in which case the id is the second
608
* New 'bzr whoami --email' option shows only the email component
609
of the user identification, from Jo Vermeulen.
611
* New ``bzr ignore PATTERN`` command.
613
* Nicer error message for broken pipe, interrupt and similar
614
conditions that don't indicate an internal error.
616
* Add ``.*.sw[nop] .git .*.tmp *,v`` to default ignore patterns.
618
* Per-branch locks keyed on ``.bzr/branch-lock``, available in
619
either read or write mode.
621
* New option ``bzr log --show-ids`` shows revision and file ids.
623
* New usage ``bzr log FILENAME`` shows only revisions that
626
* Changed format for describing changes in ``bzr log -v``.
628
* New option ``bzr commit --file`` to take a message from a file,
629
suggested by LarstiQ.
631
* New syntax ``bzr status [FILE...]`` contributed by Bartosz
632
Oler. File may be in a branch other than the working directory.
634
* ``bzr log`` and ``bzr root`` can be given an http URL instead of
637
* Commands can now be defined by external programs or scripts
638
in a directory on $BZRPATH.
640
* New "stat cache" avoids reading the contents of files if they
641
haven't changed since the previous time.
643
* If the Python interpreter is too old, try to find a better one
644
or give an error. Based on a patch from Fredrik Lundh.
646
* New optional parameter ``bzr info [BRANCH]``.
648
* New form ``bzr commit SELECTED`` to commit only selected files.
650
* New form ``bzr log -r FROM:TO`` shows changes in selected
651
range; contributed by John A Meinel.
653
* New option ``bzr diff --diff-options 'OPTS'`` allows passing
654
options through to an external GNU diff.
656
* New option ``bzr add --no-recurse`` to add a directory but not
659
* ``bzr --version`` now shows more information if bzr is being run
665
* Fixed diff format so that added and removed files will be
666
handled properly by patch. Fix from Lalo Martins.
668
* Various fixes for files whose names contain spaces or other
674
* Converted black-box test suites from Bourne shell into Python;
675
now run using ``./testbzr``. Various structural improvements to
678
* testbzr by default runs the version of bzr found in the same
679
directory as the tests, or the one given as the first parameter.
681
* testbzr also runs the internal tests, so the only command
682
required to check is just ``./testbzr``.
684
* testbzr requires python2.4, but can be used to test bzr running
685
under a different version.
687
* Tests added for many other changes in this release.
692
* Included ElementTree library upgraded to 1.2.6 by Fredrik Lundh.
694
* Refactor command functions into Command objects based on HCT by
697
* Better help messages for many commands.
699
* Expose bzrlib.open_tracefile() to start the tracefile; until
700
this is called trace messages are just discarded.
702
* New internal function find_touching_revisions() and hidden
703
command touching-revisions trace the changes to a given file.
705
* Simpler and faster compare_inventories() function.
707
* bzrlib.open_tracefile() takes a tracefilename parameter.
709
* New AtomicFile class.
711
* New developer commands ``added``, ``modified``.
716
* Cope on Windows on python2.3 by using the weaker random seed.
717
2.4 is now only recommended.
724
* 'bzr diff' optionally takes a list of files to diff. Still a bit
725
basic. Patch from QuantumG.
727
* More default ignore patterns.
729
* New 'bzr log --verbose' shows a list of files changed in the
730
changeset. Patch from Sebastian Cote.
732
* Roll over ~/.bzr.log if it gets too large.
734
* Command abbreviations 'ci', 'st', 'stat', '?' based on a patch
737
* New 'bzr help commands' based on a patch from Denys Duchier.
742
* User email is determined by looking at $BZREMAIL or ~/.bzr.email
743
or $EMAIL. All are decoded by the locale preferred encoding.
744
If none of these are present user@hostname is used. The host's
745
fully-qualified name is not used because that tends to fail when
746
there are DNS problems.
748
* New 'bzr whoami' command instead of username user-email.
753
* Make commit safe for hardlinked bzr trees.
755
* Some Unicode/locale fixes.
757
* Partial workaround for difflib.unified_diff not handling
758
trailing newlines properly.
763
* Allow docstrings for help to be in PEP0257 format. Patch from
766
* More tests in test.sh.
768
* Write profile data to a temporary file not into working
769
directory and delete it when done.
771
* Smaller .bzr.log with process ids.
776
* Fix opening of ~/.bzr.log on Windows. Patch from Andrew
779
* Some improvements in handling paths on Windows, based on a patch
787
* New "directories" internal command lists versioned directories
790
* Can now say "bzr commit --help".
792
* New "rename" command to rename one file to a different name
795
* New "move" command to move one or more files into a different
798
* New "renames" command lists files renamed since base revision.
800
* New cat command contributed by janmar.
804
* .bzr.log is placed in $HOME (not pwd) and is always written in
805
UTF-8. (Probably not a completely good long-term solution, but
810
* Workaround for difflib bug in Python 2.3 that causes an
811
exception when comparing empty files. Reported by Erik Toubro
816
* Refactored inventory storage to insert a root entry at the top.
820
* Start of shell-based black-box testing in test.sh.
827
* Win32 fixes from Steve Brown.
830
bzr-0.0.2 "black cube" 2005-03-31
834
* Default ignore list extended (see bzrlib/__init__.py).
836
* Patterns in .bzrignore are now added to the default ignore list,
837
rather than replacing it.
839
* Ignore list isn't reread for every file.
843
* Reinstate the 'bzr check' command to check invariants of the
846
* New 'ignored' command lists which files are ignored and why;
847
'deleted' lists files deleted in the current working tree.
849
* Performance improvements.
851
* New global --profile option.
853
* Ignore patterns like './config.h' now correctly match files in
854
the root directory only.
861
* More information from info command.
863
* Can now say "bzr help COMMAND" for more detailed help.
865
* Less file flushing and faster performance when writing logs and
866
committing to stores.
868
* More useful verbose output from some commands.
872
* Fix inverted display of 'R' and 'M' during 'commit -v'.
876
* Include a subset of ElementTree-1.2.20040618 to make
879
* Fix time.localtime call to work with Python 2.3 (the minimum
883
bzr-0.0.0.69 2005-03-22
887
* First public release.
889
* Storage of local versions: init, add, remove, rm, info, log,