Rev 4752: Don't forget to clear the signatures cache. in http://bazaar.launchpad.net/~jameinel/bzr/2.1-peak-mem-tweak

John Arbash Meinel john at arbash-meinel.com
Mon Oct 19 17:21:27 BST 2009


At http://bazaar.launchpad.net/~jameinel/bzr/2.1-peak-mem-tweak

------------------------------------------------------------
revno: 4752
revision-id: john at arbash-meinel.com-20091019162120-dpa2zoqquvl5ai7p
parent: john at arbash-meinel.com-20091019154510-tr02ifha84pmo3zh
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.1-peak-mem-tweak
timestamp: Mon 2009-10-19 11:21:20 -0500
message:
  Don't forget to clear the signatures cache.
-------------- next part --------------
=== modified file 'bzrlib/repofmt/groupcompress_repo.py'
--- a/bzrlib/repofmt/groupcompress_repo.py	2009-10-19 15:06:58 +0000
+++ b/bzrlib/repofmt/groupcompress_repo.py	2009-10-19 16:21:20 +0000
@@ -1106,6 +1106,7 @@
             yield stream_info
         self._revision_keys = [(rev_id,) for rev_id in revision_ids]
         self.from_repository.revisions.clear_cache()
+        self.from_repository.signatures.clear_cache()
         yield self._get_inventory_stream(self._revision_keys)
         self.from_repository.inventories.clear_cache()
         # TODO: The keys to exclude might be part of the search recipe



More information about the bazaar-commits mailing list