diff options
author | Simon Hausmann <simon@lst.de> | 2007-03-14 19:03:16 +0100 |
---|---|---|
committer | Simon Hausmann <simon@lst.de> | 2007-03-14 19:03:16 +0100 |
commit | 4d9e5fcea65f22c6bd9e1f3e5ae2f79c3af613db (patch) | |
tree | dc9be25a9d3e62f49343a23f1f58bcad66426e8f /contrib/fast-import | |
parent | Be nice and use /usr/bin/env python for the git-p4 scripts (diff) | |
download | tgif-4d9e5fcea65f22c6bd9e1f3e5ae2f79c3af613db.tar.xz |
Ignore Apple resource files when importing from perforce to git.
Signed-off-by: Simon Hausmann <simon@lst.de>
Diffstat (limited to 'contrib/fast-import')
-rwxr-xr-x | contrib/fast-import/p4-fast-export.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/fast-import/p4-fast-export.py b/contrib/fast-import/p4-fast-export.py index 6f7bbb0f32..a6dbd3b98d 100755 --- a/contrib/fast-import/p4-fast-export.py +++ b/contrib/fast-import/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: |