1
# (C) 2005 Canonical Development Ltd
3
# This program is free software; you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation; either version 2 of the License, or
6
# (at your option) any later version.
8
# This program is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
# GNU General Public License for more details.
13
# You should have received a copy of the GNU General Public License
14
# along with this program; if not, write to the Free Software
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17
"""Serializer factory for reading and writing changesets.
20
import bzrlib.errors as errors
21
from bzrlib.changeset.serializer import ChangesetSerializer
24
def ChangesetSerializerV06(ChangesetSerializer):
26
"""Read the rest of the changesets from the supplied file.
28
:param f: The file to read from
29
:return: A list of changesets
31
raise NotImplementedError
33
def write(self, csets, f):
34
"""Write the changesets to the supplied files.
36
:param csets: A list of changesets to be serialized
37
:param f: The file to write to
39
raise NotImplementedError