contrib/mtn2git/mtn2git.py: Add the TODO for sanity checking!
authorHolger Freyther <zecke@selfish.org>
Tue, 8 Jan 2008 03:16:18 +0000 (03:16 +0000)
committerHolger Freyther <zecke@selfish.org>
Tue, 8 Jan 2008 03:16:18 +0000 (03:16 +0000)
contrib/mtn2git/mtn2git.py

index 2d7e0c3..5c39e74 100755 (executable)
@@ -223,6 +223,10 @@ def fast_import(ops, revision):
         all_modifications = all_modifications.union(modified)
         all_deleted = all_modifications.union(deleted) 
 
+    # TODO:
+    # Readd the sanity check to see if we deleted and modified an entry. This
+    # could probably happen if we have more than one parent (on a merge)?
+
     cmd = []
     cmd += ["commit refs/heads/%s" % branch]
     cmd += ["mark :%s" % get_mark(revision["revision"])]