I attached a lame patch to die without showing the Python Traceback, but I'd rather succeed :) Maybe there is a different mailing list for git-p4. If there is tell me and I'll post there. Benjamin. [bsergean@flanders sandbox]$ rm -rf dev ; git-p4 clone //Work/Users/Capture3D/A3D810/pdfl/Common/a3d/dev Importing from //Work/Users/Capture3D/A3D810/pdfl/Common/a3d/dev into dev Initialized empty Git repository in .git/ Doing initial import of //Work/Users/Capture3D/A3D810/pdfl/Common/a3d/dev/ from revision #head [{'p4ExitCode': 32512}] Traceback (most recent call last): File "/home/bsergean/src/fast-export/git-p4", line 1489, in <module> main() File "/home/bsergean/src/fast-export/git-p4", line 1484, in main if not cmd.run(args): File "/home/bsergean/src/fast-export/git-p4", line 1395, in run if not P4Sync.run(self, depotPaths): File "/home/bsergean/src/fast-export/git-p4", line 1203, in run self.commit(details, self.extractFilesFromCommit(details), self.branch, self.depotPaths) File "/home/bsergean/src/fast-export/git-p4", line 744, in commit self.readP4Files(files) File "/home/bsergean/src/fast-export/git-p4", line 722, in readP4Files contents[stat['depotFile']] = text KeyError: 'depotFile'
diff --git a/git-p4 b/git-p4 index 36fe69a..3e1a878 100755 --- a/git-p4 +++ b/git-p4 @@ -707,6 +707,9 @@ class P4Sync(Command): f['rev']) for f in files])) + if "p4ExitCode" in filedata[0]: + die("Problems executing p4"); + j = 0; contents = {} while j < len(filedata):