~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-09-02 03:59:07 UTC
  • mfrom: (3653.2.3 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080902035907-3b81euge0gyypozk
Remove obsolete dev formats.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2317
2317
    )
2318
2318
 
2319
2319
# Development formats. 
2320
 
# 1.2->1.3
2321
 
# development 0 - stub to introduce development versioning scheme.
2322
 
format_registry.register_lazy(
2323
 
    "Bazaar development format 0 (needs bzr.dev from before 1.3)\n",
2324
 
    'bzrlib.repofmt.pack_repo',
2325
 
    'RepositoryFormatPackDevelopment0',
2326
 
    )
2327
 
format_registry.register_lazy(
2328
 
    ("Bazaar development format 0 with subtree support "
2329
 
        "(needs bzr.dev from before 1.3)\n"),
2330
 
    'bzrlib.repofmt.pack_repo',
2331
 
    'RepositoryFormatPackDevelopment0Subtree',
2332
 
    )
 
2320
# 1.5->1.6
2333
2321
format_registry.register_lazy(
2334
2322
    "Bazaar development format 1 (needs bzr.dev from before 1.6)\n",
2335
2323
    'bzrlib.repofmt.pack_repo',
2341
2329
    'bzrlib.repofmt.pack_repo',
2342
2330
    'RepositoryFormatPackDevelopment1Subtree',
2343
2331
    )
2344
 
# 1.3->1.4 go below here
 
2332
# 1.6->1.7 go below here
2345
2333
 
2346
2334
 
2347
2335
class InterRepository(InterObject):
2925
2913
                RepositoryFormatKnitPack4,
2926
2914
                RepositoryFormatKnitPack5,
2927
2915
                RepositoryFormatKnitPack5RichRoot,
2928
 
                RepositoryFormatPackDevelopment0,
2929
 
                RepositoryFormatPackDevelopment0Subtree,
 
2916
                RepositoryFormatPackDevelopment1,
 
2917
                RepositoryFormatPackDevelopment1Subtree,
2930
2918
                )
2931
2919
            nosubtrees = (
2932
2920
                RepositoryFormatKnit1,
2933
2921
                RepositoryFormatKnitPack1,
2934
 
                RepositoryFormatPackDevelopment0,
 
2922
                RepositoryFormatPackDevelopment1,
2935
2923
                RepositoryFormatKnitPack4,
2936
2924
                RepositoryFormatKnitPack5,
2937
2925
                RepositoryFormatKnitPack5RichRoot,
2939
2927
            subtrees = (
2940
2928
                RepositoryFormatKnit3,
2941
2929
                RepositoryFormatKnitPack3,
2942
 
                RepositoryFormatPackDevelopment0Subtree,
 
2930
                RepositoryFormatPackDevelopment1Subtree,
2943
2931
                )
2944
2932
            return (isinstance(source._format, nosubtrees) and
2945
2933
                isinstance(target._format, subtrees))