Cross Forests
/
projects
/
python
/
fast-export.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b756cf
)
Ignore weird apple files :)
author
Simon Hausmann
<simon@luria.(none)>
Wed, 14 Mar 2007 18:03:16 +0000
(19:03 +0100)
committer
Simon Hausmann
<simon@luria.(none)>
Wed, 14 Mar 2007 18:03:16 +0000
(19:03 +0100)
p4-fast-export.py
patch
|
blob
|
history
diff --git
a/p4-fast-export.py
b/p4-fast-export.py
index
6f7bbb0
..
a6dbd3b
100755
(executable)
--- 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: