Print an error message of some sort if git fast-import fails.
authorSimon Hausmann <simon@luria.(none)>
Fri, 13 Apr 2007 20:21:10 +0000 (22:21 +0200)
committerSimon Hausmann <simon@luria.(none)>
Fri, 13 Apr 2007 20:21:10 +0000 (22:21 +0200)
git-p4

diff --git a/git-p4 b/git-p4
index 4fbfaf1..6db757a 100755 (executable)
--- a/git-p4
+++ b/git-p4
@@ -958,6 +958,7 @@ class P4Sync(Command):
             try:
                 self.commit(details, self.extractFilesFromCommit(details), self.branch, self.globalPrefix)
             except IOError:
+                print "IO error with git fast-import. Is your git version recent enough?"
                 print self.gitError.read()
 
         else: