Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Catch io exceptions from git fast-import again and print the error message.
author
Simon Hausmann
<hausmann@kde.org>
Thu, 8 Feb 2007 14:45:16 +0000
(15:45 +0100)
committer
Simon Hausmann
<hausmann@kde.org>
Thu, 8 Feb 2007 14:45:16 +0000
(15:45 +0100)
Signed-off-by: Simon Hausmann <hausmann@kde.org>
contrib/fast-import/p4-fast-export.py
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
1e30c07
)
diff --git
a/contrib/fast-import/p4-fast-export.py
b/contrib/fast-import/p4-fast-export.py
index 36381fbecd97d95867ab3e56e966b97404411680..9f4b16a974d55a2fd5ee5586d079be1fc0b20042 100755
(executable)
--- a/
contrib/fast-import/p4-fast-export.py
+++ b/
contrib/fast-import/p4-fast-export.py
@@
-230,7
+230,11
@@
def getUserMap():
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
@@
def getUserMap():
os.popen("git-repo-config p4.depotpath %s" % prefix).read()
+sys.exit(0)