projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33be3e6
)
Fix error detection with git-p4 submit when the requested depot path is not in the...
author
Simon Hausmann
<shausman@trolltech.com>
Mon, 21 May 2007 07:34:56 +0000
(09:34 +0200)
committer
Simon Hausmann
<shausman@trolltech.com>
Mon, 21 May 2007 07:34:56 +0000
(09:34 +0200)
Signed-off-by: Simon Hausmann <shausman@trolltech.com>
contrib/fast-import/git-p4
patch
|
blob
|
history
diff --git
a/contrib/fast-import/git-p4
b/contrib/fast-import/git-p4
index 7489c91081a3234d086dbb88afeac25509106ca6..73da5d2b27bd8455446f47da1386bbf575dd518f 100755
(executable)
--- a/
contrib/fast-import/git-p4
+++ b/
contrib/fast-import/git-p4
@@
-55,6
+55,8
@@
def p4Where(depotPath):
if not depotPath.endswith("/"):
depotPath += "/"
output = p4Cmd("where %s..." % depotPath)
+ if output["code"] == "error":
+ return ""
clientPath = ""
if "path" in output:
clientPath = output.get("path")