diff options
author | epg <epg@pkgsrc.org> | 2008-11-08 02:50:15 +0000 |
---|---|---|
committer | epg <epg@pkgsrc.org> | 2008-11-08 02:50:15 +0000 |
commit | 2dd7b2c15d7e4ae290e53833858edd835ef93b62 (patch) | |
tree | 1aefd25e19370c0ec9fcbf55c2b1c6df94b3bb9a /devel/bzr/Makefile | |
parent | 610e3ed8ae4772bafae27fee1efdec7372ba5a15 (diff) | |
download | pkgsrc-2dd7b2c15d7e4ae290e53833858edd835ef93b62.tar.gz |
bzr 1.9 2008-11-07
------------------
This release of Bazaar adds a new repository format, ``1.9``, with smaller
and more efficient index files. This format can be specified when
creating a new repository, or used to losslessly upgrade an existing
repository. bzr 1.9 also speeds most operations over the smart server
protocol, makes annotate faster, and uses less memory when making
checkouts or pulling large amounts of data.
BUG FIXES:
* Fix "invalid property value 'branch-nick' for None" regression with
branches bound to svn branches. (Martin Pool, #293440)
* Fix SSL/https on Python2.6. (Vincent Ladeuil, #293054)
* ``SFTPTransport.readv()`` had a bug when requests were out-of-order.
This only triggers some-of-the-time on Knit format repositories.
(John Arbash Meinel, #293746)
bzr 1.9rc1 2008-10-31
---------------------
NEW FEATURES:
* New Branch hook ``transform_fallback_location`` allows a function to
be called when looking up the stacked source. (Michael Hudson)
* New repository formats ``1.9`` and ``1.9-rich-root``. These have all
the functionality of ``1.6``, but use the new btree indexes.
These indexes are both smaller and faster for access to historical
information. (John Arbash Meinel)
IMPROVEMENTS:
* ``BTreeIndex`` code now is able to prefetch extra pages to help tune
the tradeoff between bandwidth and latency. Should be tuned
appropriately to not impact commands which need minimal information,
but provide a significant boost to ones that need more context. Only
has a direct impact on the ``--development2`` format which uses
btree's for the indexes. (John Arbash Meinel)
* ``bzr dump-btree`` is a hidden command introduced to allow dumping
the contents of a compressed btree file. (John Arbash Meinel)
* ``bzr pack`` now tells the index builders to optimize for size. For
btree index repositories, this can save 25% of the index size
(mostly in the text indexes). (John Arbash Meinel)
* ``bzr push`` to an existing branch or repository on a smart server
is faster, due to Bazaar making more use of the ``get_parent_map``
RPC when querying the remote branch's revision graph.
(Andrew Bennetts)
* default username for bzr+ssh and sftp can be configured in
authentication.conf. (Aaron Bentley)
* launchpad-login now provides a default username for bzr+ssh and sftp
URLs, allowing username-free URLs to work for everyone. (Aaron Bentley)
* ``lp:`` lookups no longer include usernames, making them shareable and
shorter. (Aaron Bentley)
* New ``PackRepository.autopack`` smart server RPC, which does
autopacking entirely on the server. This is much faster than
autopacking via plain file methods, which downloads a large amount
of pack data and then re-uploads the same pack data into a single
file. This fixes a major (although infrequent) cause of lengthy
delays when using a smart server. For example, pushing the 10th
revision to a repository with 9 packs now takes 44 RPCs rather than
179, and much less bandwidth too. This requires Bazaar 1.9 on both
the client and the server, otherwise the client will fallback to the
slower method. (Andrew Bennetts)
BUG FIXES:
* A failure to load a plugin due to an IncompatibleAPI exception is
now correctly reported. (Robert Collins, #279451)
* API versioning support now has a multiple-version checking api
``require_any_api``. (Robert Collins, #279447)
* ``bzr branch --stacked`` from a smart server to a standalone branch
works again. This fixes a regression in 1.7 and 1.8.
(Andrew Bennetts, #270397)
* ``bzr co`` uses less memory. It used to unpack the entire WT into
memory before writing it to disk. This was a little bit faster, but
consumed lots of memory. (John Arbash Meinel, #269456)
* ``bzr missing --quiet`` no longer prints messages about whether
there are missing revisions. The exit code indicates whether there
were or not. (Martin Pool, #284748)
* Fixes to the ``annotate`` code. The fast-path which re-used the
stored deltas was accidentally disabled all the time, instead of
only when a branch was stacked. Second, the code would accidentally
re-use a delta even if it wasn't against the left-parent, this
could only happen if ``bzr reconcile`` decided that the parent
ordering was incorrect in the file graph. (John Arbash Meinel)
* "Permission denied" errors that occur when pushing a new branch to a
smart server no longer cause tracebacks. (Andrew Bennetts, #278673)
* Some compatibility fixes for building the extensions with MSVC and
for python2.4. (John Arbash Meinel, #277484)
* The index logic is now able to reload the list of pack files if and
index ends up disappearing. We still don't reload if the pack data
itself goes missing after checking the index. This bug appears as a
transient failure (file not found) when another process is writing
to the repository. (John Arbash Meinel, #153786)
* ``bzr switch`` and ``bzr bind`` will now update the branch nickname if
it was previously set. All checkouts will now refer to the bound branch
for a nickname if one was not explicitly set.
(Marius Kruger, #230903)
DOCUMENTATION:
* Improved hook documentation. (Michael Ernst)
API CHANGES:
* commands.plugins_cmds is now a CommandRegistry, not a dict.
INTERNALS:
* New AuthenticationConfig.set_credentials method allows easy programmatic
configuration of authetication credentials.
bzr 1.8 2008-10-16
------------------
Bazaar 1.8 includes several fixes that improve working tree performance,
display of revision logs, and merges. The bzr testsuite now passes on OS
X and Python 2.6, and almost completely passes on Windows. The
smartserver code has gained several bug fixes and performance
improvements, and can now run server-side hooks within an http server.
BUG FIXES:
* Fix "Must end write group" error when another error occurs during
``bzr push``. (Andrew Bennetts, #230902)
PORTABILITY:
* Some Pyrex versions require the WIN32 macro defined to compile on
that platform. (Alexander Belchenko, Martin Pool, #277481)
bzr 1.8rc1 2008-10-07
---------------------
CHANGES:
* ``bzr log file`` has been changed. It now uses a different method
for determining which revisions to show as merging the changes to
the file. It now only shows revisions which merged the change
towards your mainline. This simplifies the output, makes it faster,
and reduces memory consumption. (John Arbash Meinel)
* ``bzr merge`` now defaults to having ``--reprocess`` set, whenever
``--show-base`` is not supplied. (John Arbash Meinel)
* ``bzr+http//`` will now optionally load plugins and write logs on the
server. (Marius Kruger)
* ``bzrlib._dirstate_helpers_c.pyx`` does not compile correctly with
Pyrex 0.9.4.1 (it generates C code which causes segfaults). We
explicitly blacklist that version of the compiler for that
extension. Packaged versions will include .c files created with
pyrex >= 0.9.6 so it doesn't effect releases, only users running
from the source tree. (John Arbash Meinel, #276868)
FEATURES
* bzr is now compatible with python-2.6. python-2.6 is not yet officially
supported (nor released, tests were conducted with the dev version of
python-2.6rc2), but all known problems have been fixed. Feedback
welcome.
(Vincent Ladeuil, #269535)
IMPROVEMENTS:
* ``bzr annotate`` will now include uncommitted changes from the local
working tree by default. Such uncommitted changes are given the
revision number they would get if a commit was done, followed with a
? to indicate that its not actually known. (Robert Collins, #3439)
* ``bzr branch`` now accepts a ``--standalone`` option, which creates a
standalone branch regardless of the presence of shared repositories.
(Daniel Watkins)
* ``bzr push`` is faster in the case there are no new revisions to
push. It is also faster if there are no tags in the local branch.
(Andrew Bennetts)
* File changes during a commit will update the tree stat cache.
(Robert Collins)
* Location aliases can now accept a trailing path. (Micheal Hudson)
* New hooks ``Lock.hooks`` when LockDirs are acquired and released.
(Robert Collins, MartinPool)
* Switching in heavyweight checkouts uses the master branch's context, not
the checkout's context. (Adrian Wilkins)
* ``status`` on large trees is now faster, due to optimisations in the
walkdirs code. Of particular note, the walkdirs code now performs
a temporary ``chdir()`` while reading a single directory; if your
platform has non thread-local current working directories (and is
not windows which has its own implementation), this may introduce a
race condition during concurrent uses of bzrlib. The bzrlib CLI
will not encounter this as it is single threaded for working tree
operations. (Robert Collins)
* The C extensions now build on python 2.4 (Robert Collins, #271939)
* The ``-Dhpss`` debug flag now reports the number of smart server
calls per medium to stderr. This is in addition to the existing
detailed logging to the .bzr.log trace file. (Andrew Bennetts)
BUG FIXES:
* Avoid random failures arising from misinterpreted ``errno`` values
in ``_readdir_pyx.read_dir``.
(Martin Pool, #279381)
* Branching from a shared repository on a smart server into a new
repository now preserves the repository format.
(Andrew Bennetts, #269214)
* ``bzr log`` now accepts a ``--change`` option.
(Vincent Ladeuil, #248427)
* ``bzr missing`` now accepts an ``--include-merges`` option.
(Vincent Ladeuil, #233817)
* Don't try to filter (internally) '.bzr' from the files to be deleted if
it's not there.
(Vincent Ladeuil, #272648)
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
(Andrew Bennetts)
* Fix TooManyConcurrentRequests errors caused by a connection failure
when doing ``bzr pull`` or ``bzr merge`` from a ``bzr+ssh`` URL.
(Andrew Bennetts, #246233)
* Fixed ``bzr st -r branch:PATH_TO_BRANCH`` where the other branch
is in a different repository than the current one.
(Lukáš Lalinský, #144421)
* Make the first line of the manpage preamble a comment again.
(David Futcher, #242106)
* Remove use of optional parameter in GSSAPI FTP support, since
it breaks newer versions of Python-Kerberos. (Jelmer Vernooij)
* The autopacking logic will now always create a single new pack from
all of the content which it deems is worth moving. This avoids the
'repack a single pack' bug and should result in better packing
overall. (John Arbash Meinel, #242510, #172644)
* Trivial documentation fix.
(John Arbash Meinel, #270471)
DOCUMENTATION:
* Explain revision/range identifiers. (Daniel Clemente)
API CHANGES:
* ``CommitBuilder.record_entry_contents`` returns one more element in
its result tuple - an optional file system hash for the hash cache
to use. (Robert Collins)
* ``dirstate.DirState.update_entry`` will now only calculate the sha1
of a file if it is likely to be needed in determining the output
of iter_changes. (Robert Collins)
* The PackRepository, RepositoryPackCollection, NewPack classes have a
slightly changed interface to support different index types; as a
result other users of these classes need to supply the index types
they want. (Robert Collins)
TESTING:
* ``bzrlib.tests.repository_implementations`` has been renamed to
``bzrlib.tests.per_repository`` so that we have a common structure
(and it is shorter). (John Arbash Meinel, #239343)
* ``LocalTransport.abspath()`` now returns a drive letter if the
transport has one, fixing numerous tests on Windows.
(Mark Hammond)
* PreviewTree is now tested via intertree_implementations.
(Aaron Bentley)
* The full test suite is passing again on OSX.
(Guillermo Gonzalez, Vincent Ladeuil)
* The full test suite passes when run with ``-Eallow_debug``.
(Andrew Bennetts)
INTERNALS:
* A new hook, ``Branch.open``, has been added, which is called when
branch objects are opened. (Robert Collins)
* ``bzrlib.osutils._walkdirs_utf8`` has been refactored into common
tree walking, and modular directory listing code to aid future
performance optimisations and refactoring. (Robert Collins)
* ``bzrlib.trace.debug_memory`` can be used to get a quick memory dump
in the middle of processing. It only reports memory if
``/proc/PID/status`` is available. (John Arbash Meinel)
* New method ``RevisionSpec.as_tree`` for representing the revision
specifier as a revision tree object. (Lukáš Lalinský)
* New race-free method on MutableTree ``get_file_with_stat`` for use
when generating stat cache results. (Robert Collins)
* New win32utils.get_local_appdata_location() provides access to a local
directory for storing data. (Mark Hammond)
* To be compatible with python-2.6 a few new rules should be
observed. 'message' attribute can't be used anymore in exception
classes, 'sha' and 'md5' modules have been deprecated (use
osutils.[md5|sha]), object__init__ and object.__new__ don't accept
parameters anymore.
(Vincent Ladeuil)
bzr 1.7.1 2008-10-01
--------------------
No changes from 1.7.1rc1.
bzr 1.7.1rc1 2008-09-24
-----------------------
This release just includes an update to how the merge algorithm handles
file paths when we encounter complex history.
FEATURES:
* If we encounter a criss-cross in history, use information from
direct Least Common Ancestors to resolve inventory shape (locations
of files, adds, deletes, etc). This is similar in concept to using
``--lca`` for merging file texts, only applied to paths.
(John Arbash Meinel)
bzr 1.7 2008-09-23
------------------
This release includes many bug fixes and a few performance and feature
improvements. ``bzr rm`` will now scan for missing files and remove them,
like how ``bzr add`` scans for unknown files and adds them. A bit more
polish has been applied to the stacking code. The b-tree indexing code has
been brought in, with an eye on using it in a future repository format.
There are only minor installer changes since bzr-1.7rc2.
FEATURES
* Some small updates to the win32 installer. Include localization
files found in plugins, and include the builtin distutils as part of
packaging qbzr. (Mark Hammond)
bzr 1.7rc2 2008-09-17
---------------------
A few bug fixes from 1.7rc1. The biggest change is a new
``RemoteBranch.get_stacked_on_url`` rpc. This allows clients that are
trying to access a Stacked branch over the smart protocol, to properly
connect to the stacked-on location.
BUG FIXES:
* Branching from a shared repository on a smart server into a new
repository now preserves the repository format.
(Andrew Bennetts, #269214)
* Branching from a stacked branch via ``bzr+ssh`` can properly connect
to the stacked-on branch. (Martin Pool, #261315)
* ``bzr init`` no longer re-opens the BzrDir multiple times.
(Vincent Ladeuil)
* Fix '_in_buffer' AttributeError when using the -Dhpss debug flag.
(Andrew Bennetts)
bzr 1.7rc1 2008-09-09
---------------------
This release candidate for bzr 1.7 has several bug fixes and a few
performance and feature improvements. ``bzr rm`` will now scan for
missing files and remove them, like how ``bzr add`` scans for unknown
files and adds them. A bit more polish has been applied to the stacking
code. The b-tree indexing code has been brought in, with an eye on using
it in a future repository format.
CHANGES:
* ``bzr export`` can now export a subdirectory of a project.
(Robert Collins)
* ``bzr remove-tree`` will now refuse to remove a tree with uncommitted
changes, unless the ``--force`` option is specified.
(Lukáš Lalinský, #74101)
* ``bzr rm`` will now scan for files that are missing and remove just
them automatically, much as ``bzr add`` scans for new files that
are not ignored and adds them automatically. (Robert Collins)
FEATURES
* Support for GSSAPI authentication when using FTP as documented in
RFC2228. (Jelmer Vernooij, #49623)
* Add support for IPv6 in the smart server. (Jelmer Vernooij, #165014)
IMPROVEMENTS:
* A url like ``log+file:///tmp`` will log all access to that Transport
to ``.bzr.log``, which may help in debugging or profiling.
(Martin Pool)
* ``bzr branch`` and ``bzr push`` use the default stacking policy if the
branch format supports it. (Aaron Bentley)
* ``bzr init`` and ``bzr init-repo`` will now print out the same as
``bzr info`` if it completed successfully.
(Marius Kruger)
* ``bzr uncommit`` logs the old tip revision id, and displays how to
restore the branch to that tip using ``bzr pull``. This allows you
to recover if you realize you uncommitted the wrong thing.
(John Arbash Meinel)
* Fix problems in accessing stacked repositories over ``bzr://``.
(Martin Pool, #261315)
* ``SFTPTransport.readv()`` was accidentally using ``list += string``,
which 'works', but adds each character separately to the list,
rather than using ``list.append(string)``. Fixing this makes the
SFTP transport a little bit faster (~20%) and use a bit less memory.
(John Arbash Meinel)
* When reading index files, if we happen to read the whole file in a
single request treat it as a ``_buffer_all`` request. This happens
most often on small indexes over remote transports, where we default
to reading 64kB. It saves a round trip for each small index during
fetch operations. Also, if we have read more than 50% of an index
file, trigger a ``_buffer_all`` on the next request. This works
around some inefficiencies because reads don't fall neatly on page
boundaries, so we would ignore those bytes, but request them again
later. This could trigger a total read size of more than the whole
file. (John Arbash Meinel)
BUG FIXES:
* ``bzr rm`` is now aliased to ``bzr del`` for the convenience of svn
users. (Robert Collins, #205416)
* Catch the infamous "select/poll returned error" which occurs when
pycurl try to send a body request to an HTTP/1.0 server which has
already refused to handle the request. (Vincent Ladeuil, #225020)
* Fix ``ObjectNotLocked`` errors when using various commands
(including ``bzr cat`` and ``bzr annotate``) in combination with a
smart server URL. (Andrew Bennetts, #237067)
* ``FTPTransport.stat()`` would return ``0000`` as the permission bits
for the containing ``.bzr/`` directory (it does not implement
permissions). This would cause us to set all subdirectories to
``0700`` and files to ``0600`` rather than leaving them unmodified.
Now we ignore ``0000`` as the permissions and assume they are
invalid. (John Arbash Meinel, #259855)
* Merging from a previously joined branch will no longer cause
a traceback. (Jelmer Vernooij, #203376)
* Pack operations on windows network shares will work even with large
files. (Robert Collins, #255656)
* Running ``bzr st PATH_TO_TREE`` will no longer suppress merge
status. Status is also about 7% faster on mozilla sized trees
when the path to the root of the tree has been given. Users of
the internal ``show_tree_status`` function should be aware that
the show_pending flag is now authoritative for showing pending
merges, as it was originally. (Robert Collins, #225204)
* Set valid default _param_name for Option so that ListOption can embed
'-' in names. (Vincent Ladeuil, #263249)
* Show proper error rather than traceback when an unknown revision
id is specified to ``bzr cat-revision``. (Jelmer Vernooij, #175569)
* Trailing text in the dirstate file could cause the C dirstate parser
to try to allocate an invalid amount of memory. We now properly
check and test for parsing a dirstate with invalid trailing data.
(John Arbash Meinel, #186014)
* Unexpected error responses from a smart server no longer cause the
client to traceback. (Andrew Bennetts, #263527)
* Use a Windows api function to get a Unicode host name, rather than
assuming the host name is ascii.
(Mark Hammond, John Arbash Meinel, #256550)
* ``WorkingTree4`` trees will now correctly report missing-and-new
paths in the output of ``iter_changes``. (Robert Collins)
DOCUMENTATION:
* Updated developer documentation. (Martin Pool)
API CHANGES:
* Exporters now take 4 parameters. (Robert Collins)
* ``Tree.iter_changes`` will now return False for the content change
field when a file is missing in the basis tree and not present in
the target tree. Previously it returned True unconditionally.
(Robert Collins)
* The deprecated ``Branch.abspath`` and unimplemented
``Branch.rename_one`` and ``Branch.move`` were removed. (Jelmer Vernooij)
* BzrDir.clone_on_transport implementations must now accept a stacked_on
parameter. (Aaron Bentley)
* BzrDir.cloning_metadir implementations must now take a require_stacking
parameter. (Aaron Bentley)
TESTING:
* ``addCleanup`` now takes ``*arguments`` and ``**keyword_arguments``
which are then passed to the cleanup callable as it is run. In
addition, addCleanup no longer requires that the callables passed to
it be unique. (Jonathan Lange)
* Fix some tests that fail on Windows because files are deleted while
still in use.
(Mark Hammond)
* ``selftest``'s ``--starting-with`` option can now use predefined
prefixes so that one can say ``bzr selftest -s bp.loom`` instead of
``bzr selftest -s bzrlib.plugins.loom``. (Vincent Ladeuil)
* ``selftest``'s ``--starting-with`` option now accepts multiple values.
(Vincent Ladeuil)
INTERNALS:
* A new plugin interface, ``bzrlib.log.log_adapters``, has been added.
This allows dynamic log output filtering by plugins.
(Robert Collins)
* ``bzrlib.btree_index`` is now available, providing a b-tree index
layer. The design is memory conservative (limited memory cache),
faster to seek (approx 100 nodes per page, gives 100-way fan out),
and stores compressed pages allowing more keys per page.
(Robert Collins, John Arbash Meinel)
* ``bzrlib.diff.DiffTree.show_diff`` now skips changes where the kind
is unknown in both source and target.
(Robert Collins, Aaron Bentley)
* ``GraphIndexBuilder.add_node`` and ``BTreeBuilder`` have been
streamlined a bit. This should make creating large indexes faster.
(In benchmarking, it now takes less time to create a BTree index than
it takes to read the GraphIndex one.) (John Arbash Meinel)
* Mail clients for `bzr send` are now listed in a registry. This
allows plugins to add new clients by registering them with
``bzrlib.mail_client.mail_client_registry``. All of the built-in
clients now use this mechanism. (Neil Martinsen-Burrell)
Diffstat (limited to 'devel/bzr/Makefile')
-rw-r--r-- | devel/bzr/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/bzr/Makefile b/devel/bzr/Makefile index 19b7502ed04..5cdef9ac717 100644 --- a/devel/bzr/Makefile +++ b/devel/bzr/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.29 2008/09/06 05:32:08 epg Exp $ +# $NetBSD: Makefile,v 1.30 2008/11/08 02:50:15 epg Exp $ DISTNAME= bzr-${VER} CATEGORIES= devel scm -MASTER_SITES= http://launchpad.net/bzr/1.6/${VER}/+download/ -VER= 1.6.1 +MASTER_SITES= http://launchpad.net/bzr/1.9/${VER}/+download/ +VER= 1.9 MAINTAINER= epg@NetBSD.org HOMEPAGE= http://bazaar-vcs.org/ |