pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/bzr bzr 1.10 2008-12-05



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f7c7aaacc0e0
branches:  trunk
changeset: 551090:f7c7aaacc0e0
user:      epg <epg%pkgsrc.org@localhost>
date:      Sun Dec 07 02:32:20 2008 +0000

description:
bzr 1.10 2008-12-05
-------------------

Bazaar 1.10 has several performance improvements for copying revisions
(especially for small updates to large projects).  There has also been a
significant amount of effort in polishing stacked branches.  The commands
``shelve`` and ``unshelve`` have become core commands, with an improved
implementation.

The only changes versus bzr-1.10rc1 are bugfixes for stacked branches.

  BUG FIXES:

    * Don't set a pack write cache size from RepoFetcher, because the
      cache is not coherent with reads and causes ShortReadvErrors.
      This reverses the change that fixed #294479.
      (Martin Pool, #303856)

    * Properly handle when a revision can be inserted as a delta versus
      when it needs to be expanded to a fulltext for stacked branches.
      There was a bug involving merge revisions. As a method to help
      prevent future difficulties, also make stacked fetches sort
      topologically. (John Arbash Meinel, #304841)


bzr 1.10rc1 2008-11-28
----------------------

This release of Bazaar focuses on performance improvements when pushing
and pulling revisions, both locally and to remote networks.  The popular
``shelve`` and ``unshelve`` commands, used to interactively revert and
restore work in progress, have been merged from bzrtools into the bzr
core.  There are also bug fixes for portability, and for stacked branches.

  NEW FEATURES:

    * New ``commit_message_template`` hook that is called by the commit
      code to generate a template commit message. (Jelmer Vernooij)

    * New `shelve` and `unshelve` commands allow undoing and redoing changes.
      (Aaron Bentley)

  IMPROVEMENTS:

    * ``(Remote)Branch.copy_content_into`` no longer generates the full revision
      history just to set the last revision info.
      (Andrew Bennetts, John Arbash Meinel)

    * Fetches between formats with different serializers (such as
      pack-0.92-subtree and 1.9-rich-root) are faster now.  This is due to
      operating on batches of 100 revisions at time rather than
      one-by-one.  (Andrew Bennetts, John Arbash Meinel)

    * Search index files corresponding to pack files we've already used
      before searching others, because they are more likely to have the
      keys we're looking for.  This reduces the number of iix and tix
      files accessed when pushing 1 new revision, for instance.
      (John Arbash Meinel)

    * Signatures to transfer are calculated more efficiently in
      ``item_keys_introduced_by``.  (Andrew Bennetts, John Arbash Meinel)

    * The generic fetch code can once again copy revisions and signatures
      without extracting them completely to fulltexts and then serializing
      them back down into byte strings. This is a significant performance
      improvement when fetching from a stacked branch.
      (John Arbash Meinel, #300289)

    * When making a large readv() request over ``bzr+ssh``, break up the
      request into more manageable chunks. Because the RPC is not yet able
      to stream, this helps keep us from buffering too much information at
      once. (John Arbash Meinel)

  BUG FIXES:

    * Better message when the user needs to set their Launchpad ID.
      (Martin Pool, #289148)

    * ``bzr commit --local`` doesn't access the master branch anymore.
      This fixes a regression introduced in 1.9.  (Marius Kruger, #299313)

    * Don't call the system ``chdir()`` with an empty path. Sun OS seems
      to give an error in that case.  Also, don't count on ``getcwd()``
      being able to allocate a new buffer, which is a gnu extension.
      (John Arbash Meinel, Martin Pool, Harry Hirsch, #297831)

    * Don't crash when requesting log --forward <file> for a revision range
      starting with a dotted revno.
      (Vincent Ladeuil, #300055)

    * Don't create text deltas spanning stacked repositories; this could
      cause "Revision X not present in Y" when later accessing them.
      (Martin Pool, #288751)

    * Pack repositories are now able to reload the pack listing and retry
      the current operation if another action causes the data to be
      repacked.  (John Arbash Meinel, #153786)

    * PermissionDenied errors from smart servers no longer cause
      "PermissionDenied: "None"" on the client.
      (Andrew Bennetts, #299254)

    * Pushing to a stacked pack repository now batches writes, the same
      way writes are batched to ordinary pack repository.  This makes
      pushing to a stacked branch over the network much faster.
      (Andrew Bennetts, #294479)

    * TooManyConcurrentRequests no longer occur when a fetch fails and
      tries to abort a write group.  This allows the root cause (e.g. a
      network interruption) to be reported.  (Andrew Bennetts, #297014)

    * RemoteRepository.get_parent_map now uses fallback repositories.
      (Aaron Bentley, #297991?, #293679?)

  API CHANGES:

    * ``CommitBuilder`` now validates the strings it will be committing,
      to ensure that they do not have characters that will not be properly
      round-tripped. For now, it just checks for characters that are
      invalid in the XML form. (John Arbash Meinel, #295161)

    * Constructor parameters for NewPack (internal to pack repositories)
      have changed incompatibly.

    * ``Repository.abort_write_group`` now accepts an optional
      ``suppress_errors`` flag.  Repository implementations that override
      ``abort_write_group`` will need to be updated to accept the new
      argument.  Subclasses that only override ``_abort_write_group``
      don't need to change.

    * Transport implementations must provide copy_tree_to_transport.  A default
      implementation is provided for Transport subclasses.

  TESTING:

    * ``bzr selftest`` now fails if no doctests are found in a module
      that's expected to have them.  (Martin Pool)

    * Doctests now only report the first failure.  (Martin Pool)

diffstat:

 devel/bzr/Makefile |   6 +++---
 devel/bzr/PLIST    |  20 +++++++++++++++++++-
 devel/bzr/distinfo |   8 ++++----
 3 files changed, 26 insertions(+), 8 deletions(-)

diffs (86 lines):

diff -r 524674800d6a -r f7c7aaacc0e0 devel/bzr/Makefile
--- a/devel/bzr/Makefile        Sun Dec 07 02:05:50 2008 +0000
+++ b/devel/bzr/Makefile        Sun Dec 07 02:32:20 2008 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.30 2008/11/08 02:50:15 epg Exp $
+# $NetBSD: Makefile,v 1.31 2008/12/07 02:32:20 epg Exp $
 
 DISTNAME=              bzr-${VER}
 CATEGORIES=            devel scm
-MASTER_SITES=          http://launchpad.net/bzr/1.9/${VER}/+download/
-VER=                   1.9
+MASTER_SITES=          http://launchpad.net/bzr/1.10/${VER}/+download/
+VER=                   1.10
 
 MAINTAINER=            epg%NetBSD.org@localhost
 HOMEPAGE=              http://bazaar-vcs.org/
diff -r 524674800d6a -r f7c7aaacc0e0 devel/bzr/PLIST
--- a/devel/bzr/PLIST   Sun Dec 07 02:05:50 2008 +0000
+++ b/devel/bzr/PLIST   Sun Dec 07 02:32:20 2008 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.20 2008/11/08 02:50:15 epg Exp $
+@comment $NetBSD: PLIST,v 1.21 2008/12/07 02:32:20 epg Exp $
 bin/bzr
 ${PYSITELIB}/bzrlib/__init__.py
 ${PYSITELIB}/bzrlib/__init__.pyc
@@ -241,6 +241,9 @@
 ${PYSITELIB}/bzrlib/fetch.py
 ${PYSITELIB}/bzrlib/fetch.pyc
 ${PYSITELIB}/bzrlib/fetch.pyo
+${PYSITELIB}/bzrlib/foreign.py
+${PYSITELIB}/bzrlib/foreign.pyc
+${PYSITELIB}/bzrlib/foreign.pyo
 ${PYSITELIB}/bzrlib/generate_ids.py
 ${PYSITELIB}/bzrlib/generate_ids.pyc
 ${PYSITELIB}/bzrlib/generate_ids.pyo
@@ -448,6 +451,12 @@
 ${PYSITELIB}/bzrlib/rules.py
 ${PYSITELIB}/bzrlib/rules.pyc
 ${PYSITELIB}/bzrlib/rules.pyo
+${PYSITELIB}/bzrlib/shelf.py
+${PYSITELIB}/bzrlib/shelf.pyc
+${PYSITELIB}/bzrlib/shelf.pyo
+${PYSITELIB}/bzrlib/shelf_ui.py
+${PYSITELIB}/bzrlib/shelf_ui.pyc
+${PYSITELIB}/bzrlib/shelf_ui.pyo
 ${PYSITELIB}/bzrlib/shellcomplete.py
 ${PYSITELIB}/bzrlib/shellcomplete.pyc
 ${PYSITELIB}/bzrlib/shellcomplete.pyo
@@ -1111,6 +1120,9 @@
 ${PYSITELIB}/bzrlib/tests/test_fetch.py
 ${PYSITELIB}/bzrlib/tests/test_fetch.pyc
 ${PYSITELIB}/bzrlib/tests/test_fetch.pyo
+${PYSITELIB}/bzrlib/tests/test_foreign.py
+${PYSITELIB}/bzrlib/tests/test_foreign.pyc
+${PYSITELIB}/bzrlib/tests/test_foreign.pyo
 ${PYSITELIB}/bzrlib/tests/test_ftp_transport.py
 ${PYSITELIB}/bzrlib/tests/test_ftp_transport.pyc
 ${PYSITELIB}/bzrlib/tests/test_ftp_transport.pyo
@@ -1320,6 +1332,12 @@
 ${PYSITELIB}/bzrlib/tests/test_sftp_transport.py
 ${PYSITELIB}/bzrlib/tests/test_sftp_transport.pyc
 ${PYSITELIB}/bzrlib/tests/test_sftp_transport.pyo
+${PYSITELIB}/bzrlib/tests/test_shelf.py
+${PYSITELIB}/bzrlib/tests/test_shelf.pyc
+${PYSITELIB}/bzrlib/tests/test_shelf.pyo
+${PYSITELIB}/bzrlib/tests/test_shelf_ui.py
+${PYSITELIB}/bzrlib/tests/test_shelf_ui.pyc
+${PYSITELIB}/bzrlib/tests/test_shelf_ui.pyo
 ${PYSITELIB}/bzrlib/tests/test_smart.py
 ${PYSITELIB}/bzrlib/tests/test_smart.pyc
 ${PYSITELIB}/bzrlib/tests/test_smart.pyo
diff -r 524674800d6a -r f7c7aaacc0e0 devel/bzr/distinfo
--- a/devel/bzr/distinfo        Sun Dec 07 02:05:50 2008 +0000
+++ b/devel/bzr/distinfo        Sun Dec 07 02:32:20 2008 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.24 2008/11/08 02:50:15 epg Exp $
+$NetBSD: distinfo,v 1.25 2008/12/07 02:32:20 epg Exp $
 
-SHA1 (bzr-1.9.tar.gz) = 963f38dc6cf2657d25588e2311de8e28476eedae
-RMD160 (bzr-1.9.tar.gz) = 490abe4bb0285cf6078461ff9541204e4d6497ca
-Size (bzr-1.9.tar.gz) = 3859551 bytes
+SHA1 (bzr-1.10.tar.gz) = 27bc0ceabe6271f960e5a93eb058640004078152
+RMD160 (bzr-1.10.tar.gz) = ed62ad7203b2e8f5a9d438533509f91872a455ca
+Size (bzr-1.10.tar.gz) = 3900618 bytes
 SHA1 (patch-aa) = 8eda90885b3127525330cd3432538fb2b4df98c1
 SHA1 (patch-ab) = 2213a002f9bc0f5baba0554b6b375becf4d98d9c



Home | Main Index | Thread Index | Old Index