~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: Martin Pool
  • Date: 2005-04-28 07:24:55 UTC
  • Revision ID: mbp@sourcefrog.net-20050428072453-7b99afa993a1e549
todo

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
*************************
2
 
What's New in Bazaar 2.5?
3
 
*************************
4
 
 
5
 
Bazaar 2.5 is still under development, and will be released in February 2012.
6
 
This document accumulates a high level summary of what's changed.  See the
7
 
:doc:`../release-notes/index` for a full list.
8
 
 
9
 
Users are encouraged to upgrade from the other stable series.  This
10
 
document outlines the improvements in Bazaar 2.5 vs Bazaar 2.4. As well as
11
 
summarizing improvements made to the core product, it highlights
12
 
enhancements within the broader Bazaar world of potential interest to
13
 
those upgrading.
14
 
 
15
 
Bazaar 2.5.0 is fully compatible both locally and on the network with 2.0,
16
 
2.1, 2.2, 2.3 and 2.4, and can read and write repositories generated by all
17
 
previous versions.
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
 
 
133
 
Further information
134
 
*******************
135
 
 
136
 
For more detailed information on the changes made, see the the
137
 
:doc:`../release-notes/index` for:
138
 
 
139
 
* the interim bzr `milestones <https://launchpad.net/bzr/2.5>`_
140
 
* the plugins you use.
141
 
 
142
 
For a summary of changes made in earlier releases, see:
143
 
 
144
 
* :doc:`whats-new-in-2.1`
145
 
* :doc:`whats-new-in-2.2`
146
 
* :doc:`whats-new-in-2.3`
147
 
* :doc:`whats-new-in-2.4`
148
 
 
149
 
..
150
 
   vim: tw=74 ft=rst ff=unix