~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/release-notes/bzr-2.5.txt

  • Committer: Martin Packman
  • Date: 2012-01-05 10:44:12 UTC
  • mfrom: (6424 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6427.
  • Revision ID: martin.packman@canonical.com-20120105104412-z03fi9m43h946fvs
Merge bzr.dev to resolve conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
  parent directories.
29
29
  (Jared Hance, Jelmer Vernooij, #253529)
30
30
 
 
31
* ``config.Option`` can now declare ``override_from_env``, a list of
 
32
  environment variables which, when set, that takes precedence over values
 
33
  defined in configuration files. (Vincent Ladeuil, #907279)
 
34
 
31
35
Improvements
32
36
************
33
37
 
36
40
 
37
41
* New HPSS call for ``Repository.reconcile``. (Jelmer Vernooij, #894455)
38
42
 
 
43
* Merge now has two new hooks ``pre_merge`` and ``post_merge``
 
44
  that are called before and after a merge and can make
 
45
  additional modifications to the trees involved.
 
46
  (Jelmer Vernooij, #906877)
 
47
 
39
48
* Override the value returned by ``sys.getfilesystemencoding()`` for the bzr
40
49
  script to utf-8 when it would otherwise be ascii on a posix system. This
41
50
  will mean bzr works with non-ascii files when no locale or an incorrect
42
51
  locale is set. (Martin Packman, #794353)
43
52
 
 
53
* ``bzr branches`` now indicates the active colocated branch.
 
54
  (Jelmer Vernooij, #891667)
 
55
 
 
56
* ``bzr push`` now suggests using :parent if there is a parent location
 
57
  set. (Jelmer Vernooij)
 
58
 
44
59
* ``bzr send`` now only opens a single connection, rather than two,
45
60
  to the target branch.  (Jelmer Vernooij)
46
61
 
53
68
* Allow configuration option default value to be a python callable at
54
69
  registration. (Vincent Ladeuil, #832064)
55
70
 
 
71
* ``bzr config`` will now display the section ``[DEFAULT]`` used in
 
72
  ``bazaar.conf``. (Vincent Ladeuil, #907268)
 
73
 
 
74
* Configuration stores can now provides a specific quoting mechanism. This
 
75
  is required to workaround ``configobj`` conflating quoting and list values
 
76
  automatic conversion. (Vincent Ladeuil, #906897)
 
77
 
56
78
* Create obsolete_packs directory when repacking if it does not
57
79
  exist. (Jonathan Riddell, Jelmer Vernooij, #314314)
58
80
 
64
86
  user email (obtained from the ``email`` configuration option or its
65
87
  default value). (Vincent Ladeuil, Jelmer Vernooij, #904550)
66
88
 
 
89
* Prevent spurious InconsistentDelta error when committing a move of a
 
90
  non-ascii directory with contents. (Rory Yorke, #185211)
 
91
 
67
92
* Properly ignore '\n' in an option reference since this cannot be part of a
68
93
  config option identifier. (Vincent Ladeuil, #902125)
69
94
 
 
95
* Make sure that the bzr probers are always registered when
 
96
  bzrlib.workingtree is imported. (Jelmer Vernooij, #905218)
 
97
 
70
98
* Report mistake trying to move a removed file with a non-ascii name without
71
99
  UnicodeEncodeError being raised. (Martin Packman, #898541)
72
100
 
 
101
* Safely unquote configuration values in weird edge cases (a section seen as
 
102
  a dictionary which is not a supported use case for the configuration
 
103
  stacks). (Vincent Ladeuil, #908050)
 
104
 
73
105
Documentation
74
106
*************
75
107
 
93
125
  which can be None or a Branch object for the submit branch location.
94
126
  (Jelmer Vernooij)
95
127
 
 
128
* ``VersionedFileRepository.add_revision`` no longer takes a ``config``
 
129
  argument. (Jelmer Vernooij)
 
130
 
96
131
Internals
97
132
*********
98
133
 
99
134
.. Major internal changes, unlikely to be visible to users or plugin 
100
135
   developers, but interesting for bzr developers.
101
136
 
 
137
* ``bzrlib.urlutils`` now includes ``quote`` and ``unquote`` functions,
 
138
  rather than importing them from ``urllib``. This prevents loading
 
139
  of the ``socket``, ``ssl`` and ``urllib`` modules for
 
140
  local bzr operations. (Jelmer Vernooij)
 
141
 
 
142
* Configuration options can be SI units by using ``int_SI_from_unicode`` as
 
143
  their ``convert_from_unicode`` helper. (Vincent Ladeuil)
 
144
 
102
145
* ControlDir now has a get_branches method that returns a dictionary
103
146
  whose keys are the names of the branches and whose values are the
104
147
  branches themselves. The active branch uses the key None.
105
148
  (Neil Martinsen-Burrell)
106
149
 
 
150
* Helper ``osutils.path_from_environ`` added for extracting a unicode path
 
151
  from an environment variable. (Martin Packman, #832028)
 
152
 
107
153
* Helper ``win32utils.get_environ_unicode`` added for avoiding encoding
108
154
  problems with ``os.environ.get`` use. (Martin Packman, #262874) 
109
155
 
110
 
* Helper ``osutils.path_from_environ`` added for extracting a unicode path
111
 
  from an environment variable. (Martin Packman, #832028)
 
156
* Lazy imports can now only be absolute. (Jelmer Vernooij)
 
157
 
 
158
* Merge3Mergers now have an optional ``other_branch`` argument
 
159
  which contains the branch from which the ``other_tree``
 
160
  was obtained, if any. (Jelmer Vernooij)
112
161
 
113
162
* New HPSS call ``BzrDir.checkout_metadir``. (Jelmer Vernooij, #894459)
114
163
 
116
165
  speeding up various commands including ``bzr export``,
117
166
  ``bzr checkout`` and ``bzr cat``. (Jelmer Vernooij, #608640)
118
167
 
119
 
* ``bzrlib.urlutils`` now includes ``quote`` and ``unquote`` functions,
120
 
  rather than importing them from ``urllib``. This prevents loading
121
 
  of the ``socket``, ``ssl`` and ``urllib`` modules for
122
 
  local bzr operations. (Jelmer Vernooij)
 
168
* The ``ConfigCommandLineStore`` is now supported by ``bzr config`` and is
 
169
  seen as single no-name section of configuration options. (Vincent Ladeuil)
123
170
 
124
171
Testing
125
172
*******
131
178
* New matcher ``ContainsNoVfsCalls`` which filters a list of HPSS
132
179
  calls for VFS requests. (Jelmer Vernooij)
133
180
 
 
181
* New ``MemoryStack`` class allows for diskless tests and locally injected
 
182
  configuration stacks.  Lower level tests for predefined set of options can
 
183
  be written without setting up configuration files. (Vincent Ladeuil)
 
184
 
134
185
 
135
186
bzr 2.5b4
136
187
#########
332
383
* The registry of merge types has been moved to ``merge`` from ``option`` but
333
384
  ``merge.get_merge_type_registry`` remains as an accessor. (Martin Packman)
334
385
 
 
386
* All bzr control directories, branch formats, repository formats and
 
387
  working tree formats now support feature flags, which are
 
388
  serialized in their respective format files. See
 
389
  ``doc/developers/feature-flags.txt`` for details.
 
390
  (Jelmer Vernooij)
 
391
 
335
392
Testing
336
393
*******
337
394