Rev 271: The fix that landed in bzr did not set builder.new_inventory. :( in http://bzr.arbash-meinel.com/plugins/DEACTIVATED/fastimport-less-sticky
John Arbash Meinel
john at arbash-meinel.com
Mon Nov 30 17:57:04 GMT 2009
At http://bzr.arbash-meinel.com/plugins/DEACTIVATED/fastimport-less-sticky
------------------------------------------------------------
revno: 271
revision-id: john at arbash-meinel.com-20091130175702-5qz8g0rtioon45wk
parent: john at arbash-meinel.com-20091115204236-d6xr27xjgh6v2w39
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: fastimport-less-sticky
timestamp: Mon 2009-11-30 11:57:02 -0600
message:
The fix that landed in bzr did not set builder.new_inventory. :(
This still works, but it means that we don't keep the in-memory deserialized bits
from the previous inventory. Instead we start from-scratch each time.
-------------- next part --------------
=== modified file 'revision_store.py'
--- a/revision_store.py 2009-11-12 23:25:04 +0000
+++ b/revision_store.py 2009-11-30 17:57:02 +0000
@@ -375,7 +375,7 @@
raise AssertionError('signatures not guaranteed yet')
self.repo.add_signature_text(rev_id, signature)
# self._add_revision(rev, inv)
- return builder.new_inventory
+ return builder.revision_tree().inventory
def _non_root_entries_iter(self, inv, revision_id):
if hasattr(inv, 'iter_non_root_entries'):
More information about the bazaar-commits
mailing list