projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7873af
)
Ignore Apple resource files when importing from perforce to git.
author
Simon Hausmann
<simon@lst.de>
Wed, 14 Mar 2007 18:03:16 +0000
(19:03 +0100)
committer
Simon Hausmann
<simon@lst.de>
Wed, 14 Mar 2007 18:03:16 +0000
(19:03 +0100)
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/p4-fast-export.py
patch
|
blob
|
history
diff --git
a/contrib/fast-import/p4-fast-export.py
b/contrib/fast-import/p4-fast-export.py
index 6f7bbb0f329ba58faffcae938414435c9f14e3f9..a6dbd3b98dd33ffb62031649dbd2838d450456d5 100755
(executable)
--- 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: