summaryrefslogtreecommitdiff
path: root/contrib/mtn2git/mtn2git.py
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2008-01-08 09:07:08 +0000
committerHolger Freyther <zecke@selfish.org>2008-01-08 09:07:08 +0000
commitefa86e50e478426cff6a4769d35f605b4907a80a (patch)
tree77c2361a1e9046af731ba45e8413d31d4d3ec193 /contrib/mtn2git/mtn2git.py
parent130c765e5e66d957ad943b91c9b6ad77306ba310 (diff)
contrib/mtn2git/mtn2git.py: Return the tree if it is was not in the cache!
Diffstat (limited to 'contrib/mtn2git/mtn2git.py')
-rwxr-xr-xcontrib/mtn2git/mtn2git.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/mtn2git/mtn2git.py b/contrib/mtn2git/mtn2git.py
index 5c39e7450a..5968aac092 100755
--- a/contrib/mtn2git/mtn2git.py
+++ b/contrib/mtn2git/mtn2git.py
@@ -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"""