Code

Print an error message of some sort if git fast-import fails.
authorSimon Hausmann <simon@lst.de>
Fri, 13 Apr 2007 20:21:10 +0000 (22:21 +0200)
committerSimon Hausmann <simon@lst.de>
Fri, 13 Apr 2007 20:21:10 +0000 (22:21 +0200)
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4

index 4fbfaf11b673dafdb2dea608c09f0b87f8c05d79..6db757ae4301ae8bb78945fab1fd51856f9ff465 100755 (executable)
@@ -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: