Rev 3801: (jam) PackCollection._remove_pack_from_memory updates self.packs in file:///home/pqm/archives/thelove/bzr/%2Btrunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Mon Oct 27 19:55:56 GMT 2008
At file:///home/pqm/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 3801
revision-id: pqm at pqm.ubuntu.com-20081027195553-876pyjww9zmjqj87
parent: pqm at pqm.ubuntu.com-20081027191300-cmrcjgft9wa2tddi
parent: john at arbash-meinel.com-20081026153106-1reh0edvitmhe3rh
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Mon 2008-10-27 19:55:53 +0000
message:
(jam) PackCollection._remove_pack_from_memory updates self.packs
modified:
bzrlib/repofmt/pack_repo.py pack_repo.py-20070813041115-gjv5ma7ktfqwsjgn-1
------------------------------------------------------------
revno: 3794.3.1
revision-id: john at arbash-meinel.com-20081026153106-1reh0edvitmhe3rh
parent: pqm at pqm.ubuntu.com-20081024113829-9geq0uavium22ho6
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-integration
timestamp: Sun 2008-10-26 10:31:06 -0500
message:
In _remove_pack_from_memory, also remove the object from the PackCollection.packs list.
modified:
bzrlib/repofmt/pack_repo.py pack_repo.py-20070813041115-gjv5ma7ktfqwsjgn-1
=== modified file 'bzrlib/repofmt/pack_repo.py'
--- a/bzrlib/repofmt/pack_repo.py 2008-10-22 19:24:46 +0000
+++ b/bzrlib/repofmt/pack_repo.py 2008-10-26 15:31:06 +0000
@@ -1479,6 +1479,7 @@
self._names.pop(pack.name)
self._packs_by_name.pop(pack.name)
self._remove_pack_indices(pack)
+ self.packs.remove(pack)
def _remove_pack_indices(self, pack):
"""Remove the indices for pack from the aggregated indices."""
More information about the bazaar-commits
mailing list