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