From 8d002927dc6ba3c4b380a1c41b8a61facd9fdddd Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Tue, 8 Jan 2008 02:34:00 +0000 Subject: contrib/mtn2git/mtn2git.py: We are not interested in these bits. Do not store them. --- contrib/mtn2git/mtn2git.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'contrib') diff --git a/contrib/mtn2git/mtn2git.py b/contrib/mtn2git/mtn2git.py index 039532ad7c..8559643069 100755 --- a/contrib/mtn2git/mtn2git.py +++ b/contrib/mtn2git/mtn2git.py @@ -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) -- cgit v1.2.3