/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 cmds.py

Drop compatibility code for older, unsupported versions of bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
279
279
        from bzrlib.plugins.fastimport.helpers import (
280
280
            open_destination_directory,
281
281
            )
282
 
        # If no format is given and the user is running a release
283
 
        # leading up to 2.0, select 2a for them. Otherwise, use
284
 
        # the default format.
285
 
        if format is None:
286
 
            import bzrlib
287
 
            bzr_version = bzrlib.version_info[0:2]
288
 
            if bzr_version in [(1,17), (1,18), (2,0)]:
289
 
                format = bzrdir.format_registry.make_bzrdir('2a')
290
282
        control = open_destination_directory(destination, format=format)
291
283
 
292
284
        # If an information file was given and the source isn't stdin,