~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2009-09-16 10:37:29 UTC
  • mto: (4695.1.1 integration)
  • 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).
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 4325.3.8 15 years ago Johan Walles Merge from upstream. 5.6 KB Diff Download File
test_pull.py 4523.1.1 15 years ago Martin Pool Rename tests.branch_implementations to per_branch 9.4 KB Diff Download File
test_push.py 4627.2.2 15 years ago Robert Collins Mark tests that now work as working. 16.7 KB Diff Download File
test_update_revisions.py 4325.3.8 15 years ago Johan Walles Merge from upstream. 2.7 KB Diff Download File