Browse Source

Print an error message of some sort if git fast-import fails.

Signed-off-by: Simon Hausmann <simon@lst.de>
maint
Simon Hausmann 18 years ago
parent
commit
fd4ca86a0b
  1. 1
      contrib/fast-import/git-p4

1
contrib/fast-import/git-p4

@ -958,6 +958,7 @@ class P4Sync(Command):
try: try:
self.commit(details, self.extractFilesFromCommit(details), self.branch, self.globalPrefix) self.commit(details, self.extractFilesFromCommit(details), self.branch, self.globalPrefix)
except IOError: except IOError:
print "IO error with git fast-import. Is your git version recent enough?"
print self.gitError.read() print self.gitError.read()


else: else:

Loading…
Cancel
Save