~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/codehosting/branchdistro.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-09 09:23:38 UTC
  • mfrom: (14333.2.13 history-model)
  • Revision ID: launchpad@pqm.canonical.com-20111209092338-se7u5l0skqzaes1v
[r=jcsackett][bug=295214, 894836,
 898200] Keep sort button ob bug listing pages in sync with the
 displayed data

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
import transaction
28
28
from zope.component import getUtility
29
29
 
 
30
from canonical.config import config
 
31
from canonical.launchpad.interfaces.lpstorm import IMasterStore
30
32
from lp.code.enums import (
31
33
    BranchLifecycleStatus,
32
34
    BranchType,
41
43
from lp.codehosting.vfs import branch_id_to_path
42
44
from lp.registry.interfaces.distribution import IDistributionSet
43
45
from lp.registry.interfaces.pocket import PackagePublishingPocket
44
 
from lp.services.config import config
45
 
from lp.services.database.lpstorm import IMasterStore
46
46
 
47
47
 
48
48
def switch_branches(prefix, scheme, old_db_branch, new_db_branch):