~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to scripts/branch-rewrite.py

  • Committer: Stuart Bishop
  • Date: 2011-08-31 11:43:27 UTC
  • mto: (13813.5.2 librarian-disco)
  • mto: This revision was merged to the branch mainline in revision 13863.
  • Revision ID: stuart.bishop@canonical.com-20110831114327-4tr568l4udecltl3
Review feedback

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
                print "NULL"
68
68
                # The exception might have been a DisconnectionError or
69
69
                # similar. Cleanup such as database reconnection will
70
 
                # not happen until the transaction is rolled back. We
71
 
                # are explicitly rolling back the store here instead of
72
 
                # using transaction.abort() due to Bug #819282.
 
70
                # not happen until the transaction is rolled back.
 
71
                # XXX StuartBishop 2011-08-31 bug=819282: We are
 
72
                # explicitly rolling back the store here as a workaround
 
73
                # instead of using transaction.abort()
73
74
                try:
74
75
                    ISlaveStore(Branch).rollback()
75
76
                except Exception: