107
107
# if the from format is stackable, this will either work or
108
108
# trigger NotStacked. If it's not, an error will be given to
111
111
except errors.NotStacked:
113
113
# now we need to sprout the repository,
114
114
dir_to = br_from.bzrdir._format.initialize_on_transport(to_transport)
115
115
br_from.repository._format.initialize(dir_to)
116
116
br_to = br_from._format.initialize(dir_to)