~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: John Arbash Meinel
  • Date: 2009-02-13 21:57:21 UTC
  • mto: (0.20.6 trunk)
  • mto: This revision was merged to the branch mainline in revision 4280.
  • Revision ID: john@arbash-meinel.com-20090213215721-w7zpcnqe0zoj6fiz
Start basing the groupcompress chk formats on the dev5 formats.

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
# info' will die horribly.
76
76
try:
77
77
    from bzrlib.repofmt.pack_repo import (
78
 
    RepositoryFormatPackDevelopment4,
 
78
    RepositoryFormatPackDevelopment5,
 
79
    RepositoryFormatPackDevelopment5Hash16,
79
80
    )
80
81
    format_registry.register_metadir('gc-plain-chk',
81
82
        'bzrlib.plugins.groupcompress.repofmt.RepositoryFormatPackGCPlainCHK',
84
85
            'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
85
86
            'before use.',
86
87
        branch_format='bzrlib.branch.BzrBranchFormat7',
87
 
        tree_format='bzrlib.workingtree.WorkingTreeFormat4',
 
88
        tree_format='bzrlib.workingtree.WorkingTreeFormat5',
88
89
        hidden=False,
89
90
        experimental=True,
90
91
        )
91
92
    repo_registry.register_lazy(
92
 
        'Bazaar development format - chk+gc (needs bzr.dev from 1.12)\n',
 
93
        'Bazaar development format - chk+gc (needs bzr.dev from 1.13)\n',
93
94
        'bzrlib.plugins.groupcompress.repofmt',
94
95
        'RepositoryFormatPackGCPlainCHK',
95
96
        )
 
97
    format_registry.register_metadir('gc-plain-chk16',
 
98
        'bzrlib.plugins.groupcompress.repofmt.RepositoryFormatPackGCPlainCHK16',
 
99
        help='pack-1.9 with 16-way hashed CHK inv and group compress. '
 
100
            'Please read '
 
101
            'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
 
102
            'before use.',
 
103
        branch_format='bzrlib.branch.BzrBranchFormat7',
 
104
        tree_format='bzrlib.workingtree.WorkingTreeFormat5',
 
105
        hidden=False,
 
106
        experimental=True,
 
107
        )
 
108
    repo_registry.register_lazy(
 
109
        'Bazaar development format - hash16chk+gc (needs bzr.dev from 1.13)\n',
 
110
        'bzrlib.plugins.groupcompress.repofmt',
 
111
        'RepositoryFormatPackGCPlainCHK16',
 
112
        )
96
113
except ImportError:
97
114
    pass
98
115