~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

Config files in bazaar home now use a lock

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
New Features
60
60
************
61
61
 
 
62
* ``bzr break-lock --config [location]`` can now break config files
 
63
  locks. (Vincent Ladeuil, #525571)
 
64
 
 
65
* ``bzrlib.config.LockableConfig`` is a base class for config files that
 
66
  needs to be protected against multiple writers. All methods that
 
67
  change a configuration variable value must be decorated with
 
68
  @needs_write_lock (set_option() for example).
 
69
  (Vincent Ladeuil,  #525571)
 
70
 
62
71
* The ``lp:`` prefix will now use your known username (from
63
72
  ``bzr launchpad-login``) to expand ``~`` to your username.  For example:
64
73
  ``bzr launchpad-login user && bzr push lp:~/project/branch`` will now
87
96
* CommitBuilder now uses the committer instead of _config.username to generate
88
97
  the revision-id.  (Aaron Bentley, #614404)
89
98
 
 
99
* Configuration files in ``${BZR_HOME}`` are now protected against
 
100
  concurrent writers by using a lock. (Vincent Ladeuil, #525571)
 
101
 
90
102
* Cope with Microsoft FTP Server and VSFTPd that return reply '250
91
103
  Directory created' when mkdir succeeds.  (Martin Pool, #224373)
92
104
 
167
179
API Changes
168
180
***********
169
181
 
 
182
* Configuration files should now use the ``from_string`` constructor rather
 
183
  than the ``file`` parameter of the ``_get_parser`` method. The later has
 
184
  been deprecated. ``from_string`` also accept a ``save=True`` parameter to
 
185
  have the configuration file immediately written to disk. 
 
186
  (Vincent Ladeuil)
 
187
 
 
188
* ``IniBaseConfig`` objects should now use the ``from_string`` constructor
 
189
  the rather than the ``file`` parameter of the ``_get_parser`` method. The
 
190
  later has been deprecated. (Vincent Ladeuil)
 
191
 
170
192
* InventoryEntry instances now raise AttributeError if you try to assign
171
193
  to attributes that are irrelevant to that kind of entry.  e.g. setting
172
194
  ``symlink_target`` on an InventoryFile will fail.  It is still okay to
179
201
* InventoryEntry objects no longer have ``_put_in_tar`` or
180
202
  ``_put_on_disk`` methods.  (Andrew Bennetts)
181
203
 
 
204
* The ``get_filename`` parameter in the ``config.IniBaseConfig``
 
205
  constructor has been deprecated, use the ``file_name`` parameter instead.
 
206
  (Vincent Ladeuil)
 
207
 
182
208
Internals
183
209
*********
184
210