GNU Changelog output can now be produced by bzrlog--gnu-changelog. Debug
flags can now be set in ~/.bazaar/bazaar.conf. Lightweight checkouts and
stacked branches should both be much faster over remote connections.

A regression was found in the 1.13.1 release. When bzr 1.13.1 and earlier push
a stacked branch they do not take care to push all the parent inventories for
the transferred revisions. This means that a smart server serving that branch
often cannot calculate inventory deltas for the branch (because smart server
does not/cannot open fallback repositories). Prior to 1.13 the server did not
have a verb to stream revisions out of a repository, so that’s why this bug has
appeared now.

Filtered views provide a mask over the tree so that users can focus
on a subset of a tree when doing their work. See Filteredviews
in chapter 7 of the User Guide and bzrhelpview for details.
(Ian Clatworthy)

GNU Changelog output can now be produced by bzrlog--gnu-changelog.
(Andrea Bolognani, Martin Pool)

All bzr Hooks classes are now registered in
bzrlib.hooks.known_hooks. This removes the separate list from
bzrlib.tests and ensures that all hooks registered there are
correctly isolated by the test suite (previously
MutableTreeHooks were not being isolated correctly). Further,
documentation for hooks is now dynamically generated from the
present HookPoints. bzrhooks will now also report on all the
hooks present in the bzrlib.hooks.known_hooks registry.
(Robert Collins)

