~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: John Arbash Meinel
  • Date: 2010-08-24 19:21:32 UTC
  • mto: This revision was merged to the branch mainline in revision 5390.
  • Revision ID: john@arbash-meinel.com-20100824192132-2ktt5adkbk5bk1ct
Handle test_source and extensions. Also define an 'extern' protocol, to allow
the test suite to recognize that returning an object of that type is a Python object.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
  is now named "msg" instead of earlier "message".
21
21
  (Parth Malwankar, #603461)
22
22
 
23
 
* `decode` parameter to get() method in FtpTransport and GioTransport classes
24
 
  is deprecated. (Alexander Belchenko)
25
 
 
26
23
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
27
24
  longer raised.
28
25
  (Martin Pool)
31
28
  `WorkingTree.open_containing_paths`.
32
29
  (Martin Pool)
33
30
 
34
 
* `ControlDirFormat` and  `ControlDir` have been split out of `BzrDirFormat`
35
 
  and `BzrDir`, respectively. `ControlDirFormat`
36
 
  and `ControlDir` should be used as the base classes for new non-.bzr
37
 
  implementations.
38
 
 
39
 
  `BzrDirFormat.register_control_format` has been renamed to
40
 
  `ControlDirFormat.register_format`.
41
 
 
42
 
  `BzrDirFormat.register_server_control_format` has been removed.
43
 
 
44
 
  Probing for control directories is now done by separate objects derived
45
 
  from `bzrlib.controldir.Prober` and registered using
46
 
  `bzrlib.controldir.ControlDirFormat.register_prober` or
47
 
  `bzrlib.controldir.ControlDirFormat.register_server_prober`.
48
 
  `BzrDirFormat.probe_transport` has been moved onto `Prober`.
49
 
 
50
 
  `BzrDirFormat.register_format` has been renamed to 
51
 
  `BzrProber.register_bzrdir_format`.
52
 
  (Jelmer Vernooij)
53
 
 
54
31
* The old ``bzr selftest --benchmark`` option has been removed.
55
32
  <https://launchpad.net/bzr-usertest> is an actively-maintained
56
33
  macrobenchmark suite.
59
36
New Features
60
37
************
61
38
 
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
 
 
71
39
* The ``lp:`` prefix will now use your known username (from
72
40
  ``bzr launchpad-login``) to expand ``~`` to your username.  For example:
73
41
  ``bzr launchpad-login user && bzr push lp:~/project/branch`` will now
96
64
* CommitBuilder now uses the committer instead of _config.username to generate
97
65
  the revision-id.  (Aaron Bentley, #614404)
98
66
 
99
 
* Configuration files in ``${BZR_HOME}`` are now protected against
100
 
  concurrent writers by using a lock. (Vincent Ladeuil, #525571)
101
 
 
102
67
* Cope with Microsoft FTP Server and VSFTPd that return reply '250
103
68
  Directory created' when mkdir succeeds.  (Martin Pool, #224373)
104
69
 
111
76
* Don't print internal object name when print an invalid revision spec
112
77
  error.  (Neil Martinsen-Burrell, #598701)
113
78
 
114
 
* ``EPIPE`` can be raised during test server shutdown. This happened on
115
 
  gentoo only so far. (Vincent Ladeuil, #627277)
116
 
 
117
 
* Errors occurring during http(s) test server starts should now be
118
 
  handled cleanly. (Vincent Ladeuil, #392402)
119
 
 
120
79
* Fix ``AttributeError on parent.children`` when adding a file under a 
121
80
  directory that was a symlink in the previous commit.
122
81
  (Martin Pool, #192859)
123
82
 
124
 
* Fix spurious paramiko warning on hardy by ensuring that ``selftest``
125
 
  properly remove its warning filter. (Vincent Ladeuil, #625686)
126
 
 
127
83
* ``HTTP/1.1`` test servers now set a ``Content-Length`` header to comply
128
84
  with pedantic ``HTTP/1.1`` clients. (Vincent Ladeuil, #568421)
129
85
 
130
 
* Most of the leaked threads during selftest are now fixed, allowing the
131
 
  full test suite to pass on gentoo.
132
 
  (Vincent Ladeuil, #392127)
133
 
 
134
86
* `PathNotChild` should not give a traceback.
135
87
  (Martin Pool, #98735)
136
88
 
137
 
* ``PQM`` will no longer ignore syntax errors in submissions.
138
 
  (Vincent Ladeuil, #626667)
139
 
 
140
89
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
141
90
  which can result in "missing referenced chk root keys" errors when
142
91
  fetching from repositories with affected revisions.
155
104
  will be backed up (adding an extention of the form .~#~).
156
105
  (Marius Kruger, #400554)
157
106
 
158
 
* ``bzr revert`` and ``bzr status`` are up to 15% faster on large trees
159
 
  with many changes by not repeatedly building a list of all file-ids.
160
 
  (Andrew Bennetts)
161
 
 
162
107
* Decrease memory consumption when many chk index pages are loaded. (Such
163
108
  as during ``bzr co`` or ``bzr ls -R`` of a large tree.) Often we need to
164
109
  read many chk pages because the individual chk map nodes will be spread
166
111
  down to 247MB, expect even more significant savings on 64-bit platforms.
167
112
  (John Arbash Meinel)
168
113
 
169
 
* ``DirState`` internals use a little bit less memory. For bzr.dev it
170
 
  drops the memory from 1MB down to about 800kB. And replaces a few
171
 
  thousand tuples and sets with StaticTuple.  (John Arbash Meinel)
172
 
 
173
114
* Inventory entries now consume less memory (on 32-bit Ubuntu file entries
174
115
  have dropped from 68 bytes to 40, and directory entries from 120 bytes
175
116
  to 48).  (Andrew Bennetts)
199
140
API Changes
200
141
***********
201
142
 
202
 
* Configuration files should now use the ``from_string`` constructor rather
203
 
  than the ``file`` parameter of the ``_get_parser`` method. The later has
204
 
  been deprecated. ``from_string`` also accept a ``save=True`` parameter to
205
 
  have the configuration file immediately written to disk. 
206
 
  (Vincent Ladeuil)
207
 
 
208
 
* ``IniBaseConfig`` objects should now use the ``from_string`` constructor
209
 
  the rather than the ``file`` parameter of the ``_get_parser`` method. The
210
 
  later has been deprecated. (Vincent Ladeuil)
211
 
 
212
143
* InventoryEntry instances now raise AttributeError if you try to assign
213
144
  to attributes that are irrelevant to that kind of entry.  e.g. setting
214
145
  ``symlink_target`` on an InventoryFile will fail.  It is still okay to
221
152
* InventoryEntry objects no longer have ``_put_in_tar`` or
222
153
  ``_put_on_disk`` methods.  (Andrew Bennetts)
223
154
 
224
 
* The ``get_filename`` parameter in the ``config.IniBaseConfig``
225
 
  constructor has been deprecated, use the ``file_name`` parameter instead.
226
 
  (Vincent Ladeuil)
227
 
 
228
155
Internals
229
156
*********
230
157
 
234
161
Testing
235
162
*******
236
163
 
237
 
* HTTP test servers will leak less threads (and sockets) and will not hang on
238
 
  AIX anymore. (Vincent Ladeuil, #405745)
239
 
 
240
164
* The way ``bzr selftest --parallel`` generates N partitions of tests to
241
165
  run in parallel has changed.  Instead of splitting the list of tests at
242
166
  N-1 points, it distributes the tests one-by-one into the partitions in a