~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/knitpack_repo.py

  • Committer: Samuel Bronson
  • Date: 2012-08-30 20:36:18 UTC
  • mto: (6015.57.3 2.4)
  • mto: This revision was merged to the branch mainline in revision 6558.
  • Revision ID: naesten@gmail.com-20120830203618-y2dzw91nqpvpgxvx
Update INSTALL for switch to Python 2.6 and up.

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