Rev 4455: Don't populate self._raw_record_map in _work, it was done in __init__ in http://bazaar.launchpad.net/~jameinel/bzr/1.17-extract-one-time

John Arbash Meinel john at arbash-meinel.com
Wed Jun 17 22:00:43 BST 2009


At http://bazaar.launchpad.net/~jameinel/bzr/1.17-extract-one-time

------------------------------------------------------------
revno: 4455
revision-id: john at arbash-meinel.com-20090617210032-dncrm60dq52za21g
parent: pqm at pqm.ubuntu.com-20090617100437-gavn9zkum4dj5yjz
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 1.17-extract-one-time
timestamp: Wed 2009-06-17 16:00:32 -0500
message:
  Don't populate self._raw_record_map in _work, it was done in __init__
-------------- next part --------------
=== modified file 'bzrlib/knit.py'
--- a/bzrlib/knit.py	2009-06-11 20:34:56 +0000
+++ b/bzrlib/knit.py	2009-06-17 21:00:32 +0000
@@ -2005,8 +2005,8 @@
                 missing_keys.remove(record.key)
                 yield record
 
-        self._raw_record_map = self.vf._get_record_map_unparsed(self.keys,
-            allow_missing=True)
+        if self._raw_record_map is None:
+            raise AssertionError('_raw_record_map should have been filled')
         first = True
         for key in self.keys:
             if key in self.nonlocal_keys:



More information about the bazaar-commits mailing list