~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-03-18 16:21:56 UTC
  • mfrom: (4119.6.4 default-rich-root)
  • Revision ID: pqm@pqm.ubuntu.com-20090318162156-yz3r7446r141qzub
(Jelmer) Add default-rich-root format alias.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3266
3266
format_registry.register_metadir('rich-root-pack',
3267
3267
    'bzrlib.repofmt.pack_repo.RepositoryFormatKnitPack4',
3268
3268
    help='New in 1.0: A variant of pack-0.92 that supports rich-root data '
3269
 
         '(needed for bzr-svn).',
 
3269
         '(needed for bzr-svn and bzr-git).',
3270
3270
    branch_format='bzrlib.branch.BzrBranchFormat6',
3271
3271
    tree_format='bzrlib.workingtree.WorkingTreeFormat4',
3272
3272
    )
3281
3281
format_registry.register_metadir('1.6.1-rich-root',
3282
3282
    'bzrlib.repofmt.pack_repo.RepositoryFormatKnitPack5RichRoot',
3283
3283
    help='A variant of 1.6 that supports rich-root data '
3284
 
         '(needed for bzr-svn).',
 
3284
         '(needed for bzr-svn and bzr-git).',
3285
3285
    branch_format='bzrlib.branch.BzrBranchFormat7',
3286
3286
    tree_format='bzrlib.workingtree.WorkingTreeFormat4',
3287
3287
    )
3296
3296
format_registry.register_metadir('1.9-rich-root',
3297
3297
    'bzrlib.repofmt.pack_repo.RepositoryFormatKnitPack6RichRoot',
3298
3298
    help='A variant of 1.9 that supports rich-root data '
3299
 
         '(needed for bzr-svn).',
 
3299
         '(needed for bzr-svn and bzr-git).',
3300
3300
    branch_format='bzrlib.branch.BzrBranchFormat7',
3301
3301
    tree_format='bzrlib.workingtree.WorkingTreeFormat4',
3302
3302
    )
3310
3310
format_registry.register_metadir('development-wt5-rich-root',
3311
3311
    'bzrlib.repofmt.pack_repo.RepositoryFormatKnitPack6RichRoot',
3312
3312
    help='A variant of development-wt5 that supports rich-root data '
3313
 
         '(needed for bzr-svn).',
 
3313
         '(needed for bzr-svn and bzr-git).',
3314
3314
    branch_format='bzrlib.branch.BzrBranchFormat7',
3315
3315
    tree_format='bzrlib.workingtree.WorkingTreeFormat5',
3316
3316
    experimental=True,
3365
3365
    hidden=True,
3366
3366
    experimental=True,
3367
3367
    )
 
3368
# The following format should be an alias for the rich root equivalent 
 
3369
# of the default format
 
3370
format_registry.register_metadir('default-rich-root',
 
3371
    'bzrlib.repofmt.pack_repo.RepositoryFormatKnitPack4',
 
3372
    help='Default format, rich root variant. (needed for bzr-svn and bzr-git).',
 
3373
    branch_format='bzrlib.branch.BzrBranchFormat6',
 
3374
    tree_format='bzrlib.workingtree.WorkingTreeFormat4',
 
3375
    alias=True,
 
3376
    )
3368
3377
# The current format that is made on 'bzr init'.
3369
3378
format_registry.set_default('pack-0.92')