~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Robert Collins
  • Date: 2010-05-06 23:54:05 UTC
  • mto: This revision was merged to the branch mainline in revision 5223.
  • Revision ID: robertc@robertcollins.net-20100506235405-wii4elupfhzl3jvy
Add __str__ to the new helper classes.

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
  (Robert Collins)
 
21
 
16
22
New Features
17
23
************
18
24
 
96
102
  implementations.
97
103
  (Martin Pool)
98
104
 
 
105
* Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
 
106
  expected to return an object which can be used to unlock them. This reduces
 
107
  duplicate code when using cleanups. The previous 'tokens's returned by
 
108
  ``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
 
109
  on the result of the lock_write. ``repository.RepositoryWriteLockResult``
 
110
  and ``branch.BranchWriteLockResult`` document this. (Robert Collins)
 
111
 
99
112
Internals
100
113
*********
101
114
 
 
115
* ``log._get_info_for_log_files`` now takes an add_cleanup callable.
 
116
  (Robert Collins)
 
117
 
102
118
* ``_remember_remote_is_before`` no longer raises AssertionError when
103
119
  suboptimal network behaviour is noticed; instead it just mutters to the
104
120
  log file (and warns the user if they have set the ``hpss`` debug flag).
114
130
Testing
115
131
*******
116
132
 
 
133
* Added ``bzrlib.tests.matchers`` as a place to put matchers, along with
 
134
  our first in-tree matcher. See the module docstring for details.
 
135
  (Robert Collins)
 
136
 
117
137
* ``bzr selftest --parallel=subprocess`` now works correctly on win32.
118
138
   (Gordon Tyler, #551332)
119
139