[oe-commits] org.oe.dev contrib/mtn2git/mtn2git.py: We are not interested in these bits. Do not store them.

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


contrib/mtn2git/mtn2git.py: We are not interested in these bits. Do not store them.

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

#
# mt diff -r7f8eda1c5fcdca6dc7459b4efc76c46a43c8b09d -r0556591725f6edb2646b5d1f52ac9d76fb7e8f99
#
# 
# 
# patch "contrib/mtn2git/mtn2git.py"
#  from [ec225e8ba82a5610acadfabcef8f82846ffc53eb]
#    to [cc166397e3a97cee71210c8033a9d1706c8746c8]
# 
============================================================
--- contrib/mtn2git/mtn2git.py	ec225e8ba82a5610acadfabcef8f82846ffc53eb
+++ contrib/mtn2git/mtn2git.py	cc166397e3a97cee71210c8033a9d1706c8746c8
@@ -291,20 +291,12 @@ def parse_revision(operations, revision)
             old_rev = line[1]
         elif line[0] == "new_manifest":
             revision_description["manifest"] = line[1]
-        elif line[0] == "rename":
-            revision_description["renamed"].append((line[3], line[1], old_rev))
-        elif line[0] == "patch":
-            revision_description["modified"].append((line[1], line[5], old_rev))
-        elif line[0] == "delete":
-            revision_description["removed"].append((line[1], old_rev))
-        elif line[0] == "add_dir":
-            revision_description["added_dirs"].append((line[1], old_rev))
-        elif line[0] == "add_file":
-            revision_description["added_files"].append((line[1], line[3], old_rev))
         elif line[0] == "clear":
             revision_description["clear_attributes"].append((line[1], line[3], old_rev))
         elif line[0] == "set":
             revision_description["set_attributes"].append((line[1], line[3], line[5], old_rev))
+        elif line[0] in ["rename", "patch", "delete", "add_dir", "add_file"]:
+            pass
         else:
             print >> sys.stderr, line
             assert(False)






More information about the Openembedded-commits mailing list