summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0c66a78)
raw | patch | inline | side by side (parent: 0c66a78)
author | Simon Hausmann <shausman@trolltech.com> | |
Wed, 23 May 2007 21:27:31 +0000 (23:27 +0200) | ||
committer | Simon Hausmann <shausman@trolltech.com> | |
Wed, 23 May 2007 21:29:01 +0000 (23:29 +0200) |
When the p4 command failed write out the exit code in the returned dict.
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
contrib/fast-import/git-p4 | patch | blob | history |
index f12ad8baffd73b753aa9aec59e278106159d65a3..89a85ebb19aa7c94d04b6ce76c1187d296b42355 100755 (executable)
result.append(entry)
except EOFError:
pass
- pipe.close()
+ exitCode = pipe.close()
+ if exitCode != None:
+ result["p4ExitCode"] = exitCode
return result