summaryrefslogtreecommitdiff
path: root/contrib/fast-import/git-p4
diff options
context:
space:
mode:
authorLibravatar Simon Hausmann <shausman@trolltech.com>2007-05-23 23:32:32 +0200
committerLibravatar Simon Hausmann <shausman@trolltech.com>2007-05-23 23:32:32 +0200
commitac3e0d79eef4535bb61d79315688fb1d225dea3b (patch)
tree883e19579b4c5b4425148a438d905fe500466206 /contrib/fast-import/git-p4
parentDon't make len(p4Cmd("p4 changes -m 1 //foo/...")) == 0 succeed when the p4 c... (diff)
downloadtgif-ac3e0d79eef4535bb61d79315688fb1d225dea3b.tar.xz
Oops, fill the /list/ correct with the p4 exit code.
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
Diffstat (limited to 'contrib/fast-import/git-p4')
-rwxr-xr-xcontrib/fast-import/git-p44
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4
index 89a85ebb19..6ae3bc6e5d 100755
--- a/contrib/fast-import/git-p4
+++ b/contrib/fast-import/git-p4
@@ -33,7 +33,9 @@ def p4CmdList(cmd):
pass
exitCode = pipe.close()
if exitCode != None:
- result["p4ExitCode"] = exitCode
+ entry = {}
+ entry["p4ExitCode"] = exitCode
+ result.append(entry)
return result