summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-12-02 21:40:22 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-12-02 21:40:22 +0100
commit8e6bcc7dc1a14c84397c55427f626c54ac61a7f8 (patch)
tree02920bde0425c9630380a4a22cace7be3cb3b563
parent137b694b2d3cce9d73e006be1842fd6e3aa470ee (diff)
downloadbzr-fastimport-8e6bcc7dc1a14c84397c55427f626c54ac61a7f8.tar.gz
Drop compatibility code for older, unsupported versions of bzr.
-rw-r--r--cmds.py8
1 files changed, 0 insertions, 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,