]> git.openpandora.org Git - openembedded.git/commitdiff
contrib/mtn2git/mtn2git.py: Return the tree if it is was not in the cache!
authorHolger Freyther <zecke@selfish.org>
Tue, 8 Jan 2008 09:07:08 +0000 (09:07 +0000)
committerHolger Freyther <zecke@selfish.org>
Tue, 8 Jan 2008 09:07:08 +0000 (09:07 +0000)
contrib/mtn2git/mtn2git.py

index 5c39e7450a1c1ac0a9e02cfdcd01e6ffa3f25206..5968aac092a86d09efd39cc305aeaef76deca01e 100755 (executable)
@@ -156,6 +156,8 @@ def get_and_cache_tree(ops, revision):
         old_name = cached_fifo[0]
         cached_fifo = cached_fifo[1:]
         del cached_tree[old_name]
+
+    return tree
     
 def diff_manifest(old_tree, new_tree):
     """Find additions, modifications and deletions"""