346
347
old_db_branch.registrant)
347
348
new_db_branch.sourcepackage.setBranch(
348
349
PackagePublishingPocket.RELEASE, new_db_branch,
350
351
old_db_branch.lifecycle_status = BranchLifecycleStatus.MATURE
351
352
# switch_branches *moves* the data to locations dependent on the
352
353
# new_branch's id, so if the transaction was rolled back we wouldn't