1979
1979
deprecated=True)
1980
1980
register_metadir(controldir.format_registry, 'dirstate',
1981
1981
'bzrlib.repofmt.knitrepo.RepositoryFormatKnit1',
1982
help='New in 0.15: Fast local operations. Compatible with bzr 0.8 and '
1983
'above when accessed over the network.',
1982
help='Format using dirstate for working trees. '
1983
'Compatible with bzr 0.8 and '
1984
'above when accessed over the network. Introduced in bzr 0.15.',
1984
1985
branch_format='bzrlib.branch.BzrBranchFormat5',
1985
1986
tree_format='bzrlib.workingtree_4.WorkingTreeFormat4',
1987
1988
deprecated=True)
1988
1989
register_metadir(controldir.format_registry, 'dirstate-tags',
1989
1990
'bzrlib.repofmt.knitrepo.RepositoryFormatKnit1',
1990
help='New in 0.15: Fast local operations and improved scaling for '
1991
'network operations. Additionally adds support for tags.'
1992
' Incompatible with bzr < 0.15.',
1991
help='Variant of dirstate with support for tags. '
1992
'Introduced in bzr 0.15.',
1993
1993
branch_format='bzrlib.branch.BzrBranchFormat6',
1994
1994
tree_format='bzrlib.workingtree_4.WorkingTreeFormat4',
1996
1996
deprecated=True)
1997
1997
register_metadir(controldir.format_registry, 'rich-root',
1998
1998
'bzrlib.repofmt.knitrepo.RepositoryFormatKnit4',
1999
help='New in 1.0. Better handling of tree roots. Incompatible with'
1999
help='Variant of dirstate with better handling of tree roots. '
2000
'Introduced in bzr 1.0',
2001
2001
branch_format='bzrlib.branch.BzrBranchFormat6',
2002
2002
tree_format='bzrlib.workingtree_4.WorkingTreeFormat4',
2004
2004
deprecated=True)
2005
2005
register_metadir(controldir.format_registry, 'dirstate-with-subtree',
2006
2006
'bzrlib.repofmt.knitrepo.RepositoryFormatKnit3',
2007
help='New in 0.15: Fast local operations and improved scaling for '
2008
'network operations. Additionally adds support for versioning nested '
2009
'bzr branches. Incompatible with bzr < 0.15.',
2007
help='Variant of dirstate with support for nested trees. '
2008
'Introduced in 0.15.',
2010
2009
branch_format='bzrlib.branch.BzrBranchFormat6',
2011
2010
tree_format='bzrlib.workingtree_4.WorkingTreeFormat4',
2012
2011
experimental=True,
2015
2014
register_metadir(controldir.format_registry, 'pack-0.92',
2016
2015
'bzrlib.repofmt.knitpack_repo.RepositoryFormatKnitPack1',
2017
help='New in 0.92: Pack-based format with data compatible with '
2018
'dirstate-tags format repositories. Interoperates with '
2019
'bzr repositories before 0.92 but cannot be read by bzr < 0.92. '
2016
help='Pack-based format used in 1.x series. Introduced in 0.92. '
2017
'Interoperates with bzr repositories before 0.92 but cannot be '
2018
'read by bzr < 0.92. '
2021
2020
branch_format='bzrlib.branch.BzrBranchFormat6',
2022
2021
tree_format='bzrlib.workingtree_4.WorkingTreeFormat4',
2024
2024
register_metadir(controldir.format_registry, 'pack-0.92-subtree',
2025
2025
'bzrlib.repofmt.knitpack_repo.RepositoryFormatKnitPack3',
2026
help='New in 0.92: Pack-based format with data compatible with '
2027
'dirstate-with-subtree format repositories. Interoperates with '
2026
help='Pack-based format used in 1.x series, with subtree support. '
2027
'Introduced in 0.92. Interoperates with '
2028
2028
'bzr repositories before 0.92 but cannot be read by bzr < 0.92. '
2030
2030
branch_format='bzrlib.branch.BzrBranchFormat6',
2031
2031
tree_format='bzrlib.workingtree_4.WorkingTreeFormat4',
2033
2034
experimental=True,
2035
2036
register_metadir(controldir.format_registry, 'rich-root-pack',
2036
2037
'bzrlib.repofmt.knitpack_repo.RepositoryFormatKnitPack4',
2037
help='New in 1.0: A variant of pack-0.92 that supports rich-root data '
2038
'(needed for bzr-svn and bzr-git).',
2038
help='A variant of pack-0.92 that supports rich-root data '
2039
'(needed for bzr-svn and bzr-git). Introduced in 1.0.',
2039
2040
branch_format='bzrlib.branch.BzrBranchFormat6',
2040
2041
tree_format='bzrlib.workingtree_4.WorkingTreeFormat4',
2043
2045
register_metadir(controldir.format_registry, '1.6',
2044
2046
'bzrlib.repofmt.knitpack_repo.RepositoryFormatKnitPack5',
2048
2050
branch_format='bzrlib.branch.BzrBranchFormat7',
2049
2051
tree_format='bzrlib.workingtree_4.WorkingTreeFormat4',
2052
2055
register_metadir(controldir.format_registry, '1.6.1-rich-root',
2053
2056
'bzrlib.repofmt.knitpack_repo.RepositoryFormatKnitPack5RichRoot',
2056
2059
branch_format='bzrlib.branch.BzrBranchFormat7',
2057
2060
tree_format='bzrlib.workingtree_4.WorkingTreeFormat4',
2060
2064
register_metadir(controldir.format_registry, '1.9',
2061
2065
'bzrlib.repofmt.knitpack_repo.RepositoryFormatKnitPack6',
2065
2069
branch_format='bzrlib.branch.BzrBranchFormat7',
2066
2070
tree_format='bzrlib.workingtree_4.WorkingTreeFormat4',
2069
2074
register_metadir(controldir.format_registry, '1.9-rich-root',
2070
2075
'bzrlib.repofmt.knitpack_repo.RepositoryFormatKnitPack6RichRoot',
2073
2078
branch_format='bzrlib.branch.BzrBranchFormat7',
2074
2079
tree_format='bzrlib.workingtree_4.WorkingTreeFormat4',
2077
2083
register_metadir(controldir.format_registry, '1.14',
2078
2084
'bzrlib.repofmt.knitpack_repo.RepositoryFormatKnitPack6',
2079
2085
help='A working-tree format that supports content filtering.',
2080
2086
branch_format='bzrlib.branch.BzrBranchFormat7',
2081
2087
tree_format='bzrlib.workingtree_4.WorkingTreeFormat5',
2083
2091
register_metadir(controldir.format_registry, '1.14-rich-root',
2084
2092
'bzrlib.repofmt.knitpack_repo.RepositoryFormatKnitPack6RichRoot',
2086
2094
'(needed for bzr-svn and bzr-git).',
2087
2095
branch_format='bzrlib.branch.BzrBranchFormat7',
2088
2096
tree_format='bzrlib.workingtree_4.WorkingTreeFormat5',
2090
2100
# The following un-numbered 'development' formats should always just be aliases.
2091
2101
register_metadir(controldir.format_registry, 'development-subtree',
2124
2134
help='The 2a format with experimental support for colocated branches.\n',
2125
2135
branch_format='bzrlib.branch.BzrBranchFormat7',
2126
2136
tree_format='bzrlib.workingtree_4.WorkingTreeFormat6',
2128
2138
bzrdir_format=BzrDirMetaFormat1Colo,
2134
2144
# Finally, the current format.
2135
2145
register_metadir(controldir.format_registry, '2a',
2136
2146
'bzrlib.repofmt.groupcompress_repo.RepositoryFormat2a',
2137
help='First format for bzr 2.0 series.\n'
2147
help='Format for the bzr 2.0 series.\n'
2138
2148
'Uses group-compress storage.\n'
2139
2149
'Provides rich roots which are a one-way transition.\n',
2140
2150
# 'storage in packs, 255-way hashed CHK inventory, bencode revision, group compress, '