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)
64
86
user email (obtained from the ``email`` configuration option or its
65
87
default value). (Vincent Ladeuil, Jelmer Vernooij, #904550)
89
* Prevent spurious InconsistentDelta error when committing a move of a
90
non-ascii directory with contents. (Rory Yorke, #185211)
67
92
* Properly ignore '\n' in an option reference since this cannot be part of a
68
93
config option identifier. (Vincent Ladeuil, #902125)
95
* Make sure that the bzr probers are always registered when
96
bzrlib.workingtree is imported. (Jelmer Vernooij, #905218)
70
98
* Report mistake trying to move a removed file with a non-ascii name without
71
99
UnicodeEncodeError being raised. (Martin Packman, #898541)
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)
93
125
which can be None or a Branch object for the submit branch location.
128
* ``VersionedFileRepository.add_revision`` no longer takes a ``config``
129
argument. (Jelmer Vernooij)
99
134
.. Major internal changes, unlikely to be visible to users or plugin
100
135
developers, but interesting for bzr developers.
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)
142
* Configuration options can be SI units by using ``int_SI_from_unicode`` as
143
their ``convert_from_unicode`` helper. (Vincent Ladeuil)
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)
150
* Helper ``osutils.path_from_environ`` added for extracting a unicode path
151
from an environment variable. (Martin Packman, #832028)
107
153
* Helper ``win32utils.get_environ_unicode`` added for avoiding encoding
108
154
problems with ``os.environ.get`` use. (Martin Packman, #262874)
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)
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)
113
162
* New HPSS call ``BzrDir.checkout_metadir``. (Jelmer Vernooij, #894459)
116
165
speeding up various commands including ``bzr export``,
117
166
``bzr checkout`` and ``bzr cat``. (Jelmer Vernooij, #608640)
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)
131
178
* New matcher ``ContainsNoVfsCalls`` which filters a list of HPSS
132
179
calls for VFS requests. (Jelmer Vernooij)
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)
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)
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.