mirror of
https://github.com/frej/fast-export.git
synced 2025-11-11 05:15:40 +01:00
slightly better error handling
This commit is contained in:
@@ -230,7 +230,11 @@ else:
|
|||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
cnt = cnt + 1
|
cnt = cnt + 1
|
||||||
|
|
||||||
|
try:
|
||||||
commit(description)
|
commit(description)
|
||||||
|
except:
|
||||||
|
print gitError.read()
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
gitStream.close()
|
gitStream.close()
|
||||||
gitOutput.close()
|
gitOutput.close()
|
||||||
@@ -240,3 +244,4 @@ print ""
|
|||||||
|
|
||||||
os.popen("git-repo-config p4.depotpath %s" % prefix).read()
|
os.popen("git-repo-config p4.depotpath %s" % prefix).read()
|
||||||
|
|
||||||
|
sys.exit(0)
|
||||||
|
|||||||
Reference in New Issue
Block a user