Cross Forests
/
projects
/
python
/
fast-export.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8796865
)
Don't make len(p4Cmd("p4 changes -m 1 //foo/...")) == 0 succeed when the p4 command...
author
Simon Hausmann
<shausman@rhea.troll.no>
Wed, 23 May 2007 21:27:31 +0000
(23:27 +0200)
committer
Simon Hausmann
<shausman@rhea.troll.no>
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.
git-p4
patch
|
blob
|
history
diff --git
a/git-p4
b/git-p4
index
f12ad8b
..
89a85eb
100755
(executable)
--- a/
git-p4
+++ b/
git-p4
@@
-31,7
+31,9
@@
def p4CmdList(cmd):
result.append(entry)
except EOFError:
pass
- pipe.close()
+ exitCode = pipe.close()
+ if exitCode != None:
+ result["p4ExitCode"] = exitCode
return result