~bzr/bzr/daily-ppa-natty

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/knitpack_repo.py

  • Committer: Jelmer Vernooij
  • Date: 2011-12-21 01:46:15 UTC
  • mfrom: (3815.3194.253 +trunk)
  • Revision ID: jelmer@samba.org-20111221014615-so5xxk2z179oedty
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Knit-based pack repository formats."""
18
18
 
 
19
from __future__ import absolute_import
 
20
 
19
21
from bzrlib.lazy_import import lazy_import
20
22
lazy_import(globals(), """
21
23
from itertools import izip
160
162
 
161
163
    _matchingbzrdir = property(_get_matching_bzrdir, _ignore_setting_bzrdir)
162
164
 
163
 
    def get_format_string(self):
 
165
    @classmethod
 
166
    def get_format_string(cls):
164
167
        """See RepositoryFormat.get_format_string()."""
165
168
        return "Bazaar pack repository format 1 (needs bzr 0.92)\n"
166
169
 
200
203
 
201
204
    _matchingbzrdir = property(_get_matching_bzrdir, _ignore_setting_bzrdir)
202
205
 
203
 
    def get_format_string(self):
 
206
    @classmethod
 
207
    def get_format_string(cls):
204
208
        """See RepositoryFormat.get_format_string()."""
205
209
        return "Bazaar pack repository format 1 with subtree support (needs bzr 0.92)\n"
206
210
 
238
242
 
239
243
    _matchingbzrdir = property(_get_matching_bzrdir, _ignore_setting_bzrdir)
240
244
 
241
 
    def get_format_string(self):
 
245
    @classmethod
 
246
    def get_format_string(cls):
242
247
        """See RepositoryFormat.get_format_string()."""
243
248
        return ("Bazaar pack repository format 1 with rich root"
244
249
                " (needs bzr 1.0)\n")
276
281
 
277
282
    _matchingbzrdir = property(_get_matching_bzrdir, _ignore_setting_bzrdir)
278
283
 
279
 
    def get_format_string(self):
 
284
    @classmethod
 
285
    def get_format_string(cls):
280
286
        """See RepositoryFormat.get_format_string()."""
281
287
        return "Bazaar RepositoryFormatKnitPack5 (bzr 1.6)\n"
282
288
 
316
322
 
317
323
    _matchingbzrdir = property(_get_matching_bzrdir, _ignore_setting_bzrdir)
318
324
 
319
 
    def get_format_string(self):
 
325
    @classmethod
 
326
    def get_format_string(cls):
320
327
        """See RepositoryFormat.get_format_string()."""
321
328
        return "Bazaar RepositoryFormatKnitPack5RichRoot (bzr 1.6.1)\n"
322
329
 
362
369
 
363
370
    _matchingbzrdir = property(_get_matching_bzrdir, _ignore_setting_bzrdir)
364
371
 
365
 
    def get_format_string(self):
 
372
    @classmethod
 
373
    def get_format_string(cls):
366
374
        """See RepositoryFormat.get_format_string()."""
367
375
        return "Bazaar RepositoryFormatKnitPack5RichRoot (bzr 1.6)\n"
368
376
 
400
408
 
401
409
    _matchingbzrdir = property(_get_matching_bzrdir, _ignore_setting_bzrdir)
402
410
 
403
 
    def get_format_string(self):
 
411
    @classmethod
 
412
    def get_format_string(cls):
404
413
        """See RepositoryFormat.get_format_string()."""
405
414
        return "Bazaar RepositoryFormatKnitPack6 (bzr 1.9)\n"
406
415
 
437
446
 
438
447
    _matchingbzrdir = property(_get_matching_bzrdir, _ignore_setting_bzrdir)
439
448
 
440
 
    def get_format_string(self):
 
449
    @classmethod
 
450
    def get_format_string(cls):
441
451
        """See RepositoryFormat.get_format_string()."""
442
452
        return "Bazaar RepositoryFormatKnitPack6RichRoot (bzr 1.9)\n"
443
453
 
477
487
 
478
488
    _matchingbzrdir = property(_get_matching_bzrdir, _ignore_setting_bzrdir)
479
489
 
480
 
    def get_format_string(self):
 
490
    @classmethod
 
491
    def get_format_string(cls):
481
492
        """See RepositoryFormat.get_format_string()."""
482
493
        return ("Bazaar development format 2 with subtree support "
483
494
            "(needs bzr.dev from before 1.8)\n")