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