From 034f696523a50b915eebac563461dfb53b2df392 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 21 May 2007 09:34:56 +0200 Subject: [PATCH] Fix error detection with git-p4 submit when the requested depot path is not in the client view. --- git-p4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-p4 b/git-p4 index 7489c91..73da5d2 100755 --- a/git-p4 +++ b/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") -- 2.11.4.GIT