@matheusbsbs / matheus-bagliano / commits / 4d9e5fcea6
Fork 0

Ignore Apple resource files when importing from perforce to git.

Signed-off-by: Simon Hausmann <simon@lst.de>

Simon Hausmann committed Mar 14, 2007 at 19:03 UTC 4d9e5fcea65f22c6bd9e1f3e5ae2f79c3af613db
1 file changed +4
contrib/fast-import/p4-fast-export.py
+4
@@ -329,6 +329,10 @@ def commit(details, files, branch, branchPrefix, parent, merged = ""):
329 relPath = path[len(branchPrefix):]
330 action = file["action"]
331
332 + if file["type"] == "apple":
333 + print "\nfile %s is a strange apple file that forks. Ignoring!" %s path
334 + continue
335 +
336 if action == "delete":
337 gitStream.write("D %s\n" % relPath)
338 else: