Rev 3795: In _remove_pack_from_memory, also remove the object from the PackCollection.packs list. in http://bzr.arbash-meinel.com/branches/bzr/jam-integration
John Arbash Meinel
john at arbash-meinel.com
Sun Oct 26 15:31:17 GMT 2008
At http://bzr.arbash-meinel.com/branches/bzr/jam-integration
------------------------------------------------------------
revno: 3795
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.
-------------- next part --------------
=== 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