[oe-commits] org.oe.dev contrib/mtn2git/mtn2git.py: Add the TODO for sanity checking!

freyther commit openembedded-commits at lists.openembedded.org
Tue Jan 8 10:08:42 UTC 2008


contrib/mtn2git/mtn2git.py: Add the TODO for sanity checking!

Author: freyther at openembedded.org
Branch: org.openembedded.dev
Revision: 4758ca456d2363e1b00659c33da6c72ea4ac3074
ViewMTN: http://monotone.openembedded.org/revision/info/4758ca456d2363e1b00659c33da6c72ea4ac3074
Files:
1
contrib/mtn2git/mtn2git.py
Diffs:

#
# mt diff -r2f179e4c16eebdd66f8c67c99fe4bdb779216471 -r4758ca456d2363e1b00659c33da6c72ea4ac3074
#
# 
# 
# patch "contrib/mtn2git/mtn2git.py"
#  from [34d060f51b9f31f7ca5e7a5e186407b8914360f3]
#    to [1dc47dab2559790034012f5f42eccdb5978bf054]
# 
============================================================
--- contrib/mtn2git/mtn2git.py	34d060f51b9f31f7ca5e7a5e186407b8914360f3
+++ contrib/mtn2git/mtn2git.py	1dc47dab2559790034012f5f42eccdb5978bf054
@@ -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"])]






More information about the Openembedded-commits mailing list