From: Simon Hausmann Date: Wed, 14 Mar 2007 18:03:16 +0000 (+0100) Subject: Ignore weird apple files :) X-Git-Url: http://crossforests.com/gitweb?a=commitdiff_plain;h=39fa67264e69154343f51567c60c73dd89ec07b0;p=python%2Ffast-export.git Ignore weird apple files :) --- diff --git a/p4-fast-export.py b/p4-fast-export.py index 6f7bbb0..a6dbd3b 100755 --- a/p4-fast-export.py +++ b/p4-fast-export.py @@ -329,6 +329,10 @@ def commit(details, files, branch, branchPrefix, parent, merged = ""): relPath = path[len(branchPrefix):] action = file["action"] + if file["type"] == "apple": + print "\nfile %s is a strange apple file that forks. Ignoring!" %s path + continue + if action == "delete": gitStream.write("D %s\n" % relPath) else: