624
624
# Make a branch in that repo in an old format that isn't the default
625
625
# branch format for the repo.
626
626
from breezy.branchfmt.fullhistory import BzrBranchFormat5
628
628
format._branch_format = BzrBranchFormat5()
630
630
controldir.ControlDir.create_branch_convenience(
631
631
remote_transport.base, force_new_repo=False, format=format)
632
632
remote_branch = controldir.ControlDir.open_from_transport(
633
633
remote_transport).open_branch()
636
636
except errors.TransportNotPossible:
637
637
raise tests.TestNotApplicable(
638
638
"Cannot lock_read old formats like AllInOne over HPSS.")