~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/serializer.py

  • Committer: Jelmer Vernooij
  • Date: 2012-02-20 14:15:25 UTC
  • mto: (6471.1.4 iter-child-entries)
  • mto: This revision was merged to the branch mainline in revision 6472.
  • Revision ID: jelmer@samba.org-20120220141525-9azkfei62st8yc7w
Use inventories directly in fewer places.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005, 2006, 2009 Canonical Ltd
 
1
# Copyright (C) 2009, 2010 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
 
 
18
17
"""Inventory/revision serialization."""
19
18
 
 
19
from __future__ import absolute_import
20
20
 
21
21
from bzrlib import registry
22
22
 
93
93
 
94
94
 
95
95
format_registry = SerializerRegistry()
96
 
format_registry.register_lazy('4', 'bzrlib.xml4', 'serializer_v4')
97
96
format_registry.register_lazy('5', 'bzrlib.xml5', 'serializer_v5')
98
97
format_registry.register_lazy('6', 'bzrlib.xml6', 'serializer_v6')
99
98
format_registry.register_lazy('7', 'bzrlib.xml7', 'serializer_v7')