~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Vincent Ladeuil
  • Date: 2009-09-16 10:37:29 UTC
  • mto: (4695.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4696.
  • Revision ID: v.ladeuil+lp@free.fr-20090916103729-m6h1pyvjprm6puvm
Respect items() protocol for registry objects.

* bzrlib/tests/test_registry.py:
(TestRegistryIter): Test some corner cases where object are
registered while the registry is iterated.

* bzrlib/registry.py:
(Registry): iteritems() and items() have different intents, don't
mix them under the covers or devs get tricked (see bug #277048
which seemed to have fixed the issue).

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
  chk_bytes root records.
71
71
  (Andrew Bennetts, #423506)
72
72
 
 
73
* Registry objects should not use iteritems() when asked to use items().
 
74
  (Vincent Ladeuil, #430510)
 
75
 
73
76
* Make sure that we unlock the tree if we fail to create a TreeTransform
74
77
  object when doing a merge, and there is limbo, or pending-deletions
75
78
  directory.  (Gary van der Merwe, #427773)