3231
3231
return self.get_format_string()
3234
# Pre-0.8 formats that don't have a disk format string (because they are
3235
# versioned by the matching control directory). We use the control directories
3236
# disk format string as a key for the network_name because they meet the
3237
# constraints (simple string, unique, immutable).
3238
network_format_registry.register_lazy(
3239
"Bazaar-NG branch, format 5\n",
3240
'bzrlib.repofmt.weaverepo',
3241
'RepositoryFormat5',
3243
network_format_registry.register_lazy(
3244
"Bazaar-NG branch, format 6\n",
3245
'bzrlib.repofmt.weaverepo',
3246
'RepositoryFormat6',
3249
3234
# formats which have no format string are not discoverable or independently
3250
3235
# creatable on disk, so are not registered in format_registry. They're
3251
# all in bzrlib.repofmt.weaverepo now. When an instance of one of these is
3236
# all in bzrlib.repofmt.knitreponow. When an instance of one of these is
3252
3237
# needed, it's constructed directly by the BzrDir. Non-native formats where
3253
3238
# the repository is not separately opened are similar.
3255
3240
format_registry.register_lazy(
3256
'Bazaar-NG Repository format 7',
3257
'bzrlib.repofmt.weaverepo',
3261
format_registry.register_lazy(
3262
3241
'Bazaar-NG Knit Repository Format 1',
3263
3242
'bzrlib.repofmt.knitrepo',
3264
3243
'RepositoryFormatKnit1',