summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Arbash Meinel <john@arbash-meinel.com>2009-11-30 11:57:02 -0600
committerJohn Arbash Meinel <john@arbash-meinel.com>2009-11-30 11:57:02 -0600
commit768639fa20a03ad421e2a7c0098de6fd3391b484 (patch)
treea035f95942add367427b13bb499f6e593b5d26cd
parent77704bab48d530910746349e33e2e2d851f3a3a3 (diff)
downloadpython-fastimport-768639fa20a03ad421e2a7c0098de6fd3391b484.tar.gz
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.
-rw-r--r--revision_store.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/revision_store.py b/revision_store.py
index 4be645e..0488b0e 100644
--- a/revision_store.py
+++ b/revision_store.py
@@ -375,7 +375,7 @@ class AbstractRevisionStore(object):
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'):