bzr 2.0.0rc2

Bazaar

bzr 2.0.0rc2

2.0.0rc2:2009-09-10

New Features

  • Added post_commit hook for mutable trees. This allows the keywords plugin to expand keywords on files changed by the commit. (Ian Clatworthy, #408841)

Bug Fixes

  • Bazaar’s native protocol code now correctly handles EINTR, which most noticeably occurs if you break in to the debugger while connected to a bzr+ssh server. You can now can continue from the debugger (by typing ‘c’) and the process continues. However, note that pressing C-in the shell may still kill the SSH process, which is bug 162509, so you must sent a signal to the bzr process specifically, for example by typing kill -QUIT PID in another shell. (Martin Pool, #341535)
  • bzr check in pack-0.92, 1.6 and 1.9 format repositories will no longer report incorrect errors about Missing inventory ('TREE_ROOT', ...) (Robert Collins, #416732)
  • bzr info -v on a 2a format still claimed that it was a “Development format” (John Arbash Meinel, #424392)
  • bzr log stacked-branch shows the full log including revisions that are in the fallback repository. (Regressed in 2.0rc1). (John Arbash Meinel, #419241)
  • Clearer message when Bazaar runs out of memory, instead of a MemoryError traceback. (Martin Pool, #109115)
  • Conversion to 2a will create a single pack for all the new revisions (as long as it ran without interruption). This improves both bzr upgrade and bzr pull or bzr merge from local branches in older formats. The autopack logic that occurs every 100 revisions during local conversions was not returning that pack’s identifier, which resulted in the partial packs created during the conversion not being consolidated at the end of the conversion process. (Robert Collins, #423818)
  • Fetches from 2a to 2a are now again requested in ‘groupcompress’ order. Groups that are seen as ‘underutilized’ will be repacked on-the-fly. This means that when the source is fully packed, there is minimal overhead during the fetch, but if the source is poorly packed the result is a fairly well packed repository (not as good as ‘bzr pack’ but good-enough.) (Robert Collins, John Arbash Meinel, #402652)
  • Fix a potential segmentation fault when doing ‘log’ of a branch that had ghosts in its mainline. (Evaluating None as a tuple is bad.) (John Arbash Meinel, #419241)
  • groupcompress sort order is now more stable, rather than relying on topo_sort ordering. The implementation is now KnownGraph.gc_sort. (John Arbash Meinel)
  • Local data conversion will generate correct deltas. This is a critical bugfix vs 2.0rc1, and all 2.0rc1 users should upgrade to 2.0rc2 before converting repositories. (Robert Collins, #422849)
  • Network streams now decode adjacent records of the same type into a single stream, reducing layering churn. (Robert Collins)
  • Prevent some kinds of incomplete data from being committed to a 2a repository, such as revisions without inventories, a missing chk_bytes record for an inventory, or a missing text referenced by an inventory. (Andrew Bennetts, #423506, #406687)

Documentation

  • Fix assertion error about “_remember_remote_is_before” when pushing to older smart servers. (Andrew Bennetts, #418931)
  • Help on hooks no longer says ‘Not deprecated’ for hooks that are currently supported. (Ian Clatworthy, #422415)
  • PDF and CHM (Windows HtmlHelp) formats are now supported for the user documentation. The HTML documentation is better broken up into topics. (Ian Clatworthy)
  • The developer and foreign language documents are now separated out so that searching in the HTML and CHM files produces more useful results. (Ian Clatworthy)
  • The main table of contents now provides links to the new Migration Docs and Plugins Guide. (Ian Clatworthy)