~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/whats-new/whats-new-in-2.5.txt

  • Committer: Jelmer Vernooij
  • Date: 2012-02-20 12:19:29 UTC
  • mfrom: (6437.23.11 2.5)
  • mto: (6581.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 6582.
  • Revision ID: jelmer@samba.org-20120220121929-7ni2psvjoatm1yp4
Merge bzr/2.5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
2.1, 2.2, 2.3 and 2.4, and can read and write repositories generated by all
17
17
previous versions.
18
18
 
 
19
Overriding configuration options from the command line
 
20
******************************************************
 
21
 
 
22
The ``-O`` parameter available for all bzr commands allows a user to
 
23
override a configuration option from the command line. For example::
 
24
 
 
25
  bzr pull -v -Olog_format=line
 
26
 
 
27
will change the way the pulled revisions are displayed (the default log
 
28
format is ``long``). This a work in progress and only some options are
 
29
supported so far.
 
30
 
 
31
Working on a posix system without a locale
 
32
******************************************
 
33
 
 
34
Previously bzr needed a valid locale set to work with branches containing
 
35
non-ascii filenames. It will now use utf-8 rather than ascii as a fallback
 
36
encoding for interacting with the filesystem. This makes creating a working
 
37
tree and commiting to it possible for such branches in most environments.
 
38
 
 
39
SSL Certificate Verification Support in urllib HTTPS backend
 
40
************************************************************
 
41
 
 
42
In previous versions of Bazaar, only one of the two supported HTTPS
 
43
backends, pycurl, supported verification of SSL certificates. This version
 
44
also introduces this support for the urllib backend.
 
45
 
 
46
Along with this support two new options have been introduced to control
 
47
which CA's are trusted and to what degree server certificates should be
 
48
verified. See ``bzr help ssl.ca_certs`` and ``bzr help ssl.cert_reqs``
 
49
for more information
 
50
 
 
51
Users who have previously used the urllib HTTPS backend with servers
 
52
with invalid or untrusted certificates can continue to do so by
 
53
adding the required certificates to the trusted CA certificate file
 
54
(recommended) or by setting the ``ssl.cert_reqs`` option to ``none``.
 
55
 
 
56
Faster smart server
 
57
*******************
 
58
 
 
59
A large number of new methods have been added to the smart server, making
 
60
raw file access through the VFS unnecessary in almost all situations, with
 
61
the major exception of operations involving stacked branches.
 
62
 
 
63
Commands that have become significantly faster when using a remote branch
 
64
over ``bzr://``, ``bzr+ssh://`` or ``bzr+http://`` include:
 
65
 
 
66
 * ``bzr checkout --lightweight``
 
67
 * ``bzr export``
 
68
 * ``bzr cat``
 
69
 * ``bzr ls``
 
70
 * ``bzr send``
 
71
 
 
72
Several commands which used to make multiple connections to the server now
 
73
make only a single one. Connection setup has a fairly high overhead,
 
74
especially to Launchpad, so this can save several seconds for some
 
75
commands.
 
76
 
 
77
To benefit from the improved smart server, both the server and the
 
78
client need to be running bzr 2.5.
 
79
 
 
80
Basic colocated branch support
 
81
******************************
 
82
 
 
83
The UI now has basic support for colocated branches. In full URLs,
 
84
a specific colocated branch can be specified using URL path segment
 
85
parameters. For example a branch named ``stronk`` could be addressed using
 
86
``http://example.com/path/to/dir,branch=stronk``.
 
87
 
 
88
The new ``bzr branches`` command can be used to list all present branches
 
89
in a directory, and indicates what the currently active branch is.
 
90
 
 
91
Several commands also accept co-located branch names directly, such as
 
92
``bzr switch``.
 
93
 
 
94
Feature flags
 
95
*************
 
96
 
 
97
All Bazaar formats now allow setting ``feature flags``. These can be used
 
98
by plugins to extend Bazaar formats and require the presence of particular
 
99
plugins or versions of Bazaar to open them, without having to introduce
 
100
completely new formats.
 
101
 
 
102
See ``doc/developers/feature-flags.txt`` for details.
 
103
 
 
104
Branch history access
 
105
*********************
 
106
 
 
107
Several commands or options that previously required access to the full
 
108
branch history now only access those parts of the history they actually
 
109
need. This significantly improves their performance for branches
 
110
with large histories.
 
111
 
 
112
GPG signatures
 
113
**************
 
114
 
 
115
A new command ``bzr verify-signatures`` can be used to verify GPG
 
116
signatures made with ``bzr commit`` or the ``bzr sign-my-commits``
 
117
command.
 
118
 
 
119
Translations
 
120
************
 
121
 
 
122
Most error messages, help topics and other user-visible text can now be
 
123
translated. Initial translations for Russian, Japanese and Spanish exist.
 
124
 
 
125
PO merge plugin
 
126
***************
 
127
 
 
128
The ``po_merge`` plugin has been added.  It provides a merge hook
 
129
to automate merging of changes to gettext template files. Refer to
 
130
``bzr help po_merge`` for documentation on how to
 
131
enable it and what it can do.
 
132
 
19
133
Further information
20
134
*******************
21
135