1
0
mirror of https://github.com/git/git.git synced 2024-09-28 05:20:00 +02:00

Catch io exceptions from git fast-import again and print the error message.

Signed-off-by: Simon Hausmann <hausmann@kde.org>
This commit is contained in:
Simon Hausmann 2007-02-08 15:45:16 +01:00
parent 1e30c07dfc
commit 7315866824

View File

@ -230,7 +230,11 @@ else:
sys.stdout.flush()
cnt = cnt + 1
commit(description)
try:
commit(description)
except:
print gitError.read()
sys.exit(1)
gitStream.close()
gitOutput.close()
@ -240,3 +244,4 @@ print ""
os.popen("git-repo-config p4.depotpath %s" % prefix).read()
sys.exit(0)