28
28
parent directories.
29
29
(Jared Hance, Jelmer Vernooij, #253529)
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)
37
41
* New HPSS call for ``Repository.reconcile``. (Jelmer Vernooij, #894455)
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)
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)
53
* ``bzr branches`` now indicates the active colocated branch.
54
(Jelmer Vernooij, #891667)
56
* ``bzr push`` now suggests using :parent if there is a parent location
57
set. (Jelmer Vernooij)
44
59
* ``bzr send`` now only opens a single connection, rather than two,
45
60
to the target branch. (Jelmer Vernooij)
53
68
* Allow configuration option default value to be a python callable at
54
69
registration. (Vincent Ladeuil, #832064)
71
* ``bzr config`` will now display the section ``[DEFAULT]`` used in
72
``bazaar.conf``. (Vincent Ladeuil, #907268)
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)
56
78
* Create obsolete_packs directory when repacking if it does not
57
79
exist. (Jonathan Riddell, Jelmer Vernooij, #314314)
60
82
of revisions whose ancestry is not obviously on the same developement
61
83
line. (Vincent Ladeuil, #904744)
85
* Make lazy imports resilient when resolved concurrently from multiple
86
threads. Now the stand-in object will behave as a proxy for the real object
87
after the initial access, rather than throwing. Assigning the object to
88
multiple names should still be avoided. (Martin von Gagern, #396819)
63
90
* Not setting ``gpg_signing_key`` or setting it to ``default`` will use the
64
91
user email (obtained from the ``email`` configuration option or its
65
92
default value). (Vincent Ladeuil, Jelmer Vernooij, #904550)
94
* Prevent spurious InconsistentDelta error when committing a move of a
95
non-ascii directory with contents. (Rory Yorke, #185211)
67
97
* Properly ignore '\n' in an option reference since this cannot be part of a
68
98
config option identifier. (Vincent Ladeuil, #902125)
100
* Make sure that the bzr probers are always registered when
101
bzrlib.workingtree is imported. (Jelmer Vernooij, #905218)
70
103
* Report mistake trying to move a removed file with a non-ascii name without
71
104
UnicodeEncodeError being raised. (Martin Packman, #898541)
106
* Safely unquote configuration values in weird edge cases (a section seen as
107
a dictionary which is not a supported use case for the configuration
108
stacks). (Vincent Ladeuil, #908050)
110
* Stop altering ``sys.platform`` on OSX when initialising the locale.
111
(Martin Packman, #570495)
73
113
* Uncommit no longer removes tags if they are part of the working
74
114
trees pending merges. (Jelmer Vernooij, #905462)
92
132
* ``Repository.get_commit_builder`` now takes a ``config_stack``
93
133
rather than a ``config`` argument. (Jelmer Vernooij)
135
* Scripts using bzrlib should now ensure setlocale is called on posix
136
platforms if they need a non-ascii user encoding. (Martin Packman)
95
138
* Send formats now accept a new optional argument ``submit_branch``,
96
139
which can be None or a Branch object for the submit branch location.
142
* ``VersionedFileRepository.add_revision`` no longer takes a ``config``
143
argument. (Jelmer Vernooij)
102
148
.. Major internal changes, unlikely to be visible to users or plugin
103
149
developers, but interesting for bzr developers.
151
* ``bzrlib.urlutils`` now includes ``quote`` and ``unquote`` functions,
152
rather than importing them from ``urllib``. This prevents loading
153
of the ``socket``, ``ssl`` and ``urllib`` modules for
154
local bzr operations. (Jelmer Vernooij)
156
* Configuration options can be SI units by using ``int_SI_from_unicode`` as
157
their ``convert_from_unicode`` helper. (Vincent Ladeuil)
159
* Configuration stores can now save incremental changes by using
160
``save_changes()`` instead of ``save()``. This reduces the number or
161
required input/outputs and allows stores to be shared between
162
stacks. (Vincent Ladeuil)
105
164
* ControlDir now has a get_branches method that returns a dictionary
106
165
whose keys are the names of the branches and whose values are the
107
166
branches themselves. The active branch uses the key None.
108
167
(Neil Martinsen-Burrell)
169
* Helper ``osutils.path_from_environ`` added for extracting a unicode path
170
from an environment variable. (Martin Packman, #832028)
110
172
* Helper ``win32utils.get_environ_unicode`` added for avoiding encoding
111
173
problems with ``os.environ.get`` use. (Martin Packman, #262874)
113
* Helper ``osutils.path_from_environ`` added for extracting a unicode path
114
from an environment variable. (Martin Packman, #832028)
175
* Lazy imports can now only be absolute. (Jelmer Vernooij)
177
* Merge3Mergers now have an optional ``other_branch`` argument
178
which contains the branch from which the ``other_tree``
179
was obtained, if any. (Jelmer Vernooij)
116
181
* New HPSS call ``BzrDir.checkout_metadir``. (Jelmer Vernooij, #894459)
119
184
speeding up various commands including ``bzr export``,
120
185
``bzr checkout`` and ``bzr cat``. (Jelmer Vernooij, #608640)
187
* The ``ConfigCommandLineStore`` is now supported by ``bzr config`` and is
188
seen as single no-name section of configuration options. (Vincent Ladeuil)
129
197
* New matcher ``ContainsNoVfsCalls`` which filters a list of HPSS
130
198
calls for VFS requests. (Jelmer Vernooij)
200
* New ``MemoryStack`` class allows for diskless tests and locally injected
201
configuration stacks. Lower level tests for predefined set of options can
202
be written without setting up configuration files. (Vincent Ladeuil)
330
402
* The registry of merge types has been moved to ``merge`` from ``option`` but
331
403
``merge.get_merge_type_registry`` remains as an accessor. (Martin Packman)
405
* All bzr control directories, branch formats, repository formats and
406
working tree formats now support feature flags, which are
407
serialized in their respective format files. See
408
``doc/developers/feature-flags.txt`` for details.