~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Aaron Bentley
  • Date: 2007-01-17 16:13:50 UTC
  • mfrom: (2236 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2240.
  • Revision ID: abentley@panoramicfeedback.com-20070117161350-z0poe4762mzt2mlb
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1278
1278
        klass._formats[format.get_format_string()] = format
1279
1279
 
1280
1280
    @classmethod
 
1281
    @deprecated_method(symbol_versioning.zero_fourteen)
1281
1282
    def set_default_format(klass, format):
 
1283
        klass._set_default_format(format)
 
1284
 
 
1285
    @classmethod
 
1286
    def _set_default_format(klass, format):
1282
1287
        klass._default_format = format
1283
1288
 
1284
1289
    @classmethod
1804
1809
_default_format = RepositoryFormatKnit1()
1805
1810
RepositoryFormat.register_format(_default_format)
1806
1811
RepositoryFormat.register_format(RepositoryFormatKnit2())
1807
 
RepositoryFormat.set_default_format(_default_format)
 
1812
RepositoryFormat._set_default_format(_default_format)
1808
1813
_legacy_formats = [RepositoryFormat4(),
1809
1814
                   RepositoryFormat5(),
1810
1815
                   RepositoryFormat6()]