~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/pack_repo.py

  • Committer: John Arbash Meinel
  • Date: 2008-10-27 20:25:20 UTC
  • mto: This revision was merged to the branch mainline in revision 3913.
  • Revision ID: john@arbash-meinel.com-20081027202520-50kkcq0eghc69w93
Clarify the comment.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1306
1306
                packer.pack()
1307
1307
            except errors.RetryWithNewPacks:
1308
1308
                # An exception is propagating out of this context, make sure
1309
 
                # this packer has cleaned up.
 
1309
                # this packer has cleaned up. Packer() doesn't set its new_pack
 
1310
                # state into the RepositoryPackCollection object, so we only
 
1311
                # have access to it directly here.
1310
1312
                if packer.new_pack is not None:
1311
1313
                    packer.new_pack.abort()
1312
1314
                raise