From 8e6bcc7dc1a14c84397c55427f626c54ac61a7f8 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 2 Dec 2011 21:40:22 +0100 Subject: Drop compatibility code for older, unsupported versions of bzr. --- cmds.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cmds.py b/cmds.py index f1cf14b..d364b00 100644 --- a/cmds.py +++ b/cmds.py @@ -279,14 +279,6 @@ class cmd_fast_import(Command): from bzrlib.plugins.fastimport.helpers import ( open_destination_directory, ) - # If no format is given and the user is running a release - # leading up to 2.0, select 2a for them. Otherwise, use - # the default format. - if format is None: - import bzrlib - bzr_version = bzrlib.version_info[0:2] - if bzr_version in [(1,17), (1,18), (2,0)]: - format = bzrdir.format_registry.make_bzrdir('2a') control = open_destination_directory(destination, format=format) # If an information file was given and the source isn't stdin, -- cgit v1.2.1