--- a/ForgeHg/forgehg/model/hg.py
+++ b/ForgeHg/forgehg/model/hg.py
@@ -166,7 +166,6 @@
tree, isnew = M.Tree.upsert(fake_tree.hex())
if isnew:
tree.set_context(ci)
- tree.set_last_commit(ci)
self._refresh_tree(tree, fake_tree)
def log(self, object_id, skip, count):
@@ -220,12 +219,8 @@
subtree, isnew = M.Tree.upsert(o.hex())
if isnew:
subtree.set_context(tree, name)
- subtree.set_last_commit(tree.commit)
self._refresh_tree(subtree, o)
for name, oid in obj.blobs.iteritems():
blob, isnew = M.Blob.upsert(oid)
- if isnew:
- blob.set_context(tree, name)
- blob.set_last_commit(tree.commit)
MappedClass.compile_all()