270
259
controldir.ControlDirFormat.register_format(DummyForeignVcsDirFormat)
271
260
testcase.addCleanup(controldir.ControlDirFormat.unregister_format,
272
261
DummyForeignVcsDirFormat)
273
264
# We need to register the optimiser to make the dummy appears really
274
265
# different from a regular bzr repository.
275
266
branch.InterBranch.register_optimiser(InterToDummyVcsBranch)