/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-04-07 13:56:43 UTC
  • mfrom: (4241.6.9 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090407135643-r15qstzbwg87d2nq
(robertc) Add --development6-rich-root,
        disabling the legacy and unneeded development2 format,
        and activating the tests for CHK features disabled pending this format.
        (Robert Collins, John Arbash Meinel, Ian Clathworthy, Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3423
3423
    branch_format='bzrlib.branch.BzrBranchFormat7',
3424
3424
    tree_format='bzrlib.workingtree.WorkingTreeFormat5',
3425
3425
    )
3426
 
# The following two formats should always just be aliases.
3427
 
format_registry.register_metadir('development',
3428
 
    'bzrlib.repofmt.pack_repo.RepositoryFormatPackDevelopment2',
 
3426
# The following un-numbered 'development' formats should always just be aliases.
 
3427
format_registry.register_metadir('development-rich-root',
 
3428
    'bzrlib.repofmt.groupcompress_repo.RepositoryFormatCHK1',
3429
3429
    help='Current development format. Can convert data to and from pack-0.92 '
3430
3430
        '(and anything compatible with pack-0.92) format repositories. '
3431
3431
        'Repositories and branches in this format can only be read by bzr.dev. '
3433
3433
        'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
3434
3434
        'before use.',
3435
3435
    branch_format='bzrlib.branch.BzrBranchFormat7',
3436
 
    tree_format='bzrlib.workingtree.WorkingTreeFormat4',
 
3436
    tree_format='bzrlib.workingtree.WorkingTreeFormat6',
3437
3437
    experimental=True,
3438
3438
    alias=True,
3439
3439
    )
3446
3446
        'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
3447
3447
        'before use.',
3448
3448
    branch_format='bzrlib.branch.BzrBranchFormat7',
3449
 
    tree_format='bzrlib.workingtree.WorkingTreeFormat4',
 
3449
    tree_format='bzrlib.workingtree.WorkingTreeFormat6',
3450
3450
    experimental=True,
3451
 
    alias=True,
 
3451
    alias=False, # Restore to being an alias when an actual development subtree format is added
 
3452
                 # This current non-alias status is simply because we did not introduce a
 
3453
                 # chk based subtree format.
3452
3454
    )
 
3455
 
3453
3456
# And the development formats above will have aliased one of the following:
3454
 
format_registry.register_metadir('development2',
3455
 
    'bzrlib.repofmt.pack_repo.RepositoryFormatPackDevelopment2',
3456
 
    help='1.6.1 with B+Tree based index. '
3457
 
        'Please read '
3458
 
        'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
3459
 
        'before use.',
3460
 
    branch_format='bzrlib.branch.BzrBranchFormat7',
3461
 
    tree_format='bzrlib.workingtree.WorkingTreeFormat4',
3462
 
    hidden=True,
3463
 
    experimental=True,
3464
 
    )
3465
 
format_registry.register_metadir('development2-subtree',
3466
 
    'bzrlib.repofmt.pack_repo.RepositoryFormatPackDevelopment2Subtree',
3467
 
    help='1.6.1-subtree with B+Tree based index. '
3468
 
        'Please read '
3469
 
        'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
3470
 
        'before use.',
3471
 
    branch_format='bzrlib.branch.BzrBranchFormat7',
3472
 
    tree_format='bzrlib.workingtree.WorkingTreeFormat4',
3473
 
    hidden=True,
3474
 
    experimental=True,
3475
 
    )
3476
 
# These next two formats should be removed when the gc formats are
3477
 
# updated to use WorkingTreeFormat6 and are merged into bzr.dev
3478
 
format_registry.register_metadir('development-wt6',
3479
 
    'bzrlib.repofmt.pack_repo.RepositoryFormatKnitPack6',
3480
 
    help='1.14 with filtered views. '
3481
 
        'Please read '
3482
 
        'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
3483
 
        'before use.',
3484
 
    branch_format='bzrlib.branch.BzrBranchFormat7',
3485
 
    tree_format='bzrlib.workingtree.WorkingTreeFormat6',
3486
 
    hidden=True,
3487
 
    experimental=True,
3488
 
    )
3489
 
format_registry.register_metadir('development-wt6-rich-root',
3490
 
    'bzrlib.repofmt.pack_repo.RepositoryFormatKnitPack6RichRoot',
3491
 
    help='A variant of development-wt6 that supports rich-root data '
3492
 
         '(needed for bzr-svn and bzr-git).',
3493
 
    branch_format='bzrlib.branch.BzrBranchFormat7',
3494
 
    tree_format='bzrlib.workingtree.WorkingTreeFormat6',
3495
 
    hidden=True,
3496
 
    experimental=True,
3497
 
    )
 
3457
format_registry.register_metadir('development6-rich-root',
 
3458
    'bzrlib.repofmt.groupcompress_repo.RepositoryFormatCHK1',
 
3459
    help='pack-1.9 with 255-way hashed CHK inv, group compress, rich roots '
 
3460
        'Please read '
 
3461
        'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
 
3462
        'before use.',
 
3463
    branch_format='bzrlib.branch.BzrBranchFormat7',
 
3464
    tree_format='bzrlib.workingtree.WorkingTreeFormat6',
 
3465
    hidden=True,
 
3466
    experimental=True,
 
3467
    )
 
3468
 
3498
3469
# The following format should be an alias for the rich root equivalent 
3499
3470
# of the default format
3500
3471
format_registry.register_metadir('default-rich-root',