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 5c39e74..5968aac 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"""