~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/knitrepo.py

  • Committer: Martin Pool
  • Date: 2007-02-07 09:22:47 UTC
  • mto: This revision was merged to the branch mainline in revision 2283.
  • Revision ID: mbp@sourcefrog.net-20070207092247-pww6djejoiu1av67
Set the repository's serializer in the places it's needed, not in the base class

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    lockable_files,
22
22
    lockdir,
23
23
    transactions,
 
24
    xml5,
24
25
    xml6,
25
26
    )
26
27
 
39
40
class KnitRepository(MetaDirRepository):
40
41
    """Knit format repository."""
41
42
 
 
43
 
 
44
    _serializer = xml5.serializer_v5
 
45
 
42
46
    def _warn_if_deprecated(self):
43
47
        # This class isn't deprecated
44
48
        pass