~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/groupcompress_repo.py

Merge bzr.dev into cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
1428
1428
        """See RepositoryFormat.get_format_description()."""
1429
1429
        return ("Repository format 2a - rich roots, group compression"
1430
1430
            " and chk inventories")
 
1431
 
 
1432
 
 
1433
class RepositoryFormat2aSubtree(RepositoryFormat2a):
 
1434
    """A 2a repository format that supports nested trees.
 
1435
 
 
1436
    """
 
1437
 
 
1438
    def _get_matching_bzrdir(self):
 
1439
        return bzrdir.format_registry.make_bzrdir('development-subtree')
 
1440
 
 
1441
    def _ignore_setting_bzrdir(self, format):
 
1442
        pass
 
1443
 
 
1444
    _matchingbzrdir = property(_get_matching_bzrdir, _ignore_setting_bzrdir)
 
1445
 
 
1446
    def get_format_string(self):
 
1447
        return ('Bazaar development format 8\n')
 
1448
 
 
1449
    def get_format_description(self):
 
1450
        """See RepositoryFormat.get_format_description()."""
 
1451
        return ("Development repository format 8 - nested trees, "
 
1452
                "group compression and chk inventories")
 
1453
 
 
1454
    experimental = True
 
1455
    supports_tree_reference = True