/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

Merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1157
1157
                basis = wt.basis_tree()
1158
1158
                basis.lock_read()
1159
1159
                subtrees = basis.iter_references()
 
1160
            elif result_branch is not None:
 
1161
                basis = result_branch.basis_tree()
 
1162
                basis.lock_read()
 
1163
                subtrees = basis.iter_references()
1160
1164
            elif source_branch is not None:
1161
1165
                basis = source_branch.basis_tree()
1162
1166
                basis.lock_read()
3051
3055
    )
3052
3056
# The following two formats should always just be aliases.
3053
3057
format_registry.register_metadir('development',
3054
 
    'bzrlib.repofmt.pack_repo.RepositoryFormatPackDevelopment1',
 
3058
    'bzrlib.repofmt.pack_repo.RepositoryFormatPackDevelopment2',
3055
3059
    help='Current development format. Can convert data to and from pack-0.92 '
3056
3060
        '(and anything compatible with pack-0.92) format repositories. '
3057
3061
        'Repositories and branches in this format can only be read by bzr.dev. '
3064
3068
    alias=True,
3065
3069
    )
3066
3070
format_registry.register_metadir('development-subtree',
3067
 
    'bzrlib.repofmt.pack_repo.RepositoryFormatPackDevelopment1Subtree',
 
3071
    'bzrlib.repofmt.pack_repo.RepositoryFormatPackDevelopment2Subtree',
3068
3072
    help='Current development format, subtree variant. Can convert data to and '
3069
3073
        'from pack-0.92-subtree (and anything compatible with '
3070
3074
        'pack-0.92-subtree) format repositories. Repositories and branches in '
3076
3080
    experimental=True,
3077
3081
    alias=True,
3078
3082
    )
3079
 
# And the development formats which the will have aliased one of follow:
3080
 
format_registry.register_metadir('development1',
3081
 
    'bzrlib.repofmt.pack_repo.RepositoryFormatPackDevelopment1',
3082
 
    help='A branch and pack based repository that supports stacking. '
 
3083
# And the development formats above will have aliased one of the following:
 
3084
format_registry.register_metadir('development2',
 
3085
    'bzrlib.repofmt.pack_repo.RepositoryFormatPackDevelopment2',
 
3086
    help='1.6.1 with B+Tree based index. '
3083
3087
        'Please read '
3084
3088
        'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
3085
3089
        'before use.',
3088
3092
    hidden=True,
3089
3093
    experimental=True,
3090
3094
    )
3091
 
format_registry.register_metadir('development1-subtree',
3092
 
    'bzrlib.repofmt.pack_repo.RepositoryFormatPackDevelopment1Subtree',
3093
 
    help='A branch and pack based repository that supports stacking. '
 
3095
format_registry.register_metadir('development2-subtree',
 
3096
    'bzrlib.repofmt.pack_repo.RepositoryFormatPackDevelopment2Subtree',
 
3097
    help='1.6.1-subtree with B+Tree based index. '
3094
3098
        'Please read '
3095
3099
        'http://doc.bazaar-vcs.org/latest/developers/development-repo.html '
3096
3100
        'before use.',