31
See DESIGN in the groupcompress source.
31
See DESIGN in the groupcompress osurc.e
36
from bzrlib.bzrdir import format_registry
37
from bzrlib.repository import format_registry as repo_registry
38
format_registry.register_metadir('gc-plain',
39
'bzrlib.plugins.groupcompress.repofmt.RepositoryFormatPackGCPlain',
40
help='pack-0.92 with btree index and group compress. '
42
'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
44
branch_format='bzrlib.branch.BzrBranchFormat7',
45
tree_format='bzrlib.workingtree.WorkingTreeFormat4',
50
format_registry.register_metadir('gc-rich-root',
51
'bzrlib.plugins.groupcompress.repofmt.RepositoryFormatPackGCRichRoot',
52
help='rich-root-pack with btree index and group compress. '
54
'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
56
branch_format='bzrlib.branch.BzrBranchFormat7',
57
tree_format='bzrlib.workingtree.WorkingTreeFormat4',
62
format_registry.register_metadir('gc-subtrees',
63
'bzrlib.plugins.groupcompress.repofmt.RepositoryFormatPackGCSubtrees',
64
help='pack-0.92-subtress with btree index and group compress. '
66
'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
68
branch_format='bzrlib.branch.BzrBranchFormat7',
69
tree_format='bzrlib.workingtree.WorkingTreeFormat4',
74
# if we have chk support in bzrlib, use it. Otherwise don't register cause 'bzr
75
# info' will die horribly.
77
from bzrlib.repofmt.pack_repo import (
78
RepositoryFormatPackDevelopment5,
79
RepositoryFormatPackDevelopment5Hash16,
81
format_registry.register_metadir('gc-plain-chk',
82
'bzrlib.plugins.groupcompress.repofmt.RepositoryFormatPackGCPlainCHK',
83
help='pack-1.9 with CHK inv and group compress. '
85
'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
87
branch_format='bzrlib.branch.BzrBranchFormat7',
88
tree_format='bzrlib.workingtree.WorkingTreeFormat5',
92
repo_registry.register_lazy(
93
'Bazaar development format - chk+gc (needs bzr.dev from 1.13)\n',
94
'bzrlib.plugins.groupcompress.repofmt',
95
'RepositoryFormatPackGCPlainCHK',
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. '
101
'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
103
branch_format='bzrlib.branch.BzrBranchFormat7',
104
tree_format='bzrlib.workingtree.WorkingTreeFormat5',
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',
113
format_registry.register_metadir('gc-plain-chk255',
114
'bzrlib.plugins.groupcompress.repofmt.RepositoryFormatPackGCPlainCHK255',
115
help='pack-1.9 with 255-way hashed CHK inv and group compress. '
117
'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
119
branch_format='bzrlib.branch.BzrBranchFormat7',
120
tree_format='bzrlib.workingtree.WorkingTreeFormat5',
124
repo_registry.register_lazy(
125
'Bazaar development format - hash255chk+gc (needs bzr.dev from 1.13)\n',
126
'bzrlib.plugins.groupcompress.repofmt',
127
'RepositoryFormatPackGCPlainCHK255',
132
repo_registry.register_lazy(
133
'Bazaar development format - btree+gc (needs bzr.dev from 1.6)\n',
134
'bzrlib.plugins.groupcompress.repofmt',
135
'RepositoryFormatPackGCPlain',
137
repo_registry.register_lazy(
138
'Bazaar development format - btree+gc-rich-root (needs bzr.dev from 1.6)\n',
139
'bzrlib.plugins.groupcompress.repofmt',
140
'RepositoryFormatPackGCRichRoot',
142
repo_registry.register_lazy(
143
'Bazaar development format - btree+gc-subtrees (needs bzr.dev from 1.6)\n',
144
'bzrlib.plugins.groupcompress.repofmt',
145
'RepositoryFormatPackGCSubtrees',
151
34
# Thunk across to load_tests for niceness with older bzr versions
152
35
from bzrlib.tests import TestLoader