Subject: CVS commit: pkgsrc/devel/bzr
To: None <pkgsrc-changes@netbsd.org>
From: Thomas Klausner <wiz@netbsd.org>
List: pkgsrc-changes
Date: 10/27/2007 11:46:43
Module Name: pkgsrc
Committed By: wiz
Date: Sat Oct 27 11:46:43 UTC 2007
Modified Files:
pkgsrc/devel/bzr: Makefile PLIST distinfo
pkgsrc/devel/bzr/patches: patch-ab
Log Message:
Update to 0.91:
bzr 0.91 2007-09-26
===================
BUG FIXES
bzr 0.91rc2 2007-09-11
======================
* Replaced incorrect tarball for previous release; a debug statement was left
in bzrlib/remote.py.
bzr 0.91rc1 2007-09-11
======================
CHANGES:
* The default branch and repository format has changed to
``dirstate-tags``, so tag commands are active by default.
This format is compatible with Bazaar 0.15 and later.
This incidentally fixes bug #126141.
(Martin Pool)
* ``--quiet`` or ``-q`` is no longer a global option. If present, it
must now appear after the command name. Scripts doing things like
``bzr -q missing`` need to be rewritten as ``bzr missing -q``.
(Ian Clatworthy)
FEATURES:
* New option ``--author`` in ``bzr commit`` to specify the author of the
change, if it's different from the committer. ``bzr log`` and
``bzr annotate`` display the author instead of the committer.
(Lukáš Lalinský)
* In addition to global options and command specific options, a set of
standard options are now supported. Standard options are legal for
all commands. The initial set of standard options are:
* ``--help`` or ``-h`` - display help message
* ``--verbose`` or ``-v`` - display additional information
* ``--quiet`` or ``-q`` - only output warnings and errors.
Unlike global options, standard options can be used in aliases and
may have command-specific help. (Ian Clatworthy)
* Verbosity level processing has now been unified. If ``--verbose``
or ``-v`` is specified on the command line multiple times, the
verbosity level is made positive the first time then increased.
If ``--quiet`` or ``-q`` is specified on the command line
multiple times, the verbosity level is made negative the first
time then decreased. To get the default verbosity level of zero,
either specify none of the above , ``--no-verbose`` or ``--no-quiet``.
Note that most commands currently ignore the magnitude of the
verbosity level but do respect *quiet vs normal vs verbose* when
generating output. (Ian Clatworthy)
* ``Branch.hooks`` now supports ``pre_commit`` hook. The hook's signature
is documented in BranchHooks constructor. (Nam T. Nguyen, #102747)
BUG FIXES
IMPROVEMENTS:
* Add the option "--show-diff" to the commit command in order to display
the diff during the commit log creation. (Goffredo Baroncelli)
* ``pull`` and ``merge`` are much faster at installing bundle format 4.
(Aaron Bentley)
* ``pull -v`` no longer includes deltas, making it much faster.
(Aaron Bentley)
* ``send`` now sends the directive as an attachment by default.
(Aaron Bentley, Lukáš Lalinský, Alexander Belchenko)
* Documentation updates (Martin Albisetti)
* Help on debug flags is now included in ``help global-options``.
(Daniel Watkins, #124853)
* Parameters passed on the command line are checked to ensure they are
supported by the encoding in use. (Daniel Watkins)
* The compression used within the bzr repository has changed from zlib
level 9 to the zlib default level. This improves commit performance with
only a small increase in space used (and in some cases a reduction in
space). (Robert Collins)
* Initial commit no longer SHAs files twice and now reuses the path
rather than looking it up again, making it faster.
(Ian Clatworthy)
* New option ``-c``/``--change`` for ``diff`` and ``status`` to show
changes in one revision. (Lukáš Lalinský)
* If versioned files match a given ignore pattern, a warning is now
given. (Daniel Watkins, #48623)
* ``bzr status`` now has -S as a short name for --short and -V as a
short name for --versioned. These have been added to assist users
migrating from Subversion: ``bzr status -SV`` is now like
``svn status -q``. (Daniel Watkins, #115990)
* Added C implementation of ``PatienceSequenceMatcher``, which is about
10x faster than the Python version. This speeds up commands that
need file diffing, such as ``bzr commit`` or ``bzr diff``.
(Lukáš Lalinský)
* HACKING has been extended with a large section on core developer tasks.
(Ian Clatworthy)
* Add ``branches`` and ``standalone-trees`` as online help topics and
include them as Concepts within the User Reference.
(Paul Moore, Ian Clatworthy)
API BREAKS:
* ``Branch.append_revision`` is removed altogether; please use
``Branch.set_last_revision_info`` instead. (Martin Pool)
* CommitBuilder now advertises itself as requiring the root entry to be
supplied. This only affects foreign repository implementations which reuse
CommitBuilder directly and have changed record_entry_contents to require
that the root not be supplied. This should be precisely zero plugins
affected. (Robert Collins)
* The ``add_lines`` methods on ``VersionedFile`` implementations has changed
its return value to include the sha1 and length of the inserted text. This
allows the avoidance of double-sha1 calculations during commit.
(Robert Collins)
* ``Transport.should_cache`` has been removed. It was not called in the
previous release. (Martin Pool)
TESTING:
* Tests may now raise TestNotApplicable to indicate they shouldn't be
run in a particular scenario. (Martin Pool)
* New function multiply_tests_from_modules to give a simpler interface
to test parameterization. (Martin Pool, Robert Collins)
* ``Transport.should_cache`` has been removed. It was not called in the
previous release. (Martin Pool)
* NULL_REVISION is returned to indicate the null revision, not None.
(Aaron Bentley)
* Use UTF-8 encoded StringIO for log tests to avoid failures on
non-ASCII committer names. (Lukáš Lalinský)
bzr 0.90 2007-08-28
===================
IMPROVEMENTS:
* Documentation is now organized into multiple directories with a level
added for different languages or locales. Added the Mini Tutorial
and Quick Start Summary (en) documents from the Wiki, improving the
content and readability of the former. Formatted NEWS as Release Notes
complete with a Table of Conents, one heading per release. Moved the
Developer Guide into the main document catalog and provided a link
from the developer document catalog back to the main one.
(Ian Clatworthy, Sabin Iacob, Alexander Belchenko)
API CHANGES:
* The static convenience method ``BzrDir.create_repository``
is deprecated. Callers should instead create a ``BzrDir`` instance
and call ``create_repository`` on that. (Martin Pool)
bzr 0.90rc1 2007-08-14
======================
BUGFIXES:
* ``bzr init`` should connect to the remote location one time only. We
have been connecting several times because we forget to pass around the
Transport object. This modifies ``BzrDir.create_branch_convenience``,
so that we can give it the Transport we already have.
(John Arbash Meinel, Vincent Ladeuil, #111702)
* Get rid of sftp connection cache (get rid of the FTP one too).
(Vincent Ladeuil, #43731)
* bzr branch {local|remote} remote don't try to create a working tree
anymore.
(Vincent Ladeuil, #112173)
* All identified multiple connections for a single bzr command have been
fixed. See bzrlib/tests/commands directory.
(Vincent Ladeuil)
* ``bzr rm`` now does not insist on ``--force`` to delete files that
have been renamed but not otherwise modified. (Marius Kruger,
#111664)
* ``bzr selftest --bench`` no longer emits deprecation warnings
(Lukáš Lalinský)
* ``bzr status`` now honours FILE parameters for conflict lists
(Aaron Bentley, #127606)
* ``bzr checkout`` now honours -r when reconstituting a working tree.
It also honours -r 0. (Aaron Bentley, #127708)
* ``bzr add *`` no more fails on Windows if working tree contains
non-ascii file names. (Kuno Meyer, #127361)
* allow ``easy_install bzr`` runs without fatal errors.
(Alexander Belchenko, #125521)
* Graph._filter_candidate_lca does not raise KeyError if a candidate
is eliminated just before it would normally be examined. (Aaron Bentley)
* SMTP connection failures produce a nice message, not a traceback.
(Aaron Bentley)
IMPROVEMENTS:
* Don't show "dots" progress indicators when run non-interactively, such
as from cron. (Martin Pool)
* ``info`` now formats locations more nicely and lists "submit" and
"public" branches (Aaron Bentley)
* New ``pack`` command that will trigger database compression within
the repository (Robert Collins)
* Implement ``_KnitIndex._load_data`` in a pyrex extension. The pyrex
version is approximately 2-3x faster at parsing a ``.kndx`` file.
Which yields a measurable improvement for commands which have to
read from the repository, such as a 1s => 0.75s improvement in
``bzr diff`` when there are changes to be shown. (John Arbash Meinel)
* Merge is now faster. Depending on the scenario, it can be more than 2x
faster. (Aaron Bentley)
* Give a clearer warning, and allow ``python setup.py install`` to
succeed even if pyrex is not available.
(John Arbash Meinel)
* ``DirState._read_dirblocks`` now has an optional Pyrex
implementation. This improves the speed of any command that has to
read the entire DirState. (``diff``, ``status``, etc, improve by
about 10%).
``bisect_dirblocks`` has also been improved, which helps all
``_get_entry`` type calls (whenever we are searching for a
particular entry in the in-memory DirState).
(John Arbash Meinel)
* ``bzr pull`` and ``bzr push`` no longer do a complete walk of the
branch revision history for ui display unless -v is supplied.
(Robert Collins)
* ``bzr log -rA..B`` output shifted to the left margin if the log only
contains merge revisions. (Kent Gibson)
* The ``plugins`` command is now public with improved help.
(Ian Clatworthy)
* New bundle and merge directive formats are faster to generate, and
* Annotate merge now works when there are local changes. (Aaron Bentley)
* Commit now only shows the progress in terms of directories instead of
entries. (Ian Clatworthy)
* Fix ``KnitRepository.get_revision_graph`` to not request the graph 2
times. This makes ``get_revision_graph`` 2x faster. (John Arbash
Meinel)
* Fix ``VersionedFile.get_graph()`` to avoid using
``set.difference_update(other)``, which has bad scaling when
``other`` is large. This improves ``VF.get_graph([version_id])`` for
a 12.5k graph from 2.9s down to 200ms. (John Arbash Meinel)
* The ``--lsprof-file`` option now generates output for KCacheGrind if
the file starts with ``callgrind.out``. This matches the default file
filtering done by KCacheGrind's Open Dialog. (Ian Clatworthy)
* Fix ``bzr update`` to avoid an unnecessary
``branch.get_master_branch`` call, which avoids 1 extra connection
to the remote server. (Partial fix for #128076, John Arbash Meinel)
* Log errors from the smart server in the trace file, to make debugging
test failures (and live failures!) easier. (Andrew Bennetts)
* The HTML version of the man page has been superceded by a more
comprehensive manual called the Bazaar User Reference. This manual
is completed generated from the online help topics. As part of this
change, limited reStructuredText is now explicitly supported in help
topics and command help with 'unnatural' markup being removed prior
to display by the online help or inclusion in the man page.
(Ian Clatworthy)
* HTML documentation now use files extension ``*.html``
(Alexander Belchenko)
* The cache of ignore definitions is now cleared in WorkingTree.unlock()
so that changes to .bzrignore aren't missed. (#129694, Daniel Watkins)
* ``bzr selftest --strict`` fails if there are any missing features or
expected test failures. (Daniel Watkins, #111914)
* Link to registration survey added to README. (Ian Clatworthy)
* Windows standalone installer show link to registration survey
when installation finished. (Alexander Belchenko)
LIBRARY API BREAKS:
* Deprecated dictionary ``bzrlib.option.SHORT_OPTIONS`` removed.
Options are now required to provide a help string and it must
comply with the style guide by being one or more sentences with an
initial capital and final period. (Martin Pool)
* KnitIndex.get_parents now returns tuples. (Robert Collins)
* Ancient unused ``Repository.text_store`` attribute has been removed.
(Robert Collins)
* The ``bzrlib.pack`` interface has changed to use tuples of bytestrings
rather than just bytestrings, making it easier to represent multiple
element names. As this interface was not used by any internal facilities
since it was introduced in 0.18 no API compatibility is being preserved.
The serialised form of these packs is identical with 0.18 when a single
element tuple is in use. (Robert Collins)
TESTING:
* Remove selftest ``--clean-output``, ``--numbered-dirs`` and
``--keep-output`` options, which are obsolete now that tests
are done within directories in $TMPDIR. (Martin Pool)
* The SSH_AUTH_SOCK environment variable is now reset to avoid
interaction with any running ssh agents. (Jelmer Vernooij, #125955)
* run_bzr_subprocess handles parameters the same way as run_bzr:
either a string or a list of strings should be passed as the first
parameter. Varargs-style parameters are deprecated. (Aaron Bentley)
To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 pkgsrc/devel/bzr/Makefile
cvs rdiff -r1.11 -r1.12 pkgsrc/devel/bzr/PLIST
cvs rdiff -r1.13 -r1.14 pkgsrc/devel/bzr/distinfo
cvs rdiff -r1.4 -r1.5 pkgsrc/devel/bzr/patches/patch-ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.