/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Parth Malwankar
  • Date: 2010-05-13 06:54:21 UTC
  • mfrom: (5225 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5241.
  • Revision ID: parth.malwankar@gmail.com-20100513065421-bde255i4ga5o3oqe
merged in changes from trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
Compatibility Breaks
14
14
********************
15
15
 
 
16
* An API break has been made to the lock_write method of ``Branch`` and
 
17
  ``Repository`` objects; they now return ``branch.BranchWriteLockResult``
 
18
  and ``repository.RepositoryWriteLockResult`` objects. This makes
 
19
  changing the API in future easier and permits some cleaner calling code.
 
20
  The lock_read method has also changed from having no defined return
 
21
  value to returning ``LogicalLockResult`` objects.
 
22
  (Robert Collins)
 
23
 
16
24
* ``bzr`` does not try to guess the username as ``username@hostname``
17
25
  and requires it to be explictly set. This can be set using ``bzr
18
26
  whoami``.
19
27
  (Parth Malwankar, #549310)
20
28
 
 
29
* ``bzrlib.commands.Command`` will now raise ValueError during
 
30
  construction if there is no __doc__ set. (Robert Collins)
 
31
 
21
32
New Features
22
33
************
23
34
 
101
112
  messages.
102
113
  (Parth Malwankar, #563646)
103
114
 
 
115
* Using bzr with `lp:` urls behind an http proxy should work.
 
116
  (Robert Collins, #558343)
 
117
 
104
118
Improvements
105
119
************
106
120
 
112
126
  (case-sensitive) as false.
113
127
  (Brian de Alwis, Vincent Ladeuil)
114
128
 
 
129
* ``bzr ls`` now supports short options for existing long options.
 
130
  ``-k/--kind``, ``-i/--ignored``, ``-u/--unknown`` and ``-0/--null``.
 
131
  (Parth Malwankar, #181124)
 
132
 
115
133
* ``Config.get_user_option_as_bool`` will now warn if a value cannot
116
134
  be interpreted as a boolean.
117
135
  (Vincent Ladeuil)
134
152
  implementations.
135
153
  (Martin Pool)
136
154
 
 
155
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
156
  expected to return an object which can be used to unlock them. This reduces
 
157
  duplicate code when using cleanups. The previous 'tokens's returned by
 
158
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
159
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
160
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
161
 
137
162
* ``Repository.refresh_data`` may now be called in a write group on
138
163
  pack-based repositories.  Older repositories will still raise an error
139
164
  in this case.  Subclasses of ``Repository`` can still override
145
170
Internals
146
171
*********
147
172
 
 
173
* ``chk_map._bytes_to_text_key`` is now an optimized function to extract
 
174
  the (file-id, revision-id) key from a CHKInventory entry. This can
 
175
  potentially shave 5-10% time off during a large fetch. Related to bug
 
176
  #562666. (John Arbash Meinel)
 
177
 
 
178
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
179
  (Robert Collins)
 
180
 
148
181
* ``_remember_remote_is_before`` no longer raises AssertionError when
149
182
  suboptimal network behaviour is noticed; instead it just mutters to the
150
183
  log file (and warns the user if they have set the ``hpss`` debug flag).
160
193
Testing
161
194
*******
162
195
 
 
196
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
 
197
  our first in-tree matcher. See the module docstring for details.
 
198
  (Robert Collins)
 
199
 
163
200
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
164
201
   (Gordon Tyler, #551332)
165
202
 
274
311
* ``bzrlib.diff.get_trees_and_branches_to_diff`` is deprecated.  Use
275
312
  ``get_trees_and_branches_to_diff_locked`` instead.
276
313
  (Andrew Bennetts)
 
314
 
 
315
* ``TreeTransform.commit`` supports the full set of commit parameters, and
 
316
  auto-determines branch nick if not supplied.  (Aaron Bentley)
277
317
  
278
318
Internals
279
319
*********