152
155
bd.repository_format = _load(repository_format)
154
157
registry.register(key, helper, help, native, deprecated, hidden,
157
register_metadir(controldir.format_registry, 'knit',
162
controldir.format_registry, 'knit',
158
163
'breezy.bzr.knitrepo.RepositoryFormatKnit1',
159
164
'Format using knits. Recommended for interoperation with bzr <= 0.14.',
160
165
branch_format='breezy.bzr.fullhistory.BzrBranchFormat5',
161
166
tree_format='breezy.bzr.workingtree_3.WorkingTreeFormat3',
164
register_metadir(controldir.format_registry, 'dirstate',
170
controldir.format_registry, 'dirstate',
165
171
'breezy.bzr.knitrepo.RepositoryFormatKnit1',
166
172
help='Format using dirstate for working trees. '
167
'Compatible with bzr 0.8 and '
168
'above when accessed over the network. Introduced in bzr 0.15.',
173
'Compatible with bzr 0.8 and '
174
'above when accessed over the network. Introduced in bzr 0.15.',
169
175
branch_format='breezy.bzr.fullhistory.BzrBranchFormat5',
170
176
tree_format='breezy.bzr.workingtree_4.WorkingTreeFormat4',
173
register_metadir(controldir.format_registry, 'dirstate-tags',
180
controldir.format_registry, 'dirstate-tags',
174
181
'breezy.bzr.knitrepo.RepositoryFormatKnit1',
175
182
help='Variant of dirstate with support for tags. '
176
'Introduced in bzr 0.15.',
183
'Introduced in bzr 0.15.',
177
184
branch_format='breezy.bzr.branch.BzrBranchFormat6',
178
185
tree_format='breezy.bzr.workingtree_4.WorkingTreeFormat4',
181
register_metadir(controldir.format_registry, 'rich-root',
189
controldir.format_registry, 'rich-root',
182
190
'breezy.bzr.knitrepo.RepositoryFormatKnit4',
183
191
help='Variant of dirstate with better handling of tree roots. '
184
'Introduced in bzr 1.0',
192
'Introduced in bzr 1.0',
185
193
branch_format='breezy.bzr.branch.BzrBranchFormat6',
186
194
tree_format='breezy.bzr.workingtree_4.WorkingTreeFormat4',
189
register_metadir(controldir.format_registry, 'dirstate-with-subtree',
198
controldir.format_registry, 'dirstate-with-subtree',
190
199
'breezy.bzr.knitrepo.RepositoryFormatKnit3',
191
200
help='Variant of dirstate with support for nested trees. '
192
'Introduced in 0.15.',
201
'Introduced in 0.15.',
193
202
branch_format='breezy.bzr.branch.BzrBranchFormat6',
194
203
tree_format='breezy.bzr.workingtree_4.WorkingTreeFormat4',
195
204
experimental=True,
198
register_metadir(controldir.format_registry, 'pack-0.92',
208
controldir.format_registry, 'pack-0.92',
199
209
'breezy.bzr.knitpack_repo.RepositoryFormatKnitPack1',
200
210
help='Pack-based format used in 1.x series. Introduced in 0.92. '
201
'Interoperates with bzr repositories before 0.92 but cannot be '
202
'read by bzr < 0.92. '
211
'Interoperates with bzr repositories before 0.92 but cannot be '
212
'read by bzr < 0.92. ',
204
213
branch_format='breezy.bzr.branch.BzrBranchFormat6',
205
214
tree_format='breezy.bzr.workingtree_4.WorkingTreeFormat4',
209
register_metadir(controldir.format_registry, 'pack-0.92-subtree',
219
controldir.format_registry, 'pack-0.92-subtree',
210
220
'breezy.bzr.knitpack_repo.RepositoryFormatKnitPack3',
211
221
help='Pack-based format used in 1.x series, with subtree support. '
212
'Introduced in 0.92. Interoperates with '
213
'bzr repositories before 0.92 but cannot be read by bzr < 0.92. '
222
'Introduced in 0.92. Interoperates with '
223
'bzr repositories before 0.92 but cannot be read by bzr < 0.92. ',
215
224
branch_format='breezy.bzr.branch.BzrBranchFormat6',
216
225
tree_format='breezy.bzr.workingtree_4.WorkingTreeFormat4',
219
228
experimental=True,
221
register_metadir(controldir.format_registry, 'rich-root-pack',
231
controldir.format_registry, 'rich-root-pack',
222
232
'breezy.bzr.knitpack_repo.RepositoryFormatKnitPack4',
223
233
help='A variant of pack-0.92 that supports rich-root data '
224
'(needed for bzr-svn and bzr-git). Introduced in 1.0.',
234
'(needed for bzr-svn and bzr-git). Introduced in 1.0.',
225
235
branch_format='breezy.bzr.branch.BzrBranchFormat6',
226
236
tree_format='breezy.bzr.workingtree_4.WorkingTreeFormat4',
230
register_metadir(controldir.format_registry, '1.6',
241
controldir.format_registry, '1.6',
231
242
'breezy.bzr.knitpack_repo.RepositoryFormatKnitPack5',
232
243
help='A format that allows a branch to indicate that there is another '
233
'(stacked) repository that should be used to access data that is '
234
'not present locally.',
244
'(stacked) repository that should be used to access data that is '
245
'not present locally.',
235
246
branch_format='breezy.bzr.branch.BzrBranchFormat7',
236
247
tree_format='breezy.bzr.workingtree_4.WorkingTreeFormat4',
240
register_metadir(controldir.format_registry, '1.6.1-rich-root',
252
controldir.format_registry, '1.6.1-rich-root',
241
253
'breezy.bzr.knitpack_repo.RepositoryFormatKnitPack5RichRoot',
242
254
help='A variant of 1.6 that supports rich-root data '
243
'(needed for bzr-svn and bzr-git).',
255
'(needed for bzr-svn and bzr-git).',
244
256
branch_format='breezy.bzr.branch.BzrBranchFormat7',
245
257
tree_format='breezy.bzr.workingtree_4.WorkingTreeFormat4',
249
register_metadir(controldir.format_registry, '1.9',
262
controldir.format_registry, '1.9',
250
263
'breezy.bzr.knitpack_repo.RepositoryFormatKnitPack6',
251
264
help='A repository format using B+tree indexes. These indexes '
252
'are smaller in size, have smarter caching and provide faster '
253
'performance for most operations.',
265
'are smaller in size, have smarter caching and provide faster '
266
'performance for most operations.',
254
267
branch_format='breezy.bzr.branch.BzrBranchFormat7',
255
268
tree_format='breezy.bzr.workingtree_4.WorkingTreeFormat4',
259
register_metadir(controldir.format_registry, '1.9-rich-root',
273
controldir.format_registry, '1.9-rich-root',
260
274
'breezy.bzr.knitpack_repo.RepositoryFormatKnitPack6RichRoot',
261
275
help='A variant of 1.9 that supports rich-root data '
262
'(needed for bzr-svn and bzr-git).',
276
'(needed for bzr-svn and bzr-git).',
263
277
branch_format='breezy.bzr.branch.BzrBranchFormat7',
264
278
tree_format='breezy.bzr.workingtree_4.WorkingTreeFormat4',
268
register_metadir(controldir.format_registry, '1.14',
283
controldir.format_registry, '1.14',
269
284
'breezy.bzr.knitpack_repo.RepositoryFormatKnitPack6',
270
285
help='A working-tree format that supports content filtering.',
271
286
branch_format='breezy.bzr.branch.BzrBranchFormat7',