~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/serializer.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-05-11 11:47:36 UTC
  • mfrom: (5200.3.8 lock_return)
  • Revision ID: pqm@pqm.ubuntu.com-20100511114736-mc1sq9zyo3vufec7
(lifeless) Provide a consistent interface to Tree, Branch,
 Repository where lock methods return an object with an unlock method to
 unlock the lock. This breaks the API for Branch,
 Repository on their lock_write methods. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
 
94
94
 
95
95
format_registry = SerializerRegistry()
 
96
format_registry.register_lazy('4', 'bzrlib.xml4', 'serializer_v4')
96
97
format_registry.register_lazy('5', 'bzrlib.xml5', 'serializer_v5')
97
98
format_registry.register_lazy('6', 'bzrlib.xml6', 'serializer_v6')
98
99
format_registry.register_lazy('7', 'bzrlib.xml7', 'serializer_v7')