~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to __init__.py

Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
 
36
36
from bzrlib.bzrdir import format_registry
 
37
from bzrlib.repository import format_registry as repo_registry
37
38
format_registry.register_metadir('gc-plain',
38
39
    'bzrlib.plugins.groupcompress.repofmt.RepositoryFormatPackGCPlain',
39
40
    help='pack-0.92 with btree index and group compress. '
76
77
# info' will die horribly.
77
78
try:
78
79
    from bzrlib.repofmt.pack_repo import (
79
 
    RepositoryFormatPackDevelopment4,
 
80
    RepositoryFormatPackDevelopment5,
 
81
    RepositoryFormatPackDevelopment5Hash16,
80
82
    )
81
83
    format_registry.register_metadir('gc-plain-chk',
82
84
        'bzrlib.plugins.groupcompress.repofmt.RepositoryFormatPackGCPlainCHK',
85
87
            'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
86
88
            'before use.',
87
89
        branch_format='bzrlib.branch.BzrBranchFormat7',
88
 
        tree_format='bzrlib.workingtree.WorkingTreeFormat4',
 
90
        tree_format='bzrlib.workingtree.WorkingTreeFormat5',
89
91
        hidden=False,
90
92
        experimental=True,
91
93
        )
92
94
    repo_registry.register_lazy(
93
 
        'Bazaar development format - chk+gc (needs bzr.dev from 1.12)\n',
 
95
        'Bazaar development format - chk+gc (needs bzr.dev from 1.13)\n',
94
96
        'bzrlib.plugins.groupcompress.repofmt',
95
97
        'RepositoryFormatPackGCPlainCHK',
96
98
        )
 
99
    format_registry.register_metadir('gc-plain-chk16',
 
100
        'bzrlib.plugins.groupcompress.repofmt.RepositoryFormatPackGCPlainCHK16',
 
101
        help='pack-1.9 with 16-way hashed CHK inv and group compress. '
 
102
            'Please read '
 
103
            'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
 
104
            'before use.',
 
105
        branch_format='bzrlib.branch.BzrBranchFormat7',
 
106
        tree_format='bzrlib.workingtree.WorkingTreeFormat5',
 
107
        hidden=False,
 
108
        experimental=True,
 
109
        )
 
110
    repo_registry.register_lazy(
 
111
        'Bazaar development format - hash16chk+gc (needs bzr.dev from 1.13)\n',
 
112
        'bzrlib.plugins.groupcompress.repofmt',
 
113
        'RepositoryFormatPackGCPlainCHK16',
 
114
        )
 
115
    format_registry.register_metadir('gc-plain-chk255',
 
116
        'bzrlib.plugins.groupcompress.repofmt.RepositoryFormatPackGCPlainCHK255',
 
117
        help='pack-1.9 with 255-way hashed CHK inv and group compress. '
 
118
            'Please read '
 
119
            'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
 
120
            'before use.',
 
121
        branch_format='bzrlib.branch.BzrBranchFormat7',
 
122
        tree_format='bzrlib.workingtree.WorkingTreeFormat5',
 
123
        hidden=False,
 
124
        experimental=True,
 
125
        )
 
126
    repo_registry.register_lazy(
 
127
        'Bazaar development format - hash255chk+gc (needs bzr.dev from 1.13)\n',
 
128
        'bzrlib.plugins.groupcompress.repofmt',
 
129
        'RepositoryFormatPackGCPlainCHK255',
 
130
        )
97
131
except ImportError:
98
132
    pass
99
133