bzrbranch now has a --no-tree option which turns off the
generation of a working tree in the new branch.
(Daniel Watkins, John Klinger, #273993)

Bazaar will now point out bzr+ssh:// to the user when they
use ssh://. (Jelmer Vernooij, #330535)

bzr-vinfo now omits the number of committers branch statistic,
making it many times faster for large projects. To include that
statistic in the output, use bzr-vvinfo.
(Ian Clatworthy)

bzrpush to a bzr url (bzr://, bzr+ssh:// etc) will
stream if the server is version 1.13 or greater, reducing roundtrips
significantly. (Andrew Bennetts, Robert Collins)

Lightweight Checkouts and Stacked Branches should both be much
faster over remote connections. Building the working tree now
batches up requests into approx 5MB requests, rather than a separate
request for each file. (John Arbash Meinel)

Support for GSSAPI authentication when using HTTP or HTTPS.
(Jelmer Vernooij)

The bzrshelve prompt now includes a ‘?’ help option to explain the
short options better. (Daniel Watkins, #327429)

bzrlp-open now falls back to the push location if it cannot find a
public location. (Jonathan Lange, #332372)

bzrlp-open will try to find the Launchpad URL for the location
passed on the command line. This makes bzrlp-openlp:foo work as
expected. (Jonathan Lange, #332705)

Many Branch hooks would not fire with bzr:// and bzr+ssh://
branches, and this was not noticed due to a bug in the test logic
for branches. This is now fixed and a test added to prevent it
reoccuring. (Robert Collins, Andrew Bennetts)

Restore the progress bar on Windows. We were disabling it when TERM
wasn’t set, but Windows doesn’t set TERM. (Alexander Belchenko,
#334808)

setup.pybuild_ext now gives a proper error when an extension
fails to build. (John Arbash Meinel)

Added Organizingyourworkspace to the User Guide appendices,
summarizing some common ways of organizing trees, branches and
repositories and the processes/workflows implied/enabled by each.
(Ian Clatworthy)

Hooks can now be self documenting. bzrlib.hooks.Hooks.create_hook
is the entry point for this feature. (Robert Collins)

The documentation for shelve and unshelve has been clarified.
(Daniel Watkins, #327421, #327425)

bzrselftest now fails if the bazaar sources contain trailing
whitespace, non-unix style line endings and files not ending in a
newline. About 372 files and 3243 lines with trailing whitespace was
updated to comply with this. The code already complied with the other
criteria, but now it is enforced. (Marius Kruger)

Branch.fetch and Repository.fetch now return None rather
than a count of copied revisions and failed revisions. A while back
we stopped ever reporting failed revisions because we started
erroring instead, and the copied revisions count is not used in the
UI at all - indeed it only reflects the repository status not
changes to the branch itself. (Robert Collins)

Inventory.apply_delta now raises an AssertionError if a file-id
appears multiple times within the delta. (Ian Clatworthy)

MutableTree.commit now favours the “authors” argument, with the old
“author” argument being deprecated.

Remove deprecated EmptyTree. (Martin Pool)

Repository.fetch now accepts an optional fetch_spec
parameter. A SearchResult or MiniSearchResult may be passed
to fetch_spec instead of a last_revision to specify exactly
which revisions to fetch. (Andrew Bennetts)

RepositoryAcquisitionPolicy.acquire_repository now returns a
tuple of (repository,is_new_flag), rather than just the
repository. (Andrew Bennetts)

Revision.get_apparent_author() is now deprecated, replaced by
Revision.get_apparent_authors(), which returns a list. The former
now returns the first item that would be returned from the second.

The BranchBuilder test helper now accepts a timestamp
parameter to build_commit and build_snapshot. (Martin Pool)

The _fetch_* attributes on Repository are now on
RepositoryFormat, more accurately reflecting their intent (they
describe a disk format capability, not state of a particular
repository of that format). (Robert Collins)

Branching from a non-stacked branch on a smart protocol is now
free of virtual file system methods.
(Robert Collins, Andrew Bennetts)

Branch and Repository creation on a bzr+ssh://server are now done
via RPC calls rather than VFS calls, reducing round trips for
pushing new branches substantially. (Robert Collins)

Branch.clone now takes the repository_policy formerly used
inside BzrDir.clone_on_transport, allowing stacking to be
configured before the branch tags and revision tip are set. This
fixes a race condition cloning stacked branches that would cause
plugins to have hooks called on non-stacked instances.
(Robert Collins, #334187)

BzrDir.cloning_metadir now has a RPC call. (Robert Collins)

BzrDirFormat.__str__ now uses the human readable description
rather than the sometimes-absent disk label. (Robert Collins)

bzrlib.fetch is now composed of a sender and a sink component
allowing for decoupling over a network connection. Fetching from
or into a RemoteRepository with a 1.13 server will use this to
stream the operation.
(Andrew Bennetts, Robert Collins)

bzrlib.tests.run_suite accepts a runner_class parameter
supporting the use of different runners. (Robert Collins)

Change how file_ids and revision_ids are interned as part of
inventory deserialization. Now we use the real intern(), rather
than our own workaround that would also cache a Unicode copy of the
string, and never emptied the cache. This should slightly reduce
memory consumption. (John Arbash Meinel)

New hook Commands[‘extend_command’] to allow plugins to access a
command object before the command is run (or help generated from
it), without overriding the command. (Robert Collins)

New version of the BzrDir.find_repository verb supporting
_network_name to support removing more _ensure_real calls.
(Robert Collins)

RemoteBranchFormat no longer claims to have a disk format string.
(Robert Collins)

Repository objects now have suspend_write_group and
resume_write_group methods. These are currently only useful
with pack repositories. (Andrew Bennetts, Robert Collins)

BzrDirFormat, BranchFormat and RepositoryFormat objects
now have a network_name for passing the format across RPC calls.
(Robert Collins, Andrew Bennetts)

RepositoryFormat objects now all have a new attribute
_serializer used by fetch when reserialising is required.
(Robert Collins, Andrew Bennetts)

Some methods have been pulled up from BzrBranch to Branch
to aid branch types that are not bzr branch objects (like
RemoteBranch). (Robert Collins, Andrew Bennetts)

Test adaptation has been made consistent throughout the built in
tests. TestScenarioApplier, multiply_tests_from_modules,
adapt_tests, adapt_modules have all been deleted. Please
use multiply_tests, or for lower level needs apply_scenarios
and apply_scenario. (Robert Collins)

TestSkipped is now detected by TestCase and passed to the
TestResult by calling addSkip. For older TestResult objects,
where addSkip is not available, addError is still called.
This permits test filtering in subunit to strip out skipped tests
resulting in a faster fix-shrink-list-run cycle. This is compatible
with the testtools protocol for skips. (Robert Collins)

The _index of KnitVersionedFiles now supports the ability
to scan an underlying index that is going to be incorporated into
the KnitVersionedFiles object, to determine if it has missing
delta references. The method is scan_unvalidated_index.
(Andrew Bennetts, Robert Collins)

There is a RemoteSink object which handles pushing to smart servers.
(Andrew Bennetts, Robert Collins)

VersionedFiles record adapters have had their signature change
from (record,record.get_bytes_as(record.storage_kind)) to
(record) reducing excess duplication and allowing adapters
to access private data in record to obtain content more
efficiently. (Robert Collins)

We no longer probe to see if we should create a working tree during
clone if we cannot get a local_abspath for the new bzrdir.
(Robert Collins)